fix(cli/run): set OPENCODE_CLIENT to 'run' to exclude question tool from registry

This commit is contained in:
YeonGyu-Kim
2026-03-20 16:12:58 +09:00
parent 436ce71dc8
commit 16cbc847ac
2 changed files with 37 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@ export async function waitForEventProcessorShutdown(
export async function run(options: RunOptions): Promise<number> {
process.env.OPENCODE_CLI_RUN_MODE = "true"
process.env.OPENCODE_CLIENT = "run"
const startTime = Date.now()
const {