@productbrain/mcp 0.0.1-beta.8555 → 0.0.1-beta.8563
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-MWNEBU4R.js → chunk-6OMZMXSM.js} +32 -21
- package/dist/chunk-6OMZMXSM.js.map +1 -0
- package/dist/{chunk-UPQW54GN.js → chunk-FB2VAQOX.js} +1 -11
- package/dist/{chunk-UPQW54GN.js.map → chunk-FB2VAQOX.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-2VG6YLVK.js → setup-4HRTIJQA.js} +3 -4
- package/dist/{setup-2VG6YLVK.js.map → setup-4HRTIJQA.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-MWNEBU4R.js.map +0 -1
|
@@ -1414,11 +1414,6 @@ function requireActiveSession() {
|
|
|
1414
1414
|
"Session has been closed (SOS-iszqu7). Start a new session with `session action=start`."
|
|
1415
1415
|
);
|
|
1416
1416
|
}
|
|
1417
|
-
if (!lc.sessionOriented) {
|
|
1418
|
-
throw new Error(
|
|
1419
|
-
"Orientation required before accessing build context (SOS-iszqu7). Call `orient` first."
|
|
1420
|
-
);
|
|
1421
|
-
}
|
|
1422
1417
|
}
|
|
1423
1418
|
function requireWriteAccess() {
|
|
1424
1419
|
const lc = sessionLifecycle();
|
|
@@ -1433,11 +1428,6 @@ function requireWriteAccess() {
|
|
|
1433
1428
|
"Agent session has been closed. Write tools are no longer available."
|
|
1434
1429
|
);
|
|
1435
1430
|
}
|
|
1436
|
-
if (!lc.sessionOriented) {
|
|
1437
|
-
throw new Error(
|
|
1438
|
-
"Orientation required before writing to the Chain. Call 'orient' first."
|
|
1439
|
-
);
|
|
1440
|
-
}
|
|
1441
1431
|
if (s.apiKeyScope === "read") {
|
|
1442
1432
|
throw new Error(
|
|
1443
1433
|
"This API key has read-only scope. Write tools are not available."
|
|
@@ -1554,4 +1544,4 @@ export {
|
|
|
1554
1544
|
requireVendorTriageAccess,
|
|
1555
1545
|
recoverSessionState
|
|
1556
1546
|
};
|
|
1557
|
-
//# sourceMappingURL=chunk-
|
|
1547
|
+
//# sourceMappingURL=chunk-FB2VAQOX.js.map
|