Repository navigation
fix(cli): stop three messages from pointing at commands that cannot help in that door - #366
Merged
Merged
Conversation
- 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.
|
Warning Review limit reachedYou'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. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (10)
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. Comment |
… 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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 statusagainst a remote that does not answer told the user to runakou open, which cannot start a remote akou. It now prints the same errorakou callsprints:nothing answers at <url> (AKOU_URL), exit 69. With--jsonthat is{"error":"unavailable",...}, as from every other command. With noAKOU_URLthe local message is unchanged.akou dictate start,stop,toggleandcancelhad 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, andakou openthen opens a real window, by design (src/main/window/main.ts). The help, thePOST /windowdoc and the comment onopenWindownow say an address comes only from an app with no desktop shell: the Linux tarball, or a source checkout. Bead akou-99p.akou_start'smodels_missingerror told an agent to pass--without-models, a CLI flag. The MCP tool's own argument iswithoutModels. The MCP server now rewrites the flag in that error towithoutModels: true. The app's answer to the CLI is unchanged. Bead akou-csp.docs/cli.mdanddocs/api/openapi.jsonare 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 namesakou open. A second test there covers the fourakou dictatesession 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.