@productbrain/mcp 0.0.1-beta.6286 → 0.0.1-beta.6294
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.
- package/dist/{chunk-XJRVTFDC.js → chunk-73WYXKBT.js} +100 -336
- package/dist/chunk-73WYXKBT.js.map +1 -0
- package/dist/{chunk-OT4PU7IF.js → chunk-Q2BQSINV.js} +1 -9
- package/dist/{chunk-OT4PU7IF.js.map → chunk-Q2BQSINV.js.map} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-KW27NKXI.js → setup-3C2GB2G6.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XJRVTFDC.js.map +0 -1
- /package/dist/{setup-KW27NKXI.js.map → setup-3C2GB2G6.js.map} +0 -0
|
@@ -1492,13 +1492,6 @@ async function getWorkspaceContext() {
|
|
|
1492
1492
|
governanceMode: s.workspaceGovernanceMode ?? "open"
|
|
1493
1493
|
};
|
|
1494
1494
|
}
|
|
1495
|
-
async function refreshWorkspaceGovernanceMode() {
|
|
1496
|
-
const workspace = await kernelCall("resolveWorkspace", {});
|
|
1497
|
-
const mode = workspace?.governanceMode ?? "open";
|
|
1498
|
-
const s = state();
|
|
1499
|
-
s.workspaceGovernanceMode = mode;
|
|
1500
|
-
return mode;
|
|
1501
|
-
}
|
|
1502
1495
|
async function kernelQuery(fn, args = {}) {
|
|
1503
1496
|
const workspaceId = await getWorkspaceId();
|
|
1504
1497
|
return kernelCall(fn, { ...args, workspaceId });
|
|
@@ -1655,7 +1648,6 @@ export {
|
|
|
1655
1648
|
kernelCallEnvelope,
|
|
1656
1649
|
getWorkspaceId,
|
|
1657
1650
|
getWorkspaceContext,
|
|
1658
|
-
refreshWorkspaceGovernanceMode,
|
|
1659
1651
|
kernelQuery,
|
|
1660
1652
|
kernelMutation,
|
|
1661
1653
|
requireActiveSession,
|
|
@@ -1663,4 +1655,4 @@ export {
|
|
|
1663
1655
|
requireVendorTriageAccess,
|
|
1664
1656
|
recoverSessionState
|
|
1665
1657
|
};
|
|
1666
|
-
//# sourceMappingURL=chunk-
|
|
1658
|
+
//# sourceMappingURL=chunk-Q2BQSINV.js.map
|