fix(cli): avoid AppRuntime re-entry for network options (#26052)

This commit is contained in:
Kit Langton
2026-05-06 11:02:08 -04:00
committed by GitHub
parent 889f979c0b
commit 63a175b50d
4 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ export const AcpCommand = effectCmd({
},
handler: Effect.fn("Cli.acp")(function* (args) {
process.env.OPENCODE_CLIENT = "acp"
const opts = yield* Effect.promise(() => resolveNetworkOptions(args))
const opts = yield* resolveNetworkOptions(args)
const server = yield* Effect.promise(() => Server.listen(opts))
const sdk = createOpencodeClient({