Commit Graph

10 Commits

Author SHA1 Message Date
Teknium b0fbde9451 refactor(tui_gateway): collapse billing/publisher/method_ctx defensive layers in group H 2026-09-02 23:41:16 -07:00
Teknium 052a5dec66 refactor(tui_gateway): table-drive billing error kinds, share pet selection, compact group H docstrings 2026-09-02 23:25:59 -07:00
Teknium 957147365a refactor(tui_gateway): split _apply_model_switch into phase helpers, compact controller/browser/relay/watcher/billing helpers 2026-09-02 22:47:13 -07:00
Teknium 0a2fd94515 refactor(tui): table-drive the 8 identical *.respond handlers; drop dead mcp_rpc_helpers.resolve_profile + server shims; bind_module publishes cross-module aliases 2026-09-02 14:09:12 -07:00
Teknium 0095f908cd refactor(tui): split change watcher and tool-progress callbacks out of server.py; bind_module rebinds nested dispatch tables 2026-09-02 14:09:11 -07:00
Teknium f2efa400e2 refactor(tui): rename methods_config_set._display_cfg -> _display_section; bind_module refuses cross-module function name collisions 2026-09-02 14:09:07 -07:00
Teknium d6871a1a3b refactor(tui): extract config.set into methods_config_set.py with a key dispatch table
- 790-line if-chain in server.py -> 20 _set_* handlers + _CONFIG_SETTERS dict
- dedupe: _write_display_sections (4 copies of the cfg/display/sections dance),
  _toggle_display_bool (density/battery), _emit_session_info/_emit_all_session_info,
  _display_cfg
- bind_module rebinds function values inside dispatch dicts
- wire parity: 61-call config.set sweep + resulting config.yaml byte-identical
2026-09-02 14:09:03 -07:00
Teknium beacf4e942 refactor(tui): resume — verified partial work (acp_adapter + methods_* compaction, bind_module via globals()) 2026-09-02 14:09:01 -07:00
Teknium 93fead86dd refactor(tui): compact peripheral modules (compute_host, entry, hosted_room_*, ws, project_tree, ...); add _env knobs and method_ctx.bind_module
Docstring/comment compaction plus small structural dedupe across the
tui_gateway peripheral modules. Originally landed as an outage-recovery
snapshot; reviewed and verified afterwards (import smokes, cluster tests).
2026-09-02 14:09:00 -07:00
teknium1 f67ca220ab refactor(tui): split @method handlers into methods_* modules (mechanical move, registry set-equality verified) 2026-07-29 11:46:31 -07:00