@agent-native/core 0.51.13 → 0.51.15

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.
@@ -37,7 +37,7 @@ the Plan MCP connector. They write `plans/<slug>/plan.mdx` plus optional
37
37
  `canvas.mdx`, `prototype.mdx`, and `.plan-state.json`, then preview locally with:
38
38
 
39
39
  ```bash
40
- npx @agent-native/core@latest plan local preview --dir plans/<slug> --kind plan
40
+ npx @agent-native/core@latest plan local preview --dir plans/<slug> --kind plan --open
41
41
  ```
42
42
 
43
43
  This keeps plan content out of the Agent-Native Plan database. Hosted sharing,
@@ -54,7 +54,7 @@ is no Plan DB writes.
54
54
 
55
55
  ## Install routes {#install}
56
56
 
57
- There are three ways in. The **universal CLI route** is the one we recommend by default, because it installs the skills **and** registers and authenticates the MCP connector in a single step. The plugin routes are for hosts with a first-class plugin/marketplace system.
57
+ There are three ways in. The **universal CLI route** is the one we recommend by default, because it installs the skills **and** lets you choose hosted, local-files, or self-hosted mode in one flow. The plugin routes are for hosts with a first-class plugin/marketplace system and use hosted Plans by default.
58
58
 
59
59
  ### Universal skill route (any MCP host) {#universal}
60
60
 
@@ -68,6 +68,7 @@ This installs `visual-plan` plus the companion `visual-recap` skill, then regist
68
68
 
69
69
  - `--client codex|claude-code|claude-code-cli|cowork|all` — which local agents to write the MCP config for (default `all`).
70
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`.
71
+ - `--mode hosted|local-files|self-hosted` — choose hosted sharing, all-local MDX files, or your own Plan app.
71
72
  - `--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.
72
73
  - `--with-github-action` — also write the PR Visual Recap GitHub Action (see [PR Visual Recap](/docs/pr-visual-recap)).
73
74
 
@@ -99,7 +100,7 @@ The public `BuilderIO/agent-native` repo is itself a Claude Code plugin marketpl
99
100
  /mcp # authenticate the Plan connector (one OAuth approval)
100
101
  ```
101
102
 
102
- `/plugin install` adds both Plan skills and a **URL-only** MCP config (no secrets in the package); `/mcp` → **Authenticate** completes the OAuth handshake.
103
+ `/plugin install` adds both Plan skills and a **URL-only** MCP config (no secrets in the package); `/mcp` → **Authenticate** completes the OAuth handshake. Use the universal CLI route instead when you want local-files or self-hosted mode.
103
104
 
104
105
  > The marketplace catalog is named `agent-native-apps` and the Plan plugin is `agent-native-visual-plans`, so the install target is always `agent-native-visual-plans@agent-native-apps`.
105
106
 
@@ -113,7 +114,7 @@ codex plugin add agent-native-visual-plans@agent-native-apps
113
114
  codex mcp login plan # OAuth in the browser
114
115
  ```
115
116
 
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.
117
+ 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, or when you want local-files or self-hosted mode.
117
118
 
118
119
  > **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.
119
120
 
@@ -216,7 +216,7 @@ the prompt instructs the agent to write `plans/pr-123-visual-recap/plan.mdx`
216
216
  plus optional visual files and then run:
217
217
 
218
218
  ```bash
219
- npx @agent-native/core@latest plan local preview --dir plans/pr-123-visual-recap --kind recap
219
+ npx @agent-native/core@latest plan local preview --dir plans/pr-123-visual-recap --kind recap --open
220
220
  ```
221
221
 
222
222
  The returned `file://` preview, or `/local-plans/pr-123-visual-recap` in a local
@@ -191,7 +191,7 @@ not call the hosted Plan MCP tools. The durable files are:
191
191
  After writing the folder, the agent validates and previews it locally:
192
192
 
193
193
  ```bash
194
- npx @agent-native/core@latest plan local preview --dir plans/<slug> --kind plan
194
+ npx @agent-native/core@latest plan local preview --dir plans/<slug> --kind plan --open
195
195
  ```
196
196
 
197
197
  If you run the Plan app locally with the same `PLAN_LOCAL_DIR`, you can open the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.51.13",
3
+ "version": "0.51.15",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -147,14 +147,6 @@
147
147
  "tsconfig.base.json",
148
148
  "src/templates"
149
149
  ],
150
- "scripts": {
151
- "build": "tsc && tsc -p tsconfig.cli.json && node scripts/finalize-build.mjs",
152
- "dev": "tsc --watch",
153
- "typecheck": "tsc --noEmit",
154
- "test": "vitest --run src",
155
- "prepack": "tsx ../../scripts/sync-workspace-core-skills.ts --check && npm run build && cp ../../README.md ./README.md",
156
- "prepublishOnly": "npm run build"
157
- },
158
150
  "dependencies": {
159
151
  "@amplitude/analytics-browser": "^2.41.1",
160
152
  "@anthropic-ai/sdk": "^0.90.0",
@@ -375,7 +367,7 @@
375
367
  "@react-router/fs-routes": "^7.16.0",
376
368
  "@supabase/supabase-js": "^2.49.0",
377
369
  "@tabler/icons-react": "^3.40.0",
378
- "@tailwindcss/vite": "catalog:",
370
+ "@tailwindcss/vite": "^4.2.4",
379
371
  "@tanstack/react-query": "^5.99.2",
380
372
  "@types/better-sqlite3": "^7.6.13",
381
373
  "@types/diff-match-patch": "^1.0.36",
@@ -400,10 +392,16 @@
400
392
  "react": "^19.2.7",
401
393
  "react-dom": "^19.2.7",
402
394
  "react-router": "^7.16.0",
403
- "tailwindcss": "catalog:",
395
+ "tailwindcss": "^4.2.4",
404
396
  "typescript": "^6.0.3",
405
- "vite": "catalog:",
397
+ "vite": "8.0.3",
406
398
  "vitest": "^4.1.5",
407
399
  "ws": "^8.18.0"
400
+ },
401
+ "scripts": {
402
+ "build": "tsc && tsc -p tsconfig.cli.json && node scripts/finalize-build.mjs",
403
+ "dev": "tsc --watch",
404
+ "typecheck": "tsc --noEmit",
405
+ "test": "vitest --run src"
408
406
  }
409
- }
407
+ }