@zoahhq/cli 0.1.2 → 0.1.4
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 +10 -10
- package/dist/cli.mjs +13054 -2041
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,7 +139,7 @@ fresh `agent/<timestamp>` branch off main, so an agent's edits stay reviewable
|
|
|
139
139
|
rather than landing on main.
|
|
140
140
|
|
|
141
141
|
**4. Check it worked.** `status` reports the connected project, the branch, and
|
|
142
|
-
|
|
142
|
+
organization role. It also reports credential health. `whoami` reports the
|
|
143
143
|
identity, role, and instance.
|
|
144
144
|
|
|
145
145
|
#### What the agent gets
|
|
@@ -149,17 +149,17 @@ session without direct human confirmation. Confirmation actions stay in the
|
|
|
149
149
|
Zoah app. The server replaces renderer-only and workspace-agent verbs with
|
|
150
150
|
the session tools below.
|
|
151
151
|
|
|
152
|
-
| Group
|
|
153
|
-
|
|
|
154
|
-
| Session
|
|
155
|
-
|
|
|
156
|
-
| Branches
|
|
157
|
-
| Pull requests
|
|
158
|
-
| Canvas
|
|
152
|
+
| Group | Tools |
|
|
153
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
154
|
+
| Session | `connect`, `status`, `pullEvents`, `disconnect`, `whoami`, `logout`, `describeProperties` |
|
|
155
|
+
| Organizations and projects | `listOrganizations`, `createOrganization`, `listProjects`, `createProject`, `updateProject` |
|
|
156
|
+
| Branches | `listBranches`, `createBranch` |
|
|
157
|
+
| Pull requests | `createPullRequest`, `getPullRequest`, `updatePullRequest`, `commentOnPullRequest` |
|
|
158
|
+
| Canvas | one per applicable Action API verb for nodes, pages, components, slots, variants, variables, themes, breakpoints, events, and queries |
|
|
159
159
|
|
|
160
160
|
Two properties are worth knowing. Mutation tools return only after the sync
|
|
161
161
|
gateway acks the write, so a returned success means persisted, not queued. And
|
|
162
|
-
the server does not provide branch, project, or
|
|
162
|
+
the server does not provide branch, project, or organization deletion.
|
|
163
163
|
`pullEvents` returns structured rejection and collaborator action details. It
|
|
164
164
|
also returns merge summaries. Sync and cache signals mean the agent should
|
|
165
165
|
re-query after reconnect catch-up.
|
|
@@ -339,7 +339,7 @@ When the import fails (e.g. the server returns 400 because no components were ex
|
|
|
339
339
|
|
|
340
340
|
Commit these files. They bind the checkout to the Zoah project:
|
|
341
341
|
|
|
342
|
-
- `.zoah/config.json`:
|
|
342
|
+
- `.zoah/config.json`: organization and project binding, written on the first import.
|
|
343
343
|
- `.zoah/components.json`: component IDs, package exports, and slot anchors.
|
|
344
344
|
- `.zoah/manifest.json`: published package name, version, and registry URL.
|
|
345
345
|
|