vinta-ai-workflows 0.7.0-alpha21 → 0.7.0-alpha22
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 +37 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -65,7 +65,10 @@ the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
65
65
|
JSON on stdin and stdout). Out-of-tree adapters register through
|
|
66
66
|
`registerSystemOneAdapter`. The file also turns on the built-in judges.
|
|
67
67
|
This is the only API key the package uses; LLM harnesses still run on your
|
|
68
|
-
logged-in CLIs.
|
|
68
|
+
logged-in CLIs. Before a run starts, the preflight asks the classifier one
|
|
69
|
+
synthetic question, so a missing or rejected key, or an unreachable URL,
|
|
70
|
+
fails at minute zero rather than at the first gate. `"probe": false`
|
|
71
|
+
skips it. `doctor` warns about an `http` adapter with no `api_key_env`.
|
|
69
72
|
- **Judge gates.** A workflow gate can be
|
|
70
73
|
`{ "judge": { "question" | "question_ref", "labels", "fail_on",
|
|
71
74
|
"threshold", "on_unavailable" } }` instead of `{ "cmd": … }`. It asks the
|
|
@@ -204,6 +207,39 @@ the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
204
207
|
|
|
205
208
|
### Changed
|
|
206
209
|
|
|
210
|
+
- **`vinta-ai-maestro run` starts the run as a background job and returns.**
|
|
211
|
+
The run no longer needs the terminal that started it, or any terminal: close
|
|
212
|
+
it and the run carries on. `run` prints the run id and the commands that
|
|
213
|
+
reach it, and if the preflight refuses it prints the report and says the run
|
|
214
|
+
did not start. **Migration:** a script or CI job that relied on `run`
|
|
215
|
+
blocking until the run ended, and on its exit code, adds `--foreground`,
|
|
216
|
+
which keeps the old behaviour exactly. The run's job serves no UI and prints
|
|
217
|
+
no URL any more — see `ui` below. (`vinta-ai-maestro`)
|
|
218
|
+
- **New commands to reach a background run:** `status [run-id]` (every run, or
|
|
219
|
+
one run phase by phase; `--json` for scripts), `logs <run-id> [-f]` (the
|
|
220
|
+
run's job log — what `run` used to print — followed until the job exits),
|
|
221
|
+
`pause <run-id>` (nothing new starts, running phases finish their current
|
|
222
|
+
step, then the job exits with the run `paused`; `run --resume` continues it)
|
|
223
|
+
and `stop <run-id>` (live agent turns and gates are killed and the run ends
|
|
224
|
+
`cancelled`, which `--resume` refuses). Both also accept `--wait`. Two new
|
|
225
|
+
run statuses come with them, `paused` and `cancelled`; the post-mortem still
|
|
226
|
+
reports `done` or `failed`, and a paused run writes none until it ends.
|
|
227
|
+
(`vinta-ai-maestro`)
|
|
228
|
+
- **`vinta-ai-maestro ui` serves the browser UI, and hosts no runs.** `serve`
|
|
229
|
+
is the same command under its old name. It reads every run from the journal
|
|
230
|
+
and forwards a live run's requests and socket to the job hosting it, so
|
|
231
|
+
watching, steering, answering and taking over work as before — and closing
|
|
232
|
+
it no longer interrupts anything. A run started or resumed from the UI is
|
|
233
|
+
launched as a background job with `ui`'s run settings. The job's own token is
|
|
234
|
+
kept in `.vinta-ai-maestro/runs/<run-id>/job.json` (mode `0600`, removed when
|
|
235
|
+
the job ends) and is never printed; treat that file like the URL.
|
|
236
|
+
(`vinta-ai-maestro`)
|
|
237
|
+
- **`purge` keeps a run whose job is still running**, and says so.
|
|
238
|
+
(`vinta-ai-maestro`)
|
|
239
|
+
- **The run view has Pause and Stop buttons**, beside Replay, while the run is
|
|
240
|
+
running. Stop asks for confirmation first, because it cannot be undone; both
|
|
241
|
+
say what is happening until the run's job has ended it. (`vinta-ai-maestro`)
|
|
242
|
+
|
|
207
243
|
- **The canvas no longer swallows the page's scroll.** A bare wheel over the
|
|
208
244
|
graph used to zoom it and block the page from scrolling; it now scrolls the
|
|
209
245
|
page, and zoom is ⌘ or Ctrl + scroll (which is also how a trackpad pinch
|
package/package.json
CHANGED