@phnx-labs/agents-cli 1.23.17 → 1.23.19
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 +239 -0
- package/README.md +140 -165
- package/dist/bootstrap.js +11 -17
- package/dist/cli/command-registry.d.ts +1 -2
- package/dist/cli/command-registry.js +1 -10
- package/dist/commands/accounts.js +7 -7
- package/dist/commands/cloud-transcripts.d.ts +0 -1
- package/dist/commands/cloud-transcripts.js +2 -2
- package/dist/commands/cloud.js +2 -2
- package/dist/commands/config.js +1 -5
- package/dist/commands/cost.js +1 -1
- package/dist/commands/daemon-index.js +0 -1
- package/dist/commands/detach.d.ts +1 -1
- package/dist/commands/detach.js +10 -6
- package/dist/commands/doctor.js +11 -7
- package/dist/commands/exec.d.ts +0 -17
- package/dist/commands/exec.js +26 -72
- package/dist/commands/feed.d.ts +1 -1
- package/dist/commands/feed.js +3 -3
- package/dist/commands/focus.d.ts +11 -6
- package/dist/commands/focus.js +91 -31
- package/dist/commands/fork.d.ts +0 -1
- package/dist/commands/fork.js +7 -16
- package/dist/commands/harness-wizard.js +1 -1
- package/dist/commands/harness.js +1 -1
- package/dist/commands/insights.d.ts +0 -1
- package/dist/commands/insights.js +3 -7
- package/dist/commands/open.js +1 -1
- package/dist/commands/output.js +1 -1
- package/dist/commands/profiles.d.ts +1 -1
- package/dist/commands/profiles.js +2 -2
- package/dist/commands/projects-todo.js +10 -5
- package/dist/commands/projects.js +1 -1
- package/dist/commands/prune.js +1 -1
- package/dist/commands/ps.d.ts +8 -3
- package/dist/commands/ps.js +238 -110
- package/dist/commands/routines.js +1 -1
- package/dist/commands/send.js +1 -1
- package/dist/commands/sessions-backfill.d.ts +0 -1
- package/dist/commands/sessions-backfill.js +3 -6
- package/dist/commands/sessions-browser.d.ts +0 -10
- package/dist/commands/sessions-browser.js +19 -25
- package/dist/commands/sessions-migrate.d.ts +2 -2
- package/dist/commands/sessions-migrate.js +13 -13
- package/dist/commands/sessions-optimize.d.ts +0 -1
- package/dist/commands/sessions-optimize.js +0 -3
- package/dist/commands/sessions-picker.d.ts +0 -7
- package/dist/commands/sessions-picker.js +16 -310
- package/dist/commands/sessions-resume.d.ts +16 -15
- package/dist/commands/sessions-resume.js +101 -269
- package/dist/commands/sessions-stats.d.ts +0 -1
- package/dist/commands/sessions-stats.js +5 -8
- package/dist/commands/sessions-stop.d.ts +1 -1
- package/dist/commands/sessions-stop.js +8 -8
- package/dist/commands/sessions-trace.d.ts +1 -1
- package/dist/commands/sessions-trace.js +40 -17
- package/dist/commands/sessions-watch.js +2 -2
- package/dist/commands/sessions.test-fixture.d.ts +1 -0
- package/dist/commands/sessions.test-fixture.js +14 -0
- package/dist/commands/setup-browser.js +4 -4
- package/dist/commands/setup-computer.js +4 -4
- package/dist/commands/setup-fleet.js +1 -1
- package/dist/commands/setup-preferences.js +1 -1
- package/dist/commands/{sessions-backup-setup.d.ts → setup-session-backup.d.ts} +2 -2
- package/dist/commands/{sessions-backup-setup.js → setup-session-backup.js} +8 -8
- package/dist/commands/setup.js +3 -1
- package/dist/commands/ssh.js +4 -5
- package/dist/commands/sync.js +1 -1
- package/dist/commands/teams.js +2 -2
- package/dist/commands/utils.d.ts +0 -1
- package/dist/commands/utils.js +0 -10
- package/dist/index.js +0 -71
- package/dist/lib/account-registry.d.ts +3 -0
- package/dist/lib/account-registry.js +40 -0
- package/dist/lib/accounting/usage-sync.d.ts +1 -0
- package/dist/lib/accounting/usage-sync.js +20 -3
- package/dist/lib/accounting/usage.d.ts +4 -1
- package/dist/lib/accounting/usage.js +38 -6
- package/dist/lib/agent-spec/agents.js +12 -11
- package/dist/lib/analytics/mix-commands.js +1 -1
- package/dist/lib/auth-mint.js +2 -2
- package/dist/lib/browser-client.d.ts +0 -1
- package/dist/lib/browser-client.js +0 -3
- package/dist/lib/cloud/antigravity.js +1 -1
- package/dist/lib/cloud/cursor.js +3 -3
- package/dist/lib/cloud/store.d.ts +5 -1
- package/dist/lib/cloud/store.js +10 -3
- package/dist/lib/cloudflare/creds.js +2 -2
- package/dist/lib/computer/context.d.ts +4 -21
- package/dist/lib/computer/context.js +3 -24
- package/dist/lib/computer/policy.d.ts +0 -10
- package/dist/lib/computer/policy.js +0 -28
- package/dist/lib/computer-client.d.ts +0 -44
- package/dist/lib/computer-client.js +17 -121
- package/dist/lib/config-keys.d.ts +2 -2
- package/dist/lib/config-keys.js +1 -3
- package/dist/lib/crabbox/cli.js +1 -1
- package/dist/lib/daemon/account-state-daemon-service.js +9 -2
- package/dist/lib/daemon/self-update-service.js +1 -1
- package/dist/lib/device-config.d.ts +2 -1
- package/dist/lib/device-config.js +26 -39
- package/dist/lib/devices/connect.d.ts +1 -1
- package/dist/lib/devices/connect.js +3 -6
- package/dist/lib/devices/doctor-findings.d.ts +2 -1
- package/dist/lib/devices/doctor-findings.js +4 -4
- package/dist/lib/devices/health.d.ts +6 -0
- package/dist/lib/devices/health.js +11 -4
- package/dist/lib/exec.js +1 -1
- package/dist/lib/feed/activity.js +1 -1
- package/dist/lib/feed/watch.js +2 -1
- package/dist/lib/fleet/apply.d.ts +1 -1
- package/dist/lib/fleet/apply.js +6 -3
- package/dist/lib/fleet-shared-state.d.ts +2 -0
- package/dist/lib/fleet-shared-state.js +3 -1
- package/dist/lib/github/project-prs.js +14 -1
- package/dist/lib/help.d.ts +0 -1
- package/dist/lib/help.js +2 -10
- package/dist/lib/helper-versions.js +1 -1
- package/dist/lib/hosts/option.js +1 -1
- package/dist/lib/hosts/passthrough.d.ts +0 -1
- package/dist/lib/hosts/passthrough.js +2 -26
- package/dist/lib/hosts/reconnect.js +5 -5
- package/dist/lib/hosts/remote-cmd.d.ts +3 -5
- package/dist/lib/hosts/remote-cmd.js +15 -20
- package/dist/lib/hosts/remote-session-id.js +1 -1
- package/dist/lib/installations/active-check.js +1 -1
- package/dist/lib/installations/migrate.js +4 -15
- package/dist/lib/installations/versions.js +5 -4
- package/dist/lib/launch-log.js +3 -6
- package/dist/lib/owner-notify.d.ts +1 -6
- package/dist/lib/owner-notify.js +0 -2
- package/dist/lib/paths.d.ts +0 -1
- package/dist/lib/paths.js +0 -8
- package/dist/lib/permissions.js +1 -1
- package/dist/lib/project-root.d.ts +1 -0
- package/dist/lib/project-root.js +11 -3
- package/dist/lib/projects.js +2 -2
- package/dist/lib/quick-todo.d.ts +5 -1
- package/dist/lib/quick-todo.js +14 -1
- package/dist/lib/redact.d.ts +0 -1
- package/dist/lib/redact.js +0 -4
- package/dist/lib/remote-agents-json.d.ts +3 -1
- package/dist/lib/remote-agents-json.js +12 -8
- package/dist/lib/reserved-stores.js +1 -1
- package/dist/lib/scheduling/routines.d.ts +0 -1
- package/dist/lib/scheduling/routines.js +1 -1
- package/dist/lib/self-update.d.ts +1 -1
- package/dist/lib/self-update.js +59 -2
- package/dist/lib/session/active.d.ts +1 -1
- package/dist/lib/session/db.js +4 -4
- package/dist/lib/session/detached.d.ts +0 -1
- package/dist/lib/session/detached.js +0 -23
- package/dist/lib/session/discover.d.ts +2 -2
- package/dist/lib/session/glance-files.d.ts +21 -0
- package/dist/lib/session/glance-files.js +123 -0
- package/dist/lib/session/presentation.d.ts +3 -7
- package/dist/lib/session/presentation.js +4 -4
- package/dist/lib/session/preview-digest.d.ts +13 -0
- package/dist/lib/session/preview-digest.js +328 -0
- package/dist/lib/session/projection.js +1 -1
- package/dist/lib/session/remote/remote-list.d.ts +5 -2
- package/dist/lib/session/remote/remote-list.js +15 -8
- package/dist/lib/session/remote/watch.d.ts +2 -0
- package/dist/lib/session/remote/watch.js +90 -10
- package/dist/lib/session/remote-active.js +1 -1
- package/dist/lib/session/resume-command.d.ts +0 -1
- package/dist/lib/session/resume-command.js +1 -4
- package/dist/lib/session/resume-owner.d.ts +0 -2
- package/dist/lib/session/resume-owner.js +0 -6
- package/dist/lib/session/selection.d.ts +4 -5
- package/dist/lib/session/selection.js +2 -2
- package/dist/lib/session/sync/config.d.ts +0 -25
- package/dist/lib/session/sync/config.js +0 -62
- package/dist/lib/session/sync/managed-config.d.ts +0 -1
- package/dist/lib/session/sync/managed-config.js +0 -3
- package/dist/lib/session/sync/worker-template.js +1 -1
- package/dist/lib/sessions-client.d.ts +0 -16
- package/dist/lib/sessions-client.js +1 -187
- package/dist/lib/smart-launch.js +6 -1
- package/dist/lib/startup/command-registry.d.ts +2 -0
- package/dist/lib/startup/command-registry.js +36 -3
- package/dist/lib/startup/root-command.d.ts +0 -1
- package/dist/lib/startup/root-command.js +0 -21
- package/dist/lib/sync-umbrella.js +1 -1
- package/dist/lib/teams/placement-probe.d.ts +2 -0
- package/dist/lib/teams/placement-probe.js +8 -3
- package/dist/lib/terminal/engine.d.ts +2 -0
- package/dist/lib/terminal/engine.js +5 -3
- package/dist/lib/terminal/index.d.ts +1 -1
- package/dist/lib/terminal/index.js +1 -1
- package/dist/lib/terminal/resolve.js +1 -1
- package/dist/lib/terminal/run-surface.d.ts +1 -0
- package/dist/lib/terminal/run-surface.js +9 -0
- package/dist/lib/watchdog/rotate.js +1 -1
- package/dist/lib/watchdog/watchdog.d.ts +1 -1
- package/dist/lib/watchdog/watchdog.js +2 -2
- package/package.json +1 -1
- package/dist/commands/browser.d.ts +0 -7
- package/dist/commands/browser.js +0 -139
- package/dist/commands/computer.d.ts +0 -48
- package/dist/commands/computer.js +0 -244
- package/dist/commands/resume.d.ts +0 -23
- package/dist/commands/resume.js +0 -158
- package/dist/commands/secrets-passthrough.d.ts +0 -3
- package/dist/commands/secrets-passthrough.js +0 -52
- package/dist/commands/sessions-bookmark.d.ts +0 -2
- package/dist/commands/sessions-bookmark.js +0 -92
- package/dist/commands/sessions-export.d.ts +0 -31
- package/dist/commands/sessions-export.js +0 -409
- package/dist/commands/sessions-import.d.ts +0 -6
- package/dist/commands/sessions-import.js +0 -343
- package/dist/commands/sessions-inject.d.ts +0 -14
- package/dist/commands/sessions-inject.js +0 -143
- package/dist/commands/sessions-picker-factory.d.ts +0 -24
- package/dist/commands/sessions-picker-factory.js +0 -59
- package/dist/commands/sessions-render.d.ts +0 -11
- package/dist/commands/sessions-render.js +0 -119
- package/dist/commands/sessions-share.d.ts +0 -15
- package/dist/commands/sessions-share.js +0 -171
- package/dist/commands/sessions.d.ts +0 -122
- package/dist/commands/sessions.js +0 -1760
- package/dist/lib/address.d.ts +0 -39
- package/dist/lib/address.js +0 -128
- package/dist/lib/computer/record.d.ts +0 -6
- package/dist/lib/computer/record.js +0 -25
- package/dist/lib/onepassword.d.ts +0 -57
- package/dist/lib/onepassword.js +0 -140
- package/dist/lib/openclaw-keychain.d.ts +0 -43
- package/dist/lib/openclaw-keychain.js +0 -227
- package/dist/lib/session/bundle.d.ts +0 -76
- package/dist/lib/session/bundle.js +0 -146
- package/dist/lib/session/remote/remote-bundle.d.ts +0 -7
- package/dist/lib/session/remote/remote-bundle.js +0 -40
- package/dist/lib/session/remote/remote.d.ts +0 -35
- package/dist/lib/session/remote/remote.js +0 -198
- package/dist/lib/session/remote-bundle.d.ts +0 -1
- package/dist/lib/session/remote-bundle.js +0 -1
- package/dist/lib/session/remote.d.ts +0 -1
- package/dist/lib/session/remote.js +0 -1
- package/dist/lib/session/sync/agents.d.ts +0 -24
- package/dist/lib/session/sync/agents.js +0 -0
- package/dist/lib/session/sync/backend.d.ts +0 -22
- package/dist/lib/session/sync/backend.js +0 -44
- package/dist/lib/session/sync/managed-key.d.ts +0 -5
- package/dist/lib/session/sync/managed-key.js +0 -87
- package/dist/lib/session/sync/net-client.d.ts +0 -29
- package/dist/lib/session/sync/net-client.js +0 -87
- package/dist/lib/session/sync/r2.d.ts +0 -20
- package/dist/lib/session/sync/r2.js +0 -103
- package/dist/lib/session/sync/transcript-crypto.d.ts +0 -41
- package/dist/lib/session/sync/transcript-crypto.js +0 -115
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,244 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.19
|
|
4
|
+
|
|
5
|
+
- **`agents projects prs <project> --json` carries `mergeable` and `mergeableState` (PHNX-4326).**
|
|
6
|
+
Every open row had both null, because GitHub's REST PR list never computes them. Each open
|
|
7
|
+
PR the read lists is now read with REST `pulls/{n}` (cached 60 seconds, at most eight at a
|
|
8
|
+
time), the same read and values as the cross-org form and `--number` (`false` / `"dirty"` on
|
|
9
|
+
a conflict). A PR whose read fails keeps both null and the failure is named in `ciError`.
|
|
10
|
+
Source: `src/lib/github/project-prs.ts`.
|
|
11
|
+
- **The Projects tab is retired from `menubar.menu.tabOrder` (PHNX-4326).** `projects` is no
|
|
12
|
+
longer in the default order or required in a stored one; an order or `hiddenTabs` list that
|
|
13
|
+
still names it is accepted and kept in place, so older menus keep working. Source:
|
|
14
|
+
`src/lib/device-config.ts`.
|
|
15
|
+
|
|
16
|
+
- **Cloud tasks nothing has confirmed for a day no longer show as working (PHNX-4326).**
|
|
17
|
+
A `queued`/`allocating`/`running` task whose last update is over 24 hours old is left
|
|
18
|
+
out of the active list and the feed; `agents cloud list` still asks the provider about
|
|
19
|
+
every unsettled task. Source: `src/lib/cloud/store.ts`.
|
|
20
|
+
- **Previous sessions on `agents feed watch --json` arrive with their card text (PHNX-4326).**
|
|
21
|
+
A closed session's row now carries `lastAgentLine`, `request`, `todos`, `artifacts` and
|
|
22
|
+
`importantMessage` like a live row. Before, only 5 of 346 previous rows across the fleet
|
|
23
|
+
had a reply line; on this change's test machine 31 of 41 local previous rows have one
|
|
24
|
+
(the other 10 have no assistant text in their transcript). The text comes from the
|
|
25
|
+
preview digest cached against each transcript, so each transcript is parsed once per
|
|
26
|
+
change: the reset serves what is cached and the stream upserts the rest as it builds
|
|
27
|
+
them. Source: `src/lib/session/remote/watch.ts`, `src/lib/session/preview-digest.ts`.
|
|
28
|
+
- **`agents ps preview` takes several ids (PHNX-4326).** `agents ps preview
|
|
29
|
+
<id> <id> --json` prints one array in argument order, each element the single-id
|
|
30
|
+
envelope plus `query`; an id that does not resolve is an element with `error` set.
|
|
31
|
+
One id still prints the single object. See `docs/menubar.md`. Source:
|
|
32
|
+
`src/commands/ps.ts`.
|
|
33
|
+
- **`agents ps preview --json` carries `subAgents`, `images` and
|
|
34
|
+
`producedArtifacts`, and `todos` folds Claude's task tools (PHNX-4326).** `subAgents` lists each spawned subagent with its
|
|
35
|
+
status and duration, `images` the last six images the session was given, read or
|
|
36
|
+
wrote that still exist on disk, and `todos` now includes `TaskCreate`/`TaskUpdate`
|
|
37
|
+
checklists. `producedArtifacts` is the list a live feed row's `artifacts` holds.
|
|
38
|
+
See `docs/menubar.md`. Source: `src/lib/session/preview-digest.ts`,
|
|
39
|
+
`src/lib/session/glance-files.ts`.
|
|
40
|
+
|
|
41
|
+
- **Accounts added on your personal device reach the workers without a git pull (PHNX-4342).**
|
|
42
|
+
`agents accounts add` writes the account row to `~/.agents/agents.yaml` and only
|
|
43
|
+
commits it locally. A worker learned the row only after a user-repo push and pull, so
|
|
44
|
+
a worker whose `~/.agents` had diverged never saw it. `agents accounts login
|
|
45
|
+
<harness>#<name> --per-device` then failed there with `No grok account '<name>'`. A
|
|
46
|
+
personal or desktop device now publishes its per-device account rows in the fleet state
|
|
47
|
+
it already exchanges with peers. A worker adds any row
|
|
48
|
+
it lacks when the sender is headed and created that row; it never overwrites or
|
|
49
|
+
removes a local row. Only per-device accounts travel this way, and only their identity
|
|
50
|
+
fields; a credential reference never does. Rows added before the `provisioning` field
|
|
51
|
+
existed are not sent; workers already have those from earlier user-repo pulls. Each
|
|
52
|
+
worker still signs in for itself with `--per-device`.
|
|
53
|
+
Source: `cli/src/lib/daemon/account-state-daemon-service.ts`,
|
|
54
|
+
`cli/src/lib/accounting/usage-sync.ts`, `cli/src/lib/account-registry.ts`.
|
|
55
|
+
|
|
56
|
+
- **A Grok account with no balance left reads as out of credits (PHNX-4342).** When xAI
|
|
57
|
+
refuses a turn with `402 Payment Required: Grok Build usage balance exhausted`, that
|
|
58
|
+
account now shows `out of credits` for one hour, and rotation and `--device auto` skip
|
|
59
|
+
it instead of choosing it again. Before this, Grok usage came only from the last
|
|
60
|
+
`billing: fetched credits config` log line, which could be days old, so an exhausted
|
|
61
|
+
account still read as ready. Only that balance message counts; another 402 does not.
|
|
62
|
+
Source: `cli/src/lib/accounting/usage.ts`.
|
|
63
|
+
- **A Grok, Kimi or Muse version with no login of its own reads as signed out.** The
|
|
64
|
+
launcher points these harnesses at their version home (`GROK_HOME`, `KIMI_CODE_HOME`,
|
|
65
|
+
XDG), so they never read the shared `~/.grok` or `~/.kimi-code` login. The account
|
|
66
|
+
check did read it, and listed a version as signed in with that account while the
|
|
67
|
+
harness itself said `Not signed in`. Cursor, Droid and Antigravity keep their
|
|
68
|
+
shared-home lookup. Source: `cli/src/lib/agent-spec/agents.ts`.
|
|
69
|
+
|
|
70
|
+
- **A Codex install whose platform binary npm skipped is now caught and repaired (PHNX-4342).**
|
|
71
|
+
Codex 0.162 reports a missing platform package as `Missing optional dependency
|
|
72
|
+
@openai/codex-linux-x64`, which the launch check did not recognize, so it passed a
|
|
73
|
+
dead binary. Updates committed it, the daemon never healed it, and `agents run codex`
|
|
74
|
+
launched it and exited 1 within a fraction of a second, which showed up as
|
|
75
|
+
`Connection to <device> closed.` after `--device auto`. The check now recognizes that
|
|
76
|
+
wording, so the run repairs the install before it launches, and an update that
|
|
77
|
+
produces one rolls back. Its message now quotes the matching line instead of a stack
|
|
78
|
+
frame. Source: `cli/src/lib/installations/versions.ts`.
|
|
79
|
+
- **`--device auto` no longer says `no ready harness account` when it never heard back (PHNX-4342).**
|
|
80
|
+
When a worker's readiness probe ran past its 8 second budget, the refusal said the
|
|
81
|
+
worker had no ready account even when it had a signed-in one. It now says
|
|
82
|
+
`readiness probe timed out` and counts it in the retry hint, or `readiness probe did
|
|
83
|
+
not answer` for any other silent failure. A worker that did answer `not ready` now
|
|
84
|
+
shows its own reason, for example `no ready harness account (all signed_out)`. That
|
|
85
|
+
reason was being dropped before it reached the message.
|
|
86
|
+
Source: `cli/src/lib/teams/placement-probe.ts`, `cli/src/lib/smart-launch.ts`.
|
|
87
|
+
|
|
88
|
+
- **`agents ps focus` on a headless session stops it before reopening it in a tab (PHNX-4344).**
|
|
89
|
+
Focusing a session that was running headless used to resume a second copy in a new tab
|
|
90
|
+
while the headless process kept running, so two processes wrote to one conversation. Focus
|
|
91
|
+
now stops the headless process first (here, or with `agents ps stop <id> --local` on the
|
|
92
|
+
device that runs it) and clears its detach record, and opens nothing if that device cannot
|
|
93
|
+
be reached or its `ps stop` exits non-zero. The focus picker does the same for each headless
|
|
94
|
+
session it opens. If the tab then fails to open, the error says the headless run was stopped
|
|
95
|
+
and how to resume it. The tab now goes where your live sessions run (`resolveLaunchBackend`), so from
|
|
96
|
+
AGI Menu it opens in the project's VSCodium window instead of the first installed terminal
|
|
97
|
+
app. A session owned by another device opens a local tab running
|
|
98
|
+
`agents run auto --resume <id> --interactive` when there is no TTY, instead of an SSH hop
|
|
99
|
+
that needs one. A session that has already ended, focused with no TTY, now also opens in
|
|
100
|
+
such a tab instead of resuming in place inside the caller (which failed with no terminal and
|
|
101
|
+
still exited 0). When VSCodium never confirms the tab, focus exits 1 and says to approve the
|
|
102
|
+
"Allow 'Agents' extension to open this URI?" prompt. Source: `cli/src/commands/focus.ts`,
|
|
103
|
+
`cli/src/commands/detach.ts`, `cli/src/lib/terminal/engine.ts`.
|
|
104
|
+
- **Sessions from another machine's home now match their project (PHNX-4344).** A session
|
|
105
|
+
recorded on a Linux worker under `/home/<user>/…` now matches a project registered as
|
|
106
|
+
`~/…` on a Mac (and the other way round) when `<user>` is the same user name; `/Users/Shared`
|
|
107
|
+
and other users' homes are not rewritten, so AGI Menu groups those sessions under the right
|
|
108
|
+
project instead of Uncategorized. Source: `cli/src/lib/project-root.ts` (`localizeHome`),
|
|
109
|
+
`cli/src/lib/projects.ts`.
|
|
110
|
+
- **`agents projects todo list --project <name>` and `menubar.menu.todoProject` (PHNX-4344).**
|
|
111
|
+
`--project` lists every open issue in that Linear project (an agents project's Linear
|
|
112
|
+
project, or a Linear project name), due ones first, then the newest, at most 6, with
|
|
113
|
+
`total` the full count. The new `menubar.menu.todoProject` key names the project AGI Menu
|
|
114
|
+
lists and files to-dos in, and rides `agents menubar snapshot --json` `menuPreferences`
|
|
115
|
+
when set. Source: `cli/src/lib/quick-todo.ts`, `cli/src/commands/projects-todo.ts`,
|
|
116
|
+
`cli/src/lib/device-config.ts`.
|
|
117
|
+
- **AGI Menu shows draft pull requests by default (PHNX-4344).** `menubar.menu.githubDrafts`
|
|
118
|
+
now defaults to `true`; `githubBots` stays `false`. Source: `cli/src/lib/device-config.ts`.
|
|
119
|
+
- **`agents ps stop` on another device exits 1 when the remote stop fails (PHNX-4344).** A
|
|
120
|
+
one-shot peer hop (`runOnPeer` without a TTY) now reports a non-zero remote exit as `failed`
|
|
121
|
+
instead of `ok`. Source: `cli/src/lib/session/remote/remote-list.ts`,
|
|
122
|
+
`cli/src/commands/sessions-stop.ts`.
|
|
123
|
+
|
|
124
|
+
- **`agents upgrade` works again on a bun-installed copy.** Every upgrade on a
|
|
125
|
+
bun install failed at the install step with `error: An internal error occurred
|
|
126
|
+
(DependencyLoop)` and left the CLI on the version it already had, because
|
|
127
|
+
`bun add -g <tarball>` refuses to resolve a tarball whose package name is
|
|
128
|
+
already pinned to an exact version in bun's global `package.json` — it keeps
|
|
129
|
+
the old requirement alongside the tarball resolution and reports the package
|
|
130
|
+
as depending on itself (bun 1.3.14). `installPackageWithBun` now clears that
|
|
131
|
+
entry before the install and writes it back as the version actually on disk
|
|
132
|
+
afterwards; the second half matters too, since bun otherwise records the
|
|
133
|
+
tarball's path under the upgrade's temp directory, which is deleted on the way
|
|
134
|
+
out and breaks the next `bun install -g`. An install that fails or is aborted
|
|
135
|
+
puts the entry back, so a failed upgrade no longer leaves the CLI installed
|
|
136
|
+
but unpinned — a state in which `bun remove -g` reports success and removes
|
|
137
|
+
nothing. Neither `bun.lock` nor `trustedDependencies` is involved, and the
|
|
138
|
+
npm install path is unchanged.
|
|
139
|
+
Source: `cli/src/lib/self-update.ts`, `cli/src/lib/self-update.test.ts`.
|
|
140
|
+
|
|
141
|
+
- **An `out of credits` mark no longer strands a Claude account for good.** A run
|
|
142
|
+
refused with "You've hit your monthly spend limit" or "out of usage credits"
|
|
143
|
+
writes a per-account `out_of_credits` mark in `~/.agents/.cache/claude-usage.json`,
|
|
144
|
+
and rotation (`balanced`, `available`) skips a marked account. The mark had no
|
|
145
|
+
expiry, and its only clear was a successful run on that account, which rotation
|
|
146
|
+
never launches. On one box three of four Claude accounts sat marked for up to 14
|
|
147
|
+
days while answering fine, and every `agents run claude` landed on the one login
|
|
148
|
+
that was actually refusing. The mark now records when it was noted and expires
|
|
149
|
+
after one hour (`OUT_OF_CREDITS_REPROBE_MS`), so rotation tries the account again;
|
|
150
|
+
a fresh refusal re-marks it. A mark written by an older CLI reads as expired.
|
|
151
|
+
`agents view` shows `out of credits` only while the mark is live.
|
|
152
|
+
Source: `cli/src/lib/accounting/usage.ts`, `cli/src/lib/accounting/usage.test.ts`.
|
|
153
|
+
|
|
154
|
+
- **Fleet probes follow the configured `platform`, not the discovered one.** A box Tailscale
|
|
155
|
+
reports as Windows but whose sshd lands in WSL, configured `agents devices config <name>
|
|
156
|
+
platform linux`, was dialed as a bash login shell yet handed the PowerShell snippet — so
|
|
157
|
+
`agents devices list --refresh` showed it offline, the `agents ps` fleet roster skipped it as
|
|
158
|
+
"unreachable or no agents CLI", and `agents ps watch` / `agents feed watch` /
|
|
159
|
+
`agents apply` / `agents doctor --check` never reached it, even though `agents ssh <name>`
|
|
160
|
+
worked. Each of those paths now resolves the operator profile before choosing the remote shell,
|
|
161
|
+
the same profile the dial already used. Source: `cli/src/lib/devices/health.ts` (`buildProbeInvocation`),
|
|
162
|
+
`cli/src/lib/session/remote/{remote-list,watch}.ts`, `cli/src/lib/feed/watch.ts`,
|
|
163
|
+
`cli/src/lib/fleet/apply.ts`, `cli/src/lib/teams/placement-probe.ts`,
|
|
164
|
+
`cli/src/lib/accounting/usage-sync.ts`, `cli/src/lib/remote-agents-json.ts`,
|
|
165
|
+
`cli/src/commands/doctor.ts`.
|
|
166
|
+
|
|
167
|
+
- **A bare interactive `agents run <harness>` runs on the machine you typed it on again.**
|
|
168
|
+
Since PHNX-4083 a bare human-facing run (no prompt, real TTY) placed itself like
|
|
169
|
+
`--device auto`, so `agents run claude` on a laptop landed on whichever fleet worker had
|
|
170
|
+
the most headroom, including a Windows box the operator never chose. Placement is now
|
|
171
|
+
opt-in: `--device auto`, `--device <box>`, or the `<harness>@` picker. Headless runs are
|
|
172
|
+
unchanged, and `--local` still pins this machine against a `--where` default. The
|
|
173
|
+
`Run here instead` hint is gone with the default that needed it.
|
|
174
|
+
Source: `cli/src/commands/exec.ts`, `cli/docs/hosts.md`.
|
|
175
|
+
|
|
176
|
+
## 1.23.18
|
|
177
|
+
|
|
178
|
+
- **Fleet hops call peers by the canonical `ps` and `daemon index` spellings (PHNX-4227).**
|
|
179
|
+
A session on another device is now stopped there with `agents ps stop <id> --local`
|
|
180
|
+
and detached with `agents ps detach <id> --local`, the fleet roster asks each peer
|
|
181
|
+
for `agents ps --local --json`, and `backfill tools --fleet`/`--device` drives
|
|
182
|
+
each peer with `agents daemon index backfill tools --json --local` plus the same
|
|
183
|
+
filters. Each peer must run the release that carries this change.
|
|
184
|
+
An older peer is not detected or worked around: its roster and backfill rows
|
|
185
|
+
read as unreachable, and a stop or detach prints the peer's own unknown-command
|
|
186
|
+
error. Source:
|
|
187
|
+
`cli/src/commands/sessions-stop.ts`, `cli/src/commands/detach.ts`,
|
|
188
|
+
`cli/src/lib/session/remote-active.ts`, `cli/src/commands/sessions-backfill.ts`.
|
|
189
|
+
|
|
190
|
+
- **`agents browser`, `agents computer`, `agents secrets` and `agents sessions` are removed (PHNX-4227, owner decision 2026-10-12).**
|
|
191
|
+
There is no alias, passthrough or forwarder. Each exits 1 with one line naming
|
|
192
|
+
what to run instead, including under `--help`:
|
|
193
|
+
`error: 'agents browser' was removed; use the standalone 'browser' CLI (browser --help).`
|
|
194
|
+
Call the standalone `browser`, `computer`, `secrets` and `sessions` CLIs directly
|
|
195
|
+
(`agents setup tools` installs the pinned releases). The `sessions` verbs that
|
|
196
|
+
agents-cli owned have homes of their own, and the refusal names them:
|
|
197
|
+
`sessions resume` → `agents run auto --resume <id>`, `sessions --active` → `agents ps`,
|
|
198
|
+
`stop`/`focus`/`detach`/`migrate`/`migrations`/`preview` → `agents ps <verb>`,
|
|
199
|
+
`watch` → `agents ps watch --json`, `inject` → `agents send --channel session`,
|
|
200
|
+
`fork` → `agents fork` (now listed in `--help`), `backfill`/`optimize`/`--roots` →
|
|
201
|
+
`agents daemon index`, `stats` → `agents insights resources`, `insights` →
|
|
202
|
+
`agents insights`, `backup-setup` → `agents setup session-backup`.
|
|
203
|
+
Source: `cli/src/lib/startup/command-registry.ts`, `cli/src/bootstrap.ts`.
|
|
204
|
+
- **Fleet peers are asked with the new spellings, so every device needs this release.**
|
|
205
|
+
Selector resolution (what `agents run --resume <id>`, `ps focus` and `ps preview`
|
|
206
|
+
use to find a session on another box) asks the hidden `agents ps resolve <selector>
|
|
207
|
+
--json --local`; launch-id lookup after a `--device` dispatch asks `agents ps resolve
|
|
208
|
+
--launch-id <id>`; remote previews ask `agents ps preview <id> --local --json`; the
|
|
209
|
+
fleet session stream asks `agents ps watch --json --local`. The session picker's
|
|
210
|
+
history pool now asks each peer's standalone `sessions --all --json --local`. A peer
|
|
211
|
+
on an older agents-cli answers with an unknown command and reads as unreachable until
|
|
212
|
+
it updates (auto-update runs within 24 hours).
|
|
213
|
+
Source: `cli/src/commands/ps.ts`, `cli/src/lib/session/selection.ts`,
|
|
214
|
+
`cli/src/lib/session/remote/watch.ts`, `cli/src/commands/sessions-browser.ts`.
|
|
215
|
+
- **Session rows recover with `agents ps focus <id>`.** The `recovery` command on
|
|
216
|
+
`agents ps watch --json` and `agents feed watch --json` rows was
|
|
217
|
+
`agents sessions resume <id> --device <owner>`; it is now `agents ps focus <id>`,
|
|
218
|
+
which attaches a live pane or recovers an ended session on its owning device.
|
|
219
|
+
Source: `cli/src/lib/session/remote/watch.ts`, `cli/src/lib/session/projection.ts`.
|
|
220
|
+
- **`devices.<name>.computer.host` is removed** with the `agents computer --device`
|
|
221
|
+
path that read it. Drive another desktop with `computer <verb> --host <address>`.
|
|
222
|
+
Source: `cli/src/lib/device-config.ts`, `cli/src/lib/computer-client.ts`.
|
|
223
|
+
- **Help, prompts and scripts name the commands that exist.** `--help` for `run`,
|
|
224
|
+
`trace`, `fork` and every `-D/--device` option no longer points at `agents hosts`
|
|
225
|
+
or the removed groups. Agent-facing text
|
|
226
|
+
(the watchdog nudge, the migrate rehydrate prompt, the rotate resume prompt) now
|
|
227
|
+
says `sessions <id>` to read a transcript, and the release and CI scripts call
|
|
228
|
+
`secrets exec` directly.
|
|
229
|
+
- **The `agents ps` picker's `y` key copies a command that runs.** It copied
|
|
230
|
+
`ag sessions …`; a running or status view now copies `agents ps` with its
|
|
231
|
+
`--status`, `-D`, `--bookmarks` and `--routine` flags, and a history view copies
|
|
232
|
+
the standalone `sessions …` with its filters.
|
|
233
|
+
Source: `cli/src/commands/sessions-browser.ts`.
|
|
234
|
+
|
|
235
|
+
- **Owner notifications no longer have quiet hours.** rush/api dropped quiet hours
|
|
236
|
+
and the notification timezone, so the CLI no longer sends a `settings` object to
|
|
237
|
+
`PUT /me/preferences` and no longer reports a `quiet_hours` suppression. The
|
|
238
|
+
one-time `humans.yaml` upload lists `quietHours`, `quiet_hours` and `timezone`
|
|
239
|
+
under "not migrated" instead of uploading them. Source:
|
|
240
|
+
`cli/src/lib/owner-notify.ts`, `cli/src/lib/installations/migrate.ts`.
|
|
241
|
+
|
|
3
242
|
## 1.23.17
|
|
4
243
|
|
|
5
244
|
- **A worker with one stale account and the rest unknown now launches.** `balanced`
|