From 901bb6f7c5be7c05cec939ccf2fb3b4c56d7f378 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 23:30:53 +0000 Subject: [PATCH] chore(release): 0.6.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 17 +++++++++++++++++ README.md | 2 +- package.json | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f1c1e58..bcd0522 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.5.0" + ".": "0.6.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index f567b59..53683b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ ## [Unreleased] +## [0.6.0] - 2026-10-29 + +### Added + +- `wait --scope cursor-line` (and the matching `scope` field on batch `wait` steps and the `waitForRender` RPC) matches `--text`/`--regex` only against the cursor row, eliminating the echoed-command false positive and enabling precise prompt waits like `--regex 'READY> $' --scope cursor-line`. Default `screen` scope is unchanged ([#169](https://github.com/coder/agent-tty/pull/169)). +- `agent-tty record diff ` offline-replays two sessions (optionally pinned to `--at-seq-a`/`--at-seq-b`) and emits an LCS line diff of `canonicalVisibleLines`. `--json` returns `{ identical, a, b, diff }` validated by the new `RecordDiffResultSchema`; human mode prints a unified diff ([#170](https://github.com/coder/agent-tty/pull/170)). +- PTYs managed by a session now expose `AGENT_TTY_ACTIVE=true` and `AGENT_TTY_SESSION_ID=` so shell profiles and wrappers can detect the active session and reference its ID ([#166](https://github.com/coder/agent-tty/pull/166)). + +### Fixed + +- Session-less PTYs (e.g. the `doctor` probe) no longer inherit `AGENT_TTY_ACTIVE` or `AGENT_TTY_SESSION_ID` from an outer agent-tty session, so a probe can't misreport itself as the enclosing session. An empty `sessionId` now fails fast instead of silently falling back to "no session" ([#178](https://github.com/coder/agent-tty/pull/178), closes [#177](https://github.com/coder/agent-tty/issues/177)). +- Closed three lifecycle races between `create`, `reconcileSession`, and `gc` that could cause concurrent agents sharing one Home to fail or delete each other's sessions. `create` now writes the first manifest with the host pid up front, `reconcileSession` re-reads the manifest before marking a session failed, and the host serializes manifest writes so a late start-up or resize write can't land after the exit record ([#181](https://github.com/coder/agent-tty/pull/181)). +- `allocateSession` now validates `cwd`, shell, and command segments before creating `/sessions/`, so failed `create` calls no longer leave empty, manifest-less session directories that `gc` would skip forever ([#188](https://github.com/coder/agent-tty/pull/188)). +- Home registry reads now drop only invalid entries instead of returning an empty list on any bad entry. Previously, one malformed row in `homes.json` caused the next `create` to overwrite the file with only the new Home, losing every other registered Home from `home list`, `gc`, and the dashboard ([#186](https://github.com/coder/agent-tty/pull/186)). +- `validate-bundle --profile canonical` now resolves each artifact with `realpath` and fails `artifacts-present` for symlinks that escape the bundle root. Hero Demo `promote` sanitizes and leak-checks all content in memory before clearing or writing `--bundle-dir`, so a leaking promotion no longer leaves partial output in place of the previous bundle ([#187](https://github.com/coder/agent-tty/pull/187)). +- Eval tooling: `cleanupEvalHome` now rejects paths outside the temp root (previously `cleanupEvalHome(os.tmpdir())` would delete the system temp folder), and `_*SchemaParity` aliases now wrap pairs in `ExpectTrue>` so `types.ts`/Zod schema drift fails `typecheck`. Fixed a real drift by adding `canonical` to `BundleValidationProfileSchema` ([#190](https://github.com/coder/agent-tty/pull/190)). + ## [0.5.0] - 2026-06-23 ### Added diff --git a/README.md b/README.md index 5dcfb97..c693b26 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ See [`docs/AGENT-SKILLS.md`](./docs/AGENT-SKILLS.md). ## Status & platform support -`agent-tty` is `0.5.0` and focused on reliable, isolated, reviewable terminal and TUI automation through a stable CLI. +`agent-tty` is `0.6.0` and focused on reliable, isolated, reviewable terminal and TUI automation through a stable CLI. - Linux and macOS are tier-1; Windows is tier-2 and not CI-tested. - Semantic snapshots and render-backed waits prefer the optional `libghostty-vt` backend when it is available, then fall back to `ghostty-web`. diff --git a/package.json b/package.json index 7a6ba1c..1c2861a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agent-tty", - "version": "0.5.0", + "version": "0.6.0", "description": "Terminal automation CLI for AI agents and humans", "license": "Apache-2.0", "keywords": [