@productbrain/mcp 0.0.1-beta.12386 → 0.0.1-beta.12391
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-IBNGBISI.js → chunk-DMDWZILY.js} +4 -3
- package/dist/chunk-DMDWZILY.js.map +1 -0
- package/dist/{chunk-BOYRNTJM.js → chunk-VWK7TN3J.js} +6 -2
- package/dist/{chunk-BOYRNTJM.js.map → chunk-VWK7TN3J.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-CYUCFNQ7.js → setup-GWOR24IB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-IBNGBISI.js.map +0 -1
- /package/dist/{setup-CYUCFNQ7.js.map → setup-GWOR24IB.js.map} +0 -0
|
@@ -38,9 +38,10 @@ import {
|
|
|
38
38
|
runWithCommandId,
|
|
39
39
|
runWithSeatedSession,
|
|
40
40
|
runWithToolContext,
|
|
41
|
+
seatKeysRevoked,
|
|
41
42
|
setSessionOriented,
|
|
42
43
|
startAgentSession
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VWK7TN3J.js";
|
|
44
45
|
|
|
45
46
|
// src/server.ts
|
|
46
47
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -3748,7 +3749,7 @@ async function handlePeopleRemove(person, teamId) {
|
|
|
3748
3749
|
);
|
|
3749
3750
|
}
|
|
3750
3751
|
const who = sanitizeSingleLineField(result2.person);
|
|
3751
|
-
const message = result2.removed ? `Removed ${who} from ${result2.team}
|
|
3752
|
+
const message = result2.removed ? [`Removed ${who} from ${result2.team}.`, seatKeysRevoked(result2.revokedKeys ?? 0)].filter(Boolean).join(" ") : `${who} was not assigned to ${result2.team}; nothing changed.`;
|
|
3752
3753
|
return successResult(message, message, result2);
|
|
3753
3754
|
} catch (err) {
|
|
3754
3755
|
return peopleErrorResult(err, "remove", { person, teamId });
|
|
@@ -11942,4 +11943,4 @@ export {
|
|
|
11942
11943
|
SERVER_VERSION,
|
|
11943
11944
|
createProductBrainServer
|
|
11944
11945
|
};
|
|
11945
|
-
//# sourceMappingURL=chunk-
|
|
11946
|
+
//# sourceMappingURL=chunk-DMDWZILY.js.map
|