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]>
`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
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
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
- 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
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
Adds a Hermes row to the install guide's Providers table and notes it's
off by default and experimental, consistent with the other opt-in
providers already documented there.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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]>
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]>
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]>
Mirrors GrokSettings exactly: enabled off by default, binaryPath
falling back to "hermes", and a hidden customModels list. Wires
HermesSettings/HermesSettingsPatch into ServerSettings and
ServerSettingsPatch alongside the other legacy per-driver settings.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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]>
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]>
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]>
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.
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]>
Six repeat contributors remained unvouched. Add their approved accounts to the trust list:
- `github:ipanasenko`
- `github:nateEc`
- `github:maxwellyoung`
- `github:tsouth89`
- `github:0x4bs3nt`
- `github:Adamulek123`
This change does not modify runtime or workflow logic.
Made by GPT-5.6 Sol in the Codex harness.