@productbrain/mcp 0.0.1-beta.10249 → 0.0.1-beta.10270

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.
@@ -1253,10 +1253,10 @@ async function startAgentSession(role) {
1253
1253
  }
1254
1254
  async function closeAgentSession() {
1255
1255
  const lc = sessionLifecycle();
1256
- if (!lc.agentSessionId) return;
1256
+ if (!lc.agentSessionId) return null;
1257
1257
  const sessionId = lc.agentSessionId;
1258
1258
  try {
1259
- await kernelCall("agent.closeSession", {
1259
+ return await kernelCall("agent.closeSession", {
1260
1260
  sessionId,
1261
1261
  status: "closed"
1262
1262
  });
@@ -1685,4 +1685,4 @@ export {
1685
1685
  appUrl,
1686
1686
  apiKeysUrl
1687
1687
  };
1688
- //# sourceMappingURL=chunk-BS4ZQRGV.js.map
1688
+ //# sourceMappingURL=chunk-FKPBLV33.js.map