@productbrain/mcp 0.0.1-beta.7204 → 0.0.1-beta.7227
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.
|
@@ -8283,7 +8283,7 @@ async function markOrientedWithSnapshotFallback(agentSessionId, coherenceSnapsho
|
|
|
8283
8283
|
var ORIENT_ACTIONS = ["start", "task", "record-activation"];
|
|
8284
8284
|
var orientSchema = z19.object({
|
|
8285
8285
|
action: z19.enum(ORIENT_ACTIONS).optional().default("task").describe(
|
|
8286
|
-
"'start': universal session opener (absorbs start_pb) \u2014
|
|
8286
|
+
"'start': universal session opener (absorbs start_pb) \u2014 a standup briefing for every workspace state, fresh or active. 'task': task-grounded context loader \u2014 the original orient behavior. 'record-activation': chat-only activation receipt writer (absorbs record_activation)."
|
|
8287
8287
|
),
|
|
8288
8288
|
mode: z19.enum(["full", "brief"]).optional().default("full").describe("For 'task': full = full context (default). brief = compact summary for mid-session re-orientation. Prefer using the `tier` param for depth control."),
|
|
8289
8289
|
tier: z19.enum(["summary", "standard", "full"]).optional().describe(
|
|
@@ -8389,7 +8389,7 @@ function registerOrientTool(server) {
|
|
|
8389
8389
|
"orient",
|
|
8390
8390
|
{
|
|
8391
8391
|
title: "Orient",
|
|
8392
|
-
description: "Workspace orientation and session bootstrapping. Three actions:\n\n- **start**: Universal opener (absorbs `start_pb`) \u2014 say 'Start PB' to begin every session.
|
|
8392
|
+
description: "Workspace orientation and session bootstrapping. Three actions:\n\n- **start**: Universal opener (absorbs `start_pb`) \u2014 say 'Start PB' to begin every session. Returns a standup briefing for every workspace state, fresh or active. Orients the CURRENT session \u2014 it does not create one; for writes, call `session action=start` first.\n- **task**: Task-grounded context loader (the original `orient` behavior). Use after `action=start` to load governance and context for a specific task. Completing orientation unlocks write tools.\n- **record-activation**: Chat-only activation receipt writer (absorbs `record_activation`) \u2014 closes the install-to-activation arc for chat-only surfaces.\n\n**tier** (action=task): Controls payload depth.\n- `summary` (~10 KB) \u2014 compact, calibrated for task-scoped retrieval.\n- `standard` (~256 KB) \u2014 rich, suited to workspace standups.\n- `full` \u2014 complete payload, no cap. Use with deliberation.\n\nThe spine (vision, purpose, strategy highlights) is served in full and a grounding status flags when context was reduced.\n\nDefaults: `summary` when `task` is provided; `standard` when `task` is absent. Explicit `tier` always wins.\n\n**mode** (action=task): `full` (default) returns full context. `brief` returns compact summary \u2014 mapped to tier=summary internally.",
|
|
8393
8393
|
inputSchema: orientSchema,
|
|
8394
8394
|
// Mixed read/write noun (§3 R3): 'start'/'record-activation' write session state.
|
|
8395
8395
|
annotations: { readOnlyHint: false, idempotentHint: true, openWorldHint: false }
|
|
@@ -10018,7 +10018,7 @@ var workflowsSchema = z21.object({
|
|
|
10018
10018
|
summaryName: z21.string().max(500).optional().describe("Optional name for final chain entry. If omitted, the workflow summary template is used."),
|
|
10019
10019
|
summaryDescription: z21.string().max(2e4).optional().describe("Optional override for the final chain entry description. Defaults to the final round output text."),
|
|
10020
10020
|
summaryEntryId: z21.string().max(200).optional().describe("Link an existing entry as the run's summary instead of creating one. Used by facilitated workflows (e.g. shape) where the primary record is created by the specialized tool."),
|
|
10021
|
-
entryId: z21.string().max(200).optional().describe("For 'load-skill': workspace-scoped skill entry id (e.g. 'SKILL-
|
|
10021
|
+
entryId: z21.string().max(200).optional().describe("For 'load-skill': workspace-scoped skill entry id (e.g. 'SKILL-shape'). Refuses non-skill entries (canonicalKey !== 'skill') with INVALID_KIND."),
|
|
10022
10022
|
// WP-513: team+role to create the finalize summary AS OWNER of (rung 2 only).
|
|
10023
10023
|
ownerTeamEntryId: z21.string().max(200).optional().describe("For 'checkpoint' (isFinal): owning team (rung-2)."),
|
|
10024
10024
|
ownerRoleEntryId: z21.string().max(200).optional().describe("For 'checkpoint' (isFinal): owning role (rung-2).")
|
|
@@ -10148,7 +10148,7 @@ function registerWorkflowTools(server) {
|
|
|
10148
10148
|
"workflows",
|
|
10149
10149
|
{
|
|
10150
10150
|
title: "Workflows",
|
|
10151
|
-
description: "Chainwork workflow discovery, start/resume, checkpointing, run inspection, and skill loading. Five actions:\n\n- **list**: Browse available workflows \u2014 retro, shape-a-bet, implementation-review, process-change.\n- **start**: Start or resume a workflow. Call with workflowId (e.g. 'implementation-review', 'retro', 'shape', 'process-change'). Returns the first (or current) round instructions and the exact checkpoint call to use when the round is complete. Use this when the user says 'run implementation review', 'run retro', 'shape this', or 'process change' \u2014 it is the tool entry point for running a workflow.\n- **checkpoint**: Record round output during Facilitator Mode. Persists progress. At completion, some workflows support isFinal=true to create the summary chain entry.\n- **get-run**: Inspect a persisted workflow run by run ID or by workflow ID in the current session.\n- **load-skill**: Load the markdown body of a SKILL-* entry from the current workspace (absorbs `skills`). Generic loader \u2014 works for any skill, e.g. SKILL-
|
|
10151
|
+
description: "Chainwork workflow discovery, start/resume, checkpointing, run inspection, and skill loading. Five actions:\n\n- **list**: Browse available workflows \u2014 retro, shape-a-bet, implementation-review, process-change.\n- **start**: Start or resume a workflow. Call with workflowId (e.g. 'implementation-review', 'retro', 'shape', 'process-change'). Returns the first (or current) round instructions and the exact checkpoint call to use when the round is complete. Use this when the user says 'run implementation review', 'run retro', 'shape this', or 'process change' \u2014 it is the tool entry point for running a workflow.\n- **checkpoint**: Record round output during Facilitator Mode. Persists progress. At completion, some workflows support isFinal=true to create the summary chain entry.\n- **get-run**: Inspect a persisted workflow run by run ID or by workflow ID in the current session.\n- **load-skill**: Load the markdown body of a SKILL-* entry from the current workspace (absorbs `skills`). Generic loader \u2014 works for any skill the workspace has, e.g. SKILL-shape, SKILL-review. Returns a not-found error if the workspace has no matching skill entry.",
|
|
10152
10152
|
inputSchema: workflowsSchema,
|
|
10153
10153
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false }
|
|
10154
10154
|
},
|
|
@@ -14871,7 +14871,7 @@ var INSTRUCTIONS = [
|
|
|
14871
14871
|
"",
|
|
14872
14872
|
"## Workflow",
|
|
14873
14873
|
"",
|
|
14874
|
-
" 1. Start: call `session action=start` to open a tracked write session, then `orient action=start` \u2014 it
|
|
14874
|
+
" 1. Start: call `session action=start` to open a tracked write session, then `orient action=start` \u2014 it returns a standup briefing for every workspace state, fresh or active. (`orient` orients the session; only `session action=start` creates one.)",
|
|
14875
14875
|
" 2. Re-orient: call `orient action=task` mid-session for task-scoped context or a compact status refresh.",
|
|
14876
14876
|
" 3. Discover: use `entries action=search` to find entries, or `entries action=list` to browse.",
|
|
14877
14877
|
' 4. Drill in: use `entries action=get entryId="..."` for full details \u2014 data, labels, relations, history.',
|
|
@@ -14957,4 +14957,4 @@ export {
|
|
|
14957
14957
|
createProductBrainServer,
|
|
14958
14958
|
initFeatureFlags
|
|
14959
14959
|
};
|
|
14960
|
-
//# sourceMappingURL=chunk-
|
|
14960
|
+
//# sourceMappingURL=chunk-I5NE53JL.js.map
|