hermes-agent/acp_adapter
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Austin Pickett 81f481b2db fix(agent): carry a custom provider's extra_body into TUI/Desktop agents and aux calls
TUI/Desktop `_make_agent` (plus `hermes -z` and ACP) built AIAgent without the
resolver's `request_overrides`, so a custom entry's `extra_body` only reached
the agent through the init-time re-derivation, which matches `custom:*` alone.
Auxiliary requests never read the entry's `extra_body` at all. A proxy that
requires a body field (`user`) therefore 400'd in the app and on smart
approval while `hermes chat` worked.

- Pass `runtime["request_overrides"]` at every remaining AIAgent build site
  (ACP only when no explicit base_url points at another endpoint).
- `_build_call_kwargs` layers the destination entry's `extra_body` under the
  task/caller body, using the agent's own matcher, so primary, retry and
  fallback requests each get their own endpoint's body and nothing leaks.

Covers holes 1 and 3 of #103738; hole 2 (matching bare/unprefixed names) is
#124290 and is untouched here.
2026-09-28 19:49:00 -04:00
..
__init__.py feat: restore ACP server implementation from PR #949 (#1254) 2026-03-14 00:09:05 -07:00
__main__.py feat: restore ACP server implementation from PR #949 (#1254) 2026-03-14 00:09:05 -07:00
auth.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
commands.py feat(telemetry): count ACP slash commands in shared metrics 2026-09-28 12:43:03 -07:00
content.py fix(pm): integrate audited runtime and lifecycle repairs 2026-09-05 22:36:48 -04:00
edit_approval.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
entry.py fix(acp): stamp ended_at on ACP sessions at adapter shutdown (#118216) 2026-09-26 21:00:46 -05:00
events.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
model_catalog.py fix: key the ACP named-provider swap on is_user_defined, not slug-name collision 2026-09-15 04:50:31 -07:00
permissions.py fix(acp): approval prompts wait approvals.timeout instead of a hardcoded 60 s 2026-09-19 02:36:56 -07:00
provenance.py refactor(acp): session/events/edit_approval/permissions/provenance/entry/auth — hoist lazy hermes_constants imports, fold branches, pack literals 2026-09-02 19:45:20 -07:00
server.py feat(telemetry): v5 engagement rollup, turns-before-switch, per-conversation sessions, relay source platform 2026-09-28 12:43:03 -07:00
session.py fix(agent): carry a custom provider's extra_body into TUI/Desktop agents and aux calls 2026-09-28 19:49:00 -04:00
tools.py fix(acp): honour the executor's is_error when closing a tool call 2026-09-18 10:33:54 -07:00