@bli-cockpit/mcp 0.1.3 → 0.1.5

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.
@@ -151,19 +151,36 @@ export const MCP_TWINS = {
151
151
  "brief read": { tool: "brief_read", door: "GET /api/jarvis/brief" },
152
152
  "brief history": { tool: "brief_history", door: "GET /api/jarvis/brief?history=1" },
153
153
  "brief status": { tool: "brief_status", door: "GET /api/ops/brief-status" },
154
+ "brief rewrite": { tool: "brief_rewrite", door: "POST /api/jarvis/recompile" },
155
+ correct: { tool: "brief_correct", door: "POST /api/jarvis/corrections" },
154
156
  "notes list": { tool: "notes_list", door: "GET /api/notes/library" },
155
157
  "notes show": { tool: "notes_show", door: "GET /api/notes/library/[id]" },
156
158
  "notes shelf": { tool: "notes_shelf", door: "GET /api/notes/shelf" },
157
159
  "notes shelves": { tool: "notes_shelves", door: "GET /api/notes/library" },
160
+ "notes upload": { tool: "notes_upload", door: "POST /api/notes/upload" },
161
+ "notes paste": { tool: "notes_paste", door: "POST /api/notes/upload (text)" },
162
+ "notes share": { tool: "notes_share", door: "POST /api/notes/share" },
163
+ "notes unshare": { tool: "notes_unshare", door: "POST /api/notes/share (share=false)" },
164
+ "notes move": { tool: "notes_move", door: "POST /api/notes/move" },
158
165
  "ops status": { tool: "ops_status", door: "GET /api/ops/status" },
166
+ "ops recompile": { tool: "ops_recompile", door: "POST /api/ops/recompile" },
159
167
  "slack coverage": { tool: "slack_coverage", door: "GET /api/ops/slack/coverage" },
160
168
  "slack read": { tool: "slack_read", door: "POST /api/ops/slack/read" },
161
169
  "settings show": { tool: "settings_show", door: "GET /api/settings/* + /api/team/members" },
162
170
  "settings list": { tool: "settings_list", door: "GET /api/settings/env-blobs" },
171
+ "settings set": { tool: "settings_set", door: "POST /api/settings/{jarvis-model,switches,model-routing,env-blobs} + PUT /api/settings/cli-floor" },
172
+ "settings delete": { tool: "settings_delete", door: "DELETE /api/settings/env-blobs" },
163
173
  "team members": { tool: "team_members", door: "GET /api/team/members" },
164
174
  "team device-list": { tool: "team_device_list", door: "GET /api/team/devices" },
175
+ "team invite": { tool: "team_invite", door: "POST /api/team/invite" },
176
+ "team role": { tool: "team_role", door: "PATCH /api/team/members/[userId]/role" },
177
+ "team device-revoke": { tool: "team_device_revoke", door: "POST /api/ambient/devices/[deviceId]/revoke" },
165
178
  "model show": { tool: "model_show", door: "GET /api/settings/jarvis-model" },
179
+ "model set": { tool: "model_set", door: "POST /api/settings/jarvis-model" },
166
180
  "scout board": { tool: "scout_board", door: "GET /api/cockpit/scout" },
181
+ "scout start": { tool: "scout_start", door: "POST /api/cockpit/scout (start)" },
182
+ "scout dismiss": { tool: "scout_dismiss", door: "POST /api/cockpit/scout (dismiss)" },
183
+ "scout undo": { tool: "scout_undo", door: "POST /api/cockpit/scout (undo_dismiss)" },
167
184
  workbook: { tool: "workbook_read", door: "GET /api/cockpit/workbook" },
168
185
  // BLI-3728: one search over documents, messages, issues, meeting notes and
169
186
  // memory. `cockpit search` takes no action word — the whole verb is the noun
@@ -179,23 +196,15 @@ export const MCP_TWINS = {
179
196
  export const TERMINAL_ONLY = {
180
197
  "brief edit": "opens the person's own $EDITOR on this machine and files what they changed; an agent has no editor to open (commands/editor.ts)",
181
198
  };
182
- /** Verbs owed a twin, with who owes it. This list should only ever shrink. */
183
- export const AWAITING_TWIN = {
184
- "brief rewrite": "BLI-3756 batch 2 — spends a model call; wants its own gate on this surface",
185
- correct: "BLI-3756 batch 2 filing a correction against a claim has no tool",
186
- "notes move": "BLI-3756 batch 2 needs a signed-in session server-side; reachable, just unwritten",
187
- "notes share": "BLI-3756 batch 2a deliberate act; wants an explicit confirmation on this surface",
188
- "notes unshare": "BLI-3756 batch 2 same gate as notes share",
189
- "notes paste": "BLI-3756 batch 2 the CLI takes the body on stdin; a tool would take it as an argument",
190
- "notes upload": "BLI-3756 batch 2 takes local file paths, which an MCP server on the same machine can also read",
191
- "ops recompile": "BLI-3756 batch 2 — spends a model call; wants its own gate on this surface",
192
- "scout start": "BLI-3756 batch 2 — super_admin server-side; a tool would relay, not decide",
193
- "scout dismiss": "BLI-3756 batch 2 — super_admin server-side; a tool would relay, not decide",
194
- "scout undo": "BLI-3756 batch 2 — super_admin server-side; a tool would relay, not decide",
195
- "settings set": "BLI-3756 batch 2 — mostly reachable, but env CONTENT is stdin-only by rule; a tool must keep that",
196
- "settings delete": "BLI-3756 batch 2 — destructive; wants an explicit confirmation on this surface",
197
- "team invite": "BLI-3756 batch 2 — super_admin; a tool would relay, not decide",
198
- "team role": "BLI-3756 batch 2 — super_admin; a tool would relay, not decide",
199
- "team device-revoke": "BLI-3756 batch 2 — destructive; wants an explicit confirmation on this surface",
200
- "model set": "BLI-3756 batch 2 — a shorthand over settings personal; follows settings",
201
- };
199
+ /**
200
+ * Verbs owed a twin, with who owes it. This list should only ever shrink.
201
+ *
202
+ * **It is empty, and that is the point** (BLI-3756, batch 2, 2026-09-05).
203
+ * Every `cockpit <noun> <verb>` that talks to Tower now has an MCP tool over
204
+ * the same doorreads in batch 1, writes in batch 2 so BLI-3706's rule
205
+ * holds without an exception: a Tower surface an agent cannot reach is as good
206
+ * as dead, and there is no surface left in that state. A new entry here is a
207
+ * new debt, not a normal state; it needs a ticket in its reason and it must
208
+ * come back out.
209
+ */
210
+ export const AWAITING_TWIN = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
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",