Commit Graph

27919 Commits

Author SHA1 Message Date
Teknium d3f556e4e2 Merge branch 'simp/r2m-models' into simp/integration2 2026-09-02 17:05:09 -07:00
Teknium 8c0b5bdd55 Merge branch 'simp/r2-state-c' into simp/integration2 2026-09-02 17:05:08 -07:00
Teknium d9853c57ad Merge branch 'simp/r2-climain' into simp/integration2 2026-09-02 17:05:06 -07:00
Teknium f81f8d848f Merge branch 'simp/r2m-flows' into simp/integration2 2026-09-02 17:05:06 -07:00
Teknium 93673653fa Merge branch 'simp/r2-kanban' into simp/integration2 2026-09-02 17:05:05 -07:00
Teknium fd77c095b1 Merge branch 'simp/r2-config' into simp/integration2 2026-09-02 17:05:05 -07:00
Teknium 10ed2fc9f4 Merge branch 'simp/r2-state' into simp/integration2 2026-09-02 17:05:04 -07:00
Teknium b80dc57a09 Merge branch 'simp/r2-gwrun' into simp/integration2 2026-09-02 17:05:04 -07:00
Teknium cba6a6de8e Merge branch 'simp/r2-clipy' into simp/integration2 2026-09-02 17:05:04 -07:00
Teknium 6979b6a2f0 Merge branch 'simp/r2a-tts' into simp/integration2 2026-09-02 17:05:03 -07:00
Teknium 9f6d89eea1 Merge branch 'simp/r2a-stt' into simp/integration2 2026-09-02 17:05:03 -07:00
Teknium d9fe98b259 Merge branch 'simp/r2a-mcp' into simp/integration2 2026-09-02 17:05:02 -07:00
Teknium e037d3d55e Merge branch 'simp/r2-loop' into simp/integration2 2026-09-02 17:05:02 -07:00
Teknium e753b034a4 Merge branch 'simp/r2-auth' into simp/integration2 2026-09-02 17:05:01 -07:00
Teknium 41a26c8ba9 refactor(kanban-db): compact long docstrings (rules kept) across origin/dispatch/connect 2026-09-02 17:04:54 -07:00
Teknium 693893df5c refactor(kanban-db): compact Task field/constant comments that duplicated SCHEMA_SQL; contextlib.suppress for try/except/pass 2026-09-02 17:02:26 -07:00
Teknium d18b136417 refactor(mcp): one fail-fast branch for URL validation + content-type preflight 2026-09-02 17:00:43 -07:00
Teknium d1df0f21ab refactor(hermes_cli/main): extract memory/acp/tools/insights/monitoring/skills handlers to main_agent_cmds.py 2026-09-02 17:00:17 -07:00
Teknium aa4ffc98e9 refactor(hermes_cli/main): extract WhatsApp/Slack/Skill-Sync setup wizards to main_platform_setup.py 2026-09-02 16:59:52 -07:00
Teknium e59090acee refactor(mcp): flatten _LockCookie.release nested try ladders (same best-effort semantics) 2026-09-02 16:59:27 -07:00
Teknium a0f15d1f2a refactor(mcp): _running_loop helper for the loop-up check 2026-09-02 16:58:35 -07:00
Teknium 9994d2b113 refactor(hermes_cli/main): unify lazy re-export tables into _LAZY_ATTR_SOURCES; drop 26 unreferenced re-exports 2026-09-02 16:58:15 -07:00
Teknium 0f1c1d9388 refactor(turn): module docstrings list every helper in turn_iteration_prep / turn_api_call 2026-09-02 16:57:55 -07:00
Teknium 3016bb9020 refactor(mcp): fold duplicate recycle check into _recycle_if_due; drop probe wrapper closure 2026-09-02 16:57:39 -07:00
Teknium 0556cbf52b refactor(model_setup_flows): re-export only names that existed on the origin at base
Helpers introduced by the split (_azure_*, _bedrock_text_model_ids, _configured_model_ids, ...)
never lived in model_setup_flows before, so nothing imports/patches them there; keep the
origin's re-export list to the historical surface. Corpus 396/0 diffs, 364 tests green.
2026-09-02 16:56:40 -07:00
Teknium a11464423a refactor(kanban-db): drop dead _clear_spawn_failures alias, unify per-task row/link accessors, compact three docstrings 2026-09-02 16:55:53 -07:00
Teknium f65d395535 refactor(state): _FTS_DDL layout table; flatten _fts_table_probe except ladder 2026-09-02 16:50:16 -07:00
Teknium eb8d628c97 refactor(hermes_state): restore WHY comments dropped by round-2 sub-branches
Comment/docstring-only (AST-identical): surrogate-scrub rationale, persisted
marker stripping invariant, generation counter upgrade semantics, CJK marker
empty-vs-populated rule, WAL 0-page ordering precondition, repair backup
live-connection case, telegram topic delete precondition, mixed-mode
corruption definition, and similar.
2026-09-02 16:48:30 -07:00
Teknium e03a680592 refactor(kanban-db): split into connect/workspace/dispatch/notify modules
Byte-identical bodies moved out of hermes_cli/kanban_db.py into four sibling
modules, re-exported from the origin so kanban_db.<name> keeps resolving and
stays the single monkeypatch target; origin-resident helpers are reached via a
late-bound _kb namespace. AST-identity verified for all 329 moved symbols; SQL
statement multiset parity vs base. Three source-inspection tests repointed at
kanban_db_dispatch; the _add_column_if_missing alias test now imports the real
owner (hermes_cli.sqlite_util).
2026-09-02 16:46:52 -07:00
Teknium 067b31bc8c refactor(tts): refresh module-layout docstring for new sibling modules 2026-09-02 16:44:14 -07:00
Teknium 6ebbb6c787 refactor(tts): share auxiliary-model tag rewrite between xAI and Gemini 2026-09-02 16:44:14 -07:00
Teknium 19997e9978 refactor(tts): lift chunk synthesis loop out of text_to_speech_tool 2026-09-02 16:44:14 -07:00
Teknium 93131b17a6 refactor(tts): drop re-export shims with no external consumers; siblings import from defining modules 2026-09-02 16:44:13 -07:00
Teknium fe25c59281 refactor(tts): plugin-provider layer into tts_tool_plugins with one lookup helper 2026-09-02 16:44:13 -07:00
Teknium caf37e23d4 refactor(tts): importer factory, requirements table, caps to delivery, legacy strip to text_normalize, single-chunk dedupe 2026-09-02 16:44:13 -07:00
Teknium ef9f860284 refactor(tts): extract OpenAI/DeepInfra backend and lifecycle leases into sibling modules 2026-09-02 16:44:12 -07:00
Teknium d913175067 refactor(tts): move command-provider config layer into tts_command_provider
Completes the half-done move snapshotted by the parent (wip commit 283f63b):
the tts.providers.<name> config layer (_get_named_provider_config,
_resolve_command_provider_config, _generate_command_tts, ...) now lives in
tools/tts_command_provider.py; tts_tool re-imports the historical names.
2026-09-02 16:44:05 -07:00
Teknium 529f1ac0aa refactor(turn): drop section-banner comments in turn_facade_lease 2026-09-02 16:43:09 -07:00
Teknium b4c38f2aa9 refactor(turn): lift run_conversation lease/liveness closures into agent.turn_facade_lease 2026-09-02 16:43:09 -07:00
Teknium 74b928b6a3 refactor(turn): compact log-call formatting in turn_context_compaction 2026-09-02 16:43:08 -07:00
Teknium d6ef4190cc refactor(turn): collapse preflight estimator branch, build_api_messages pops, docstrings; add turn_context_compaction tests 2026-09-02 16:42:25 -07:00
Teknium d507b71e7c Merge branch 'simp/r2a-mcp-oauth' into simp/r2a-mcp 2026-09-02 16:41:11 -07:00
Teknium 40e4338d27 Merge branch 'simp/r2a-mcp-transport' into simp/r2a-mcp 2026-09-02 16:41:11 -07:00
Teknium 84c2e326f2 refactor(turn): split build_turn_context into helpers; extract turn-start compaction to turn_context_compaction.py 2026-09-02 16:40:40 -07:00
Teknium 72490fa6cd refactor(model_setup_flows): extract custom-endpoint, Azure Foundry and Bedrock wizards into concern modules
hermes_cli/model_setup_flows_custom.py (_model_flow_custom, _model_flow_named_custom + helpers),
model_setup_flows_azure.py (_model_flow_azure_foundry + Entra preflight / picker),
model_setup_flows_bedrock.py (BEDROCK_GEO_PREFIXES, routability predicates, both Bedrock flows).
Bodies moved verbatim (AST slices); every name re-exported from model_setup_flows (noqa: F401)
so hermes_cli.main and test imports keep resolving. Origin: 1975 -> 1159 lines.
Flow corpus (396 cases): 0 diffs; 34 test files / 364 tests green.
2026-09-02 16:39:35 -07:00
Teknium 40230dcca7 refactor(hermes_cli/main): replace 23 thin cmd_* forwarders with a _forward_command factory table 2026-09-02 16:39:30 -07:00
Teknium 88cb5c965c Merge branch 'simp/r2-state-d' into simp/r2-state 2026-09-02 16:38:41 -07:00
Teknium ba44b1705c Merge branch 'simp/r2-state-c' into simp/r2-state 2026-09-02 16:38:40 -07:00
Teknium ec8f757b46 Merge branch 'simp/r2-state-b' into simp/r2-state 2026-09-02 16:38:40 -07:00
Teknium 0d7acf67b5 refactor(state): pack hanging signatures/tuples in messages/compression/usage (AST-identical) 2026-09-02 16:38:21 -07:00