Repository navigation
docs: say where to find an agent's ACP server - #1898
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 30, 2026
Related: #1898 (adds the `ACP servers` section the new Adding an agent step links to), with-hide/hide-private#379 ## Summary Hide could not yet draw an agent's conversation as one thread: each agent keeps its own record format, and nothing turned them into one shape. Now `hide-session` reads the session of every supported agent (Claude Code, Codex, OpenCode 1.18 and 2.0, Pi, omp, Grok, Antigravity) as ACP session updates: messages, thinking, tool calls with input, diffs, output and images, and plans. It reads the agent's own files and writes nothing; agents still run in Herdr panes, and nothing in the app serves a thread yet (that is the Desk work that follows). Each agent's declaration states whether its thread is read, and a sample of the same task per agent proves each converter, so a new agent cannot ship without one. ``` cargo run -p hide-session --example thread -- <home> <agent kind> <session id> <cwd> [<session file>] ``` ## Review - **판단해 주세요**: Antigravity results have no call id, so they pair by order within a turn; a count mismatch leaves the turn's calls without results (with-hide/hide-private#379). - **판단해 주세요**: Cursor is declared unsupported (retired); its records stay readable only for search and Memory. - **조심해서 볼 파일**: `hide-session/src/thread/build.rs` - one builder all converters share: caps, `_meta.hide` marks, same-id refinement, diffs kept ahead of output because an ACP update replaces a call's content. - **조심해서 볼 파일**: `hide-session/src/thread/mod.rs` - page reading newest first, 4 MiB window, cursor refused on a replaced file, named refusals. - **조심해서 볼 파일**: `hide-agent-adapter/src/lib.rs`, `declarations.rs` - new `thread` capability on every row. - **조심해서 볼 파일**: `Cargo.lock`, `workspace-hack/Cargo.toml` - new dependency `agent-client-protocol-schema =1.14.0`, default features off; `merge-order` names #1458 as touching the same files. - **비용 검토**: no resident or high-frequency path; nothing calls the reader outside tests and the example. ## Evidence - **확인한 것**: each agent's sample is a real recorded session of the same task (read an image, write a file, edit a file, run a command, keep a plan), sanitized of paths and names; each reads to every part. - **확인한 것**: `cargo nextest` over hide-session, hide-agent-adapter, hide-agent-hooks and hide-kit: 1017 passed; workspace clippy, fmt and hakari clean. - **확인한 것**: five planted defects each fail a named test (a converter dropping images or a diff, an absence declared for a shown part, a declared agent with no converter, Antigravity results unpaired). - **확인한 것**: a read leaves the session file's bytes and modified time unchanged for every sample; paging, the line cap, a stale cursor, unreadable records and a path outside the session root each refuse by name. - **확인하지 못한 것**: Windows and Linux runs are left to this PR's CI lanes; no local run there. - **확인하지 못한 것**: Codex's legacy history mode has no recorded sample; it is tested with records built from `codex-rs/protocol` at rust-v0.155.1. - **확인하지 못한 것**: Antigravity pairing for failed, cancelled or refused calls is unmeasured (with-hide/hide-private#379). <details><summary>Verification record</summary> PRD session-thread-acp (local), B1-B18. Head f746f37 on main e7e62b2. </details>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
에이전트를 새로 붙일 때 그 에이전트의 ACP 서버를 어디서 찾는지 문서에 적었습니다.
docs/agent-hooks.md에ACP servers절을 새로 두었습니다.찾는 곳(zed.dev/acp, 기계가 읽는 레지스트리 JSON)과, 지원하는 일곱 에이전트 각각의 ACP 서버를 적었습니다.
Adding an agent2단계(Vendor facts)에서 그 절을 가리킵니다.Hide는 ACP로 에이전트를 몰지 않습니다. ACP 서버는 그 에이전트 대화 모양의 참고서라는 점도 함께 적었습니다.
Review
session/load가 세션 파일에 한 줄을 쓴다는 측정 사실을 이 절에 두었습니다.Evidence
claude-acp,codex-acp,opencode,opencode-v2,pi-acp,grok-build,antigravity-acp항목과 배포 방식을 읽었습니다. omp는 레지스트리에 없고omp acp --help로 확인했습니다. Grok은 설치된 1.0.67에서grok agent stdio를 확인했습니다.session/load를 해 보니 claude-agent-acp 0.97.0은cost-state한 줄, codex-acp 2.3.0은thread_settings_applied한 줄을 세션 파일 끝에 붙였습니다. 붙은 줄을 지우고 sha1으로 원래 파일과 같은지 확인했습니다.bash,read,edit)만 왔습니다.python3 -m unittest scripts/tests/test_agent_journey_contract.py통과,scripts/check-no-workstation-identity.sh통과.Session not found로 거절했고,~/.gemini/antigravity-acp/conversations/<id>.db를 찾았습니다. 새 세션은Authentication required로 거절했습니다.grok agent stdio로 세션을 불러오니 메시지, 도구 호출, 계획(plan) 업데이트가 나왔습니다.