@averyyy/pi-coding-agent 0.87.0-piclient.2 → 0.87.1-piclient.2

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 (87) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +25 -711
  3. package/dist/bundle/chunks/{anthropic-messages-MYU5ZMRF.js → anthropic-messages-J5WXPPPC.js} +1 -1
  4. package/dist/bundle/chunks/{chunk-6OYWS3W7.js → chunk-BZKWNWMI.js} +1 -1
  5. package/dist/bundle/chunks/{chunk-KEXYQWZW.js → chunk-X2F52Z34.js} +45 -29
  6. package/dist/bundle/chunks/github-copilot.js +1 -1
  7. package/dist/bundle/chunks/{openai-completions-XHML6MTL.js → openai-completions-OBX42CLD.js} +1 -1
  8. package/dist/bundle/chunks/{virtual-modules-5W7KEXM3.js → virtual-modules-WWGGM27U.js} +1 -1
  9. package/dist/bundle/cli-runtime.js +1 -1
  10. package/dist/bundle/index.js +1 -1
  11. package/dist/bundle/rpc-entry.js +1 -1
  12. package/dist/cli/args.d.ts.map +1 -1
  13. package/dist/cli/args.js +14 -4
  14. package/dist/cli/args.js.map +1 -1
  15. package/dist/core/agent-session.d.ts +2 -0
  16. package/dist/core/agent-session.d.ts.map +1 -1
  17. package/dist/core/agent-session.js +73 -3
  18. package/dist/core/agent-session.js.map +1 -1
  19. package/dist/core/compaction/compaction.d.ts +10 -3
  20. package/dist/core/compaction/compaction.d.ts.map +1 -1
  21. package/dist/core/compaction/compaction.js +82 -23
  22. package/dist/core/compaction/compaction.js.map +1 -1
  23. package/dist/core/model-resolver.d.ts.map +1 -1
  24. package/dist/core/model-resolver.js +1 -1
  25. package/dist/core/model-resolver.js.map +1 -1
  26. package/dist/core/pi-server-client.d.ts +5 -0
  27. package/dist/core/pi-server-client.d.ts.map +1 -1
  28. package/dist/core/pi-server-client.js +3 -0
  29. package/dist/core/pi-server-client.js.map +1 -1
  30. package/dist/core/pi-server-protocol.d.ts +2 -1
  31. package/dist/core/pi-server-protocol.d.ts.map +1 -1
  32. package/dist/core/pi-server-protocol.js +16 -0
  33. package/dist/core/pi-server-protocol.js.map +1 -1
  34. package/docs/cli-integration.md +106 -0
  35. package/docs/cli.md +268 -0
  36. package/docs/compaction.md +22 -22
  37. package/docs/configuration.md +45 -0
  38. package/docs/containerization.md +109 -82
  39. package/docs/custom-provider.md +132 -784
  40. package/docs/docs.json +139 -99
  41. package/docs/environment-variables.md +3 -5
  42. package/docs/extensions.md +134 -3020
  43. package/docs/how-pi-works.md +49 -0
  44. package/docs/images/interactive-mode.png +0 -0
  45. package/docs/index.md +24 -69
  46. package/docs/json.md +193 -65
  47. package/docs/keybindings.md +57 -102
  48. package/docs/llama-cpp.md +3 -3
  49. package/docs/message-types.md +261 -0
  50. package/docs/models.md +55 -565
  51. package/docs/packages.md +66 -167
  52. package/docs/prompt-templates.md +31 -68
  53. package/docs/providers.md +102 -240
  54. package/docs/quickstart.md +61 -106
  55. package/docs/rpc-commands.md +854 -0
  56. package/docs/rpc-extension-ui.md +200 -0
  57. package/docs/rpc.md +129 -1556
  58. package/docs/sdk.md +76 -1171
  59. package/docs/security.md +70 -32
  60. package/docs/session-format.md +10 -214
  61. package/docs/sessions.md +35 -141
  62. package/docs/settings.md +109 -387
  63. package/docs/shell-aliases.md +85 -5
  64. package/docs/skills.md +51 -190
  65. package/docs/slash-commands.md +60 -0
  66. package/docs/terminal-setup.md +105 -78
  67. package/docs/termux.md +74 -83
  68. package/docs/themes.md +68 -280
  69. package/docs/tmux.md +31 -39
  70. package/docs/tui.md +69 -923
  71. package/docs/usage.md +54 -272
  72. package/docs/windows.md +43 -17
  73. package/examples/README.md +13 -2
  74. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  75. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  76. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  77. package/examples/extensions/gondolin/package-lock.json +2 -2
  78. package/examples/extensions/gondolin/package.json +1 -1
  79. package/examples/extensions/sandbox/package-lock.json +2 -2
  80. package/examples/extensions/sandbox/package.json +1 -1
  81. package/examples/extensions/with-deps/package-lock.json +2 -2
  82. package/examples/extensions/with-deps/package.json +1 -1
  83. package/examples/rpc-client.ts +35 -0
  84. package/examples/rpc-extension-ui.ts +25 -5
  85. package/examples/sdk/README.md +1 -1
  86. package/package.json +8 -8
  87. package/docs/development.md +0 -90
package/CHANGELOG.md CHANGED
@@ -27,6 +27,31 @@
27
27
  - Fixed disconnected pi-server streams to recover the same run before allowing an outer provider retry, preventing duplicate concurrent provider requests.
28
28
  - Fixed pi-client skipping auto-retry on pi-server HTTP 502/proxy failures. Same-run recovery now runs only after an event-stream has started, so a down proxy no longer reclassifies the original stream error as non-retryable.
29
29
  - Preserved oversized-session chunked summarization and pi-server compaction recovery while adopting upstream canonical context projection and extension boundaries.
30
+ - Preserved eligible provider prompt prefixes during compaction summaries, with explicit reasons when the existing chunked path is required.
31
+
32
+ ## [0.87.1] - 2026-09-22
33
+
34
+ ### New Features
35
+
36
+ - **Latest frontier models** — Use Claude Opus 5.5, GPT-6 Sol, and GPT-6 Luna through supported providers, including GitHub Copilot. See [Choose a Model](docs/models.md#select-a-model).
37
+ - **Grok 4.7 by default for xAI** — New xAI sessions now default to Grok 4.7. See [Provider Authentication](docs/providers.md#use-an-api-key-from-the-environment).
38
+
39
+ ### Added
40
+
41
+ - Added inherited Claude Opus 5.5, GPT-6 Sol, and GPT-6 Luna support for GitHub Copilot.
42
+ - Added inherited GPT-6 Sol and GPT-6 Luna support for OpenAI API keys and OpenAI Codex subscriptions.
43
+ - Added inherited Claude Opus 5.5 support for Anthropic with adaptive thinking and a 1M context window.
44
+
45
+ ### Changed
46
+
47
+ - Changed the default xAI model to Grok 4.7.
48
+
49
+ ### Fixed
50
+
51
+ - Fixed split-turn compaction summaries being refused by Claude Fable 5.1 by clearly separating the conversation and using continuation-oriented instructions ([#9908](https://github.com/earendil-works/pi/pull/9908) by [@davidbrai](https://github.com/davidbrai)).
52
+ - Fixed missing or invalid `--mode` values being silently ignored instead of reporting an error and exiting with a nonzero status ([#9045](https://github.com/earendil-works/pi/issues/9045)).
53
+ - Fixed inherited image-only user messages being rejected by some OpenAI-compatible providers because they included an empty text part ([#9797](https://github.com/earendil-works/pi/issues/9797)).
54
+ - Fixed inherited Anthropic OAuth requests reporting an outdated Claude Code version.
30
55
 
31
56
  ## [0.87.0] - 2026-09-21
32
57