Skip to content

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:52
· 21 commits to main since this release

Highlights

  • Upgrade to mcplex v0.8.1:
    • Dynamic await import("node:..."), require(...), & node:module Shims: Supports runtime await import("node:path"), require("crypto"), node:module (createRequire, isBuiltin, builtinModules), and fs.existsSync across all built-in sandbox modules, with clear sh.run("node", [...]) guidance when external node_modules are requested.
    • Read-Only git stash show in git.query: Permits git stash show (--stat, -p, -U<n>, --include-untracked, stash@{N}) alongside git stash list while keeping stash-mutating subcommands blocked.
    • Streaming .gz Text Reads & 8 MB sh.run Capture: fs.read / fs.cat transparently decompress .gz text files (including { startLine, endLine } and { tail: N }), and sh.run captures up to 8 MB stdout by default (maxBytes up to 32 MB).
    • Zero-Friction Path & State Recovery: Automatically deduplicates accidental <dir>/<dir>/<file> and <Drive>:/Repo/<Drive>:/Repo/... path joins on read, auto-evicts oldest workspace scratch keys when state.set crosses the 8 MB session cap, and adds Object.values(obj) hints on TypeError: object is not iterable.

Install / 安装

# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.1_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install

# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.1_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe install

Full Changelog: v0.8.0...v0.8.1