@productbrain/mcp 0.0.1-beta.78 → 0.0.1-beta.79
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.
|
@@ -8705,6 +8705,16 @@ function registerOrientTool(server) {
|
|
|
8705
8705
|
const coll = e.collectionSlug ? ` [${e.collectionSlug}]` : "";
|
|
8706
8706
|
lines.push(`- \`${id}\` (score ${e.score}) [${type}]${coll} \u2014 ${e.name}`);
|
|
8707
8707
|
if (e.reasoning) lines.push(` _${e.reasoning}_`);
|
|
8708
|
+
if ("primer" in e && typeof e.primer === "string" && e.primer.length > 0) {
|
|
8709
|
+
const PRIMER_MAX = 1200;
|
|
8710
|
+
const primerText = e.primer.length > PRIMER_MAX ? e.primer.slice(0, PRIMER_MAX) + "\n\u2026 (truncated \u2014 use entries action=get for full primer)" : e.primer;
|
|
8711
|
+
lines.push("");
|
|
8712
|
+
lines.push(" **Primer (paste when starting implementation):**");
|
|
8713
|
+
lines.push(" ```");
|
|
8714
|
+
for (const line of primerText.split("\n")) lines.push(" " + line);
|
|
8715
|
+
lines.push(" ```");
|
|
8716
|
+
lines.push("");
|
|
8717
|
+
}
|
|
8708
8718
|
}
|
|
8709
8719
|
lines.push("");
|
|
8710
8720
|
}
|
|
@@ -8717,6 +8727,16 @@ function registerOrientTool(server) {
|
|
|
8717
8727
|
const type = e.canonicalKey ?? "generic";
|
|
8718
8728
|
const coll = e.collectionSlug ? ` [${e.collectionSlug}]` : "";
|
|
8719
8729
|
lines.push(`- \`${id}\` [${type}]${coll} \u2014 ${e.name}`);
|
|
8730
|
+
if ("primer" in e && typeof e.primer === "string" && e.primer.length > 0) {
|
|
8731
|
+
const PRIMER_MAX = 1200;
|
|
8732
|
+
const primerText = e.primer.length > PRIMER_MAX ? e.primer.slice(0, PRIMER_MAX) + "\n\u2026 (truncated \u2014 use entries action=get for full primer)" : e.primer;
|
|
8733
|
+
lines.push("");
|
|
8734
|
+
lines.push(" **Primer:**");
|
|
8735
|
+
lines.push(" ```");
|
|
8736
|
+
for (const line of primerText.split("\n")) lines.push(" " + line);
|
|
8737
|
+
lines.push(" ```");
|
|
8738
|
+
lines.push("");
|
|
8739
|
+
}
|
|
8720
8740
|
}
|
|
8721
8741
|
lines.push("");
|
|
8722
8742
|
}
|
|
@@ -8729,6 +8749,7 @@ function registerOrientTool(server) {
|
|
|
8729
8749
|
const id = e.entryId ?? e.name;
|
|
8730
8750
|
const coll = e.collectionSlug ? ` [${e.collectionSlug}]` : "";
|
|
8731
8751
|
lines.push(`- \`${id}\` (score ${e.score})${coll}${e.name !== id ? ` \u2014 ${e.name}` : ""}`);
|
|
8752
|
+
if (e.preview) lines.push(` _${e.preview}_`);
|
|
8732
8753
|
}
|
|
8733
8754
|
lines.push("");
|
|
8734
8755
|
}
|
|
@@ -10877,4 +10898,4 @@ export {
|
|
|
10877
10898
|
SERVER_VERSION,
|
|
10878
10899
|
createProductBrainServer
|
|
10879
10900
|
};
|
|
10880
|
-
//# sourceMappingURL=chunk-
|
|
10901
|
+
//# sourceMappingURL=chunk-HQPQ2DJY.js.map
|