@mosadd/mcp 3.0.0-alpha.30 → 3.0.0-alpha.31

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 CHANGED
@@ -8,6 +8,18 @@ gateway (Phase 2) ships.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [3.0.0-alpha.31] — 2026-07-17
12
+
13
+ ### Fixed
14
+ - **`mURL_create` / `mURL_update` branding validation.** The `branding` arg used
15
+ `z.record(z.any())` — the Zod v3 single-argument form — which fails typecheck under
16
+ this project's Zod v4, where `z.record` requires both a key and a value schema. Now
17
+ `z.record(z.string(), z.any())`. alpha.30 shipped with the pre-fix source; alpha.31
18
+ corrects it so the published package builds clean and validates branding correctly.
19
+ - **CI green (repo).** Synced the version refs (`server.json`, `server.ts` serverInfo,
20
+ `marketplace.json`) to `package.json`, and updated the MCP smoke test to expect
21
+ `mAYL_send` — the `mp0st_*` aliases were retired in alpha.28.
22
+
11
23
  ## [3.0.0-alpha.30] — 2026-07-17
12
24
 
13
25
  ### Added
package/dist/bin/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createMosaddServer
4
- } from "../chunk-6PGDNIKR.js";
4
+ } from "../chunk-P4ENU5MW.js";
5
5
  import {
6
6
  isSessionExpired,
7
7
  loadSession,
@@ -2173,7 +2173,7 @@ async function mURL_presence(input, ctx) {
2173
2173
  }
2174
2174
  var mURL_create_input = z14.object({
2175
2175
  domain: DomainArg,
2176
- branding: z14.record(z14.any()).optional().describe("Optional branding JSON (e.g. display name, colour, avatar URL) shown on the channel."),
2176
+ branding: z14.record(z14.string(), z14.any()).optional().describe("Optional branding JSON (e.g. display name, colour, avatar URL) shown on the channel."),
2177
2177
  status: z14.enum(["open", "claimed", "blocked"]).optional().describe("Initial status: 'open' (default) = public agent-native room; 'claimed' = registered as yours; 'blocked' = closed.")
2178
2178
  });
2179
2179
  async function mURL_create(input, ctx) {
@@ -2189,7 +2189,7 @@ async function mURL_create(input, ctx) {
2189
2189
  }
2190
2190
  var mURL_update_input = z14.object({
2191
2191
  domain: DomainArg,
2192
- branding: z14.record(z14.any()).optional().describe("New branding JSON to set on the channel."),
2192
+ branding: z14.record(z14.string(), z14.any()).optional().describe("New branding JSON to set on the channel."),
2193
2193
  status: z14.enum(["open", "claimed", "blocked"]).optional().describe("New status: 'claimed' to mark owned, 'blocked' to close the room, 'open' to reopen.")
2194
2194
  });
2195
2195
  async function mURL_update(input, ctx) {
@@ -2497,7 +2497,7 @@ function createMosaddServer(options = {}) {
2497
2497
  const server = new McpServer(
2498
2498
  {
2499
2499
  name: "mosadd",
2500
- version: "3.0.0-alpha.28"
2500
+ version: "3.0.0-alpha.31"
2501
2501
  },
2502
2502
  {
2503
2503
  capabilities: {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createMosaddServer,
5
5
  defaultProviders,
6
6
  runWithSupabaseEnv
7
- } from "./chunk-6PGDNIKR.js";
7
+ } from "./chunk-P4ENU5MW.js";
8
8
  import "./chunk-Z7WR52GE.js";
9
9
  export {
10
10
  TOOL_COUNT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mosadd/mcp",
3
- "version": "3.0.0-alpha.30",
3
+ "version": "3.0.0-alpha.31",
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 — 69 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",
@@ -39,9 +39,9 @@
39
39
  "@supabase/supabase-js": "^2.48.0",
40
40
  "zod": "^4.3.6",
41
41
  "@mosadd/crypto": "3.0.0-alpha.26",
42
- "@mosadd/providers": "3.0.0-alpha.26",
43
42
  "@mosadd/protocol": "3.0.0-alpha.26",
44
- "@mosadd/threat-engine": "3.0.0-alpha.26"
43
+ "@mosadd/threat-engine": "3.0.0-alpha.26",
44
+ "@mosadd/providers": "3.0.0-alpha.26"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^8.3.5",
package/src/server.ts CHANGED
@@ -60,7 +60,7 @@ export function createMosaddServer(options: MosaddServerOptions = {}) {
60
60
  const server = new McpServer(
61
61
  {
62
62
  name: "mosadd",
63
- version: "3.0.0-alpha.28",
63
+ version: "3.0.0-alpha.31",
64
64
  },
65
65
  {
66
66
  capabilities: {
package/src/tools/murl.ts CHANGED
@@ -177,7 +177,7 @@ async function mURL_presence(
177
177
  const mURL_create_input = z.object({
178
178
  domain: DomainArg,
179
179
  branding: z
180
- .record(z.any())
180
+ .record(z.string(), z.any())
181
181
  .optional()
182
182
  .describe("Optional branding JSON (e.g. display name, colour, avatar URL) shown on the channel."),
183
183
  status: z
@@ -203,7 +203,7 @@ async function mURL_create(
203
203
  // ── update (claim status / block / branding) ────────────────────────────────────
204
204
  const mURL_update_input = z.object({
205
205
  domain: DomainArg,
206
- branding: z.record(z.any()).optional().describe("New branding JSON to set on the channel."),
206
+ branding: z.record(z.string(), z.any()).optional().describe("New branding JSON to set on the channel."),
207
207
  status: z
208
208
  .enum(["open", "claimed", "blocked"])
209
209
  .optional()