Skip to content

fix(cli): stop three messages from pointing at commands that cannot help in that door - #366

Merged
GeiserX merged 4 commits into
mainfrom
fix/honest-errors-and-help
Oct 9, 2026
Merged

GeiserX merged 4 commits into
mainfrom
fix/honest-errors-and-help

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Three messages sent people to something that could not help them in the door they were using. PRINCIPLES rule 13 and CLI-17 say every hint must name something that exists there.

  • akou status against a remote that does not answer told the user to run akou open, which cannot start a remote akou. It now prints the same error akou calls prints: nothing answers at <url> (AKOU_URL), exit 69. With --json that is {"error":"unavailable",...}, as from every other command. With no AKOU_URL the local message is unchanged. akou dictate start, stop, toggle and cancel had the same hint and get the same fix. Bead akou-1f6.
  • akou open's help said a headless app prints an address. On macOS the CLI launches the app headless, and akou open then opens a real window, by design (src/main/window/main.ts). The help, the POST /window doc and the comment on openWindow now say an address comes only from an app with no desktop shell: the Linux tarball, or a source checkout. Bead akou-99p.
  • akou_start's models_missing error told an agent to pass --without-models, a CLI flag. The MCP tool's own argument is withoutModels. The MCP server now rewrites the flag in that error to withoutModels: true. The app's answer to the CLI is unchanged. Bead akou-csp.

docs/cli.md and docs/api/openapi.json are regenerated.

Tests, red on main and green here:

  • tests/remote-edges.test.ts: [CLI-17] akou status with an AKOU_URL that does not answer > prints what the remote did, never akou open, ..., with a positive control that the local message still names akou open. A second test there covers the four akou dictate session commands, plain and with --json.
  • tests/cli-text.test.ts: [CLI-17] akou open says what it does > a headless app with the desktop shell opens the window; only one without it prints an address.
  • tests/mcp.e2e.test.ts: [CLI-17] akou_start without the speech models > the models_missing error names the tool's own withoutModels, never the CLI's --without-models. It runs against a real app with no models. A positive control checks that the app's own answer still names the CLI flag.

- akou status against an AKOU_URL that does not answer printed "akou open starts
  it", which cannot start a remote akou. It now prints what the remote did, the
  same "nothing answers at ... (AKOU_URL)" that akou calls prints. Bead akou-1f6.
- akou open's help said a headless app prints an address. On macOS the CLI
  launches the app headless and akou open opens a real window, by design. The
  help, the route doc and the comment on openWindow now say an address comes only
  from an app with no desktop shell (the Linux tarball, a source checkout).
  Bead akou-99p.
- akou_start's models_missing error told an agent to pass --without-models, a
  CLI flag. The MCP door now names the tool's own argument, withoutModels: true.
  Bead akou-csp.

docs/cli.md and docs/api/openapi.json are regenerated.
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: GeiserX/akou/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 584415d1-b676-444a-8484-9f576d376151

📥 Commits

Reviewing files that changed from the base of the PR and between 9d1ee54 and a33007b.


📒 Files selected for processing (10)
  • docs/api/openapi.json
  • docs/cli.md
  • src/main/api/routes/settings.ts
  • src/main/cli/commands/calls.ts
  • src/main/cli/commands/dictate.ts
  • src/main/index.ts
  • src/main/mcp/server.ts
  • tests/cli-text.test.ts
  • tests/mcp.e2e.test.ts
  • tests/remote-edges.test.ts


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

… not answer

akou dictate start, stop, toggle and cancel go to AKOU_URL like every command.
With a remote that did not answer they printed "akou is not running (akou open
starts it)", and --json gave not_running with the same hint. They now print the
remote error, as status does. The status test also covers its --json form.

Bead akou-1f6.
@GeiserX
GeiserX merged commit f8fee96 into main Oct 9, 2026
29 checks passed
@GeiserX
GeiserX deleted the fix/honest-errors-and-help branch October 9, 2026 21:00
GeiserX added a commit that referenced this pull request Oct 9, 2026
…aker and akou start and akou quit finish (#374)

## Problem

On 0.6.4, with the Nemotron diarizer on, every call line waited about 2 s for its speaker before it reached the transcript. The first `akou start` after an install gave up at 3 s while the app was still coming up. `akou quit` on Linux could hang after a call. All three are fixed on main and no release carries them yet.

## What 0.6.5 ships

- A call line is written when its segment closes, and its speaker follows as a correction to the same line (#359).
- `akou start` waits up to 20 s for a slow first launch and stops the idle launcher afterwards (#360).
- `akou quit` always finishes on Linux (#367).
- A search hit names the speaker who said the matched word (#365).
- A file job without speaker labels fetches, and is admitted for, only the models it runs (#364).
- Three messages no longer point at a command that cannot help (#366).
- Behind the scenes: G1 and G3 pass, G4, G6 and G7 stay Partial (#354, #357, #358, #362, #363, #371, #372), the dictation audio tests wait for the write (#361), and `glama.json` (#373).

The Known limitations list in CHANGELOG.md names what the reviews left open: late first lines after a cold start, the four-core x64 line latency, a launcher left by an earlier failed launch, the silent wait in `akou quit`, and two search citation cases.

## The bump

- `scripts/stamp-version.ts --set 0.6.5` wrote the 11 stamped places.
- By hand: the install line in README.md, the image tags and the `--branch` line in docs/server.md and docs/server-hardware.md, and the "Known in" line in docs/troubleshooting.md. The menu bar item still moves, since nothing touched it after 0.6.4.
- docs/gates and docs/ROADMAP.md keep the versions their evidence ran on.
- `stamp-version.ts --check --tag v0.6.5` passes, and `--tag v0.6.6` fails as the control.

The tag is pushed after the merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant