- Added bash.autoBackground.enabled and bash.autoBackground.thresholdMs settings with defaults for background job behavior. - Added auto-backgrounding support for long foreground bash commands with managed job state and timeout threshold. - Updated bash prompts, job-protocol messages, and tool activation checks to use async and auto-background support. - Added background bash completion integration with AsyncJobManager and end-to-end tests for short/long auto-background scenarios.
6 lines
231 B
TypeScript
6 lines
231 B
TypeScript
import type { Settings } from "../config/settings";
|
|
|
|
export function isBackgroundJobSupportEnabled(settings: Pick<Settings, "get">): boolean {
|
|
return settings.get("async.enabled") || settings.get("bash.autoBackground.enabled");
|
|
}
|