@productbrain/mcp 0.0.1-beta.140 → 0.0.1-beta.142

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.
@@ -9796,6 +9796,9 @@ var verifySchema = z15.object({
9796
9796
  collection: z15.string().default("glossary").describe("Collection slug to verify (default: glossary)"),
9797
9797
  mode: z15.enum(["report", "fix"]).default("report").describe("'report' = read-only trust report. 'fix' = also update drifted codeMapping statuses.")
9798
9798
  });
9799
+ var verifyEntrySchema = z15.object({
9800
+ entryId: z15.string().describe("Human entry ID (e.g. 'INS-33') to mark as verified")
9801
+ });
9799
9802
  function registerVerifyTools(server) {
9800
9803
  const verifyTool = server.registerTool(
9801
9804
  "verify",
@@ -9985,6 +9988,20 @@ function registerVerifyTools(server) {
9985
9988
  })
9986
9989
  );
9987
9990
  trackWriteTool(verifyTool);
9991
+ const verifyEntryTool = server.registerTool(
9992
+ "verify-entry",
9993
+ {
9994
+ title: "Verify Entry",
9995
+ description: "Mark a single entry as verified. Required for agent-origin entries before they can be committed. Unlike the 'verify' tool (which scans code mappings against the codebase), this tool only sets verificationStatus to 'verified'. Works in any context \u2014 no codebase required.",
9996
+ inputSchema: verifyEntrySchema,
9997
+ annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false }
9998
+ },
9999
+ withEnvelope(async ({ entryId }) => {
10000
+ const result = await mcpMutation("chain.verifyEntry", { entryId });
10001
+ return success(`Entry ${entryId} verified.`, result);
10002
+ })
10003
+ );
10004
+ trackWriteTool(verifyEntryTool);
9988
10005
  }
9989
10006
 
9990
10007
  // src/tools/start.ts
@@ -14010,6 +14027,7 @@ var ALL_TOOL_SCHEMAS = [
14010
14027
  { name: "session-wrapup", schema: wrapupSchema },
14011
14028
  { name: "labels", schema: labelsSchema },
14012
14029
  { name: "verify", schema: verifySchema },
14030
+ { name: "verify-entry", schema: verifyEntrySchema },
14013
14031
  { name: "capture", schema: captureSchema },
14014
14032
  { name: "batch-capture", schema: batchCaptureSchema },
14015
14033
  { name: "update-entry", schema: updateEntrySchema },
@@ -15112,4 +15130,4 @@ export {
15112
15130
  SERVER_VERSION,
15113
15131
  createProductBrainServer
15114
15132
  };
15115
- //# sourceMappingURL=chunk-CDBSOVW7.js.map
15133
+ //# sourceMappingURL=chunk-ZBUYFPHG.js.map