@mcpbox/mcpbox-claude 0.1.15 → 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.
@@ -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.15",
4
+ "version": "0.1.16",
5
5
  "author": {
6
6
  "name": "tupical"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpbox",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "MCPBox agent stack for Codex: the daruma tracker plus the MeiSei maturity pipeline behind one MCP server.",
5
5
  "author": {
6
6
  "name": "tupical"
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Show mcpbox server + pipeline health — daruma_healthz, open count, recent runs.
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. Resolve project (`daruma_workspace_info` → `default_project`).
12
- 3. One scoped `daruma_list status=active` → count open tasks (do not enumerate the archive).
13
- 4. `mcpbox_runs_list` with `limit=5` (and `status=failed` if the user asked about failures)
14
- → recent pipeline runs.
15
- 5. Render:
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
- server: ok (v<version>, sha <git_sha>)
20
- project: <title>
21
- open: <N> tasks
22
- runs: <run_id> <status> · <run_id> <status> …
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
- 6. Read-only.
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/version.mjs CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.1.15";
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.15",
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": {