@subseam/mcp 0.4.26 → 0.4.28

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.
Files changed (2) hide show
  1. package/dist/main.js +7 -5
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -31831,7 +31831,8 @@ var defineProposalReadTool = {
31831
31831
  })
31832
31832
  ),
31833
31833
  verdict: external_exports.object({
31834
- outcome: external_exports.enum(["accepted", "rejected"]),
31834
+ // null while a PR-check fill's cone tests have not ended
31835
+ outcome: external_exports.enum(["accepted", "rejected"]).nullable(),
31835
31836
  oracleVersion: external_exports.string().nullable(),
31836
31837
  repairTupleId: external_exports.string().nullable(),
31837
31838
  definitionVersion: external_exports.number().nullable(),
@@ -31957,8 +31958,8 @@ var defineProposalReadTool = {
31957
31958
  return result;
31958
31959
  }
31959
31960
  const lines = [];
31960
- const decided = decision === null ? outcome === "accepted" ? "offered for your decision" : "not offered" : `${decision.decision === "accept" ? "accepted" : "rejected"} by the developer${decision.reason === null ? "" : `: ${decision.reason}`}`;
31961
- lines.push(pr === null ? `define_proposal_read: task ${taskId} \u2014 measured ${outcome}; oracle ${oracleVersion ?? "none recorded"}, repair tuple ${repairTupleId ?? "none"}, definition version ${definitionVersion ?? "none recorded"}; ${decided}.` : `define_proposal_read: task ${taskId} \u2014 PR-check proposal on ${pr.repo}#${pr.number} at ${pr.headSha.slice(0, 9)}; measured ${outcome}, ${decided}.`);
31961
+ const decided = decision === null ? outcome === "accepted" ? "offered for your decision" : outcome === null ? "not offered until they end" : "not offered" : `${decision.decision === "accept" ? "accepted" : "rejected"} by the developer${decision.reason === null ? "" : `: ${decision.reason}`}`;
31962
+ lines.push(pr === null ? `define_proposal_read: task ${taskId} \u2014 measured ${outcome}; oracle ${oracleVersion ?? "none recorded"}, repair tuple ${repairTupleId ?? "none"}, definition version ${definitionVersion ?? "none recorded"}; ${decided}.` : `define_proposal_read: task ${taskId} \u2014 PR-check proposal on ${pr.repo}#${pr.number} at ${pr.headSha.slice(0, 9)}; ${outcome === null ? "measuring: cone tests still running" : `measured ${outcome}`}, ${decided}.`);
31962
31963
  if (delta !== null) {
31963
31964
  if (delta.notComputed !== null) lines.push(`Delta: not computed \u2014 ${delta.notComputed}`);
31964
31965
  lines.push(`Closes ${total(delta.closed)} divergence(s):`, ...delta.closed.map(siteLine));
@@ -31988,7 +31989,8 @@ var defineProposalReadTool = {
31988
31989
  lines.push(dl);
31989
31990
  }
31990
31991
  }
31991
- if (decision === null) lines.push(`resolve with define_adjudicate {taskId:'${taskId}', decision:'accept'|'reject', reason:\u2026}`);
31992
+ if (decision === null && outcome === null) lines.push(`read again once the cone tests end to accept; reject now with define_adjudicate {taskId:'${taskId}', decision:'reject', reason:\u2026}`);
31993
+ else if (decision === null) lines.push(`resolve with define_adjudicate {taskId:'${taskId}', decision:'accept'|'reject', reason:\u2026}`);
31992
31994
  return { text: lines.join("\n") };
31993
31995
  }
31994
31996
  };
@@ -48421,7 +48423,7 @@ var workReadTools = createWorkReadToolProviders({ capability: "work" });
48421
48423
  var bundledProviders = [src_default2, src_default, tension_default, ...defineTools, ...decisionTools, ...captureTools, ...buildTools, secureTool, ...workTools, ...workReadTools];
48422
48424
 
48423
48425
  // package.json
48424
- var version2 = "0.4.26";
48426
+ var version2 = "0.4.28";
48425
48427
 
48426
48428
  // src/server.ts
48427
48429
  var SERVER_VERSION = version2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subseam/mcp",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {