--cwd flag ignored in opencode acp command #8550

Open
opened 2026-02-16 18:10:15 -05:00 by yindo · 0 comments
Owner

Originally created by @NachoFLizaur on GitHub (Feb 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The opencode acp command has a --cwd option but it is ignored and the ACP server is uses the working directory.

Plugins

No response

OpenCode version

1.1.51

Steps to reproduce

  1. cd /tmp
  2. opencode acp --cwd /path/to/project
  3. ACP server uses /tmp instead of /path/to/project

Screenshot and/or share link

No response

Operating System

macOS 1.1.48

Terminal

Ghostty

Originally created by @NachoFLizaur on GitHub (Feb 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The `opencode acp` command has a `--cwd` option but it is ignored and the ACP server is uses the working directory. ### Plugins _No response_ ### OpenCode version 1.1.51 ### Steps to reproduce 1. `cd /tmp` 2. `opencode acp --cwd /path/to/project` 3. ACP server uses `/tmp` instead of `/path/to/project` ### Screenshot and/or share link _No response_ ### Operating System macOS 1.1.48 ### Terminal Ghostty
yindo added the bug label 2026-02-16 18:10:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8550