Commit Graph

28271 Commits

Author SHA1 Message Date
Teknium 1ac48ebe5a refactor(cli/setup.py): first-time mode table, quick-setup env-var helper, agent-settings summary table 2026-09-02 16:01:34 -07:00
Teknium 7e046408a7 refactor(gateway/hosted_rooms): peer grant token split/fsync helpers, frozen grant field sets 2026-09-02 16:01:31 -07:00
Teknium 38ef892613 refactor(computer_use): split _CuaDriverSession CLI fallback into _cli_command/_cli_run_json/_cli_result 2026-09-02 16:01:25 -07:00
Teknium d9f6d9eda0 refactor(mcp): wrap overlong lines in reg/sampling/schema/agent 2026-09-02 16:01:24 -07:00
Teknium 7be1f2abe0 refactor(mcp): table-driven SDK symbol binding in _ensure_mcp_sdk 2026-09-02 16:01:09 -07:00
Teknium 4674f8b254 refactor(update): split zip/stash/config/deps/git/maint clusters out of update_cmd.py 2026-09-02 16:00:26 -07:00
Teknium e4947b6871 refactor(state): compact SessionDB core comments/docstrings (keep every WHY) 2026-09-02 16:00:21 -07:00
Teknium e154d135ba refactor(cli/plugins): compact PluginContext docstrings by hand (keep every rule); nest set_config partial via helper 2026-09-02 16:00:21 -07:00
Teknium a3a9cacf93 refactor(mcp): collapse post-build re-injection getters and saved-prefix lookup 2026-09-02 16:00:08 -07:00
Teknium ffef90ae7d refactor(state): gateway mixin — hoisted peer/orphan SQL constants, dead tuple-row branches removed, _write_rowcount for fail_handoff; maintenance table-driven prune filters 2026-09-02 16:00:07 -07:00
Teknium 5844839639 refactor(stt): fold no-provider error tail, drop _normalize_local_command_model alias, compact dispatcher call sites 2026-09-02 15:59:38 -07:00
Teknium d320d5f741 refactor(termhub): compact re-export blocks and wrap companion-module docstrings 2026-09-02 15:59:18 -07:00
Teknium 3a056dd466 refactor(web_server): extract gateway topology/actions/process helpers to web_server_gateway; restore late-bound config re-exports 2026-09-02 15:59:08 -07:00
Teknium 8ba0350b31 refactor(gateway/slash): extract model-route commands into gateway/slash_commands_model.py (GatewayModelCommandsMixin) 2026-09-02 15:59:06 -07:00
Teknium 2a5e7764ad refactor(gateway/hosted_rooms): compact peer/links/execution_policy onto common validators, extract catalog endpoint/link-mode parsers 2026-09-02 15:58:57 -07:00
Teknium 2e13aef9ea refactor(doctor): split tool/backend and HERMES_HOME-state checks into doctor_tools.py / doctor_state.py 2026-09-02 15:58:40 -07:00
Teknium dc1401425d refactor(mcp): drop 33 round-1 re-export shims nothing outside the group imports 2026-09-02 15:58:35 -07:00
Teknium 2ac2db7199 refactor(state): split _init_schema into data-migration/title-index/FTS-init helpers; lift stale-FTS holder deferral 2026-09-02 15:58:06 -07:00
Teknium 0d666aacd2 refactor(cli/plugins): normalize blank lines (ruff E302/E303/E305) 2026-09-02 15:57:58 -07:00
Teknium 1d2b39305f refactor(cli/sessions_cmd): unify output writer, compact browser class, tighten comments 2026-09-02 15:57:43 -07:00
Teknium 97fbd7e232 refactor(mcp): table-drive elicitation answers, unify sampling response log, tighten collision diagnostics 2026-09-02 15:57:42 -07:00
Teknium 7f02cb7e1e refactor(cli/plugins): trim re-exports to referenced names; drop isort blanks after in-function imports 2026-09-02 15:57:40 -07:00
Teknium b3759fa8d6 Merge branch 'simp/r2-gwrun-hmwa' into simp/r2-gwrun 2026-09-02 15:57:24 -07:00
Teknium 94af71400d Merge branch 'simp/r2-gwrun-rai' into simp/r2-gwrun 2026-09-02 15:57:23 -07:00
Teknium 6e4e1674e4 Merge branch 'simp/r2-gwrun-runsync' into simp/r2-gwrun 2026-09-02 15:57:22 -07:00
Teknium 0b3f9ae7b3 Merge branch 'simp/r2-gwrun-hm' into simp/r2-gwrun 2026-09-02 15:57:20 -07:00
Teknium 95801ab139 Merge branch 'simp/r2-gwrun-busyprep' into simp/r2-gwrun 2026-09-02 15:57:19 -07:00
Teknium 4e8daa54f9 Merge branch 'simp/r2-gwrun-startgw' into simp/r2-gwrun 2026-09-02 15:57:18 -07:00
Teknium fd2bfa1893 refactor(gateway/kanban): lift notifier delivery into _KanbanNotification + event-formatter table, dispatcher into _DispatcherSettings/_KanbanDispatcher; unify board enumeration/tick sleep 2026-09-02 15:57:11 -07:00
Teknium 3ab00ea93a refactor(cli/setup.py): shared _info() line printer; pack print_info runs across setup modules 2026-09-02 15:57:06 -07:00
Teknium b98a4246c3 refactor(hermes_cli/main): extract desktop (Electron) cluster to main_desktop.py 2026-09-02 15:56:56 -07:00
Teknium 61c83bafef refactor(config_defaults): compact comments by hand (keep rules/invariants, drop history) 2026-09-02 15:56:54 -07:00
Teknium 9b05f0df55 refactor(doctor): split config and host-platform checks into doctor_config.py / doctor_platform.py 2026-09-02 15:56:21 -07:00
Teknium a4f17d7a4b refactor(stt): shared REST transcript helper, flatten command-provider except ladder and hook override loop 2026-09-02 15:56:00 -07:00
Teknium 096826bf7d refactor(update): split gateway fleet restart/verify into update_cmd_fleet.py 2026-09-02 15:55:50 -07:00
Teknium ade852f1d5 refactor(mcp): extract atomic snapshot publish from refresh_agent_mcp_tools; compact docstrings by hand 2026-09-02 15:55:38 -07:00
Teknium f8d7733640 refactor(gateway/slash): dedupe /reset hook payloads + tool-state clears, /branch row copy 2026-09-02 15:55:22 -07:00
Teknium 0679a0ca15 refactor(state): compact module-level comments/docstrings (keep every WHY) 2026-09-02 15:54:56 -07:00
Teknium 7e939af627 refactor(computer_use): compact permissions/vision_routing/backend/__init__ docstrings and spacing 2026-09-02 15:54:54 -07:00
Teknium a8f3dc4946 refactor(termhub): derive ensure_hub_dirs seeds from state-file EMPTY shapes; module docstrings name the split companions 2026-09-02 15:54:47 -07:00
Teknium 337267f00e refactor(computer_use): compact cua_backend origin (best-effort helper, trimmed re-exports) 2026-09-02 15:54:29 -07:00
Teknium 428dcfd3a6 refactor(terminal): lift pre-exec block sequence into _pre_exec_block 2026-09-02 15:54:15 -07:00
Teknium d4b59e044c refactor(computer_use): tool.py — nullcontext in _stop_backend 2026-09-02 15:54:13 -07:00
Teknium cb5af57623 refactor(models): dict-dispatch provider_model_ids; extract static catalog tables and unified reasoning-caps cache into models_catalog_static / models_reasoning_caps 2026-09-02 15:53:59 -07:00
Teknium d7c64815a7 refactor(cli/plugins): repack multi-line statements to <=100 cols (AST-identical) across plugins*.py 2026-09-02 15:53:53 -07:00
Teknium 4e64c5d1a1 refactor(cli/setup.py): drop dead _DEFAULT_PROVIDER_MODELS table and _setup_qqbot shim; compact prose, imports and banners 2026-09-02 15:53:44 -07:00
Teknium 7f9f274cde refactor(cli): chat() 855 -> ~240 LOC via _ChatTurn dataclass + 5 phase methods
Per-turn locals (result, TTS pipeline state, voice prefix) move onto a
_ChatTurn dataclass shared with the agent worker thread (same-object
visibility, so the abandoned-thread late write still lands). Four zero-
back-ref regions and the run_agent closure body become
_chat_setup_turn_audio / _chat_run_agent / _chat_monitor_agent_thread /
_chat_settle_turn / _chat_render_turn. Bodies are ast.dump-identical after
the rename; each helper passed the unresolved-free-names check.
2026-09-02 15:53:22 -07:00
Teknium 208e5b2312 refactor(skills_hub): table-driven hub path resolvers; extract index fetch + source router + parallel search to skills_hub_search 2026-09-02 15:53:18 -07:00
Teknium 5233cbf50f refactor(web_server): extract config schema + model-assignment logic to web_server_config 2026-09-02 15:52:53 -07:00
Teknium d4602539d8 refactor(mcp): move discovery lock + loop scheduling into mcp_tool_loop.py 2026-09-02 15:52:38 -07:00