@mosadd/mcp 3.0.0 → 3.0.1
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/CHANGELOG.md +415 -410
- package/LICENSE +21 -0
- package/dist/bin/mcp.js +1 -1
- package/dist/{chunk-VMMJJYXF.js → chunk-J2S44U5R.js} +52 -27
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/__tests__/blob-upload.test.ts +1 -1
- package/src/__tests__/{flota-jawnie.test.ts → fleet-plaintext.test.ts} +59 -60
- package/src/__tests__/integration.test.ts +1 -1
- package/src/__tests__/mdm-e2ee.test.ts +3 -3
- package/src/__tests__/mdm-mcp-readable.test.ts +95 -95
- package/src/__tests__/mirc-invite.test.ts +1 -1
- package/src/__tests__/mirc-voice.test.ts +82 -0
- package/src/__tests__/mrag-search-diagnostics.test.ts +78 -0
- package/src/__tests__/presence.test.ts +2 -2
- package/src/__tests__/server.test.ts +3 -3
- package/src/__tests__/tool-count-consistency.test.ts +4 -4
- package/src/crypto/channel-e2ee.ts +1 -1
- package/src/crypto/mdm-session.ts +14 -14
- package/src/providers/supabase-dm.ts +1 -1
- package/src/providers/supabase.ts +8 -8
- package/src/server.ts +4 -4
- package/src/tools/channel-payload.ts +3 -3
- package/src/tools/index.ts +13 -13
- package/src/tools/knowledge.ts +384 -351
- package/src/tools/mail-aliases.ts +1 -1
- package/src/tools/mail-provenance.ts +1 -1
- package/src/tools/mdm-as-agent.ts +3 -4
- package/src/tools/mdm.ts +15 -13
- package/src/tools/mirc-edge.ts +4 -4
- package/src/tools/mirc-members.ts +1 -1
- package/src/tools/mirc-messages.ts +36 -12
- package/src/tools/mirc.ts +1 -1
- package/src/tools/mroom-messages.ts +1 -1
- package/src/tools/presence.ts +10 -10
- package/src/tools/ptt-ingest.ts +1 -1
- package/src/tools/threat.ts +1 -1
- package/src/tools/voice-format.ts +30 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* mDM end-to-end encryption — session layer
|
|
2
|
+
* mDM end-to-end encryption — session layer.
|
|
3
3
|
*
|
|
4
4
|
* Sits ABOVE the DmProvider. The provider moves opaque bytes; THIS module
|
|
5
5
|
* decides what those bytes are: an X3DH handshake + Double Ratchet ciphertext
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* run X3DH (responder) and derive the SAME root key.
|
|
14
14
|
* - Subsequent messages reuse the stored ratchet session (no header).
|
|
15
15
|
*
|
|
16
|
-
* SCOPE / known follow-ups (tracked
|
|
16
|
+
* SCOPE / known follow-ups (tracked, NOT silently hidden):
|
|
17
17
|
* - Ratchet is strict in-order (no skipped-message keys) — fine for a single
|
|
18
18
|
* ordered thread; out-of-order/lossy transports need skipped-key handling.
|
|
19
19
|
* - Signed-prekey signature is carried but NOT yet verified (auth follow-up).
|
|
@@ -52,7 +52,7 @@ import type { DmProvider } from "@mosadd/providers";
|
|
|
52
52
|
export const PREKEY_BUNDLE_VERSION = "mosadd.prekeys.v1" as const;
|
|
53
53
|
/** Legacy symmetric-ratchet envelope (no PCS). Still DECODED for back-compat. */
|
|
54
54
|
export const E2EE_ENVELOPE_VERSION = "mosadd.e2ee.v1" as const;
|
|
55
|
-
/** Double-Ratchet-with-DH envelope — post-compromise security
|
|
55
|
+
/** Double-Ratchet-with-DH envelope — post-compromise security. New sends use this. */
|
|
56
56
|
export const E2EE_ENVELOPE_VERSION_V2 = "mosadd.e2ee.v2" as const;
|
|
57
57
|
|
|
58
58
|
const DEFAULT_ONE_TIME_PREKEYS = 8;
|
|
@@ -96,7 +96,7 @@ export interface PublicPrekeyBundle {
|
|
|
96
96
|
*/
|
|
97
97
|
export interface MdmSessionRecord {
|
|
98
98
|
ratchet?: RatchetState; // v1 (legacy symmetric)
|
|
99
|
-
ratchet2?: DhRatchetState; // v2 (DH ratchet, PCS
|
|
99
|
+
ratchet2?: DhRatchetState; // v2 (DH ratchet, PCS)
|
|
100
100
|
role: SessionRole;
|
|
101
101
|
/** Handshake header still owed to the peer (initiator only, until first send). */
|
|
102
102
|
pendingHandshake?: { ik: Uint8Array; ek: Uint8Array; opkId?: number };
|
|
@@ -194,7 +194,7 @@ function randomId(): number {
|
|
|
194
194
|
|
|
195
195
|
// ---- Seed-backed keystore: ONE stable identity, not a new one per call ----
|
|
196
196
|
//
|
|
197
|
-
// ⛔ WHY (measured 27.09.2026,
|
|
197
|
+
// ⛔ WHY (measured 27.09.2026, follow-up fix): the hosted gateway builds a fresh
|
|
198
198
|
// McpServer per HTTP request, so the default InMemoryMdmKeyStore minted a BRAND-NEW random
|
|
199
199
|
// identity for every single mDM_send. Every envelope carried an X3DH header from an identity
|
|
200
200
|
// that existed for one request and was never published — the sender could never read its own
|
|
@@ -202,7 +202,7 @@ function randomId(): number {
|
|
|
202
202
|
// written (it needs the sender's PUBLISHED identity). The app (mosADD f95557f) now says WHY such
|
|
203
203
|
// a bubble is unreadable; this is the source fix, so new messages are born readable.
|
|
204
204
|
//
|
|
205
|
-
// The fix mirrors the web client exactly (apps/web/src/lib/mdmKeyStore.ts
|
|
205
|
+
// The fix mirrors the web client exactly (apps/web/src/lib/mdmKeyStore.ts): the
|
|
206
206
|
// whole identity is derived by HKDF from ONE recoverable 32-byte seed, with the SAME labels, zero
|
|
207
207
|
// one-time prekeys and signed-prekey id 1 — so the bundle is byte-identical on every process that
|
|
208
208
|
// knows the seed. The web takes its seed from the login secret; an MCP runtime has no password,
|
|
@@ -451,20 +451,20 @@ export interface BundlePolicy {
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
|
-
* ⛔ WHO MAY WRITE THE KEY DIRECTORY FROM MCP (27.09.2026,
|
|
454
|
+
* ⛔ WHO MAY WRITE THE KEY DIRECTORY FROM MCP (27.09.2026, fix after independent verification of the mDM gateway path).
|
|
455
455
|
*
|
|
456
456
|
* The MCP identity is seeded from ONE API key. A mosADD identity has MANY active keys (every OAuth
|
|
457
|
-
* connector mints its own — measured 27.09: 7 of 17 agent identities hold several,
|
|
457
|
+
* connector mints its own — measured 27.09: 7 of 17 agent identities hold several, one of them
|
|
458
458
|
* 8, all used within 3 days). A per-key identity that is allowed to (re)publish therefore makes the
|
|
459
459
|
* directory FLAP between up to 8 identities: copies sealed under key A stop opening once key B
|
|
460
460
|
* published, and envelopes sealed to "the" bundle open on one key only. So:
|
|
461
461
|
*
|
|
462
|
-
* - kind "agent": an agent LINE sends
|
|
463
|
-
*
|
|
462
|
+
* - kind "agent": an agent LINE sends IN THE CLEAR (plaintext) — owner decision 20.09 "no internal
|
|
463
|
+
* E2EE": line↔line, line↔owner and person→line all without E2EE; the app does the same
|
|
464
464
|
* (ircApi.ts peerIsAgent). An agent never needs a bundle for mDM_send, so the AUTOMATIC paths
|
|
465
465
|
* write nothing. Only an explicit mDM_publish_keys still publishes (the caller asked for it).
|
|
466
466
|
* - kind "human": the person's bundle is anchored to their login secret IN THE APP
|
|
467
|
-
* (mdmKeyStore.setIdentitySeed;
|
|
467
|
+
* (mdmKeyStore.setIdentitySeed; rule in hub-key-exchange: only the identity's own client
|
|
468
468
|
* publishes). MCP never replaces it and never pre-empts it on an empty directory automatically
|
|
469
469
|
* — a bundle published from an API-key seed would be overwritten by the app later and strand
|
|
470
470
|
* everything sealed to it meanwhile. Explicit mDM_publish_keys may fill an EMPTY directory.
|
|
@@ -701,7 +701,7 @@ export async function encryptForPeer(
|
|
|
701
701
|
oneTimePreKeyPublicKey: opk?.publicKey,
|
|
702
702
|
});
|
|
703
703
|
// New sessions use the DH ratchet (v2 / PCS). The initial remote ratchet key
|
|
704
|
-
// is the peer's signed prekey (the X3DH→DR handoff).
|
|
704
|
+
// is the peer's signed prekey (the X3DH→DR handoff).
|
|
705
705
|
const ratchet2 = await initRatchetInitiator(rootKey, peer.signedPrekey.publicKey);
|
|
706
706
|
session = {
|
|
707
707
|
ratchet2,
|
|
@@ -787,7 +787,7 @@ export async function decryptFromPeer(
|
|
|
787
787
|
peerId: string,
|
|
788
788
|
envelopeBytes: Uint8Array,
|
|
789
789
|
): Promise<Uint8Array> {
|
|
790
|
-
// v2 (DH ratchet / PCS)
|
|
790
|
+
// v2 (DH ratchet / PCS).
|
|
791
791
|
if (peekEnvelopeVersion(envelopeBytes) === E2EE_ENVELOPE_VERSION_V2) {
|
|
792
792
|
const env = parseEnvelopeV2(envelopeBytes);
|
|
793
793
|
let session = await keystore.getSession(peerId);
|
|
@@ -833,7 +833,7 @@ export async function decryptFromPeer(
|
|
|
833
833
|
if (step.messageIndex !== env.i) {
|
|
834
834
|
throw new Error(
|
|
835
835
|
`Out-of-order mDM message (expected ratchet index ${step.messageIndex}, got ${env.i}). ` +
|
|
836
|
-
`Skipped-key handling is a tracked follow-up
|
|
836
|
+
`Skipped-key handling is a tracked follow-up.`,
|
|
837
837
|
);
|
|
838
838
|
}
|
|
839
839
|
const plaintext = await decryptBytes(step.messageKey, env.ct);
|
|
@@ -86,7 +86,7 @@ export class SupabaseDmProvider implements DmProvider {
|
|
|
86
86
|
* `identities.kind` of a PEER, or null when it cannot be read (RLS can_see_identity scopes rows
|
|
87
87
|
* to contacts / thread co-members; a miss is not an error). mDM_send uses it exactly like the
|
|
88
88
|
* app's ChatPanel `peerIsAgent` (theirIdent.kind === 'agent' || iAmAgent): a DM to an agent
|
|
89
|
-
* line is sent in the clear, because the line must read it (
|
|
89
|
+
* line is sent in the clear, because the line must read it (owner decision 20.09).
|
|
90
90
|
*/
|
|
91
91
|
async peerKind(peerId: string): Promise<string | null> {
|
|
92
92
|
try {
|
|
@@ -114,18 +114,18 @@ export function getSupabase(env: SupabaseEnv = readSupabaseEnv()): SupabaseClien
|
|
|
114
114
|
autoRefreshToken: false,
|
|
115
115
|
detectSessionInUrl: false,
|
|
116
116
|
},
|
|
117
|
-
// ⛔ x-mosadd-origin:
|
|
118
|
-
//
|
|
119
|
-
//
|
|
120
|
-
// hub-key-exchange
|
|
121
|
-
//
|
|
122
|
-
//
|
|
117
|
+
// ⛔ x-mosadd-origin: EVERY call from the toolkit / MCP gateway carries this marker (2026-08-25,
|
|
118
|
+
// after agent sessions were found speaking as their owner). Agent sessions plugged in the OWNER's
|
|
119
|
+
// key and posted on channels from the owner's own bubble — the server had NO WAY to tell the gateway
|
|
120
|
+
// from the app, because hub-key-exchange returns an ordinary user JWT. This header tells them apart:
|
|
121
|
+
// message-send refuses a channel post from a PERSON's identity when it came through the gateway, with
|
|
122
|
+
// a message telling the caller to plug in its OWN line's key. The mosadd.com app never sends this header.
|
|
123
123
|
global: {
|
|
124
124
|
headers: {
|
|
125
125
|
...(env.userJwt ? { Authorization: `Bearer ${env.userJwt}` } : {}),
|
|
126
126
|
"x-mosadd-origin": "hub-gateway",
|
|
127
|
-
//
|
|
128
|
-
//
|
|
127
|
+
// The header only when the session HAS an identity — an empty "" (gateway without sessionKey) sends
|
|
128
|
+
// nothing, so the server-side 409 guard sees no false claims.
|
|
129
129
|
...(sessionId() ? { "x-mosadd-session": sessionId() } : {}),
|
|
130
130
|
// ⛔ KTÓRA TO SESJA (2026-08-27, „każdy generał co chwilę gubi mózg"). Wszyscy generałowie
|
|
131
131
|
// wpinają się kluczem hub TEGO SAMEGO właściciela, więc dla serwera ich wywołania były
|
package/src/server.ts
CHANGED
|
@@ -78,9 +78,9 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
78
78
|
// etc.) and never blocks startup. Uses the SAME keystore the tools use, so the
|
|
79
79
|
// published identity matches what mDM_send/encryptForPeer will use this process.
|
|
80
80
|
//
|
|
81
|
-
// ⛔ ENSURE, NOT BLIND PUBLISH (27.09.2026,
|
|
81
|
+
// ⛔ ENSURE, NOT BLIND PUBLISH (27.09.2026, fix after verification): the policy is
|
|
82
82
|
// bundlePolicyForKind — the SAME one mDM_send uses. Agent line: writes NOTHING (it sends in the
|
|
83
|
-
// clear,
|
|
83
|
+
// clear, owner decision 20.09; a per-key bundle from each of its keys only made the directory flap).
|
|
84
84
|
// Human: writes NOTHING (the app owns that bundle). Unknown kind (e.g. radio): empty -> publish.
|
|
85
85
|
if (options.autoPublishKeys) {
|
|
86
86
|
void (async () => {
|
|
@@ -98,7 +98,7 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
98
98
|
// Human-facing identity of the server itself (initialize result). The icon URLs
|
|
99
99
|
// point at the LIVE gateway origin on purpose: clients that honour serverInfo.icons
|
|
100
100
|
// get the brand mark without scraping the favicon, and the files ship with
|
|
101
|
-
// the gateway's public/ folder (
|
|
101
|
+
// the gateway's public/ folder (brand rule of 2026-08-26 — generated by m0ssad-3 scripts/
|
|
102
102
|
// generate-brand-icons.py, never hand-edited).
|
|
103
103
|
title: "mosADD — omnichannel messenger for agents",
|
|
104
104
|
websiteUrl: "https://mosadd.com",
|
|
@@ -137,7 +137,7 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
|
|
|
137
137
|
const parsed = tool.inputSchema.parse(input);
|
|
138
138
|
try {
|
|
139
139
|
const result = await tool.handler(parsed as never, ctx);
|
|
140
|
-
// AUTO-
|
|
140
|
+
// AUTO-PAIRING (08-26): a LIVE session that is actually WORKING holds its line —
|
|
141
141
|
// the founder spent a week talking to cloud stand-ins because models never
|
|
142
142
|
// remembered the attach handshake. Fire-and-forget, throttled inside, never blocks
|
|
143
143
|
// the tool's own response; see autoBeatFromActivity for which line gets the beat.
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* channel-payload — stored channel/room payload (base64) → the text a reader should see.
|
|
3
3
|
*
|
|
4
4
|
* Plaintext for agent lines since 29.09 (owner decision 28.09: no encryption on agent-line conversations,
|
|
5
|
-
* in any channel or identity).
|
|
6
|
-
* yet every line reading them through this gateway saw the
|
|
5
|
+
* in any channel or identity). The fleet's ops channels are OPEN channels with no group key,
|
|
6
|
+
* yet every line reading them through this gateway saw the owner's posts as "<ciphertext>". Nothing
|
|
7
7
|
* was encrypted: the app stores channel text as plain UTF-8 in base64 (apps/web ircApi.ts
|
|
8
8
|
* `encodePayload`), while the old decoder here understood ONLY a JSON `mosadd.chat.v1` envelope
|
|
9
|
-
* and stamped everything else "<ciphertext>". Measured 28.09–29.09 on
|
|
9
|
+
* and stamped everything else "<ciphertext>". Measured 28.09–29.09 on an open ops channel.
|
|
10
10
|
*
|
|
11
11
|
* Rule now (same as mdm.ts `unpackPayload` and the mKEEPER bridge `decodePayload.mjs`):
|
|
12
12
|
* - JSON envelope with `text` → that text (toolkit posts, unchanged)
|
package/src/tools/index.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tool registry. Each m* module contributes a set of tools.
|
|
3
3
|
*
|
|
4
|
-
* User-facing modules (4): mDM, mIRC, mURL, mAYL — the re-arch
|
|
4
|
+
* User-facing modules (4): mDM, mIRC, mURL, mAYL — the re-arch
|
|
5
5
|
* mAYL replaces the old mp0st name (mp0st_* still registered as back-compat
|
|
6
6
|
* aliases via mail-aliases.ts; will be removed in a later alpha).
|
|
7
7
|
*
|
|
8
8
|
* Capabilities (not modules — cross-cutting agent tooling): mRAG, comms_.
|
|
9
9
|
* mTALK = voice tier inside mIRC, still its own tools for now; folding into
|
|
10
10
|
* mIRC_voice_* in a follow-up release. threat_* (threat_catalog + threat_classify)
|
|
11
|
-
* are REGISTERED (2026-07-15, founder directive
|
|
11
|
+
* are REGISTERED (2026-07-15, founder directive): pure/offline
|
|
12
12
|
* defensive classification over the threat taxonomy — the surveillance-era
|
|
13
13
|
* *marketing* was killed, the classification engine is real and wanted.
|
|
14
14
|
*
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* when the alpha carrying mIRC_invite is published and the gateway redeployed):
|
|
19
19
|
* modules mDM 16 · mIRC 25 · mURL 7 · mAYL 16 = 64; capabilities mTALK 6 · mRAG 8 ·
|
|
20
20
|
* comms 5 (action_create/action_frame_get/embed_create/capabilities/session_attach) · Irondome/threat 2
|
|
21
|
-
* = 21. 64 + 21 = 85. (mIRC 25 = 24 + mIRC_invite added 2026-09-03
|
|
21
|
+
* = 21. 64 + 21 = 85. (mIRC 25 = 24 + mIRC_invite added 2026-09-03: mIRC_join adds the KEY's
|
|
22
22
|
* identity while channel posts are signed by the AGENT, so every channel created from the toolkit was mute
|
|
23
23
|
* until its agent was added from the app — mIRC_invite wraps channel-members-manage `invite`: own agent →
|
|
24
24
|
* auto_joined, anyone else → invite code. mDM 16 = 14 + mDM_send_as_agent/mDM_list_my_agents added 2026-08-17: an MCP key
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* mAYL_send_as_agent + mTALK_ingest_ptt were RE-REGISTERED 2026-07-29: both had been disabled
|
|
39
39
|
* on 07-14 notes that had since become false, and both were re-verified on authenticated calls.
|
|
40
40
|
* comms_embed_create RE-REGISTERED 2026-07-17 (embed.mosadd.com/v1.js live — P3 of mURL→mIRC).
|
|
41
|
-
* mROOM was KILLED (
|
|
41
|
+
* mROOM was KILLED (channel re-cut → ephemeral private mIRC): its tools
|
|
42
42
|
* live in tools/mroom.ts + mroom-messages.ts but are NOT registered here.
|
|
43
43
|
* Plus action links: comms_action_create (agent → user one-link browser action,
|
|
44
44
|
* incl. screen_share) + comms_action_frame_get (see the recipient's shared screen).
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
|
|
55
55
|
import type { MosaddTool } from "../types.js";
|
|
56
56
|
import { mdmTools } from "./mdm.js";
|
|
57
|
-
import { mdmAsAgentTools } from "./mdm-as-agent.js"; // mDM_send_as_agent + mDM_list_my_agents — 2026-08-17
|
|
57
|
+
import { mdmAsAgentTools } from "./mdm-as-agent.js"; // mDM_send_as_agent + mDM_list_my_agents — 2026-08-17: a key is bound to a USER, so an agent runtime connected with its owner's key spoke AS THE OWNER and had no thread with him. These let that session speak as an agent it OWNS (verified server-side in mdm-send-as-agent).
|
|
58
58
|
import { mdmVoiceTools } from "./mdm-voice.js";
|
|
59
59
|
import { mircTools } from "./mirc.js";
|
|
60
60
|
import { mircMembersTools } from "./mirc-members.js";
|
|
61
61
|
import { mircMessagesTools } from "./mirc-messages.js";
|
|
62
62
|
import { mircEdgeTools } from "./mirc-edge.js";
|
|
63
|
-
// import { mroomTools } from "./mroom.js"; // mROOM: killed
|
|
64
|
-
// import { mroomMessagesTools } from "./mroom-messages.js"; // mROOM: killed
|
|
63
|
+
// import { mroomTools } from "./mroom.js"; // mROOM: killed — not registered
|
|
64
|
+
// import { mroomMessagesTools } from "./mroom-messages.js"; // mROOM: killed — not registered
|
|
65
65
|
import { mailTools } from "./mail.js";
|
|
66
66
|
// import { mailAliasTools } from "./mail-aliases.js"; // mp0st_* aliases RETIRED 2026-07-15 (founder: unify on mAYL, drop the mp0st codename from every user-visible surface). Source kept for reference.
|
|
67
67
|
import { mailProvenanceTools } from "./mail-provenance.js"; // mAYL_send_as_agent — RE-REGISTERED 2026-07-29, see the note at the registry below
|
|
68
|
-
import { mailAgentboxTools } from "./mail-agentbox.js"; // mAYL_agentbox_*: agent mints/lists/releases its OWN two-way disposable inbox (backs mayl-agentbox EF). Added 2026-08-06 (
|
|
68
|
+
import { mailAgentboxTools } from "./mail-agentbox.js"; // mAYL_agentbox_*: agent mints/lists/releases its OWN two-way disposable inbox (backs mayl-agentbox EF). Added 2026-08-06 (Part B)
|
|
69
69
|
import { mtalkTools } from "./mtalk.js";
|
|
70
70
|
import { attachmentTools } from "./attachments.js";
|
|
71
71
|
import { pttIngestTools } from "./ptt-ingest.js"; // mTALK_ingest_ptt — RE-REGISTERED 2026-07-29, see the note at the registry below
|
|
@@ -75,7 +75,7 @@ import { knowledgeGraphTools } from "./knowledge-graph.js"; // mRAG_graph_* —
|
|
|
75
75
|
import { actionTools } from "./actions.js";
|
|
76
76
|
import { presenceTools } from "./presence.js"; // comms_session_attach — 2026-08-14: a live agent session claims the account's reply lane (agent_bridge_heartbeat), so the cloud stand-in defers to it. Replaces the PC-only bridge script as the ONLY writer of that signal.
|
|
77
77
|
import { embedTools } from "./embed.js"; // comms_embed_create RE-REGISTERED 2026-07-17: embed.mosadd.com/v1.js is LIVE (served by the mosadd Vercel project) — the widget + embed-keys/mirc-embed-token backend were already complete.
|
|
78
|
-
import { threatTools } from "./threat.js"; // threat_*: RE-REGISTERED 2026-07-15 (founder directive
|
|
78
|
+
import { threatTools } from "./threat.js"; // threat_*: RE-REGISTERED 2026-07-15 (founder directive). Pure/offline classification of the real Pegasus-class threat taxonomy — the engine DECIDES, the caller acts; no surveillance, no backend.
|
|
79
79
|
import { murlTools } from "./murl.js"; // mURL: REGISTERED — revived as a full dev module (founder 2026-06-27, re-arch). IRC-for-URLs, agent-native; backends live (mosadd-edge + murl-channels EF).
|
|
80
80
|
import { makeCapabilitiesTool } from "./capabilities.js";
|
|
81
81
|
|
|
@@ -88,8 +88,8 @@ const channelTools: MosaddTool[] = [
|
|
|
88
88
|
...mircMembersTools,
|
|
89
89
|
...mircMessagesTools,
|
|
90
90
|
...mircEdgeTools,
|
|
91
|
-
// ...mroomTools, // mROOM: killed
|
|
92
|
-
// ...mroomMessagesTools, // mROOM: killed
|
|
91
|
+
// ...mroomTools, // mROOM: killed — channel re-cut into ephemeral private mIRC
|
|
92
|
+
// ...mroomMessagesTools, // mROOM: killed
|
|
93
93
|
...mailTools, // mAYL_*: canonical email module (was the mp0st codename; renamed re-arch 2026-06-27)
|
|
94
94
|
// ...mailAliasTools, // mp0st_* aliases RETIRED 2026-07-15 — mAYL is the one name; the mp0st codename is now backend-internal only
|
|
95
95
|
// ⭐ mAYL_send_as_agent: RE-REGISTERED 2026-07-29 — proven end to end, without sending mail.
|
|
@@ -110,7 +110,7 @@ const channelTools: MosaddTool[] = [
|
|
|
110
110
|
// mAYL_agentbox_provision/list/release/extend — the agent mints/lists/releases/extends its OWN
|
|
111
111
|
// real, two-way, disposable inbox (agent-<hex>@mosadd.com). create_inbox parity with AgentMail,
|
|
112
112
|
// on our own stack + provenance. Backs the live mayl-agentbox EF; receive path landed 2026-08-06
|
|
113
|
-
// in mp0st-inbound-webhook
|
|
113
|
+
// in mp0st-inbound-webhook. Same requireUser auth as every other mAYL tool.
|
|
114
114
|
...mailAgentboxTools,
|
|
115
115
|
...mtalkTools,
|
|
116
116
|
...attachmentTools,
|
|
@@ -155,7 +155,7 @@ const channelTools: MosaddTool[] = [
|
|
|
155
155
|
...actionTools, // Action links (Tier 1): agent → user one-link browser action via action-create EF
|
|
156
156
|
...presenceTools, // comms_session_attach: THIS session owns the account's reply lane while it runs; the 24/7 cloud stand-in defers. Any session, any machine — no bespoke bridge on one PC.
|
|
157
157
|
...embedTools, // comms_embed_create: RE-REGISTERED 2026-07-17 — embed.mosadd.com/v1.js live; mints an embed key + paste-in snippet (mURL→mIRC rework P3)
|
|
158
|
-
...threatTools, // threat_catalog + threat_classify: RE-REGISTERED 2026-07-15 (founder directive
|
|
158
|
+
...threatTools, // threat_catalog + threat_classify: RE-REGISTERED 2026-07-15 (founder directive) — pure/offline, makes the Pegasus-class classification claim a live, callable capability
|
|
159
159
|
...murlTools, // mURL: revived as a full module (founder 2026-06-27) — read/post/presence/list_channels over live domain channels
|
|
160
160
|
// ...mcallTools, // mCALL: carrier-pending (no telephony carrier live) — re-register when a carrier is configured
|
|
161
161
|
// mirlTools,
|