@productbrain/mcp 0.0.1-beta.12355 → 0.0.1-beta.12367
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-C4TYYBLL.js → chunk-BOYRNTJM.js} +2 -2
- package/dist/{chunk-C4TYYBLL.js.map → chunk-BOYRNTJM.js.map} +1 -1
- package/dist/{chunk-QXBKHFWZ.js → chunk-LN3Y5MAV.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-RMEYY262.js → setup-CYUCFNQ7.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-QXBKHFWZ.js.map → chunk-LN3Y5MAV.js.map} +0 -0
- /package/dist/{setup-RMEYY262.js.map → setup-CYUCFNQ7.js.map} +0 -0
|
@@ -1300,7 +1300,7 @@ function getActiveApiKey() {
|
|
|
1300
1300
|
const fromRequest = getRequestApiKey();
|
|
1301
1301
|
if (fromRequest) return fromRequest;
|
|
1302
1302
|
const fromEnv = httpMode ? void 0 : process.env.PRODUCTBRAIN_API_KEY;
|
|
1303
|
-
if (!fromEnv) throw new Error("No API key
|
|
1303
|
+
if (!fromEnv) throw new Error(httpMode ? "No API key on this request. Send it as a Bearer token." : "No API key. Set PRODUCTBRAIN_API_KEY for this server.");
|
|
1304
1304
|
return fromEnv;
|
|
1305
1305
|
}
|
|
1306
1306
|
var _sessionLifecycleByStream = /* @__PURE__ */ new Map();
|
|
@@ -1766,4 +1766,4 @@ export {
|
|
|
1766
1766
|
appUrl,
|
|
1767
1767
|
apiKeysUrl
|
|
1768
1768
|
};
|
|
1769
|
-
//# sourceMappingURL=chunk-
|
|
1769
|
+
//# sourceMappingURL=chunk-BOYRNTJM.js.map
|