@muxoai/platform 1.3.0 → 1.3.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.
Files changed (36) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +19 -4
  3. package/.codex/config.toml +9 -2
  4. package/README.md +54 -19
  5. package/dist/cli.js +780 -94
  6. package/dist/engine.d.ts +1 -0
  7. package/dist/engine.js +52 -4
  8. package/dist/mcp.d.ts +6 -1
  9. package/dist/mcp.js +108 -22
  10. package/dist/nl.js +60 -36
  11. package/dist/providers/composio-instant.d.ts +1 -0
  12. package/dist/providers/composio-instant.js +6 -5
  13. package/dist/providers/composio-sdk.d.ts +1 -0
  14. package/dist/providers/composio-sdk.js +6 -2
  15. package/dist/providers/stripe-billing.js +14 -4
  16. package/dist/providers/stripe-projects.js +61 -4
  17. package/dist/providers/supermemory.d.ts +2 -0
  18. package/dist/providers/supermemory.js +58 -40
  19. package/dist/server.js +85 -27
  20. package/dist/store.d.ts +1 -0
  21. package/dist/store.js +20 -4
  22. package/dist/ui/console-html.js +134 -114
  23. package/package.json +1 -1
  24. package/plugins/muxo/.app.json +1 -1
  25. package/plugins/muxo/.claude-plugin/plugin.json +2 -2
  26. package/plugins/muxo/.codex-plugin/plugin.json +7 -5
  27. package/plugins/muxo/.mcp.json +1 -33
  28. package/plugins/muxo/assets/logo.png +0 -0
  29. package/plugins/muxo/hooks/session-start.sh +1 -1
  30. package/plugins/muxo/plugin.json +63 -6
  31. package/plugins/muxo/skills/muxo/SKILL.md +92 -14
  32. package/plugins/muxo/skills/muxo/agents/openai.yaml +12 -0
  33. package/plugins/muxo/skills/muxo/references/cli.md +4 -2
  34. package/plugins/muxo/skills/muxo/references/mcp.md +15 -9
  35. package/plugins/muxo/skills/setup/SKILL.md +8 -2
  36. package/plugins/muxo/skills/setup/agents/openai.yaml +12 -0
@@ -6,7 +6,7 @@
6
6
  "plugins": [
7
7
  {
8
8
  "name": "muxo",
9
- "version": "1.2.3",
9
+ "version": "1.3.1",
10
10
  "description": "Governed execution across 1,000+ Connected Apps, Instant Tools (search, scrape, crawl, SEO audit), Cloud Infrastructure provisioning, Supermemory v5 recall, and Microsoft Agent Governance Ed25519 receipts.",
11
11
  "source": {
12
12
  "source": "local",
@@ -1,17 +1,32 @@
1
1
  {
2
2
  "name": "muxo",
3
+ "description": "Official Muxo plugin marketplace for governed execution across Connected Apps, Instant Tools, Cloud Infrastructure, and Workspace Memory.",
3
4
  "owner": {
4
5
  "name": "Muxo",
5
6
  "email": "founders@muxo.ai",
6
7
  "url": "https://muxo.ai"
7
8
  },
9
+ "metadata": {
10
+ "description": "Official Muxo plugin marketplace for governed execution across Connected Apps, Instant Tools, Cloud Infrastructure, and Workspace Memory.",
11
+ "version": "1.3.1"
12
+ },
8
13
  "plugins": [
9
14
  {
10
15
  "name": "muxo",
11
- "source": "./plugins/muxo",
12
- "description": "Governed execution across 1,000+ Connected Apps, Instant Tools (search, scrape, crawl, SEO audit), Cloud Infrastructure provisioning, Supermemory v5 recall, and Microsoft Agent Governance Ed25519 receipts.",
13
- "version": "1.2.3",
14
- "category": "Productivity"
16
+ "source": {
17
+ "source": "npm",
18
+ "package": "@muxoai/cli"
19
+ },
20
+ "strict": false,
21
+ "description": "Governed execution across 1,000+ Connected Apps, Instant Tools (search, scrape, crawl, SEO audit), Cloud Infrastructure provisioning, Workspace Memory recall, and verifiable audit records.",
22
+ "version": "1.3.1",
23
+ "category": "Productivity",
24
+ "skills": [
25
+ "./plugins/muxo/skills/muxo",
26
+ "./plugins/muxo/skills/setup"
27
+ ],
28
+ "hooks": "./plugins/muxo/hooks/hooks.json",
29
+ "mcpServers": "./plugins/muxo/.mcp.json"
15
30
  }
16
31
  ]
17
32
  }
@@ -1,5 +1,12 @@
1
- # OpenAI Codex Local Plugin Configuration for Muxo
2
- # Reference: https://developers.openai.com/plugins/build/plugins
1
+ # OpenAI Codex Configuration for Muxo
2
+ # Reference: https://developers.openai.com/codex/plugins
3
3
 
4
4
  [plugins."muxo@muxo"]
5
5
  enabled = true
6
+
7
+ # TOML MCP Alternative (~/.codex/config.toml):
8
+ [mcp_servers.muxo]
9
+ url = "https://api.muxo.ai/mcp"
10
+ # Or for local stdio proxy (requires Node.js 22+):
11
+ # command = "npx"
12
+ # args = ["-y", "@muxoai/cli@latest", "mcp"]
package/README.md CHANGED
@@ -1,25 +1,27 @@
1
1
  # Muxo (`@muxoai/platform` / `@muxoai/cli` / `@muxoai/sdk`)
2
2
 
3
- Muxo (`v1.3.0`) is the unified execution, cloud infrastructure provisioning, contextual memory, and cryptographic governance platform for AI agents and applications. Customers and their agents interact exclusively with **Muxo** — either via structured tool slugs or free-form **Natural Language** (`muxo do`, `POST /api/v1/do`, `client.do()`, and MCP `plan_action`).
3
+ Muxo (`v1.3.1`) is the unified execution, cloud infrastructure provisioning, contextual memory, and cryptographic governance platform for AI agents and applications. Customers and their agents interact exclusively with **Muxo** — either via structured tool slugs or free-form **Natural Language** (`muxo do`, `POST /api/v1/do`, `client.do()`, and MCP `plan_action`).
4
4
 
5
5
  See [`ARCHITECTURE.md`](./ARCHITECTURE.md) for the complete internal engineering blueprint, open-source ecosystem Keep/Adopt/Drop matrix, and 4-pillar architecture.
6
6
 
7
7
  Under the hood, Muxo unifies **four core pillars** plus **Natural Language Routing** and **BYOK (Bring Your Own Key) 0-Credit Execution** behind one **19-operation MCP contract**, OpenAI Plugin (`agent-plugins.org/1.0.0`), REST API, Interactive CLI/TUI (`@muxoai/cli`), TypeScript SDK (`@muxoai/sdk`), and Web Console (`https://app.muxo.ai`):
8
8
 
9
- 1. **Composio Connected Apps (`app.*`) & Instant (`instant.*`)** — Managed OAuth SaaS integrations (`app.github.*`, `app.gmail.*`, `app.slack.*`, `app.notion.*`, `app.linear.*`) with live browser OAuth handoff (`wait_for_connection`), zero-OAuth instant capabilities (`instant.web.search`, `instant.web.scrape`, `instant.web.crawl`, `instant.seo.audit`, `instant.hackernews.top_stories`, `instant.github.repo_intel`, `instant.dns.lookup`, `instant.composio.workbench`), plus **Autonomous 2-Call Agent Signup & Claim** (`POST /api/v1/agents/signup` + `POST /api/v1/agents/claim`).
10
- 2. **Stripe Projects Cloud Infrastructure (`resource.*`) + Merchant-of-Record Billing (`muxo_funded`) & BYOK (`byok`)** — Governed cloud resource provisioning across 60+ providers (`Turso`, `Neon`, `Supabase`, `Cloudflare`, `Vercel`, `Upstash`, `Resend`, `Railway`, `Render`, etc.) with automatic companion plan resolution, AES-256-GCM encrypted secret custody (`muxo env pull`), unified credit settlement (`muxo_funded`), and **0-credit BYOK mode** (`muxo byok set <provider>`) when you bring your own supplier or LLM API keys.
11
- 3. **Supermemory v5 Contextual Brain (`/ns/muxo-v5-*`)** — Isolated per-workspace long-term static facts, dynamic session context, and hybrid semantic search recalled before every tool plan (`plan_action` & `get_run_context`), with strict secret redaction before memory ingestion.
12
- 4. **Microsoft Agent Governance Toolkit (`@microsoft/agent-governance-sdk` v5.0.0)** — Every planned and executed operation passes through `Agent ──► McpSecurityScanner ──► PolicyEngine ──► AgentIdentity (Ed25519 DID) ──► AuditLogger (SHA-256 chain) ──► DecisionRecord` and produces an HMAC-SHA256 verifiable receipt.
9
+ 1. **Connected Apps (`app.*`) & Instant Tools (`instant.*`)** — Managed OAuth SaaS integrations (`app.github.*`, `app.gmail.*`, `app.slack.*`, `app.notion.*`, `app.linear.*`) with live browser OAuth handoff (`wait_for_connection`), zero-OAuth instant capabilities (`instant.web.search`, `instant.web.scrape`, `instant.web.crawl`, `instant.seo.audit`, `instant.hackernews.top_stories`, `instant.github.repo_intel`, `instant.dns.lookup`, `instant.composio.workbench`), plus **CLI-first Autonomous 2-Call Agent Signup & Claim** (`POST /api/v1/agents/signup` + `POST /api/v1/agents/claim`).
10
+ 2. **Cloud Infrastructure (`resource.*`) + Unified Credit Billing (`muxo_funded`) & BYOK (`byok`)** — Governed cloud resource provisioning across 60+ providers (`Turso`, `Neon`, `Supabase`, `Cloudflare`, `Vercel`, `Upstash`, `Resend`, `Railway`, `Render`, etc.) with automatic companion plan resolution, AES-256-GCM encrypted secret custody (`muxo env pull`), unified credit settlement (`muxo_funded`), and **0-credit BYOK mode** (`muxo byok set <provider>`) when you bring your own supplier or LLM API keys.
11
+ 3. **Workspace Memory (`/ns/muxo-v5-*`)** — Isolated per-workspace long-term static facts, dynamic session context, and hybrid semantic search recalled before every tool plan (`plan_action` & `get_run_context`), with strict secret redaction before memory ingestion.
12
+ 4. **Safety & Approvals (Muxo Guardrails)** — Every planned and executed operation passes through prompt-injection security scanning, workspace policy evaluation, cryptographic agent identity (`did:agent:muxo:*`), and produces a verifiable execution audit record.
13
13
 
14
14
  ---
15
15
 
16
16
  ## Install & Quickstart (Humans, Harnesses & Agents)
17
17
 
18
+ > **Requirement:** `@muxoai/cli` requires **Node.js 22+** (`node >= 22.0.0`).
19
+
18
20
  ```bash
19
- # 1. Install the Muxo CLI or run directly via npx
21
+ # 1. Install the Muxo CLI or run directly via npx (requires Node.js 22+)
20
22
  npm install -g @muxoai/cli@latest
21
23
 
22
- # 2. Zero-browser autonomous signup (creates ~/.muxo/config.json with mk_live_* key + 250 starter credits)
24
+ # 2. CLI-first autonomous signup against the hosted workspace (creates ~/.muxo/config.json with mk_live_* key + 250 starter credits)
23
25
  muxo login --signup --name "my-agent"
24
26
 
25
27
  # 3. Launch the Interactive Terminal TUI (Natural Language bar, BYOK Vault, Billing & Status)
@@ -40,23 +42,56 @@ muxo billing status
40
42
  muxo billing topup 1000
41
43
  muxo billing upgrade
42
44
 
43
- # 7. Connect an OAuth SaaS App & Provision Live Cloud Infrastructure
45
+ # 7. Connect an OAuth SaaS App (browser consent handoff) & Provision Live Cloud Infrastructure
44
46
  muxo link gmail --wait
45
47
  muxo provision turso --input '{"database_name":"my-agent-db"}' --approve
46
48
  muxo env pull --out .env.muxo
47
49
  ```
48
50
 
49
- ## Official OpenAI Plugin & MCP Server (`https://api.muxo.ai/mcp`)
50
-
51
- Muxo ships a portable OpenAI Plugin (`plugins/muxo/plugin.json` & `plugins/muxo/mcp.json`) and Streamable HTTP MCP Server compliant with [OpenAI Plugins](https://developers.openai.com/plugins/build/plugins) and [OpenAI MCP Server](https://developers.openai.com/plugins/build/mcp-server) specifications:
52
-
53
- - **Streamable HTTP MCP Endpoint**: `https://api.muxo.ai/mcp` (and `https://app.muxo.ai/mcp`)
54
- - **Local Stdio MCP Command**: `npx -y @muxoai/cli@latest mcp`
55
- - **OAuth 2.1 Discovery & DCR/PKCE**:
56
- - `https://api.muxo.ai/.well-known/oauth-protected-resource/mcp` (RFC 9728)
57
- - `https://api.muxo.ai/.well-known/oauth-authorization-server` (RFC 8414)
58
- - `POST https://api.muxo.ai/oauth/register` (Dynamic Client Registration)
59
- - `GET https://api.muxo.ai/oauth/authorize` & `POST https://api.muxo.ai/oauth/token` (PKCE `S256`)
51
+ ## Official Plugins, Marketplaces & MCP Setup (`https://api.muxo.ai/mcp`)
52
+
53
+ Muxo ships a portable OpenAI Plugin (`plugins/muxo/plugin.json` & `plugins/muxo/mcp.json`), Claude Code Plugin (`plugins/muxo/.claude-plugin/plugin.json`), and Streamable HTTP MCP Server:
54
+
55
+ - **Streamable HTTP MCP Endpoints**: `https://api.muxo.ai/mcp` and `https://app.muxo.ai/mcp`
56
+ - **Local Stdio MCP Command** (requires Node.js 22+, proxies to hosted workspace): `npx -y @muxoai/cli@latest mcp`
57
+ - **Claude Code Marketplace (`muxo@muxo`)**:
58
+ ```bash
59
+ claude plugin marketplace add https://api.muxo.ai/.claude-plugin/marketplace.json
60
+ claude plugin install muxo@muxo
61
+ ```
62
+ - **OpenAI Codex Marketplace & TOML MCP Alternative**:
63
+ - **Marketplace (Git Repository or Local Directory)**: Add a Git repository or local directory containing `.agents/plugins/marketplace.json`, then enable `[plugins."muxo@muxo"]` in `.codex/config.toml`.
64
+ - **TOML MCP Alternative (`~/.codex/config.toml`)**:
65
+ ```toml
66
+ [mcp_servers.muxo]
67
+ url = "https://api.muxo.ai/mcp"
68
+ ```
69
+ Or for local stdio proxy (requires Node.js 22+):
70
+ ```toml
71
+ [mcp_servers.muxo]
72
+ command = "npx"
73
+ args = ["-y", "@muxoai/cli@latest", "mcp"]
74
+ ```
75
+ - **Claude Desktop**:
76
+ - **Hosted MCP (Custom Connectors)**: Open **Settings → Connectors → Add custom connector** and enter `https://api.muxo.ai/mcp`.
77
+ - **Local Stdio Server (`claude_desktop_config.json`, requires Node.js 22+)**:
78
+ ```json
79
+ {
80
+ "mcpServers": {
81
+ "muxo": {
82
+ "command": "npx",
83
+ "args": ["-y", "@muxoai/cli@latest", "mcp"]
84
+ }
85
+ }
86
+ }
87
+ ```
88
+ - **ChatGPT**:
89
+ - Open **Plugins → + → Add custom MCP server** (at `https://chatgpt.com/plugins`) and enter `https://api.muxo.ai/mcp`.
90
+ - **OAuth 2.1 Discovery (CIMD or DCR + PKCE)**:
91
+ - `https://api.muxo.ai/.well-known/oauth-protected-resource/mcp` (RFC 9728)
92
+ - `https://api.muxo.ai/.well-known/oauth-authorization-server` (RFC 8414)
93
+ - Client registration can use **Client ID Metadata Documents (CIMD)** or **Dynamic Client Registration (DCR)** (`POST https://api.muxo.ai/oauth/register`); `/oauth/register` is supported when a client uses DCR rather than running on every flow.
94
+ - `GET https://api.muxo.ai/oauth/authorize` & `POST https://api.muxo.ai/oauth/token` (PKCE `S256`)
60
95
  - **SEP-2640 Skills Import Extension (`io.modelcontextprotocol/skills`)**: `skills/list`, `skills/get`, and `resources/read` serving `skill://muxo/muxo/SKILL.md` and `skill://muxo/setup/SKILL.md` with `sha256` integrity digests.
61
96
  - **Tool Annotations & Multi-Account Profile**: All 19 tools include `title` and `annotations` (`readOnlyHint`, `destructiveHint`, `openWorldHint`), plus `_meta["openai/profile"]: true` on `get_profile` and Company Knowledge `search`/`fetch` compatibility.
62
97