Teknium
546bb4eefc
refactor(mcp): repack wrapped message literals (AST-identical)
2026-09-02 16:33:18 -07:00
Teknium
601dfdec82
refactor(auth): pack re-export tuples; plugin registry auto-extend as one helper
2026-09-02 16:33:09 -07:00
Teknium
c1f8fd4e40
wip(delegate): child_run dedupe snapshot (unverified; worker died at 401)
2026-09-02 16:33:00 -07:00
Teknium
c633aee918
refactor(kanban-db): split create_task into project-link + skills helpers
2026-09-02 16:32:35 -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
55b8f0e0ab
refactor(kanban-cli): extract dispatcher/maintenance verbs to kanban_ops; unify single-mutation ok/err reporting
2026-09-02 16:32:06 -07:00
Teknium
96508304ec
refactor(state): trash-teardown drop helper; simplify deferral-record parsing
2026-09-02 16:31:45 -07:00
Teknium
7926cf5e59
refactor(approval): extract approval_context / approval_prompt / approval_floors modules (re-exported from tools.approval)
2026-09-02 16:31:41 -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
80b2cc4814
refactor(tools_config): reflow re-import blocks and TOOL_CATEGORIES env_vars rows
2026-09-02 16:31:32 -07:00
Teknium
ebf2875049
refactor(update): lift already-up-to-date finish out of _cmd_update_impl (290 -> 257 LOC)
2026-09-02 16:31:17 -07:00
Teknium
62fa7a8519
refactor(browser): blank-line normalisation (E302/E303/E305) after block moves
2026-09-02 16:30:46 -07:00
Teknium
9c706605fe
refactor(browser): drop the unreferenced __main__ demo block
2026-09-02 16:30:28 -07:00
Teknium
2bebe0ba9b
refactor(mcp): tighten section headers in mcp_oauth / mcp_oauth_manager
2026-09-02 16:30:18 -07:00
Teknium
59acca1850
refactor(gateway/slash): unify context-breakdown transcript load; tidy module headers and import order
2026-09-02 16:30:01 -07:00
Teknium
ec8e85965d
refactor(tools_config): compact extracted modules (join statements, tighten comments)
2026-09-02 16:29:58 -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
9ebda92cca
refactor(kanban-cli): extract boards cluster to kanban_boards; unify goal-gate, id/reason, run-state and config helpers across handlers
2026-09-02 16:29:40 -07:00
Teknium
d86ebe66c0
refactor(state): CJK range table; shared _coerce_or for import numeric coercion
2026-09-02 16:29:12 -07:00
Teknium
7825ab98d1
refactor(browser): _json_with_fallback/_failed_response helpers replace 6 repeated dumps(_copy_fallback_warning(...)) tails
2026-09-02 16:29:05 -07:00
Teknium
bff23bea2c
refactor(update): lift option resolution, receipt/plan, git prep, HEAD verification and CalledProcessError handling out of _cmd_update_impl (521 -> 290 LOC)
2026-09-02 16:29:04 -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
61c60b5673
refactor(browser): one _blocked_private_page helper behind the three private-page refusal payloads (strings byte-identical)
2026-09-02 16:27:49 -07:00
Teknium
a56f731ac6
refactor(turn): extract preflight gate + per-iteration transcript prep into agent/turn_preflight_gate.py, agent/turn_iteration_prep.py
2026-09-02 16:27:44 -07:00
Teknium
b32dbc98f5
refactor(state): final docstring/comment tightening (IDENTICAL-AST)
2026-09-02 16:27:31 -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
73d56a1290
Merge branch 'simp/r2-rooms-w2' into simp/r2-gw-rest-rooms
2026-09-02 16:27:20 -07:00
Teknium
5ab334c6e7
refactor(gateway/slash): extract autonomy-loop commands into gateway/slash_commands_goals.py (GatewayGoalCommandsMixin)
2026-09-02 16:27:13 -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
c5777cfa22
refactor(state): one _rebuild_table helper for the three PK/table rebuilds
2026-09-02 16:26:34 -07:00
Teknium
6a9387f6f4
refactor(browser): table-driven registry.register loop for the 10 browser tools; bracket-hug compaction across browser_* modules (AST-identical)
2026-09-02 16:26:33 -07:00
Teknium
2b7d975b9b
refactor(gateway/hosted_rooms): rewrap driver DDL/prune SQL, tighten _transition docstring
2026-09-02 16:26:29 -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
4ad1c6c1be
refactor(gateway): drop dead GatewayRunner._has_setup_skill (no production caller; tests only stub it)
2026-09-02 16:26:11 -07:00
Teknium
84191417ef
refactor(model_switch): extract provider-listing cluster into model_switch_providers
...
Verified state of the snapshotted WIP (0fd89c0ae5 ): list_authenticated_providers,
_lap_* row builders, list_picker_providers, _collect_authed_provider_slugs,
_prefetch_provider_models_parallel, prewarm_picker_cache_async and helpers now live
in hermes_cli/model_switch_providers.py (logger name kept as hermes_cli.model_switch;
every moved name re-imported into model_switch so patches keep resolving).
switch_model split into _route_*/_resolve_switch_credentials/_validate_switch/
_build_switch_result; show_status split into _render_<section>(ctx) over _SECTIONS.
Parity: /tmp/rf/r2m_switch_corpus.py (434 entries) and r2m_status_golden.py
(33 fixtures) byte-identical vs base 88b74d6ef00; 76 referencing test files green.
2026-09-02 16:26:11 -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
6bbb13d625
refactor(gateway/slash): extract introspection commands into gateway/slash_commands_status.py (GatewayStatusCommandsMixin)
2026-09-02 16:25:35 -07:00
Teknium
dc4de83c62
refactor(update): lift ZIP download/swap and deps reinstall out of _update_via_zip (327 -> 137 LOC)
2026-09-02 16:25:31 -07:00
Teknium
bf16d5f996
refactor(doctor): trim re-exports to names referenced outside their module
2026-09-02 16:25:28 -07:00
Teknium
5cc3651b3b
refactor(kanban-cli): extract data-driven argparse tree to kanban_parser and output helpers to kanban_output
2026-09-02 16:25:20 -07:00
Teknium
ffa08e6591
refactor(hermes_cli/main): extract dashboard/serve support cluster to main_dashboard.py
2026-09-02 16:24:55 -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
568afa038b
refactor(auth): trim re-export tuples to names with a caller outside the origin package
2026-09-02 16:24:36 -07:00
Teknium
6983794cb7
refactor(state): lift optimize_fts_storage vacuum/settle phases into helpers
2026-09-02 16:24:28 -07:00
Teknium
c40645ea2f
test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice
2026-09-02 16:24:25 -07:00
Teknium
64cf496ca5
refactor(models): collapse deepinfra/custom-cache/provider-list helpers; module docstrings
2026-09-02 16:24:19 -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
c4bc0ada79
refactor(gateway/hosted_rooms): inline replica clock helper, collapse driver literal
2026-09-02 16:23:44 -07:00