@swarmcraftai/cli 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to the SwarmCraft CLI are documented in this file.
4
4
 
5
+ ## 0.6.0
6
+
7
+ - Adds Claude Code subscription support to repository bootstrap, Operate, and one-shot, with generated `.claude/skills` and owner-preserving `CLAUDE.md` guidance.
8
+ - Checks local Claude subscription login, preserves macOS login discovery, and rejects API credential injection on that path.
9
+ - Preserves blocked run state after provider failures and supports do/check through human review and resume.
10
+ - Refreshes installation, native Windows, provider setup, permissions, and recovery instructions.
11
+ - Requires the coordinated API update for Claude Operate telemetry; deploy the API before this client.
12
+
5
13
  ## 0.5.1
6
14
 
7
15
  - Refreshes the npm README around customer installation and common workflows, with native PowerShell commands, Node/npm verification, managed-machine recovery and VS Code restart guidance.
package/README.md CHANGED
@@ -9,7 +9,7 @@ The CLI brings SwarmCraft workflows to your terminal. Use it to prepare a local
9
9
  - Node.js 20.19 or newer, npm, and Git.
10
10
  - A SwarmCraft account and a project with tasks ready to implement.
11
11
  - A local Git repository with unrelated changes committed or stashed.
12
- - Codex CLI or GitHub Copilot CLI installed and configured, or SwarmCraft Managed AI credits.
12
+ - Codex CLI, GitHub Copilot CLI, or Claude Code CLI installed and configured, or SwarmCraft Managed AI credits.
13
13
 
14
14
  On macOS and Windows, start with [SwarmCraft Setup](https://swarmcraft.ai/docs/set-up-and-connect/use-swarmcraft-setup) to prepare your environment.
15
15
 
@@ -89,12 +89,13 @@ swarmcraft init --project <project-id> --workspace . --agent-provider codex
89
89
 
90
90
  ## Choose an agent
91
91
 
92
+ - **Claude Code subscription:** use `--agent-provider claude` after local Claude sign-in.
92
93
  - **Codex:** use `--agent-provider codex`.
93
94
  - **GitHub Copilot:** use `--agent-provider copilot`.
94
95
  - **SwarmCraft Managed AI:** use `--agent-provider managed` with `one-shot`. The CLI shows your credit balance and an estimated stage range before starting. If credits run out, add credits and resume the blocked run.
95
96
  - **Custom commands and local models:** `--agent-command` overrides the provider command and supports models available through your agent, including local models. The template is executed through a shell, so use only commands you trust. Keep secrets out of command text; use `--agent-env-file` with `--agent-api-key-env-name` for provider credentials.
96
97
 
97
- Codex, Copilot, and custom providers use your own provider setup and are outside the Managed AI fee.
98
+ Codex, Copilot, Claude Code, and custom providers use your own provider setup and are outside the Managed AI fee.
98
99
 
99
100
  ## Inspect and resume work
100
101
 
@@ -148,3 +149,21 @@ Run `swarmcraft auth login` again if your session has expired. For Discovery dia
148
149
  Support bundles redact credentials; Discovery bundles exclude source and package content. Review any diagnostic files before sharing them.
149
150
 
150
151
  See the [one-shot walkthrough](https://swarmcraft.ai/docs/build-and-ship/deliver-with-the-one-shot-cli), [troubleshooting guide](https://swarmcraft.ai/docs/help-and-reference/troubleshoot-swarmcraft), or [contact support](https://swarmcraft.ai/login?next=%2Fapp%2Fsupport).
152
+
153
+ ### Claude Code subscription runs
154
+
155
+ Select `--agent-provider claude` for bootstrap, Operate, or one-shot. Install the
156
+ standalone Claude Code CLI, run `claude auth login`, and confirm subscription
157
+ usage in `/status`. The VS Code extension alone does not install the terminal
158
+ command. SwarmCraft checks the effective `claude.ai` login without retaining
159
+ its output and rejects provider credential flags on this subscription path.
160
+
161
+ One-shot invokes `/swarmcraft-do` and `/swarmcraft-check` with `dontAsk`:
162
+ configure the necessary tool permissions in Claude before running; unapproved
163
+ tools are denied. The default never enables permission bypass or API-only bare
164
+ mode. Claude keeps ownership of login storage and sandbox settings. Use
165
+ `--max-agent-requests` to bound invocations; subscription limits still apply.
166
+ Cost telemetry remains unknown unless an explicit adapter supplies it; required
167
+ cost telemetry fails when absent. Dollar estimates are not subscription bills.
168
+ After correcting login, permissions, or a usage limit, resume the recorded run.
169
+ Live subscription/platform verification is tracked in the implementation plan.