@productbrain/mcp 0.0.1-beta.2151 → 0.0.1-beta.2162
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.
|
@@ -312,6 +312,14 @@ function classifyError(err) {
|
|
|
312
312
|
availableActions: [{ tool: "entries", description: "Get entry", parameters: { action: "get" } }]
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
+
if (convexCode === "rate-limited") {
|
|
316
|
+
return {
|
|
317
|
+
code: "rate-limited",
|
|
318
|
+
fn,
|
|
319
|
+
message: cleanMessage,
|
|
320
|
+
recovery: "Rate limit hit for this API key. Wait the number of seconds in the message (Retry-After), then retry the same call unchanged \u2014 it is safe to retry."
|
|
321
|
+
};
|
|
322
|
+
}
|
|
315
323
|
return { code: convexCode, fn, message: cleanMessage };
|
|
316
324
|
}
|
|
317
325
|
for (const { pattern, code, recovery, action } of GATE_PATTERNS) {
|
|
@@ -3296,6 +3304,12 @@ No DB writes \u2014 call without \`preview:true\` to accept for real.` }],
|
|
|
3296
3304
|
`**${entry.name}** promoted to SSOT on the Chain.`,
|
|
3297
3305
|
`**Workspace:** ${wsCtx.workspaceSlug} (${wsCtx.workspaceId})`
|
|
3298
3306
|
];
|
|
3307
|
+
const autoVerified = result?.autoVerified;
|
|
3308
|
+
if (autoVerified?.strength) {
|
|
3309
|
+
const who = autoVerified.verifiedBy ? ` (${autoVerified.verifiedBy})` : "";
|
|
3310
|
+
lines.push("");
|
|
3311
|
+
lines.push(`_Auto-verified as part of promote \u2014 ${autoVerified.strength}${who}._`);
|
|
3312
|
+
}
|
|
3299
3313
|
}
|
|
3300
3314
|
if (advisoryWarnings.length > 0) {
|
|
3301
3315
|
lines.push("");
|
|
@@ -3390,7 +3404,10 @@ No DB writes \u2014 call without \`preview:true\` to accept for real.` }],
|
|
|
3390
3404
|
source: coachingResult?.source ?? void 0,
|
|
3391
3405
|
contradictions: advisoryWarnings.length,
|
|
3392
3406
|
...epistemic ? { epistemicStatus: epistemic } : {},
|
|
3393
|
-
...steeringAdvisory ? { steeringAdvisory } : {}
|
|
3407
|
+
...steeringAdvisory ? { steeringAdvisory } : {},
|
|
3408
|
+
// WP-B (attestation spec §4.3): mirror the auto-verify receipt into the
|
|
3409
|
+
// structured payload so --json/agent consumers see it too.
|
|
3410
|
+
...result?.autoVerified ? { autoVerified: result.autoVerified } : {}
|
|
3394
3411
|
},
|
|
3395
3412
|
next
|
|
3396
3413
|
);
|
|
@@ -14710,4 +14727,4 @@ export {
|
|
|
14710
14727
|
createProductBrainServer,
|
|
14711
14728
|
initFeatureFlags
|
|
14712
14729
|
};
|
|
14713
|
-
//# sourceMappingURL=chunk-
|
|
14730
|
+
//# sourceMappingURL=chunk-DAQYIF5L.js.map
|