mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-15 23:01:34 +00:00
fix: harden computer tool helper
- remove the unimplemented accessibility observe mode from the public contract - refuse unmatched app_open requests instead of shelling out - add direct helper tests for both review findings Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
e1bba1c1a5
commit
a4250bad30
2 changed files with 65 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ const computerActions = [
|
|||
"clipboard_write",
|
||||
] as const;
|
||||
|
||||
const computerObservationModes = ["hybrid", "ocr", "accessibility"] as const;
|
||||
const computerObservationModes = ["hybrid", "ocr"] as const;
|
||||
|
||||
const DEFAULT_COMPUTER_COMMAND =
|
||||
process.env.COMPANION_AGENT_COMPUTER_COMMAND || "agent-computer";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue