fix(coding-agent): move temporary extension cache (#5345)

This commit is contained in:
Armin Ronacher
2026-06-03 00:44:21 +02:00
committed by GitHub
parent 135fb545f9
commit ea3465a8e3
4 changed files with 60 additions and 13 deletions

View File

@@ -11,6 +11,7 @@
### Fixed
- Fixed temporary extension package installs to use a private `~/.pi/agent/tmp/extensions` directory with `0700` permissions instead of `os.tmpdir()/pi-extensions`.
- Fixed git package source handling to reject unsafe host/path components and keep managed clone paths inside install roots.
- Fixed stored XSS in HTML session exports by sanitizing Markdown link and image URLs with a scheme allow-list after stripping control characters.
- Fixed SDK embedding in bundled Node apps failing with `ENOENT` when `package.json` is not present next to the bundle entrypoint. The package metadata reader now gracefully handles missing `package.json` by using defaults, enabling `createAgentSession()` without requiring package-adjacent files at runtime ([#5226](https://github.com/earendil-works/pi/issues/5226)).