This website requires JavaScript.
c5777cfa22
refactor(state): one _rebuild_table helper for the three PK/table rebuilds
Teknium
2026-09-02 16:26:34 -07:00
6a9387f6f4
refactor(browser): table-driven registry.register loop for the 10 browser tools; bracket-hug compaction across browser_* modules (AST-identical)
Teknium
2026-09-02 16:26:33 -07:00
2b7d975b9b
refactor(gateway/hosted_rooms): rewrap driver DDL/prune SQL, tighten _transition docstring
Teknium
2026-09-02 16:26:29 -07:00
0437336b7d
refactor(mcp): contextlib.suppress for swallowed-error ladders in mcp_oauth storage/json helpers
Teknium
2026-09-02 16:26:18 -07:00
4ad1c6c1be
refactor(gateway): drop dead GatewayRunner._has_setup_skill (no production caller; tests only stub it)
Teknium
2026-09-02 16:26:11 -07:00
84191417ef
refactor(model_switch): extract provider-listing cluster into model_switch_providers
Teknium
2026-09-02 16:26:11 -07:00
7c144b8ad8
refactor(computer_use): extract _wait_or_kill and _socket_ready from the embedded daemon; compact prose
Teknium
2026-09-02 16:26:07 -07:00
6bbb13d625
refactor(gateway/slash): extract introspection commands into gateway/slash_commands_status.py (GatewayStatusCommandsMixin)
Teknium
2026-09-02 16:25:35 -07:00
dc4de83c62
refactor(update): lift ZIP download/swap and deps reinstall out of _update_via_zip (327 -> 137 LOC)
Teknium
2026-09-02 16:25:31 -07:00
bf16d5f996
refactor(doctor): trim re-exports to names referenced outside their module
Teknium
2026-09-02 16:25:28 -07:00
5cc3651b3b
refactor(kanban-cli): extract data-driven argparse tree to kanban_parser and output helpers to kanban_output
Teknium
2026-09-02 16:25:20 -07:00
ffa08e6591
refactor(hermes_cli/main): extract dashboard/serve support cluster to main_dashboard.py
Teknium
2026-09-02 16:24:55 -07:00
b2d1d4cc1f
refactor(mcp): compact mcp_oauth_provider token-request stamping and dashboard flow dataclass
Teknium
2026-09-02 16:24:53 -07:00
568afa038b
refactor(auth): trim re-export tuples to names with a caller outside the origin package
Teknium
2026-09-02 16:24:36 -07:00
6983794cb7
refactor(state): lift optimize_fts_storage vacuum/settle phases into helpers
Teknium
2026-09-02 16:24:28 -07:00
c40645ea2f
test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice
Teknium
2026-09-02 16:24:25 -07:00
64cf496ca5
refactor(models): collapse deepinfra/custom-cache/provider-list helpers; module docstrings
Teknium
2026-09-02 16:24:19 -07:00
3507382469
refactor(mcp): health — one recycle-deadline table, shared owned-deregister helper, module-level stdio liveness probe
Teknium
2026-09-02 16:24:16 -07:00
49cef0bae3
refactor(computer_use): unify cua parse image sniff with backend.image_dimensions_from_bytes; inline _first_nonempty_list; compact prose
Teknium
2026-09-02 16:23:58 -07:00
c4bc0ada79
refactor(gateway/hosted_rooms): inline replica clock helper, collapse driver literal
Teknium
2026-09-02 16:23:44 -07:00
55248a133f
refactor(approval): unify the three human-approval gates behind one engine (_human_decision) + _GateSpec/_Unattended tables
Teknium
2026-09-02 16:23:33 -07:00
e118abc61a
refactor(update): lift manual-gateway restart, stuck-PID sweep and phase-abort recovery out of _restart_gateway_fleet_after_update (362 -> 154 LOC)
Teknium
2026-09-02 16:23:31 -07:00
2a9c5d8cf5
refactor(doctor_state): unify state.db repair path, memory-provider dispatch table; doctor.py header
Teknium
2026-09-02 16:23:25 -07:00
f78d519e5a
refactor(auth): collapse duplicate corrupt-store warning, drop dead _SUPPORTED_PREFIXES
Teknium
2026-09-02 16:23:15 -07:00
088eda22ae
refactor(mcp): compact mcp_oauth module docstring, helpers and CIMD constants by hand
Teknium
2026-09-02 16:23:14 -07:00
f28dfda667
refactor(web_server): flatten nested guards in auth middleware + plugin cache; module docstring describes the split
Teknium
2026-09-02 16:23:06 -07:00
55ba3cbd61
refactor(tools_config): extract MCP checklist + enable/disable command into tools_config_mcp; compact checklist/reconfigure helpers
Teknium
2026-09-02 16:22:15 -07:00
2ae3e4d6bd
refactor(state): share /proc fd walker, collapse loops in generation/holder probes
Teknium
2026-09-02 16:22:10 -07:00
cf86c47624
fix(agent): evict stale screenshot payloads before send
Christopher
2026-08-29 14:48:35 +02:00
a138533157
refactor(state): fold docstring closers (whitespace only)
Teknium
2026-09-02 16:21:39 -07:00
fdaaa87ea4
refactor(browser): move session/daemon command execution to tools/browser_tool_session.py, CDP override + supervisor lifecycle to tools/browser_tool_cdp.py, vision helpers to tools/browser_tool_vision.py
Teknium
2026-09-02 16:21:07 -07:00
0048a5bc80
refactor(mcp): handlers — fold structuredContent cap + stdio-retry error tail into helpers, _pick for attr-picking entry builders
Teknium
2026-09-02 16:21:00 -07:00
975783c31e
refactor(models): table-drive opencode api-mode routing; collapse copilot/anthropic catalog helpers
Teknium
2026-09-02 16:20:36 -07:00
b422113061
refactor(state): compact long rationale comments (all rules kept)
Teknium
2026-09-02 16:20:35 -07:00
b97e5d96db
refactor(mcp): compact mcp_oauth SDK loader, callback handler, CIMD eligibility and legacy provider class
Teknium
2026-09-02 16:20:30 -07:00
7b30652d8f
refactor(auth): explicit-config check table, _store_section helper, docstring repairs, move orphaned section comments to their modules
Teknium
2026-09-02 16:20:00 -07:00
44e37bc7e3
refactor(gateway/hosted_rooms): table-driven task transitions in hosted_room_driver; fold replica schema init, share leaf helpers (-40% LOC, parity-neutral)
Teknium
2026-09-02 16:19:39 -07:00
d482bd534d
refactor(hermes_cli/main): split select_provider_and_model + cmd_dashboard into named helpers; drop unused imports
Teknium
2026-09-02 16:19:17 -07:00
8b34d23366
refactor(web_server): move skills-hub action helpers to web_server_profiles; trim fastapi import block to what web_server still uses
Teknium
2026-09-02 16:19:10 -07:00
acb12608e4
refactor(state): squeeze blank-line runs between constants (AST-neutral)
Teknium
2026-09-02 16:19:09 -07:00
95804887c1
refactor(doctor): tighten platform + tools checks — shared helpers, backend dispatch table, compact docstrings
Teknium
2026-09-02 16:19:08 -07:00
84d04094e3
refactor(cli): compact seven long narrative comment blocks (WHY kept, prose trimmed)
Teknium
2026-09-02 16:19:03 -07:00
bd30c9b6ac
refactor(browser): move cloud-provider/backend selection to tools/browser_tool_cloud.py and agent-browser/Chromium discovery+install to tools/browser_tool_install.py
Teknium
2026-09-02 16:18:57 -07:00
c3d789893f
refactor(computer_use): compact cua_backend docstrings/comments (WHYs preserved)
Teknium
2026-09-02 16:18:47 -07:00
6517b2d1c4
refactor(mcp): rewrap re-export blocks (formatting only)
Teknium
2026-09-02 16:18:43 -07:00
1b3f37b3eb
Merge branch 'simp/r2-rooms-w4' into simp/r2-gw-rest-rooms
Teknium
2026-09-02 16:18:42 -07:00
0686f3fdae
Merge branch 'simp/r2-rooms-w3' into simp/r2-gw-rest-rooms
Teknium
2026-09-02 16:18:40 -07:00
4d8d479e41
refactor(tools_config): split _get_platform_tools into explicit/composite resolvers; compact header comments
Teknium
2026-09-02 16:18:39 -07:00
3fefdd879b
refactor(computer_use): collapse redundant locals and branches in cua_backend_session
Teknium
2026-09-02 16:18:32 -07:00
b1d29ecf87
refactor(mcp): unify connect success/failure bookkeeping (3 sites -> 2 helpers)
Teknium
2026-09-02 16:18:06 -07:00
a8a7b7b849
refactor(doctor_config): model/provider validation -> helpers; config drift -> ordered step table
Teknium
2026-09-02 16:18:03 -07:00
79aeb22886
refactor(cli): unify duplicated model-switch staging and last-assistant-text blocks
Teknium
2026-09-02 16:17:31 -07:00
f4e6ccc5f5
refactor(state): unify db-generation halt guard, hoist _is_no_more_rows, collapse flag inits
Teknium
2026-09-02 16:17:27 -07:00
96280b4cc7
refactor(mcp): split register_mcp_servers/discover_mcp_tools into candidate/lazy/discovery-pass/summary helpers
Teknium
2026-09-02 16:17:20 -07:00
865d77a166
refactor(gateway/status): drop dead is_gateway_running/clear_planned_stop_marker, unify PID-record liveness, marker-write, JSON-parse and stale-lock helpers, table-drive runtime-status field writes
Teknium
2026-09-02 16:16:59 -07:00
d2add66648
refactor(computer_use): tool.py — verdict-field table, payload merge, stub/record cleanups
Teknium
2026-09-02 16:16:54 -07:00
e94cc545d5
refactor(mcp): unify HTTP/SSE/legacy transport serve+teardown into _serve_transport; split _run_stdio into ledger/preflight helpers
Teknium
2026-09-02 16:16:45 -07:00
7caee2898b
perf(agent): stop rebuilding the streamed reply text on every delta
Adolanium
2026-08-22 12:43:23 +03:00
18946a781f
refactor(state): join short adjacent string literals (AST-neutral)
Teknium
2026-09-02 16:16:37 -07:00
2086987cdc
refactor(computer_use): route unknown-outcome results directly through _outcome_unknown
Teknium
2026-09-02 16:16:30 -07:00
f9f21dcf25
refactor(web_server): decompose start_server (544 -> 106 LOC) into auth-gate, uvicorn-build, post-start, and runner helpers
Teknium
2026-09-02 16:15:52 -07:00
26129a1fca
refactor(state): repair — strategy table + _apply loop, lock/unlink/sidecar/offline-access helpers, _repair_skip, backup split into free-space + publish helpers; dbfile — shared /proc fd scan, quarantine lock unified, compact stats
Teknium
2026-09-02 16:15:49 -07:00
d7bdf2788d
refactor(gateway/session): split SessionStore into persistence/recovery/lifecycle/transcript mixins by call-graph cohesion; compact wire helpers
Teknium
2026-09-02 16:15:42 -07:00
70282b6baf
refactor(browser): lifecycle module imports hermes_constants directly; drop origin imports left unused by the move
Teknium
2026-09-02 16:15:20 -07:00
4cf35a68f2
Merge branch 'simp/r2a-mcp-reg' into simp/r2a-mcp
Teknium
2026-09-02 16:15:20 -07:00
b9ec602392
refactor(mcp): update mcp_tool module map for the new siblings
Teknium
2026-09-02 16:15:11 -07:00
40fe17f83b
refactor(state): fold adjacent string fragments that fit one line (AST-identical)
Teknium
2026-09-02 16:14:54 -07:00
ffed5b1503
refactor(tools_config): split tools_command into flow helpers; drop unused imports
Teknium
2026-09-02 16:14:49 -07:00
369dbe4320
refactor(browser): move session lifecycle cluster (janitor, orphan reaper, teardown, atexit cleanup) to tools/browser_tool_lifecycle.py
Teknium
2026-09-02 16:14:39 -07:00
a09512c3ad
refactor(mcp): move loop start/stop + reconnect signalling into mcp_tool_loop.py (writes via origin module)
Teknium
2026-09-02 16:14:37 -07:00
9a066f7374
refactor(mcp): split _make_hermes_provider_class into module-level _HermesRuntimeProviderMixin
Teknium
2026-09-02 16:14:36 -07:00
5340109e61
refactor(state): compact verbose docstrings (rules/invariants kept)
Teknium
2026-09-02 16:14:33 -07:00
9cf2c364ab
refactor(computer_use): _recreate_session helper for the two restart+restore paths
Teknium
2026-09-02 16:14:11 -07:00
88c5d4670d
refactor(auth): OAUTH_PROVIDER_FLOWS table (status/resolve/terminal-codes/logout), name-keyed status dispatch, base-URL resolver table
Teknium
2026-09-02 16:13:37 -07:00
0fe9d5f5ae
refactor(state): AST-neutral formatting compaction (blank lines, signatures, arg lists)
Teknium
2026-09-02 16:13:30 -07:00
95714f6d93
refactor(state): AST-neutral line packing; derive v22 session_model_usage DDL from the heal DDL
Teknium
2026-09-02 16:13:05 -07:00
96d8883986
refactor(models): collapse copilot catalog filter, probe/dedupe helpers, static-detect ladders; compact comments
Teknium
2026-09-02 16:12:56 -07:00
04403a5632
refactor(computer_use): compact schema.py literal (value byte-identical; verified via tool-schema dump)
Teknium
2026-09-02 16:12:51 -07:00
d7cdfbc36b
refactor(stt): openai-availability reason helper, one-line section banners, docstring compaction
Teknium
2026-09-02 16:12:29 -07:00
66ecaa31e7
refactor(computer_use): dedupe capability-state reset, tighten CLI result and error-text helpers
Teknium
2026-09-02 16:12:02 -07:00
13e7cb8eb9
refactor(tools_config): merge provider-selection extraction (tools_config_providers)
Teknium
2026-09-02 16:11:56 -07:00
66366d3dab
refactor(gateway): split GatewayRunner into 13 run_* mixins + TurnRunner module (run.py 31332 -> 6957)
Teknium
2026-09-02 16:11:50 -07:00
7424035a11
refactor(mcp): split tool handler into breaker check, server acquire, stdio-death-racing call, pure result renderer and one shared recovery ladder
Teknium
2026-09-02 16:03:49 -07:00
0d32adbbb5
refactor(hermes_cli/main): extract provider-setup helpers to main_provider_setup.py
Teknium
2026-09-02 16:11:38 -07:00
3f0e1165b3
refactor(tools_config): extract post-setup hooks into tools_config_post_setup
Teknium
2026-09-02 16:11:26 -07:00
fc2972b299
refactor(state): common — shared freshest-of/after-marker SQL builders, msvcrt lock helper, compact preview constants
Teknium
2026-09-02 16:11:04 -07:00
a59680217f
refactor(update): hand-compact comments/docstrings in split modules (AST-identical); re-export get_hermes_home/shutil; repoint source-inspection tests
Teknium
2026-09-02 16:11:02 -07:00
7e250ce03e
refactor(cli): no function over 300 LOC — split __init__/main/run/load_cli_config + two TUI builders
Teknium
2026-09-02 16:11:02 -07:00
1a451bfaeb
fix(mcp): pick the Windows launcher, not the sh script, from an npx cache
John Paul Soliva
2026-08-24 04:02:04 +09:00
11ed840431
perf(mcp): skip npx's resident parent when the package is already cached
John Paul Soliva
2026-08-24 02:32:41 +09:00
0fd89c0ae5
wip(model_switch): snapshot of in-progress provider-listing extraction + status split (worker died mid-run)
Teknium
2026-09-02 16:10:32 -07:00
c4ce73edc2
refactor(browser): compact sibling modules — supervisor event dispatch inline, dialog responder unified (_respond/_respond_quiet/_cdp_quiet), dead ConsoleEvent ring buffer removed, browser_use_cli _quiet helper
Teknium
2026-09-02 16:02:42 -07:00
60aa491f3d
refactor(stt): local backend detection helper, CPU-eviction helper, module docstrings and import packing
Teknium
2026-09-02 16:10:20 -07:00
7d43c20af7
refactor(web_server): move _process_start_marker with the lifecycle cluster
Teknium
2026-09-02 16:10:10 -07:00
9780739e12
refactor(turn): extract per-iteration request assembly (api_messages/MoA/cache plan/pressure) into agent/turn_request_assembly.py
Teknium
2026-09-02 16:10:07 -07:00
c990225fa0
refactor(auth): relocate single-consumer helpers next to their users; _decode_jwt_claims to constants leaf
Teknium
2026-09-02 16:09:47 -07:00
a011c32975
refactor(mcp): compact mcp_oauth redirect/callback closures and dashboard contextvar helper
Teknium
2026-09-02 16:03:53 -07:00
c023f00c9c
refactor(state): compact session-CRUD comments/docstrings (keep every WHY)
Teknium
2026-09-02 16:09:13 -07:00
67ac6cc619
refactor(computer_use): table-drive unknown-outcome messages; hoist _tool_field helper
Teknium
2026-09-02 16:09:13 -07:00
a42c78bd2e
Merge branch 'simp/r2-cua-misc' into simp/r2-tools-b-cua
Teknium
2026-09-02 16:08:20 -07:00