Teknium
520e63661c
fix: keep command-auth model discovery lazy across config and setup
2026-09-07 21:22:49 -07:00
Teknium
0e78694c72
simplify(compat): hermes_cli.main — drop 198 re-exports/aliases (155 eager + 45 lazy PEP 562 + _warn_stale_dashboard_processes alias + _time/_self/_LAZY_* machinery), repoint 17 source callers + 91 test files
2026-09-03 15:07:39 -07:00
Teknium
7a33369e81
simplify(compat): interrupt — drop _ThreadAwareEventProxy/_interrupt_event legacy alias, repoint 2 test files
...
No runtime consumer read the proxy (terminal_tool/environments call is_interrupted()/set_interrupt()
directly); its only users were tests patching tools.interrupt._interrupt_event, which had no effect on
the code under test. tools/terminal_tool.py's own re-export of the name is owned by another worker.
2026-09-03 14:00:59 -07:00
Teknium
c93ace77c2
simplify(compat): config/runtime_provider/plugins/commands/secrets_cli/kanban — drop 96 re-exports (incl. PEP 562 facades) + 3 aliases (get_pre_tool_call_directive/_block_message, get_telegram_handler_factories), repoint 56 callers + 50 test files
2026-09-03 14:00:17 -07:00
Teknium
7b8c11bcf7
simplify(compat): models — drop 52 re-exports from hermes_cli.models, repoint 16 callers + 41 test files
2026-09-03 13:48:49 -07:00
Teknium
d179f28307
simplify(compat): anthropic_adapter — drop 30 re-exports + 1 alias, repoint 22 caller files (32 sites), 38 test files (~125 sites)
2026-09-03 13:16:47 -07:00
Teknium
e83816a4d1
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
...
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium
37821cd4be
refactor(hermes_cli): micro-collapses in custom-provider save / lookup / token resolution
2026-09-02 22:18:17 -07:00
Teknium
24c4f93a01
refactor(hermes_cli): _reset_aux_to_auto — one clearing predicate for aux tasks and delegation
2026-09-02 22:12:45 -07:00
Teknium
31bc234a66
refactor(hermes_cli): compact setup-flow docstrings/comments; fold env-ref identity indexing
2026-09-02 21:54:56 -07:00
Teknium
c704df54f9
refactor(hermes_cli): squeeze double blanks between module constants
2026-09-02 21:22:41 -07:00
Teknium
0f767135f8
refactor(hermes_cli): unify curses radiolist-or-fallback into _radiolist (3 sites)
2026-09-02 21:17:50 -07:00
Teknium
a6e3fe5f5b
refactor(hermes_cli): try/except-pass -> contextlib.suppress in setup flows
2026-09-02 21:05:31 -07:00
Teknium
2bdd7c6abb
refactor(hermes_cli): pack re-export imports and closers in setup flows
2026-09-02 20:56:35 -07:00
Teknium
9f9401cf05
refactor(hermes_cli): azure flow — current-settings dataclass, transport-detection phase helper; squeeze import blanks
2026-09-02 20:49:52 -07:00
Teknium
f4996ddbee
refactor(hermes_cli): main_platform_setup — WhatsApp phase helpers, sync subcommand dispatch, _say/_err banners
2026-09-02 20:43:00 -07:00
Teknium
3699fa9b7f
refactor(hermes_cli): main_provider_setup — shared prompt/section helpers, api-mode table, picker row builder
2026-09-02 20:27:50 -07:00
Teknium
b5f96ab3e5
refactor(hermes_cli): AST-neutral layout compaction of provider/platform setup flows
2026-09-02 20:03:18 -07:00
Teknium
d482bd534d
refactor(hermes_cli/main): split select_provider_and_model + cmd_dashboard into named helpers; drop unused imports
2026-09-02 16:19:17 -07:00
Teknium
0d32adbbb5
refactor(hermes_cli/main): extract provider-setup helpers to main_provider_setup.py
2026-09-02 16:11:38 -07:00