@productbrain/mcp 0.0.1-beta.16177 → 0.0.1-beta.16191
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.
|
@@ -3986,7 +3986,7 @@ var outcomeSchema = z17.object({
|
|
|
3986
3986
|
action: actionEnum(OUTCOME_ACTIONS, { list: OUTCOME_READS_MOVED, show: OUTCOME_READS_MOVED }).describe(
|
|
3987
3987
|
"'record': record a reading (evidence, not a verdict). Reads live on context: action=outcome and action=readings."
|
|
3988
3988
|
),
|
|
3989
|
-
entryId: z17.string().max(200).optional().describe("The key result
|
|
3989
|
+
entryId: z17.string().max(200).optional().describe("The key result or KPI, by its chain id. Required."),
|
|
3990
3990
|
// PR #858 review round 3 (Codex P2, PRRT_kwDORS4ils6gXHj9): a JSON number that overflows to
|
|
3991
3991
|
// `Infinity` (e.g. `1e400`) parses fine in JS and passes a plain `z.number()`, but
|
|
3992
3992
|
// `callGateway()` serializes it with `JSON.stringify`, which turns `Infinity` into `null` —
|
|
@@ -4000,7 +4000,7 @@ var outcomeSchema = z17.object({
|
|
|
4000
4000
|
asOf: z17.string().max(64).optional().describe("'record': when the world was in this state, as a parseable date (default: now). Back-dating a backfill is legitimate \u2014 it shows up as asOf earlier than recordedAt."),
|
|
4001
4001
|
kind: z17.enum(READING_KINDS).optional().describe("'record': measurement | estimate | correction (default: measurement)."),
|
|
4002
4002
|
correctsReadingId: z17.string().max(200).optional().describe("'record': required with kind='correction' \u2014 the reading id this replaces. Refused if that row is already superseded."),
|
|
4003
|
-
recordedByRoleId: z17.string().max(200).optional().describe("'record': the accountable role (default: the entry's
|
|
4003
|
+
recordedByRoleId: z17.string().max(200).optional().describe("'record': the accountable role (default: the entry's reporter, then its owner)."),
|
|
4004
4004
|
note: z17.string().max(READING_TEXT_MAX_CHARS).optional().describe("'record': free-text note recorded with the reading."),
|
|
4005
4005
|
source: z17.string().max(READING_SOURCE_MAX_CHARS).optional().describe("'record': Where the number comes from (required for a KPI)")
|
|
4006
4006
|
});
|
|
@@ -4222,7 +4222,7 @@ function registerOutcomeTools(server) {
|
|
|
4222
4222
|
description: (
|
|
4223
4223
|
// Chain IDs stay OUT of this user-facing string (check:chain-id-leaks) — same
|
|
4224
4224
|
// precedent role.ts's own docblock names for its Team-Lead-vacancy sentence.
|
|
4225
|
-
'Key
|
|
4225
|
+
'Key result and KPI outcomes: record the measured readings behind a number.\n\n- **record**: Record a reading \u2014 evidence, not a verdict; any connector may record one.\n\nRead with the read-only `context` tool: `context action=outcome entryId="..."` (the derived view, its objective and sibling key results), `context action=readings entryId="..."` (the readings).'
|
|
4226
4226
|
),
|
|
4227
4227
|
inputSchema: outcomeSchema,
|
|
4228
4228
|
// DEC-1894 / DEC-74: the reads live on the read-only `context` tool; record, the one action
|
|
@@ -12450,4 +12450,4 @@ export {
|
|
|
12450
12450
|
SERVER_VERSION,
|
|
12451
12451
|
createProductBrainServer
|
|
12452
12452
|
};
|
|
12453
|
-
//# sourceMappingURL=chunk-
|
|
12453
|
+
//# sourceMappingURL=chunk-SOJGKLL7.js.map
|