Repository navigation
fix(host): print a sign-in link from ace serve and one-line errors for bad flags and demo scripts - #652
Merged
Conversation
…r bad flags and demo scripts Help and --version name the command as installed, such as ace-canary. Why: apps/host/src/gateway.ts#function serve | Only a command-line host prints the sign-in link; Ace Helper's console is its log file, which must never hold the token
iamnbutler
force-pushed
the
fix-cli-serve
branch
from
October 22, 2026 21:22
272d231 to
36c56f1
Compare
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.
Map ^888 ^890 ^897 ^4 (part of #625).
ace serveprintsSign in at http://127.0.0.1:<port>/#token=…afterAce on …. Ace Helper doesn't print it, because its console is its log file and that file must not hold the token.--demoreads and checks the script before the host listens. A missing file, invalid JSON, a person withoutlogin/github, or a step withoutat, a knownwho, exactly one action or achanneleach fail with one line that points to docs/demo.md.Run ace --help for usage.instead of a Bun stack trace.--versionprints the installed version, andace helpprints the help.ace-canarythrough Canary's link) and this host's port, rather thanaceand 4140.Smoked against a source host on an isolated
ACE_HOME:--bogus,serve --demowith no value, and{}, missing-login, unknown-who, bad-JSON and missing demo scripts each printed the expected single line.ace-canary, ashelper.tsnow does, printedace-canary …help with port 4142 andace-canary 0.0.54.1.Not changed (still in #625): silent success for say/stop/kill and the others,
ace deletewithout confirmation, and theace lsheader and idle state (^422, ^449).Built in Ace
Made from Claude Code outside Ace (a fix-train worker running CLI and headless-browser smoke tests against an isolated host); see #5.