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
0223eeca66
refactor(computer_use): walrus-fold guard checks, wrap wide lines (931->929 LOC)
2026-09-02 17:03:36 -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
a0f15d1f2a
refactor(mcp): _running_loop helper for the loop-up check
2026-09-02 16:58:35 -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
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
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
Teknium
fe25c59281
refactor(tts): plugin-provider layer into tts_tool_plugins with one lookup helper
2026-09-02 16:44:13 -07:00
Teknium
caf37e23d4
refactor(tts): importer factory, requirements table, caps to delivery, legacy strip to text_normalize, single-chunk dedupe
2026-09-02 16:44:13 -07:00
Teknium
ef9f860284
refactor(tts): extract OpenAI/DeepInfra backend and lifecycle leases into sibling modules
2026-09-02 16:44:12 -07:00
Teknium
d913175067
refactor(tts): move command-provider config layer into tts_command_provider
...
Completes the half-done move snapshotted by the parent (wip commit 283f63b):
the tts.providers.<name> config layer (_get_named_provider_config,
_resolve_command_provider_config, _generate_command_tts, ...) now lives in
tools/tts_command_provider.py; tts_tool re-imports the historical names.
2026-09-02 16:44:05 -07:00
Teknium
d507b71e7c
Merge branch 'simp/r2a-mcp-oauth' into simp/r2a-mcp
2026-09-02 16:41:11 -07:00
Teknium
40e4338d27
Merge branch 'simp/r2a-mcp-transport' into simp/r2a-mcp
2026-09-02 16:41:11 -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
1623697cb7
refactor(mcp): compact session-expired marker table
2026-09-02 16:34:23 -07:00
Teknium
546bb4eefc
refactor(mcp): repack wrapped message literals (AST-identical)
2026-09-02 16:33:18 -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
2c389b5a2f
refactor(mcp): compact mcp_oauth listener, cached-registration lookups and stderr messages by hand
2026-09-02 16:31:39 -07:00
Teknium
2bebe0ba9b
refactor(mcp): tighten section headers in mcp_oauth / mcp_oauth_manager
2026-09-02 16:30:18 -07:00
Teknium
304118797b
refactor(mcp): join short multi-line statements across the transport/handlers subset (AST-identical)
2026-09-02 16:29:53 -07:00
Teknium
00958829bb
refactor(computer_use): collapse embedded daemon branch/field boilerplate
2026-09-02 16:28:40 -07:00
Teknium
41f873da6e
refactor(mcp): HermesProviderMixin reuses HermesTokenStorage._coerce_secret_auth_method for the in-memory client-secret coercion
2026-09-02 16:28:35 -07:00
Teknium
069338f7bb
refactor(mcp): compact mcp_oauth_manager docstrings and metadata prefetch loop by hand
2026-09-02 16:27:29 -07:00
Teknium
7916d8e41c
refactor(mcp): utility handlers become (rpc, render) pairs on one factory; join short multi-line statements
2026-09-02 16:27:05 -07:00
Teknium
0437336b7d
refactor(mcp): contextlib.suppress for swallowed-error ladders in mcp_oauth storage/json helpers
2026-09-02 16:26:18 -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
b2d1d4cc1f
refactor(mcp): compact mcp_oauth_provider token-request stamping and dashboard flow dataclass
...
- _stamp_token_user_agent -> _prepare_token_request (no external refs)
- DashboardOAuthFlow event fields via one _event_field() factory
2026-09-02 16:24:53 -07:00
Teknium
3507382469
refactor(mcp): health — one recycle-deadline table, shared owned-deregister helper, module-level stdio liveness probe
2026-09-02 16:24:16 -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
088eda22ae
refactor(mcp): compact mcp_oauth module docstring, helpers and CIMD constants by hand
...
- config-key reference folded into the module docstring (all WHY kept)
- _park_reserved_socket / _pick_cimd_port / _is_valid_cimd_url / _can_open_browser /
_resolve_redirect_uri / token_request_user_agent tightened, same results
- _maybe_preregister_client optional keys via dict unpacking
2026-09-02 16:23:14 -07:00
Teknium
0048a5bc80
refactor(mcp): handlers — fold structuredContent cap + stdio-retry error tail into helpers, _pick for attr-picking entry builders
2026-09-02 16:21:00 -07:00
Teknium
b97e5d96db
refactor(mcp): compact mcp_oauth SDK loader, callback handler, CIMD eligibility and legacy provider class
...
- _ensure_sdk_loaded binds SDK classes by name from the two auth modules
- _maybe_use_cimd if-ladder -> one ineligibility predicate (order and
short-circuit preserved, comments kept)
- SSH hint bodies -> module templates; browser-open notes -> one print
- _get_hermes_oauth_provider_class builds the class via type() (same name,
qualname, module, bases, _hermes_logger)
2026-09-02 16:20:30 -07:00
Teknium
c3d789893f
refactor(computer_use): compact cua_backend docstrings/comments (WHYs preserved)
2026-09-02 16:18:47 -07:00
Teknium
6517b2d1c4
refactor(mcp): rewrap re-export blocks (formatting only)
2026-09-02 16:18:43 -07:00
Teknium
3fefdd879b
refactor(computer_use): collapse redundant locals and branches in cua_backend_session
2026-09-02 16:18:32 -07:00