Commit Graph

3587 Commits

Author SHA1 Message Date
Teknium
06fb390212 fix(integration): restore stdin=DEVNULL on computer_use subprocess calls dropped in simplification 2026-09-02 17:48:26 -07:00
Teknium
857cf925b3 Merge branch 'simp/r2-tools-a' into simp/integration2 2026-09-02 17:27:36 -07:00
Teknium
d858b95945 Merge branch 'simp/r2a-mcp' into simp/r2-tools-a 2026-09-02 17:25:08 -07:00
Teknium
6cfed45fde Merge branch 'simp/r2a-mcp-oauth' into simp/r2a-mcp 2026-09-02 17:14:56 -07:00
Teknium
3bfb199bde Merge branch 'simp/r2a-mcp-transport' into simp/r2a-mcp 2026-09-02 17:14:55 -07:00
Teknium
493c3841ed refactor(mcp): handlers — fold utility on_failure into an inline lambda, single guard in reconnectable lookup (602 -> 598) 2026-09-02 17:07:42 -07:00
Teknium
caa29fb43a Merge branch 'simp/r2-tools-a' into simp/integration2
# Conflicts:
#	tests/test_managed_runtime_resolution.py
2026-09-02 17:07:24 -07:00
Teknium
5a8ffa5179 refactor(mcp): health — recycle reason via next(), change-list comprehension in _refresh_tools, docstrings compacted by hand (380 -> 316) 2026-09-02 17:07:08 -07:00
Teknium
607a5b711e refactor(mcp): errors — one _jsonrpc_matches for both code/marker classifiers, one _exc_children walk for connect-error rendering, docstrings compacted by hand (455 -> 384; differential fuzz 20k cases identical) 2026-09-02 17:05:28 -07:00
Teknium
38e0bbbc43 Merge branch 'simp/r2-tools-b-delegate' into simp/integration2 2026-09-02 17:05:27 -07:00
Teknium
2647a1da03 Merge branch 'simp/r2-tools-b-approval' into simp/integration2 2026-09-02 17:05:26 -07:00
Teknium
8f2d511228 Merge branch 'simp/r2-tools-b-termhub' into simp/integration2 2026-09-02 17:05:25 -07:00
Teknium
74bc9e9d6e Merge branch 'simp/r2a-mcp-transport' into simp/integration2 2026-09-02 17:05:24 -07:00
Teknium
6e1089a23c refactor(mcp): compact mcp_oauth_manager docstrings/comments by hand; flatten single-use call sites 2026-09-02 17:05:22 -07:00
Teknium
1b29d9fe81 Merge branch 'simp/r2-tools-b-cua' into simp/integration2 2026-09-02 17:05:18 -07:00
Teknium
fec2922d60 Merge branch 'simp/r2a-mcp-oauth' into simp/integration2 2026-09-02 17:05:17 -07:00
Teknium
75e19f3836 Merge branch 'simp/r2-cua-tool2' into simp/integration2 2026-09-02 17:05:15 -07:00
Teknium
fe6e4b5164 Merge branch 'simp/r2-cua-sess' into simp/integration2 2026-09-02 17:05:11 -07:00
Teknium
ee291dbbe2 Merge branch 'simp/r2-cua-misc' into simp/integration2 2026-09-02 17:05:10 -07:00
Teknium
6979b6a2f0 Merge branch 'simp/r2a-tts' into simp/integration2 2026-09-02 17:05:03 -07:00
Teknium
9f6d89eea1 Merge branch 'simp/r2a-stt' into simp/integration2 2026-09-02 17:05:03 -07:00
Teknium
b6b432f81e Merge branch 'simp/r2a-browser' into simp/r2-tools-a 2026-09-02 17:04:12 -07:00
Teknium
c66272e4d7 Merge branch 'simp/r2a-tts' into simp/r2-tools-a 2026-09-02 17:04:11 -07:00
Teknium
3da2ff88e3 refactor(delegate): pack re-import block; single blank line between top-level defs (AST-identical) 2026-09-02 17:03:55 -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
987bc82574 refactor(delegate): compact docstrings/comments by hand (every WHY kept); collapse orchestrator toolset branches 2026-09-02 17:03:05 -07:00
Teknium
36aefc2638 refactor(mcp): transport — one guarded-attempt helper for both protocol-negotiation fallbacks, kwargs tables for optional httpx args, docstrings compacted by hand (645 -> 511) 2026-09-02 17:02:34 -07:00
Teknium
98d1635421 refactor(mcp): compact mcp_oauth docstrings/comments by hand; fold model_dump JSON shape into _model_json, inline single-use CIMD-port note and SSH hint printer 2026-09-02 17:01:47 -07:00
Teknium
d18b136417 refactor(mcp): one fail-fast branch for URL validation + content-type preflight 2026-09-02 17:00:43 -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
e59090acee refactor(mcp): flatten _LockCookie.release nested try ladders (same best-effort semantics) 2026-09-02 16:59:27 -07:00
Teknium
016f31375d refactor(delegate): join wrapped logical lines that fit in 120 cols (AST-identical) 2026-09-02 16:59:26 -07:00
Teknium
a0f15d1f2a refactor(mcp): _running_loop helper for the loop-up check 2026-09-02 16:58:35 -07:00
Teknium
0a38a611eb refactor(mcp): handlers — one _strike helper for breaker-strike+tool_error tails, reconnectable-server lookup owns the loop check, docstrings compacted by hand (783 -> 602) 2026-09-02 16:57:52 -07:00
Teknium
3016bb9020 refactor(mcp): fold duplicate recycle check into _recycle_if_due; drop probe wrapper closure 2026-09-02 16:57:39 -07:00
Teknium
e204008f10 refactor(delegate): _knob() unifies config>env>default int/float knobs; timeout diagnostic sections -> _diag_sizes/_diag_threads + attr table; drop dead _handle_child_wait_failure re-import 2026-09-02 16:57:22 -07:00
Teknium
8c86804dc4 refactor(approval_detection): compact option tables; drop stale section banner in approval.py 2026-09-02 16:54:57 -07:00
Teknium
884c697291 refactor(delegate): split _finalize_child_results (memory/hooks/cost rollup), lift _create_isolated_worktree and _report_child_done, collapse dead worktree-attach import fallback 2026-09-02 16:54:15 -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
338da30a45 refactor(delegate): _resolve_child_runtime returns AIAgent kwargs (drop _ChildRuntime; routing-filter table); dispatch reuses _detach_child/_signal_child_stop; control actions -> _CONTROL_OUTCOMES table; attribution lookup dedupe 2026-09-02 16:50:57 -07:00
Teknium
6f38d64b7a refactor(approval): module docstring for the split, blank-line hygiene 2026-09-02 16:50:44 -07:00
Teknium
d43ad31c4d refactor(approval): table-drive interpreter families, fold home-prefix rewriters, compact re-export blocks, drop dead _SHELL_PUNCTUATION 2026-09-02 16:49:10 -07:00
Teknium
52419bda5d refactor(delegate): split delegate_task into _normalize_task_list/_coerce_task_schemas/_build_children/_execute_and_aggregate(_Batch); _build_child_agent -> _open_child_session_db/_construct_child_agent/_announce_child_spawn; _run_single_child -> _lease_child_credential/_await_child/_merge_late_steer 2026-09-02 16:46:39 -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
067b31bc8c refactor(tts): refresh module-layout docstring for new sibling modules 2026-09-02 16:44:14 -07:00
Teknium
6ebbb6c787 refactor(tts): share auxiliary-model tag rewrite between xAI and Gemini 2026-09-02 16:44:14 -07:00
Teknium
19997e9978 refactor(tts): lift chunk synthesis loop out of text_to_speech_tool 2026-09-02 16:44:14 -07:00
Teknium
93131b17a6 refactor(tts): drop re-export shims with no external consumers; siblings import from defining modules 2026-09-02 16:44:13 -07:00