@oh-my-pi/pi-coding-agent 16.3.9 → 16.3.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/cli.js +2738 -2738
  3. package/dist/types/modes/interactive-mode.d.ts +5 -3
  4. package/dist/types/modes/session-observer-registry.d.ts +3 -1
  5. package/dist/types/session/agent-session.d.ts +11 -7
  6. package/dist/types/task/renderer.d.ts +0 -1
  7. package/dist/types/tools/browser/run-cancellation.d.ts +11 -0
  8. package/dist/types/tools/browser/tab-protocol.d.ts +1 -0
  9. package/dist/types/tools/tool-errors.d.ts +1 -1
  10. package/package.json +12 -12
  11. package/src/config/model-discovery.ts +18 -2
  12. package/src/internal-urls/docs-index.generated.txt +1 -1
  13. package/src/modes/components/__tests__/skill-message.test.ts +2 -0
  14. package/src/modes/components/agent-hub.ts +17 -2
  15. package/src/modes/components/skill-message.ts +1 -1
  16. package/src/modes/index.ts +0 -7
  17. package/src/modes/interactive-mode.ts +54 -18
  18. package/src/modes/session-observer-registry.ts +11 -8
  19. package/src/prompts/system/title-system.md +10 -10
  20. package/src/sdk.ts +18 -0
  21. package/src/session/agent-session.ts +25 -13
  22. package/src/system-prompt.test.ts +34 -1
  23. package/src/system-prompt.ts +24 -8
  24. package/src/task/render.test.ts +134 -1
  25. package/src/task/render.ts +24 -6
  26. package/src/task/renderer.ts +0 -1
  27. package/src/tools/browser/cmux/cmux-tab.ts +7 -3
  28. package/src/tools/browser/run-cancellation.ts +28 -8
  29. package/src/tools/browser/tab-protocol.ts +1 -1
  30. package/src/tools/browser/tab-supervisor.ts +4 -4
  31. package/src/tools/browser/tab-worker.ts +19 -7
  32. package/src/tools/irc.ts +18 -2
  33. package/src/tools/tool-errors.ts +3 -3
  34. package/src/utils/title-generator.ts +40 -65
  35. package/src/prompts/system/title-system-marker.md +0 -17
package/CHANGELOG.md CHANGED
@@ -2,6 +2,37 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [16.3.11] - 2026-07-06
6
+
7
+ ### Changed
8
+
9
+ - Improved session title generation reliability by moving to marker-based parsing for all models
10
+
11
+ ### Fixed
12
+
13
+ - Fixed session titles occasionally showing raw `{"title": "..."}` JSON. Online title generation now always uses the `<title>...</title>` marker prompt instead of a forced `set_title` tool call — hosts that ignored or rejected forced `tool_choice` echoed the prompt's JSON example verbatim as the title — and JSON-shaped responses (bare, code-fenced, marker-wrapped, or truncated) are unwrapped to the bare title.
14
+ - Fixed Linux startup prompt construction to read the CPU model from `/proc/cpuinfo` instead of `os.cpus()`, avoiding per-core sysfs frequency probes on many-core hosts ([#4712](https://github.com/can1357/oh-my-pi/issues/4712)).
15
+ - Fixed llama.cpp model discovery to honor per-model `architecture.input_modalities` from `/v1/models`, so router presets that advertise image input are no longer treated as text-only ([#4719](https://github.com/can1357/oh-my-pi/issues/4719)).
16
+
17
+ ## [16.3.10] - 2026-07-06
18
+
19
+ ### Changed
20
+
21
+ - Limited subagent HUD display to 8 items with a summary for additional running subagents
22
+ - Improved TUI performance by coalescing agent registry and observer UI updates
23
+
24
+ ### Fixed
25
+
26
+ - Fixed high-subagent sessions overwhelming the TUI by bounding the running-subagent HUD and coalescing subagent progress repaint bursts.
27
+ - Fixed browser run cleanup crashing or wedging the whole omp session: run-end and tab-close aborts could reject fire-and-forget `wait()`/facade/tab promises with no consumer, and the global unhandled-rejection handler then exited the process, killing every subagent sharing it. Run-scoped promises are now observed at creation and routine browser teardown aborts are downgraded to log lines ([#4499](https://github.com/can1357/oh-my-pi/issues/4499), [#4672](https://github.com/can1357/oh-my-pi/issues/4672)).
28
+ - Reduced CPU use while many task subagents stream progress by disabling the obsolete task partial-result spinner repaint loop ([#4424](https://github.com/can1357/oh-my-pi/issues/4424)).
29
+ - Capped collapsed nested subagent trees at the same per-level agent limit as top-level task rendering (failures prioritized, elided rows summarized), so deep many-subagent sessions no longer render unbounded progress trees on every repaint.
30
+ - Fixed skill card headers to render a single space between the `skill` tag and skill name ([#4662](https://github.com/can1357/oh-my-pi/issues/4662)).
31
+ - Fixed `get_session_stats` RPC responses to include context-window usage so RPC clients can render context meters.
32
+ - Fixed startup of cached llama.cpp vision models so the initial default/restored model refreshes `/props` metadata before the session exposes it as text-only.
33
+ - Fixed IRC-woken yielded subagents skipping empty-stop retry because stale yield-termination state carried into the wake turn ([#4658](https://github.com/can1357/oh-my-pi/issues/4658)).
34
+ - Fixed `irc wait` skipping replies that arrived between wait calls by draining pending IRC asides before honoring queued-interrupt aborts ([#4657](https://github.com/can1357/oh-my-pi/issues/4657)).
35
+
5
36
  ## [16.3.9] - 2026-07-06
6
37
 
7
38
  ### Added