@dyyz1993/pi-coding-agent 0.74.14 → 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 +17 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +10 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +1 -1
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +13 -5
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +145 -7
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +1 -0
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +43 -41
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
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
|
+
|
|
13
|
+
## [0.74.15] - 2026-05-11
|
|
4
14
|
|
|
5
15
|
### Changed
|
|
6
16
|
|
|
@@ -8,9 +18,15 @@
|
|
|
8
18
|
- Package source resolution (npm install / git clone) is now parallelized for remote sources. Local sources are resolved synchronously first, then remote sources resolve concurrently. Previously all sources were resolved sequentially.
|
|
9
19
|
- Extension module loader now uses a shared `jiti` instance with `moduleCache: true` instead of creating a new instance per extension with `moduleCache: false`. This eliminates redundant TypeScript compilation across extensions.
|
|
10
20
|
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- `ExtensionContext.sessionDataDir`, `projectDataDir`, `cwdDataDir`, and `globalDataDir` are now correctly populated via storage functions instead of being hardcoded to empty strings. Extensions can now reliably persist data per-session, per-project, per-cwd, and globally.
|
|
24
|
+
- Extension shortcuts now receive correct `extensionName` and storage paths in their context, matching the extension that registered the shortcut.
|
|
25
|
+
|
|
11
26
|
### Added
|
|
12
27
|
|
|
13
28
|
- Startup performance baseline test suite (`test/startup-performance.test.ts`) covering extension loading correctness, error handling, resource discovery, and timing measurements.
|
|
29
|
+
- `extensionName` field on `ExtensionShortcut` interface for per-shortcut extension identification.
|
|
14
30
|
|
|
15
31
|
## [0.74.12] - 2026-05-11
|
|
16
32
|
|