@agentty-xyz/testty 0.19.6 → 0.20.0

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 CHANGED
@@ -7,6 +7,121 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v0.20.0] - 2026-11-22
11
+
12
+ ### Added
13
+
14
+ - `agentty`: add experimental remote control behind `--experimental-remote`.
15
+ `/remote-control` starts a loopback listener (`--remote-control-port`) and pairs a
16
+ phone or browser with a one-time code that the terminal must approve.
17
+ - `agentty`: link remote control to a self-hosted relay with `--remote-relay <URL>`, so
18
+ devices reach Agentty without a tunnel. Traffic is end-to-end encrypted, devices stay
19
+ paired across restarts, and the popup shows a pairing link and QR code to open or
20
+ copy.
21
+ - `agentty`: redesign the remote web page with the site's themes, a grouped session list
22
+ with filters and unread dots, and a chat that renders answers, notices, and questions
23
+ as Markdown and shows each session's size, line counts, model, branches, timer, and
24
+ review request.
25
+ - `agentty`: let paired devices create sessions from the home composer and pick their
26
+ model, stop a running turn, cancel a session after confirming, merge, publish, sync
27
+ with the base branch, change model, reasoning, style, and speed from a settings sheet
28
+ or slash commands, read the session diff file by file, and look up worktree files with
29
+ `@`.
30
+ - `ag-relay`: add a relay server and container image that join remote-control devices to
31
+ Agentty instances and serve the pairing page, which encrypts in the browser.
32
+ - `ag-noise`: add Noise handshakes and encrypted sessions with AES-GCM for device to
33
+ instance and instance to relay connections.
34
+ - `ag-session`: add `SessionService` and `SessionBackend` operations to list sessions
35
+ with stats, read a session's diff and files, stop a turn, merge, publish, rebase, and
36
+ change session settings, gated by `SessionOperation`.
37
+ - `agentty`: add provider calls to an exhausted execution graph budget with `b` in the
38
+ graph view.
39
+ - `agentty`: send queued chat into a running Claude or Codex turn with `Ctrl+s`, through
40
+ the new `ag-worker` turn steering.
41
+ - `agentty`: list Claude models in Harness sessions when `ANTHROPIC_API_KEY` is set;
42
+ `ag-harness` adds the Anthropic provider and Claude catalog entries.
43
+ - `agentty`: add Gemini 4 Neon to the Antigravity models and make it the default.
44
+ - `agentty`: include matching rules from `.agentty/review-rules.json` in focused
45
+ reviews.
46
+ - `agentty`: show each graph step's model and reasoning effort under its name.
47
+ - `ag-harness`: let the native sandbox run commands in real repositories, with opt-in
48
+ system-read, temporary-directory, Git-write, and network grants.
49
+
50
+ ### Changed
51
+
52
+ - `agentty`: default the response style to `Concise`.
53
+ - `agentty`: address focused-review comments automatically in editing sessions; turn it
54
+ off with the `Auto Address Comments` project setting.
55
+ - `agentty`: make `/graph` always available.
56
+ - `agentty`: refresh an open diff of a running session every 10 seconds.
57
+ - `agentty`: run Antigravity read-only turns with command and write denials instead of
58
+ `--mode plan`.
59
+ - `agentty`: back off failing background fetches, poll unchanged review requests less
60
+ often, and reuse unchanged branch comparisons during status polling.
61
+ - `agentty`: lay out terminal Mermaid diagrams with fewer edge crossings.
62
+ - `ag-session`: `HostContext::session_modes` now holds `HostSessionMode` values with
63
+ each mode's starting agent and model (breaking).
64
+ - release: bump workspace crate metadata and lockfile package versions to `0.20.0`.
65
+
66
+ ### Fixed
67
+
68
+ - `agentty`: restore text selection and link clicks in the terminal, and fix wheel
69
+ scrolling and modified keys such as `Shift+Enter` inside `tmux`.
70
+ - `agentty`: allow canceling sessions waiting on questions.
71
+ - `agentty`: keep a session in progress while its graph still runs nodes, and keep chat
72
+ replies to graph outputs across restarts.
73
+ - `agentty`: restart automatic review after an interrupted review and an unchanged turn.
74
+ - `agentty`: show a staged draft's prompt once while its workspace is prepared.
75
+ - `ag-harness`: wait out SQLite contention in the harness session store.
76
+
77
+ ### Removed
78
+
79
+ - `agentty`: remove session permission mode selection, including `/mode`; chat turns
80
+ always edit.
81
+ - `agentty`: remove the `--experimental-graph` flag.
82
+
83
+ ### Contributors
84
+
85
+ - @andagaev
86
+ - @minev-dev
87
+
88
+ ## [v0.19.7] - 2026-11-20
89
+
90
+ ### Added
91
+
92
+ - `agentty`: show a harness session's reasoning and answer in the session view while the
93
+ model writes them; the saved answer replaces the streamed text when the turn ends.
94
+ - `ag-contracts`: add the transient `TurnEvent::Output` event for streamed turn output.
95
+ - `ag-harness`: register catalog entries with `ModelRegistry::register_catalog_entry`
96
+ and `HarnessBuilder::registration_revision`, so sessions built from a catalog resume
97
+ through `Harness::from_registry`.
98
+ - release: publish Homebrew formulas to `agentty-xyz/homebrew-tap`, `cargo-binstall`
99
+ metadata, and static musl Linux archives for x86-64 and ARM64; the shell and npm
100
+ installers fall back to the musl build on old glibc or musl systems.
101
+ - `ag-release`: add `prepare <version> --date <date>`, which bumps workspace versions,
102
+ refreshes `Cargo.lock`, and adds the changelog heading.
103
+
104
+ ### Changed
105
+
106
+ - release: build Linux targets on Ubuntu 26.04 runners and macOS targets on macOS 26.
107
+ - workspace: update GitHub Actions and the Rust toolchain.
108
+ - release: bump workspace crate metadata and lockfile package versions to `0.19.7`.
109
+
110
+ ### Fixed
111
+
112
+ - `agentty`: a chat reply to an output awaiting approval now resumes a paused graph, for
113
+ example after a restart, instead of running as an ordinary turn outside the graph.
114
+ - `agentty`: automatic focused review waits for a working graph to finish instead of
115
+ starting between its nodes.
116
+ - `agentty`: Settings offers the `Fast` speed only for models that support it, and
117
+ titles, auto-commit, and review keep such a model at `Normal` speed instead of
118
+ switching to another model.
119
+
120
+ ### Contributors
121
+
122
+ - @andagaev
123
+ - @minev-dev
124
+
10
125
  ## [v0.19.6] - 2026-11-19
11
126
 
12
127
  ### Added
package/README.md CHANGED
@@ -34,6 +34,9 @@ artifacts. Install it with:
34
34
  cargo install testty
35
35
  ```
36
36
 
37
+ Prebuilt binaries install with `cargo binstall testty`,
38
+ `brew install agentty-xyz/tap/testty`, or `npm install --global @agentty-xyz/testty`.
39
+
37
40
  ```text
38
41
  testty run <scenario.yaml> [--bin <BIN>] [--proof <DIR>]
39
42
  testty schema
@@ -127,11 +130,14 @@ let scenario = Scenario::new("counter")
127
130
  #### Compare against a saved baseline
128
131
 
129
132
  ```rust
133
+ use testty::frame::TerminalFrame;
130
134
  use testty::snapshot::{self, SnapshotConfig};
131
135
 
132
- let config = SnapshotConfig::new("tests/baselines", "tests/artifacts");
133
- snapshot::assert_frame_snapshot_matches(&config, "startup", &frame.all_text())
134
- .expect("snapshot should match");
136
+ fn expect_startup_snapshot(frame: &TerminalFrame) {
137
+ let config = SnapshotConfig::new("tests/baselines", "tests/artifacts");
138
+ snapshot::assert_frame_snapshot_matches(&config, "startup", &frame.all_text())
139
+ .expect("snapshot should match");
140
+ }
135
141
  ```
136
142
 
137
143
  #### Save a shareable report
@@ -141,10 +147,14 @@ use std::path::Path;
141
147
 
142
148
  use testty::proof::html::HtmlBackend;
143
149
  use testty::proof::junit::JunitBackend;
150
+ use testty::scenario::Scenario;
151
+ use testty::session::PtySessionBuilder;
144
152
 
145
- let (_frame, report) = scenario.run_with_proof(builder).expect("failed");
146
- report.save(&HtmlBackend, Path::new("proof.html")).unwrap();
147
- report.save(&JunitBackend, Path::new("proof.xml")).unwrap();
153
+ fn save_reports(scenario: &Scenario, builder: PtySessionBuilder) {
154
+ let (_frame, report) = scenario.run_with_proof(builder).expect("failed");
155
+ report.save(&HtmlBackend, Path::new("proof.html")).unwrap();
156
+ report.save(&JunitBackend, Path::new("proof.xml")).unwrap();
157
+ }
148
158
  ```
149
159
 
150
160
  #### Run a scenario from YAML — no Rust required
package/binary.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- // Installs and runs the testty 0.19.6 binaries from https://github.com/agentty-xyz/agentty.
3
- // Generated by ag-release 0.19.6.
2
+ // Installs and runs the testty 0.20.0 binaries from https://github.com/agentty-xyz/agentty.
3
+ // Generated by ag-release 0.20.0.
4
4
  //
5
5
  // `install.js` installs the binaries after `npm install`. When install
6
6
  // scripts are disabled, the first run of a command installs them instead.
@@ -19,7 +19,7 @@ const RELEASE = {
19
19
  "binaries": [
20
20
  "testty"
21
21
  ],
22
- "downloadUrl": "https://github.com/agentty-xyz/agentty/releases/download/v0.19.6",
22
+ "downloadUrl": "https://github.com/agentty-xyz/agentty/releases/download/v0.20.0",
23
23
  "downloadUrlVariable": "TESTTY_DOWNLOAD_URL",
24
24
  "minGlibc": "2.35",
25
25
  "targets": [
@@ -27,40 +27,58 @@ const RELEASE = {
27
27
  "arch": "arm64",
28
28
  "archive": "testty-aarch64-apple-darwin.tar.gz",
29
29
  "directory": "testty-aarch64-apple-darwin",
30
- "glibc": false,
30
+ "libc": "none",
31
31
  "platform": "darwin",
32
- "sha256": "f82eadfc54d2e6b75a48a6725f144ea698c28835cf6ae3ac58c6f516bad54dcf",
32
+ "sha256": "c6436aeddda5c70016585049d09b43b370137a461ef3b3d93f5647e9bad6d3fa",
33
33
  "target": "aarch64-apple-darwin"
34
34
  },
35
35
  {
36
36
  "arch": "arm64",
37
37
  "archive": "testty-aarch64-unknown-linux-gnu.tar.gz",
38
38
  "directory": "testty-aarch64-unknown-linux-gnu",
39
- "glibc": true,
39
+ "libc": "gnu",
40
40
  "platform": "linux",
41
- "sha256": "0ef3627986bbf343211fa539e8daa27084aa97b95b3cf83b3007fadec371a1e5",
41
+ "sha256": "8139aff5f84e63d7ea4fc547f7d95fbb58bbeb9d57ca21ea24671a3d4ad56754",
42
42
  "target": "aarch64-unknown-linux-gnu"
43
43
  },
44
+ {
45
+ "arch": "arm64",
46
+ "archive": "testty-aarch64-unknown-linux-musl.tar.gz",
47
+ "directory": "testty-aarch64-unknown-linux-musl",
48
+ "libc": "musl",
49
+ "platform": "linux",
50
+ "sha256": "48d8cc32167493a462f62ebd5f73d139e35a207900841a21df0b00fcbe4d28ed",
51
+ "target": "aarch64-unknown-linux-musl"
52
+ },
44
53
  {
45
54
  "arch": "x64",
46
55
  "archive": "testty-x86_64-apple-darwin.tar.gz",
47
56
  "directory": "testty-x86_64-apple-darwin",
48
- "glibc": false,
57
+ "libc": "none",
49
58
  "platform": "darwin",
50
- "sha256": "3d57b1e4d0057c4101bc2199c03884ec655febd26f4ed78bdea7a25ddf3c1681",
59
+ "sha256": "444feea5568b6114930355d01eb577d93191e2d7d4b176710f67197681062cfe",
51
60
  "target": "x86_64-apple-darwin"
52
61
  },
53
62
  {
54
63
  "arch": "x64",
55
64
  "archive": "testty-x86_64-unknown-linux-gnu.tar.gz",
56
65
  "directory": "testty-x86_64-unknown-linux-gnu",
57
- "glibc": true,
66
+ "libc": "gnu",
58
67
  "platform": "linux",
59
- "sha256": "4f23213732ea92a70db46f06bdcd6fae6ec26fc2329c56c1b8eab851432a4176",
68
+ "sha256": "dba9659ba4fd030f86dc7585e2604fc3aad0a4c7dc5274f87898b8fa8c02133f",
60
69
  "target": "x86_64-unknown-linux-gnu"
70
+ },
71
+ {
72
+ "arch": "x64",
73
+ "archive": "testty-x86_64-unknown-linux-musl.tar.gz",
74
+ "directory": "testty-x86_64-unknown-linux-musl",
75
+ "libc": "musl",
76
+ "platform": "linux",
77
+ "sha256": "8b2543ce894288370632082eae842513e5890e1e0757c53437871bdd3980ef5d",
78
+ "target": "x86_64-unknown-linux-musl"
61
79
  }
62
80
  ],
63
- "version": "0.19.6"
81
+ "version": "0.20.0"
64
82
  };
65
83
 
66
84
  // The binaries live in `<package>/node_modules/.bin_real/`; tools that
@@ -131,19 +149,29 @@ function detectTarget() {
131
149
  if (platform === "darwin" && arch === "x64" && sysctl("hw.optional.arm64") === "1") {
132
150
  arches.unshift("arm64");
133
151
  }
134
- const target = arches
135
- .map((candidate) =>
136
- RELEASE.targets.find((entry) => entry.platform === platform && entry.arch === candidate),
137
- )
138
- .find(Boolean);
139
- if (!target) {
140
- throw unsupported(`${platform} ${arch}`);
152
+ const libc = platform === "linux" ? detectLibc(platform, arch) : { libcs: ["none"] };
153
+ const find = (libcs) =>
154
+ arches
155
+ .flatMap((candidate) =>
156
+ libcs.map((wanted) =>
157
+ RELEASE.targets.find(
158
+ (entry) =>
159
+ entry.platform === platform && entry.arch === candidate && entry.libc === wanted,
160
+ ),
161
+ ),
162
+ )
163
+ .find(Boolean);
164
+ const target = find(libc.libcs);
165
+ if (target) {
166
+ return target;
141
167
  }
142
- if (target.glibc) {
143
- checkGlibc(platform, arch);
168
+ // A platform whose only targets need a glibc this system lacks fails with
169
+ // the reason.
170
+ if (libc.problem && find(["gnu"])) {
171
+ throw libc.problem;
144
172
  }
145
173
 
146
- return target;
174
+ throw unsupported(`${platform} ${arch}`);
147
175
  }
148
176
 
149
177
  function sysctl(name) {
@@ -158,26 +186,31 @@ function unsupported(platform) {
158
186
  return new Error(`unsupported platform ${platform}; ${RELEASE.app} supports ${targets}`);
159
187
  }
160
188
 
161
- /** Throws unless this system has glibc, at least the release minimum. */
162
- function checkGlibc(platform, arch) {
189
+ /** Returns the C libraries whose targets run on this Linux system, in order
190
+ * of preference, as `libcs`: glibc targets when the system has glibc, at
191
+ * least the release minimum, and statically linked musl targets anywhere.
192
+ * When glibc targets do not run, `problem` is the error saying why. */
193
+ function detectLibc(platform, arch) {
163
194
  process.report.excludeNetwork = true;
164
195
  const version = process.report.getReport().header.glibcVersionRuntime;
165
196
  if (!version) {
166
- throw unsupported(`${platform} ${arch} without glibc`);
197
+ return { libcs: ["musl"], problem: unsupported(`${platform} ${arch} without glibc`) };
167
198
  }
168
199
  if (!RELEASE.minGlibc) {
169
- return;
200
+ return { libcs: ["gnu", "musl"] };
170
201
  }
171
202
 
172
203
  const needs = `${RELEASE.app} needs glibc ${RELEASE.minGlibc} or newer`;
173
204
  const [major, minor] = version.split(".").map(Number);
174
205
  if (!Number.isInteger(major) || !Number.isInteger(minor)) {
175
- throw new Error(`cannot determine the glibc version; ${needs}`);
206
+ return { libcs: ["musl"], problem: new Error(`cannot determine the glibc version; ${needs}`) };
176
207
  }
177
208
  const [minMajor, minMinor] = RELEASE.minGlibc.split(".").map(Number);
178
209
  if (major < minMajor || (major === minMajor && minor < minMinor)) {
179
- throw new Error(`${needs}, but this system has glibc ${version}`);
210
+ return { libcs: ["musl"], problem: new Error(`${needs}, but this system has glibc ${version}`) };
180
211
  }
212
+
213
+ return { libcs: ["gnu", "musl"] };
181
214
  }
182
215
 
183
216
  /** Downloads `source` into the file `destination`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentty-xyz/testty",
3
- "version": "0.19.6",
3
+ "version": "0.20.0",
4
4
  "description": "Agentty is an ADE (Agentic Development Environment) for structured, controllable AI-assisted software development.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {