Skip to content

Release 0.2.1 — default to launching Claude - #13

Merged
imsobear merged 1 commit into
mainfrom
release/0.2.1
May 15, 2026
Merged

Release 0.2.1 — default to launching Claude#13
imsobear merged 1 commit into
mainfrom
release/0.2.1

Conversation

@imsobear

Copy link
Copy Markdown
Owner

Release 0.2.1 — default to launching Claude Code

The pre-0.2.1 default for agentmind-cli was the dashboard alone, with a banner that asked the user to launch the agent themselves (or via the claude / codex subcommands). In practice almost everyone wanted the launcher, so 0.2.1 makes that the default and moves dashboard-only mode behind an explicit --no-agent flag.

Behaviour

Command 0.2.0 0.2.1
agentmind-cli Dashboard only Launches Claude Code (= agentmind-cli claude)
agentmind-cli claude [args] Launches Claude Unchanged
agentmind-cli codex [args] Launches Codex Unchanged
agentmind-cli --no-agent (no-op flag) Dashboard-only mode

What changed

  • bin/cli.js — default subcommand becomes claude unless --no-agent is passed. The --help text, the maybeOpenBrowser banner, and the dev-fallback error message are all rewritten to reflect the new dispatch.
  • README — Quick-start, supported-agents table, manual-setup section, and the storage layout section updated. (Storage was already sha(cwd, agent) as of 0.2.0; the README still claimed plain sha(cwd).)
  • Smoke tests:
    • scripts/smoke-codex.mjs now starts the CLI with --no-agent explicitly. Without it the harness would try to spawn the real claude binary on a CI runner that has no stdin attached.
    • scripts/smoke-launcher.mjs adds a third assertion: bare agentmind-cli (no subcommand) invokes the claude shim and injects ANTHROPIC_BASE_URL.
    • .github/workflows/windows-smoke.yml — same --no-agent fix.

Test plan

  • pnpm typecheck
  • pnpm build
  • pnpm smoke (codex + launcher, including the new no-subcommand case)
  • CI passes on this PR

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.
@imsobear
imsobear merged commit 0706cda into main May 15, 2026
2 checks passed
@imsobear
imsobear deleted the release/0.2.1 branch May 15, 2026 06:33
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