Skip to content

feat(acp): add ACP client and external subagent providers (DSH 2.8) - #213

Merged
Patel230 merged 1 commit into
mainfrom
feat/dsh-harness-rfc-2.8-acp-client-subagent-providers
Aug 20, 2026
Merged

feat(acp): add ACP client and external subagent providers (DSH 2.8)#213
Patel230 merged 1 commit into
mainfrom
feat/dsh-harness-rfc-2.8-acp-client-subagent-providers

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

Port of DSH acp/ client and subagent/subagent-acp, subagent-claude-code, subagent-codex providers into Hawk.

Key Changes

  • acp: Implemented Client communicating via newline-delimited JSON-RPC 2.0 on stdio with initialize handshake, NewSession, Prompt, Cancel, and streamed notifications.
  • acp: Supported client-routed permissions via OnPermissionRequest callback conforming to ACP outcome schema.
  • acp: Process tree teardown and process group disposal across Unix and Windows.
  • multiagent: Added SubagentProvider interface and ProviderRegistry with capability guards (outputSchema, maxDepth, supportedPersonas).
  • multiagent: Added GenericACPProvider and default providers for acp, claude-code, and codex.
  • tests: Full test coverage for ACP client-server RPC, permission handling, capability rejections, and structured JSON output extraction.

Gated by gofmt, go vet, go test -race, make lint, and layer boundary guards.

Port of DSH acp client and subagent-acp, subagent-claude-code, subagent-codex providers.

- acp: Implemented JSON-RPC 2.0 stdio client with initialize handshake, session/new, session/prompt, session/cancel, and streamed update notifications.
- acp: Connected server-to-client permission requests via OnPermissionRequest callback matching ACP outcome schema.
- acp: Handled process group lifecycle and disposal across Unix and Windows.
- multiagent: Added SubagentProvider registry with capability guards (outputSchema, maxDepth, supportedPersonas).
- multiagent: Added built-in ACP providers for generic acp, claude-code, and codex.
- tests: Full test coverage for ACP client-server round-trip, permission routing, capability rejections, structured output parsing, and lifecycle disposal.
@Patel230
Patel230 merged commit 21f0548 into main Aug 20, 2026
26 checks passed
@Patel230
Patel230 deleted the feat/dsh-harness-rfc-2.8-acp-client-subagent-providers branch August 20, 2026 03:00
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