@agent-native/core 0.51.14 → 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.
- package/dist/cli/plan-local.d.ts +10 -0
- package/dist/cli/plan-local.d.ts.map +1 -1
- package/dist/cli/plan-local.js +39 -3
- package/dist/cli/plan-local.js.map +1 -1
- package/dist/cli/recap.js +1 -1
- package/dist/cli/recap.js.map +1 -1
- package/dist/cli/skills.d.ts +2 -2
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +6 -6
- package/dist/cli/skills.js.map +1 -1
- package/docs/content/plan-plugin.md +5 -4
- package/docs/content/pr-visual-recap.md +1 -1
- package/docs/content/template-plan.md +1 -1
- package/package.json +1 -1
|
@@ -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**
|
|
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
|