@oh-my-pi/pi-coding-agent 17.3.2 → 17.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 (43) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{CHANGELOG-fr2awajz.md → CHANGELOG-trcc215s.md} +21 -0
  3. package/dist/cli.js +3558 -3530
  4. package/dist/docs-index.generated.txt +1 -1
  5. package/dist/types/markit/converters/pdf/index.d.ts +2 -1
  6. package/dist/types/session/turn-recovery.d.ts +1 -1
  7. package/dist/types/tools/read-pdf.d.ts +15 -0
  8. package/dist/types/utils/external-editor.d.ts +7 -0
  9. package/dist/types/utils/markit.d.ts +3 -4
  10. package/package.json +13 -16
  11. package/scripts/build-binary.ts +0 -2
  12. package/scripts/bundle-dist.ts +0 -1
  13. package/src/cli/read-cli.ts +2 -0
  14. package/src/markit/NOTICE +8 -8
  15. package/src/markit/converters/pdf/index.ts +14 -126
  16. package/src/mcp/client.ts +8 -9
  17. package/src/modes/controllers/event-controller.ts +57 -11
  18. package/src/modes/rpc/rpc-client.ts +7 -0
  19. package/src/modes/utils/hotkeys-markdown.ts +1 -1
  20. package/src/prompts/system/empty-stop-retry.md +1 -1
  21. package/src/session/agent-session.ts +8 -1
  22. package/src/session/turn-recovery.ts +59 -55
  23. package/src/tools/read-pdf.ts +135 -0
  24. package/src/tools/read.ts +63 -37
  25. package/src/utils/external-editor.ts +24 -5
  26. package/src/utils/markit.ts +6 -44
  27. package/dist/types/markit/converters/pdf/columns.d.ts +0 -35
  28. package/dist/types/markit/converters/pdf/extract.d.ts +0 -10
  29. package/dist/types/markit/converters/pdf/grid.d.ts +0 -25
  30. package/dist/types/markit/converters/pdf/headers.d.ts +0 -24
  31. package/dist/types/markit/converters/pdf/render.d.ts +0 -24
  32. package/dist/types/markit/converters/pdf/types.d.ts +0 -75
  33. package/dist/types/tools/read-pdf-images.d.ts +0 -12
  34. package/dist/types/utils/mupdf-wasm-embed.d.ts +0 -1
  35. package/scripts/embed-mupdf-wasm.ts +0 -67
  36. package/src/markit/converters/pdf/columns.ts +0 -103
  37. package/src/markit/converters/pdf/extract.ts +0 -598
  38. package/src/markit/converters/pdf/grid.ts +0 -780
  39. package/src/markit/converters/pdf/headers.ts +0 -106
  40. package/src/markit/converters/pdf/render.ts +0 -501
  41. package/src/markit/converters/pdf/types.ts +0 -84
  42. package/src/tools/read-pdf-images.ts +0 -250
  43. package/src/utils/mupdf-wasm-embed.ts +0 -12
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.3.4] - 2026-08-14
6
+
7
+ ### Changed
8
+
9
+ - Replaced the MuPDF-WASM PDF document backend with `pdf-inspector` through `@oh-my-pi/pi-natives`, preserving cached text conversion and PDF line selectors while reporting pages that need OCR.
10
+ - Restored `read <pdf>:` and `read <pdf>:<image>.png` page rendering by automatically capturing PDF pages through the headless Chromium browser tool.
11
+
12
+ ### Fixed
13
+
14
+ - Fixed Streamable HTTP MCP sessions being invalidated by opening the optional GET SSE stream before sending `notifications/initialized`, which prevented Figma Dev Mode MCP from connecting ([#8514](https://github.com/can1357/oh-my-pi/issues/8514)).
15
+ - Fixed the `/hotkeys` table describing Ctrl+D (`app.exit`) as "Exit (when editor is empty)" when it actually exits unconditionally and saves the current prompt as a resumable draft ([#8530](https://github.com/can1357/oh-my-pi/issues/8530)).
16
+ - Fixed Ctrl+G external editors failing to launch on Windows because Bun re-quoted the embedded `cmd.exe /c` command line ([#8544](https://github.com/can1357/oh-my-pi/issues/8544)).
17
+
18
+ ## [17.3.3] - 2026-08-14
19
+
20
+ ### Fixed
21
+
22
+ - Automatically continued Gemini turns that stopped after thinking without final output, using a bounded final-answer reminder instead of exhausting generic retries.
23
+ - Retried Gemini `MALFORMED_FUNCTION_CALL` failures when every emitted tool call was proven unexecuted, while preserving real tool-result and visible-output replay guards.
24
+ - Kept current terminal retry errors in one pinned banner with attempt context while surfacing local continuation failures instead of stale provider errors.
25
+
5
26
  ## [17.3.2] - 2026-08-13
6
27
 
7
28
  ### Fixed
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.3.4] - 2026-08-14
6
+
7
+ ### Changed
8
+
9
+ - Replaced the MuPDF-WASM PDF document backend with `pdf-inspector` through `@oh-my-pi/pi-natives`, preserving cached text conversion and PDF line selectors while reporting pages that need OCR.
10
+ - Restored `read <pdf>:` and `read <pdf>:<image>.png` page rendering by automatically capturing PDF pages through the headless Chromium browser tool.
11
+
12
+ ### Fixed
13
+
14
+ - Fixed Streamable HTTP MCP sessions being invalidated by opening the optional GET SSE stream before sending `notifications/initialized`, which prevented Figma Dev Mode MCP from connecting ([#8514](https://github.com/can1357/oh-my-pi/issues/8514)).
15
+ - Fixed the `/hotkeys` table describing Ctrl+D (`app.exit`) as "Exit (when editor is empty)" when it actually exits unconditionally and saves the current prompt as a resumable draft ([#8530](https://github.com/can1357/oh-my-pi/issues/8530)).
16
+ - Fixed Ctrl+G external editors failing to launch on Windows because Bun re-quoted the embedded `cmd.exe /c` command line ([#8544](https://github.com/can1357/oh-my-pi/issues/8544)).
17
+
18
+ ## [17.3.3] - 2026-08-14
19
+
20
+ ### Fixed
21
+
22
+ - Automatically continued Gemini turns that stopped after thinking without final output, using a bounded final-answer reminder instead of exhausting generic retries.
23
+ - Retried Gemini `MALFORMED_FUNCTION_CALL` failures when every emitted tool call was proven unexecuted, while preserving real tool-result and visible-output replay guards.
24
+ - Kept current terminal retry errors in one pinned banner with attempt context while surfacing local continuation failures instead of stale provider errors.
25
+
5
26
  ## [17.3.2] - 2026-08-13
6
27
 
7
28
  ### Fixed