Repository navigation
Releases
Releases · Aliothmoon/agy-ptc
v0.8.6
Changes
- chore: bump version to 0.8.6
- chore: bump mcplex dependency with nil-slice export and Windows sh.run fixes
- chore: bump mcplex dependency with policy, AST, search, and fs.read fixes
- chore: bump mcplex dependency with capability and deadline fixes
- perf: limit default logs TUI replay to recent entries
- docs: add community support section to README
- docs: refresh README.md and README_ZH.md for v0.8.5 and Marketplace
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.6_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.6_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.8.5...v0.8.6
v0.8.5
What's Changed
Marketplace & Plugin Experience
- Zero-setup verified binary auto-bootstrap: When installed directly from the Antigravity Marketplace or GitHub without a pre-installed
agy-ptcCLI binary,launch.mjsautomatically downloads and SHA-256 verifies the matching platform release archive into${PLUGIN_DATA}/bin/on first launch (and across version updates). - Updated
AgyPTCbranding, icon, and standalone Marketplace README: Refresh plugin icon (assets/logo.png), unifydisplayNameasAgyPTC, and provide a standalone Marketplace overview inplugin/README.md.
CLI & Benchmark Fixes
- Complete
uninstall --purgecleanup &benchread error handling: Purge all 4 candidateplugin_data/cache directories (reporting only existing ones) and surface oversized linescanner.Err()errors inagy-ptc bench(#1 by @oocsng).
Core Engine (mcplex v0.8.5)
- UTF-16LE / UTF-16BE BOM text decoding in
fs.read: Transparently decode UTF-16 BOM text logs across full,.gz, line-range, andtailreads while rejecting binary streams. - Read-only
git grepingit.query& Git option ergonomics: Supportgit.query("grep ...")across historical commits,--oneline/--<preset>ingit.log({ format }), inline<rev> -- <paths>, and inline read-only flags such as{ ref: "<sha> --stat" }. - Edit & diagnostic refinements: Detect multi-line
endTargetanchors straddling the 120-line span cap, report real file line numbers inclosestLineHintAt, classify arg helper errors asBadArgs, distinguishsearch.rg canceledfromtimed out, and hint raisingmaxBytesup to16MB.
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.5_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.5_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.8.4...v0.8.5
v0.8.4
What's Changed
Core Engine (mcplex v0.8.4) & Plugin
- Exact search.rg cap detection (both
g and Go fallback): Eliminate false-positive capped at N hits warnings when hit count equals maxResults, including on hosts without
ipgrep. - Host-managed OAuth HTTP MCP 401 escalation: Escalate HTTP 401/403 from remote OAuth MCP servers to native call_mcp_tool without prompting for re-login, with plugin prompt/skill/rule guidance and enabled plugin mcp_config.json discovery.
- Auto-extend implicit default 20s execution deadline for explicit shell timeouts: Automatically extend up to 120s when top-level imeoutMs is omitted and inner sh.exec/sh.run/sh.checks/ .verify requests a larger timeout; explicit outer imeoutMs remains enforced with clipped-timeout diagnostics.
- Multi-line �ndTarget top-level symbol spans & s.rm op-budget hint: Match multi-line �ndTarget on its closing line, allow leading declarations before the start symbol, raise the top-level span cap to 600, block mid-function end leaks, and guide s.rm loops toward
un_command.
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.4_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.4_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.8.3...v0.8.4
v0.8.3
What's Changed
Core Engine (mcplex v0.8.3) & Plugin
- Host-managed OAuth HTTP MCP 401 escalation: Escalate HTTP 401/403 from remote OAuth MCP servers to native call_mcp_tool without prompting the user to re-login, clarify routing in plugin rules/skills/agent prompts, and discover enabled plugin mcp_config.json servers with ${PLUGIN_ROOT} expansion.
- Auto-extend default 20s execution deadline for explicit shell timeouts: When top-level imeoutMs is omitted and sh.exec, sh.run, sh.checks, or .verify explicitly passes a larger imeoutMs/ imeoutSec, automatically extend the execution deadline up to 120s. Explicit outer imeoutMs stays enforced and reports clipped inner timeouts.
- Exact search.rg cap warning: Stop emitting false-positive capped at N of N hits warnings when hit count equals maxResults and otal.
- Multi-line �ndTarget top-level symbol spans: Match multi-line �ndTarget on its closing line, support leading declarations/comments before the start symbol, raise the top-level span cap to 600 lines, and block mid-function end leaks.
- Actionable s.rm op-budget hint: Guide recursive directory cleanup toward built-in
un_command when s.rm loops exhaust the 400 host-op budget.
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.3_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.3_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.8.2...v0.8.3
v0.8.2
Highlights
- Upgrade to
mcplex v0.8.2:- Windows
adbServer Daemon Preservation: Preventssh.run,sh.exec, and backgroundtasksfrom terminating shared host daemons (adb.exe,sccache.exe,mspdbsrv.exe) when Windows Job Objects close on normal exit (keeping USB & wireless TLS ADB sessions alive across PTC turns while still reaping stray non-daemon orphans and enforcing full tree kill on timeouts). Also preserves real host secrets (ADB_VENDOR_KEYS, etc.) when spreading{ env: { ...process.env } }and honors customenv.PATHinsh.run. - Braceless AST
replaceSymbol& SmarterendTarget: EnablesreplaceSymbol: trueon Kotlinfun f() = ..., C#=>expression methods, and TypeScript arrow/typedeclarations; permits bare};/}endTargetwhentargetuniquely opens an AST symbol; and supports up to 400-line top-level multi-symbolendTargetspans. fs.statmtimeMs,search.glob({ detail: true }),fs.read({ maxBytes }), & Git Plumbing: AddsmtimeMstofs.stat, single-call{ detail: true }([{ path, size, mtimeMs }]) tosearch.glob,{ maxBytes }(up to16 MB) tofs.read, and read-onlyfor-each-ref/rev-list/ls-tree/merge-base/show-ref/name-rev/diff-tree/check-ignoresupport togit.query.
- Windows
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.2_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.2_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.8.1...v0.8.2
v0.8.1
Highlights
- Upgrade to
mcplex v0.8.1:- Dynamic
await import("node:..."),require(...), &node:moduleShims: Supports runtimeawait import("node:path"),require("crypto"),node:module(createRequire,isBuiltin,builtinModules), andfs.existsSyncacross all built-in sandbox modules, with clearsh.run("node", [...])guidance when externalnode_modulesare requested. - Read-Only
git stash showingit.query: Permitsgit stash show(--stat,-p,-U<n>,--include-untracked,stash@{N}) alongsidegit stash listwhile keeping stash-mutating subcommands blocked. - Streaming
.gzText Reads & 8 MBsh.runCapture:fs.read/fs.cattransparently decompress.gztext files (including{ startLine, endLine }and{ tail: N }), andsh.runcaptures up to 8 MB stdout by default (maxBytesup 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 whenstate.setcrosses the 8 MB session cap, and addsObject.values(obj)hints onTypeError: object is not iterable.
- Dynamic
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 installFull Changelog: v0.8.0...v0.8.1
v0.8.0
Highlights
- Upgrade to
mcplex v0.8.0— Full Zero-I/O Node.js Standard Library &node:*Imports:BufferBinary DataView &BigIntSuite:read/write[U]Int{8,16,32}LE/BE,read/writeBig[U]Int64LE/BE,read/write{Float,Double}LE/BE, 1–6 byteread/write[U]IntLE/BE,indexOf/includes(string/Buffer/byte),copy,compare,swap16/swap32/swap64.- Built-in
zlib,util,assert,events,querystring,string_decoder: Sync + asyncgzip/gunzip/deflate/inflate/unzip,util.format/inspect/promisify/parseArgs/stripVTControlCharacters,assert.deepStrictEqual/throws/rejects,EventEmitter, plus expandedcrypto(createHmac,hash,randomInt,timingSafeEqual),path(relative,format),process(hrtime.bigint(),stdout.write),os(cpus(),availableParallelism()),performance.now(),setInterval,setImmediate, andimport ... from "node:<mod>"support.
search.rgAutomatic PCRE2 Lookaround Support:- Patterns using
(?=...),(?!...),(?<=...),(?<!...), or backreferences automatically enablerg --pcre2across hits,{ count: true }, and{ filesOnly: true }(with pure-Goregexp2fallback), and preserve full regex error diagnostics.
- Patterns using
- Engine Speed & Edit Accuracy:
- Parallel
ast.outlines(~5.3x faster on multi-file C/Java outlines), precompiled Goja VM bootstrap programs, and innermost-firstendTargetAST symbol resolution (preventing sibling-methodAmbiguouscollisions inside classes).
- Parallel
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.8.0_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.8.0_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.7.1...v0.8.0
v0.7.1
Improvements & Fixes
- Upgrade to
mcplex v0.7.1:- Faster TypeScript payload static analysis: eliminates ternary-colon return-type lookahead on function calls, stops early at top-level commas, and removes per-brace map allocations.
- Amortized
O(1)event hub overflow handling for stuck live-stream consumers.
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.7.1_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.7.1_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.7.0...v0.7.1
v0.7.0
Highlights
- Upgrade to mcplex v0.7.0 — Pure-Go Tree-sitter Multi-Language AST Engine (CGO_ENABLED=0):
- Accurate syntax-tree symbol extraction and Type::method / Type.method member resolution across C, C++ (incl. .h/.hpp prototypes), Rust, Python, TypeScript, TSX, JavaScript/JSX, Java, Kotlin, and C#, plus go/parser for Go.
- Fixes C/C++ multiline struct parameter AST hijacking and multiline forward prototype confusion.
- **Zero- arget Function/Method Insertion & Smart EOF Append (
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.7.0_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.7.0_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.6.0...v0.7.0
v0.6.0
Highlights
- Interactive Live TUI Console for
agy-ptc logs&agy-ptc errors(Upgraded tomcplex v0.6.0):- Running
agy-ptc logs(oragy-ptc ui) in an interactive terminal now launches the full mouse- and keyboard-driven TUI console with live cross-processevents.jsonlstreaming, inline unified file diffs (+added / -removed), multi-workspace session filtering ([ Sess:All(N) ]), regex search, and modal code/output inspection. - Running
agy-ptc errors(oragy-ptc logs -e) opens the TUI directly on theErrorstab while retaining TypeScript source, failing op cards, and error diagnostics. - Preserves 100% backwards-compatible plain CLI/JSON output whenever
--plain(--no-ui),--json,--compact,--full,--id <id>, or non-TTY pipes/subprocesses are used.
- Running
- Low-Token AST Edit Engine v2 (
t.replaceSymbol&endTarget):- Added
edit.replaceSymbol/t.replaceSymbol(0targettokens, lexed AST boundary & doc/directive safety) and{ target, endTarget }closed-span block edits, Python continuation-indent matching, upfront multi-file hunk error aggregation, andclosestLineHintv2 diagnostics; updatedAGENTS.md,ptc-exec,ptc-refactor, andptc.mdagent guidance.
- Added
- Overflow-Safe
--compactJSON Logs & Receiver Type Hints:- Added
agy-ptc logs --compact, explicitgit.*return shapes, 2 MBstate.setcap, and ripgrep-grade glob matching.
- Added
Install / 安装
# macOS / Linux
mkdir -p agy-ptc && tar -xzf agy-ptc_0.6.0_<os>_<arch>.tar.gz -C agy-ptc && ./agy-ptc/agy-ptc install
# Windows (PowerShell)
Expand-Archive agy-ptc_0.6.0_windows_amd64.zip -DestinationPath agy-ptc; .\agy-ptc\agy-ptc.exe installFull Changelog: v0.5.3...v0.6.0