Skip to content

Deprecate the JavaScript CLI in favor of the native @simular-ai/box 1.0 - #37

Draft
chenchenSimular wants to merge 1 commit into
mainfrom
chenchen/deprecate-js-cli
Draft

chenchenSimular wants to merge 1 commit into
mainfrom
chenchen/deprecate-js-cli

Conversation

@chenchenSimular

Copy link
Copy Markdown
Contributor

Part of #36. Do not merge until @simular-ai/box@1.0.0 is on npm latest and has been checked with npx. Before that, @^1.0.0 in the skill matches nothing on npm. Order: simular-ai/box-cli docs/releasing.md, "The first release: replacing the JavaScript CLI".

What changes

  • cli/README.md: a deprecation notice at the top. The folder stays for reference; this repo also hosts the plugins, so it is not archived.
  • README.md: the CLI row links to the npm package. The cli/ release notes now say it is no longer released.
  • publish-cli.yml: the publish job fails on purpose as its first step, so a stray cli-v* tag can never publish another 0.x. The JS CI on PRs is unchanged. On npmjs.com the owner also moves @simular-ai/box's trusted publisher to box-cli, which closes this path a second way.
  • claude/skills/box-offload/SKILL.md: npx -y @simular-ai/box@^1.0.0, with the native CLI's exit codes. 4 now means "not signed in" (in JS it meant "warnings"), and 5 means "warnings". Plugin version 0.2.0 → 0.2.1, so plugin users get the updated skill.

Owner commands (not run by this PR)

npm deprecate @simular-ai/box@"<1.0.0" "The JavaScript CLI is replaced by the native simular-box 1.0. Run: npx -y @simular-ai/box@latest"

Open question

The JS CLI supports Windows (its CI runs windows-latest), but the native CLI has no Windows build yet. After latest moves and the deprecation, npx @simular-ai/box connect on Windows fails with "no native build for win32-x64". Windows users could stay on @simular-ai/box@0.2.0 explicitly, or the launcher could fall back. That is the owner's decision.

If the first version is not 1.0.0, change ^1.0.0 and the <1.0.0 range to match.

🤖 Generated with Claude Code

cli/ gets a deprecation notice and is no longer published (the publish job
fails on purpose). The box-offload skill moves to @simular-ai/box@^1.0.0 with
the native CLI's exit codes (4 = not signed in, 5 = warnings); plugin 0.2.1.
Merge only after 1.0.0 is on npm latest.

Part of #36

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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