@robmclarty/volley 0.5.1 → 0.5.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 CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.3 — 2026-09-24
4
+
5
+ ### Fixed
6
+ - **Local phases report a true decode rate.** The `throughput` block for Ollama and LM Studio builder and critic phases was labeled `basis: 'decode'` but still counted prompt prefill, because fascicle started the clock on the stream's opening framing rather than the first token. Rates now exclude prefill and read higher than the ones v0.5.2 archived; `claude_cli` rates are unchanged.
7
+
8
+ ### Changed
9
+ - **A local stream that dies before its first token is retried by the engine.** fascicle now treats that failure as retryable on the ai_sdk transport, as it already did on native, so some local-critic stream deaths are absorbed before volley's critic retry and tool-less fallback see them.
10
+
11
+ ### Internal
12
+ - Built on fascicle 0.12.10.
13
+
14
+ ## v0.5.2 — 2026-09-24
15
+
16
+ ### Added
17
+ - **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.
18
+
19
+ ### Changed
20
+ - **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.
21
+ - **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.
22
+ - **Stray arguments are rejected.** `volley bogus` now exits 3 with "Unused args" instead of silently ignoring the extra argument.
23
+
24
+ ### Fixed
25
+ - **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.
26
+ - **undici 8.11.0** closes GHSA-4cwx-7wf7-3272.
27
+
28
+ ### Internal
29
+ - 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.
30
+ - The check gate adds fallow's duplication slot, and exports nothing outside their module used are gone.
31
+ - 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.
32
+
3
33
  ## v0.5.1 — 2026-09-16
4
34
 
5
35
  ### 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.10, 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