Skip to content

Commit 1a20287

Browse files
committed
fix(cli): preserve session across REPL turns — stop resetting currentSessionID (#77)
1 parent 95e5e7f commit 1a20287

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎packages/opencode/src/cli/lite/index.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ async function handleCustomCommand(name: string, args: string) {
453453
write(`\n${fg.red}Error: ${msg}${style.reset}\n`)
454454
} finally {
455455
isOperationInProgress = false
456-
currentSessionID = null
457456
}
458457

459458
write("\n")
@@ -538,7 +537,6 @@ async function handleMessage(message: string) {
538537
write(`\n${fg.red}Error: ${msg}${style.reset}\n`)
539538
} finally {
540539
isOperationInProgress = false
541-
currentSessionID = null
542540
}
543541

544542
write("\n")

0 commit comments

Comments
 (0)