@bli-cockpit/mcp 0.1.101 → 0.1.103
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.
|
@@ -114,7 +114,7 @@ export function registerNotesAccountTools(server, deps) {
|
|
|
114
114
|
const missed = (Array.isArray(response.body.missed) ? response.body.missed : []);
|
|
115
115
|
const outcomes = missed.map((row) => `No bot transcript: ${row.status} (${row.reason}), ${row.started_at}`).join("\n");
|
|
116
116
|
return dataResult(recordings.length === 0
|
|
117
|
-
? outcomes || "No recording is indexed for this note."
|
|
117
|
+
? outcomes || (args.calendar_event_id ? "No recording or missed-meeting record for this calendar event." : "No recording is indexed for this note.")
|
|
118
118
|
: `${recordings.length} recording(s) of this meeting.\n${lines.join("\n")}\n${outcomes}`, { note_id: args.note_id, calendar_event_id: args.calendar_event_id, recordings, missed });
|
|
119
119
|
}));
|
|
120
120
|
register("notes_recording", {
|
package/dist/setup-tools.js
CHANGED
|
@@ -4,15 +4,17 @@ import { dataResult, doorFailureText, errorResult, registrarFor, withSession } f
|
|
|
4
4
|
export function registerSetupTools(server, deps) {
|
|
5
5
|
registrarFor(server)("setup_read", {
|
|
6
6
|
title: "Compare agent setups and outcomes",
|
|
7
|
-
description: "Read machine setup names and 30-day merged PR volume, tokens per merged PR and session yield. Compare exact emails. Differences are observations, not evidence that a setting causes better results. Missing or stale setup and incomplete token coverage are labeled. Members see their own outcomes; team comparisons require super_admin.",
|
|
8
|
-
inputSchema: { person: z.string().max(200).optional().describe("Only this person, by exact email address."), compare: z.string().max(401).optional().describe("Two exact email addresses separated by a comma.") },
|
|
7
|
+
description: "Read machine setup names and windowed (default 30-day) merged PR volume, tokens per merged PR and session yield. Compare exact emails. Differences are observations, not evidence that a setting causes better results. Missing or stale setup and incomplete token coverage are labeled. Members see their own outcomes; team comparisons require super_admin.",
|
|
8
|
+
inputSchema: { since: z.string().max(40).optional().describe("7d, 30d, or an ISO date before now."), person: z.string().max(200).optional().describe("Only this person, by exact email address."), compare: z.string().max(401).optional().describe("Two exact email addresses separated by a comma.") },
|
|
9
9
|
}, async (args) => withSession(deps, async (session) => {
|
|
10
10
|
const query = new URLSearchParams();
|
|
11
|
+
if (args.since)
|
|
12
|
+
query.set("since", String(args.since));
|
|
11
13
|
if (args.person)
|
|
12
14
|
query.set("person", String(args.person));
|
|
13
15
|
if (args.compare)
|
|
14
16
|
query.set("compare", String(args.compare));
|
|
15
17
|
const response = await callAgentDoor(session, deps.fetchImpl, "GET", `/api/setup?${query}`);
|
|
16
|
-
return response.ok ? dataResult("Agent setups and outcomes over the
|
|
18
|
+
return response.ok ? dataResult("Agent setups and outcomes over the requested window.", response.body) : errorResult(doorFailureText("setup_read", response));
|
|
17
19
|
}));
|
|
18
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bli-cockpit/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.103",
|
|
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",
|