@bli-cockpit/mcp 0.1.67 → 0.1.68
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/cal-tools.js +10 -0
- package/package.json +1 -1
package/dist/cal-tools.js
CHANGED
|
@@ -204,6 +204,7 @@ export function registerCalTools(server, deps) {
|
|
|
204
204
|
return errorResult(doorFailureText("cal_create", response));
|
|
205
205
|
const event = response.body.event;
|
|
206
206
|
return textResult(`Created "${event?.title ?? String(args.title)}" at ${event?.starts_at ?? String(args.starts_at)}.`
|
|
207
|
+
+ towerIdLine(event)
|
|
207
208
|
+ (event?.html_link ? `\n${event.html_link}` : "")
|
|
208
209
|
+ (args.meet === true
|
|
209
210
|
? event?.meet_link
|
|
@@ -274,3 +275,12 @@ export function registerCalTools(server, deps) {
|
|
|
274
275
|
return textResult(`Detached ${String(args.calendar_id)}. Its stored events went with it; the calendar itself is untouched at Google.`, response.body);
|
|
275
276
|
}));
|
|
276
277
|
}
|
|
278
|
+
/** BLI-10560: the new event's Tower id, or why there is none yet. */
|
|
279
|
+
function towerIdLine(event) {
|
|
280
|
+
if (event?.event_id)
|
|
281
|
+
return `\nTower event: ${event.event_id}`;
|
|
282
|
+
if (event?.local_store === "failed" || event?.local_store === "unreadable") {
|
|
283
|
+
return "\nGoogle has the event; Tower has not stored it yet (the next calendar sync will), so there is no Tower id to open yet.";
|
|
284
|
+
}
|
|
285
|
+
return "";
|
|
286
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bli-cockpit/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.68",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "bli-tower: an MCP server over BLI Cockpit's agent doors: JARVIS (jarvis_*), documents (docs_*), channels (msg_*), issues (work_*), the daily page (brief_*), meeting notes (notes_*), the ops board (ops_status/slack_*), settings/team/model, Scout and the workbook, plus the legacy event-stream tools (emit_event, get_ticket_timeline, get_active_tickets).",
|
|
6
6
|
"type": "module",
|