@dyyz1993/pi-coding-agent 0.74.22 → 0.74.23
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 +4 -0
- 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/types.d.ts +2 -2
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/file-store/file-snapshot-manager.d.ts.map +1 -1
- package/dist/core/file-store/file-snapshot-manager.js +7 -1
- package/dist/core/file-store/file-snapshot-manager.js.map +1 -1
- 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/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.74.24] - 2026-05-14
|
|
4
|
+
|
|
5
|
+
## [0.74.23] - 2026-05-15
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Added null guard in `FileSnapshotManager.restoreFiles()` to prevent catastrophic file deletion when `targetTreeHash` resolves to null. Previously, rolling back to the first user message (or any scenario where the target snapshot was unknown) would treat "unknown state" as "no files" and delete all files on disk.
|
|
10
|
+
- Changed `ExtensionAPI.appendEntry()` return type from `void` to `string`, returning the entry ID. This enables `FileSnapshotManager.onTurnEnd()` to populate the in-memory `snapshotIndex` and `turnIndexMap`, fixing all file query APIs (`getModifiedFiles`, `getFileDiff`, `getBatchDiffs`, `getFileHistory`) that returned empty results during the current session.
|
|
11
|
+
- `file-snapshot` extension now registers channel handlers (`snapshot.list`, `snapshot.rollback`, `snapshot.unrevert`, `snapshot.get`, `snapshot.restoreByHash`) for RPC-based file restoration without session tree mutation.
|
|
12
|
+
|
|
3
13
|
## [0.74.16] - 2026-05-11
|
|
4
14
|
|
|
5
15
|
### Fixed
|