pi-crew 0.1.33 → 0.1.35

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.
Files changed (43) hide show
  1. package/docs/architecture.md +3 -3
  2. package/docs/research-phase8-operator-experience-plan.md +819 -0
  3. package/docs/research-phase9-observability-reliability-plan.md +1190 -0
  4. package/docs/research-source-pi-crew-reference.md +174 -0
  5. package/docs/research-ui-optimization-plan.md +480 -0
  6. package/package.json +1 -1
  7. package/schema.json +14 -0
  8. package/src/config/config.ts +35 -0
  9. package/src/config/defaults.ts +7 -0
  10. package/src/extension/notification-router.ts +116 -0
  11. package/src/extension/notification-sink.ts +51 -0
  12. package/src/extension/register.ts +133 -35
  13. package/src/extension/registration/commands.ts +110 -3
  14. package/src/extension/registration/team-tool.ts +5 -2
  15. package/src/extension/registration/viewers.ts +3 -1
  16. package/src/runtime/child-pi.ts +6 -1
  17. package/src/runtime/diagnostic-export.ts +107 -0
  18. package/src/runtime/pi-spawn.ts +4 -1
  19. package/src/schema/config-schema.ts +11 -0
  20. package/src/ui/crew-widget.ts +350 -285
  21. package/src/ui/dashboard-panes/agents-pane.ts +28 -0
  22. package/src/ui/dashboard-panes/health-pane.ts +30 -0
  23. package/src/ui/dashboard-panes/mailbox-pane.ts +10 -0
  24. package/src/ui/dashboard-panes/progress-pane.ts +14 -0
  25. package/src/ui/dashboard-panes/transcript-pane.ts +10 -0
  26. package/src/ui/heartbeat-aggregator.ts +53 -0
  27. package/src/ui/keybinding-map.ts +92 -0
  28. package/src/ui/live-run-sidebar.ts +23 -10
  29. package/src/ui/overlays/agent-picker-overlay.ts +57 -0
  30. package/src/ui/overlays/confirm-overlay.ts +58 -0
  31. package/src/ui/overlays/mailbox-compose-overlay.ts +144 -0
  32. package/src/ui/overlays/mailbox-compose-preview.ts +63 -0
  33. package/src/ui/overlays/mailbox-detail-overlay.ts +122 -0
  34. package/src/ui/pi-ui-compat.ts +57 -0
  35. package/src/ui/powerbar-publisher.ts +128 -94
  36. package/src/ui/render-scheduler.ts +103 -0
  37. package/src/ui/run-action-dispatcher.ts +107 -0
  38. package/src/ui/run-dashboard.ts +422 -372
  39. package/src/ui/run-snapshot-cache.ts +359 -0
  40. package/src/ui/snapshot-types.ts +47 -0
  41. package/src/ui/spinner.ts +17 -0
  42. package/src/ui/transcript-cache.ts +94 -0
  43. package/src/ui/transcript-viewer.ts +316 -302
@@ -152,9 +152,9 @@ Atomic writes use temp-file replace with retry for transient Windows `EPERM`/`EB
152
152
  - The persistent widget shows active runs only.
153
153
  - Stale async runs with dead background pids are hidden from the active widget.
154
154
  - `/team-status` is the canonical detailed state view and can mark stale active async runs failed.
155
- - `/team-dashboard` provides history and details.
156
- - Powerbar publishing is optional and event-compatible.
157
- - Transcript viewer is file-backed so it works for foreground and async runs.
155
+ - `/team-dashboard` provides live history/details from `RunSnapshotCache`, with panes for agents, progress/events, mailbox attention, and recent output.
156
+ - Powerbar publishing is optional and event-compatible: pi-crew emits `powerbar:register-segment` for `pi-crew-active` / `pi-crew-progress`, emits `powerbar:update` payloads (`id`, `text`, optional `suffix`, `bar`, `color`), and mirrors status through `ctx.ui.setStatus("pi-crew", ...)` when no powerbar listener is detected.
157
+ - Transcript viewer is file-backed so it works for foreground and async runs; it defaults to bounded tail reads and can load full content on demand.
158
158
 
159
159
  ## Lifecycle and cleanup
160
160