fix: ensure ask question tool isn't included when using acp (#11379)

This commit is contained in:
Aiden Cline
2026-01-30 17:32:51 -06:00
committed by GitHub
parent e834a2e6c9
commit 1a6461e8bc
2 changed files with 13 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ export const AcpCommand = cmd({
})
},
handler: async (args) => {
process.env.OPENCODE_CLIENT = "acp"
await bootstrap(process.cwd(), async () => {
const opts = await resolveNetworkOptions(args)
const server = Server.listen(opts)