minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Windows desktop installer missing CLI binary — summarization fails with 'claude not found'

Open sabrown opened this issue 7 months ago • 3 comments

Installed minutes-desktop-windows-x64-setup.exe from the v0.3.0 release on Windows 11. The desktop app installs and launches correctly, and test recording captures audio successfully.

However, the CLI binary (minutes.exe) is not present anywhere on the system after installation — it's not in PATH, AppData, or Program Files. As a result, summarization fails with: Could not start: 'claude' not found. Install it or set a different agent in ~/.config/minutes/config.toml under [assistant].

My config.toml has [assistant] agent = "mcp" correctly set, but [summarization] agent_command = "claude" still references the Claude CLI. The deeper issue is that even setting agent_command to minutes won't work because the standalone minutes.exe CLI binary — which the summarization engine expects to invoke as a subprocess — is not present anywhere on the system after installation. The desktop app itself runs correctly; it's the separate CLI binary that's missing.

Steps to reproduce:

  1. Install minutes-desktop-windows-x64-setup.exe on Windows 11
  2. Complete setup, verify audio recording works
  3. Attempt debrief/summarization
  4. Observe failure

Expected: CLI binary included in Windows installer or documented separate install step for CLI on Windows. Request: Please attach minutes.exe (CLI binary) to the Windows release assets, or document the correct Windows path for getting the CLI alongside the desktop app. Building from source (requiring Rust + cmake + MSVC + LLVM) is not practical for most Windows users.

sabrown avatar Apr 07 '26 05:04 sabrown

Thanks for the detailed report Scott.

The root cause turned out to be different from the missing-binary theory, but your detective work was useful for tracking it down. The error you saw is actually thrown by the desktop app's interactive assistant pane, not by the summarization engine. The two paths use separate config keys ([assistant] vs [summarization]) and separate binary lookup functions, which is confusing on its own. Both lookup functions had the same bug: they rolled their own Unix-only directory search, never checked PATH, and never tried .cmd / .exe / .bat extensions. So even with Claude Code installed via npm i -g @anthropic-ai/claude-code (which lands as %APPDATA%\npm\claude.cmd), the lookup couldn't see it.

#88 fixes both lookup functions to use the which crate first (cross-platform, respects PATHEXT on Windows), then falls back to a directory search that now includes %APPDATA%\npm, %LOCALAPPDATA%\npm, and %LOCALAPPDATA%\Programs. The error message is also fixed: it no longer hard-codes ~/.config/minutes/config.toml (Unix syntax shown to a Windows user) and now points at the actual config path for your platform, plus an install hint for Claude Code.

A note on the bundling request: I didn't attach minutes.exe to the installer because minutes.exe itself isn't an LLM agent. It's the same Rust binary that runs minutes record, minutes search, etc. It doesn't speak the prompt-on-stdin protocol the summarization engine expects, so setting agent_command = "minutes" wouldn't have worked even if it were on PATH. The standalone minutes-windows-x64.exe you mentioned does already ship as a separate release asset, but it's only useful as a CLI alternative to the desktop app, not as a summarization backend.

To verify the fix once v0.10.3 finishes building (https://github.com/silverstein/minutes/releases/tag/v0.10.3):

  1. Install Claude Code: npm i -g @anthropic-ai/claude-code
  2. Restart Minutes
  3. Try the assistant pane and a summarization. Both should now find claude.cmd automatically with no config changes needed.

If you'd rather use a different agent like Codex or Gemini, the same lookup logic now works for those too. If you've got an OpenAI or Mistral API key handy, you can also bypass the CLI route entirely by setting [summarization] engine = "openai" (or mistral) in your config.toml and exporting the key.

Thanks again for taking the time to write this up so clearly.

silverstein avatar Apr 07 '26 07:04 silverstein

Glad to help, Mat! I like the promise of the product and am trialing it myself for possible use in our 43-person company.

sabrown avatar Apr 10 '26 19:04 sabrown

Awesome! If you hit any further hiccups let me know and I can dive. Just pushed some intelligence updates in today's release.

silverstein avatar Apr 10 '26 19:04 silverstein