@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.
- package/README.md +75 -26
- package/dist/agent-door.d.ts +8 -1
- package/dist/agent-door.js +7 -2
- package/dist/brief-write-tools.d.ts +37 -0
- package/dist/brief-write-tools.js +178 -0
- package/dist/docs-msg-tools.js +11 -1
- package/dist/jarvis-answer-envelope.d.ts +13 -1
- package/dist/jarvis-answer-envelope.js +2 -0
- package/dist/jarvis-door.js +16 -1
- package/dist/jarvis-tools.d.ts +27 -10
- package/dist/jarvis-tools.js +65 -27
- package/dist/notes-write-tools.d.ts +34 -0
- package/dist/notes-write-tools.js +211 -0
- package/dist/ops-tools.d.ts +3 -7
- package/dist/ops-tools.js +64 -3
- package/dist/pages-tools.d.ts +6 -2
- package/dist/pages-tools.js +69 -2
- package/dist/readme-census.js +8 -6
- package/dist/server.d.ts +1 -1
- package/dist/server.js +15 -1
- package/dist/settings-write-tools.d.ts +47 -0
- package/dist/settings-write-tools.js +183 -0
- package/dist/team-write-tools.d.ts +39 -0
- package/dist/team-write-tools.js +141 -0
- package/dist/tool-result.d.ts +16 -0
- package/dist/tool-result.js +26 -0
- package/dist/verb-census.d.ts +11 -1
- package/dist/verb-census.js +29 -20
- package/package.json +1 -1
package/dist/verb-census.js
CHANGED
|
@@ -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
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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 door — reads 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
|
+
"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",
|