@productbrain/mcp 0.0.1-beta.15055 → 0.0.1-beta.15066
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-4CMNMQGM.js → chunk-CQ4OF4FC.js} +36 -7
- package/dist/chunk-CQ4OF4FC.js.map +1 -0
- package/dist/{chunk-QPNF6LZL.js → chunk-QVMIF4N7.js} +30 -1
- package/dist/{chunk-QPNF6LZL.js.map → chunk-QVMIF4N7.js.map} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-7H77XNCI.js → setup-TTX45MAZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4CMNMQGM.js.map +0 -1
- /package/dist/{setup-7H77XNCI.js.map → setup-TTX45MAZ.js.map} +0 -0
|
@@ -546,6 +546,7 @@ var ROUTE_TYPE_ENTRIES = {
|
|
|
546
546
|
"question.assign": "mutation",
|
|
547
547
|
"question.answer": "mutation",
|
|
548
548
|
"question.forceClose": "mutation",
|
|
549
|
+
"question.addLine": "mutation",
|
|
549
550
|
"question.list": "query",
|
|
550
551
|
"chain.classifyStrategyCategory": "query",
|
|
551
552
|
"chain.batchClassifyHeuristic": "query",
|
|
@@ -990,6 +991,32 @@ var QUESTION_SEAT_WORDS = {
|
|
|
990
991
|
/** QUE-1069: the asking role is held in several teams, so it reads "A <Role>"; the receipt keeps who answers, and "records no team" is the refusal's alone. */
|
|
991
992
|
heldAskedTeamless: (draft, role) => `It holds ${draft}. A ${role} asked it, so only a person answers it.`
|
|
992
993
|
};
|
|
994
|
+
var QUESTION_LINE_WORDS = {
|
|
995
|
+
/** The line as the question's text carries it, after a blank line: who added it and when (UTC), then the words. */
|
|
996
|
+
line: (seat, at, text) => `Added by ${seat} at ${at}: ${text}`,
|
|
997
|
+
/** The history row's note. */
|
|
998
|
+
historyNote: "The asker added a line.",
|
|
999
|
+
/** The receipt: what happened, and who acts next. */
|
|
1000
|
+
addedOpen: (owner) => `Line added. The question stays with ${owner}.`,
|
|
1001
|
+
addedAfterAnswer: (owner) => `Line added after the answer. The question stays with ${owner}.`,
|
|
1002
|
+
/** A seat that did not ask: who can add, then the way out (the surfaces add the ask command for the owner). */
|
|
1003
|
+
notAsker: (asker) => `Only ${asker} can add to this question.`,
|
|
1004
|
+
notAskerUnread: "No asking seat is recorded, so no one can add.",
|
|
1005
|
+
/** The owner when its seat cannot be read, in the receipt and the way out ("The question stays with its owner."). */
|
|
1006
|
+
ownerUnread: "its owner",
|
|
1007
|
+
askOwnerInstead: (owner) => `Ask ${owner} your own question instead.`,
|
|
1008
|
+
ownerInstead: "It is yours to answer: put what you know in the answer.",
|
|
1009
|
+
closed: "This question is closed, so nothing can be added. Ask a new question.",
|
|
1010
|
+
/** The update door's way out for the asking seat on its own question (any other seat reads what it read before). */
|
|
1011
|
+
addInstead: "Add a line to it instead.",
|
|
1012
|
+
/** After "Answered" in the owner's list: the question holds a line newer than its answer. */
|
|
1013
|
+
newerLine: "the asker added a line since",
|
|
1014
|
+
help: "Add a line to a question you asked; nothing already written changes."
|
|
1015
|
+
};
|
|
1016
|
+
var QUESTION_LINE_NEXT = {
|
|
1017
|
+
cli: (questionRef) => `Next: pb question add ${roleIdOnly(questionRef)} "<your line>"`,
|
|
1018
|
+
mcp: (questionRef) => `Next: \`question action=add entryId="${roleIdOnly(questionRef)}" text="<your line>"\`.`
|
|
1019
|
+
};
|
|
993
1020
|
var questionSeatName = (role, team, isTeamLead) => seatOf(role, isTeamLead ? team : void 0);
|
|
994
1021
|
var QUESTION_TEAM_NEXT = {
|
|
995
1022
|
cli: 'Next: pb question create "<your ask>" --to-role ROL-n --team TEAM-n',
|
|
@@ -1862,6 +1889,8 @@ export {
|
|
|
1862
1889
|
SPINE_RUNG_SEQUENCE,
|
|
1863
1890
|
PERSON_STATUS_WORDS,
|
|
1864
1891
|
QUESTION_SEAT_WORDS,
|
|
1892
|
+
QUESTION_LINE_WORDS,
|
|
1893
|
+
QUESTION_LINE_NEXT,
|
|
1865
1894
|
questionSeatName,
|
|
1866
1895
|
QUESTION_TEAM_NEXT,
|
|
1867
1896
|
personStatusTag,
|
|
@@ -1917,4 +1946,4 @@ export {
|
|
|
1917
1946
|
appUrl,
|
|
1918
1947
|
apiKeysUrl
|
|
1919
1948
|
};
|
|
1920
|
-
//# sourceMappingURL=chunk-
|
|
1949
|
+
//# sourceMappingURL=chunk-QVMIF4N7.js.map
|