This website requires JavaScript.
31729ddcff
refactor(state): unify search routes in hermes_state_search (_match_rows/_search_cjk, dispatch table for sort)
Teknium
2026-09-02 15:46:58 -07:00
9f92710ca1
refactor(web_server): extract memory-provider dashboard helpers to web_server_memory
Teknium
2026-09-02 15:46:50 -07:00
c89819bec2
refactor(gateway/session): split the two >200-LOC methods into collaborators, unify entry mutators, table-drive platform prompt notes
Teknium
2026-09-02 15:46:47 -07:00
dea3f60bc4
refactor(turn): drop section-banner comments in turn_facade_lease
Teknium
2026-09-02 15:46:46 -07:00
925f8061ff
refactor(stt): provider spec table + builtin model table, shared OpenAI-SDK/REST failure helpers, trim dead re-exports
Teknium
2026-09-02 15:46:46 -07:00
53a24170ab
refactor(auth): split Nous Portal OAuth flow into hermes_cli/auth_nous.py
Teknium
2026-09-02 15:46:40 -07:00
995367a3bf
refactor(gateway/slash): dispatch /goal subcommands; extract /status, /context, /usage, /agents, /reset, /resume render+resolve helpers
Teknium
2026-09-02 15:46:19 -07:00
9128bb5610
refactor(cli/setup.py): split wizard into setup_{tts,terminal,platforms,summary,migration,quick} modules; table-drive summary/agent settings; shared banner helper
Teknium
2026-09-02 15:46:06 -07:00
cbecd7d0c6
refactor(mcp): lift MCPServerTask lifecycle into MCPServerRunMixin; split run() into branch helpers
Teknium
2026-09-02 15:46:06 -07:00
048b1406f7
refactor(terminal): unify env-creation kwargs (_create_configured_env) and extract sandbox lifecycle (reaper/teardown/cleanup/ensure_task_env) to terminal_tool_lifecycle
Teknium
2026-09-02 15:45:59 -07:00
04de344f41
refactor(computer_use): compact backend/permissions/vision_routing/__init__ docs; tighten doctor helpers
Teknium
2026-09-02 15:45:55 -07:00
52a5127318
refactor(cli/plugins): move registration ledger/unload into PluginLedgerMixin (plugins_ledger.py)
Teknium
2026-09-02 15:45:43 -07:00
1172735295
refactor(cli/sessions_cmd): split cmd_sessions into per-subcommand handlers + dispatch dicts; extract browse picker to sessions_cmd_browse
Teknium
2026-09-02 15:45:35 -07:00
f5a04375cc
refactor(web_server): extract oauth pollers/status probes and messaging catalog/onboarding to web_server_oauth, web_server_messaging
Teknium
2026-09-02 15:45:27 -07:00
01242369b1
refactor(hermes_cli/main): extract web-UI build cluster to main_web_build.py
Teknium
2026-09-02 15:45:23 -07:00
c7d7e669c9
refactor(cli/plugins): unify manifest.key-or-name into manifest_key()/PluginContext.plugin_id (33 sites)
Teknium
2026-09-02 15:44:28 -07:00
3c7cd69abb
refactor(tools_config): extract cua-driver installer cluster into tools_config_cua
Teknium
2026-09-02 15:43:44 -07:00
21f11b4d29
refactor(web_server): extract session-DB access helpers to web_server_sessions
Teknium
2026-09-02 15:43:37 -07:00
b3ad91bef0
refactor(gateway): split GatewayRunner._run_agent_inner into 24 helper methods (1638 -> 241 LOC)
Teknium
2026-09-02 15:43:35 -07:00
e3b79addc6
refactor(computer_use): tool.py — compact comments/docstrings, hoist vision prompt, tighten layout
Teknium
2026-09-02 15:43:11 -07:00
1d99e2a2d1
refactor(gateway/stream): split _send_or_edit into per-transport collaborators; unify fallback send-with-flood-retry
Teknium
2026-09-02 15:42:43 -07:00
0360b71926
refactor(computer_use): split CuaDriverBackend into capture/input mixins and a driver-resolution module
Teknium
2026-09-02 15:42:36 -07:00
17df4741df
refactor(terminal): extract scope-aware TERMINAL_* config readers/cwd sanitizers to terminal_tool_config
Teknium
2026-09-02 15:42:26 -07:00
eb74a00c71
refactor(cli): split HermesCLI into 10 cohesive mixins (cli.py 22,284 -> 9,150)
Teknium
2026-09-02 15:42:24 -07:00
a0556c7ef1
refactor(gateway): split TurnRunner.run_sync into 11 helper methods (1229 -> 211 LOC)
Teknium
2026-09-02 15:42:16 -07:00
1f7beadae7
refactor(mcp): dedupe error classification ladders, optional-type import helper, cause-chain walker
Teknium
2026-09-02 15:41:56 -07:00
f0cfbb33e1
refactor(cli/plugins): move hook/event-bus/prompt-section dispatch into PluginDispatchMixin (plugins_dispatch.py)
Teknium
2026-09-02 15:41:50 -07:00
3c26e8c8d6
refactor(turn): compact log-call formatting in turn_context_compaction
Teknium
2026-09-02 15:41:41 -07:00
b0be4c5bdd
refactor(gateway/hosted_rooms): add shared leaf validation/sqlite helpers (hosted_rooms_common)
Teknium
2026-09-02 15:41:35 -07:00
ea6644e1dc
fix(integration): telegram dm-topic persist reads config.yaml via read_user_config_raw()
Teknium
2026-09-02 15:41:16 -07:00
6ac699a677
fix(integration): re-export _normalize_dashboard_cron_updates from hermes_cli.web_server
Teknium
2026-09-02 15:41:15 -07:00
4a9d196f0a
fix(integration): let acp _execute_write stub accept the new patience_s kwarg
Teknium
2026-09-02 15:41:13 -07:00
eef25a70be
fix(integration): repoint telegram webhook-secret polling test at _start_webhook_mode/_start_polling_mode
Teknium
2026-09-02 15:41:11 -07:00
7fd156d862
fix(integration): publish methods_browser_control helpers/constants onto server via bind_module
Teknium
2026-09-02 15:41:10 -07:00
8e9628e9cf
refactor(delegate): progress relay -> _ChildProgressRelay class + event table; split _dispatch_background into collaborators
Teknium
2026-09-02 15:40:23 -07:00
0dc36e0934
refactor(turn): extract tool round + final text response branches into agent/turn_tool_round.py, agent/turn_final_response.py
Teknium
2026-09-02 15:40:17 -07:00
5206a504ca
refactor(update): split Windows gateway lifecycle into update_cmd_windows.py
Teknium
2026-09-02 15:40:14 -07:00
99164fca16
refactor(gateway): split GatewayRunner._handle_message into _hm_* stage helpers
Teknium
2026-09-02 15:40:08 -07:00
2efc2b0d9a
refactor(cli/plugins): move plugin loading/deferred-platform/portable methods into PluginLoaderMixin (plugins_loader.py)
Teknium
2026-09-02 15:39:46 -07:00
a7bbe3bf28
refactor(web_server): extract cron dashboard helpers to web_server_cron
Teknium
2026-09-02 15:39:12 -07:00
5eaa155067
refactor(mcp): unify image/audio/resource block decode+cache into two helpers
Teknium
2026-09-02 15:38:58 -07:00
d6ec8c3018
refactor(mcp): unify live/cache registration into one candidate loop; phase-split sampling and elicitation handlers
Teknium
2026-09-02 15:38:42 -07:00
697f6fdc2f
refactor(gateway/slash): split /compress and /model god methods into agent-build, persist, config-read and reply helpers
Teknium
2026-09-02 15:38:17 -07:00
ff67ee47ff
refactor(gateway/config): extract env overrides to gateway/config_env.py as a _Cred/_ENV_STEPS table
Teknium
2026-09-02 15:38:08 -07:00
8e3705c925
refactor(gateway/stream): decompose run() into _Tick + per-phase collaborators; unify frame/seed/preview-delete/draft-metadata helpers
Teknium
2026-09-02 15:38:01 -07:00
80affc7ee3
refactor(computer_use): doctor — reuse permissions._child_env, split fallback/report rendering into helpers
Teknium
2026-09-02 15:37:58 -07:00
cf9f454cdc
refactor(computer_use): tool.py — _reject_unsafe, _pop_session_locked, _cache_file, summary/envelope helpers, dispatch table for _summarize_action
Teknium
2026-09-02 15:37:47 -07:00
67ef2e50fe
refactor(turn): extract response intake (normalize/hooks/scratchpad/codex-incomplete) into agent/turn_response_intake.py
Teknium
2026-09-02 15:37:47 -07:00
5b475406d4
refactor(doctor): run_doctor -> ordered DOCTOR_CHECKS table of Finding-returning checks
Teknium
2026-09-02 15:37:32 -07:00
282e63f81c
refactor(stt): split transcription_tools into common/audio/local/cloud/command sibling modules (re-imported into origin)
Teknium
2026-09-02 15:36:59 -07:00
5608fe7cdf
refactor(web_server): extract chat/PTY/WS-auth cluster to web_server_chat
Teknium
2026-09-02 15:36:53 -07:00
7cfc90bae8
refactor(terminal): split terminal_tool() into _plan_execution/_acquire_env/_run_foreground (dataclass plan) and unify the error envelope via _error_json
Teknium
2026-09-02 15:36:30 -07:00
d13ed1a5b6
refactor(cli/plugins): table-drive the 8 scoped-provider registrars on PluginContext
Teknium
2026-09-02 15:35:16 -07:00
8eeb79aade
refactor(cli/commands): extract completer + platform derivations into commands_completion/commands_platforms with lazy re-exports
Teknium
2026-09-02 15:35:08 -07:00
50d63b2869
refactor(delegate): dedupe config knobs via _cfg(), split credential resolution by branch
Teknium
2026-09-02 15:34:51 -07:00
120aa68922
refactor(models): extract validate_requested_model into models_validate with shared verdict/match helpers; drop dead _OPENCODE_KEYLESS_EXTRA_SLUGS
Teknium
2026-09-02 15:34:04 -07:00
2497ec5126
refactor(web_server): extract dashboard SPA/theme/plugin-hub cluster to web_server_dashboard
Teknium
2026-09-02 15:33:48 -07:00
c4250a6660
refactor(gateway): split GatewayRunner.start/stop into phase helpers (878/622 -> 75/90 LOC)
Teknium
2026-09-02 15:33:05 -07:00
e3bda94407
refactor(gateway): split _handle_active_session_busy_message and _prepare_inbound_message_text into helpers
Teknium
2026-09-02 15:32:53 -07:00
09adb5e2bd
refactor(gateway/slash): unify cached-agent lookup, session-db reply, approval delivery, checkpoint mgr, approval setters; table-drive /busy /voice /rollback /fast
Teknium
2026-09-02 15:32:49 -07:00
1fcc26e2ba
refactor(cli/plugins): extract manifest parsing, discovery scanning/gating, and plugin state into plugins_manifest/plugins_discovery/plugins_state
Teknium
2026-09-02 15:32:17 -07:00
4b1e70a18f
refactor(state): registry — _finish_opening helper, compact docs
Teknium
2026-09-02 15:32:03 -07:00
21c7037975
refactor(terminal): extract sudo/shell-rewrite cluster to terminal_tool_sudo and backend builders/checkers to terminal_tool_backends
Teknium
2026-09-02 15:31:31 -07:00
49853ba5ff
refactor(turn): collapse preflight estimator branch, build_api_messages pops, docstrings; add turn_context_compaction tests
Teknium
2026-09-02 15:31:28 -07:00
55f47d8e95
refactor(config): extract custom-provider resolution to hermes_cli/config_providers.py
Teknium
2026-09-02 15:31:26 -07:00
6064668c8f
perf(usage): prefer bundled pricing before metadata fetch
fangliquanflq
2026-09-02 15:00:48 +08:00
b131e0d87f
refactor(hermes_cli/main): extract TUI launcher cluster to main_tui_launch.py
Teknium
2026-09-02 15:29:56 -07:00
3180fba915
refactor(state): telegram topics mixin — shared read helpers, hoisted DDL/SELECT constants
Teknium
2026-09-02 15:30:28 -07:00
62e8c8ffbc
refactor(state): lift SessionDB.__init__ nested closures into methods
Teknium
2026-09-02 15:29:40 -07:00
9c99769ad8
refactor(turn): split recover_from_overflow into per-error handlers on a _Recovery state (501-LOC function -> max 76)
Teknium
2026-09-02 15:29:36 -07:00
2abf70aa90
refactor(auth): split Spotify, Codex, xAI and MiniMax OAuth flows into per-provider modules
Teknium
2026-09-02 15:29:14 -07:00
d42282ae9e
refactor(turn): extract outer-loop exception handler into agent/turn_loop_errors.py
Teknium
2026-09-02 15:29:00 -07:00
fcfa4f770b
refactor(turn): split build_turn_context into helpers; extract turn-start compaction to turn_context_compaction.py
Teknium
2026-09-02 15:28:48 -07:00
e2d7a6f8b8
refactor(update): drop dead _gateway_restart_recovery_profiles; write sibling-snapshot cache via module attribute
Teknium
2026-09-02 15:27:33 -07:00
072475560e
refactor(gateway): split start_gateway and GatewayRunner.__init__ into phase helpers
Teknium
2026-09-02 15:26:51 -07:00
ffa9e0ff39
refactor(auth): split Qwen OAuth flow into hermes_cli/auth_qwen.py
Teknium
2026-09-02 15:25:47 -07:00
2d0d797ceb
refactor(config_defaults): build auxiliary task blocks via _aux()
Teknium
2026-09-02 15:23:53 -07:00
feafcc9f8d
refactor(turn): lift run_conversation lease/liveness closures into agent.turn_facade_lease
Teknium
2026-09-02 15:23:44 -07:00
87e7f41c09
refactor(auth): extract constants, lazy httpx proxy and AuthError into auth_constants leaf
Teknium
2026-09-02 15:23:08 -07:00
86100e5321
refactor(config_defaults): build OPTIONAL_ENV_VARS via _env() and collapse scalar sub-dicts
Teknium
2026-09-02 15:21:52 -07:00
eab28066c3
test(state): point the repair-guard docstring at the scan-then-probe admission
kshitijk4poor
2026-09-03 03:21:02 +05:30
5e01b8fa7a
refactor(state): one canonical-path helper for holder scans
kshitijk4poor
2026-09-03 02:55:50 +05:30
06d7b77b1c
fix(state): block repair on deleted SQLite holders
Benjamin PERRY
2026-08-30 09:52:15 +00:00
5edc0c492b
fix(cli): skip wrapper-side MCP discovery when chat launches the TUI
Mike Smith
2026-08-07 12:56:12 -04:00
234fff6153
fix(sessions): never reap an own lease younger than the vouch snapshot
kshitijk4poor
2026-09-03 02:43:56 +05:30
2c4474cc69
fix(gateway): reclaim own orphaned session leases
fangliquanflq
2026-09-03 00:04:00 +08:00
60ee3790e0
fix(gateway): publish degraded status when polling dies mid-session, via a public seam
kshitijk4poor
2026-09-03 02:49:55 +05:30
ce52ae21a7
fix(telegram): do not publish connected for a degraded, unconfirmed polling path
chelsealong
2026-09-02 15:05:29 +00:00
013e3aff0c
refactor(tui-gateway): reuse the shared surrogate sanitizer for WS frames
kshitijk4poor
2026-09-03 02:23:10 +05:30
0e5ff99aeb
fix(tui-gateway): keep the WebSocket open when a frame has a lone surrogate
686f6c61
2026-08-29 05:09:33 +02:00
6441d3a916
Merge pull request #101652 from kshitijk4poor/salvage/83821-lifecycle-scan-budget
kshitij
2026-09-03 03:38:15 +05:30
88b74d6ef0
Merge branch 'simp/hclib' into simp/integration
Teknium
2026-09-02 15:05:48 -07:00
7df99a7787
test(hclib): update tests for moved/removed symbols
Teknium
2026-09-02 14:38:33 -07:00
cfa327e5dc
refactor(hclib): remaining hermes_cli library modules — dead code, unified helpers, flattened branches
Teknium
2026-09-02 14:38:33 -07:00
e4c1e56d5d
perf(cron): 1 MiB walk budget; document the independent pre-scan budget
kshitijk4poor
2026-09-03 03:33:20 +05:30
e1a791b9f6
refactor(cron): fold review findings into the lifecycle scan budget
kshitijk4poor
2026-09-03 03:04:40 +05:30
d99eed7d83
perf(cron): bound the lifecycle guard's whole-walk scan work
kshitijk4poor
2026-09-03 02:51:40 +05:30
62f2c82f2b
fix(terminal): &> after a backgrounded compound is a redirect, not a terminator
kshitijk4poor
2026-09-03 02:36:48 +05:30
77dd1c6534
fix(tools): restore separator after backgrounded compound rewrite
entropy-0x
2026-06-08 20:12:00 +03:00
88736f6b02
refactor(recovery): share the synthesised-row title prefix between producer and verifier
kshitijk4poor
2026-09-03 03:20:16 +05:30