@mosadd/mcp 3.0.0-alpha.37 → 3.0.0-alpha.39
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/dist/bin/mcp.js +1 -1
- package/dist/{chunk-ZTS3WMGG.js → chunk-DMQVYA7W.js} +304 -55
- package/dist/index.d.ts +26 -0
- package/dist/index.js +1 -1
- package/package.json +14 -14
- package/src/__tests__/presence.test.ts +38 -1
- package/src/server.ts +39 -7
- package/src/tools/actions.ts +4 -0
- package/src/tools/attachments.ts +8 -0
- package/src/tools/capabilities.ts +2 -0
- package/src/tools/embed.ts +2 -0
- package/src/tools/knowledge-graph.ts +8 -0
- package/src/tools/knowledge.ts +8 -0
- package/src/tools/mail-agentbox.ts +8 -0
- package/src/tools/mail-provenance.ts +2 -0
- package/src/tools/mail.ts +22 -0
- package/src/tools/mdm-as-agent.ts +4 -0
- package/src/tools/mdm-voice.ts +8 -0
- package/src/tools/mdm.ts +16 -0
- package/src/tools/mirc-edge.ts +6 -0
- package/src/tools/mirc-members.ts +20 -0
- package/src/tools/mirc-messages.ts +4 -0
- package/src/tools/mirc.ts +14 -0
- package/src/tools/mtalk.ts +10 -0
- package/src/tools/murl.ts +14 -0
- package/src/tools/presence.ts +165 -40
- package/src/tools/ptt-ingest.ts +2 -0
- package/src/tools/threat.ts +4 -0
- package/src/types.ts +27 -0
- package/LICENSE +0 -201
package/dist/index.d.ts
CHANGED
|
@@ -167,11 +167,37 @@ interface MosaddToolContext {
|
|
|
167
167
|
* join links, bridges). NOT available off-grid.
|
|
168
168
|
*/
|
|
169
169
|
type CapabilityRequirement = "any" | "radio" | "network";
|
|
170
|
+
/**
|
|
171
|
+
* MCP tool annotations (spec `ToolAnnotations`, minus `title` which lives on the
|
|
172
|
+
* tool itself). Connector UIs — Claude's included — group and gate tools by these
|
|
173
|
+
* hints: `readOnlyHint: true` lands the tool in the read-only bucket (bulk-approvable),
|
|
174
|
+
* `destructiveHint: true` marks it as destroying/overwriting user data at approval
|
|
175
|
+
* time, and tools with NO annotations all fall into one flat "Other tools" bucket —
|
|
176
|
+
* which is exactly how the mosADD connector looked until 2026-08-26 (84 tools, one
|
|
177
|
+
* undifferentiated list; founder order: fix it).
|
|
178
|
+
*/
|
|
179
|
+
interface MosaddToolAnnotations {
|
|
180
|
+
/** Tool does not mutate anything. list/get/search/state/metrics class. */
|
|
181
|
+
readOnlyHint?: boolean;
|
|
182
|
+
/** Tool destroys or irreversibly overwrites data (delete/ban/revoke/edit-in-place). */
|
|
183
|
+
destructiveHint?: boolean;
|
|
184
|
+
/** Calling twice with the same args has no additional effect. */
|
|
185
|
+
idempotentHint?: boolean;
|
|
186
|
+
/** Tool reaches outside the mosADD closed world (e.g. sends external email). */
|
|
187
|
+
openWorldHint?: boolean;
|
|
188
|
+
}
|
|
170
189
|
interface MosaddTool<TInput = unknown, TOutput = unknown> {
|
|
171
190
|
/** Tool name. MUST follow the m{MODULE}_{operation} convention. */
|
|
172
191
|
name: string;
|
|
192
|
+
/**
|
|
193
|
+
* Human title for connector UIs (e.g. "Send encrypted DM"). The `name` stays the
|
|
194
|
+
* model-facing handle; this is what a PERSON sees in the permissions list.
|
|
195
|
+
*/
|
|
196
|
+
title?: string;
|
|
173
197
|
/** Short human-readable description. Shown to the model. */
|
|
174
198
|
description: string;
|
|
199
|
+
/** MCP annotations; see MosaddToolAnnotations. Every registered tool SHOULD set them. */
|
|
200
|
+
annotations?: MosaddToolAnnotations;
|
|
175
201
|
/**
|
|
176
202
|
* Transport this tool requires. Consuming hosts read this to gate tools by
|
|
177
203
|
* available carriers. Every tool MUST declare it explicitly.
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mosadd/mcp",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.39",
|
|
4
4
|
"mcpName": "io.github.hei33enberg/mosadd-mcp",
|
|
5
5
|
"description": "Model Context Protocol server for mosadd. Exposes 4 modules (mDM, mIRC, mURL, mAYL) and capabilities (mTALK, mRAG) plus comms agent-actions — 84 tools — to any agent runtime (Claude Code, Cursor, Windsurf, Cline, ChatGPT Apps, Lovable, Bolt, Goose, Manus, custom).",
|
|
6
6
|
"homepage": "https://github.com/Hei33enberg/mosADD-OS/tree/main/packages/mcp",
|
|
@@ -34,14 +34,21 @@
|
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup src/index.ts src/bin/mcp.ts src/bin/login.ts --format esm --dts --clean --shims",
|
|
39
|
+
"dev": "tsx src/bin/mcp.ts",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
42
|
+
"clean": "rm -rf dist .turbo"
|
|
43
|
+
},
|
|
37
44
|
"dependencies": {
|
|
38
45
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
46
|
+
"@mosadd/crypto": "workspace:*",
|
|
47
|
+
"@mosadd/protocol": "workspace:*",
|
|
48
|
+
"@mosadd/providers": "workspace:*",
|
|
49
|
+
"@mosadd/threat-engine": "workspace:*",
|
|
39
50
|
"@supabase/supabase-js": "^2.48.0",
|
|
40
|
-
"zod": "^4.3.6"
|
|
41
|
-
"@mosadd/crypto": "3.0.0-alpha.27",
|
|
42
|
-
"@mosadd/providers": "3.0.0-alpha.27",
|
|
43
|
-
"@mosadd/threat-engine": "3.0.0-alpha.28",
|
|
44
|
-
"@mosadd/protocol": "3.0.0-alpha.28"
|
|
51
|
+
"zod": "^4.3.6"
|
|
45
52
|
},
|
|
46
53
|
"devDependencies": {
|
|
47
54
|
"tsup": "^8.3.5",
|
|
@@ -62,12 +69,5 @@
|
|
|
62
69
|
],
|
|
63
70
|
"engines": {
|
|
64
71
|
"node": ">=18"
|
|
65
|
-
},
|
|
66
|
-
"scripts": {
|
|
67
|
-
"build": "tsup src/index.ts src/bin/mcp.ts src/bin/login.ts --format esm --dts --clean --shims",
|
|
68
|
-
"dev": "tsx src/bin/mcp.ts",
|
|
69
|
-
"test": "vitest run",
|
|
70
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
71
|
-
"clean": "rm -rf dist .turbo"
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
}
|
|
@@ -17,6 +17,7 @@ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
|
17
17
|
|
|
18
18
|
const IDENTITY_ID = "b228b6ae-dda6-4823-9882-40ea91ed1530";
|
|
19
19
|
const USER_ID = "b1b6c60a-f5c5-47bd-8772-9e4e387994ad";
|
|
20
|
+
const AGENT_ID = "0489d4c6-8727-442f-bf83-68747a469492";
|
|
20
21
|
|
|
21
22
|
/** Calls recorded by the fake Supabase client, so assertions read like the wire traffic. */
|
|
22
23
|
const calls = {
|
|
@@ -34,6 +35,8 @@ function makeBuilder(table: string) {
|
|
|
34
35
|
const self = () => builder;
|
|
35
36
|
Object.assign(builder, {
|
|
36
37
|
select: self,
|
|
38
|
+
is: self,
|
|
39
|
+
or: self,
|
|
37
40
|
upsert: (row: Record<string, unknown>) => {
|
|
38
41
|
calls.upserts.push({ table, ...row });
|
|
39
42
|
return Promise.resolve({ error: null });
|
|
@@ -49,6 +52,12 @@ function makeBuilder(table: string) {
|
|
|
49
52
|
}
|
|
50
53
|
return builder;
|
|
51
54
|
},
|
|
55
|
+
// resolveOwnedAgentLine path: .or(...).limit(2) → the caller's ONE owned agent.
|
|
56
|
+
limit: () =>
|
|
57
|
+
Promise.resolve({
|
|
58
|
+
data: [{ id: AGENT_ID, m0ssad_email: "dispatcher@mosadd.com", display_name: "DYSPOZYTOR" }],
|
|
59
|
+
error: null,
|
|
60
|
+
}),
|
|
52
61
|
maybeSingle: () => Promise.resolve({ data: { id: IDENTITY_ID, display_name: "mosADD CTO" }, error: null }),
|
|
53
62
|
});
|
|
54
63
|
return builder;
|
|
@@ -133,9 +142,37 @@ describe("comms_session_attach", () => {
|
|
|
133
142
|
await call({});
|
|
134
143
|
const out = await call({ release: true });
|
|
135
144
|
expect(out.attached).toBe(false);
|
|
136
|
-
|
|
145
|
+
// Two deletes since 2026-08-26: the heartbeat row (by identity) AND the as_agent
|
|
146
|
+
// declaration in mosadd_gateway_agent_binding (by user) — a finishing session hands
|
|
147
|
+
// back EVERYTHING it could hold, so no stale declaration keeps signing later posts.
|
|
148
|
+
expect(calls.deletes).toEqual([IDENTITY_ID, USER_ID]);
|
|
137
149
|
calls.upserts = [];
|
|
138
150
|
await vi.advanceTimersByTimeAsync(180_000);
|
|
139
151
|
expect(calls.upserts).toHaveLength(0);
|
|
140
152
|
});
|
|
153
|
+
|
|
154
|
+
it("as_agent declares the line: binding upsert + beat on the AGENT's identity, not the key's", async () => {
|
|
155
|
+
const out = await call({ as_agent: "dispatcher@mosadd.com", label: "dispatcher — Cowork" });
|
|
156
|
+
expect(out.attached).toBe(true);
|
|
157
|
+
expect(out.identity_id).toBe(AGENT_ID);
|
|
158
|
+
expect((out.speaking_as as { address: string }).address).toBe("dispatcher@mosadd.com");
|
|
159
|
+
// The signing declaration message-send reads (migration 20260826210000)…
|
|
160
|
+
expect(calls.upserts).toContainEqual(
|
|
161
|
+
expect.objectContaining({
|
|
162
|
+
table: "mosadd_gateway_agent_binding",
|
|
163
|
+
user_id: USER_ID,
|
|
164
|
+
agent_identity_id: AGENT_ID,
|
|
165
|
+
}),
|
|
166
|
+
);
|
|
167
|
+
// …and the AGENT's liveness row, so ITS cloud stand-in defers to this session.
|
|
168
|
+
expect(calls.upserts).toContainEqual(
|
|
169
|
+
expect.objectContaining({
|
|
170
|
+
table: "agent_bridge_heartbeat",
|
|
171
|
+
identity_id: AGENT_ID,
|
|
172
|
+
host: "dispatcher — Cowork",
|
|
173
|
+
}),
|
|
174
|
+
);
|
|
175
|
+
// The key's own line is NOT claimed — attaching as an agent must not silence the owner's lane.
|
|
176
|
+
expect(calls.upserts.some((u) => u.table === "agent_bridge_heartbeat" && u.identity_id === IDENTITY_ID)).toBe(false);
|
|
177
|
+
});
|
|
141
178
|
});
|
package/src/server.ts
CHANGED
|
@@ -61,6 +61,17 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
61
61
|
const server = new McpServer(
|
|
62
62
|
{
|
|
63
63
|
name: "mosadd",
|
|
64
|
+
// Human-facing identity of the server itself (initialize result). The icon URLs
|
|
65
|
+
// point at the LIVE gateway origin on purpose: clients that honour serverInfo.icons
|
|
66
|
+
// get the brand mark without scraping the favicon, and the files ship with
|
|
67
|
+
// apps/mcp-http/public (canon 08-26 — generated by m0ssad-3 scripts/
|
|
68
|
+
// generate-brand-icons.py, never hand-edited).
|
|
69
|
+
title: "mosADD — omnichannel messenger for agents",
|
|
70
|
+
websiteUrl: "https://mosadd.com",
|
|
71
|
+
icons: [
|
|
72
|
+
{ src: "https://mcp.mosadd.com/favicon.svg", mimeType: "image/svg+xml", sizes: ["any"] },
|
|
73
|
+
{ src: "https://mcp.mosadd.com/pwa-192.png", mimeType: "image/png", sizes: ["192x192"] },
|
|
74
|
+
],
|
|
64
75
|
version: PKG_VERSION,
|
|
65
76
|
},
|
|
66
77
|
{
|
|
@@ -79,11 +90,16 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
79
90
|
? (tool.inputSchema as { shape: Record<string, unknown> }).shape
|
|
80
91
|
: (tool.inputSchema as unknown as Record<string, unknown>);
|
|
81
92
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
93
|
+
// Tool annotations ride the 5-arg overload (SDK ≥1.12 serialises them into
|
|
94
|
+
// tools/list verbatim). Without them EVERY tool lands in the connector UI's flat
|
|
95
|
+
// "Other tools" bucket — the exact founder complaint this fixes. `title` is spec'd
|
|
96
|
+
// inside ToolAnnotations, so it travels in the same object.
|
|
97
|
+
const annotations =
|
|
98
|
+
tool.title || tool.annotations
|
|
99
|
+
? { ...(tool.title ? { title: tool.title } : {}), ...(tool.annotations ?? {}) }
|
|
100
|
+
: undefined;
|
|
101
|
+
|
|
102
|
+
const toolCallback = async (input: unknown) => {
|
|
87
103
|
const parsed = tool.inputSchema.parse(input);
|
|
88
104
|
try {
|
|
89
105
|
const result = await tool.handler(parsed as never, ctx);
|
|
@@ -111,8 +127,24 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
111
127
|
],
|
|
112
128
|
};
|
|
113
129
|
}
|
|
114
|
-
}
|
|
115
|
-
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
if (annotations) {
|
|
133
|
+
server.tool(
|
|
134
|
+
tool.name,
|
|
135
|
+
tool.description,
|
|
136
|
+
shape as Parameters<typeof server.tool>[2],
|
|
137
|
+
annotations,
|
|
138
|
+
toolCallback,
|
|
139
|
+
);
|
|
140
|
+
} else {
|
|
141
|
+
server.tool(
|
|
142
|
+
tool.name,
|
|
143
|
+
tool.description,
|
|
144
|
+
shape as Parameters<typeof server.tool>[2],
|
|
145
|
+
toolCallback,
|
|
146
|
+
);
|
|
147
|
+
}
|
|
116
148
|
}
|
|
117
149
|
|
|
118
150
|
return server;
|
package/src/tools/actions.ts
CHANGED
|
@@ -145,6 +145,8 @@ export const actionTools: MosaddTool[] = [
|
|
|
145
145
|
// lives in the `comms_` namespace rather than a channel `m<MODULE>_` prefix.
|
|
146
146
|
// A dedicated `mACT` module (create/get/status) is a possible RFC follow-up.
|
|
147
147
|
name: "comms_action_create",
|
|
148
|
+
title: "Create one-click action link",
|
|
149
|
+
annotations: { readOnlyHint: false },
|
|
148
150
|
requires: "network",
|
|
149
151
|
description:
|
|
150
152
|
"Mint a single-use, expiring action link (https://mosadd.com/do/<token>) that asks a human to DO something in their browser, with explicit consent. action_type: 'confirm' (yes/no) | 'file_request' (recipient picks a file from their computer) | 'form' (recipient fills fields you define) | 'open_url' (recipient opens a vetted https URL). Returns { action_id, token, link, expires_at }. Send the `link` to the person via mDM/mIRC/mp0st; they open it, consent, and the browser performs the action in its sandbox (no install, no OS access). The action is owned by you (the calling user). HONEST LIMITS: this is browser-sandbox only — it cannot click other apps, run programs, or read files the user didn't pick; and file_request payloads are not yet end-to-end encrypted (don't request sensitive files until Tier 1.1).",
|
|
@@ -153,6 +155,8 @@ export const actionTools: MosaddTool[] = [
|
|
|
153
155
|
},
|
|
154
156
|
{
|
|
155
157
|
name: "comms_action_frame_get",
|
|
158
|
+
title: "View shared screen frame",
|
|
159
|
+
annotations: { readOnlyHint: true },
|
|
156
160
|
requires: "network",
|
|
157
161
|
description:
|
|
158
162
|
"See the LATEST screen frame from a 'screen_share' action you created (pass the action_id from comms_action_create). Returns the current screenshot AS AN IMAGE you can look at, plus how old it is. The recipient must have opened the link and clicked 'share screen' first. Poll this every few seconds to watch live. VIEW ONLY — you cannot click or control their screen. Returns a 'no frame yet' note until they start sharing.",
|
package/src/tools/attachments.ts
CHANGED
|
@@ -237,6 +237,8 @@ async function mIRC_send_file(input: z.infer<typeof mIRC_send_file_input>, ctx:
|
|
|
237
237
|
export const attachmentTools: MosaddTool[] = [
|
|
238
238
|
{
|
|
239
239
|
name: "mDM_send_voice",
|
|
240
|
+
title: "Send a voice message",
|
|
241
|
+
annotations: { readOnlyHint: false },
|
|
240
242
|
requires: "network",
|
|
241
243
|
description:
|
|
242
244
|
"Send a VOICE note to a contact as a first-class mDM `voice` message (not a URL stub). Pass audio bytes as base64; the tool uploads to Storage and posts via message-send with the voice attachment descriptor. SCAFFOLD: mDM is client-encrypted — until the seal step ships, bytes are uploaded unsealed (TODO Lane A).",
|
|
@@ -245,6 +247,8 @@ export const attachmentTools: MosaddTool[] = [
|
|
|
245
247
|
},
|
|
246
248
|
{
|
|
247
249
|
name: "mDM_send_file",
|
|
250
|
+
title: "Send a file in DM",
|
|
251
|
+
annotations: { readOnlyHint: false },
|
|
248
252
|
requires: "network",
|
|
249
253
|
description:
|
|
250
254
|
"Send a FILE to a contact as a first-class mDM `file` message. Base64 bytes → Storage → message-send file attachment. SCAFFOLD: mDM E2EE seal is TODO (Lane A).",
|
|
@@ -253,6 +257,8 @@ export const attachmentTools: MosaddTool[] = [
|
|
|
253
257
|
},
|
|
254
258
|
{
|
|
255
259
|
name: "mIRC_send_voice",
|
|
260
|
+
title: "Send voice note to channel",
|
|
261
|
+
annotations: { readOnlyHint: false },
|
|
256
262
|
requires: "network",
|
|
257
263
|
description: "Send a VOICE note into a persistent channel as a first-class `voice` message. Base64 audio → Storage → message-send (backing space resolved automatically).",
|
|
258
264
|
inputSchema: mIRC_send_voice_input,
|
|
@@ -260,6 +266,8 @@ export const attachmentTools: MosaddTool[] = [
|
|
|
260
266
|
},
|
|
261
267
|
{
|
|
262
268
|
name: "mIRC_send_file",
|
|
269
|
+
title: "Send file to channel",
|
|
270
|
+
annotations: { readOnlyHint: false },
|
|
263
271
|
requires: "network",
|
|
264
272
|
description: "Send a FILE into a persistent channel as a first-class `file` message. Base64 bytes → Storage → message-send.",
|
|
265
273
|
inputSchema: mIRC_send_file_input,
|
|
@@ -58,6 +58,8 @@ export function buildCapabilityManifest(tools: MosaddTool[]): CapabilityManifest
|
|
|
58
58
|
export function makeCapabilitiesTool(channelTools: MosaddTool[]): MosaddTool {
|
|
59
59
|
const tool: MosaddTool = {
|
|
60
60
|
name: "comms_capabilities",
|
|
61
|
+
title: "List tool capabilities",
|
|
62
|
+
annotations: { readOnlyHint: true },
|
|
61
63
|
requires: "any",
|
|
62
64
|
description:
|
|
63
65
|
"Discover which mosadd tools are available and what transport each requires (any | radio | network). Carrier-aware hosts (e.g. off-grid radio devices) call this once to gate the tool list to what the current carrier supports. Returns a manifest with per-tool requirements grouped by transport.",
|
package/src/tools/embed.ts
CHANGED
|
@@ -99,6 +99,8 @@ async function embed_create(
|
|
|
99
99
|
export const embedTools: MosaddTool[] = [
|
|
100
100
|
{
|
|
101
101
|
name: "comms_embed_create",
|
|
102
|
+
title: "Create website embed",
|
|
103
|
+
annotations: { readOnlyHint: false },
|
|
102
104
|
requires: "network",
|
|
103
105
|
description:
|
|
104
106
|
"Embed a LIVE mosadd chat channel into an app/site you're building (great for builder-agents on Lovable/Bolt/Cursor/v0). Mints a publishable embed key scoped to a channel + the app's domain(s) and returns a ready-to-paste HTML snippet (a <div> + <script src=embed.mosadd.com/v1.js data-key=…>). Visitors of the host page chat in real time (anonymous nick or mosadd login). REQUIRES `allowed_origins` — the domain(s) the app is served from (the key only works there). The publishable key is browser-safe (mints only channel-scoped JWTs); your hub key never leaves the server. Returns { embed_key, channel, allowed_origins, snippet }.",
|
|
@@ -145,6 +145,8 @@ async function mRAG_graph_timeline(
|
|
|
145
145
|
export const knowledgeGraphTools: MosaddTool[] = [
|
|
146
146
|
{
|
|
147
147
|
name: "mRAG_graph_refresh",
|
|
148
|
+
title: "Rebuild knowledge graph",
|
|
149
|
+
annotations: { readOnlyHint: false },
|
|
148
150
|
requires: "network",
|
|
149
151
|
description:
|
|
150
152
|
"(Re)build the USER'S OWN knowledge graph from their indexed data, then return what it found (counts of parties/mentions/edges). Run this first, or after new data has been ingested, so mRAG_graph_overview/neighbors/timeline reflect the latest. Built from METADATA only (who-sent-to-whom, thread membership) — never message bodies, so it does not weaken E2EE. Owner-scoped.",
|
|
@@ -153,6 +155,8 @@ export const knowledgeGraphTools: MosaddTool[] = [
|
|
|
153
155
|
},
|
|
154
156
|
{
|
|
155
157
|
name: "mRAG_graph_overview",
|
|
158
|
+
title: "Knowledge graph overview",
|
|
159
|
+
annotations: { readOnlyHint: true },
|
|
156
160
|
requires: "network",
|
|
157
161
|
description:
|
|
158
162
|
"List the parties (people / companies / services) in the user's knowledge graph, busiest first, each with its party_id, kind, aliases, appearance count, connection count and first/last-seen dates. This is the entry point: use a returned party_id with mRAG_graph_neighbors or mRAG_graph_timeline. Owner-scoped.",
|
|
@@ -161,6 +165,8 @@ export const knowledgeGraphTools: MosaddTool[] = [
|
|
|
161
165
|
},
|
|
162
166
|
{
|
|
163
167
|
name: "mRAG_graph_neighbors",
|
|
168
|
+
title: "Explore graph neighbors",
|
|
169
|
+
annotations: { readOnlyHint: true },
|
|
164
170
|
requires: "network",
|
|
165
171
|
description:
|
|
166
172
|
"Walk the connections of one party (from mRAG_graph_overview) — who/what it is linked to, with the edge type, how many times observed, and when. Answers 'who is connected to X, and how'. Depth is hard-clamped to 2 hops and breadth to 200 server-side. Owner-scoped.",
|
|
@@ -169,6 +175,8 @@ export const knowledgeGraphTools: MosaddTool[] = [
|
|
|
169
175
|
},
|
|
170
176
|
{
|
|
171
177
|
name: "mRAG_graph_timeline",
|
|
178
|
+
title: "Knowledge graph timeline",
|
|
179
|
+
annotations: { readOnlyHint: true },
|
|
172
180
|
requires: "network",
|
|
173
181
|
description:
|
|
174
182
|
"Return the dated appearance timeline of one party (from mRAG_graph_overview) — each source (email/message/call/…), its thread, the party's role, and when it occurred, newest first. Answers 'when and where did X show up'. Owner-scoped.",
|
package/src/tools/knowledge.ts
CHANGED
|
@@ -286,6 +286,8 @@ async function mRAG_delete(
|
|
|
286
286
|
export const knowledgeTools: MosaddTool[] = [
|
|
287
287
|
{
|
|
288
288
|
name: "mRAG_ingest",
|
|
289
|
+
title: "Ingest into memory",
|
|
290
|
+
annotations: { readOnlyHint: false },
|
|
289
291
|
requires: "network",
|
|
290
292
|
description:
|
|
291
293
|
"Add text to the USER'S OWN private knowledge base so mRAG_search can recall it later. Pass content_text (a note, document, transcript, pasted page); it is semantically chunked, embedded (1536-d) and stored in the per-user vector index mRAG_search reads. Returns how many chunks were indexed. ⚠ IF YOU ARE INDEXING A CORPUS you want to TRAVERSE (who is connected to whom, when), also pass sender / recipient / occurred_at: the knowledge graph builds its nodes from those fields alone, so documents ingested without them are searchable but contribute NOTHING to mRAG_graph_overview / _neighbors / _timeline — the graph comes back empty however many documents you loaded. Reuse the same party `ref` across documents to merge them into one node. NOTE: indexed content and metadata are stored server-side in plaintext — NOT covered by the zero-knowledge / E2EE guarantee. Only ingest what the user opted to make searchable.",
|
|
@@ -294,6 +296,8 @@ export const knowledgeTools: MosaddTool[] = [
|
|
|
294
296
|
},
|
|
295
297
|
{
|
|
296
298
|
name: "mRAG_search",
|
|
299
|
+
title: "Search memory",
|
|
300
|
+
annotations: { readOnlyHint: true },
|
|
297
301
|
requires: "network",
|
|
298
302
|
description:
|
|
299
303
|
"Search and answer questions over the USER'S OWN mosadd data (messages, emails, calls, notes) with a private per-user RAG index — hybrid vector + keyword retrieval, reranked, grounded in cited sources (no fabrication). Use it to recall 'what did X say about Y', summarize a thread, or pull facts the user has received. Returns an answer plus the source snippets it used. This is agent memory (mRAG = RAG over your own data) over the user's communications, available outside the mosadd app. NOTE: RAG requires content to be indexed server-side in plaintext, so anything searchable here is NOT covered by the zero-knowledge / E2EE guarantee — only data the user has explicitly opted into indexing is searchable. See docs/security/e2ee-posture.md.",
|
|
@@ -302,6 +306,8 @@ export const knowledgeTools: MosaddTool[] = [
|
|
|
302
306
|
},
|
|
303
307
|
{
|
|
304
308
|
name: "mRAG_list_sources",
|
|
309
|
+
title: "List memory sources",
|
|
310
|
+
annotations: { readOnlyHint: true },
|
|
305
311
|
requires: "network",
|
|
306
312
|
description:
|
|
307
313
|
"List what is currently indexed in the user's private knowledge base, grouped by source (source_type, source_id, thread_id, title) with per-source chunk counts and first/last indexed timestamps. Use it to see what mRAG_search can recall, and to find a source_id to remove with mRAG_delete. Owner-scoped.",
|
|
@@ -310,6 +316,8 @@ export const knowledgeTools: MosaddTool[] = [
|
|
|
310
316
|
},
|
|
311
317
|
{
|
|
312
318
|
name: "mRAG_delete",
|
|
319
|
+
title: "Delete memory source",
|
|
320
|
+
annotations: { destructiveHint: true },
|
|
313
321
|
requires: "network",
|
|
314
322
|
description:
|
|
315
323
|
"Remove indexed content from the user's knowledge base by source_id or thread_id (from mRAG_list_sources). Deletes every embedded chunk for that source so mRAG_search can no longer recall it. Requires source_id or thread_id (will not purge the whole index). Returns the number of chunks deleted. Owner-scoped.",
|
|
@@ -114,6 +114,8 @@ async function agentbox_extend(
|
|
|
114
114
|
export const mailAgentboxTools: MosaddTool[] = [
|
|
115
115
|
{
|
|
116
116
|
name: "mAYL_agentbox_provision",
|
|
117
|
+
title: "Provision disposable inbox",
|
|
118
|
+
annotations: { readOnlyHint: false },
|
|
117
119
|
requires: "network",
|
|
118
120
|
description:
|
|
119
121
|
"Mint the agent its OWN real, disposable email inbox at agent-<hex>@mosadd.com that can SEND and RECEIVE. Default ephemeral with a 10-minute TTL (auto-expires + is reaped); pass kind:'persistent' for a permanent box, or ttl_seconds (max 86400) for a custom lifetime. Optional display_name + agent_id. Returns the box {id, address, expires_at}. Use the address to catch signup/verification codes or replies, then mAYL_list (filter by the box address) + mAYL_view to read what arrived. Owner-scoped; max 25 active boxes per account.",
|
|
@@ -122,6 +124,8 @@ export const mailAgentboxTools: MosaddTool[] = [
|
|
|
122
124
|
},
|
|
123
125
|
{
|
|
124
126
|
name: "mAYL_agentbox_list",
|
|
127
|
+
title: "List disposable inboxes",
|
|
128
|
+
annotations: { readOnlyHint: true },
|
|
125
129
|
requires: "network",
|
|
126
130
|
description:
|
|
127
131
|
"List your active agent inboxes (address, display_name, kind, agent_id, expires_at), newest first. Owner-scoped.",
|
|
@@ -130,6 +134,8 @@ export const mailAgentboxTools: MosaddTool[] = [
|
|
|
130
134
|
},
|
|
131
135
|
{
|
|
132
136
|
name: "mAYL_agentbox_release",
|
|
137
|
+
title: "Release disposable inbox",
|
|
138
|
+
annotations: { destructiveHint: true },
|
|
133
139
|
requires: "network",
|
|
134
140
|
description:
|
|
135
141
|
"Release (delete) one of your agent inboxes by id — frees the address immediately so it stops receiving. Owner-scoped.",
|
|
@@ -138,6 +144,8 @@ export const mailAgentboxTools: MosaddTool[] = [
|
|
|
138
144
|
},
|
|
139
145
|
{
|
|
140
146
|
name: "mAYL_agentbox_extend",
|
|
147
|
+
title: "Extend disposable inbox",
|
|
148
|
+
annotations: { readOnlyHint: false },
|
|
141
149
|
requires: "network",
|
|
142
150
|
description:
|
|
143
151
|
"Extend an EPHEMERAL agent inbox's lifetime by id (ttl_seconds counted from NOW, max 24 h). Persistent boxes never expire and cannot be extended. Owner-scoped.",
|
|
@@ -126,6 +126,8 @@ async function mAYL_send_as_agent(
|
|
|
126
126
|
export const mailProvenanceTools: MosaddTool[] = [
|
|
127
127
|
{
|
|
128
128
|
name: "mAYL_send_as_agent",
|
|
129
|
+
title: "Send email as your agent",
|
|
130
|
+
annotations: { readOnlyHint: false },
|
|
129
131
|
requires: "network",
|
|
130
132
|
description:
|
|
131
133
|
"Send an email ATTRIBUTED TO THE AGENT (provenance-stamped). Unlike mAYL_send (sends as the user), this stamps sent_by='agent' plus your agent_id and optional task_id onto the email record and audit trail — so recipients and compliance can see the mail was agent-originated. Auth: presents a hub-claim JWT (needs MOSADD_API_KEY). The mp0st-send EF verifies the claim with HUB_JWT_SECRET; body trust is never granted for provenance.",
|
package/src/tools/mail.ts
CHANGED
|
@@ -293,6 +293,8 @@ async function mp0st_notify(
|
|
|
293
293
|
export const mailTools: MosaddTool[] = [
|
|
294
294
|
{
|
|
295
295
|
name: "mAYL_list",
|
|
296
|
+
title: "List emails",
|
|
297
|
+
annotations: { readOnlyHint: true },
|
|
296
298
|
requires: "network",
|
|
297
299
|
description:
|
|
298
300
|
"List the user's mailbox (their <userId>@mosadd.com inbox/outbox) newest-first, with sender, subject, status and a short snippet. Filter by direction ('inbound' = received, 'outbound' = sent). Use the returned next_cursor with `before` to page through older mail. Call mAYL_view to read a full message body.",
|
|
@@ -301,6 +303,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
301
303
|
},
|
|
302
304
|
{
|
|
303
305
|
name: "mAYL_send",
|
|
306
|
+
title: "Send email",
|
|
307
|
+
annotations: { readOnlyHint: false },
|
|
304
308
|
requires: "network",
|
|
305
309
|
description:
|
|
306
310
|
"Send an email from the user's mosadd address (<userId>@mosadd.com). Pass body_text or body_html (or both). Supports cc, bcc, reply_to. Monitoring/legal options: tracking (open+click, default on; set false for no tracking), force_reader (stub email → recipient opens in mosadd's secure reader, unlocking print/copy/time-on-read tracking + revoke), watermark (recipient watermark visible in screenshots/prints), disclose_tracking (GDPR footer), auto_destruct ('1h'|'24h'|'7d').",
|
|
@@ -309,6 +313,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
309
313
|
},
|
|
310
314
|
{
|
|
311
315
|
name: "mAYL_view",
|
|
316
|
+
title: "Read an email",
|
|
317
|
+
annotations: { readOnlyHint: true },
|
|
312
318
|
requires: "network",
|
|
313
319
|
description: "Read the full body and metadata of an email by message_id.",
|
|
314
320
|
inputSchema: mp0st_view_input,
|
|
@@ -316,6 +322,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
316
322
|
},
|
|
317
323
|
{
|
|
318
324
|
name: "mAYL_delete",
|
|
325
|
+
title: "Delete email",
|
|
326
|
+
annotations: { destructiveHint: true },
|
|
319
327
|
requires: "network",
|
|
320
328
|
description:
|
|
321
329
|
"Delete one of the user's emails by message_id (from mAYL_list). Soft-delete — it stops showing in mAYL_list. Owner-scoped: only your own mail.",
|
|
@@ -324,6 +332,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
324
332
|
},
|
|
325
333
|
{
|
|
326
334
|
name: "mAYL_stats",
|
|
335
|
+
title: "Email delivery stats",
|
|
336
|
+
annotations: { readOnlyHint: true },
|
|
327
337
|
requires: "network",
|
|
328
338
|
description:
|
|
329
339
|
"Engagement summary for one sent email (by message_id): open_count, unique_opens, click_count, whether it was likely forwarded, first/last opened time, and a breakdown of tracked event types. Opens/clicks are real (tracking pixel + link-wrap); forward detection is best-effort (IP-subnet diversity). Owner-scoped.",
|
|
@@ -332,6 +342,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
332
342
|
},
|
|
333
343
|
{
|
|
334
344
|
name: "mAYL_events",
|
|
345
|
+
title: "Email event trail",
|
|
346
|
+
annotations: { readOnlyHint: true },
|
|
335
347
|
requires: "network",
|
|
336
348
|
description:
|
|
337
349
|
"Raw engagement timeline for one email (by message_id): every tracked event (pixel_open, link_click, forwarded, page_view, copy/print/focus signals) with timestamp, device type and link URL. Use mAYL_stats for the rollup; use this for the per-event detail. Owner-scoped.",
|
|
@@ -340,6 +352,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
340
352
|
},
|
|
341
353
|
{
|
|
342
354
|
name: "mAYL_metrics",
|
|
355
|
+
title: "Email engagement metrics",
|
|
356
|
+
annotations: { readOnlyHint: true },
|
|
343
357
|
requires: "network",
|
|
344
358
|
description:
|
|
345
359
|
"Mailbox-wide engagement aggregate across the user's sent mail: total_sent, opened_emails, open_rate_pct, total_opens, total_clicks, forwarded_emails. Owner-scoped.",
|
|
@@ -348,6 +362,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
348
362
|
},
|
|
349
363
|
{
|
|
350
364
|
name: "mAYL_revoke",
|
|
365
|
+
title: "Revoke a sent email",
|
|
366
|
+
annotations: { destructiveHint: true },
|
|
351
367
|
requires: "network",
|
|
352
368
|
description:
|
|
353
369
|
"Revoke (recall) a sent email's secure-reader access by message_id — the recipient can no longer open the full message via the mosadd reader link (Virtru-style recall, immediate). Pass restore:true to re-enable. HONEST LIMIT: cannot un-send or claw back content the recipient already read, copied, or screenshotted — only disables future reader access. Owner-scoped.",
|
|
@@ -356,6 +372,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
356
372
|
},
|
|
357
373
|
{
|
|
358
374
|
name: "mAYL_audit_export",
|
|
375
|
+
title: "Export signed audit report",
|
|
376
|
+
annotations: { readOnlyHint: true },
|
|
359
377
|
requires: "network",
|
|
360
378
|
description:
|
|
361
379
|
"Export a tamper-evident engagement audit report for one sent email (RMail-style): full event trail (opens, clicks, reader print/copy/forward signals) + totals, plus an HMAC-SHA256 signature over the canonical JSON so the report can be proven unaltered. For legal/compliance use. HONEST LIMIT: proves what mosadd observed; it is not a qualified delivery receipt (ERDS). Owner-scoped.",
|
|
@@ -364,6 +382,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
364
382
|
},
|
|
365
383
|
{
|
|
366
384
|
name: "mAYL_consent",
|
|
385
|
+
title: "Manage tracking opt-outs",
|
|
386
|
+
annotations: { readOnlyHint: false },
|
|
367
387
|
requires: "network",
|
|
368
388
|
description:
|
|
369
389
|
"Manage recipient tracking opt-outs (GDPR/ePrivacy). action 'list' = recipients who opted out of your tracking; 'check' {recipient} = whether one opted out; 'optin' {recipient} = re-enable. Recipients self-opt-out via the footer link in your tracked emails; mAYL_send then automatically sends them with NO pixel/link-wrap. Owner-scoped.",
|
|
@@ -372,6 +392,8 @@ export const mailTools: MosaddTool[] = [
|
|
|
372
392
|
},
|
|
373
393
|
{
|
|
374
394
|
name: "mAYL_notify",
|
|
395
|
+
title: "Engagement notifications feed",
|
|
396
|
+
annotations: { readOnlyHint: true },
|
|
375
397
|
requires: "network",
|
|
376
398
|
description:
|
|
377
399
|
"Recent engagement feed across ALL your sent mail — the 'who just opened/clicked my mail' notifications stream (opens, clicks, forwards, reader print/copy signals), newest first, each with the email subject + recipient. Poll: pass the returned `cursor` back as `since` to get only new activity. Owner-scoped.",
|
|
@@ -98,6 +98,8 @@ async function mDM_list_my_agents(
|
|
|
98
98
|
export const mdmAsAgentTools: MosaddTool[] = [
|
|
99
99
|
{
|
|
100
100
|
name: "mDM_send_as_agent",
|
|
101
|
+
title: "Send DM as your agent",
|
|
102
|
+
annotations: { readOnlyHint: false },
|
|
101
103
|
requires: "network",
|
|
102
104
|
description:
|
|
103
105
|
"Send a direct message AS ONE OF YOUR OWN AGENTS instead of as yourself. Use this when you are an " +
|
|
@@ -111,6 +113,8 @@ export const mdmAsAgentTools: MosaddTool[] = [
|
|
|
111
113
|
},
|
|
112
114
|
{
|
|
113
115
|
name: "mDM_list_my_agents",
|
|
116
|
+
title: "List your agents",
|
|
117
|
+
annotations: { readOnlyHint: true },
|
|
114
118
|
requires: "network",
|
|
115
119
|
description:
|
|
116
120
|
"List the agents you are allowed to speak as with mDM_send_as_agent — every live agent owned by " +
|
package/src/tools/mdm-voice.ts
CHANGED
|
@@ -179,6 +179,8 @@ async function mDM_voice_note(
|
|
|
179
179
|
export const mdmVoiceTools: MosaddTool[] = [
|
|
180
180
|
{
|
|
181
181
|
name: "mDM_call_start",
|
|
182
|
+
title: "Start a voice call",
|
|
183
|
+
annotations: { readOnlyHint: false },
|
|
182
184
|
requires: "network",
|
|
183
185
|
description:
|
|
184
186
|
"Start a 1:1 real-time voice (or video) call with a contact — the ordinary full-duplex phone-style call (NOT walkie-talkie mTALK, NOT PSTN mCALL). Creates a room, returns join credentials (token + media url), and drops a `call_invite` control message in the DM thread so the contact can answer. Set video:true for video.",
|
|
@@ -187,6 +189,8 @@ export const mdmVoiceTools: MosaddTool[] = [
|
|
|
187
189
|
},
|
|
188
190
|
{
|
|
189
191
|
name: "mDM_call_answer",
|
|
192
|
+
title: "Answer a voice call",
|
|
193
|
+
annotations: { readOnlyHint: false },
|
|
190
194
|
requires: "network",
|
|
191
195
|
description:
|
|
192
196
|
"Answer an incoming 1:1 call by its room_id (from the call_invite seen via mDM_list). Returns join credentials (token + media url) for the same room.",
|
|
@@ -195,6 +199,8 @@ export const mdmVoiceTools: MosaddTool[] = [
|
|
|
195
199
|
},
|
|
196
200
|
{
|
|
197
201
|
name: "mDM_call_end",
|
|
202
|
+
title: "End a voice call",
|
|
203
|
+
annotations: { readOnlyHint: false },
|
|
198
204
|
requires: "network",
|
|
199
205
|
description:
|
|
200
206
|
"End a 1:1 call. The audio leg ends when clients disconnect; pass `to` to also drop a `call_end` (hangup) control message in the contact's DM thread.",
|
|
@@ -203,6 +209,8 @@ export const mdmVoiceTools: MosaddTool[] = [
|
|
|
203
209
|
},
|
|
204
210
|
{
|
|
205
211
|
name: "mDM_voice_note",
|
|
212
|
+
title: "Leave a voice note",
|
|
213
|
+
annotations: { readOnlyHint: false },
|
|
206
214
|
requires: "network",
|
|
207
215
|
description:
|
|
208
216
|
"Send an asynchronous voice note to a contact: references an already-uploaded audio clip (audio_url) and posts it as a `voice_note` message in the DM thread. Use for fire-and-forget voice instead of a live call.",
|
package/src/tools/mdm.ts
CHANGED
|
@@ -413,6 +413,8 @@ async function mDM_delete(
|
|
|
413
413
|
export const mdmTools: MosaddTool[] = [
|
|
414
414
|
{
|
|
415
415
|
name: "mDM_list_contacts",
|
|
416
|
+
title: "List contacts",
|
|
417
|
+
annotations: { readOnlyHint: true },
|
|
416
418
|
requires: "any",
|
|
417
419
|
description:
|
|
418
420
|
"List the user's mosadd contacts. Returns identity_id (use this for mDM_send / mDM_list), account handle, display name, and contact state (pending, accepted, blocked).",
|
|
@@ -421,6 +423,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
421
423
|
},
|
|
422
424
|
{
|
|
423
425
|
name: "mDM_publish_keys",
|
|
426
|
+
title: "Publish encryption keys",
|
|
427
|
+
annotations: { readOnlyHint: false },
|
|
424
428
|
requires: "any",
|
|
425
429
|
description:
|
|
426
430
|
"Publish your mDM prekey bundle so other people can start an end-to-end-encrypted conversation with you. Run this once after sign-in (and to replenish one-time prekeys). Rides the same transport as messages, so it works over network or off-grid radio.",
|
|
@@ -429,6 +433,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
429
433
|
},
|
|
430
434
|
{
|
|
431
435
|
name: "mDM_send",
|
|
436
|
+
title: "Send encrypted DM",
|
|
437
|
+
annotations: { readOnlyHint: false },
|
|
432
438
|
requires: "any",
|
|
433
439
|
description:
|
|
434
440
|
"Send an END-TO-END-ENCRYPTED direct message via mosadd mDM. Pass `to` as the recipient's mosadd identity_id (look it up with mDM_list_contacts). Establishes an X3DH + Double Ratchet session on first contact (the recipient must have run mDM_publish_keys). Optional thread_label puts the message in a named thread — mosadd USP: multiple threads per contact, unlike WhatsApp/Telegram. If the recipient has no published keys yet, use mDM_send_unencrypted.",
|
|
@@ -437,6 +443,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
437
443
|
},
|
|
438
444
|
{
|
|
439
445
|
name: "mDM_send_unencrypted",
|
|
446
|
+
title: "Send unencrypted DM",
|
|
447
|
+
annotations: { readOnlyHint: false },
|
|
440
448
|
requires: "any",
|
|
441
449
|
description:
|
|
442
450
|
"DEPRECATED migration-window fallback: send a direct message WITHOUT end-to-end encryption (plaintext envelope). Only use when the recipient has not yet published prekeys (mDM_send fails with that hint). Prefer mDM_send. Will be removed once E2EE is universal.",
|
|
@@ -445,6 +453,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
445
453
|
},
|
|
446
454
|
{
|
|
447
455
|
name: "mDM_list",
|
|
456
|
+
title: "Read direct messages",
|
|
457
|
+
annotations: { readOnlyHint: true },
|
|
448
458
|
requires: "any",
|
|
449
459
|
description:
|
|
450
460
|
"List recent direct messages with a specific contact. Pass contact_id as the identity_id from mDM_list_contacts. Decrypts end-to-end-encrypted messages from the contact automatically; legacy plaintext messages are shown as-is. Optionally filter to a single thread_label.",
|
|
@@ -453,6 +463,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
453
463
|
},
|
|
454
464
|
{
|
|
455
465
|
name: "mDM_respond_request",
|
|
466
|
+
title: "Accept or decline contact request",
|
|
467
|
+
annotations: { readOnlyHint: false },
|
|
456
468
|
requires: "any",
|
|
457
469
|
description:
|
|
458
470
|
"Accept or reject an incoming DM request from a contact who is not yet in the user's whitelist.",
|
|
@@ -461,6 +473,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
461
473
|
},
|
|
462
474
|
{
|
|
463
475
|
name: "mDM_edit",
|
|
476
|
+
title: "Edit a DM",
|
|
477
|
+
annotations: { destructiveHint: true },
|
|
464
478
|
requires: "any",
|
|
465
479
|
description:
|
|
466
480
|
"Edit a direct message you sent — replace its body by message_id (pass the conversation's `to` so it can be located). NOTE: end-to-end-encrypted messages CANNOT be edited (the ratchet is forward-only) — mDM_edit refuses them and you should mDM_delete + mDM_send a replacement instead. Only legacy non-E2EE messages are editable.",
|
|
@@ -469,6 +483,8 @@ export const mdmTools: MosaddTool[] = [
|
|
|
469
483
|
},
|
|
470
484
|
{
|
|
471
485
|
name: "mDM_delete",
|
|
486
|
+
title: "Delete a DM",
|
|
487
|
+
annotations: { destructiveHint: true },
|
|
472
488
|
requires: "any",
|
|
473
489
|
description:
|
|
474
490
|
"Delete a direct message you sent by message_id (from mDM_list). Soft-deletes server-side so it stops showing in mDM_list for both sides.",
|