agentty 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
@@ -71,6 +71,17 @@ npx agentty
71
71
 
72
72
  </details>
73
73
 
74
+ <details>
75
+ <summary>Homebrew</summary>
76
+
77
+ ```sh
78
+ brew install agentty-xyz/tap/agentty
79
+ ```
80
+
81
+ Update with `brew upgrade agentty`.
82
+
83
+ </details>
84
+
74
85
  <details>
75
86
  <summary>Shell</summary>
76
87
 
@@ -91,8 +102,18 @@ macOS source builds require Xcode Command Line Tools for native process bindings
91
102
  cargo install agentty
92
103
  ```
93
104
 
105
+ [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall) installs the prebuilt
106
+ release binary instead:
107
+
108
+ ```sh
109
+ cargo binstall agentty
110
+ ```
111
+
94
112
  </details>
95
113
 
114
+ Prebuilt Linux binaries need glibc 2.35 or newer; older distributions and musl systems
115
+ such as Alpine get the statically linked musl build.
116
+
96
117
  ## Supported CLI Agents
97
118
 
98
119
  Agentty currently supports Codex, Claude, and Antigravity. Install and authenticate at
@@ -128,7 +149,7 @@ least one provider CLI before starting a session:
128
149
  > uncertainty, but commentary does not guarantee that subscription-backed usage is safe
129
150
  > for third-party tool invocation.
130
151
 
131
- - Antigravity (`agy`): install version 1.1.18 or newer of the
152
+ - Antigravity (`agy`): install version 1.5.8 or newer of the
132
153
  [Antigravity CLI](https://github.com/google-antigravity/antigravity-cli) and run `agy`
133
154
  to sign in when prompted.
134
155
 
@@ -156,7 +177,6 @@ agentty --no-update # Launch without automatic updates
156
177
  agentty --disable-telemetry # Launch without PostHog usage telemetry
157
178
  agentty --otlp-endpoint http://localhost:4318/v1/traces # Export session traces
158
179
  agentty --experimental-harness # Offer preview Harness sessions
159
- agentty --experimental-graph # Enable /graph proposals
160
180
  agentty --help # Show supported command-line options
161
181
  agentty --version # Show the installed Agentty version
162
182
  ```
@@ -165,9 +185,13 @@ agentty --version # Show the installed Agentty version
165
185
  (`a`) or scan a chosen folder (`d`).
166
186
  - **Instances**: only one Agentty instance can use a given Agentty root at a time.
167
187
  Separate `AGENTTY_ROOT` directories can run independently.
168
- - **Graphs**: `--experimental-graph` enables `/graph` proposals you can inspect, revise,
169
- and approve before any node runs. See the
188
+ - **Graphs**: `/graph` requests execution-graph proposals you can inspect, revise, and
189
+ approve before any node runs. See the
170
190
  [workflow guide](https://agentty.xyz/docs/usage/workflow/).
191
+ - **Remote control**: `--experimental-remote` adds a preview `/remote-control` command
192
+ that pairs a phone or browser to start, follow, reply to, and merge sessions through a
193
+ tunnel you provide. See
194
+ [Remote Control](https://agentty.xyz/docs/usage/remote-control/).
171
195
  - **Harness**: `--experimental-harness` adds a preview session type that runs Agentty's
172
196
  built-in agent loop against local or hosted models. Its edit mode runs unsandboxed
173
197
  shell commands. See
package/binary.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- // Installs and runs the agentty 0.19.6 binaries from https://github.com/agentty-xyz/agentty.
3
- // Generated by ag-release 0.19.6.
2
+ // Installs and runs the agentty 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
  "agentty"
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": "AGENTTY_DOWNLOAD_URL",
24
24
  "minGlibc": "2.35",
25
25
  "targets": [
@@ -27,40 +27,58 @@ const RELEASE = {
27
27
  "arch": "arm64",
28
28
  "archive": "agentty-aarch64-apple-darwin.tar.gz",
29
29
  "directory": "agentty-aarch64-apple-darwin",
30
- "glibc": false,
30
+ "libc": "none",
31
31
  "platform": "darwin",
32
- "sha256": "bb6d1de809db1a1296e8977295ac369df8705409f666b33cd0f0ef2c9654ff15",
32
+ "sha256": "deb5a676c7db9110b61fb15706ec0c5684d4bd8f47fd245fe2ddea1dcb7500d4",
33
33
  "target": "aarch64-apple-darwin"
34
34
  },
35
35
  {
36
36
  "arch": "arm64",
37
37
  "archive": "agentty-aarch64-unknown-linux-gnu.tar.gz",
38
38
  "directory": "agentty-aarch64-unknown-linux-gnu",
39
- "glibc": true,
39
+ "libc": "gnu",
40
40
  "platform": "linux",
41
- "sha256": "c91e3867ccaa8a5d4da0d83b14fe5d74c505f0b90799cdaac40d00eb74385615",
41
+ "sha256": "280d44d266ba4518948438d2e73b02e1721822f0500b22de06cdf8464048033b",
42
42
  "target": "aarch64-unknown-linux-gnu"
43
43
  },
44
+ {
45
+ "arch": "arm64",
46
+ "archive": "agentty-aarch64-unknown-linux-musl.tar.gz",
47
+ "directory": "agentty-aarch64-unknown-linux-musl",
48
+ "libc": "musl",
49
+ "platform": "linux",
50
+ "sha256": "2e65541d24eb57a36ae764fe2b29c75600bea349d7a2c564b96ff2883c7838dc",
51
+ "target": "aarch64-unknown-linux-musl"
52
+ },
44
53
  {
45
54
  "arch": "x64",
46
55
  "archive": "agentty-x86_64-apple-darwin.tar.gz",
47
56
  "directory": "agentty-x86_64-apple-darwin",
48
- "glibc": false,
57
+ "libc": "none",
49
58
  "platform": "darwin",
50
- "sha256": "355fabd895a3b40ce57326375138a80212e115d3be79aa71f21238f1ff4d38ab",
59
+ "sha256": "937f8914ef1c8e187189faeb5f962d1e8004c00016cb63966df97bde74e6ff6a",
51
60
  "target": "x86_64-apple-darwin"
52
61
  },
53
62
  {
54
63
  "arch": "x64",
55
64
  "archive": "agentty-x86_64-unknown-linux-gnu.tar.gz",
56
65
  "directory": "agentty-x86_64-unknown-linux-gnu",
57
- "glibc": true,
66
+ "libc": "gnu",
58
67
  "platform": "linux",
59
- "sha256": "3d3071a03d9659a810c94deeaed7aefb168dc75177f28af908e1d7f906d6292b",
68
+ "sha256": "92fc2b44f15685cd7593e9063a2b4a762c2dc84f07cd7978a0106104fa6e02f1",
60
69
  "target": "x86_64-unknown-linux-gnu"
70
+ },
71
+ {
72
+ "arch": "x64",
73
+ "archive": "agentty-x86_64-unknown-linux-musl.tar.gz",
74
+ "directory": "agentty-x86_64-unknown-linux-musl",
75
+ "libc": "musl",
76
+ "platform": "linux",
77
+ "sha256": "f65376bd31c91b54bcad3ca9ca3567dbca29b226cbb2378effefec8e53293084",
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",
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": {