@agentty-xyz/testty 0.19.7 → 0.21.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,161 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v0.21.0] - 2026-11-23
11
+
12
+ ### Added
13
+
14
+ - `agentty`: paste harness provider API keys from `/model`; Agentty stores them in its
15
+ auth file and copies keys already set in the environment there.
16
+ - `agentty`: compact long `ag-harness` sessions automatically with the Default Fast
17
+ Model, with a `[Context]` notice in the session when history is summarized.
18
+ - `agentty`: show `Queued` for review-request sessions whose pull requests are in
19
+ GitHub's merge queue.
20
+ - `agentty`: add an experimental `Platform` tab behind `--experimental-platform` that
21
+ signs in to an Agentty Platform, runs remote control through its relay, and can keep
22
+ remote control on across launches.
23
+ - `agentty`: show the session status line, live progress, focused review result, forge
24
+ and branch distance, queued actions, and staged drafts on remote devices.
25
+ - `agentty`: let remote devices sync the project in one press, see `merge conflict` and
26
+ `PR ready` labels, follow and act on execution graphs, start `/graph` proposals and
27
+ answer graph questions, choose the agent harness from the model selector, and paste
28
+ images into the composer.
29
+ - `agentty`: give the remote page's new-session composer slash commands, `@` lookup in
30
+ the active project's files, and model, reasoning, style, and speed settings.
31
+ - `agentty`: show several paired Agenttys on one remote control page, and let another
32
+ web application serve the page inside its own layout.
33
+ - `agentty`: show when a relay does not admit this instance.
34
+ - `ag-relay`: admit only the listed instances with a repeatable
35
+ `--allow-instance <INSTANCE_ID>` flag, and publish the relay image to
36
+ `ghcr.io/agentty-xyz/agentty-relay`, with a Fly.io deployment guide.
37
+ - `ag-harness`: add native-sandbox grants for coding agents: full-disk reads with
38
+ credential paths hidden, hidden paths, writable roots, pinned Unix sockets, and
39
+ approved unsandboxed excluded commands, with an advisory sandbox-denial flag.
40
+ - `ag-store`: add `Database::open_with_busy_timeout` and busy-timeout presets.
41
+
42
+ ### Changed
43
+
44
+ - `agentty`: make `ag-harness` models generally available in `/model` instead of a
45
+ separate session type.
46
+ - `agentty`: run `ag-harness` session commands in the native sandbox where available,
47
+ and limit their Git writes to the session branch; a turn that retargets `HEAD` stops
48
+ with instructions to point it back.
49
+ - `agentty`: move remote control into a project-level `Remote` tab.
50
+ - `agentty`: handle mouse scrolling, selection, copy, and links inside `tmux`; hold
51
+ `Shift` while dragging to use the terminal's selection.
52
+ - `agentty`: clear stale tool results from long `ag-harness` turns, accept common model
53
+ patch and argument habits in built-in tools, and hide encrypted reasoning from run
54
+ events and transcripts.
55
+ - `agentty`: start new sessions on `claude-sonnet-5-5` when only an Anthropic key is
56
+ set, and accept an origin-only `ANTHROPIC_BASE_URL`.
57
+ - `agentty`: wait up to 5 seconds for another process's lock on the app database.
58
+ - `ag-relay`: raise the default per-stream byte budget to 64 MiB per minute.
59
+ - docs site and remote page: recolor tokens to meet contrast, self-host the monospace
60
+ face, and share one set of web components.
61
+ - `ag-harness`: seal the public API: `SessionStore` is sealed, embedder-facing enums and
62
+ crate-built records are `#[non_exhaustive]`, and `BashConfig::with_git_writes` takes
63
+ the session branch and returns a `Result` (breaking).
64
+ - `ag-remote`: device-sent session ids use their own type, checked against the host's
65
+ listing before dispatch (breaking).
66
+ - release: bump workspace crate metadata and lockfile package versions to `0.21.0`.
67
+
68
+ ### Fixed
69
+
70
+ - `agentty`: keep sync status, syncing, and session creation separate for each project
71
+ while another project resolves sync conflicts.
72
+ - `agentty`: keep long Claude harness sessions valid after context fitting, and price
73
+ Haiku prompts over 100,000 tokens correctly.
74
+ - `agentty`: send Anthropic only the JSON schema keywords it accepts, so compaction,
75
+ graph proposals, and focused reviews work on Claude harness models.
76
+ - `agentty`: wait out SQLite contention in the app database.
77
+
78
+ ### Removed
79
+
80
+ - `agentty`: remove the `--experimental-harness` flag and the `/remote-control` command.
81
+
82
+ ### Contributors
83
+
84
+ - @andagaev
85
+ - @minev-dev
86
+
87
+ ## [v0.20.0] - 2026-11-22
88
+
89
+ ### Added
90
+
91
+ - `agentty`: add experimental remote control behind `--experimental-remote`.
92
+ `/remote-control` starts a loopback listener (`--remote-control-port`) and pairs a
93
+ phone or browser with a one-time code that the terminal must approve.
94
+ - `agentty`: link remote control to a self-hosted relay with `--remote-relay <URL>`, so
95
+ devices reach Agentty without a tunnel. Traffic is end-to-end encrypted, devices stay
96
+ paired across restarts, and the popup shows a pairing link and QR code to open or
97
+ copy.
98
+ - `agentty`: redesign the remote web page with the site's themes, a grouped session list
99
+ with filters and unread dots, and a chat that renders answers, notices, and questions
100
+ as Markdown and shows each session's size, line counts, model, branches, timer, and
101
+ review request.
102
+ - `agentty`: let paired devices create sessions from the home composer and pick their
103
+ model, stop a running turn, cancel a session after confirming, merge, publish, sync
104
+ with the base branch, change model, reasoning, style, and speed from a settings sheet
105
+ or slash commands, read the session diff file by file, and look up worktree files with
106
+ `@`.
107
+ - `ag-relay`: add a relay server and container image that join remote-control devices to
108
+ Agentty instances and serve the pairing page, which encrypts in the browser.
109
+ - `ag-noise`: add Noise handshakes and encrypted sessions with AES-GCM for device to
110
+ instance and instance to relay connections.
111
+ - `ag-session`: add `SessionService` and `SessionBackend` operations to list sessions
112
+ with stats, read a session's diff and files, stop a turn, merge, publish, rebase, and
113
+ change session settings, gated by `SessionOperation`.
114
+ - `agentty`: add provider calls to an exhausted execution graph budget with `b` in the
115
+ graph view.
116
+ - `agentty`: send queued chat into a running Claude or Codex turn with `Ctrl+s`, through
117
+ the new `ag-worker` turn steering.
118
+ - `agentty`: list Claude models in Harness sessions when `ANTHROPIC_API_KEY` is set;
119
+ `ag-harness` adds the Anthropic provider and Claude catalog entries.
120
+ - `agentty`: add Gemini 4 Neon to the Antigravity models and make it the default.
121
+ - `agentty`: include matching rules from `.agentty/review-rules.json` in focused
122
+ reviews.
123
+ - `agentty`: show each graph step's model and reasoning effort under its name.
124
+ - `ag-harness`: let the native sandbox run commands in real repositories, with opt-in
125
+ system-read, temporary-directory, Git-write, and network grants.
126
+
127
+ ### Changed
128
+
129
+ - `agentty`: default the response style to `Concise`.
130
+ - `agentty`: address focused-review comments automatically in editing sessions; turn it
131
+ off with the `Auto Address Comments` project setting.
132
+ - `agentty`: make `/graph` always available.
133
+ - `agentty`: refresh an open diff of a running session every 10 seconds.
134
+ - `agentty`: run Antigravity read-only turns with command and write denials instead of
135
+ `--mode plan`.
136
+ - `agentty`: back off failing background fetches, poll unchanged review requests less
137
+ often, and reuse unchanged branch comparisons during status polling.
138
+ - `agentty`: lay out terminal Mermaid diagrams with fewer edge crossings.
139
+ - `ag-session`: `HostContext::session_modes` now holds `HostSessionMode` values with
140
+ each mode's starting agent and model (breaking).
141
+ - release: bump workspace crate metadata and lockfile package versions to `0.20.0`.
142
+
143
+ ### Fixed
144
+
145
+ - `agentty`: restore text selection and link clicks in the terminal, and fix wheel
146
+ scrolling and modified keys such as `Shift+Enter` inside `tmux`.
147
+ - `agentty`: allow canceling sessions waiting on questions.
148
+ - `agentty`: keep a session in progress while its graph still runs nodes, and keep chat
149
+ replies to graph outputs across restarts.
150
+ - `agentty`: restart automatic review after an interrupted review and an unchanged turn.
151
+ - `agentty`: show a staged draft's prompt once while its workspace is prepared.
152
+ - `ag-harness`: wait out SQLite contention in the harness session store.
153
+
154
+ ### Removed
155
+
156
+ - `agentty`: remove session permission mode selection, including `/mode`; chat turns
157
+ always edit.
158
+ - `agentty`: remove the `--experimental-graph` flag.
159
+
160
+ ### Contributors
161
+
162
+ - @andagaev
163
+ - @minev-dev
164
+
10
165
  ## [v0.19.7] - 2026-11-20
11
166
 
12
167
  ### Added
package/README.md CHANGED
@@ -130,11 +130,14 @@ let scenario = Scenario::new("counter")
130
130
  #### Compare against a saved baseline
131
131
 
132
132
  ```rust
133
+ use testty::frame::TerminalFrame;
133
134
  use testty::snapshot::{self, SnapshotConfig};
134
135
 
135
- let config = SnapshotConfig::new("tests/baselines", "tests/artifacts");
136
- snapshot::assert_frame_snapshot_matches(&config, "startup", &frame.all_text())
137
- .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
+ }
138
141
  ```
139
142
 
140
143
  #### Save a shareable report
@@ -144,10 +147,14 @@ use std::path::Path;
144
147
 
145
148
  use testty::proof::html::HtmlBackend;
146
149
  use testty::proof::junit::JunitBackend;
150
+ use testty::scenario::Scenario;
151
+ use testty::session::PtySessionBuilder;
147
152
 
148
- let (_frame, report) = scenario.run_with_proof(builder).expect("failed");
149
- report.save(&HtmlBackend, Path::new("proof.html")).unwrap();
150
- 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
+ }
151
158
  ```
152
159
 
153
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.7 binaries from https://github.com/agentty-xyz/agentty.
3
- // Generated by ag-release 0.19.7.
2
+ // Installs and runs the testty 0.21.0 binaries from https://github.com/agentty-xyz/agentty.
3
+ // Generated by ag-release 0.21.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.7",
22
+ "downloadUrl": "https://github.com/agentty-xyz/agentty/releases/download/v0.21.0",
23
23
  "downloadUrlVariable": "TESTTY_DOWNLOAD_URL",
24
24
  "minGlibc": "2.35",
25
25
  "targets": [
@@ -29,7 +29,7 @@ const RELEASE = {
29
29
  "directory": "testty-aarch64-apple-darwin",
30
30
  "libc": "none",
31
31
  "platform": "darwin",
32
- "sha256": "467dda58ed688984dd3fc47a8397e8a605f57839b2fd047e96ef59dd927c630f",
32
+ "sha256": "17576b09610cc53717f110eabf772cab56d5802b13e5a3b46386fbf76424dec6",
33
33
  "target": "aarch64-apple-darwin"
34
34
  },
35
35
  {
@@ -38,7 +38,7 @@ const RELEASE = {
38
38
  "directory": "testty-aarch64-unknown-linux-gnu",
39
39
  "libc": "gnu",
40
40
  "platform": "linux",
41
- "sha256": "579e2cfe691aca8dfeef2a8c631e7c8ea7dadd6f2ee384315181185d0aec661e",
41
+ "sha256": "2cf788cc93e8f323824a4ab51e38fc77050103cf5ef3ac78e13abc0800680852",
42
42
  "target": "aarch64-unknown-linux-gnu"
43
43
  },
44
44
  {
@@ -47,7 +47,7 @@ const RELEASE = {
47
47
  "directory": "testty-aarch64-unknown-linux-musl",
48
48
  "libc": "musl",
49
49
  "platform": "linux",
50
- "sha256": "83fb35d3809bdcdd7f9b06c548c6800d43b204557b34c04e906d66d5c58551c4",
50
+ "sha256": "49d45ea04e801ada19670a2ed0c4a9d2c70b251dc1314ca8f5bb313a903b1089",
51
51
  "target": "aarch64-unknown-linux-musl"
52
52
  },
53
53
  {
@@ -56,7 +56,7 @@ const RELEASE = {
56
56
  "directory": "testty-x86_64-apple-darwin",
57
57
  "libc": "none",
58
58
  "platform": "darwin",
59
- "sha256": "411a1d32faab8271b4957e941542c5e9c3c2adec448ac57a67aeb7be4bc3b850",
59
+ "sha256": "ff33135304d4442a7bd10161b133b5c860482615955742c9f1f8fd52968be201",
60
60
  "target": "x86_64-apple-darwin"
61
61
  },
62
62
  {
@@ -65,7 +65,7 @@ const RELEASE = {
65
65
  "directory": "testty-x86_64-unknown-linux-gnu",
66
66
  "libc": "gnu",
67
67
  "platform": "linux",
68
- "sha256": "57449505b09a26f93d8fa1eb3999557473b7ba93703048e6e09c02723fc970b0",
68
+ "sha256": "cef8b20c5e1c6eee49362a564a4d5591ce21ab4a963c145f28f2e8cd9f6f9065",
69
69
  "target": "x86_64-unknown-linux-gnu"
70
70
  },
71
71
  {
@@ -74,11 +74,11 @@ const RELEASE = {
74
74
  "directory": "testty-x86_64-unknown-linux-musl",
75
75
  "libc": "musl",
76
76
  "platform": "linux",
77
- "sha256": "c39c0fa62efe9e636b05537afeca637cdc49e5a715ffd209e5cdec7efda376e1",
77
+ "sha256": "ca5bdb34c99de9ccc8420cf3900a20d190adaa7a66bb5ad9db6e5d690963fea8",
78
78
  "target": "x86_64-unknown-linux-musl"
79
79
  }
80
80
  ],
81
- "version": "0.19.7"
81
+ "version": "0.21.0"
82
82
  };
83
83
 
84
84
  // The binaries live in `<package>/node_modules/.bin_real/`; tools that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentty-xyz/testty",
3
- "version": "0.19.7",
3
+ "version": "0.21.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": {