@productbrain/mcp 0.0.1-beta.12434 → 0.0.1-beta.12437
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.
|
@@ -210,8 +210,8 @@ function rungLine(rung, label = kindWord) {
|
|
|
210
210
|
return relationType2 === "part_of" ? `${subject} hangs on ${parent} with ${relationType2}.` : `${subject} ${relationType2} ${parent}.`;
|
|
211
211
|
}
|
|
212
212
|
var SPINE_RUNG_LINES = SPINE_RUNG_SEQUENCE.map((spec) => rungLine(spec.targetKey));
|
|
213
|
+
var DIRECTION_LINE = `Direction runs ${[...SPINE_RUNG_SEQUENCE].reverse().map((rung) => kindWord(rung.targetKey)).join(", ")}: each ${SPINE_RUNG_SEQUENCE[1].relationType} the one above and accepted after it; a work package is the plan under a key result.`;
|
|
213
214
|
var SPINE_LINKS_LINES = [
|
|
214
|
-
`Spine links run child to parent, each ${SPINE_RUNG_SEQUENCE[SPINE_RUNG_SEQUENCE.length - 1].relationType} the level above.`,
|
|
215
215
|
`${spineSubject(FIRST_SPINE_SUBJECT)} ${SPINE_RUNG_SEQUENCE[0].relationType} ${withArticle(kindWord(SPINE_RUNG_SEQUENCE[0].targetKey))}; informs joins no levels.`,
|
|
216
216
|
"Before accepting a spine entry, preflight it: it names what blocks."
|
|
217
217
|
];
|
|
@@ -11878,8 +11878,9 @@ var INSTRUCTIONS = [
|
|
|
11878
11878
|
"Pass the `sessionId` that `session action=start` returned on every write: the connection does not remember it.",
|
|
11879
11879
|
"Use `capture` to create an entry and read its reply: it lands as a draft, except a question, which is born open and needs no `entries action=accept`.",
|
|
11880
11880
|
"Link entries with `relations action=create` \u2014 a relation is written only when you ask, with exactly the verb you send.",
|
|
11881
|
+
DIRECTION_LINE,
|
|
11881
11882
|
...SPINE_LINKS_LINES,
|
|
11882
|
-
// TASK-1022
|
|
11883
|
+
// TASK-1022, TASK-1214: the direction and link lines the agent block prints, for clients that load instructions
|
|
11883
11884
|
"Finish with `session action=wrapup-review`, then `session action=close`.",
|
|
11884
11885
|
"If the work falls outside the active work packages, name the gap and ask the user before designing it."
|
|
11885
11886
|
].join("\n");
|
|
@@ -11959,4 +11960,4 @@ export {
|
|
|
11959
11960
|
SERVER_VERSION,
|
|
11960
11961
|
createProductBrainServer
|
|
11961
11962
|
};
|
|
11962
|
-
//# sourceMappingURL=chunk-
|
|
11963
|
+
//# sourceMappingURL=chunk-6GBHT6VR.js.map
|