agentty 0.21.0 → 0.22.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 +132 -0
- package/README.md +4 -6
- package/binary.js +14 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,138 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [v0.22.0] - 2026-11-26
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `agentty`: open a per-session usage panel with `/usage`, or `u` in session view, that
|
|
15
|
+
shows tokens, cache and reasoning detail, estimated cost, and context fill per model
|
|
16
|
+
and purpose. Plan-billed usage shows its API equivalent (`≈`), and costs that price
|
|
17
|
+
cached input at the full input price are marked as upper bounds (`≤`).
|
|
18
|
+
- `agentty`: show a running turn's tokens, context fill, and estimated cost in its
|
|
19
|
+
status line, and the session's context fill and cost on the composer border between
|
|
20
|
+
turns.
|
|
21
|
+
- `agentty`: show a running turn as one live timeline of messages, reasoning, and tool
|
|
22
|
+
calls with their results, under a status line that names the current action. A
|
|
23
|
+
finished turn that called tools gets a summary above its answer: edited files,
|
|
24
|
+
failures and how the turn recovered from them, and the time it worked.
|
|
25
|
+
- `agentty`: export each turn's and each model request's token usage, cache tokens,
|
|
26
|
+
estimated cost, and context fill over OTLP, with the `agentty.usage.cost` and
|
|
27
|
+
`agentty.usage.cache_tokens` counters.
|
|
28
|
+
- `agentty`: let `/graph` add nodes to an execution graph that has not finished instead
|
|
29
|
+
of starting a second graph; the new nodes spend from the graph's remaining provider
|
|
30
|
+
calls.
|
|
31
|
+
- `agentty`: let paired devices reach every project the terminal lists: a device can
|
|
32
|
+
list projects and read, create sessions in, and sync any listed project instead of
|
|
33
|
+
following the terminal's active project.
|
|
34
|
+
- `agentty`: reuse a per-project cache of crates.io dependencies in sandboxed
|
|
35
|
+
`ag-harness` sessions, and add the `Share Host Caches` project setting, off by
|
|
36
|
+
default, that lets sandboxed sessions use the host's Cargo, Go, pip, and npm caches.
|
|
37
|
+
Its effect is host-wide: a session could plant code that later runs in other projects'
|
|
38
|
+
builds.
|
|
39
|
+
- `ag-remote`: add the `projects` capability, the `list_projects` request, and an
|
|
40
|
+
optional `project_id` on project requests.
|
|
41
|
+
- `ag-remote`: add the `test-utils` feature, whose `test_support` module exports
|
|
42
|
+
`MemoryDeviceStore` and `RecordingBackend`, so a program that embeds `ag-remote` can
|
|
43
|
+
run a real server in its tests.
|
|
44
|
+
- `ag-session`: add `ProjectScope`, `HostProject`, `ProjectSessions`, and
|
|
45
|
+
`SessionOperation::Projects`, with `SessionBackend` and `SessionService` methods that
|
|
46
|
+
list projects and serve, create sessions in, and sync a named project. Hosts that
|
|
47
|
+
serve only their active project get defaults.
|
|
48
|
+
- `ag-sqlite`: add a crate that owns SQLite opening, WAL creation, locked migrations,
|
|
49
|
+
and the `begin_write` and `begin_read` transaction helpers for `ag-store` and
|
|
50
|
+
`ag-harness`.
|
|
51
|
+
- `ag-harness`: report how a command ended with `bash::CommandExit`, including the exit
|
|
52
|
+
statuses of its final pipeline, plus write line counts, tool-call durations, and a
|
|
53
|
+
`ToolCallRequested` run event. Add `BashConfig::with_host_cache_directory` and
|
|
54
|
+
`with_host_cache_file`.
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- `agentty`: run remote control only through an Agentty Platform; sign in from the
|
|
59
|
+
`Platform` tab to pair devices (breaking). Devices paired through the loopback
|
|
60
|
+
listener, a tunnel, or a self-hosted relay can no longer connect: remove them in the
|
|
61
|
+
`Platform` tab with `d` and pair them again through a platform. Devices already paired
|
|
62
|
+
through a platform's relay keep working.
|
|
63
|
+
- `agentty`: offer the `Platform` tab on every launch; its label counts connected
|
|
64
|
+
devices while remote control runs.
|
|
65
|
+
- `agentty`: keep Git metadata read-only for sandboxed `ag-harness` commands. `git add`,
|
|
66
|
+
`git commit`, `git stash`, and `git checkout -b` fail with a permission error, and
|
|
67
|
+
Agentty's commit after each turn is the only committer.
|
|
68
|
+
- `agentty`: run read-only execution graph nodes beside the session's serial worker, so
|
|
69
|
+
independent readers overlap; writing nodes keep their order with chat turns.
|
|
70
|
+
- `agentty`: count a native `ag-harness` run as one provider call against graph and
|
|
71
|
+
session budgets, the same as one turn attempt of another agent.
|
|
72
|
+
- `agentty`: price cached input at published rates for OpenAI, Muse, Kimi, and Qwen
|
|
73
|
+
models, and OpenAI prompt-cache writes from GPT-5.6 on at 1.25 times the input price.
|
|
74
|
+
- `agentty`: send the ChatGPT plan prompt cache key as a `session-id` header too, so
|
|
75
|
+
requests return to their cached prompt prefix.
|
|
76
|
+
- `agentty`: refresh the session header's size and line counts while a turn edits files.
|
|
77
|
+
- `agentty`: leave nested Git repositories in session worktrees out of staging, commits,
|
|
78
|
+
and the review diff, and stop with an error that names the path when one sits at a
|
|
79
|
+
gitlink.
|
|
80
|
+
- `agentty`: export Codex's last-request context fill as `agentty.context.input_tokens`
|
|
81
|
+
on `agent.attempt` spans instead of `agentty.context.last_request.input_tokens`.
|
|
82
|
+
- `agentty`: draw each frame as one synchronized update, so supporting terminals never
|
|
83
|
+
show a partly drawn frame.
|
|
84
|
+
- `agentty`: show the `Platform` tab's pairing QR code on smaller terminals, and a hint
|
|
85
|
+
to enlarge the terminal when it cannot fit.
|
|
86
|
+
- `ag-harness`: `bash::CommandOutcome` carries `exit: CommandExit` instead of the
|
|
87
|
+
`exit_code`, `signal`, and `termination` fields (breaking).
|
|
88
|
+
- `ag-harness`: pin the session temporary directory and writable roots to their identity
|
|
89
|
+
on macOS, as on Linux, and refuse links and overlapping write grants.
|
|
90
|
+
- `ag-remote`: run only through a relay: `start` is synchronous, opens no listener, and
|
|
91
|
+
serves no page; `RemoteServerConfig` holds only the relay, and
|
|
92
|
+
`RemoteServerStatus::relay` is no longer optional; devices authenticate only by their
|
|
93
|
+
key; and the embedded web client assets are gone (breaking).
|
|
94
|
+
- `ag-relay`: make the relay a library that a platform embeds; it no longer serves a
|
|
95
|
+
page and has no binary or container image.
|
|
96
|
+
- `ag-contracts`, `ag-agent`, `ag-store`: carry per-model usage, estimated cost, and
|
|
97
|
+
context fill in turn results, one-shot submissions, and stored turns instead of input
|
|
98
|
+
and output token totals; add typed activity facts and kinds,
|
|
99
|
+
`TurnEvent::UsageUpdated`, and `TurnRequest::host_caches`; and remove
|
|
100
|
+
`TurnEvent::Completed` (breaking).
|
|
101
|
+
- `ag-worker`: name a usage purpose on each `RunScope` (breaking).
|
|
102
|
+
- `ag-session`, `ag-store`: record the graph revision a proposal extends and expand an
|
|
103
|
+
approved graph in place, and add the `ShareHostCaches` setting (breaking).
|
|
104
|
+
- `ag-git`: add `GitError::EmbeddedRepository` (breaking).
|
|
105
|
+
- `testty`: keep showing the previous screen while a synchronized update is open, as
|
|
106
|
+
terminals do.
|
|
107
|
+
- workspace: update `clap`, `getrandom`, `regex`, `tokio-rustls`, and `uuid`.
|
|
108
|
+
- release: bump workspace crate metadata and lockfile package versions to `0.22.0`.
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- `agentty`: keep each key hint on one row beside the pairing QR code instead of
|
|
113
|
+
splitting a binding across rows.
|
|
114
|
+
- `agentty`: keep background Git maintenance from pruning a worktree while a session
|
|
115
|
+
creates it, which could fail the new session.
|
|
116
|
+
- `agentty`: keep a running or queued merge on its own project when the terminal
|
|
117
|
+
switches projects.
|
|
118
|
+
- `agentty`: reach the relay through another address when one stalls, such as an IPv6
|
|
119
|
+
route that drops packets.
|
|
120
|
+
- `agentty`: forward termination signals that arrive while the npm launcher starts the
|
|
121
|
+
binary.
|
|
122
|
+
|
|
123
|
+
### Removed
|
|
124
|
+
|
|
125
|
+
- `agentty`: remove the `--experimental-remote`, `--remote-relay`,
|
|
126
|
+
`--remote-control-port`, `--remote-control-host`, and `--experimental-platform` flags
|
|
127
|
+
and the `Remote` tab.
|
|
128
|
+
- `ag-remote`: remove the loopback listener, device tokens, `RemoteError::Bind`,
|
|
129
|
+
`RemoteServerHandle::local_addr`, and `pairing_link` (breaking).
|
|
130
|
+
- `ag-relay`: remove the pairing page, the web-client API, the relay binary with its
|
|
131
|
+
`--allow-instance` flag, and the `ghcr.io/agentty-xyz/agentty-relay` image.
|
|
132
|
+
- `ag-harness`, `ag-contracts`, `ag-git`: remove `BashConfig::with_git_writes`,
|
|
133
|
+
`ExecutionPolicy::allows_git_writes` and `git_writes_branch`,
|
|
134
|
+
`TurnRequest::session_branch`, and `GitClient::head_reference` (breaking).
|
|
135
|
+
|
|
136
|
+
### Contributors
|
|
137
|
+
|
|
138
|
+
- @andagaev
|
|
139
|
+
- @dependabot
|
|
140
|
+
- @minev-dev
|
|
141
|
+
|
|
10
142
|
## [v0.21.0] - 2026-11-23
|
|
11
143
|
|
|
12
144
|
### Added
|
package/README.md
CHANGED
|
@@ -187,12 +187,10 @@ agentty --version # Show the installed Agentty version
|
|
|
187
187
|
- **Graphs**: `/graph` requests execution-graph proposals you can inspect, revise, and
|
|
188
188
|
approve before any node runs. See the
|
|
189
189
|
[workflow guide](https://agentty.xyz/docs/usage/workflow/).
|
|
190
|
-
- **Remote control**:
|
|
191
|
-
phone or browser to start, follow, reply to, and merge sessions through
|
|
192
|
-
|
|
193
|
-
[Remote Control](https://agentty.xyz/docs/usage/remote-control/)
|
|
194
|
-
`--experimental-platform` adds a preview `Platform` tab that signs in to the Agentty
|
|
195
|
-
Platform, so paired devices reach Agentty through its hosted relay. See
|
|
190
|
+
- **Remote control**: in preview, the `Platform` tab signs in to the Agentty Platform
|
|
191
|
+
and pairs a phone or browser to start, follow, reply to, and merge sessions through
|
|
192
|
+
the platform's relay. See
|
|
193
|
+
[Remote Control](https://agentty.xyz/docs/usage/remote-control/) and
|
|
196
194
|
[Agentty Platform](https://agentty.xyz/docs/usage/platform/).
|
|
197
195
|
- **Harness**: `/model` lists `ag-harness`, Agentty's built-in agent loop, with local
|
|
198
196
|
models and hosted models that run once their provider key or sign-in is set. Its edit
|
package/binary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Installs and runs the agentty 0.
|
|
3
|
-
// Generated by ag-release 0.
|
|
2
|
+
// Installs and runs the agentty 0.22.0 binaries from https://github.com/agentty-xyz/agentty.
|
|
3
|
+
// Generated by ag-release 0.22.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.
|
|
22
|
+
"downloadUrl": "https://github.com/agentty-xyz/agentty/releases/download/v0.22.0",
|
|
23
23
|
"downloadUrlVariable": "AGENTTY_DOWNLOAD_URL",
|
|
24
24
|
"minGlibc": "2.35",
|
|
25
25
|
"targets": [
|
|
@@ -29,7 +29,7 @@ const RELEASE = {
|
|
|
29
29
|
"directory": "agentty-aarch64-apple-darwin",
|
|
30
30
|
"libc": "none",
|
|
31
31
|
"platform": "darwin",
|
|
32
|
-
"sha256": "
|
|
32
|
+
"sha256": "c1b517933386502dd0ef5066f218d3aa349ce12cddcae003a8e8e1e4c4523ae0",
|
|
33
33
|
"target": "aarch64-apple-darwin"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
@@ -38,7 +38,7 @@ const RELEASE = {
|
|
|
38
38
|
"directory": "agentty-aarch64-unknown-linux-gnu",
|
|
39
39
|
"libc": "gnu",
|
|
40
40
|
"platform": "linux",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "19eb887cf19e33fcfb0a1cbecc7f7d89fd330f938f90e2f1e1cb2df88f244c64",
|
|
42
42
|
"target": "aarch64-unknown-linux-gnu"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -47,7 +47,7 @@ const RELEASE = {
|
|
|
47
47
|
"directory": "agentty-aarch64-unknown-linux-musl",
|
|
48
48
|
"libc": "musl",
|
|
49
49
|
"platform": "linux",
|
|
50
|
-
"sha256": "
|
|
50
|
+
"sha256": "073f7a0d48ac49e97f8c67821a01c1275d732770877fd5f9ad0b92609c103737",
|
|
51
51
|
"target": "aarch64-unknown-linux-musl"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
@@ -56,7 +56,7 @@ const RELEASE = {
|
|
|
56
56
|
"directory": "agentty-x86_64-apple-darwin",
|
|
57
57
|
"libc": "none",
|
|
58
58
|
"platform": "darwin",
|
|
59
|
-
"sha256": "
|
|
59
|
+
"sha256": "f9faaeb3392780c4720cc5dc50aed1a14f063d4e9cf3f0ff25231e30aa361e26",
|
|
60
60
|
"target": "x86_64-apple-darwin"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
@@ -65,7 +65,7 @@ const RELEASE = {
|
|
|
65
65
|
"directory": "agentty-x86_64-unknown-linux-gnu",
|
|
66
66
|
"libc": "gnu",
|
|
67
67
|
"platform": "linux",
|
|
68
|
-
"sha256": "
|
|
68
|
+
"sha256": "5faeb60fb933c06e0de6af163f7be414ad1796231d072d66da9cf694b02fc78f",
|
|
69
69
|
"target": "x86_64-unknown-linux-gnu"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
@@ -74,11 +74,11 @@ const RELEASE = {
|
|
|
74
74
|
"directory": "agentty-x86_64-unknown-linux-musl",
|
|
75
75
|
"libc": "musl",
|
|
76
76
|
"platform": "linux",
|
|
77
|
-
"sha256": "
|
|
77
|
+
"sha256": "89f710eb081fa37c007fe91559741a8a3e3f215fa85c4233a5880946abb74bc2",
|
|
78
78
|
"target": "x86_64-unknown-linux-musl"
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
|
-
"version": "0.
|
|
81
|
+
"version": "0.22.0"
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
// The binaries live in `<package>/node_modules/.bin_real/`; tools that
|
|
@@ -302,11 +302,14 @@ function installBinary(source, binary) {
|
|
|
302
302
|
|
|
303
303
|
/** Runs `program` and exits as it does: with its status, or by its signal. */
|
|
304
304
|
function spawn(program) {
|
|
305
|
-
|
|
305
|
+
// The listeners go in before the binary starts, so no signal sent once it
|
|
306
|
+
// runs ends this process instead of reaching it. They run on the event
|
|
307
|
+
// loop, after `child` is assigned below.
|
|
306
308
|
const ignore = () => {};
|
|
307
309
|
const forward = (signal) => child.kill(signal);
|
|
308
310
|
IGNORED_SIGNALS.forEach((signal) => process.on(signal, ignore));
|
|
309
311
|
FORWARDED_SIGNALS.forEach((signal) => process.on(signal, forward));
|
|
312
|
+
const child = childProcess.spawn(program, process.argv.slice(2), { stdio: "inherit" });
|
|
310
313
|
child.on("error", (error) => {
|
|
311
314
|
report(new Error(`cannot run ${program}: ${error.message}`));
|
|
312
315
|
});
|
package/package.json
CHANGED