Skip to content

docs: say where to find an agent's ACP server - #1898

Merged
yansfil merged 2 commits into
mainfrom
docs/acp-registry-vendor-fact
Oct 30, 2026
Merged

yansfil merged 2 commits into
mainfrom
docs/acp-registry-vendor-fact

Conversation

@yansfil

@yansfil yansfil commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

에이전트를 새로 붙일 때 그 에이전트의 ACP 서버를 어디서 찾는지 문서에 적었습니다.
docs/agent-hooks.md에 ACP servers 절을 새로 두었습니다.
찾는 곳(zed.dev/acp, 기계가 읽는 레지스트리 JSON)과, 지원하는 일곱 에이전트 각각의 ACP 서버를 적었습니다.
Adding an agent 2단계(Vendor facts)에서 그 절을 가리킵니다.
Hide는 ACP로 에이전트를 몰지 않습니다. ACP 서버는 그 에이전트 대화 모양의 참고서라는 점도 함께 적었습니다.

Review

  • 판단해 주세요: 시점이 박힌 표(2026-10-30 측정)를 계약 문서에 두는 게 맞는지. 버전이 오르면 낡을 수 있습니다.
  • 판단해 주세요: session/load가 세션 파일에 한 줄을 쓴다는 측정 사실을 이 절에 두었습니다.

Evidence

  • 확인한 것: 레지스트리 JSON에서 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으로 원래 파일과 같은지 확인했습니다.
  • 확인한 것: 같은 작업을 시킨 Pi 세션을 pi-acp 0.0.34로 다시 불러오니, 도구 호출이 이름(bash, read, edit)만 왔습니다.
  • 확인한 것: python3 -m unittest scripts/tests/test_agent_journey_contract.py 통과, scripts/check-no-workstation-identity.sh 통과.
  • 확인한 것: Antigravity ACP 서버 1.4.5(sha256 확인)로 agy CLI 세션을 불러오니 Session not found로 거절했고, ~/.gemini/antigravity-acp/conversations/<id>.db를 찾았습니다. 새 세션은 Authentication required로 거절했습니다.
  • 확인한 것: Grok 1.0.67의 grok agent stdio로 세션을 불러오니 메시지, 도구 호출, 계획(plan) 업데이트가 나왔습니다.
  • 확인하지 못한 것: Antigravity ACP 서버 쪽 로그인은 하지 않았습니다. 그래서 그 서버가 내는 대화 모양은 아직 못 봤습니다.

@yansfil
yansfil merged commit 3ebc3ee into main Oct 30, 2026
39 checks passed
@yansfil
yansfil deleted the docs/acp-registry-vendor-fact branch October 30, 2026 14:02
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant