Commit Graph

177 Commits

Author SHA1 Message Date
Teknium 89f08dfdb6 Merge branch 'simp/r2-tools-b-cua2-capt' into simp/r2-tools-b-cua2 2026-09-02 21:51:31 -07:00
Teknium 26862482c5 Merge branch 'simp/r2-tools-b-cua2-sess' into simp/r2-tools-b-cua2 2026-09-02 21:51:30 -07:00
Teknium 303a8cafb0 refactor(computer_use): compact capture/input/backend — drop dead UIElement.center, section banners, reflow docstrings to 118 cols 2026-09-02 21:28:25 -07:00
Teknium 982f22fd56 refactor(computer_use): suppress-based bounds parsing; inline scale note into summary notes 2026-09-02 21:07:03 -07:00
Teknium e368f42a0f refactor(computer_use): table-lookup summarize default, inline listing lambda and app-guard walrus 2026-09-02 21:02:45 -07:00
Teknium a791dfbc63 refactor(computer_use): _stop_backend on_error hook replaces three try/except blocks; _install_backend owns the hook mirror 2026-09-02 20:58:47 -07:00
Teknium 29fb6e8ea9 refactor(computer_use): namedtuple _ActionSpec, walrus cache write, suppress-based vision analysis parse 2026-09-02 20:55:01 -07:00
Teknium 7390fa2929 refactor(computer_use): suppress-based bypass check, single denial payload, cache glob prune without branch 2026-09-02 20:45:36 -07:00
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 94b9b3860f refactor(computer_use): backend ABC — merge method docstrings into class contract, module-level time import 2026-09-02 20:29:02 -07:00
Teknium 2803e6c1ef refactor(computer_use): inline single-caller restore helper; compact session/parse docstrings and comments (WHY sentences kept) 2026-09-02 20:26:48 -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 a7c1ec6ecb refactor(computer_use): capture mixin disarm-on-failure contextmanager + shared MCP-empty->CLI re-fetch helper; table-driven list_apps/_match_windows_for_app 2026-09-02 20:24:06 -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 48c517a04f refactor(computer_use): input mixin target/pointer arg resolution via _target_args + _pointer_args 2026-09-02 20:12:24 -07:00
Teknium 8225c7110e refactor(computer_use): one _tool_envelope builder for MCP/CLI/fail-closed results; _int_or_none core; fold _cli_command + recreate/restart shapes 2026-09-02 20:11:36 -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