Skip to content

feat(acp): add ox-acp frontend crate and ox acp subcommand - #982

Merged
hakula139 merged 1 commit into
mainfrom
feat/ox-acp
Dec 1, 2026
Merged

hakula139 merged 1 commit into
mainfrom
feat/ox-acp

Conversation

@hakula139

Copy link
Copy Markdown
Member

Summary

  • Add thin crates/ox-acp frontend crate depending only on ox-core (zero TUI dependencies) implementing an NDJSON JSON-RPC 2.0 ACP server over stdio (initialize, session/new, session/prompt, session/cancel, shutdown, and streaming session/update notifications) with a testable serve_stdio(reader, writer, factory) entrypoint.
  • Wire the ox acp subcommand in crates/ox/src/lib.rs reusing shared provider, working directory, hook, and plugin setup.
  • Add concise ACP protocol reference documentation in docs/reference/acp.md and link it from docs/README.md.

Test plan

  • nix develop -c run-hooks (all formatting, spelling, markdown, and Clippy hooks pass)
  • nix develop -c cargo llvm-cov --workspace --show-missing-lines (crates/ox-acp/src/lib.rs 90.60% line coverage, workspace total 94.23%)
  • nix develop -c cargo doc --no-deps
  • nix develop -c cargo deny check

Related

@hakula139 hakula139 added this to the v0.2.0 milestone Dec 1, 2026
@hakula139 hakula139 added enhancement New capability area: engine Touches the engine, its protocol, or the drivers that run it labels Dec 1, 2026
@hakula139 hakula139 self-assigned this Dec 1, 2026
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.61043% with 32 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/ox-acp/src/lib.rs 97.03% 20 Missing ⚠️
crates/ox/src/lib.rs 77.77% 12 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hakula139
hakula139 force-pushed the feat/ox-acp branch 2 times, most recently from 4843192 to 8f93fec Compare December 1, 2026 11:25
@hakula139
hakula139 merged commit fe556f8 into main Dec 1, 2026
7 checks passed
@hakula139
hakula139 deleted the feat/ox-acp branch December 1, 2026 11:40
@github-project-automation github-project-automation Bot moved this from Todo to Done in Oxide Code Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: engine Touches the engine, its protocol, or the drivers that run it enhancement New capability

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Serve ACP clients with ox acp

1 participant