👾 Open Computer Use – Open-Source Alternative to Codex Computer Use
Swift accessibilityai-agentai-agentsclaude-codecodexcodex-computer-usecomputer-usecomputer-use-agentcross-platformcuadesktop-automationgemini-cligui-automationmacosmcpmodel-context-protocolopen-computer-useopen-computer-use-mcpopenai-codexopencode
[2026-04-22 14:03] | Task: Add sequence call inter-operation sleep
Execution Context
- Agent ID:
Codex - Base Model:
GPT-5 - Runtime:
Codex CLI
User Query
给
swift run OpenComputerUse call --calls-file examples/textedit-overlay-seq.json这类 sequence call 加一个固定间隔,做成可选参数,默认值 1 秒。
Changes Overview
Scope: OpenComputerUseKit CLI parsing, sequence execution, tests, docs
Key Actions:
- [Sequence sleep option]: Added a sequence-only
--sleep <seconds>CLI option foropen-computer-use call --calls .../--calls-file ..., with a default inter-operation delay of 1 second. - [Execution behavior]: Applied the delay only between successful neighboring sequence operations; single-tool calls still run without an extra wrapper sleep.
- [Docs and coverage]: Updated CLI help, README, architecture notes, and unit tests to lock in the default and custom-delay behavior.
Design Intent (Why)
The sequence runner already preserves in-process app snapshot state, but it previously fired each step immediately after the previous one returned. Adding a small default gap makes visual cursor demos and real-app multi-step probes easier to observe, while --sleep keeps the pacing override explicit instead of hard-coding one fixed rhythm forever.
Files Modified
packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseCLI.swiftpackages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseToolDispatcher.swiftpackages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swiftREADME.mdREADME.zh-CN.mddocs/ARCHITECTURE.mddocs/histories/2026-04/20260422-1403-sequence-call-inter-operation-sleep.md