Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(opencode): remove duplicate --dir arg causing paths[1] crash

Gener8974a248fedc
diff --git a/src/cli/daemon/agent/opencode.ts b/src/cli/daemon/agent/opencode.ts
index af5749503..aeeff6b8b 100644
--- a/src/cli/daemon/agent/opencode.ts
+++ b/src/cli/daemon/agent/opencode.ts
@@ -17,9 +17,6 @@ export class OpenCodeBackend implements AgentBackend {
if (options.resumeSessionId) {
args.push("--session", options.resumeSessionId);
}
- if (options.cwd) {
- args.push("--dir", options.cwd);
- }
// User prompt as positional argument (no flag)
args.push(prompt);