fix(ralph-loop): skip idle continuation during background tasks
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -46,6 +46,7 @@ export function createRalphLoopHook(
|
||||
const getTranscriptPath = options?.getTranscriptPath ?? getDefaultTranscriptPath
|
||||
const apiTimeout = options?.apiTimeout ?? DEFAULT_API_TIMEOUT
|
||||
const checkSessionExists = options?.checkSessionExists
|
||||
const backgroundManager = options?.backgroundManager
|
||||
|
||||
const loopState = createLoopStateController({
|
||||
directory: ctx.directory,
|
||||
@@ -59,6 +60,7 @@ export function createRalphLoopHook(
|
||||
apiTimeoutMs: apiTimeout,
|
||||
getTranscriptPath,
|
||||
checkSessionExists,
|
||||
backgroundManager,
|
||||
sessionRecovery,
|
||||
loopState,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user