@everfir/az8-cli 0.3.0-preview.2 → 0.3.0-preview.3
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 +24 -0
- package/README.md +27 -9
- package/RELEASE.md +1 -1
- package/dist/main.js +508 -114
- package/package.json +1 -1
- package/skills/az8-cli/SKILL.md +51 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ it does not inherit the Web application or monorepo root version.
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## 0.3.0-preview.3 - 2026-07-23
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Every collaborative Session receives discoverable Workflow terminal events by default, including
|
|
13
|
+
the Workflow Run, target View Node, and output Core Node identities.
|
|
14
|
+
- Prompt references can be inserted before or after an exact text occurrence without exposing raw
|
|
15
|
+
Canvas data.
|
|
16
|
+
- Media uploads report structured stage, byte, and percentage progress across one-shot, persistent
|
|
17
|
+
stdio, and daemon-backed Session transports.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Media downloads use bounded read-only retries under one caller deadline, clean partial files, and
|
|
22
|
+
return structured, credential-safe transport diagnostics when recovery fails.
|
|
23
|
+
- The built-in agent Skill prioritizes a single foreground `session watch` call, warns against
|
|
24
|
+
background polling loops, and documents terminal reconciliation and exact Prompt placement.
|
|
25
|
+
|
|
26
|
+
### Safety and compatibility
|
|
27
|
+
|
|
28
|
+
- User Workflow Interests remain additive and cannot disable the system terminal stream.
|
|
29
|
+
- Download retries never extend the caller deadline or apply to definitive verification failures.
|
|
30
|
+
- Upload progress is provisional observability and cannot change the semantic Operation result.
|
|
31
|
+
|
|
8
32
|
## 0.3.0-preview.2 - 2026-07-23
|
|
9
33
|
|
|
10
34
|
### Added
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ az8 guide
|
|
|
18
18
|
For a supplied preview artifact, install the exact immutable tarball instead:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install --global ./everfir-az8-cli-0.3.0-preview.
|
|
21
|
+
npm install --global ./everfir-az8-cli-0.3.0-preview.3.tgz
|
|
22
22
|
az8 --version
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -114,12 +114,13 @@ az8 session query canvas.summary
|
|
|
114
114
|
|
|
115
115
|
The Session remains selected for the current canonical working directory, so subsequent commands do
|
|
116
116
|
not repeat its ID. Use `session current`, `list`, and `status` rather than guessing which Project or
|
|
117
|
-
daemon is active.
|
|
118
|
-
|
|
117
|
+
daemon is active. The visible, read-only `system.workflow-terminal` Interest automatically retains
|
|
118
|
+
terminal facts for locally started and remotely discovered pending Runs. Configure only additional
|
|
119
|
+
semantic Interests and block on one Watch call when collaboration updates matter:
|
|
119
120
|
|
|
120
121
|
```bash
|
|
121
122
|
az8 session interests patch \
|
|
122
|
-
--input-json '{"upsert":[{"key":"canvas-ambient","patch":{"kind":"canvas"}}
|
|
123
|
+
--input-json '{"upsert":[{"key":"canvas-ambient","patch":{"kind":"canvas"}}]}'
|
|
123
124
|
az8 session watch --timeout-ms 30000
|
|
124
125
|
az8 session close
|
|
125
126
|
```
|
|
@@ -127,6 +128,9 @@ az8 session close
|
|
|
127
128
|
`watch` returning `idle` is a successful empty observation window, not a connection error. Exactly
|
|
128
129
|
one caller may wait on a Session. The daemon retains the authenticated connection and collaboration
|
|
129
130
|
state between short CLI invocations, but it does not wake or restart an Agent that has exited.
|
|
131
|
+
Agents should call exactly one Watch in the foreground whenever waiting is useful, process the
|
|
132
|
+
result, then call it once again if needed. Do not build a shell loop, background Watch, or polling
|
|
133
|
+
substitute; those add scheduling delay and can consume an event before the Agent reasons about it.
|
|
130
134
|
|
|
131
135
|
For a manual human–Agent interaction latency check, have the Agent report that it is ready, start
|
|
132
136
|
one 60-second Watch, and only then make one recognizable Canvas change from Web:
|
|
@@ -149,7 +153,9 @@ call `planGeneration` with the returned View Node and a prompt. Execute its retu
|
|
|
149
153
|
`plan.operations` in order, stopping after the first failure. A
|
|
150
154
|
successful `startGeneration` Receipt contains the Workflow Run identity; call `waitWorkflowRun`
|
|
151
155
|
separately when a terminal output is required. Planning and starting are intentionally not one
|
|
152
|
-
transaction.
|
|
156
|
+
transaction. In an active Session, prefer one foreground `session watch`: the system terminal event
|
|
157
|
+
includes Workflow Run, target View Node, and output Core Node identities when supplied by Workflow
|
|
158
|
+
Runtime.
|
|
153
159
|
|
|
154
160
|
For media transfer, `canvas upload` places a verified local image/video/audio file through the
|
|
155
161
|
server-owned Core Node path. After detail query resolves the target's `resolvedCoreNodeId`, `canvas
|
|
@@ -232,8 +238,10 @@ Project Content through a deterministic, opaque intent fingerprint in its source
|
|
|
232
238
|
existing binding returns without another upload, while conflicting key reuse fails. Results include
|
|
233
239
|
View Node/Core Node identities and reproducible file metadata but never the presigned or permanent
|
|
234
240
|
file URL. The wrapper uses the standard `az8.canvas.one-shot.v1` output and exit codes and defaults
|
|
235
|
-
to a 300-second deadline.
|
|
236
|
-
|
|
241
|
+
to a 300-second deadline. Uploads emit rate-limited `az8.operation-progress.v1` lines to stderr for
|
|
242
|
+
`inspecting`, `requesting-upload`, `uploading`, `creating-content`, and `updating-canvas`; final
|
|
243
|
+
stdout remains one structured result and only its Receipt is authoritative. Batch upload,
|
|
244
|
+
replacement, text-file import, and a durable local upload cache are outside the initial slice.
|
|
237
245
|
|
|
238
246
|
## Local media download
|
|
239
247
|
|
|
@@ -262,8 +270,12 @@ Success writes one `az8.canvas.media-download.v1` document with the absolute pat
|
|
|
262
270
|
SHA-256, detected MIME/extension, response metadata, resolved Core Node identity, and whether a file
|
|
263
271
|
was replaced. It deliberately omits the media URL. Exit `0` is success; exit `1` is a definitive
|
|
264
272
|
source, HTTP 4xx, or local-path failure; exit `2` is a retryable connection, HTTP 429/5xx, transfer,
|
|
265
|
-
|
|
266
|
-
|
|
273
|
+
or timeout failure; exit `130` is caller cancellation. Retryable read/transfer phases are
|
|
274
|
+
automatically attempted at most three times under the original deadline; every attempt re-resolves
|
|
275
|
+
the source and leaves no partial destination. Definitive failures, verification mismatch, timeout,
|
|
276
|
+
and cancellation are not retried. Failure output includes attempts, phase, retryability, sanitized
|
|
277
|
+
cause when available, local commit state, and remote-state certainty. After non-success, the agent
|
|
278
|
+
must use those facts to decide whether a new invocation is safe.
|
|
267
279
|
|
|
268
280
|
## Lower-level persistent stdio client
|
|
269
281
|
|
|
@@ -323,6 +335,12 @@ creates the Text Core Node only after the estimate succeeds. The published opera
|
|
|
323
335
|
`addVisualReference` and `removeVisualReference` are retained for compatibility and also carry these
|
|
324
336
|
planned Text bindings.
|
|
325
337
|
|
|
338
|
+
`insertPromptReference` additionally places the platform-owned At token at `start`, `end`, or
|
|
339
|
+
before/after an exact text anchor such as
|
|
340
|
+
`{"kind":"after","anchor":{"text":"豆豆","occurrence":2}}`. Occurrence is one-based and is optional
|
|
341
|
+
only for a unique anchor. Missing or ambiguous anchors fail without writing. Callers never construct
|
|
342
|
+
At syntax, binding IDs, or slot indexes.
|
|
343
|
+
|
|
326
344
|
```json
|
|
327
345
|
{"protocolVersion":"1.0","requestId":"plan-1","type":"operation","payload":{"name":"planGeneration","input":{"targetViewNodeId":"<target-id>","prompt":"A quiet observatory","references":[{"viewNodeId":"<reference-id>"}],"detail":"detail"}}}
|
|
328
346
|
```
|
package/RELEASE.md
CHANGED
|
@@ -60,7 +60,7 @@ authorization:
|
|
|
60
60
|
For a preview candidate, publish the exact retained artifact to the preview channel:
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
|
-
npm publish ./tmp/az8-cli-release/everfir-az8-cli-0.3.0-preview.
|
|
63
|
+
npm publish ./tmp/az8-cli-release/everfir-az8-cli-0.3.0-preview.3.tgz --tag preview
|
|
64
64
|
npm view @everfir/az8-cli dist-tags versions --json
|
|
65
65
|
```
|
|
66
66
|
|