Teknium
74dccc1eaa
refactor(computer_use): _view namespace builder replaces _CaptureView dataclass; suppress-based config readers; exact-target dict in follow capture
2026-09-02 20:41:54 -07:00
Teknium
05fd050547
refactor(computer_use): inline b64-dimension and vision-analysis helpers; generic _noop_stub covers all recording methods
2026-09-02 20:35:48 -07:00
Teknium
5d3f838606
refactor(computer_use): fold bypass warning into _cua_permission_mode; tighten reject/approval/summary helpers
2026-09-02 20:30:27 -07:00
Teknium
e0e2f26347
refactor(computer_use): fold bounds divergence into _bounds_hints, total as _CaptureView property, tighter payload/summary builders
2026-09-02 20:24:20 -07:00
Teknium
e04fa94299
refactor(computer_use): one _write_cache_file helper for spill/screenshot; _NoopBackend input stubs from a factory
2026-09-02 20:17:44 -07:00
Teknium
198eede489
refactor(computer_use): single _ACTIONS spec table replaces destructive/click/summary/simple/input tables
2026-09-02 20:13:15 -07:00
Teknium
440200a7e4
Merge branch 'simp/r2-cua-tool2' into simp/r2-tools-b-cua
2026-09-02 17:12:01 -07:00
Teknium
0b60cceb0d
refactor(computer_use): wrap wide lines, fold approval verdict branches and drag arg parsing (898->897 LOC)
2026-09-02 17:10:39 -07:00
Teknium
741886e576
refactor(computer_use): dict-literal action payload/escalation, single capture call in follow-up, drop unused noop state (912->898 LOC)
2026-09-02 17:09:06 -07:00
Teknium
770ad1f28d
refactor(computer_use): single staged try in aux-vision routing, lambda summaries, tighter docstrings (929->912 LOC)
2026-09-02 17:06:42 -07:00
Teknium
0223eeca66
refactor(computer_use): walrus-fold guard checks, wrap wide lines (931->929 LOC)
2026-09-02 17:03:36 -07:00
Teknium
21372a16b2
refactor(computer_use): compact response helpers, NoopBackend recorder, docstrings/comments (976->931 LOC)
2026-09-02 17:00:40 -07:00
Teknium
015639a6d7
refactor(computer_use): compact capture mixin (name helper, flat signatures/log calls)
2026-09-02 16:53:14 -07:00
Teknium
18fa584366
refactor(computer_use): _CaptureView shares capture-derived facts across response branches; _detach_locked, _bounds_hints, _best_effort_write dedupe (997->976 LOC)
2026-09-02 16:52:47 -07:00
Teknium
2a9e16fded
refactor(computer_use): compact cua_backend re-export imports (AST-identical)
2026-09-02 16:46:34 -07:00
Teknium
a61298a21c
refactor(computer_use): doctor — shared structured/first-line helpers, unified version message
2026-09-02 16:45:39 -07:00
Teknium
8f877d40f9
refactor(computer_use): single-blank layout between top-level defs (AST-identical)
2026-09-02 16:35:33 -07:00
Teknium
343269e125
Merge branch 'simp/r2-cua-sess' into simp/r2-tools-b-cua
2026-09-02 16:32:08 -07:00
Teknium
00958829bb
refactor(computer_use): collapse embedded daemon branch/field boilerplate
2026-09-02 16:28:40 -07:00
Teknium
7c144b8ad8
refactor(computer_use): extract _wait_or_kill and _socket_ready from the embedded daemon; compact prose
2026-09-02 16:26:07 -07:00
Teknium
49cef0bae3
refactor(computer_use): unify cua parse image sniff with backend.image_dimensions_from_bytes; inline _first_nonempty_list; compact prose
2026-09-02 16:23:58 -07:00
Teknium
c3d789893f
refactor(computer_use): compact cua_backend docstrings/comments (WHYs preserved)
2026-09-02 16:18:47 -07:00
Teknium
3fefdd879b
refactor(computer_use): collapse redundant locals and branches in cua_backend_session
2026-09-02 16:18:32 -07:00
Teknium
d2add66648
refactor(computer_use): tool.py — verdict-field table, payload merge, stub/record cleanups
2026-09-02 16:16:54 -07:00
Teknium
2086987cdc
refactor(computer_use): route unknown-outcome results directly through _outcome_unknown
2026-09-02 16:16:30 -07:00
Teknium
9cf2c364ab
refactor(computer_use): _recreate_session helper for the two restart+restore paths
2026-09-02 16:14:11 -07:00
Teknium
04403a5632
refactor(computer_use): compact schema.py literal (value byte-identical; verified via tool-schema dump)
2026-09-02 16:12:51 -07:00
Teknium
66ecaa31e7
refactor(computer_use): dedupe capability-state reset, tighten CLI result and error-text helpers
2026-09-02 16:12:02 -07:00
Teknium
67ac6cc619
refactor(computer_use): table-drive unknown-outcome messages; hoist _tool_field helper
2026-09-02 16:09:13 -07:00
Teknium
a42c78bd2e
Merge branch 'simp/r2-cua-misc' into simp/r2-tools-b-cua
2026-09-02 16:08:20 -07:00
Teknium
a739007d77
Merge branch 'simp/r2-cua-tool' into simp/r2-tools-b-cua
2026-09-02 16:08:17 -07:00
Teknium
c43eb6a8d5
refactor(computer_use): shared driver-JSON probe + flattened MCP invocation resolution
2026-09-02 16:07:50 -07:00
Teknium
eb837d2e36
refactor(computer_use): unify session redeclare path, inline single-use session helpers
2026-09-02 16:07:05 -07:00
Teknium
5629d0fe3d
refactor(computer_use): compact cua_backend_session prose and multi-line expressions
2026-09-02 16:04:11 -07:00
Teknium
38ef892613
refactor(computer_use): split _CuaDriverSession CLI fallback into _cli_command/_cli_run_json/_cli_result
2026-09-02 16:01:25 -07:00
Teknium
7e939af627
refactor(computer_use): compact permissions/vision_routing/backend/__init__ docstrings and spacing
2026-09-02 15:54:54 -07:00
Teknium
337267f00e
refactor(computer_use): compact cua_backend origin (best-effort helper, trimmed re-exports)
2026-09-02 15:54:29 -07:00
Teknium
d4b59e044c
refactor(computer_use): tool.py — nullcontext in _stop_backend
2026-09-02 15:54:13 -07:00
Teknium
6417d5dfbc
refactor(computer_use): doctor — inline fallback seam into run_doctor, shared CLI output helper
2026-09-02 15:51:02 -07:00
Teknium
1d676837e0
refactor(computer_use): tool.py — reflow long literals, tighten signatures
2026-09-02 15:50:49 -07:00
Teknium
b083383770
refactor(computer_use): dedupe capture/input mixins (shared CLI re-fetch, refusal + window helpers)
2026-09-02 15:48:22 -07:00
Teknium
a1314db032
refactor(computer_use): tool.py — single-blank layout, **delivery kwargs for input handlers, staged try/except merge
2026-09-02 15:47:52 -07:00
Teknium
04de344f41
refactor(computer_use): compact backend/permissions/vision_routing/__init__ docs; tighten doctor helpers
2026-09-02 15:45:55 -07:00
Teknium
e3b79addc6
refactor(computer_use): tool.py — compact comments/docstrings, hoist vision prompt, tighten layout
2026-09-02 15:43:11 -07:00
Teknium
0360b71926
refactor(computer_use): split CuaDriverBackend into capture/input mixins and a driver-resolution module
2026-09-02 15:42:36 -07:00
Teknium
80affc7ee3
refactor(computer_use): doctor — reuse permissions._child_env, split fallback/report rendering into helpers
2026-09-02 15:37:58 -07:00
Teknium
cf9f454cdc
refactor(computer_use): tool.py — _reject_unsafe, _pop_session_locked, _cache_file, summary/envelope helpers, dispatch table for _summarize_action
2026-09-02 15:37:47 -07:00
Teknium
b6a3d3f440
refactor(tools): restore stdin=DEVNULL on subprocess probes dropped during compaction
...
voice_mode WSL playback probe, subagent_worktree._run_git, cua_backend
loginctl/xprop probes lost their explicit stdin= (and one line-wrapped past
the encoding= same-line rule); lazy_deps._run carries it via _SUBPROCESS_KW
so mark it for the guard. Fixes tests/tools/test_subprocess_stdin_guard.py
and tests/scripts/test_footgun_subprocess_encoding.py (green on base).
2026-09-02 14:45:42 -07:00
Teknium
33ae442e94
refactor(tools/computer_use): split cua_backend into daemon/actions/... siblings; dispatch tables; compact doctor/tool
2026-09-02 14:45:15 -07:00
Zane Chee
b2e24b986f
fix(computer-use): stop launching retired browser-grant runtimes
2026-08-29 18:35:17 -07:00