@mosadd/mcp 3.0.0-alpha.52 → 3.0.0-alpha.54

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +363 -309
  2. package/README.md +150 -150
  3. package/dist/bin/mcp.js +1 -1
  4. package/dist/{chunk-KVN7LZFW.js → chunk-3PUOM4R5.js} +470 -112
  5. package/dist/index.d.ts +11 -1
  6. package/dist/index.js +1 -1
  7. package/package.json +9 -9
  8. package/src/__tests__/golden-path.test.ts +139 -139
  9. package/src/__tests__/integration.test.ts +182 -182
  10. package/src/__tests__/knowledge-ingest.test.ts +114 -114
  11. package/src/__tests__/mdm-e2ee.test.ts +212 -212
  12. package/src/__tests__/mdm-mcp-readable.test.ts +386 -0
  13. package/src/__tests__/mirc-invite.test.ts +112 -112
  14. package/src/__tests__/mtalk.test.ts +122 -122
  15. package/src/__tests__/server.test.ts +71 -71
  16. package/src/__tests__/serverJsonVersion.test.ts +45 -45
  17. package/src/__tests__/tool-count-consistency.test.ts +199 -199
  18. package/src/bin/login.ts +138 -138
  19. package/src/bin/mcp.ts +145 -145
  20. package/src/config.ts +66 -66
  21. package/src/crypto/mdm-session.ts +842 -502
  22. package/src/index.ts +19 -19
  23. package/src/observability/sentry.ts +79 -79
  24. package/src/providers/memory-voice.ts +79 -79
  25. package/src/providers/supabase-dm.ts +202 -122
  26. package/src/providers/supabase-voice.ts +91 -91
  27. package/src/providers/supabase.ts +231 -231
  28. package/src/server.ts +195 -162
  29. package/src/tools/__tests__/ragDeleteFoldsSourceId.test.ts +67 -67
  30. package/src/tools/actions.ts +166 -166
  31. package/src/tools/attachments.ts +276 -276
  32. package/src/tools/capabilities.ts +70 -70
  33. package/src/tools/embed.ts +110 -110
  34. package/src/tools/index.ts +181 -181
  35. package/src/tools/knowledge-graph.ts +186 -186
  36. package/src/tools/knowledge.ts +344 -344
  37. package/src/tools/mail-agentbox.ts +155 -155
  38. package/src/tools/mail-aliases.ts +25 -25
  39. package/src/tools/mail-provenance.ts +137 -137
  40. package/src/tools/mail.ts +403 -403
  41. package/src/tools/mcall.ts +216 -216
  42. package/src/tools/mdm-as-agent.ts +126 -126
  43. package/src/tools/mdm-voice.ts +220 -220
  44. package/src/tools/mdm.ts +211 -29
  45. package/src/tools/mirc-edge.ts +196 -196
  46. package/src/tools/mirc-members.ts +287 -287
  47. package/src/tools/mirc.ts +308 -308
  48. package/src/tools/mroom-messages.ts +142 -142
  49. package/src/tools/mroom.ts +221 -221
  50. package/src/tools/mtalk.ts +131 -131
  51. package/src/tools/murl.ts +314 -314
  52. package/src/tools/presence.ts +442 -442
  53. package/src/tools/ptt-ingest.ts +99 -99
  54. package/src/tools/threat.ts +123 -123
  55. package/src/types.ts +121 -121
  56. package/src/version.ts +8 -8
  57. package/src/voice/floor.ts +132 -132
  58. package/LICENSE +0 -201
package/CHANGELOG.md CHANGED
@@ -1,309 +1,363 @@
1
- # Changelog
2
-
3
- All notable changes to `@mosadd/mcp` are documented here.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project follows the `3.0.0-alpha.N` pre-release line until the hosted
7
- gateway (Phase 2) ships.
8
-
9
- ## [Unreleased]
10
-
11
- ### Added
12
- - **`mIRC_invite`** (2026-09-03, LINEAR-5870) — the member-add primitive the toolkit never
13
- exposed. Wraps `channel-members-manage` `invite`: an agent/robot **you own** joins at once
14
- (`{ auto_joined: true }` — `channel_members` + linked `space_members` + `channel_keys` when a
15
- `wrapped_group_key` is passed; no code to redeem), a human or somebody else's agent gets an
16
- **invite code** to redeem in the app. Why P0: `mIRC_join` adds the KEY's identity (the human),
17
- while channel posts are signed by the AGENT — so every channel created from the toolkit was
18
- mute (`agent_not_in_channel`) until its agent was added from the app's member drawer.
19
- - **`mIRC_create` `invite_agents?: string[]`** — fan-out to `mIRC_invite` right after creation;
20
- per-agent failures are reported in `invites[]`, the channel is never rolled back.
21
-
22
- Tool count **84 → 85** (mIRC **24 → 25**); `TOOL_COUNT` (`= allTools.length`) stays the truth.
23
-
24
- ## [3.0.0-alpha.33] — 2026-08-11
25
-
26
- **The republish that closes a three-week gap between the repo and the client's disk.**
27
- `3.0.0-alpha.32` was published 2026-07-19 and every change since then lived only in git.
28
- Measured on the published tarball that day: it registers **71** tools while its own npm
29
- description advertises **69** and the website advertises **77**. Three numbers, one
30
- package. This release makes the published artifact the thing the docs describe.
31
-
32
- ### Added
33
- - **`mAYL_send_as_agent`** re-registered (2026-07-29) after the hub-claim → mp0st-send
34
- chain was proven on an authenticated call.
35
- - **`mTALK_ingest_ptt`** re-registered (2026-07-29) after the ingest path was repointed
36
- at `rag-transcribe` and returned a real `200 {"queued":true}` on prod.
37
- - **`mAYL_agentbox_provision` / `_list` / `_extend` / `_release`** (2026-08-06,
38
- LINEAR-5201) — an agent mints, lists, extends and releases its OWN two-way disposable
39
- inbox (`agent-<hex>@mosadd.com`). `create_inbox` parity with AgentMail, on our stack.
40
- - **`mRAG_graph_refresh` / `_overview` / `_neighbors` / `_timeline`** (2026-08-11) — the MCP
41
- door onto the per-user knowledge graph (`kg_*` RPCs). Search finds text; these walk who/what/
42
- when (parties, connections, dated timelines), built from message METADATA only, never bodies.
43
- - Stdio hub-key auth (`MOSADD_API_KEY`) in `src/bin/mcp.ts` — the local stdio server can
44
- exchange a hub key instead of requiring the BYOK env trio.
45
-
46
- Tool count **71 → 81**: six tools existed in the repo but had **never been published**
47
- (71 → 77 — an agent installing `@mosadd/mcp` got 71 while every doc surface promised 77),
48
- AND four new `mRAG_graph_*` knowledge-graph traversal tools were added 2026-08-11 (77 → 81).
49
- `TOOL_COUNT` (`= allTools.length`) stays the single source of truth.
50
-
51
- ### Changed
52
- - **`mRAG_search` can now filter on the source types the writers actually stamp.**
53
- The `source_types` enum was missing `file` and `ptt` — `file` is what `mRAG_ingest`
54
- itself writes (its default, and where `note` ingests are mapped), `ptt` is what
55
- `mTALK_ingest_ptt` writes. Measured on prod 2026-08-11: 63 indexed rows were
56
- unreachable by any `source_types` filter. The tool advertised a filter that could not
57
- see its own writes.
58
- - **`mURL_create` no longer promises a status it does not set.** `murl-manage` applies
59
- `status` only on the INSERT of a new row; on an existing channel it writes owner +
60
- branding and leaves status untouched. Since mURL rooms auto-create on first activity,
61
- "already exists" is the COMMON case — so the old "set initial status" wording was
62
- wrong nearly every time it was read. Schema + description now say so and point at
63
- `mURL_update`.
64
- - **`mIRC_post_message` encryption wording.** It posts server-readable plaintext base64
65
- on EVERY access mode, private and password channels included; the app's group-key
66
- encryption is not something the toolkit holds a key for.
67
-
68
- ### Fixed
69
- - Doc surfaces across the repo that hand-typed **73** while `TOOL_COUNT` was 77 (README
70
- breakdown, `packages/mcp/README.md`, `apps/mcp-http/README.md`, dev docs, Realm,
71
- examples). The anti-drift vitest gate pinned one regex per file, so a single corrected
72
- line kept the gate green while the sentence around it stayed wrong — the gate now pins
73
- the PER-MODULE numbers too, not just the total.
74
-
75
- ## [3.0.0-alpha.32] — 2026-07-19
76
-
77
- ### Added
78
- - **`mIRC_discover`** — browse the PUBLIC channel directory (open channels whose
79
- owners set `discoverable=true`). Filter by name, paginated; join a result with
80
- `mIRC_join` (open = one-click). Private/password/partner channels never appear.
81
- - **`mIRC_report`** — report a channel for abuse/moderation (routes to the shared
82
- `content_reports` store as `channel:<id>`), the moderation floor for public discovery.
83
- - **`discoverable`** flag on `mIRC_create` / `mIRC_update` (honoured only for
84
- `access_mode=open`), plus `voice` + `files` added to the capabilities enum.
85
- - Tool count **69 → 71** (mIRC **22 → 24**); `TOOL_COUNT` (`= allTools.length`) stays
86
- the single source of truth.
87
-
88
- ### Changed
89
- - **Encryption posture wording corrected across docs.** `mIRC_post_message` posts a
90
- **server-readable** plaintext payload — the per-channel group-key TEXT E2EE is the
91
- mosadd.com **app** (supported clients), not the toolkit (parity is the next crypto
92
- milestone). Tool descriptions, README, MANIFESTO, e2ee-posture and the registry
93
- copy now state this instead of implying private/password channels are E2EE via the
94
- toolkit. Voice/PTT is always server-relayed (LiveKit SFU, DTLS-SRTP hop-by-hop).
95
-
96
- ## [3.0.0-alpha.31] — 2026-07-17
97
-
98
- ### Fixed
99
- - **`mURL_create` / `mURL_update` branding validation.** The `branding` arg used
100
- `z.record(z.any())` — the Zod v3 single-argument form — which fails typecheck under
101
- this project's Zod v4, where `z.record` requires both a key and a value schema. Now
102
- `z.record(z.string(), z.any())`. alpha.30 shipped with the pre-fix source; alpha.31
103
- corrects it so the published package builds clean and validates branding correctly.
104
- - **CI green (repo).** Synced the version refs (`server.json`, `server.ts` serverInfo,
105
- `marketplace.json`) to `package.json`, and updated the MCP smoke test to expect
106
- `mAYL_send` — the `mp0st_*` aliases were retired in alpha.28.
107
-
108
- ## [3.0.0-alpha.30] — 2026-07-17
109
-
110
- ### Added
111
- - **`comms_embed_create` RE-REGISTERED — tool count 68 → 69.** The paste-in
112
- live-channel widget is finally end-to-end real: `https://embed.mosadd.com/v1.js`
113
- is deployed (served by the mosadd Vercel project; skins are inlined in the
114
- bundle), and the whole backend (`embed-keys` publishable keys, `mirc-embed-token`
115
- Origin-allowlisted 5-min JWTs with MAT plan tiers, `embed-plan-settings` PAYG,
116
- GDPR `embed-dsr-delete`) was already live. The tool mints an `m_pk_live_…` key
117
- and returns a `<script>` snippet with skin + position (incl. sidebar-left/right)
118
- options. Part of the mURL→mIRC rework P3 ("open WWW channel: dedicated page +
119
- branding + embed").
120
-
121
- ## [3.0.0-alpha.29] — 2026-07-17
122
-
123
- ### Added
124
- - **mURL owner-side management — 3 new tools.** `mURL_create` (claim a domain channel and
125
- become its owner; idempotent, 409 if another account owns it), `mURL_update` (set branding /
126
- mark `claimed` / `blocked` to close / reopen as `open`), `mURL_delete` (remove a channel you
127
- own). Wired to the deployed, owner-scoped `murl-manage` EF via the same user-JWT auth as
128
- `mURL_list_channels action='mine'`. mURL goes from read-only (read/post/presence/list) to a
129
- full lifecycle — an agent can now provision and manage a domain's room, not just chat in it.
130
- - **`TOOL_COUNT` export** (`= allTools.length`) — one source of truth for the callable-tool
131
- count, mirroring `@mosadd/threat-engine`'s `THREAT_EVENT_COUNT`. Docs reference it, not a
132
- hand-typed number that drifts.
133
-
134
- ### Changed
135
- - **Tool count corrected to 68** — it had been advertised inconsistently as "70+" / "65" across
136
- READMEs, docs, registry submissions and the dev site. The registry holds exactly 68 callable
137
- tools: mDM 14 · mIRC 22 · mURL 7 · mAYL 11 · mTALK 5 · mRAG 4 · comms_ 3 · Irondome (`threat_*`) 2.
138
- Also fixed two stale claims in the reference table: `threat_*` IS registered (was labelled
139
- "unregistered"), and the `mp0st_*` mAYL aliases are retired (were claimed as still functioning).
140
-
141
- ## [3.0.0-alpha.23] — 2026-06-26
142
-
143
- Toolkit hardening pass: every registered tool's request/response contract was
144
- adversarially verified against the deployed edge functions. Two tools were broken on
145
- every call; the rest had silent field drops, wrong results, or a confidentiality/access gap.
146
-
147
- ### Fixed
148
- - **Edge-function errors are now legible.** `invokeFunction` only ever surfaced the fixed
149
- string "Edge Function returned a non-2xx status code"; the real reason lives in
150
- `error.context`. It now reads that body (and the HTTP status), so every EF-backed tool
151
- returns an actionable error the agent can act on — the single highest-impact fix.
152
- - **mDM_edit no longer strips E2EE.** It used to store a server-readable plaintext body even
153
- on an E2EE thread (and the forward-only ratchet means an edit can't be re-sealed). It now
154
- refuses to edit E2EE messages (use delete + re-send) and only edits legacy plaintext.
155
- - **mp0st_send cc/bcc/reply_to are actually delivered** — the backend dropped them silently;
156
- now forwarded to the mail provider (edge-function fix, deployed).
157
- - **mDM call rooms are access-gated (security)** — call-room tokens were mintable by any
158
- authenticated user who learned the room name; the backend now restricts them to the two
159
- participants, and the room name is per-pair so the gate is robust (edge-function fix, deployed).
160
- - **mDM_call_end / mDM_voice_note** now return the real message id (was always undefined).
161
- - **mp0st_view** no longer advertises a `received_at` field the backend doesn't return (it's `sent_at`).
162
-
163
- ### Changed
164
- - **Unregistered `comms_embed_create`** — its `embed-keys` edge function isn't deployed (404
165
- on every call) and the embed surface is parked. Tool count **62 → 61**. Re-register when the
166
- backend + widget ship.
167
- - **mIRC tools stop advertising fields the backend ignores.** Removed: `mIRC_kick` `reason`,
168
- `mIRC_request_access` `message`, `mIRC_ban` `reason`+`until` (the latter silently made a
169
- "temporary" ban permanent), and `access_mode` on `mIRC_update`/`mIRC_list` (no-ops). Added
170
- `wrapped_group_key` to `mIRC_create`/`mIRC_approve_request` so E2EE (password/private)
171
- channels are honestly callable. Descriptions corrected to match.
172
- - **mp0st_consent** now fails fast client-side when `check`/`optin` is missing a recipient.
173
-
174
- ### Verified (no changes needed)
175
- - Install/boot, full build + typecheck across all packages, dependency-export resolution, and
176
- the mDM X3DH + Double-Ratchet crypto round-trip all pass.
177
-
178
- ## [3.0.0-alpha.22] — 2026-06-26
179
-
180
- ### Fixed
181
- - **alpha.21 was broken on a fresh install** — it crashed on startup with
182
- `SyntaxError: The requested module '@mosadd/crypto' does not provide an export named
183
- 'initRatchetInitiator'`. The workspace dependency packages (`@mosadd/crypto`, `protocol`,
184
- `providers`, `threat-engine`) had drifted: their *source* gained new exports (the mDM
185
- Double-Ratchet work) but their version was never bumped, so npm still served the stale
186
- alpha.4/alpha.5 builds while `@mosadd/mcp` was built against the newer API. Bumped the whole
187
- alpha-line in lockstep to alpha.22 and republished so every published package matches current
188
- source and `workspace:*` cross-deps resolve. Verified: a clean `npm i @mosadd/mcp@alpha`
189
- now boots and lists 62 tools. (The previous alpha.20 was broken-on-install the same way.)
190
-
191
- ### Changed
192
- - **Unregistered 2 scaffold tools that failed on every call.** `mp0st_send_as_agent`
193
- (POSTed to a non-existent `hub-claim-mint` endpoint → 404, and sent provenance body
194
- fields the deployed `mp0st-send` EF never reads) and `mTALK_ingest_ptt` (request body
195
- didn't match the deployed `ptt-ingest` EF → 400). Both are now commented out in
196
- `tools/index.ts` like the other not-registered modules, so an agent only ever discovers
197
- tools that actually work. Registered tool count **64 → 62** (mp0st 12→11, mTALK 6→5).
198
- Source is kept; both re-register once their backend contracts are wired + tested.
199
-
200
- ### Fixed
201
- - **mIRC `reject_request` / `approve_request` field (LINEAR-3522):** the tools sent
202
- `request_id` but `channel-members-manage` reads `target_identity_id` → 400 every
203
- call. Renamed to `identity_id` (normalized to `target_identity_id`). `reject` now
204
- works; `approve` of an E2EE channel still needs a wrapped group key (LINEAR-3523).
205
- - **mDM / mIRC message pagination (LINEAR-3524):** `mDM_list` read `cursor`/`has_more`
206
- but `message-list` history mode returns `next_before`, and `mIRC_list_messages`
207
- sent `cursor` (ignored; EF reads `before`) and read `next_cursor` (never returned)
208
- → neither paged past page 1. Send `before`, read `next_before`.
209
-
210
- ## [3.0.0-alpha.19] — 2026-06-19
211
-
212
- ### Removed
213
- - **BREAKING — mROOM module killed (LINEAR-3414):** the 11 `mROOM_*` tools
214
- (`mROOM_create`, `mROOM_create_guest_link`, `mROOM_join`, `mROOM_leave`,
215
- `mROOM_close`, `mROOM_list`, `mROOM_voice_join`, `mROOM_send_message`,
216
- `mROOM_list_messages`, `mROOM_send_voice`, `mROOM_send_file`) are no longer
217
- registered. Ephemeral private rooms are re-cut into private mIRC channels.
218
- The source stays in `tools/mroom*.ts` (unregistered, like mURL/mCALL).
219
-
220
- ### Added
221
- - **Defensive threat engine as MCP tools (LINEAR-3498):** `threat_catalog`
222
- (list the canonical 160+ threat-event taxonomy) and `threat_classify`
223
- (pure `evaluateEvent` decision → action/severity/reason). Wraps
224
- `@mosadd/threat-engine`; deterministic, offline, `requires: "any"`.
225
-
226
- Net: 70 → **64 callable tools** across 5 live modules + comms + threat.
227
-
228
- ### Changed
229
- - **BREAKING — mail tool rename:** the 12 email MCP tools are renamed
230
- `mAIL_*` → `mp0st_*` (`mp0st_list`, `mp0st_send`, `mp0st_view`, `mp0st_delete`,
231
- `mp0st_stats`, `mp0st_events`, `mp0st_metrics`, `mp0st_revoke`,
232
- `mp0st_audit_export`, `mp0st_consent`, `mp0st_notify`, `mp0st_send_as_agent`).
233
- No aliases — the old `mAIL_*` names no longer resolve. Backend Edge Functions
234
- (`mp0st-*`) are unchanged.
235
-
236
- ## [3.0.0-alpha.18] — 2026-06-18
237
-
238
- ### Added
239
- - **`comms_embed_create`** — embed a LIVE mosadd channel into an app/site a builder-agent is
240
- generating (Lovable / Bolt / Cursor / v0). Mints a publishable embed key (`m_pk_live_…`,
241
- origin-scoped, via the `embed-keys` EF) and returns a paste-in widget snippet
242
- (`<div>` + `<script src="https://embed.mosadd.com/v1.js" data-key=…>`). The widget exchanges
243
- the publishable key for a short-lived channel-scoped JWT at runtime; the hub key never enters
244
- the browser. Extends `mROOM_create_guest_link` (link → embeddable widget). CDN override via
245
- `MOSADD_EMBED_CDN`. (Widget served from the dedicated `embed.mosadd.com` deploy.)
246
-
247
- ## [3.0.0-alpha.17] — 2026-06-18
248
-
249
- ### Added
250
- - **Action Links — screen share.** `comms_action_create` gains a `screen_share` action
251
- type, and a new `comms_action_frame_get` tool lets the creating agent read frames of the
252
- recipient's shared screen (consent-gated, browser-sandbox only). Turns Action Links into
253
- "remote-desktop-lite" — the agent sees what the human chooses to share.
254
-
255
- ### Changed
256
- - **Durable `mosadd login`.** The saved session (`~/.mosadd/session.json`) is now refreshed
257
- from its refresh token at server boot, so a single `mosadd login` keeps working across
258
- restarts — no more re-login when the access token expires.
259
- - Onboarding README restructured (recommended auth path — `mosadd login` — first; hub API
260
- key second; DevTools JWT demoted), and the 61→70 / `mosadd.dev`→`mosadd.com` reconciliation
261
- (first shipped on the published package with this release).
262
-
263
- ## [3.0.0-alpha.16] — 2026-06-17
264
-
265
- ### Fixed
266
- - `mAIL_view` now calls the `mp0st-get` Edge Function (read a message by id,
267
- owner-scoped) instead of `mp0st-view` (the tracking-pixel endpoint, which
268
- returned "Missing tracking ID"). ([LINEAR-2917])
269
- - CI publish drops `--provenance` — npm returned 422 because the source repo
270
- (`mosadd-os`) is private, so provenance attestation is not available.
271
-
272
- ### Added (cumulative since alpha.4 — tool count 61 → 70)
273
- - **Action links (Tier 1):** `comms_action_create` mints a one-link browser
274
- action an agent can hand to a human (run-with-consent in the mosadd sandbox).
275
- - **mAIL provenance:** `mAIL_send_as_agent` stamps agent/human provenance on the
276
- message so the recipient sees who actually sent it.
277
- - **File & voice attachments:** `mDM_send_voice` / `mDM_send_file`,
278
- `mROOM_send_voice` / `mROOM_send_file`, `mIRC_send_voice` / `mIRC_send_file`
279
- (reuse the existing `chat-files` bucket — no new transport).
280
- - **mTALK → RAG:** `mTALK_ingest_ptt` feeds push-to-talk audio into the RAG index
281
- (opt-in, gated server-side).
282
- - **mROOM:** `mROOM_create_guest_link` (single-call, no-account guest links) and
283
- `mROOM_voice_join`.
284
- - **mIRC edge transport:** `mIRC_mint_channel_token`, `mIRC_send_edge`,
285
- `mIRC_history_edge` — the low-latency path the agent-coordination skill rides.
286
-
287
- ### Changed
288
- - README, `package.json`, and the plugin `marketplace.json` reconciled to the
289
- current surface: **70 tools across 6 modules** + `comms_capabilities`
290
- discovery (71 callable), version `alpha.16`, and `mosadd.dev` → `mosadd.com`
291
- (the dev surface was consolidated into the main site). ([LINEAR-3391])
292
- - `mCALL` (telephony, carrier-pending) and `mURL` (brand/consumer surface)
293
- remain **unregistered** in `tools/index.ts` — an agent only ever discovers
294
- tools that actually work.
295
-
296
- ## [3.0.0-alpha.4]
297
-
298
- ### Added
299
- - Initial public alpha: **61 tools across 6 live modules** — mDM (incl. voice),
300
- mIRC, mROOM, mAIL, mTALK, mRAG — plus the `comms_capabilities` discovery tool.
301
- - BYOK mode: the server talks to your own mosadd Supabase backend via
302
- `MOSADD_SUPABASE_URL` / `MOSADD_SUPABASE_ANON_KEY` / `MOSADD_USER_JWT`.
303
- - Apache-2.0 license; tool names follow [RFC 0001] (`m<MODULE>_<operation>`).
304
-
305
- [3.0.0-alpha.16]: https://github.com/Hei33enberg/mosadd-os/tree/main/packages/mcp
306
- [3.0.0-alpha.4]: https://github.com/Hei33enberg/mosadd-os/tree/main/packages/mcp
307
- [LINEAR-2917]: https://linear.app/ip-ra/issue/LINEAR-2917
308
- [LINEAR-3391]: https://linear.app/ip-ra/issue/LINEAR-3391
309
- [RFC 0001]: https://github.com/Hei33enberg/mosadd-os/blob/main/docs/rfcs/0001-module-naming.md
1
+ # Changelog
2
+
3
+ All notable changes to `@mosadd/mcp` are documented here.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project follows the `3.0.0-alpha.N` pre-release line until the hosted
7
+ gateway (Phase 2) ships.
8
+
9
+ ## [Unreleased]
10
+
11
+ ### Added
12
+ - **`mIRC_invite`** (2026-09-03, LINEAR-5870) — the member-add primitive the toolkit never
13
+ exposed. Wraps `channel-members-manage` `invite`: an agent/robot **you own** joins at once
14
+ (`{ auto_joined: true }` — `channel_members` + linked `space_members` + `channel_keys` when a
15
+ `wrapped_group_key` is passed; no code to redeem), a human or somebody else's agent gets an
16
+ **invite code** to redeem in the app. Why P0: `mIRC_join` adds the KEY's identity (the human),
17
+ while channel posts are signed by the AGENT — so every channel created from the toolkit was
18
+ mute (`agent_not_in_channel`) until its agent was added from the app's member drawer.
19
+ - **`mIRC_create` `invite_agents?: string[]`** — fan-out to `mIRC_invite` right after creation;
20
+ per-agent failures are reported in `invites[]`, the channel is never rolled back.
21
+
22
+ Tool count **84 → 85** (mIRC **24 → 25**); `TOOL_COUNT` (`= allTools.length`) stays the truth.
23
+
24
+ ## [3.0.0-alpha.54] — 2026-09-27
25
+
26
+ ### Fixed
27
+ - **`mDM_send` — readable on EVERY key of the identity, and never a false reason in the app**
28
+ (correction of alpha.53 after independent verification, LINEAR-6089 follow-up). alpha.53 seeded
29
+ the mDM identity from ONE API key and let an agent line (re)publish it. An identity holds many
30
+ keys (each OAuth connector mints its own; measured 27.09: general@ has 8 active, 7 of 17 agent
31
+ identities have several), so the key directory flapped between per-key identities: a `s1.`
32
+ copy opened only under the key that wrote it, and `r1.` copies stopped opening for the
33
+ recipient after the next send from another key. alpha.53 also typed sends on a PERSON's key
34
+ `txt` with a `s1.` copy the app can never open, so the app told the owner a false reason
35
+ ("sent from another device" / "unlock your identity") instead of "sent by MCP".
36
+ - **Agent lines send in the clear** — the King's rule of 20.09 (no E2EE for lines<->lines,
37
+ lines<->King, human->line), the same rule the app applies (`peerIsAgent`). When the sender
38
+ or the recipient is `kind = 'agent'`, `mDM_send` writes plain UTF-8, type `txt`, and never
39
+ touches the key directory. Every key of the line and the recipient's app on every device read
40
+ it. Result field `mode: "plaintext_agent_lane"`, `encrypted: false`.
41
+ - **Human<->human stays E2EE**, but on a person's key MCP never writes their key directory
42
+ automatically (neither over the app's bundle nor on an empty directory), writes no `s1.`
43
+ copy, and types the envelope `text`, which the app reads as "sent by MCP, no copy for this
44
+ device". A note-to-self is sealed to the app's bundle and opens in the app.
45
+ - **`mDM_publish_keys` no longer overwrites a person's app bundle** (`published: false`,
46
+ `identity: "foreign"`, with a note). It may fill an empty directory. Agent lines may still
47
+ publish explicitly.
48
+ - **`autoPublishKeys`** (stdio) follows the same policy (`bundlePolicyForKind`): agent lines and
49
+ people write nothing; other lanes (radio) publish on an empty directory as before.
50
+ - New `SupabaseDmProvider.peerKind(id)`; `ensureOwnBundlePublished` takes a `BundlePolicy` and
51
+ can return `"absent"`.
52
+
53
+ ## [3.0.0-alpha.53] — 2026-09-27
54
+
55
+ ### Fixed
56
+ - **`mDM_send` — the envelope is born READABLE, for the sender and for the recipient**
57
+ (follow-up to LINEAR-6089). Measured on prod 27.09: every DM sent through the hosted gateway
58
+ was sealed by a brand-new random identity (a fresh `InMemoryMdmKeyStore` per HTTP request),
59
+ carried no `self_payload` / `recipient_self_payload`, and was typed `text`. The sender could
60
+ never read its own message again; the recipient only through a live ratchet session.
61
+ - **One identity per login secret.** With an API key the mDM identity is derived from it by
62
+ HKDF (`SeededMdmKeyStore`, labels identical to the app's `deriveOwnMaterialFromSeed`: zero
63
+ one-time prekeys, signed-prekey id 1). Every gateway instance, call and restart = same keys.
64
+ - **The key directory agrees with it** (`ensureOwnBundlePublished`): empty → publish; an
65
+ AGENT line with a stale bundle → replace; a PERSON's app-anchored bundle → never overwritten
66
+ (the send still works, only the recipient copy is skipped). `autoPublishKeys` uses the same
67
+ policy instead of a blind publish.
68
+ - **`self_payload`** ("s1.", AES-GCM under the seed's self-read key) and
69
+ **`recipient_self_payload`** ("r1.", AES-GCM under HKDF(ECDH(sender IK, recipient IK))) —
70
+ the app's exact formats, so `mDM_list` on any process and the app on any device open them.
71
+ - **`message_type: "txt"`** (the app's type; `text` is legacy) for `mDM_send` and
72
+ `mDM_send_unencrypted`.
73
+ - `mDM_list` opens own messages from `self_payload` and incoming ones from
74
+ `recipient_self_payload` before touching the ratchet.
75
+ - `mDM_send` result gains `sender_copy`, `recipient_copy`, `identity` (additive).
76
+ - `server.json` version drifted to alpha.51 while the package was alpha.52; both now alpha.53.
77
+
78
+ ## [3.0.0-alpha.33] — 2026-08-11
79
+
80
+ **The republish that closes a three-week gap between the repo and the client's disk.**
81
+ `3.0.0-alpha.32` was published 2026-07-19 and every change since then lived only in git.
82
+ Measured on the published tarball that day: it registers **71** tools while its own npm
83
+ description advertises **69** and the website advertises **77**. Three numbers, one
84
+ package. This release makes the published artifact the thing the docs describe.
85
+
86
+ ### Added
87
+ - **`mAYL_send_as_agent`** re-registered (2026-07-29) after the hub-claim → mp0st-send
88
+ chain was proven on an authenticated call.
89
+ - **`mTALK_ingest_ptt`** re-registered (2026-07-29) after the ingest path was repointed
90
+ at `rag-transcribe` and returned a real `200 {"queued":true}` on prod.
91
+ - **`mAYL_agentbox_provision` / `_list` / `_extend` / `_release`** (2026-08-06,
92
+ LINEAR-5201) — an agent mints, lists, extends and releases its OWN two-way disposable
93
+ inbox (`agent-<hex>@mosadd.com`). `create_inbox` parity with AgentMail, on our stack.
94
+ - **`mRAG_graph_refresh` / `_overview` / `_neighbors` / `_timeline`** (2026-08-11) — the MCP
95
+ door onto the per-user knowledge graph (`kg_*` RPCs). Search finds text; these walk who/what/
96
+ when (parties, connections, dated timelines), built from message METADATA only, never bodies.
97
+ - Stdio hub-key auth (`MOSADD_API_KEY`) in `src/bin/mcp.ts` — the local stdio server can
98
+ exchange a hub key instead of requiring the BYOK env trio.
99
+
100
+ Tool count **71 → 81**: six tools existed in the repo but had **never been published**
101
+ (71 → 77 — an agent installing `@mosadd/mcp` got 71 while every doc surface promised 77),
102
+ AND four new `mRAG_graph_*` knowledge-graph traversal tools were added 2026-08-11 (77 → 81).
103
+ `TOOL_COUNT` (`= allTools.length`) stays the single source of truth.
104
+
105
+ ### Changed
106
+ - **`mRAG_search` can now filter on the source types the writers actually stamp.**
107
+ The `source_types` enum was missing `file` and `ptt` — `file` is what `mRAG_ingest`
108
+ itself writes (its default, and where `note` ingests are mapped), `ptt` is what
109
+ `mTALK_ingest_ptt` writes. Measured on prod 2026-08-11: 63 indexed rows were
110
+ unreachable by any `source_types` filter. The tool advertised a filter that could not
111
+ see its own writes.
112
+ - **`mURL_create` no longer promises a status it does not set.** `murl-manage` applies
113
+ `status` only on the INSERT of a new row; on an existing channel it writes owner +
114
+ branding and leaves status untouched. Since mURL rooms auto-create on first activity,
115
+ "already exists" is the COMMON case — so the old "set initial status" wording was
116
+ wrong nearly every time it was read. Schema + description now say so and point at
117
+ `mURL_update`.
118
+ - **`mIRC_post_message` encryption wording.** It posts server-readable plaintext base64
119
+ on EVERY access mode, private and password channels included; the app's group-key
120
+ encryption is not something the toolkit holds a key for.
121
+
122
+ ### Fixed
123
+ - Doc surfaces across the repo that hand-typed **73** while `TOOL_COUNT` was 77 (README
124
+ breakdown, `packages/mcp/README.md`, `apps/mcp-http/README.md`, dev docs, Realm,
125
+ examples). The anti-drift vitest gate pinned one regex per file, so a single corrected
126
+ line kept the gate green while the sentence around it stayed wrong — the gate now pins
127
+ the PER-MODULE numbers too, not just the total.
128
+
129
+ ## [3.0.0-alpha.32] — 2026-07-19
130
+
131
+ ### Added
132
+ - **`mIRC_discover`** — browse the PUBLIC channel directory (open channels whose
133
+ owners set `discoverable=true`). Filter by name, paginated; join a result with
134
+ `mIRC_join` (open = one-click). Private/password/partner channels never appear.
135
+ - **`mIRC_report`** — report a channel for abuse/moderation (routes to the shared
136
+ `content_reports` store as `channel:<id>`), the moderation floor for public discovery.
137
+ - **`discoverable`** flag on `mIRC_create` / `mIRC_update` (honoured only for
138
+ `access_mode=open`), plus `voice` + `files` added to the capabilities enum.
139
+ - Tool count **69 → 71** (mIRC **22 → 24**); `TOOL_COUNT` (`= allTools.length`) stays
140
+ the single source of truth.
141
+
142
+ ### Changed
143
+ - **Encryption posture wording corrected across docs.** `mIRC_post_message` posts a
144
+ **server-readable** plaintext payload — the per-channel group-key TEXT E2EE is the
145
+ mosadd.com **app** (supported clients), not the toolkit (parity is the next crypto
146
+ milestone). Tool descriptions, README, MANIFESTO, e2ee-posture and the registry
147
+ copy now state this instead of implying private/password channels are E2EE via the
148
+ toolkit. Voice/PTT is always server-relayed (LiveKit SFU, DTLS-SRTP hop-by-hop).
149
+
150
+ ## [3.0.0-alpha.31] — 2026-07-17
151
+
152
+ ### Fixed
153
+ - **`mURL_create` / `mURL_update` branding validation.** The `branding` arg used
154
+ `z.record(z.any())` — the Zod v3 single-argument form — which fails typecheck under
155
+ this project's Zod v4, where `z.record` requires both a key and a value schema. Now
156
+ `z.record(z.string(), z.any())`. alpha.30 shipped with the pre-fix source; alpha.31
157
+ corrects it so the published package builds clean and validates branding correctly.
158
+ - **CI green (repo).** Synced the version refs (`server.json`, `server.ts` serverInfo,
159
+ `marketplace.json`) to `package.json`, and updated the MCP smoke test to expect
160
+ `mAYL_send` — the `mp0st_*` aliases were retired in alpha.28.
161
+
162
+ ## [3.0.0-alpha.30] — 2026-07-17
163
+
164
+ ### Added
165
+ - **`comms_embed_create` RE-REGISTERED — tool count 68 → 69.** The paste-in
166
+ live-channel widget is finally end-to-end real: `https://embed.mosadd.com/v1.js`
167
+ is deployed (served by the mosadd Vercel project; skins are inlined in the
168
+ bundle), and the whole backend (`embed-keys` publishable keys, `mirc-embed-token`
169
+ Origin-allowlisted 5-min JWTs with MAT plan tiers, `embed-plan-settings` PAYG,
170
+ GDPR `embed-dsr-delete`) was already live. The tool mints an `m_pk_live_…` key
171
+ and returns a `<script>` snippet with skin + position (incl. sidebar-left/right)
172
+ options. Part of the mURL→mIRC rework P3 ("open WWW channel: dedicated page +
173
+ branding + embed").
174
+
175
+ ## [3.0.0-alpha.29] — 2026-07-17
176
+
177
+ ### Added
178
+ - **mURL owner-side management — 3 new tools.** `mURL_create` (claim a domain channel and
179
+ become its owner; idempotent, 409 if another account owns it), `mURL_update` (set branding /
180
+ mark `claimed` / `blocked` to close / reopen as `open`), `mURL_delete` (remove a channel you
181
+ own). Wired to the deployed, owner-scoped `murl-manage` EF via the same user-JWT auth as
182
+ `mURL_list_channels action='mine'`. mURL goes from read-only (read/post/presence/list) to a
183
+ full lifecycle — an agent can now provision and manage a domain's room, not just chat in it.
184
+ - **`TOOL_COUNT` export** (`= allTools.length`) — one source of truth for the callable-tool
185
+ count, mirroring `@mosadd/threat-engine`'s `THREAT_EVENT_COUNT`. Docs reference it, not a
186
+ hand-typed number that drifts.
187
+
188
+ ### Changed
189
+ - **Tool count corrected to 68** — it had been advertised inconsistently as "70+" / "65" across
190
+ READMEs, docs, registry submissions and the dev site. The registry holds exactly 68 callable
191
+ tools: mDM 14 · mIRC 22 · mURL 7 · mAYL 11 · mTALK 5 · mRAG 4 · comms_ 3 · Irondome (`threat_*`) 2.
192
+ Also fixed two stale claims in the reference table: `threat_*` IS registered (was labelled
193
+ "unregistered"), and the `mp0st_*` mAYL aliases are retired (were claimed as still functioning).
194
+
195
+ ## [3.0.0-alpha.23] — 2026-06-26
196
+
197
+ Toolkit hardening pass: every registered tool's request/response contract was
198
+ adversarially verified against the deployed edge functions. Two tools were broken on
199
+ every call; the rest had silent field drops, wrong results, or a confidentiality/access gap.
200
+
201
+ ### Fixed
202
+ - **Edge-function errors are now legible.** `invokeFunction` only ever surfaced the fixed
203
+ string "Edge Function returned a non-2xx status code"; the real reason lives in
204
+ `error.context`. It now reads that body (and the HTTP status), so every EF-backed tool
205
+ returns an actionable error the agent can act on — the single highest-impact fix.
206
+ - **mDM_edit no longer strips E2EE.** It used to store a server-readable plaintext body even
207
+ on an E2EE thread (and the forward-only ratchet means an edit can't be re-sealed). It now
208
+ refuses to edit E2EE messages (use delete + re-send) and only edits legacy plaintext.
209
+ - **mp0st_send cc/bcc/reply_to are actually delivered** — the backend dropped them silently;
210
+ now forwarded to the mail provider (edge-function fix, deployed).
211
+ - **mDM call rooms are access-gated (security)** — call-room tokens were mintable by any
212
+ authenticated user who learned the room name; the backend now restricts them to the two
213
+ participants, and the room name is per-pair so the gate is robust (edge-function fix, deployed).
214
+ - **mDM_call_end / mDM_voice_note** now return the real message id (was always undefined).
215
+ - **mp0st_view** no longer advertises a `received_at` field the backend doesn't return (it's `sent_at`).
216
+
217
+ ### Changed
218
+ - **Unregistered `comms_embed_create`** — its `embed-keys` edge function isn't deployed (404
219
+ on every call) and the embed surface is parked. Tool count **62 → 61**. Re-register when the
220
+ backend + widget ship.
221
+ - **mIRC tools stop advertising fields the backend ignores.** Removed: `mIRC_kick` `reason`,
222
+ `mIRC_request_access` `message`, `mIRC_ban` `reason`+`until` (the latter silently made a
223
+ "temporary" ban permanent), and `access_mode` on `mIRC_update`/`mIRC_list` (no-ops). Added
224
+ `wrapped_group_key` to `mIRC_create`/`mIRC_approve_request` so E2EE (password/private)
225
+ channels are honestly callable. Descriptions corrected to match.
226
+ - **mp0st_consent** now fails fast client-side when `check`/`optin` is missing a recipient.
227
+
228
+ ### Verified (no changes needed)
229
+ - Install/boot, full build + typecheck across all packages, dependency-export resolution, and
230
+ the mDM X3DH + Double-Ratchet crypto round-trip all pass.
231
+
232
+ ## [3.0.0-alpha.22] — 2026-06-26
233
+
234
+ ### Fixed
235
+ - **alpha.21 was broken on a fresh install** — it crashed on startup with
236
+ `SyntaxError: The requested module '@mosadd/crypto' does not provide an export named
237
+ 'initRatchetInitiator'`. The workspace dependency packages (`@mosadd/crypto`, `protocol`,
238
+ `providers`, `threat-engine`) had drifted: their *source* gained new exports (the mDM
239
+ Double-Ratchet work) but their version was never bumped, so npm still served the stale
240
+ alpha.4/alpha.5 builds while `@mosadd/mcp` was built against the newer API. Bumped the whole
241
+ alpha-line in lockstep to alpha.22 and republished so every published package matches current
242
+ source and `workspace:*` cross-deps resolve. Verified: a clean `npm i @mosadd/mcp@alpha`
243
+ now boots and lists 62 tools. (The previous alpha.20 was broken-on-install the same way.)
244
+
245
+ ### Changed
246
+ - **Unregistered 2 scaffold tools that failed on every call.** `mp0st_send_as_agent`
247
+ (POSTed to a non-existent `hub-claim-mint` endpoint → 404, and sent provenance body
248
+ fields the deployed `mp0st-send` EF never reads) and `mTALK_ingest_ptt` (request body
249
+ didn't match the deployed `ptt-ingest` EF → 400). Both are now commented out in
250
+ `tools/index.ts` like the other not-registered modules, so an agent only ever discovers
251
+ tools that actually work. Registered tool count **64 → 62** (mp0st 12→11, mTALK 6→5).
252
+ Source is kept; both re-register once their backend contracts are wired + tested.
253
+
254
+ ### Fixed
255
+ - **mIRC `reject_request` / `approve_request` field (LINEAR-3522):** the tools sent
256
+ `request_id` but `channel-members-manage` reads `target_identity_id` → 400 every
257
+ call. Renamed to `identity_id` (normalized to `target_identity_id`). `reject` now
258
+ works; `approve` of an E2EE channel still needs a wrapped group key (LINEAR-3523).
259
+ - **mDM / mIRC message pagination (LINEAR-3524):** `mDM_list` read `cursor`/`has_more`
260
+ but `message-list` history mode returns `next_before`, and `mIRC_list_messages`
261
+ sent `cursor` (ignored; EF reads `before`) and read `next_cursor` (never returned)
262
+ → neither paged past page 1. Send `before`, read `next_before`.
263
+
264
+ ## [3.0.0-alpha.19] — 2026-06-19
265
+
266
+ ### Removed
267
+ - **BREAKING — mROOM module killed (LINEAR-3414):** the 11 `mROOM_*` tools
268
+ (`mROOM_create`, `mROOM_create_guest_link`, `mROOM_join`, `mROOM_leave`,
269
+ `mROOM_close`, `mROOM_list`, `mROOM_voice_join`, `mROOM_send_message`,
270
+ `mROOM_list_messages`, `mROOM_send_voice`, `mROOM_send_file`) are no longer
271
+ registered. Ephemeral private rooms are re-cut into private mIRC channels.
272
+ The source stays in `tools/mroom*.ts` (unregistered, like mURL/mCALL).
273
+
274
+ ### Added
275
+ - **Defensive threat engine as MCP tools (LINEAR-3498):** `threat_catalog`
276
+ (list the canonical 160+ threat-event taxonomy) and `threat_classify`
277
+ (pure `evaluateEvent` decision → action/severity/reason). Wraps
278
+ `@mosadd/threat-engine`; deterministic, offline, `requires: "any"`.
279
+
280
+ Net: 70 → **64 callable tools** across 5 live modules + comms + threat.
281
+
282
+ ### Changed
283
+ - **BREAKING — mail tool rename:** the 12 email MCP tools are renamed
284
+ `mAIL_*` → `mp0st_*` (`mp0st_list`, `mp0st_send`, `mp0st_view`, `mp0st_delete`,
285
+ `mp0st_stats`, `mp0st_events`, `mp0st_metrics`, `mp0st_revoke`,
286
+ `mp0st_audit_export`, `mp0st_consent`, `mp0st_notify`, `mp0st_send_as_agent`).
287
+ No aliases — the old `mAIL_*` names no longer resolve. Backend Edge Functions
288
+ (`mp0st-*`) are unchanged.
289
+
290
+ ## [3.0.0-alpha.18] — 2026-06-18
291
+
292
+ ### Added
293
+ - **`comms_embed_create`** — embed a LIVE mosadd channel into an app/site a builder-agent is
294
+ generating (Lovable / Bolt / Cursor / v0). Mints a publishable embed key (`m_pk_live_…`,
295
+ origin-scoped, via the `embed-keys` EF) and returns a paste-in widget snippet
296
+ (`<div>` + `<script src="https://embed.mosadd.com/v1.js" data-key=…>`). The widget exchanges
297
+ the publishable key for a short-lived channel-scoped JWT at runtime; the hub key never enters
298
+ the browser. Extends `mROOM_create_guest_link` (link → embeddable widget). CDN override via
299
+ `MOSADD_EMBED_CDN`. (Widget served from the dedicated `embed.mosadd.com` deploy.)
300
+
301
+ ## [3.0.0-alpha.17] — 2026-06-18
302
+
303
+ ### Added
304
+ - **Action Links — screen share.** `comms_action_create` gains a `screen_share` action
305
+ type, and a new `comms_action_frame_get` tool lets the creating agent read frames of the
306
+ recipient's shared screen (consent-gated, browser-sandbox only). Turns Action Links into
307
+ "remote-desktop-lite" — the agent sees what the human chooses to share.
308
+
309
+ ### Changed
310
+ - **Durable `mosadd login`.** The saved session (`~/.mosadd/session.json`) is now refreshed
311
+ from its refresh token at server boot, so a single `mosadd login` keeps working across
312
+ restarts — no more re-login when the access token expires.
313
+ - Onboarding README restructured (recommended auth path — `mosadd login` — first; hub API
314
+ key second; DevTools JWT demoted), and the 61→70 / `mosadd.dev`→`mosadd.com` reconciliation
315
+ (first shipped on the published package with this release).
316
+
317
+ ## [3.0.0-alpha.16] — 2026-06-17
318
+
319
+ ### Fixed
320
+ - `mAIL_view` now calls the `mp0st-get` Edge Function (read a message by id,
321
+ owner-scoped) instead of `mp0st-view` (the tracking-pixel endpoint, which
322
+ returned "Missing tracking ID"). ([LINEAR-2917])
323
+ - CI publish drops `--provenance` — npm returned 422 because the source repo
324
+ (`mosadd-os`) is private, so provenance attestation is not available.
325
+
326
+ ### Added (cumulative since alpha.4 — tool count 61 → 70)
327
+ - **Action links (Tier 1):** `comms_action_create` mints a one-link browser
328
+ action an agent can hand to a human (run-with-consent in the mosadd sandbox).
329
+ - **mAIL provenance:** `mAIL_send_as_agent` stamps agent/human provenance on the
330
+ message so the recipient sees who actually sent it.
331
+ - **File & voice attachments:** `mDM_send_voice` / `mDM_send_file`,
332
+ `mROOM_send_voice` / `mROOM_send_file`, `mIRC_send_voice` / `mIRC_send_file`
333
+ (reuse the existing `chat-files` bucket — no new transport).
334
+ - **mTALK → RAG:** `mTALK_ingest_ptt` feeds push-to-talk audio into the RAG index
335
+ (opt-in, gated server-side).
336
+ - **mROOM:** `mROOM_create_guest_link` (single-call, no-account guest links) and
337
+ `mROOM_voice_join`.
338
+ - **mIRC edge transport:** `mIRC_mint_channel_token`, `mIRC_send_edge`,
339
+ `mIRC_history_edge` — the low-latency path the agent-coordination skill rides.
340
+
341
+ ### Changed
342
+ - README, `package.json`, and the plugin `marketplace.json` reconciled to the
343
+ current surface: **70 tools across 6 modules** + `comms_capabilities`
344
+ discovery (71 callable), version `alpha.16`, and `mosadd.dev` → `mosadd.com`
345
+ (the dev surface was consolidated into the main site). ([LINEAR-3391])
346
+ - `mCALL` (telephony, carrier-pending) and `mURL` (brand/consumer surface)
347
+ remain **unregistered** in `tools/index.ts` — an agent only ever discovers
348
+ tools that actually work.
349
+
350
+ ## [3.0.0-alpha.4]
351
+
352
+ ### Added
353
+ - Initial public alpha: **61 tools across 6 live modules** — mDM (incl. voice),
354
+ mIRC, mROOM, mAIL, mTALK, mRAG — plus the `comms_capabilities` discovery tool.
355
+ - BYOK mode: the server talks to your own mosadd Supabase backend via
356
+ `MOSADD_SUPABASE_URL` / `MOSADD_SUPABASE_ANON_KEY` / `MOSADD_USER_JWT`.
357
+ - Apache-2.0 license; tool names follow [RFC 0001] (`m<MODULE>_<operation>`).
358
+
359
+ [3.0.0-alpha.16]: https://github.com/Hei33enberg/mosadd-os/tree/main/packages/mcp
360
+ [3.0.0-alpha.4]: https://github.com/Hei33enberg/mosadd-os/tree/main/packages/mcp
361
+ [LINEAR-2917]: https://linear.app/ip-ra/issue/LINEAR-2917
362
+ [LINEAR-3391]: https://linear.app/ip-ra/issue/LINEAR-3391
363
+ [RFC 0001]: https://github.com/Hei33enberg/mosadd-os/blob/main/docs/rfcs/0001-module-naming.md