@zoahhq/cli 0.1.0 → 0.1.2
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/README.md +19 -8
- package/dist/cli.mjs +5782 -5392
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,9 +67,9 @@ zoah whoami
|
|
|
67
67
|
|
|
68
68
|
### `zoah mcp`
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
Runs the Zoah MCP server over stdio so a coding agent (Claude Code, Codex,
|
|
71
|
+
Cursor, or any MCP-capable harness) can read and edit a Zoah project from your
|
|
72
|
+
terminal session. The agent gets the same verbs the designer uses:
|
|
73
73
|
nodes, pages, components, slots, variants, variables, themes, breakpoints and
|
|
74
74
|
events, plus branch and pull-request tools.
|
|
75
75
|
|
|
@@ -96,11 +96,22 @@ It asks four things:
|
|
|
96
96
|
| Which harness | Claude Code, Cursor, VS Code, Codex, or print the snippet | Pick the harness that will use Zoah |
|
|
97
97
|
| How to launch | `npx -y @zoahhq/cli@latest`, or the global `zoah` binary | `npx` for a config you check in, so teammates need no install |
|
|
98
98
|
| What agents may do | full access, or `--read-only` | read-only serves the query verbs alone |
|
|
99
|
-
| Default project | the repo's linked project from `.zoah/config.json`, or none | baking it in means `connect` needs no
|
|
100
|
-
|
|
101
|
-
It merges into an existing config without disturbing other servers.
|
|
102
|
-
is also a flag (`--harness`, `--global-command`, `--read-only`,
|
|
103
|
-
`--print`) for scripted setup.
|
|
99
|
+
| Default project | the repo's linked project from `.zoah/config.json`, or none | baking it in means `connect` needs no IDs |
|
|
100
|
+
|
|
101
|
+
It merges into an existing project config without disturbing other servers.
|
|
102
|
+
Every answer is also a flag (`--harness`, `--global-command`, `--read-only`,
|
|
103
|
+
`--project`, `--print`) for scripted setup.
|
|
104
|
+
|
|
105
|
+
For Codex, the installer runs `codex mcp add`. Codex writes the global server
|
|
106
|
+
entry that its CLI and IDE extension share. The installer checks for an
|
|
107
|
+
existing `zoah` server first. Interactive setup asks before replacement.
|
|
108
|
+
Scripted setup leaves an existing entry unchanged. If Codex is unavailable or
|
|
109
|
+
its server list is unsafe to read, the installer prints a complete global TOML
|
|
110
|
+
entry instead. Zoah never edits Codex TOML directly. See the
|
|
111
|
+
[Codex MCP documentation](https://developers.openai.com/codex/mcp).
|
|
112
|
+
|
|
113
|
+
The confirmation shows the resolved instance as one URL. The standard
|
|
114
|
+
production instance is `https://zoah.com`.
|
|
104
115
|
|
|
105
116
|
To write the entry by hand instead:
|
|
106
117
|
|