@mcpbox/mcpbox-claude 0.1.14 → 0.1.16
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/commands/status.md +27 -11
- package/lib/update-check.mjs +8 -2
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -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.16",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tupical"
|
|
7
7
|
},
|
package/commands/status.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Show
|
|
2
|
+
description: Show who and where you are on mcpbox — workspace, account, this repo's project — plus server and pipeline health.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
The user invoked `/mcpbox:status`.
|
|
@@ -8,18 +8,34 @@ The user invoked `/mcpbox:status`.
|
|
|
8
8
|
|
|
9
9
|
1. `daruma_healthz` — if it fails, report "mcpbox unreachable" and how to start the
|
|
10
10
|
server; stop (do not fall back to `.omc/plans/` or markdown).
|
|
11
|
-
2.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
→
|
|
15
|
-
|
|
11
|
+
2. `daruma_workspace_info` — one call carries most of the answer:
|
|
12
|
+
- `workspace.slug` / `workspace.title` — the authorized workspace;
|
|
13
|
+
- `account.email` — who this MCP session is authenticated as;
|
|
14
|
+
- `scopes[]` — repo→project bindings; match the current working directory
|
|
15
|
+
against `scope` (longest matching prefix wins, since repos nest) to find
|
|
16
|
+
this repo's `project_id`.
|
|
17
|
+
- Self-hosted installs have no cloud account, so `workspace` and `account`
|
|
18
|
+
may be absent. Omit the line entirely — never print `null` or a bare UUID.
|
|
19
|
+
3. Resolve the project **title** for that `project_id` via `daruma_project_list`
|
|
20
|
+
(the `name` inside `scopes` is only the directory basename, not the project's
|
|
21
|
+
title). Skip if the cwd matches no scope.
|
|
22
|
+
4. One scoped `daruma_list status=active` → count open tasks (do not enumerate
|
|
23
|
+
the archive).
|
|
24
|
+
5. `mcpbox_runs_list` with `limit=5` (and `status=failed` if the user asked about
|
|
25
|
+
failures) → recent pipeline runs.
|
|
26
|
+
6. Render, dropping any line whose value is unknown:
|
|
16
27
|
|
|
17
28
|
```
|
|
18
29
|
## mcpbox status
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
workspace: <title> (<slug>)
|
|
31
|
+
account: <email>
|
|
32
|
+
project: <project title> — <repo path>
|
|
33
|
+
open: <N> tasks
|
|
34
|
+
server: ok (v<version>, sha <git_sha>)
|
|
35
|
+
runs: <run_id> <status> · <run_id> <status> …
|
|
23
36
|
```
|
|
24
37
|
|
|
25
|
-
|
|
38
|
+
Identity first: "which workspace am I in, as whom, on what project" is the
|
|
39
|
+
question this command exists to answer; server health is the footnote.
|
|
40
|
+
|
|
41
|
+
7. Read-only.
|
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.16";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcpbox/mcpbox-claude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
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": {
|