Release 0.2.1 — default to launching Claude - #13
Merged
Merged
Conversation
Pre-0.2.1 the default was the dashboard alone, with a banner pointing
users at the launcher subcommand. In practice almost everyone wanted
the launcher, so a bare `agentmind-cli` now launches Claude Code
directly. Dashboard-only mode moves behind the explicit `--no-agent`
flag.
* `agentmind-cli` -> equivalent to `agentmind-cli claude`
* `agentmind-cli codex [args]` -> unchanged
* `agentmind-cli claude [args]` -> unchanged (still explicit)
* `agentmind-cli --no-agent` -> the old dashboard-only behaviour
Updates:
- bin/cli.js: default subcommand to `claude` unless `--no-agent` is
passed. Help text, `maybeOpenBrowser()` banner, and the dev-mode
fallback message all rewritten to reflect the new shape.
- README: Quick-start, supported-agents table, manual-setup section,
and the storage layout section all updated. (Storage now keyed by
`(cwd, agent)` since 0.2.0; the README still claimed pure-cwd.)
- Smoke tests:
* scripts/smoke-codex.mjs starts the CLI with `--no-agent`
explicitly — without it the test would now try to spawn the real
claude binary on a CI runner with no stdin.
* scripts/smoke-launcher.mjs adds a third case asserting that bare
`agentmind-cli` (no subcommand) invokes the claude shim.
* .github/workflows/windows-smoke.yml: same `--no-agent` fix.
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.
Release 0.2.1 — default to launching Claude Code
The pre-0.2.1 default for
agentmind-cliwas the dashboard alone, with a banner that asked the user to launch the agent themselves (or via theclaude/codexsubcommands). In practice almost everyone wanted the launcher, so 0.2.1 makes that the default and moves dashboard-only mode behind an explicit--no-agentflag.Behaviour
agentmind-cliagentmind-cli claude)agentmind-cli claude [args]agentmind-cli codex [args]agentmind-cli --no-agentWhat changed
bin/cli.js— default subcommand becomesclaudeunless--no-agentis passed. The--helptext, themaybeOpenBrowserbanner, and the dev-fallback error message are all rewritten to reflect the new dispatch.sha(cwd, agent)as of 0.2.0; the README still claimed plainsha(cwd).)scripts/smoke-codex.mjsnow starts the CLI with--no-agentexplicitly. Without it the harness would try to spawn the realclaudebinary on a CI runner that has no stdin attached.scripts/smoke-launcher.mjsadds a third assertion: bareagentmind-cli(no subcommand) invokes the claude shim and injectsANTHROPIC_BASE_URL..github/workflows/windows-smoke.yml— same--no-agentfix.Test plan
pnpm typecheckpnpm buildpnpm smoke(codex + launcher, including the new no-subcommand case)