@oh-my-pi/pi-coding-agent 16.3.2 → 16.3.4

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 (94) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/cli.js +3553 -3540
  3. package/dist/types/cli/update-cli.d.ts +1 -0
  4. package/dist/types/cli/update-cli.test.d.ts +1 -0
  5. package/dist/types/commands/update.d.ts +5 -0
  6. package/dist/types/config/config-file.d.ts +1 -1
  7. package/dist/types/config/settings-schema.d.ts +10 -0
  8. package/dist/types/dap/client.d.ts +9 -1
  9. package/dist/types/edit/file-snapshot-store.d.ts +9 -1
  10. package/dist/types/edit/hashline/execute.d.ts +1 -1
  11. package/dist/types/edit/hashline/params.d.ts +3 -6
  12. package/dist/types/edit/renderer.d.ts +1 -0
  13. package/dist/types/extensibility/plugins/parser.d.ts +2 -1
  14. package/dist/types/hindsight/client.d.ts +15 -11
  15. package/dist/types/hindsight/client.test.d.ts +1 -0
  16. package/dist/types/mcp/smithery-registry.d.ts +1 -0
  17. package/dist/types/mcp/smithery-registry.test.d.ts +1 -0
  18. package/dist/types/modes/components/advisor-message.d.ts +4 -2
  19. package/dist/types/modes/components/tool-execution.d.ts +9 -6
  20. package/dist/types/modes/components/transcript-container.d.ts +1 -0
  21. package/dist/types/modes/theme/theme.d.ts +1 -1
  22. package/dist/types/session/indexed-session-storage.d.ts +2 -2
  23. package/dist/types/session/session-storage.d.ts +31 -3
  24. package/dist/types/ssh/__tests__/connection-manager-timeout.test.d.ts +1 -0
  25. package/dist/types/ssh/__tests__/sshfs-mount.test.d.ts +1 -0
  26. package/dist/types/ssh/connection-manager.d.ts +19 -0
  27. package/dist/types/ssh/sshfs-mount.d.ts +10 -1
  28. package/dist/types/subprocess/worker-client.d.ts +20 -6
  29. package/dist/types/tools/bash.d.ts +27 -0
  30. package/dist/types/tools/renderers.d.ts +13 -0
  31. package/dist/types/tools/ssh.d.ts +2 -0
  32. package/dist/types/utils/fetch-timeout.d.ts +4 -0
  33. package/dist/types/web/search/providers/base.d.ts +1 -0
  34. package/dist/types/web/search/providers/gemini.d.ts +1 -0
  35. package/package.json +12 -12
  36. package/scripts/generate-legacy-pi-bundled-registry.ts +8 -2
  37. package/src/cli/models-cli.ts +19 -0
  38. package/src/cli/update-cli.test.ts +28 -0
  39. package/src/cli/update-cli.ts +35 -8
  40. package/src/cli/usage-cli.ts +34 -5
  41. package/src/commands/update.ts +8 -2
  42. package/src/config/config-file.ts +6 -6
  43. package/src/config/settings-schema.ts +10 -0
  44. package/src/dap/client.ts +134 -36
  45. package/src/edit/file-snapshot-store.ts +12 -1
  46. package/src/edit/hashline/diff.ts +4 -13
  47. package/src/edit/hashline/execute.ts +1 -1
  48. package/src/edit/hashline/params.ts +5 -12
  49. package/src/edit/renderer.ts +4 -2
  50. package/src/edit/streaming.ts +15 -5
  51. package/src/export/html/tool-views.generated.js +2 -2
  52. package/src/extensibility/plugins/installer.ts +12 -3
  53. package/src/extensibility/plugins/manager.ts +32 -8
  54. package/src/extensibility/plugins/parser.ts +7 -5
  55. package/src/extensibility/tool-event-input.ts +1 -1
  56. package/src/hindsight/client.test.ts +33 -0
  57. package/src/hindsight/client.ts +42 -22
  58. package/src/internal-urls/docs-index.generated.txt +1 -1
  59. package/src/main.ts +7 -1
  60. package/src/mcp/oauth-flow.ts +93 -4
  61. package/src/mcp/smithery-auth.ts +3 -0
  62. package/src/mcp/smithery-connect.ts +9 -0
  63. package/src/mcp/smithery-registry.test.ts +51 -0
  64. package/src/mcp/smithery-registry.ts +27 -4
  65. package/src/modes/components/advisor-message.ts +13 -10
  66. package/src/modes/components/status-line/component.ts +11 -4
  67. package/src/modes/components/tool-execution.ts +74 -8
  68. package/src/modes/components/transcript-container.ts +26 -0
  69. package/src/modes/controllers/event-controller.ts +7 -3
  70. package/src/modes/controllers/tool-args-reveal.ts +1 -1
  71. package/src/modes/interactive-mode.ts +1 -0
  72. package/src/modes/rpc/rpc-client.ts +29 -16
  73. package/src/modes/theme/shimmer.ts +49 -15
  74. package/src/modes/theme/theme.ts +7 -0
  75. package/src/session/agent-session.ts +166 -30
  76. package/src/session/indexed-session-storage.ts +40 -3
  77. package/src/session/session-manager.ts +83 -14
  78. package/src/session/session-storage.ts +112 -26
  79. package/src/slash-commands/helpers/usage-report.ts +6 -1
  80. package/src/ssh/__tests__/connection-manager-timeout.test.ts +61 -0
  81. package/src/ssh/__tests__/sshfs-mount.test.ts +13 -0
  82. package/src/ssh/connection-manager.ts +44 -11
  83. package/src/ssh/sshfs-mount.ts +27 -4
  84. package/src/subprocess/worker-client.ts +161 -10
  85. package/src/tools/bash.ts +30 -1
  86. package/src/tools/grep.ts +21 -1
  87. package/src/tools/read.ts +14 -4
  88. package/src/tools/renderers.ts +13 -0
  89. package/src/tools/ssh.ts +8 -0
  90. package/src/utils/clipboard.ts +49 -12
  91. package/src/utils/fetch-timeout.ts +10 -0
  92. package/src/web/search/index.ts +8 -0
  93. package/src/web/search/providers/base.ts +1 -0
  94. package/src/web/search/providers/gemini.ts +23 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,50 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [16.3.4] - 2026-07-03
6
+
7
+ ### Fixed
8
+
9
+ - Fixed `omp usage` hiding sibling-only limits such as Claude 7 Day (Fable) on accounts whose current report omitted that scoped bucket; the account now renders an explicit `not reported` row instead of looking like the usage refresh skipped the column.
10
+
11
+ ## [16.3.3] - 2026-07-02
12
+
13
+ ### Breaking Changes
14
+
15
+ - Removed _input as a supported alias for the edit tool input field
16
+
17
+ ### Changed
18
+
19
+ - Refined advisor note card visuals with a dedicated rail character and bold label headers
20
+ - Deferred session_stop extension hooks and incomplete-todo reminders until all agent-owned background jobs (such as async bash or task spawns) are fully idle
21
+ - Restyled the advisor note card so notes no longer blend into thinking output: bold label-tag header, heavier severity-tinted rail, and note body on the default text color instead of thinking-gray
22
+
23
+ ### Fixed
24
+
25
+ - Fixed TUI loading animation sometimes failing to render during interactive mode status updates
26
+ - Fixed race conditions and potential hangs during agent startup by improving process lifecycle management
27
+ - Fixed RpcClient startup errors intermittently losing the child's stderr (e.g. the "Unknown provider" message) by waiting for the process to exit — and its stderr to fully drain — before reporting a failed start; also fixed an unhandled rejection when the agent process is killed before becoming ready
28
+ - Improved reliability of file edits when snapshots share identical hash tags
29
+ - Fixed terminal creation in ACP by properly wrapping shell commands and arguments, resolving execution failures (such as ENOENT errors) on Windows and POSIX platforms
30
+ - Fixed inference worker subprocesses (such as TTS, STT, and embeddings) discarding stderr, ensuring unexpected crashes and exit traces are properly captured and surfaced in logs
31
+ - Fixed potential session data loss on Windows during atomic compaction rewrites by preventing concurrent writes from overwriting the session file during exit or compaction
32
+ - Fixed transcript scrollback boundaries to prevent duplicate rows from appearing when live blocks grow
33
+ - Fixed macOS SSHFS mount detection to avoid redundant remounting attempts when the mountpoint is unavailable
34
+ - Fixed SSH streamed placeholders and partial frames leaving stale rows in the TUI viewport and scrollback
35
+ - Fixed Gemini web search to correctly honor the configured search model (providers.webSearchGeminiModel or GEMINI_SEARCH_MODEL) for both OAuth and Developer API grounding requests
36
+ - Fixed omp install rejecting valid npm package specifications
37
+ - Improved MCP OAuth reauthorization error messages when dynamic client registration is closed, directing users to configure client credentials
38
+ - Fixed omp update -l to correctly support the plugin-update shorthand for upgrading marketplace plugins
39
+ - Fixed /advisor on command to correctly rebuild the advisor runtime and bind to the newly configured model
40
+ - Fixed edit tool failures on large source files after a structural-summary read by automatically merging unseen anchor lines into the snapshot
41
+ - Fixed potential hangs and process leaks in the Debug Adapter Protocol (DAP) client by introducing write timeouts and ensuring detached adapter processes are terminated on connection failures
42
+ - Fixed status-line GitHub PR lookup hangs by enforcing a command timeout
43
+ - Fixed potential pipe-buffer deadlocks during plugin installation, uninstallation, and updates by concurrently draining stdout and stderr
44
+ - Fixed SSH tool hangs on unreachable hosts by enforcing a 30-second timeout on pre-command connection and host probes
45
+ - Fixed models.yml schema validation to surface warnings for invalid custom provider configurations instead of silently ignoring them
46
+ - Fixed potential network hangs in omp update, Hindsight recall, and Smithery registry lookups by adding fetch timeouts
47
+ - Reduced TUI CPU overhead during streaming and idle waits by dropping the redundant pre-render on every session event, iterating shimmer text in place instead of allocating a code-point array per animation frame, and coalescing the live-tool spinner render cadence to its glyph-advance rate ([#4353](https://github.com/can1357/oh-my-pi/issues/4353)).
48
+
5
49
  ## [16.3.2] - 2026-07-02
6
50
 
7
51
  ### Breaking Changes