@productbrain/mcp 0.0.1-beta.6286 → 0.0.1-beta.6290

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.
@@ -15635,7 +15635,7 @@ async function handleQuestionCreate(text, domain, blocks) {
15635
15635
  requireWriteAccess();
15636
15636
  try {
15637
15637
  const resolvedBlocks = blocks ? await Promise.all(blocks.map((b) => resolveEntryRef(b, "Blocked entry"))) : void 0;
15638
- const result2 = await kernelMutation("question.create", { text, domainSlug: domain, blocks: resolvedBlocks });
15638
+ const result2 = await kernelMutation("question.create", { text, domainSlug: domain, blocks: resolvedBlocks, sessionId: getAgentSessionId() ?? void 0 });
15639
15639
  const message = await renderCreateAdoptConfirmation(result2, false);
15640
15640
  const next = result2.status === "unrouted" ? [{ tool: "question", description: "Confirm or reassign the suggestion", parameters: { action: "assign", entryId: result2.entryId } }] : void 0;
15641
15641
  return successResult(message, message, result2, next);
@@ -15648,7 +15648,7 @@ async function handleQuestionAdopt(entryId, domain, blocks) {
15648
15648
  try {
15649
15649
  const resolvedEntryId = await resolveEntryRef(entryId, "Entry");
15650
15650
  const resolvedBlocks = blocks ? await Promise.all(blocks.map((b) => resolveEntryRef(b, "Blocked entry"))) : void 0;
15651
- const result2 = await kernelMutation("question.adopt", { entryId: resolvedEntryId, domainSlug: domain, blocks: resolvedBlocks });
15651
+ const result2 = await kernelMutation("question.adopt", { entryId: resolvedEntryId, domainSlug: domain, blocks: resolvedBlocks, sessionId: getAgentSessionId() ?? void 0 });
15652
15652
  const message = await renderCreateAdoptConfirmation(result2, true);
15653
15653
  return successResult(message, message, result2);
15654
15654
  } catch (err) {
@@ -16956,4 +16956,4 @@ export {
16956
16956
  createProductBrainServer,
16957
16957
  initFeatureFlags
16958
16958
  };
16959
- //# sourceMappingURL=chunk-XJRVTFDC.js.map
16959
+ //# sourceMappingURL=chunk-MHKTOGAX.js.map