Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"plugins": [
{
"name": "simular-box",
"source": "./claude",
"source": "./claude-code",
"description": "box by Simular: a cloud computer your agent drives over MCP."
}
],
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: CI
# (versions pinned in e2e/clients.json). No secrets.
# live Layer 2: a real staging key (secret BOX_CI_KEY, variable BOX_CI_MCP_URL) proves the
# headless clients reach box and list its tools. Never on PRs from forks.
# The CLI under test is `npx -y @simular-ai/box@X.Y.Z` at the version claude/ pins (e2e/cli.mjs).
# The CLI under test is `npx -y @simular-ai/box@X.Y.Z` at the version claude-code/ pins (e2e/cli.mjs).
#
# TODO(layer 3): nightly run against the latest client versions plus a real agent task on a box.

Expand All @@ -21,6 +21,7 @@ on:
paths:
- 'e2e/**'
- 'claude/**'
- 'claude-code/**'
- 'dsh/**'
- 'hermes/**'
- 'openclaw/**'
Expand All @@ -33,6 +34,7 @@ on:
paths:
- 'e2e/**'
- 'claude/**'
- 'claude-code/**'
- '.claude-plugin/**'
- '.github/workflows/ci.yml'
workflow_dispatch:
Expand Down Expand Up @@ -77,18 +79,19 @@ jobs:
export HOME="$(mktemp -d)"
claude plugin validate .
claude plugin validate ./claude
claude plugin validate ./claude-code
- name: Plugin pins the CLI to one exact version that is on npm
# A range (^1.0.0) lets npx run a version published after review; the Claude directory
# review asks for an exact pin. The CLI is the Rust simular-box, released from
# simular-ai/box-cli, so the pin follows its npm releases. e2e/ tests this same version.
run: |
set -euo pipefail
pins=$(grep -rhoE '@simular-ai/box@[^ `"]*' claude | sort -u)
if [ "$(printf '%s\n' "$pins" | grep -c .)" -ne 1 ]; then echo "claude/ must pin one CLI version, found:"; echo "$pins"; exit 1; fi
pins=$(grep -rhoE '@simular-ai/box@[^ `"]*' claude claude-code | sort -u)
if [ "$(printf '%s\n' "$pins" | grep -c .)" -ne 1 ]; then echo "claude/ and claude-code/ must pin one CLI version, found:"; echo "$pins"; exit 1; fi
v=${pins#@simular-ai/box@}
if ! printf '%s' "$v" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then echo "pin an exact release, not $pins"; exit 1; fi
if [ "$(npm view "@simular-ai/box@$v" version)" != "$v" ]; then echo "$pins is not on npm"; exit 1; fi
echo "claude/ pins $pins"
echo "claude/ and claude-code/ pin $pins"
- name: DeepSeek Harness package
run: npm pack ./dsh --dry-run
- name: Hermes plugin
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Most agents need no plugin: add the MCP server `https://mcp.box.simular.ai/mcp`

| Agent | Folder | Sign-in | Install |
| --- | --- | --- | --- |
| Claude Code and Cowork | [`claude/`](claude/) | OAuth, once in the browser | `/plugin marketplace add simular-ai/box-plugin`, then `/plugin install simular-box@simular-box` |
| Claude Code and Cowork | [`claude-code/`](claude-code/) | OAuth, once in the browser | `/plugin marketplace add simular-ai/box-plugin`, then `/plugin install simular-box@simular-box` |
| Claude plugin directory | [`claude/`](claude/) (the same plugin without offload and without the Chrome sign-in import tip) | OAuth, once in the browser | Listed by Anthropic after review |
| DeepSeek Harness (dsh) | [`dsh/`](dsh/) | Personal key (`cb_...`), pasted on the plugin's page in Plugins | [dsh/README.md](dsh/README.md) |
| OpenClaw | [`openclaw/`](openclaw/) | OAuth, once from the plugin's page in Settings | `openclaw plugins install @simular-ai/openclaw-box` |
| Any of Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Hermes, OpenClaw, VS Code (and steps for Claude Desktop) | [`@simular-ai/box`](https://www.npmjs.com/package/@simular-ai/box) (the box CLI, from [simular-ai/box-cli](https://github.com/simular-ai/box-cli)) | OAuth; personal key with `--auth key` for Hermes and OpenClaw | `npx @simular-ai/box connect` (check with `npx @simular-ai/box doctor`) |
Expand All @@ -15,9 +16,9 @@ Most agents need no plugin: add the MCP server `https://mcp.box.simular.ai/mcp`
| OpenCode | [`opencode/`](opencode/) | OAuth, once in the browser (`opencode mcp auth box`) | Add `"plugin": ["@simular-ai/opencode-box"]` to `opencode.json` ([opencode/README.md](opencode/README.md)) |
| Pi | [`pi/`](pi/) | OAuth, once in the browser (`/mcp login box`) | `pi install npm:@simular-ai/box-pi` ([pi/README.md](pi/README.md)) |
| Grok Build | [`grok/`](grok/) | OAuth, once in the browser (`/mcps`, then `i`) | `/marketplace`, find **box**, press `i` ([grok/README.md](grok/README.md)) |
| CodeBuddy Code (Tencent) | [`claude/`](claude/) (CodeBuddy reads the Claude Code plugin and marketplace as they are) | OAuth, once in the browser (`/mcp`, pick `plugin:simular-box:box`, Authenticate) | `/plugin marketplace add simular-ai/box-plugin`, then pick **simular-box** and press `i`; `/reload-plugins` |
| ZCode (Zhipu) | [`claude/`](claude/) (ZCode reads the Claude Code plugin and marketplace as they are) | OAuth, once in the browser: after installing, Settings > Plugins > MCP > box > **Open authorization**, and allow within 5 minutes. Sending a task first does not ask you to sign in | Plugin Marketplace > Add > Add plugin marketplace, enter `simular-ai/box-plugin`, install `simular-box` (box by Simular) |
| WorkBuddy (Tencent) | [`claude/`](claude/) (WorkBuddy reads the Claude Code plugin and marketplace as they are, like CodeBuddy) | OAuth, once in the browser: Experts · Skills · Connectors > Connectors > **Custom connectors**, then **Connect** on box. Sending a task first does not ask you to sign in | Experts · Skills · Connectors > Skills > Plugins > **+**, enter `simular-ai/box-plugin`, then **Install** on simular-box |
| CodeBuddy Code (Tencent) | [`claude-code/`](claude-code/) (CodeBuddy reads the Claude Code plugin and marketplace as they are) | OAuth, once in the browser (`/mcp`, pick `plugin:simular-box:box`, Authenticate) | `/plugin marketplace add simular-ai/box-plugin`, then pick **simular-box** and press `i`; `/reload-plugins` |
| ZCode (Zhipu) | [`claude-code/`](claude-code/) (ZCode reads the Claude Code plugin and marketplace as they are) | OAuth, once in the browser: after installing, Settings > Plugins > MCP > box > **Open authorization**, and allow within 5 minutes. Sending a task first does not ask you to sign in | Plugin Marketplace > Add > Add plugin marketplace, enter `simular-ai/box-plugin`, install `simular-box` (box by Simular) |
| WorkBuddy (Tencent) | [`claude-code/`](claude-code/) (WorkBuddy reads the Claude Code plugin and marketplace as they are, like CodeBuddy) | OAuth, once in the browser: Experts · Skills · Connectors > Connectors > **Custom connectors**, then **Connect** on box. Sending a task first does not ask you to sign in | Experts · Skills · Connectors > Skills > Plugins > **+**, enter `simular-ai/box-plugin`, then **Install** on simular-box |
| Cursor (Cursor Marketplace) | [`cursor/`](cursor/) | OAuth, once in the browser | Listed by Cursor after review; until then install from this repo ([cursor/README.md](cursor/README.md)) |
| Gemini CLI (extension gallery) | [`gemini-extension.json`](gemini-extension.json) at the repo root, context in [`gemini/`](gemini/) | OAuth, once in the browser | `gemini extensions install https://github.com/simular-ai/box-plugin` |
| Antigravity (App, CLI, IDE) | [`cursor/`](cursor/) (same folder as Cursor: [`.antigravity-plugin/plugin.json`](cursor/.antigravity-plugin/plugin.json) + [`mcp_config.json`](cursor/mcp_config.json)) | OAuth, once in the browser | `agy plugin install https://github.com/simular-ai/box-plugin/tree/main/cursor`; Antigravity Marketplace after Google's partner review |
Expand All @@ -28,11 +29,11 @@ Going offline in the middle of a task? In Claude Code with the plugin, `/simular

## Adding an agent

Add a folder named after the agent with its own manifest, MCP config and, where the agent supports skills, a copy of `claude/skills/box/SKILL.md`. Point it at `https://mcp.box.simular.ai/mcp`. Use OAuth sign-in where the agent supports it; otherwise read a personal key from an environment variable or the agent's own credentials store, never from a file in the package. Add a row above.
Add a folder named after the agent with its own manifest, MCP config and, where the agent supports skills, a copy of `claude-code/skills/box/SKILL.md`. Point it at `https://mcp.box.simular.ai/mcp`. Use OAuth sign-in where the agent supports it; otherwise read a personal key from an environment variable or the agent's own credentials store, never from a file in the package. Add a row above.

## Releasing

- `claude/`: bump `version` in `claude/.claude-plugin/plugin.json`. Claude Code doesn't auto-update third-party marketplaces: users get it with `/plugin marketplace update simular-box` and `/plugin update simular-box@simular-box`, or with `npx @simular-ai/box connect`.
- `claude-code/` and `claude/`: bump `version` in both `.claude-plugin/plugin.json` files (`claude/` is the directory listing, `claude-code/` the marketplace). Claude Code doesn't auto-update third-party marketplaces: users get it with `/plugin marketplace update simular-box` and `/plugin update simular-box@simular-box`, or with `npx @simular-ai/box connect`.
- `openclaw/`: bump `version` in `openclaw/package.json` and `openclaw/openclaw.plugin.json`, then `npm run build` and `clawhub package publish .` from `openclaw/`.
- `cursor/`: bump `version` in `cursor/.cursor-plugin/plugin.json`. Cursor re-reads the repo after the first review; a new listing goes through cursor.com/marketplace/publish.
- Antigravity: bump `version` in `cursor/.antigravity-plugin/plugin.json` too (keep it equal to the Cursor manifest), and run `agy plugin validate ./cursor` (one expected warning: `mcp.json` is Cursor's). A Marketplace listing goes through Google's partner intake form.
Expand All @@ -42,5 +43,5 @@ Add a folder named after the agent with its own manifest, MCP config and, where
- `hermes/`: bump `version` in `hermes/plugin.json`, merge, then open a PR to [NousResearch/hermes-agent](https://github.com/NousResearch/hermes-agent) that moves `sha:` (and `version:`) in `plugin-catalog/box.yaml` to the merge commit. Hermes installs only the pinned, reviewed commit.
- `pi/`: bump `version` in `pi/package.json`, merge to main, then push a matching tag `pi-vX.Y.Z`. `release-pi.yml` publishes `@simular-ai/box-pi` to npm through trusted publishing, with provenance (the first version is published once by hand, see the workflow's header). pi.dev lists packages with the `pi-package` keyword on its own.
- `grok/`: bump `version` in `grok/.grok-plugin/plugin.json`, then open a PR to [xai-org/plugin-marketplace](https://github.com/xai-org/plugin-marketplace) that moves the `box` entry's `sha` to the new commit and regenerates its index.
- The Claude plugin's CLI pin: since 1.0.0, `@simular-ai/box` on npm is the Rust CLI released from [simular-ai/box-cli](https://github.com/simular-ai/box-cli). To move the plugin to a new CLI release, change the exact pin `npx -y @simular-ai/box@X.Y.Z` in `claude/skills/box-offload/SKILL.md` and bump `version` in `claude/.claude-plugin/plugin.json` in one PR (CI fails unless every pin under `claude/` names the same exact version and that version is on npm; never a range, because the Claude directory review requires that what runs is what it read).
- The Claude plugin's CLI pin: since 1.0.0, `@simular-ai/box` on npm is the Rust CLI released from [simular-ai/box-cli](https://github.com/simular-ai/box-cli). To move the plugin to a new CLI release, change the exact pin `npx -y @simular-ai/box@X.Y.Z` in every `npx -y` command under `claude-code/` and `claude/` and bump both `plugin.json` versions in one PR (CI fails unless every pin under both folders names the same exact version and that version is on npm; never a range, because the Claude directory review requires that what runs is what it read).
- The box CLI (`@simular-ai/box` on npm) is released from simular-ai/box-cli, not from here. `e2e/` tests the pinned version against each real client (versions in `e2e/clients.json`); see `.github/workflows/ci.yml`.
Binary file added claude-code/.claude-plugin/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions claude-code/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "simular-box",
"displayName": "box by Simular",
"version": "0.3.6",
"description": "Give Claude a computer of its own: a cloud Linux desktop with Chrome and a shell that it drives over MCP, while your own computer stays free. You sign in once in the browser; no key to paste.",
"author": {
"name": "Simular",
"url": "https://simular.ai"
},
"homepage": "https://box.simular.ai",
"repository": "https://github.com/simular-ai/box-plugin",
"license": "MIT",
"privacyPolicyUrl": "https://www.simular.ai/privacy-policy",
"termsOfServiceUrl": "https://www.simular.ai/terms-of-use",
"supportUrl": "https://www.simular.ai/support",
"documentationUrl": "https://box.simular.ai/docs",
"keywords": ["computer-use", "browser-automation", "desktop-automation", "cloud-computer", "mcp"]
}
8 changes: 8 additions & 0 deletions claude-code/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mcpServers": {
"box": {
"type": "http",
"url": "https://mcp.box.simular.ai/mcp"
}
}
}
Loading
Loading