@productbrain/mcp 0.0.1-beta.38 → 0.0.1-beta.39
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-7LEGOXN4.js → chunk-7VJP2IMS.js} +4 -4
- package/dist/{chunk-7LEGOXN4.js.map → chunk-7VJP2IMS.js.map} +1 -1
- package/dist/{chunk-FPFNMME7.js → chunk-XCKGFYDP.js} +16 -23
- package/dist/chunk-XCKGFYDP.js.map +1 -0
- package/dist/http.js +2 -2
- package/dist/index.js +35 -30
- package/dist/index.js.map +1 -1
- package/dist/{smart-capture-OLIFSERN.js → smart-capture-E53YEHHO.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-FPFNMME7.js.map +0 -1
- /package/dist/{smart-capture-OLIFSERN.js.map → smart-capture-E53YEHHO.js.map} +0 -0
|
@@ -218,13 +218,13 @@ async function recordSessionActivity(activity) {
|
|
|
218
218
|
var AUDIT_BUFFER_SIZE = 50;
|
|
219
219
|
var auditBuffer = [];
|
|
220
220
|
function bootstrap() {
|
|
221
|
+
process.env.CONVEX_SITE_URL ??= process.env.PRODUCTBRAIN_URL ?? DEFAULT_CLOUD_URL;
|
|
221
222
|
const pbKey = process.env.PRODUCTBRAIN_API_KEY;
|
|
222
223
|
if (!pbKey?.startsWith("pb_sk_")) {
|
|
223
|
-
|
|
224
|
-
"PRODUCTBRAIN_API_KEY is
|
|
224
|
+
process.stderr.write(
|
|
225
|
+
"[MCP] Warning: PRODUCTBRAIN_API_KEY is not set or invalid. Tool calls will fail until a valid key is provided.\n"
|
|
225
226
|
);
|
|
226
227
|
}
|
|
227
|
-
process.env.CONVEX_SITE_URL ??= process.env.PRODUCTBRAIN_URL ?? DEFAULT_CLOUD_URL;
|
|
228
228
|
}
|
|
229
229
|
function bootstrapHttp() {
|
|
230
230
|
process.env.CONVEX_SITE_URL ??= process.env.PRODUCTBRAIN_URL ?? DEFAULT_CLOUD_URL;
|
|
@@ -1865,4 +1865,4 @@ export {
|
|
|
1865
1865
|
formatRubricCoaching,
|
|
1866
1866
|
formatRubricVerdictSection
|
|
1867
1867
|
};
|
|
1868
|
-
//# sourceMappingURL=chunk-
|
|
1868
|
+
//# sourceMappingURL=chunk-7VJP2IMS.js.map
|