@mcpbox/mcpbox-claude 0.1.13 → 0.1.15
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +50 -0
- package/lib/update-check.mjs +8 -2
- package/lib/version.mjs +1 -1
- package/package.json +3 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpbox-claude",
|
|
3
3
|
"description": "MCPBox × Claude Code glue. Drives the mcpbox MCP server (daruma tracker + full MeiSei pipeline torii→…→fujin→daruma). Ships /mcpbox:{tasks,plan,next,mine,status,close,sync,capture,doctor,mode} and pipeline commands, SessionStart/Stop/UserPromptSubmit hooks, and a managed CLAUDE.md policy that makes mcpbox the default tracker AND pipeline substrate.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.15",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tupical"
|
|
7
7
|
},
|
package/README.md
CHANGED
|
@@ -10,6 +10,56 @@ Normally installed for you by `npx @mcpbox/mcpbox setup` (or
|
|
|
10
10
|
server and picks Repository, Repository (user scope), or Global. Use this CLI directly to manage
|
|
11
11
|
just the policy.
|
|
12
12
|
|
|
13
|
+
## Install and update
|
|
14
|
+
|
|
15
|
+
Claude Code and Codex install from the public git marketplace, which is the only
|
|
16
|
+
source either of them will auto-update from — Claude ignores `autoUpdate` on a
|
|
17
|
+
directory source, and Codex refuses outright (`marketplace … is not configured as
|
|
18
|
+
a Git marketplace`). Neither accepts an npm registry as a marketplace source, so
|
|
19
|
+
the repo below is generated from the published package on every release.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Claude Code
|
|
23
|
+
claude plugin marketplace add https://github.com/tupical/mcpbox-plugin.git
|
|
24
|
+
claude plugin install mcpbox-claude@mcpbox
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then set `autoUpdate` on the marketplace in `~/.claude/settings.json`:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
"extraKnownMarketplaces": {
|
|
31
|
+
"mcpbox": {
|
|
32
|
+
"source": { "source": "git", "url": "https://github.com/tupical/mcpbox-plugin.git" },
|
|
33
|
+
"autoUpdate": true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Claude refreshes in the background 0–10 minutes after a session starts and the
|
|
39
|
+
new version is picked up by `/reload-plugins` or the next session — the running
|
|
40
|
+
one keeps what it loaded at startup.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Codex
|
|
44
|
+
codex plugin marketplace add https://github.com/tupical/mcpbox-plugin.git
|
|
45
|
+
codex plugin add mcpbox --marketplace mcpbox
|
|
46
|
+
codex plugin marketplace upgrade mcpbox # later, to update
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Cursor and Kimi have no plugin manager; they are file installs, so re-run their
|
|
50
|
+
init to update:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npx -y @mcpbox/mcpbox-claude@latest cursor-init
|
|
54
|
+
npx -y @mcpbox/mcpbox-claude@latest kimi-init
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
A stale version announces itself at session start on Claude, Codex, and Kimi.
|
|
58
|
+
Cursor exposes no hooks at all, so nothing can announce anything there — check
|
|
59
|
+
manually, or let `cursor-init` in a routine update pass do it. Set
|
|
60
|
+
`MCPBOX_NO_UPDATE_CHECK=1` to disable the registry lookup entirely (air-gapped
|
|
61
|
+
installs, CI).
|
|
62
|
+
|
|
13
63
|
## What it manages
|
|
14
64
|
|
|
15
65
|
| Agent | Policy surface | MCP server | Hooks |
|
package/lib/update-check.mjs
CHANGED
|
@@ -69,9 +69,15 @@ async function writeCache(cacheFile, value) {
|
|
|
69
69
|
await writeFile(cacheFile, `${JSON.stringify(value)}\n`);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
// Both plugin surfaces update from the git marketplace, not from the npm mirror
|
|
73
|
+
// that export-marketplace builds: Claude ignores autoUpdate on a directory
|
|
74
|
+
// source and Codex rejects a non-git one, so pointing a stale install back at
|
|
75
|
+
// the mirror would reinstate exactly the setup that could not auto-update.
|
|
76
|
+
// Reaching this notice on those two means the install predates the git
|
|
77
|
+
// marketplace — so the command re-points it, rather than refreshing in place.
|
|
72
78
|
const UPDATE_COMMANDS = Object.assign(Object.create(null), {
|
|
73
|
-
claude: "
|
|
74
|
-
codex: "
|
|
79
|
+
claude: "claude plugin marketplace add https://github.com/tupical/mcpbox-plugin.git && claude plugin install mcpbox-claude@mcpbox",
|
|
80
|
+
codex: "codex plugin marketplace add https://github.com/tupical/mcpbox-plugin.git && codex plugin add mcpbox --marketplace mcpbox",
|
|
75
81
|
kimi: "npx -y @mcpbox/mcpbox-claude@latest kimi-init",
|
|
76
82
|
});
|
|
77
83
|
|
package/lib/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.1.
|
|
1
|
+
export const VERSION = "0.1.15";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcpbox/mcpbox-claude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "MCPBox agent harness for Claude Code: managed policy (daruma tracker + full pipeline), hooks, and slash commands over the single mcpbox MCP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"node": ">=20"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"test": "node --test tests/*.test.mjs"
|
|
27
|
+
"test": "node --test tests/*.test.mjs",
|
|
28
|
+
"version": "node scripts/sync-version.mjs && git add lib/version.mjs .claude-plugin/plugin.json .codex-plugin/plugin.json"
|
|
28
29
|
},
|
|
29
30
|
"license": "UNLICENSED"
|
|
30
31
|
}
|