@productbrain/mcp 0.0.1-beta.165 → 0.0.1-beta.168
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-M7ITTWWM.js → chunk-K2GIX46U.js} +3 -3
- package/dist/chunk-K2GIX46U.js.map +1 -0
- package/dist/cli/index.js +1 -1
- package/dist/http.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{setup-BPZMFI56.js → setup-RYYXRDPB.js} +2 -2
- package/dist/{setup-BPZMFI56.js.map → setup-RYYXRDPB.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-M7ITTWWM.js.map +0 -1
|
@@ -323,7 +323,7 @@ async function callGateway(fn, args) {
|
|
|
323
323
|
const start = Date.now();
|
|
324
324
|
let res;
|
|
325
325
|
try {
|
|
326
|
-
res = await fetch(`${siteUrl}/api/
|
|
326
|
+
res = await fetch(`${siteUrl}/api/aki`, {
|
|
327
327
|
method: "POST",
|
|
328
328
|
signal: AbortSignal.timeout(1e4),
|
|
329
329
|
headers: {
|
|
@@ -15068,7 +15068,7 @@ These are principles, standards, and rules your team has committed to the Chain.
|
|
|
15068
15068
|
"## Core Product Architecture\nThe Chain is a versioned, connected, compounding knowledge base \u2014 the SSOT for a product team.\nEverything on the Chain is one of **three primitives**:\n\n- **Entry** (atom) \u2014 a discrete knowledge unit: target audience, business rule, glossary term, metric, tension. Lives in a collection.\n- **Process** (authored) \u2014 a narrative chain with named links (Strategy Coherence, IDM Proposal). Content is inline text. Collection: `chains`.\n- **Map** (composed) \u2014 a framework assembled by reference (Lean Canvas, Empathy Map). Slots point to ingredient entries. Collection: `maps`.\n\nEntries are atoms. Processes author narrative from atoms. Maps compose frameworks from atoms.\nAll three share the same versioning, branching, gating, and relation system.\n\nThe Chain compounds: each new relation makes entries discoverable from more starting points \u2192 context gathering returns richer results \u2192 AI processes have more context \u2192 quality scores improve \u2192 next commit is smarter than the last."
|
|
15069
15069
|
);
|
|
15070
15070
|
sections.push(
|
|
15071
|
-
"## Architecture\n```\nCursor (stdio) \u2192 MCP Server (mcp-server/src/index.ts)\n \u2192 POST /api/
|
|
15071
|
+
"## Architecture\n```\nCursor (stdio) \u2192 MCP Server (mcp-server/src/index.ts)\n \u2192 POST /api/aki with Bearer token\n \u2192 Convex HTTP Action (convex/http.ts)\n \u2192 internalQuery / internalMutation (convex/agentKnowledge/*)\n \u2192 Convex DB (workspace-scoped)\n```\nSecurity: API key auth on every request, workspace-scoped data, internal functions blocked from external clients.\nKey files: `packages/mcp-server/src/client.ts` (HTTP client + audit), `convex/schema.ts` (schema)."
|
|
15072
15072
|
);
|
|
15073
15073
|
if (collections) {
|
|
15074
15074
|
const collList = collections.map((c) => {
|
|
@@ -15809,4 +15809,4 @@ export {
|
|
|
15809
15809
|
SERVER_VERSION,
|
|
15810
15810
|
createProductBrainServer
|
|
15811
15811
|
};
|
|
15812
|
-
//# sourceMappingURL=chunk-
|
|
15812
|
+
//# sourceMappingURL=chunk-K2GIX46U.js.map
|