@agent-native/core 0.49.4 → 0.49.6

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 (39) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/app-skill.js +1 -1
  3. package/dist/cli/app-skill.js.map +1 -1
  4. package/dist/cli/connect.d.ts.map +1 -1
  5. package/dist/cli/connect.js +22 -4
  6. package/dist/cli/connect.js.map +1 -1
  7. package/dist/cli/create.js +2 -2
  8. package/dist/cli/create.js.map +1 -1
  9. package/dist/cli/index.js +1 -1
  10. package/dist/cli/index.js.map +1 -1
  11. package/dist/cli/pr-visual-recap-workflow.d.ts +1 -1
  12. package/dist/cli/pr-visual-recap-workflow.d.ts.map +1 -1
  13. package/dist/cli/pr-visual-recap-workflow.js +1 -1
  14. package/dist/cli/pr-visual-recap-workflow.js.map +1 -1
  15. package/dist/cli/recap.js +2 -2
  16. package/dist/cli/recap.js.map +1 -1
  17. package/dist/cli/skills.d.ts +2 -2
  18. package/dist/cli/skills.d.ts.map +1 -1
  19. package/dist/cli/skills.js +50 -35
  20. package/dist/cli/skills.js.map +1 -1
  21. package/dist/mcp/connect-route.d.ts.map +1 -1
  22. package/dist/mcp/connect-route.js +1 -1
  23. package/dist/mcp/connect-route.js.map +1 -1
  24. package/dist/server/agent-chat-plugin.js +1 -1
  25. package/dist/server/agent-chat-plugin.js.map +1 -1
  26. package/dist/server/auth-marketing.js +1 -1
  27. package/dist/server/auth-marketing.js.map +1 -1
  28. package/dist/vite/client.d.ts +16 -0
  29. package/dist/vite/client.d.ts.map +1 -1
  30. package/dist/vite/client.js +45 -4
  31. package/dist/vite/client.js.map +1 -1
  32. package/docs/content/external-agents.md +6 -6
  33. package/docs/content/frames.md +1 -1
  34. package/docs/content/mcp-clients.md +5 -5
  35. package/docs/content/plan-plugin.md +10 -8
  36. package/docs/content/skills-guide.md +3 -3
  37. package/docs/content/template-assets.md +4 -4
  38. package/docs/content/template-plan.md +11 -8
  39. package/package.json +1 -2
@@ -23,11 +23,13 @@ long-lived (30-day default, sliding 365-day refresh), so this should be rare;
23
23
  when it happens, the lightweight fix is:
24
24
 
25
25
  ```bash
26
- npx -y @agent-native/core@latest reconnect https://plan.agent-native.com
26
+ npx -y @agent-native/core@latest reconnect https://plan.agent-native.com --client codex
27
27
  ```
28
28
 
29
- `reconnect` finds and refreshes the connector by URL no reinstall needed. In
30
- Claude Code, the equivalent is `/mcp` **Authenticate / Reconnect**.
29
+ `reconnect` finds and refreshes the connector by URL for the selected local
30
+ client no reinstall needed. Start a new Codex thread after reconnecting so the
31
+ tool registry reloads. In Claude Code, the equivalent is `/mcp` →
32
+ **Authenticate / Reconnect**, or the same command with `--client claude-code`.
31
33
 
32
34
  The exception is explicit **local-files privacy mode**. When you ask for no DB
33
35
  writes or set `AGENT_NATIVE_PLANS_MODE=local-files`, the skills must not call
@@ -56,7 +58,7 @@ There are three ways in. The **universal CLI route** is the one we recommend by
56
58
 
57
59
  ### Universal skill route (any MCP host) {#universal}
58
60
 
59
- Works for any host — Claude Code, Codex, Cursor, Cline, Goose, ChatGPT custom MCP apps, Claude Cowork, and anything else MCP-compatible. The Agent-Native CLI installs both skills, registers the hosted Plan MCP connector, **and authenticates it in the same step**, so your first tool call does not hit an OAuth wall:
61
+ Works for any host — Claude Code, Codex, Cursor, Cline, Goose, ChatGPT custom MCP apps, Claude Cowork, and anything else MCP-compatible. The Agent-Native CLI installs both skills, registers the hosted Plan MCP connector, **and runs auth for the selected local client(s) in the same step**, so your first tool call does not hit an OAuth wall:
60
62
 
61
63
  ```bash
62
64
  npx @agent-native/core@latest skills add visual-plan
@@ -64,8 +66,8 @@ npx @agent-native/core@latest skills add visual-plan
64
66
 
65
67
  This installs `visual-plan` plus the companion `visual-recap` skill, then registers the `plan` connector, then runs auth (OAuth prompt for hosted/account-backed sharing). Useful flags:
66
68
 
67
- - `--client codex|claude-code|claude-code-cli|cowork|all` — which local agents to write the MCP config for (default `codex`).
68
- - `--no-connect` — register the connector without authenticating; run `npx @agent-native/core@latest connect https://plan.agent-native.com` later.
69
+ - `--client codex|claude-code|claude-code-cli|cowork|all` — which local agents to write the MCP config for (default `all`).
70
+ - `--no-connect` — register the connector without authenticating; run `npx @agent-native/core@latest connect https://plan.agent-native.com --client all` later, or choose a narrower `--client`.
69
71
  - `--mcp-url <url>` — point the connector at a custom origin (an ngrok tunnel, a local dev server, or a self-hosted deployment) instead of the hosted default.
70
72
  - `--with-github-action` — also write the PR Visual Recap GitHub Action (see [PR Visual Recap](/docs/pr-visual-recap)).
71
73
 
@@ -84,7 +86,7 @@ access, and required Actions configuration. After install finishes, restart or
84
86
  reload the agent client so the new skills and tools load, then run
85
87
  `/visual-plan`.
86
88
 
87
- > Note: the bare `npx skills add BuilderIO/agent-native --skill visual-plan` (Vercel/open Skills CLI) installs **instructions only** — it does not register the MCP connector. Use the Agent-Native CLI above when you want the connector wired up too.
89
+ > Note: the bare `npx skills@latest add BuilderIO/agent-native --skill visual-plan` (Vercel/open Skills CLI) installs **instructions only** — it does not register the MCP connector. Use the Agent-Native CLI above when you want the connector wired up too.
88
90
 
89
91
  ### Claude Code (plugin) {#claude-code}
90
92
 
@@ -113,7 +115,7 @@ codex mcp login plan # OAuth in the browser
113
115
 
114
116
  After install, **start a new Codex thread** so the skills and MCP tools load into the session. The plugin ships a URL-only connector (`[mcp_servers.plan]` → `https://plan.agent-native.com/_agent-native/mcp`); `codex mcp login plan` runs the OAuth flow. The universal CLI route above also works for Codex (`npx @agent-native/core@latest skills add visual-plan --client codex`) if you prefer one command that installs and authenticates together.
115
117
 
116
- > **Older installs:** if your config still has an `agent-native-plans` entry pointing at the same URL, running `npx -y @agent-native/core@latest reconnect https://plan.agent-native.com` (or `skills add visual-plan` for a full reinstall) consolidates it to the canonical `plan` name.
118
+ > **Older installs:** if your config still has an `agent-native-plans` entry pointing at the same URL, running `npx -y @agent-native/core@latest reconnect https://plan.agent-native.com --client codex` for Codex, or the same command with your target `--client`, consolidates it to the canonical `plan` name.
117
119
 
118
120
  ## Updates {#updates}
119
121
 
@@ -216,7 +216,7 @@ npx @agent-native/core@latest skills add visual-plan
216
216
  npx @agent-native/core@latest skills add assets
217
217
 
218
218
  # Vercel/open Skills CLI: exported instructions only, no MCP config.
219
- npx skills add BuilderIO/agent-native --skill assets
219
+ npx skills@latest add BuilderIO/agent-native --skill assets
220
220
 
221
221
  # Register a hosted MCP connector for local agent clients.
222
222
  npx @agent-native/core@latest app-skill ensure --manifest templates/assets/agent-native.app-skill.json
@@ -229,7 +229,7 @@ npx @agent-native/core@latest app-skill launch --manifest templates/assets/agent
229
229
  npx @agent-native/core@latest app-skill pack --manifest templates/assets/agent-native.app-skill.json --out ./dist/assets-skill
230
230
 
231
231
  # Install a local exported bundle with the Vercel/open Skills CLI.
232
- npx skills add ./dist/assets-skill --skill assets -a codex -y
232
+ npx skills@latest add ./dist/assets-skill --skill assets -a codex -y
233
233
 
234
234
  # Add the generated Claude Code marketplace, then install its Assets plugin.
235
235
  claude plugin marketplace add ./dist/assets-skill/adapters/claude-marketplace
@@ -241,7 +241,7 @@ metadata; OAuth/device setup happens in the MCP host or through the app's normal
241
241
  settings flow.
242
242
 
243
243
  The Vercel Labs `skills` adapter is a portable `skills/<name>/SKILL.md` bundle
244
- for `npx skills add ...`, but the raw `skills` CLI installs instructions only.
244
+ for `npx skills@latest add ...`, but the raw `skills` CLI installs instructions only.
245
245
  It does not run repo-defined postinstall scripts or register MCP connectors.
246
246
  Keep the Agent Native CLI as the default docs path for local agents because it
247
247
  also registers the MCP connector. `BuilderIO/agent-native` is a real GitHub
@@ -60,7 +60,7 @@ Generate and pick brand media without leaving Codex, Claude Code, Claude, or Cha
60
60
  Skills CLI, use:
61
61
 
62
62
  ```bash
63
- npx skills add BuilderIO/agent-native --skill assets
63
+ npx skills@latest add BuilderIO/agent-native --skill assets
64
64
  ```
65
65
 
66
66
  The Vercel/open Skills CLI installs the instruction file only; it does not
@@ -181,7 +181,7 @@ The Assets app skill has app id `assets` and hosted MCP URL
181
181
  npx @agent-native/core@latest skills add assets
182
182
 
183
183
  # Vercel/open Skills CLI install: exported instructions only, no MCP config.
184
- npx skills add BuilderIO/agent-native --skill assets
184
+ npx skills@latest add BuilderIO/agent-native --skill assets
185
185
 
186
186
  # Hosted install: URL-only MCP connector, no shared secrets in skill files.
187
187
  npx @agent-native/core@latest app-skill ensure --manifest templates/assets/agent-native.app-skill.json
@@ -193,7 +193,7 @@ npx @agent-native/core@latest app-skill launch --manifest templates/assets/agent
193
193
  npx @agent-native/core@latest app-skill pack --manifest templates/assets/agent-native.app-skill.json --out ./dist/assets-skill
194
194
 
195
195
  # Install a local exported Assets bundle with the open skills CLI.
196
- npx skills add ./dist/assets-skill --skill assets -a codex -y
196
+ npx skills@latest add ./dist/assets-skill --skill assets -a codex -y
197
197
 
198
198
  # Install from the generated Claude Code marketplace adapter.
199
199
  claude plugin marketplace add ./dist/assets-skill/adapters/claude-marketplace
@@ -211,7 +211,7 @@ as `/plugin marketplace add ./dist/assets-skill/adapters/claude-marketplace`,
211
211
  `/plugin install agent-native-assets@agent-native-apps`, `/reload-plugins`, and
212
212
  `/mcp` for MCP authentication.
213
213
 
214
- If you install from a raw marketplace bundle with `npx skills`, register the
214
+ If you install from a raw marketplace bundle with `npx skills@latest`, register the
215
215
  hosted MCP connector so those instructions can call the live Assets app:
216
216
 
217
217
  ```bash
@@ -54,15 +54,17 @@ step does depends on your client:
54
54
  - In a **non-interactive shell or CI**, the auth step is skipped and the exact
55
55
  command to run later is printed for you.
56
56
 
57
- By default the CLI targets Codex. Add `--client claude-code` or `--client all`
58
- when you want to configure another host:
57
+ By default the CLI targets every supported local client it can configure. Pass
58
+ `--client codex`, `--client claude-code`, or another specific client when you
59
+ want to narrow setup to one host:
59
60
 
60
61
  ```bash
61
- npx @agent-native/core@latest skills add visual-plan --client all
62
+ npx @agent-native/core@latest skills add visual-plan
62
63
  ```
63
64
 
64
65
  Pass `--no-connect` to register the connector without authenticating, then run
65
- `npx @agent-native/core@latest connect https://plan.agent-native.com` whenever you are ready:
66
+ `npx @agent-native/core@latest connect https://plan.agent-native.com --client all`
67
+ whenever you are ready, or choose a narrower `--client`:
66
68
 
67
69
  ```bash
68
70
  npx @agent-native/core@latest skills add visual-plan --no-connect
@@ -84,7 +86,7 @@ to verify the repo is ready.
84
86
  If you only want the portable instruction file through the open Skills CLI, use:
85
87
 
86
88
  ```bash
87
- npx skills add BuilderIO/agent-native --skill visual-plan
89
+ npx skills@latest add BuilderIO/agent-native --skill visual-plan
88
90
  ```
89
91
 
90
92
  That installs the skill instructions only. It does not register the hosted MCP
@@ -243,9 +245,10 @@ of the hosted database.
243
245
 
244
246
  If a Plans tool ever returns `needs auth`, `Unauthorized`, or `Session
245
247
  terminated`, do not keep retrying it. Authenticate the connector with
246
- `npx @agent-native/core@latest connect https://plan.agent-native.com` (or re-run `/mcp`
247
- **Authenticate** in an OAuth-capable host), then continue once the connector is
248
- available.
248
+ `npx -y @agent-native/core@latest reconnect https://plan.agent-native.com --client codex`
249
+ for Codex, or re-run `/mcp` → **Authenticate** in an OAuth-capable host. Start a
250
+ new Codex thread or restart/reload the relevant client before expecting the tool
251
+ registry to update.
249
252
 
250
253
  ## For developers
251
254
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.49.4",
3
+ "version": "0.49.6",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -218,7 +218,6 @@
218
218
  "pako": "^2.1.0",
219
219
  "prettier": "^3.8.3",
220
220
  "react-markdown": "^10.1.0",
221
- "react-router": "^7.16.0",
222
221
  "recharts": "^3.8.1",
223
222
  "remark-gfm": "^4.0.1",
224
223
  "roughjs": "4.6.6",