pi-crew 0.11.9 → 0.11.11

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,55 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.11] — Upgrade Wave 1: U1 dead-option, U2 buffered events, U3 key-free E2E, U10 measured-token handoff (2026-10-10)
4
+
5
+ Wave 1 of the upgrade-spec program (`pi-crew-upgrade-spec-2026-10-09.md`, verified over
6
+ 10 research/verify rounds). Four independent specs, one commit each; `test:critical`
7
+ 120/0, full suite 8752/8778 (22 pre-existing env failures, proven on pristine HEAD),
8
+ `dist/index.mjs` rebuilt fresh in-tree.
9
+
10
+ ### Changed
11
+
12
+ - **U1** — removed the dead `modelRegistry` option from the `createAgentSession` call
13
+ (live-session-runtime): the option never existed in any pi SDK release; model control
14
+ stays on `model` + `scopedModels`. (19c3f54c)
15
+ - **U2** — migrated the remaining hot sync `appendEvent` call-sites to async/buffered
16
+ primitives (12 of 39; 27 kept sync by documented contract — forcing all was previously
17
+ reverted by CI, b6eba80f/3a748640). Real-SIGTERM test proves buffered events survive
18
+ graceful shutdown (40/40); buffered writer ≈30-45x sync throughput. (37edbc83)
19
+ - **U10** — dependency-context handoff budgets now anchor on the worker's *measured*
20
+ token usage (message_end) instead of the chars/4 heuristic (never loosens, max-floor
21
+ preserved), and the worker handoff template follows the pinned 6-section structure
22
+ (Goal / Constraints & Preferences / Progress / Key Decisions / Next Steps /
23
+ Critical Context) rendered verbatim. (25f96120)
24
+
25
+ ### Added
26
+
27
+ - **U3** — key-free, network-free E2E seam for the in-process live-session worker via
28
+ pi-ai `fauxProvider`: scripted responses (ok / tool-use / error / retry) run inside
29
+ an unshared netns with zero auth env vars. Foundation for U4/U11 embedded-tier tests.
30
+ (bdebf179)
31
+
32
+ # Changelog
33
+
34
+ ## [0.11.10] — F1: `V` live-conversation dead-end replaced with runtime-aware notice (2026-10-08)
35
+
36
+ ### Fixed
37
+
38
+ - **F1 (full-tier battery 2026-10-08)** — `V` (live conversation) ended in
39
+ "No live agent found for this run." on **every** child-process/scaffold run
40
+ (i.e. the default runtime — the in-process live-agent registry is only ever
41
+ populated by the ADR-frozen live-session runtime). `openLiveConversation` now
42
+ reads `manifest.runtimeResolution.kind` when no live agent matches and answers
43
+ with an actionable notice instead: child-process/scaffold runs are pointed at
44
+ the transcript viewer (`v` from the dashboard / `/team-transcript` — streaming
45
+ from disk, works live); live-session and legacy manifests keep the classic
46
+ message. Contract change: the return flag now means handled vs
47
+ cancelled/headless — the shared.ts fall-through notification (which also fired
48
+ spuriously on picker-cancel) is gone. Agents-browser live section unchanged
49
+ (honest empty list, not a dead end). Pins: 5 new tests in
50
+ `viewers-live-conversation.test.ts` (kind-routed notices, legacy manifest,
51
+ headless silent-false).
52
+
3
53
  ## [0.11.9] — F-BAT1: broker socket dir dodges /tmp pi-crew-* sweeps + stale-probe race (2026-10-08)
4
54
 
5
55
  Live-caught by the full-tier battery (T9b-W): worker coordination (`ask`/`message`/`delegate`)