@productbrain/mcp 0.0.1-beta.15206 → 0.0.1-beta.15219
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-6V5ZOAJH.js → chunk-MPNHOXHU.js} +10 -2
- package/dist/{chunk-6V5ZOAJH.js.map → chunk-MPNHOXHU.js.map} +1 -1
- package/dist/{chunk-HKNA2CGK.js → chunk-X7LW6NEZ.js} +45 -8
- package/dist/chunk-X7LW6NEZ.js.map +1 -0
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-SLBELVT7.js → setup-2JMXCPTY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HKNA2CGK.js.map +0 -1
- /package/dist/{setup-SLBELVT7.js.map → setup-2JMXCPTY.js.map} +0 -0
|
@@ -1102,6 +1102,13 @@ function personStatusTag(status) {
|
|
|
1102
1102
|
if (!status || status === "active" || !Object.prototype.hasOwnProperty.call(PERSON_STATUS_WORDS, status)) return null;
|
|
1103
1103
|
return PERSON_STATUS_WORDS[status];
|
|
1104
1104
|
}
|
|
1105
|
+
var RIGHT_VERB_WORDS = {
|
|
1106
|
+
group: "Give or withdraw the organisation-design right on the team you lead",
|
|
1107
|
+
give: "Give this role the right on the team you lead. Giving it to another role replaces the holder",
|
|
1108
|
+
withdraw: "Withdraw the right from its holder on the team you lead",
|
|
1109
|
+
giveTeam: "The team you lead; the right reaches it and every team below",
|
|
1110
|
+
withdrawTeam: "The team you lead"
|
|
1111
|
+
};
|
|
1105
1112
|
var countWord = (n) => String(n).replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
1106
1113
|
var seatKeysRevoked = (count) => count <= 0 ? "" : count === 1 ? "The agent key bound to that seat is revoked." : `The ${countWord(count)} agent keys bound to that seat are revoked.`;
|
|
1107
1114
|
var roleRetireDetailOf = (details) => (details ?? []).map((detail) => detail?.roleRetire).find((found) => typeof found?.roleId === "string");
|
|
@@ -1187,7 +1194,7 @@ function questionDoorLines(details) {
|
|
|
1187
1194
|
}
|
|
1188
1195
|
function returnedRefusal(refusal, fallback, clean = (s) => s) {
|
|
1189
1196
|
const fix = authorityRecovery(refusal) ?? (typeof refusal.requiredAction === "string" ? refusal.requiredAction : fallback);
|
|
1190
|
-
return { message: `Refused: ${clean(refusal.reason)}`, recovery: [fix, askNextLine(refusal)].filter(Boolean).join("\n") };
|
|
1197
|
+
return { message: `Refused: ${clean(refusal.reason)}`, recovery: [fix, askNextLine(refusal)].filter(Boolean).join("\n") || void 0 };
|
|
1191
1198
|
}
|
|
1192
1199
|
function acceptPromptOf(details) {
|
|
1193
1200
|
const found = details?.find((d) => typeof d?.acceptRefusal === "object");
|
|
@@ -1961,6 +1968,7 @@ export {
|
|
|
1961
1968
|
questionSeatName,
|
|
1962
1969
|
QUESTION_TEAM_NEXT,
|
|
1963
1970
|
personStatusTag,
|
|
1971
|
+
RIGHT_VERB_WORDS,
|
|
1964
1972
|
seatKeysRevoked,
|
|
1965
1973
|
formatSeatSentence,
|
|
1966
1974
|
formatInviteSentence,
|
|
@@ -2013,4 +2021,4 @@ export {
|
|
|
2013
2021
|
appUrl,
|
|
2014
2022
|
apiKeysUrl
|
|
2015
2023
|
};
|
|
2016
|
-
//# sourceMappingURL=chunk-
|
|
2024
|
+
//# sourceMappingURL=chunk-MPNHOXHU.js.map
|