@bli-cockpit/mcp 0.1.32 → 0.1.34

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/README.md CHANGED
@@ -317,7 +317,7 @@ naming the door's own `reason` label (e.g. `document_not_found_or_unreadable`)
317
317
 
318
318
  ## Registration on an intern machine
319
319
 
320
- `cockpit memory install` (run unasked by `do-everything` and the daily sync
320
+ `cockpit memory install` (run unasked by `doctor` and the daily sync
321
321
  tick) registers `bli-tower` beside `bli-memory` in the SAME two files —
322
322
  `~/.claude.json`'s `mcpServers` and `~/.codex/config.toml`'s
323
323
  `[mcp_servers.bli-tower]` table — resolving this package's own bin the same
@@ -5,13 +5,15 @@ export function registerUsageTools(server, deps) {
5
5
  registrarFor(server)("usage_people", {
6
6
  title: "Read usage by person",
7
7
  description: "Per-person Claude Code and Codex token usage, list-price equivalent, and extraction coverage.",
8
- inputSchema: { since: z.string().optional().describe("<n>d (1 to 365), <n>h (1 to 8760), or an ISO timestamp. Default 30d; invalid values return invalid_usage_window."), until: z.string().optional(), include_automated: z.boolean().optional() },
8
+ inputSchema: { groupBy: z.enum(["repo"]).optional(), since: z.string().optional().describe("<n>d (1 to 365), <n>h (1 to 8760), or an ISO timestamp. Default 30d; invalid values return invalid_usage_window."), until: z.string().optional(), include_automated: z.boolean().optional() },
9
9
  }, async (args) => withSession(deps, async (session) => {
10
10
  const query = new URLSearchParams({ since: String(args.since ?? "30d") });
11
11
  if (args.until)
12
12
  query.set("until", String(args.until));
13
13
  if (args.include_automated)
14
14
  query.set("include_automated", "1");
15
+ if (args.groupBy)
16
+ query.set("groupBy", String(args.groupBy));
15
17
  const response = await callAgentDoor(session, deps.fetchImpl, "GET", `/api/usage/people?${query}`);
16
18
  if (!response.ok)
17
19
  return errorResult(doorFailureText("usage_people", response));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/mcp",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
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",