@everfir/az8-cli 0.2.0-preview.3 → 0.2.0-preview.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/CHANGELOG.md +11 -0
- package/README.md +9 -1
- package/RELEASE.md +1 -1
- package/package.json +1 -1
- package/skills/az8-cli/SKILL.md +29 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable AZ8 CLI changes are recorded here. The CLI package has its own linear version sequence;
|
|
4
4
|
it does not inherit the Web application or monorepo root version.
|
|
5
5
|
|
|
6
|
+
## 0.2.0-preview.4 - 2026-07-22
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Persistent NDJSON stdio is now the default interaction mode for every Canvas authoring task,
|
|
11
|
+
including a plan containing only one write.
|
|
12
|
+
- One-shot is limited to isolated reads, standalone transfers, explicit caller choice, or hosts that
|
|
13
|
+
genuinely cannot retain a child process; fewer tool calls alone is not a valid reason to use it.
|
|
14
|
+
- The outer repository Skill now requires preview.4 so a newly triggered agent receives this mode
|
|
15
|
+
selection policy.
|
|
16
|
+
|
|
6
17
|
## 0.2.0-preview.3 - 2026-07-21
|
|
7
18
|
|
|
8
19
|
### Changed
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ az8 guide
|
|
|
17
17
|
For a supplied release artifact, install the exact immutable tarball instead:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install --global ./everfir-az8-cli-0.2.0-preview.
|
|
20
|
+
npm install --global ./everfir-az8-cli-0.2.0-preview.4.tgz
|
|
21
21
|
az8 --version
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -108,6 +108,10 @@ the agent can verify identities, byte count, MIME, and SHA-256.
|
|
|
108
108
|
One-shot commands open a real Canvas client, complete synchronization and hydration, invoke the same
|
|
109
109
|
query or Operation used by the persistent client, and close after the result is authoritative:
|
|
110
110
|
|
|
111
|
+
Persistent stdio is the default for any Canvas authoring task, including a plan with only one write.
|
|
112
|
+
Use this wrapper only for an isolated read, standalone transfer, explicit one-shot request, or a host
|
|
113
|
+
that cannot retain a child process and write later NDJSON to stdin.
|
|
114
|
+
|
|
111
115
|
```bash
|
|
112
116
|
az8 canvas query <project-id> canvas.summary
|
|
113
117
|
az8 canvas query <project-id> canvas.detail --view-node-id <view-node-id>
|
|
@@ -207,6 +211,10 @@ retried. After any non-success, the agent must decide whether a new invocation i
|
|
|
207
211
|
|
|
208
212
|
## Persistent Canvas client
|
|
209
213
|
|
|
214
|
+
This is the default mode whenever a task may perform any Canvas write. Open it before the first
|
|
215
|
+
Canvas query, keep capability discovery and all ordered Operations in the same lifecycle, and shut
|
|
216
|
+
it down only after the authoring task is complete.
|
|
217
|
+
|
|
210
218
|
```bash
|
|
211
219
|
az8 canvas open <project-id> --write --format ndjson
|
|
212
220
|
```
|
package/RELEASE.md
CHANGED
|
@@ -35,7 +35,7 @@ repository-wide `pnpm verify`. Publishing is an external action and requires exp
|
|
|
35
35
|
authorization:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npm publish ./tmp/az8-cli-release/everfir-az8-cli-0.2.0-preview.
|
|
38
|
+
npm publish ./tmp/az8-cli-release/everfir-az8-cli-0.2.0-preview.4.tgz --tag preview
|
|
39
39
|
npm view @everfir/az8-cli dist-tags versions --json
|
|
40
40
|
```
|
|
41
41
|
|
package/package.json
CHANGED
package/skills/az8-cli/SKILL.md
CHANGED
|
@@ -115,26 +115,17 @@ capabilities instead of guessing operation names or input shapes.
|
|
|
115
115
|
az8 canvas query <project-id> canvas.detail --view-node-id <view-node-id>
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
6.
|
|
119
|
-
|
|
118
|
+
6. If the task may perform any Canvas write, open one persistent stdio client before the first
|
|
119
|
+
Canvas read or write and retain it through the authoring session. Use one-shot only under the
|
|
120
|
+
explicit exceptions below. Finish by inspecting the affected View Nodes or Workflow Run rather
|
|
121
|
+
than trusting visual assumptions.
|
|
120
122
|
|
|
121
123
|
## Interaction modes
|
|
122
124
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
az8 canvas operation <project-id> createNote --input-stdin --request-id create-note-1
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
- Supply Operation input through exactly one of `--input-stdin`, `--input-file`, or `--input-json`.
|
|
131
|
-
- Give every write attempt a meaningful unique `--request-id` and retain its returned Receipt.
|
|
132
|
-
- Each invocation opens, hydrates, executes, and closes a real Canvas client.
|
|
133
|
-
- One-shot processes do not preserve local History, Receipt Log, Awareness, or request replay.
|
|
134
|
-
Therefore `undo`, `redo`, `receipts.summary`, and `receipt.detail` require persistent stdio.
|
|
135
|
-
|
|
136
|
-
Use persistent stdio when multiple ordered interactions, live synchronization, History, Receipt
|
|
137
|
-
lookup, observations, or human collaboration matter:
|
|
125
|
+
Default to persistent stdio for Canvas authoring. A one-write plan still uses persistent stdio. This
|
|
126
|
+
is the normal mode whenever a task may create, edit, move, organize, remove, undo, generate, import,
|
|
127
|
+
or upload Canvas content. Open the client once, use it for capability discovery and subsequent reads
|
|
128
|
+
and Operations, observe concurrent changes, and shut it down only after the Canvas task is complete:
|
|
138
129
|
|
|
139
130
|
```bash
|
|
140
131
|
az8 canvas open <project-id> --write --format ndjson
|
|
@@ -153,6 +144,24 @@ az8 canvas open <project-id> --write --format ndjson
|
|
|
153
144
|
Protocol truth is written to stdout. stderr contains diagnostics only. Unknown optional fields are
|
|
154
145
|
additive; ignore them. Do not treat a process exit code as the result of the last persistent request.
|
|
155
146
|
|
|
147
|
+
Use one-shot only for:
|
|
148
|
+
|
|
149
|
+
- an isolated read when no Canvas write is planned;
|
|
150
|
+
- a standalone media download;
|
|
151
|
+
- an explicitly standalone upload/import whose caller does not want an ongoing authoring session;
|
|
152
|
+
- an explicit user request for one-shot behavior; or
|
|
153
|
+
- a host that genuinely cannot retain a child process and write later NDJSON to its stdin.
|
|
154
|
+
|
|
155
|
+
Do not choose one-shot merely because the current plan has one write or because it requires fewer
|
|
156
|
+
tool calls. Codex and other hosts with retained process sessions can use persistent stdio. If a host
|
|
157
|
+
limitation forces fallback, disclose that the client will not preserve local History, Receipt Log,
|
|
158
|
+
Awareness, observations, or request replay across invocations.
|
|
159
|
+
|
|
160
|
+
For a permitted one-shot call, supply Operation input through exactly one of `--input-stdin`,
|
|
161
|
+
`--input-file`, or `--input-json`, give every write a meaningful unique `--request-id`, and retain its
|
|
162
|
+
returned Receipt. `undo`, `redo`, `receipts.summary`, and `receipt.detail` are never available across
|
|
163
|
+
one-shot processes.
|
|
164
|
+
|
|
156
165
|
## Canvas SOP
|
|
157
166
|
|
|
158
167
|
1. Query `canvas.summary`; query selected details only as needed.
|
|
@@ -202,7 +211,9 @@ claim actual credit consumption from an estimate.
|
|
|
202
211
|
|
|
203
212
|
## Media
|
|
204
213
|
|
|
205
|
-
|
|
214
|
+
Within an active persistent authoring session, invoke the discovered `uploadMedia` Operation so the
|
|
215
|
+
write shares that client lifecycle. For an explicitly standalone local image, video, or audio
|
|
216
|
+
transfer, use the semantic one-shot upload wrapper:
|
|
206
217
|
|
|
207
218
|
```bash
|
|
208
219
|
az8 canvas upload <project-id> \
|