Skip to content

Add OpenAI computer-use mode with Responses, Decisions, and API-key settings - #1

Draft
Ambassators wants to merge 1 commit into
mainfrom
feat/decisions-computer-use
Draft

Ambassators wants to merge 1 commit into
mainfrom
feat/decisions-computer-use

Conversation

@Ambassators

Copy link
Copy Markdown
Owner

Adds an optional OpenAI computer-use mode for approved app sessions. Users enter their API key in local Settings, choose models and a step limit, then start a run from the UI or computer_api_run over MCP. Responses proposes a structured action and Decisions evaluates it; Decisions itself only returns classification/scoring answers.

The loop requires local consent to send screenshots and app text to OpenAI, reviews each action, reobserves before input, and executes each approved action once. It supports cancellation, confidence/refusal handoffs, retry keys, connection/grant isolation, and step/time limits. Existing macOS Codex app-server and Windows native session controls supply capture/input. The key is write-only, saved separately with restricted Unix permissions, and omitted from UI state, MCP results and activity logs; storage is plaintext, not OS-keychain encrypted.

Validation: npm test — 122 passed, 5 platform-specific skips, 0 failures. npm run check — 60/60 JavaScript files passed. git diff --check passed. Tests use mocked OpenAI/desktop responses and real local HTTP authentication routes. Browser verification was blocked by a missing Chromium executable and failed browser download. Live API access, model behavior, and desktop input remain unverified without a user API key and macOS/Windows environment.

Setup, outcomes, limits, privacy and official API references are documented in docs/OPENAI_COMPUTER_USE.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant