@mariozechner/pi-coding-agent 0.51.6 → 0.52.0
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.
- package/CHANGELOG.md +28 -0
- package/dist/core/agent-session.d.ts +4 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +20 -10
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +2 -1
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/export-html/template.css +7 -0
- package/dist/core/export-html/template.js +32 -15
- package/dist/core/model-registry.d.ts +2 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +2 -53
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/package-manager.d.ts +2 -0
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +10 -19
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/resolve-config-value.d.ts +17 -0
- package/dist/core/resolve-config-value.d.ts.map +1 -0
- package/dist/core/resolve-config-value.js +59 -0
- package/dist/core/resolve-config-value.js.map +1 -0
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +57 -3
- package/dist/core/skills.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +12 -14
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +5 -0
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +5 -0
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +49 -34
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +3 -1
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +2 -2
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +4 -4
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +2 -2
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +2 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/utils/git.d.ts +21 -1
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +47 -4
- package/dist/utils/git.js.map +1 -1
- package/docs/packages.md +19 -0
- package/docs/providers.md +18 -0
- package/docs/rpc.md +16 -2
- package/examples/extensions/README.md +1 -0
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/custom-provider-qwen-cli/package.json +1 -1
- package/examples/extensions/minimal-mode.ts +426 -0
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.52.0] - 2026-02-05
|
|
4
|
+
|
|
5
|
+
### New Features
|
|
6
|
+
|
|
7
|
+
- Claude Opus 4.6 model support.
|
|
8
|
+
- GPT-5.3 Codex model support (OpenAI Codex provider only).
|
|
9
|
+
- SSH URL support for git packages. See [docs/packages.md](docs/packages.md).
|
|
10
|
+
- `auth.json` API keys now support shell command resolution (`!command`) and environment variable lookup. See [docs/providers.md](docs/providers.md).
|
|
11
|
+
- Model selectors now display the selected model name.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- API keys in `auth.json` now support shell command resolution (`!command`) and environment variable lookup, matching the behavior in `models.json`
|
|
16
|
+
- Added `minimal-mode.ts` example extension demonstrating how to override built-in tool rendering for a minimal display mode
|
|
17
|
+
- Added Claude Opus 4.6 model to the model catalog
|
|
18
|
+
- Added GPT-5.3 Codex model to the model catalog (OpenAI Codex provider only)
|
|
19
|
+
- Added SSH URL support for git packages ([#1287](https://github.com/badlogic/pi-mono/pull/1287) by [@markusn](https://github.com/markusn))
|
|
20
|
+
- Model selectors now display the selected model name ([#1275](https://github.com/badlogic/pi-mono/pull/1275) by [@haoqixu](https://github.com/haoqixu))
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Fixed HTML export losing indentation in ANSI-rendered tool output (e.g. JSON code blocks in custom tool results) ([#1269](https://github.com/badlogic/pi-mono/pull/1269) by [@aliou](https://github.com/aliou))
|
|
25
|
+
- Fixed images being silently dropped when `prompt()` is called with both `images` and `streamingBehavior` during streaming. `steer()`, `followUp()`, and the corresponding RPC commands now accept optional images. ([#1271](https://github.com/badlogic/pi-mono/pull/1271) by [@aliou](https://github.com/aliou))
|
|
26
|
+
- CLI `--help`, `--version`, `--list-models`, and `--export` now exit even if extensions keep the event loop alive ([#1285](https://github.com/badlogic/pi-mono/pull/1285) by [@ferologics](https://github.com/ferologics))
|
|
27
|
+
- Fixed crash when models send malformed tool arguments (objects instead of strings) ([#1259](https://github.com/badlogic/pi-mono/issues/1259))
|
|
28
|
+
- Fixed custom message expand state not being respected ([#1258](https://github.com/badlogic/pi-mono/pull/1258) by [@Gurpartap](https://github.com/Gurpartap))
|
|
29
|
+
- Fixed skill loader to respect .gitignore, .ignore, and .fdignore when scanning directories
|
|
30
|
+
|
|
3
31
|
## [0.51.6] - 2026-02-04
|
|
4
32
|
|
|
5
33
|
### New Features
|
|
@@ -282,16 +282,18 @@ export declare class AgentSession {
|
|
|
282
282
|
* Queue a steering message to interrupt the agent mid-run.
|
|
283
283
|
* Delivered after current tool execution, skips remaining tools.
|
|
284
284
|
* Expands skill commands and prompt templates. Errors on extension commands.
|
|
285
|
+
* @param images Optional image attachments to include with the message
|
|
285
286
|
* @throws Error if text is an extension command
|
|
286
287
|
*/
|
|
287
|
-
steer(text: string): Promise<void>;
|
|
288
|
+
steer(text: string, images?: ImageContent[]): Promise<void>;
|
|
288
289
|
/**
|
|
289
290
|
* Queue a follow-up message to be processed after the agent finishes.
|
|
290
291
|
* Delivered only when agent has no more tool calls or steering messages.
|
|
291
292
|
* Expands skill commands and prompt templates. Errors on extension commands.
|
|
293
|
+
* @param images Optional image attachments to include with the message
|
|
292
294
|
* @throws Error if text is an extension command
|
|
293
295
|
*/
|
|
294
|
-
followUp(text: string): Promise<void>;
|
|
296
|
+
followUp(text: string, images?: ImageContent[]): Promise<void>;
|
|
295
297
|
private _queueSteer;
|
|
296
298
|
private _queueFollowUp;
|
|
297
299
|
/**
|