Skip to content

feat(providers): run opencode and configurable acp agents - #1452

Merged
nixuuu merged 4 commits into
feat/acp-v2-previewfrom
feat/broader-coding-agent-support
Nov 28, 2026
Merged

nixuuu merged 4 commits into
feat/acp-v2-previewfrom
feat/broader-coding-agent-support

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Canopy owners can run OpenCode, GitHub Copilot CLI and other local ACP programs in ordinary coding threads. Settings → Providers accepts a preset, a custom executable with literal arguments, or an explicitly selected version from the ACP Registry on an owned worker. Cursor, Mistral Vibe and Qwen Code also have presets.

The worker negotiates ACP v2 Preview or v1, discovers session model and effort options, relays Canopy tools over HTTP or stdio, and reopens the same native conversation after a restart when the CLI supports it. Permission requests use the thread's Ask first or Full access setting. OpenCode, Copilot, Mistral Vibe and Qwen Code each use their own permission controls. Other agents decide which actions request approval.

Placement, configuration and transport changes keep executable paths, session stores and scoped credentials associated with their owner and worker. Existing thread bindings protect their executable, argument list and session environment. ACP account and project defaults stay local, and cross-computer delegation from ACP requires an explicit destination agent. Older workers receive compatible configuration. The registry supports version-pinned binary archives, npm and uv packages with cancellation and atomic installation. Migration 0237 adds ACP profiles and scopes session IDs to each profile on its worker.

Verification

  • Real OpenCode 2.4.2 and GitHub Copilot CLI 1.0.117 on Linux x64 with a local model endpoint. Both denied and approved native writes, called a Canopy tool, resumed the original conversation after a restart, and stopped a running turn.
  • All five presets installed from the public registry and negotiated v1. Mistral Vibe 3.1.4 and Qwen Code 0.29.0 also denied native writes and accepted one-time approval after resume. Vibe model discovery preserved its configuration file. Cursor 2026.11.22 reported its login method and required authentication to create a session. The dual-version agent from the official ACP SDK 2.12.0 exercised v2 Preview.
  • The real gateway and worker exercised custom arguments, discovery, tool approval, protected secret requests and session recovery. Focused checks also covered registry installation and cancellation, ownership, worker config compatibility and linked computers, including distinct local profiles sharing a slug, explicit cross-computer selection, and private command overrides on overview streams.
  • Chromium at 375 and 1040 px exercised the provider form, installation via the BFF and a fixture gateway, exact argument editing, model selection and permissions. An isolated Android API 36 emulator loaded this worktree’s JS over a test RPC connection with TLS. It verified the OpenCode preset, registry selection, argument and environment round-trip, and both permission modes. Web, mobile, UI, gateway, worker, domain and integration typechecks ran locally. Tests of scoped provider instances, linked-family moves and the database schema and upgrade passed on PostgreSQL 17. The native CI jobs exercised ZIP extraction and ran an installed native executable and npm launcher on Windows x64, macOS arm64 and macOS x64. Live vendor CLI conversations ran on Linux with local model endpoints.

Copy audit (§8)

The form names the program and individual arguments. Search, Install and Add instance describe separate actions. ACP-specific permission text changed from the general statement about writes and commands to “Ask when the agent requests approval.” Search and install failures include a retry action and expandable details. Navigation, status, long names and responsive wrapping were checked.

Documentation covers setting up agents, version negotiation, registry distributions and the limits of each permission mode.

@nixuuu
nixuuu added this pull request to stack #1453 November 28, 2026 22:03
@nixuuu
nixuuu marked this pull request as ready for review November 28, 2026 22:22
@nixuuu
nixuuu merged commit bf69ab9 into dev Nov 28, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/broader-coding-agent-support branch November 28, 2026 22:23
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