@robmclarty/volley 0.5.1 → 0.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.2 — 2026-09-24
4
+
5
+ ### Added
6
+ - **Tokens per second for each phase.** The iteration archive (and `PhaseRecord`) gains a `throughput` block for the builder and the critic: the rate, whether it is a pure decode rate or blended with network and prefill, the output tokens, and the model's own time. `claude_cli` phases get a blended rate from the CLI's reported API time, so local models and Claude compare on speed as well as on iterations and cost.
7
+
8
+ ### Changed
9
+ - **One clock for every provider's phase durations.** `duration_ms` in the iteration archive is the measured wall clock of the builder's whole call and of the critic's whole retry-then-fallback sequence, failed attempts included. `claude_cli` phases used to report the CLI's own figure; they now include its startup time and compare directly with local phases.
10
+ - **The trajectory shows the model calls as steps of their own.** The builder, the critic, and the critic's retry and tool-less fallback now appear nested under `build` and `critique`, so the fascicle viewer shows where a local critic retried or fell back. Live output, verdicts, and exit codes are unchanged.
11
+ - **Stray arguments are rejected.** `volley bogus` now exits 3 with "Unused args" instead of silently ignoring the extra argument.
12
+
13
+ ### Fixed
14
+ - **Local phases no longer archive a duration of 0.** Every Ollama and LM Studio builder and critic phase recorded `duration_ms: 0`, because the duration was only ever read from what the `claude` CLI reports.
15
+ - **undici 8.11.0** closes GHSA-4cwx-7wf7-3272.
16
+
17
+ ### Internal
18
+ - Built on fascicle 0.12.9 (up from 0.9.5), checkride 0.13.0, vitest 5, and TypeScript 6. The run's topology now lives in `src/flow.ts` under a diagram of the flow, with the step bodies in `src/phases.ts` and the stopping rules in `src/loop_state.ts`; `gate`, `initial_state`, and `status_of` are still exported from the package root.
19
+ - The check gate adds fallow's duplication slot, and exports nothing outside their module used are gone.
20
+ - Pushing a `vX.Y.Z` tag publishes to npm through trusted publishing with provenance and cuts a GitHub Release, and `CHANGELOG.md` now ships in the npm tarball.
21
+
3
22
  ## v0.5.1 — 2026-09-16
4
23
 
5
24
  ### Changed
package/README.md CHANGED
@@ -290,7 +290,7 @@ Providers and their setup:
290
290
  Install the peer for your provider in the project running volley (e.g.
291
291
  `pnpm add ai-sdk-ollama@^4`); fascicle loads it lazily only when the local
292
292
  critic actually runs. The major matters: it must satisfy fascicle's declared
293
- peer range (`^4` for fascicle 0.9.5, which tracks the AI SDK v7 line; a bare
293
+ peer range (`^4` for fascicle 0.12.9, which tracks the AI SDK v7 line; a bare
294
294
  `pnpm add ai-sdk-ollama` installs v4, which is exactly what this major wants).
295
295
  The Ollama base URL is the **server root** — `ai-sdk-ollama` adds the `/api`
296
296
  prefix itself (volley strips a trailing `/api` from `VOLLEY_OLLAMA_URL` for