feat: screen intelligence pipeline + CLI + keep_screenshots config (#339)

* feat: add keep_screenshots functionality to Screen Intelligence settings

- Introduced a new `keep_screenshots` option in the Screen Intelligence settings, allowing users to save captured screenshots to the workspace instead of deleting them after processing.
- Updated relevant components and tests to reflect this new feature, ensuring consistent behavior across the application.
- Enhanced the user interface to include a checkbox for the `keep_screenshots` setting, improving user experience and configurability.

* feat: add `openhuman screen-intelligence` CLI for standalone testing

Adds a dedicated CLI (mirroring `openhuman skills`) to run the screen
intelligence capture + vision pipeline without the full desktop app.

Subcommands: run, status, capture, start, stop.
Makes save_screenshot_to_disk public so the CLI capture --keep flag works.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: add keep_screenshots to ScreenIntelligencePanel test assertion

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Steven Enamakel
2026-04-05 22:17:10 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 8757bb9f15
commit bb1f2c3c8d
14 changed files with 637 additions and 0 deletions
+2
View File
@@ -793,6 +793,7 @@ export interface AccessibilityConfig {
session_ttl_secs: number;
panic_stop_hotkey: string;
autocomplete_enabled: boolean;
keep_screenshots: boolean;
allowlist: string[];
denylist: string[];
}
@@ -1039,6 +1040,7 @@ export interface ScreenIntelligenceSettingsUpdate {
baseline_fps?: number | null;
vision_enabled?: boolean | null;
autocomplete_enabled?: boolean | null;
keep_screenshots?: boolean | null;
allowlist?: string[] | null;
denylist?: string[] | null;
}