@productbrain/mcp 0.0.1-beta.7051 → 0.0.1-beta.7070

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.
@@ -2165,9 +2165,8 @@ No DB writes \u2014 call without \`preview:true\` to capture for real.${result2.
2165
2165
  formativeHints = created.qualityHints ?? [];
2166
2166
  coachingFromCreate = created.coaching;
2167
2167
  resolveGapsForEntry(name, created.entryId);
2168
- if (created.status === "active") {
2169
- wasAutoCommittedServerSide = true;
2170
- }
2168
+ const createdStatus = created.status;
2169
+ if (createdStatus === "active" || createdStatus === "accepted") wasAutoCommittedServerSide = true;
2171
2170
  spineFloor = created.spineFloor;
2172
2171
  } catch (error) {
2173
2172
  const msg = error instanceof Error ? error.message : String(error);
@@ -2909,7 +2908,7 @@ async function handleUpdateEntry({ entryId, name, status: rawStatus, workflowSta
2909
2908
  const wsCtx = await getWorkspaceContext();
2910
2909
  const updated = await kernelQuery("chain.getEntry", { entryId });
2911
2910
  const entryStatus = updated?.status ?? "draft";
2912
- const versionMode = entryStatus === "active" ? "published" : `saved as ${entryStatus}`;
2911
+ const versionMode = entryStatus === "active" || entryStatus === "accepted" ? "published" : `saved as ${entryStatus}`;
2913
2912
  const responseLines = [
2914
2913
  `# Entry Updated`,
2915
2914
  ``,
@@ -15007,4 +15006,4 @@ export {
15007
15006
  createProductBrainServer,
15008
15007
  initFeatureFlags
15009
15008
  };
15010
- //# sourceMappingURL=chunk-MY6MRCJ6.js.map
15009
+ //# sourceMappingURL=chunk-5IXVNB72.js.map