@dyyz1993/pi-coding-agent 0.74.15 → 0.74.16
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 +10 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +1 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +8 -1
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +138 -3
- package/dist/core/extensions/runner.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.74.16] - 2026-05-11
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Extension `setSessionName()` now emits `session_info_changed` event (via `_emit`) in addition to `session_rename` (via runner). Previously only `session_rename` was emitted, causing RPC clients to miss session name changes.
|
|
8
|
+
- Restored UI interception layer in `ExtensionRunner`: `wrapUIForInterception()`, `emitUIEventAsync()`, `createAsyncUIPromise()`, `respondUI()`, and `emitUI()` methods. Extension `pi.on("ui")` handlers can now intercept and respond to `ctx.ui.confirm()`, `ctx.ui.select()`, `ctx.ui.input()`, and `ctx.ui.editor()` calls. Async injection via `ctx.respondUI()` is also restored.
|
|
9
|
+
- `setUIContext()` now wraps the UI context through `wrapUIForInterception`, ensuring interception works before `bindExtensions` is called.
|
|
10
|
+
- `hasUI()` now checks the original UI context instead of the always-wrapped one.
|
|
11
|
+
- PreToolUse hook block test now checks `message_end` final text instead of streaming `message_update` fragments, avoiding false failures from LLM rephrasing.
|
|
12
|
+
|
|
3
13
|
## [0.74.15] - 2026-05-11
|
|
4
14
|
|
|
5
15
|
### Changed
|