@mcpbox/mcpbox-claude 0.1.27 → 0.1.29
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 +2 -2
- package/.codex-plugin/plugin.json +4 -4
- package/README.md +280 -20
- package/bin/mcpbox-claude.mjs +61 -11
- package/commands/close.md +2 -0
- package/commands/mine.md +4 -4
- package/commands/mode.md +4 -12
- package/commands/next.md +4 -3
- package/commands/pipeline-run.md +4 -4
- package/commands/plan.md +4 -4
- package/commands/sync.md +1 -1
- package/commands/tasks.md +4 -4
- package/hooks/acceptance-guard.mjs +5 -62
- package/hooks/bootstrap.mjs +167 -0
- package/hooks/edit-gate.mjs +7 -0
- package/hooks/hooks.json +37 -1
- package/hooks/impl/acceptance-guard.mjs +63 -0
- package/hooks/impl/edit-gate.mjs +32 -0
- package/hooks/impl/prepare-commit-msg.mjs +8 -0
- package/hooks/impl/session-gate.mjs +81 -0
- package/hooks/impl/session-start.mjs +89 -0
- package/hooks/impl/stop.mjs +64 -0
- package/hooks/impl/track-claims.mjs +35 -0
- package/hooks/impl/user-prompt-submit.mjs +234 -0
- package/hooks/prepare-commit-msg.mjs +7 -0
- package/hooks/session-gate.mjs +7 -0
- package/hooks/session-start.mjs +5 -204
- package/hooks/stop.mjs +5 -104
- package/hooks/track-claims.mjs +7 -0
- package/hooks/user-prompt-submit.mjs +5 -259
- package/lib/cloud-knowledge.mjs +19 -3
- package/lib/codex.mjs +2 -2
- package/lib/cursor.mjs +1 -1
- package/lib/edit-gate.mjs +120 -0
- package/lib/git-trailer.mjs +104 -0
- package/lib/harness-hooks.mjs +186 -0
- package/lib/hook-doctor.mjs +517 -0
- package/lib/hook-output.mjs +16 -0
- package/lib/kimi.mjs +16 -4
- package/lib/knowledge-skills.mjs +259 -0
- package/lib/mode.mjs +2 -12
- package/lib/policy.mjs +54 -127
- package/lib/session-gate.mjs +385 -0
- package/lib/version.mjs +1 -1
- package/package.json +2 -2
- package/skills/mcpbox/SKILL.md +17 -94
- package/skills/mcpbox-close/SKILL.md +2 -0
- package/skills/mcpbox-mine/SKILL.md +4 -4
- package/skills/mcpbox-mode/SKILL.md +4 -12
- package/skills/mcpbox-next/SKILL.md +4 -3
- package/skills/mcpbox-pipeline-run/SKILL.md +4 -4
- package/skills/mcpbox-plan/SKILL.md +4 -4
- package/skills/mcpbox-sync/SKILL.md +1 -1
- package/skills/mcpbox-tasks/SKILL.md +4 -4
|
@@ -7,10 +7,10 @@ The user invoked `/mcpbox:plan`.
|
|
|
7
7
|
|
|
8
8
|
## Steps
|
|
9
9
|
|
|
10
|
-
1. Resolve project
|
|
11
|
-
2. `daruma_plan_list status="draft,active" sort="updated" limit=1` — the most recently
|
|
10
|
+
1. Resolve the project as in `/mcpbox:tasks`.
|
|
11
|
+
2. `daruma_plan_list project_id=<resolved> status="draft,active" sort="updated" limit=1` — the most recently
|
|
12
12
|
updated plan (the default order is by creation, and its first page can miss it).
|
|
13
|
-
If none, stop with "no active plan — decided work: `daruma_plan_materialize`;
|
|
13
|
+
If none, stop with "no active plan — decided work: `daruma_plan_materialize`; optional exploration: `/mcpbox:pipeline-run`".
|
|
14
14
|
3. For the chosen plan, `daruma_plan_get view="tasks"` (single call — do not enumerate the archive).
|
|
15
15
|
It lists every plan task (done included) with `status`, `priority`, `depends_on` and
|
|
16
16
|
`blocked_by`; the default `progress` view caps each group at five open tasks.
|
|
@@ -26,4 +26,4 @@ The user invoked `/mcpbox:plan`.
|
|
|
26
26
|
|
|
27
27
|
- Progress bar from `progress.tasks_done`/`progress.tasks_total`; one row per task in plan order.
|
|
28
28
|
- Tasks with a non-empty `blocked_by` marked ⛔ with those blocker ids.
|
|
29
|
-
5. Do not call `daruma_plan_list status=completed` (token-heavy). Read-only.
|
|
29
|
+
5. Do not call `daruma_plan_list project_id=<resolved> status=completed` (token-heavy). Read-only.
|
|
@@ -7,7 +7,7 @@ The user invoked `/mcpbox:sync`.
|
|
|
7
7
|
|
|
8
8
|
## Steps
|
|
9
9
|
|
|
10
|
-
1. Resolve project
|
|
10
|
+
1. Resolve the project as in `/mcpbox:tasks`.
|
|
11
11
|
2. Re-fetch server-side: one scoped `daruma_list status=active`, and if a plan is active,
|
|
12
12
|
one `daruma_plan_get`.
|
|
13
13
|
3. Summarize what changed since the session's last view (new / closed / newly blocked),
|
|
@@ -10,11 +10,11 @@ Drive the mcpbox MCP server (do not invent IDs, do not write local plan files).
|
|
|
10
10
|
## Steps
|
|
11
11
|
|
|
12
12
|
1. Resolve project:
|
|
13
|
-
- `daruma_workspace_info
|
|
14
|
-
- Else `daruma_project_list` →
|
|
13
|
+
- Use the repo binding or match the cwd to the nearest scope in `daruma_workspace_info`. Use `default_project` if unambiguous.
|
|
14
|
+
- Else `daruma_project_list` → use the only project or ask which project the user means. If none, say "no projects yet" and stop.
|
|
15
15
|
|
|
16
16
|
2. Fetch tasks server-side (don't filter locally):
|
|
17
|
-
- `daruma_list project_id=<resolved> status=active limit=
|
|
17
|
+
- `daruma_list project_id=<resolved> status=active limit=30`.
|
|
18
18
|
- **Never** use `status=all` unless the user explicitly asked for the full archive; it is token-heavy.
|
|
19
19
|
|
|
20
20
|
3. Render exactly this format:
|
|
@@ -30,6 +30,6 @@ Drive the mcpbox MCP server (do not invent IDs, do not write local plan files).
|
|
|
30
30
|
- Status emoji: 📥 inbox, ⬜ todo, 🟢 in_progress, ✅ done.
|
|
31
31
|
- Title truncated to 60 chars with `…`; `Plan` = last 8 chars of `plan_id` or `—`.
|
|
32
32
|
|
|
33
|
-
4. If
|
|
33
|
+
4. Use the response total for N. If more than 30 tasks match, show the returned rows and footer `…and <total minus displayed> more — /mcpbox:mine shows project tasks in progress or in review`.
|
|
34
34
|
5. On `daruma_list` error: print it verbatim and stop.
|
|
35
35
|
6. Read-only — do not transition any task in this command.
|