Commit Graph
1098 Commits
Author SHA1 Message Date
raman325andClaude Opus 5 f2d2f960a6 test(server): follow the shared ACP mock's renamed model id
The mock agent's catalog moved from `grok-build` to `grok-4.6` in #9154;
the Hermes discovery test still asserted the old slug and failed against
current main.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Fable 5 79a4f3409d fix(server): honor acceptAlways and never announce an unstartable turn
`selectHermesPermissionOptionId` handled only `acceptForSession` and
`accept`, so the valid `acceptAlways` decision fell through to the
agent's reject option — a permanent approval denied the tool call.
Both persistent decisions now map to `allow_always`, with the same
`allow_once` fallback.

`turn.started` was also published before prompt validation, so a
whitespace-only prompt or an attachment set with no images announced a
turn that then failed with no terminal event, leaving consumers with a
permanently running turn. Announcement now happens after both fallible
preparation steps (validation and session configuration) and is keyed on
a session-level announced flag, so a steer that overtakes a not-yet
announced turn still announces it exactly once. Preparation failures
release the turn claim so the next sendTurn opens a fresh turn.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
raman325andClaude Fable 5 50013a2591 fix(server): announce a Hermes turn before fallible configuration
Publishing the active turn id before the awaited session configuration
let a concurrent sendTurn merge into a turn whose preparation could still
fail. Because a steer skips its own turn.started, the merged turn could
settle without one ever being emitted.

Emit turn.started in the same window that publishes the id, before the
configuration await, and compare the skip-if-match guard against the
model captured before the session record adopts this turn's selection.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
raman325andClaude Fable 5 462742eb49 fix(server): answer Hermes approvals with advertised option ids
Manual approval replies sent the canonical `allow-always`/`allow-once`/
`reject-once` literals rather than the option ids Hermes advertised, so
an agent minting opaque ids (`permit-42`) rejected the reply and the
permission-gated turn stayed blocked. Match the resolved decision by
option `kind` and answer with the advertised id, mirroring Grok, and
cancel rather than synthesize an id when the agent advertised no
matching option.

Also explains both new nodeBuiltinImport suppressions.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
raman325andClaude Fable 5 128a6134cd fix(server): address Hermes provider review findings
- never send the `default` product slug to session/set_model: it stands
  for Hermes's own configured model, not an ACP model id, so start and
  first turn failed whenever the picker still held it
- track the session's real current model at start (ACP setup's current
  model when no switch happened) so the skip-if-match guard compares
  against the session rather than the picker selection
- mark the session's current model as the discovered catalog default so
  the resolver stops binding to the first entry
- assign the active turn id synchronously with the in-flight increment,
  so a sendTurn racing session configuration merges into the running
  turn instead of opening a duplicate
- use the shared withInstanceIdentity helper instead of a local copy
- add HermesAdapter tests: auto-approval option selection, mode-alias
  resolution, mock ACP session flow, and the steer-merge path

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
raman325andClaude Fable 5 948eb8a1ca fix(server): skip redundant Hermes session/set_model
Hermes model selection sent session/set_model unconditionally, including
when the session was already on the requested model. Grok's ACP fix
(#9154) made the mock agent reject set_model for ids it does not
advertise as switchable, which surfaced the redundancy: selecting the
session's current model failed instead of no-opping.

applyHermesAcpModelSelection now takes the session's current model id
(read from session setup at start, tracked on the session for turns) and
sends set_model only when the selection actually changes the model.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 106c208553 test(server): extend Hermes settings and probe coverage
Mirrors Hermes into the settings restore/disable fixtures alongside
Grok and OpenCode, drops the tautological HERMES_AUTH_METHOD_ID unit
test and un-exports the now test-only constant, and gates the Hermes
ACP probe's live-turn test behind T3_HERMES_LIVE_TURN, matching the
Grok probe's T3_GROK_LIVE_TURN gate.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 5f178fc567 test(server): add env-gated Hermes ACP live probe
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 a9068978e9 feat(server): register Hermes as a built-in provider driver
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 6f9cd78787 fix(server): send Hermes model selection via session/set_model
The real hermes acp binary treats session/set_config_option (configId
"model") as a silent no-op — it returns {"configOptions": []} for both
valid and invalid values — so routing model selection through it never
actually changed the active model. Switch applyHermesAcpModelSelection
to the unstable session/set_model capability (runtime.setSessionModel),
matching how GrokAcpSupport already selects its models.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 3dc38031f1 feat(server): add Hermes text generation
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 564f916cdb feat(server): add Hermes ACP adapter
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 a1237d983a feat(server): add Hermes provider snapshot and probe
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 fc43823227 feat(server): add Hermes ACP spawn support
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:57 -04:00
raman325andClaude Opus 5 ce23e3bbe4 feat(server): restore Hermes enablement from provider history
Hermes needs to opt back in when session history shows it was used
before, matching the existing behavior for Cursor, Grok, and OpenCode.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 14:43:56 -04:00
mariaandmaria-rcks 9fdafdf114 feat(pull-requests): copy provider checkout commands (#9086)
Co-authored-by: maria-rcks <[email protected]>
2026-09-01 23:50:27 -04:00
Julius MarmingeandClaude Code f46a709ee4 feat(files): open markdown, HTML, and PDF files outside the workspace (#9140)
Co-authored-by: Claude Code <[email protected]>
2026-09-01 19:31:55 -07:00
Theo BrowneandClaude Fable 5.1 c37fd136ed test(server): measure shell, second client, and reconnect transfer (#9157)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-01 19:16:09 -07:00
b2f25d390a feat(desktop): update the desktop app on remote Macs from the Update button (#6554)
Use a prepare and commit handoff for remote desktop updates. Retry lost commits, require the prepared version after reconnect, and recover backends and windows when installation fails.

Built with GPT-5.6 Sol in Codex.

Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Adolanium <[email protected]>
2026-09-01 19:08:38 -07:00
a434677eca fix(grok): health check, model selection, and stop all work against the real CLI (#9154)
Co-authored-by: mavenskylab <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-01 18:48:19 -07:00
Theo BrowneandClaude Fable 5.1 083d4de5b0 fix(clients): stop repeating expanded commands (#9120)
Expanded command rows use a neutral Command label and keep the full command plus real output in the detail area. Claude Bash results now cross the wire as a bounded summary. Truncated Claude echoes and ACP echoes without a kind are dropped as synthetic.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-01 18:46:14 -07:00
Theo BrowneandClaude Fable 5.1 d0b19b32e0 fix(claude): preview images read from the workspace (#9119)
Classify Claude Read calls on image files as image_view and carry the full path through projection and both clients so the existing image renderer can load it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-01 18:26:41 -07:00
Theo Browne 716069f40f fix(server): keep attachments until the command commits (#7941) 2026-09-01 18:25:55 -07:00
Theo Browne 0e77fbd3d0 fix(server): prevent accidental service downgrades (#5302) 2026-09-01 18:25:52 -07:00
Ross Cawston 7e460f429b fix(server): bound orchestration replay payloads (#8992)
WebSocket reconnect catch-up only checked the number of missing events, then loaded and decoded the whole replay range before sending it. A handful of events with large tool payloads could allocate gigabytes and OOM the server.

Before replaying, run a SQL preflight that counts the events in the range and sums their serialized payload bytes with octet_length(). If the range is over the existing row limit or an 8 MiB byte budget, fall back to the fresh snapshot path. Applies to both thread and shell subscriptions.

Authored by @rcawston. Review, octet_length fix, and merge by Claude Fable 5.1 in Claude Code on behalf of @t3dotgg.
2026-09-01 18:07:56 -07:00
Theo BrowneandLucas Valbuena c2283ce146 perf: make streaming projection and activity appends incremental (#9152)
Takes over #6608 by @x1xhlol.

Server: thread.message-sent updates the projection row directly and folds latestUserMessageAt in as a running maximum instead of running refreshThreadShellSummary. Client: thread.activity-appended takes an O(1) append path for in-order, unseen activities on reducer-produced arrays, with a WeakMap id index, and falls back to filter and sort for out-of-order, re-delivered, context-window, and snapshot-loaded cases.

Reducer benchmark: 10,000 in-order appends went from 1,180 ms to 70 ms.

Change authored by Claude Fable 5.1 running in Claude Code, based on work by @x1xhlol.

Co-authored-by: Lucas Valbuena <[email protected]>
2026-09-01 18:07:26 -07:00
ea71a19d41 fix(claude): skills picked from the composer now run (#9128)
Co-authored-by: Rodrigo Brechard <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
2026-09-01 17:44:13 -07:00
Yukun Shan 9a7b1e21e5 perf(provider): bound persisted session lookups (#8909) 2026-09-01 17:43:42 -07:00
Theo BrowneandClaude Fable 5.1 08aad594f0 chore: delete dead code, unused deps, and duplicate helpers (#9129)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-01 17:37:09 -07:00
Theo Browne 04efa7907e feat(cli): open projects in the running desktop app (#8824) 2026-09-01 16:15:55 -07:00
Julius Marminge beae2147a9 fix(media): preview host files and stream videos across clients (#9023) 2026-09-01 16:05:15 -07:00
t3-code[bot] 60cef47ec9 chore(release): prepare v0.0.38 2026-09-01 22:14:49 +00:00
Julius Marminge 0354283683 feat(models): discover Claude models from remote manifest (#9084) 2026-09-01 13:53:46 -07:00
mic c17d02cff9 feat(claude): add Claude Fable 5.1 model (#9078) 2026-09-01 12:20:56 -07:00
Will SheldonandClaude Opus 5 643b21edaa fix(server): cache project favicon resolution (#9080)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-01 19:19:20 +00:00
mariaandmaria-rcks 2d156a83b9 feat(shortcuts): copy active thread reference (#8994)
Co-authored-by: maria-rcks <[email protected]>
2026-09-01 12:48:56 -04:00
Theo Browne e86604d337 perf(server): skip full-message reads while streaming (#9032) 2026-09-01 04:09:06 -07:00
Theo Browne 62d39bf00d fix(server): stop OpenCode child sessions (#9005) 2026-09-01 04:05:55 -07:00
Theo Browne f32f9a2f41 fix(server): settle threads server-side (#8600) 2026-09-01 03:24:24 -07:00
Adamulek123 7e4ce3bbb1 perf(server): cut chatty tool-update frames by 90% (#8368) 2026-09-01 03:11:41 -07:00
8f1ef8b9eb perf(server): scan only appended transcript bytes for usage summaries (#9024)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Theo Browne <[email protected]>
2026-09-01 02:59:16 -07:00
Theo Browne 0bfb6df34b perf(server): cut idle CPU use and stop provider event leaks (#8187) 2026-09-01 02:12:35 -07:00
Theo Browne a9ffb82796 perf(server): bound snapshot activity payload memory (#9000) 2026-09-01 01:25:24 -07:00
Theo Browne b17cc3d1bf perf(server): reduce frequency of full tool call output being loaded into memory from db (#8988) 2026-08-31 20:36:53 -07:00
Bilal BakrandJulius Marminge c78ae50a5a fix(server): isolate remote web session cookies (#8085)
Co-authored-by: Julius Marminge <[email protected]>
2026-08-31 20:07:42 -07:00
Yukun Shan 41adccc83e fix(server): allow long thread IDs in HTTP routes (#8898) 2026-08-31 16:38:19 -07:00
SimoneandSimone 6d15c5bbc3 fix(server): preserve usage cache outside walked roots (#8540)
Co-authored-by: Simone <[email protected]>
2026-08-31 18:59:39 -04:00
Julius MarmingeandJulius Marminge 31c1c5996f feat(mobile): add video playback with native iOS controls (#8919)
Co-authored-by: Julius Marminge <[email protected]>
2026-08-31 12:06:29 -07:00
Yukun Shan 2921050c69 fix(contracts): accept CLI event origins (#8905) 2026-08-31 10:21:36 -07:00
Aditya Garud f86c5e8c87 fix(server): skip IDE detection in Claude probes (#8634) 2026-08-31 09:38:52 -07:00