fix(core): support unlimited shell timeouts

This commit is contained in:
Dax Raad
2026-07-06 19:32:22 -04:00
parent 7668eb728d
commit 59790380de
11 changed files with 215 additions and 49 deletions
+1 -1
View File
@@ -539,7 +539,7 @@ const layer = Layer.effect(
if ((yield* execution.active).has(input.sessionID)) yield* execution.awaitIdle(input.sessionID)
const started = yield* Effect.gen(function* () {
const shell = yield* Shell.Service
return yield* shell.create({ command: input.command, cwd: session.location.directory })
return yield* shell.create({ command: input.command, cwd: session.location.directory, timeout: 0 })
}).pipe(Effect.provide(locations.get(session.location)))
yield* events.publish(
SessionEvent.Shell.Started,