@oh-my-pi/pi-coding-agent 17.1.7 → 17.1.8

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 (84) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{CHANGELOG-5k4dq4g6.md → CHANGELOG-vt8ene9g.md} +35 -0
  3. package/dist/cli.js +4087 -7122
  4. package/dist/template-dys3vk5b.js +1671 -0
  5. package/dist/template-f8wx9vfn.css +1355 -0
  6. package/dist/template-qat058wr.html +55 -0
  7. package/dist/tool-views.generated-jdfmzwmn.js +35 -0
  8. package/dist/types/advisor/advise-tool.d.ts +0 -7
  9. package/dist/types/advisor/runtime.d.ts +0 -9
  10. package/dist/types/async/job-manager.d.ts +11 -0
  11. package/dist/types/cleanse/agent.d.ts +19 -0
  12. package/dist/types/cleanse/balance.d.ts +7 -0
  13. package/dist/types/cleanse/checkers.d.ts +13 -0
  14. package/dist/types/cleanse/index.d.ts +16 -0
  15. package/dist/types/cleanse/loop.d.ts +16 -0
  16. package/dist/types/cleanse/parsers.d.ts +13 -0
  17. package/dist/types/cleanse/progress.d.ts +14 -0
  18. package/dist/types/cleanse/types.d.ts +64 -0
  19. package/dist/types/commands/cleanse.d.ts +23 -0
  20. package/dist/types/export/html/index.d.ts +2 -0
  21. package/dist/types/extensibility/legacy-pi-ai-shim.d.ts +27 -1
  22. package/dist/types/modes/interactive-mode.d.ts +4 -3
  23. package/dist/types/session/async-job-delivery.d.ts +8 -0
  24. package/dist/types/session/model-controls.d.ts +3 -3
  25. package/dist/types/task/isolation-ownership.d.ts +34 -0
  26. package/dist/types/tools/browser/cmux/cmux-tab.d.ts +1 -2
  27. package/dist/types/tools/browser/tab-worker.d.ts +1 -4
  28. package/dist/types/tui/output-block.d.ts +5 -5
  29. package/package.json +16 -12
  30. package/scripts/bundle-dist.ts +3 -1
  31. package/src/advisor/advise-tool.ts +0 -11
  32. package/src/advisor/runtime.ts +0 -12
  33. package/src/async/job-manager.ts +30 -7
  34. package/src/cleanse/agent.ts +226 -0
  35. package/src/cleanse/balance.ts +79 -0
  36. package/src/cleanse/checkers.ts +996 -0
  37. package/src/cleanse/index.ts +190 -0
  38. package/src/cleanse/loop.ts +51 -0
  39. package/src/cleanse/parsers.ts +726 -0
  40. package/src/cleanse/progress.ts +50 -0
  41. package/src/cleanse/prompts/assignment.md +47 -0
  42. package/src/cleanse/types.ts +72 -0
  43. package/src/cli/update-cli.ts +3 -0
  44. package/src/cli/usage-cli.ts +29 -4
  45. package/src/cli/worktree-cli.ts +28 -11
  46. package/src/cli-commands.ts +1 -0
  47. package/src/cli.ts +2 -1
  48. package/src/commands/cleanse.ts +45 -0
  49. package/src/discovery/claude-plugins.ts +144 -34
  50. package/src/export/html/index.ts +17 -10
  51. package/src/extensibility/legacy-pi-ai-shim.ts +46 -1
  52. package/src/launch/broker.ts +14 -4
  53. package/src/modes/acp/acp-agent.ts +12 -9
  54. package/src/modes/acp/acp-event-mapper.ts +38 -4
  55. package/src/modes/components/settings-selector.ts +9 -1
  56. package/src/modes/interactive-mode.ts +36 -47
  57. package/src/modes/prompt-action-autocomplete.ts +5 -3
  58. package/src/prompts/goals/guided-goal-interview.md +41 -6
  59. package/src/prompts/system/vibe-mode-active.md +4 -1
  60. package/src/prompts/tools/browser.md +1 -0
  61. package/src/prompts/tools/goal.md +1 -1
  62. package/src/session/agent-session.ts +28 -4
  63. package/src/session/async-job-delivery.ts +8 -0
  64. package/src/session/model-controls.ts +4 -4
  65. package/src/session/session-advisors.ts +2 -7
  66. package/src/session/session-history-format.ts +31 -6
  67. package/src/slash-commands/builtin-registry.ts +5 -2
  68. package/src/task/isolation-ownership.ts +106 -0
  69. package/src/task/worktree.ts +8 -0
  70. package/src/tools/ask.ts +3 -3
  71. package/src/tools/ast-edit.ts +9 -2
  72. package/src/tools/browser/cmux/cmux-tab.ts +9 -14
  73. package/src/tools/browser/tab-worker.ts +12 -35
  74. package/src/tools/browser.ts +2 -2
  75. package/src/tools/gh-renderer.ts +3 -3
  76. package/src/tools/index.ts +10 -1
  77. package/src/tools/write.ts +35 -0
  78. package/src/tui/code-cell.ts +4 -4
  79. package/src/tui/output-block.ts +25 -8
  80. package/src/utils/shell-snapshot-fn-env.sh +5 -2
  81. package/src/web/search/render.ts +2 -2
  82. package/dist/types/goals/guided-setup.d.ts +0 -30
  83. package/src/goals/guided-setup.ts +0 -171
  84. package/src/prompts/goals/guided-goal-system.md +0 -33
package/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.1.8] - 2026-07-28
6
+
7
+ ### Breaking Changes
8
+
9
+ - Changed tab.screenshot() to no longer accept a per-call save path; it now saves screenshots under browser.screenshotDir (or the OS temp directory if unset) and returns the saved path.
10
+
11
+ ### Added
12
+
13
+ - Added omp cleanse, a new command that automatically detects language-ecosystem checkers, parses diagnostics (such as Cargo Clippy JSON), distributes repair workloads across concurrent subagents, and runs verification checks with a live progress bar.
14
+
15
+ ### Changed
16
+
17
+ - Reworked the /guided-goal command from a modal-based popup flow into a natural, conversational chat interface where the agent asks follow-up questions directly in the session.
18
+ - Reduced startup memory usage by lazy-loading HTML session export assets only on their first use.
19
+
20
+ ### Fixed
21
+
22
+ - Fixed Advisor notes appending stale-review-window warnings when newer primary turns are queued during a review.
23
+ - Fixed layout padding alignment issues in bordered output blocks and web-search result panels.
24
+ - Fixed excluded web search providers remaining visible in the Web Search Provider Order settings list.
25
+ - Fixed internal Hub peer messages being exposed as ordinary tool-call updates in clients like Paseo.
26
+ - Fixed compatibility issues when installing legacy pi extensions by updating the legacy shim to correctly bridge missing runtime symbols and exports (such as isContextOverflow, isRetryableAssistantError, and JSON parsing utilities).
27
+ - Fixed an issue where routine daemon operations (like list, logs, stop, or describe) could inadvertently trigger a restart loop for detached daemons in a backoff window.
28
+ - Fixed marketplace plugin MCP discovery to correctly honor the mcpServers manifest field in plugin configuration files.
29
+ - Fixed user-initiated shell executions (! and $) being misattributed as agent actions in advisor transcripts.
30
+ - Fixed unnecessary prompt-cache invalidations by preserving the active auto-thinking effort level when per-turn classification fails.
31
+ - Fixed the omp process name showing up as bun in Linux process managers (like ps and top).
32
+ - Fixed agent shell commands inheriting environment variables from the launch directory's .env file, ensuring they only receive the parent environment and explicit tool overrides.
33
+ - Fixed the /new command retaining completed or failed async jobs from the previous session.
34
+ - Improved error handling in omp update to display a friendly timeout message if the download times out while streaming the binary.
35
+ - Fixed the write tool incorrectly treating semicolon-joined read selectors as filesystem paths and creating unintended directory structures.
36
+ - Fixed omp worktree clear prematurely deleting active task-isolation sandboxes owned by running subagents.
37
+ - Fixed /vibe mode preventing the director from completing parent tasks after verifying worker results by keeping the built-in todo tool active.
38
+ - Fixed numeric GitHub issue and pull request autocomplete being suppressed inside skill slash-command arguments.
39
+
5
40
  ## [17.1.7] - 2026-07-27
6
41
 
7
42
  ### Fixed
@@ -2,6 +2,41 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.1.8] - 2026-07-28
6
+
7
+ ### Breaking Changes
8
+
9
+ - Changed tab.screenshot() to no longer accept a per-call save path; it now saves screenshots under browser.screenshotDir (or the OS temp directory if unset) and returns the saved path.
10
+
11
+ ### Added
12
+
13
+ - Added omp cleanse, a new command that automatically detects language-ecosystem checkers, parses diagnostics (such as Cargo Clippy JSON), distributes repair workloads across concurrent subagents, and runs verification checks with a live progress bar.
14
+
15
+ ### Changed
16
+
17
+ - Reworked the /guided-goal command from a modal-based popup flow into a natural, conversational chat interface where the agent asks follow-up questions directly in the session.
18
+ - Reduced startup memory usage by lazy-loading HTML session export assets only on their first use.
19
+
20
+ ### Fixed
21
+
22
+ - Fixed Advisor notes appending stale-review-window warnings when newer primary turns are queued during a review.
23
+ - Fixed layout padding alignment issues in bordered output blocks and web-search result panels.
24
+ - Fixed excluded web search providers remaining visible in the Web Search Provider Order settings list.
25
+ - Fixed internal Hub peer messages being exposed as ordinary tool-call updates in clients like Paseo.
26
+ - Fixed compatibility issues when installing legacy pi extensions by updating the legacy shim to correctly bridge missing runtime symbols and exports (such as isContextOverflow, isRetryableAssistantError, and JSON parsing utilities).
27
+ - Fixed an issue where routine daemon operations (like list, logs, stop, or describe) could inadvertently trigger a restart loop for detached daemons in a backoff window.
28
+ - Fixed marketplace plugin MCP discovery to correctly honor the mcpServers manifest field in plugin configuration files.
29
+ - Fixed user-initiated shell executions (! and $) being misattributed as agent actions in advisor transcripts.
30
+ - Fixed unnecessary prompt-cache invalidations by preserving the active auto-thinking effort level when per-turn classification fails.
31
+ - Fixed the omp process name showing up as bun in Linux process managers (like ps and top).
32
+ - Fixed agent shell commands inheriting environment variables from the launch directory's .env file, ensuring they only receive the parent environment and explicit tool overrides.
33
+ - Fixed the /new command retaining completed or failed async jobs from the previous session.
34
+ - Improved error handling in omp update to display a friendly timeout message if the download times out while streaming the binary.
35
+ - Fixed the write tool incorrectly treating semicolon-joined read selectors as filesystem paths and creating unintended directory structures.
36
+ - Fixed omp worktree clear prematurely deleting active task-isolation sandboxes owned by running subagents.
37
+ - Fixed /vibe mode preventing the director from completing parent tasks after verifying worker results by keeping the built-in todo tool active.
38
+ - Fixed numeric GitHub issue and pull request autocomplete being suppressed inside skill slash-command arguments.
39
+
5
40
  ## [17.1.7] - 2026-07-27
6
41
 
7
42
  ### Fixed