NousResearch/hermes-agent
ACP session capabilities missing from initialize response
Cluster 6633. Data as of
Nothing open on GitHub. Fix merged in #6985 on 10 Apr 2026. Check it covers your case.
The short answer
0open issues
0open PRs
3items grouped
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #6985. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #6985. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug was identified where ACP session load and resume capabilities were not being declared in the initialize response. Related fixes address declaring these capabilities correctly.
Open issues0
Open PRs0
Fixes on record
-
#6985 fix(acp): declare session load and resume capabilities in initialize response
files:
acp_adapter/server.py,tests/acp/test_server.pyShow the diff
-
acp_adapter/server.py@@ -36,6 +36,7 @@ SessionCapabilities, SessionForkCapabilities, SessionListCapabilities, + SessionResumeCapabilities, SessionInfo, TextContentBlock, UnstructuredCommandInput, @@ -245,9 +246,11 @@ async def initialize( protocol_version=acp.PROTOCOL_VERSION, agent_info=Implementation(name="hermes-agent", version=HERMES_VERSION), agent_capabilities=AgentCapabilities( + load_session=True, session_capabilities=SessionCapabilities( fork=SessionForkCapabilities(), list=SessionListCapabilities(), + resume=SessionResumeCapabilities(), ), ), auth_methods=auth_methods, -
tests/acp/test_server.py@@ -68,9 +68,22 @@ async def test_initialize_returns_capabilities(self, agent): resp = await agent.initialize(protocol_version=1) caps = resp.agent_capabilities assert isinstance(caps, AgentCapabilities) + assert caps.load_session is True assert caps.session_capabilities is not None assert caps.session_capabilities.fork is not None assert caps.session_capabilities.list is not None + assert caps.session_capabilities.resume is not None + + @pytest.mark.asyncio + async def test_initialize_capabilities_wire_format(self, agent): + """Verify the JSON wire format uses correct aliases so ACP clients see the right keys.""" + resp = await agent.initialize(protocol_version=1) + payload = resp.agent_capabilities.model_dump(by_alias=True, exclude_none=True) + assert payload["loadSession"] is True + session_caps = payload["sessionCapabilities"] + assert "fork" in session_caps + assert "list" in session_caps + assert "resume" in session_caps # ---------------------------------------------------------------------------
-
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#6970 fix(acp): declare session resume capability in initialize response · superseded by another PR →
#6985
Closed issues · 1
- Closed#6633[Bug]: ACP session load/resume capabilities not declared in initialize response
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #6985
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 10 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.