Skip to content

feat(opencode): add backend server selection options for acp mode#12743

Open
georgeharker wants to merge 1 commit intoanomalyco:devfrom
georgeharker:add-acp-server
Open

feat(opencode): add backend server selection options for acp mode#12743
georgeharker wants to merge 1 commit intoanomalyco:devfrom
georgeharker:add-acp-server

Conversation

@georgeharker
Copy link

@georgeharker georgeharker commented Feb 8, 2026

What does this PR do?

Allows app connections to specify a shared server backend for open code. This means you can have one server process, multiple acp connections.

How did you verify your code works?

Started server with opencode serve --port 4097 connected two acp clients to it from separate neovim by specifying opencode app --connect http://localhost:4097 for the launch lines of the acp clients in CodeCompanion.

Fixes #12853

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2026

Hey! Your PR title add server options for acp mode doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

acp takes —connect parameter to connect to specified backend server
@georgeharker georgeharker marked this pull request as draft February 9, 2026 05:47
@georgeharker georgeharker changed the title add server options for acp mode feat(opencode) add backed server selection options for acp mode Feb 9, 2026
@georgeharker georgeharker changed the title feat(opencode) add backed server selection options for acp mode feat(opencode): add backend server selection options for acp mode Feb 9, 2026
@georgeharker georgeharker marked this pull request as ready for review February 9, 2026 05:50
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@georgeharker
Copy link
Author

georgeharker commented Feb 9, 2026

Added attached issue and renamed PR

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.

[FEATURE]: ACP can call a specified opencode server

1 participant