Commit Graph

200 Commits

Author SHA1 Message Date
Teknium de2c49b0d6 refactor(computer_use): compact section headers, wrapped literals, and one-shot walrus guards 2026-09-02 23:35:38 -07:00
Teknium 1fcb6f521d refactor(computer_use): atexit decorator, list-comprehension _format_elements, tighter signatures 2026-09-02 23:30:17 -07:00
Teknium b8f6a8693a refactor(computer_use): set_value/focus_app handlers as table lambdas 2026-09-02 23:23:59 -07:00
Teknium 06c0243180 refactor(computer_use): lambda writer for element spill; single prefix assignment in follow capture 2026-09-02 23:22:16 -07:00
Teknium 0bd806bd22 refactor(computer_use): drop cap aliases in capture builders, single-line noop __init__, compact section spacing 2026-09-02 23:21:06 -07:00
Teknium eebddc22e8 refactor(computer_use): drop dead re-raise branch in _stop_backend; compact _do_capture target forwarding 2026-09-02 23:19:21 -07:00
Teknium 775f1d77dc refactor(computer_use): inline _multimodal_capture, drop dead non-JSON fallback in follow capture, _xy as kwargs 2026-09-02 23:17:04 -07:00
Teknium b651b77af5 refactor(computer_use): inline _view into its two builders; fold constant comments and _VERDICT_FIELDS 2026-09-02 23:12:47 -07:00
Teknium 230524b5d1 refactor(computer_use): _NoopBackend capture/focus_app via _noop_stub result factory 2026-09-02 23:10:01 -07:00
Teknium b569633449 refactor(computer_use): fold _configured_permission_mode, _listing, _input into callers; merge capture MIME/ext helpers 2026-09-02 23:08:33 -07:00
Teknium c890cab0d5 Merge branch 'simp/r2-tools-b-cua2-drv' into simp/r2-tools-b-cua2 2026-09-02 21:51:32 -07:00
Teknium 298304fe58 Merge branch 'simp/r2-tools-b-cua2-doc' into simp/r2-tools-b-cua2 2026-09-02 21:51:31 -07:00
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 fa0ff15614 refactor(computer_use): final cua backend/driver/daemon folds — inline discovery reasons, contextlib suppress, one-line probes; strings frozen 2026-09-02 21:47:13 -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 22def3f4a9 refactor(computer_use): contextlib rollback/suppress in cua backend + daemon; _json_object helper; daemon startup-failure helper; tighten prose 2026-09-02 21:02:05 -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 e5f3927b04 refactor(computer_use): compact doctor row/overall helpers 2026-09-02 20:54:07 -07:00
Teknium a11b6bae91 refactor(computer_use): fold doctor probe assignments and vision_routing header 2026-09-02 20:47:51 -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 95b0ae9121 refactor(computer_use): compact cua_backend/driver/daemon docstrings, banners and imports; fold contract-reason logic 2026-09-02 20:37:04 -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 724522092e refactor(computer_use): densify doctor/permissions/vision_routing docstrings and signatures 2026-09-02 20:35:33 -07:00
Teknium 8793823305 refactor(computer_use): drop permissions resolver wrapper, fold doctor row helpers, tighten docstrings 2026-09-02 20:30:34 -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 0f7c4f1ce6 refactor(computer_use): inline doctor check renderer, compact docstrings (all WHYs kept) 2026-09-02 20:27:09 -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 ea7e75f65a refactor(computer_use): unify cua quiet-subprocess probes via _run_quiet; table-drive discovery reasons; trim re-imports, contract gate, daemon teardown 2026-09-02 20:25:17 -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 3bc55cb2c6 refactor(computer_use): flatten vision_routing lookup + permissions doctor/mac probes 2026-09-02 20:16:27 -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 b9e5bb362a refactor(computer_use): doctor fallback checks driven by _FALLBACK_PROBES table; one _cli_text core for CLI probes 2026-09-02 20:10:24 -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