fix: boulder continuation now respects /stop-continuation guard
Add isContinuationStopped check to atlas hook's session.idle handler so boulder continuation stops when user runs /stop-continuation. Previously, todo continuation and session recovery checked the guard, but boulder continuation did not — causing work to resume after stop. Fixes #1575
This commit is contained in:
+5
-1
@@ -335,7 +335,11 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
||||
);
|
||||
|
||||
const atlasHook = isHookEnabled("atlas")
|
||||
? safeCreateHook("atlas", () => createAtlasHook(ctx, { directory: ctx.directory, backgroundManager }), { enabled: safeHookEnabled })
|
||||
? safeCreateHook("atlas", () => createAtlasHook(ctx, {
|
||||
directory: ctx.directory,
|
||||
backgroundManager,
|
||||
isContinuationStopped: (sessionID: string) => stopContinuationGuard?.isStopped(sessionID) ?? false,
|
||||
}), { enabled: safeHookEnabled })
|
||||
: null;
|
||||
|
||||
initTaskToastManager(ctx.client);
|
||||
|
||||
Reference in New Issue
Block a user