Commit Graph

28247 Commits

Author SHA1 Message Date
Teknium 4c008def67 Merge branch 'simp/r3-04-w4' into simp/r3-04 2026-09-02 19:49:59 -07:00
Teknium e98cb83605 Merge branch 'simp/r3-04-w1' into simp/r3-04 2026-09-02 19:49:57 -07:00
Teknium 836fa5e08e refactor(agent/chat_completion_helpers): compact streaming call sites and tool-call accumulator 2026-09-02 19:43:52 -07:00
Teknium a0e0705ae7 refactor(agent/chat_completion_helpers): compact bedrock/streaming helpers and relay metadata 2026-09-02 19:27:15 -07:00
Teknium 72f1e2e2c1 refactor(agent/codex_runtime,bedrock_adapter): fold assembler state, pending-call guard, toolUse block builder (-16 LOC) 2026-09-02 19:26:47 -07:00
Teknium c205b41a52 refactor(agent/chat_completion_helpers): drop _env_float duplicate of utils.env_float; compact kwargs builders and assistant-message helpers 2026-09-02 19:23:26 -07:00
Teknium db1214a406 refactor(agent/codex*,bedrock_adapter): share Mantle URL parse, billing identity, route flag unpacking; fold stream/tools preflight (-29 LOC) 2026-09-02 19:23:16 -07:00
Teknium 50dafd06b7 style(agent/codex*,bedrock_adapter): restore one blank line after nested defs 2026-09-02 19:18:13 -07:00
Teknium de1567095a refactor(agent/chat_completion_helpers): collapse defensive layers and compact call sites across the non-streaming region 2026-09-02 19:17:28 -07:00
Teknium 17ce6b2686 refactor(agent/bedrock_adapter,codex_responses_adapter): unify reasoning-block absorb and role-aware image part builders 2026-09-02 19:16:48 -07:00
Teknium 98ec26620c refactor(agent/bedrock_adapter,codex_responses_adapter): compact docstrings/comments, keep every WHY (-150 LOC) 2026-09-02 19:08:45 -07:00
Teknium 97c0b89839 refactor(agent/codex_runtime): compact docstrings/comments, keep every invariant and WHY (-66 LOC) 2026-09-02 19:04:48 -07:00
Teknium 032ac76293 refactor(agent/chat_completion_helpers): drop stray section header, fix blank-line spacing 2026-09-02 18:59:41 -07:00
Teknium aabb4ddf44 Merge branch 'simp/r3-04-w1b' into simp/r3-04-w1 2026-09-02 18:57:25 -07:00
Teknium 6ea0fbcc0b refactor(agent/chat_completion_helpers): compact fallback/max-iterations region; hoist _FALLBACK_REASON_LABELS 2026-09-02 18:51:59 -07:00
Teknium 28d2e85a23 Merge branch 'simp/r3-04-w1a' into simp/r3-04-w1 2026-09-02 18:51:26 -07:00
Teknium a7d2bf1466 refactor(agent/codex_responses_adapter): table issuer classification, unify optional-dict validation, collapse assistant fallback ladder (-56 LOC) 2026-09-02 18:51:03 -07:00
Teknium d5341ab1c9 refactor(agent/chat_completion_helpers): compact helpers, docstrings and comments in the non-streaming region 2026-09-02 18:50:52 -07:00
Teknium e0693c4d3e refactor(agent/codex*,bedrock_adapter): drop intra-function blank lines (AST-identical, -117 LOC) 2026-09-02 18:47:54 -07:00
Teknium de570c0099 refactor(agent/chat_completion_helpers): compact _StreamingCall comments/docstrings and fold single-use locals 2026-09-02 18:45:17 -07:00
Teknium 5634e32005 refactor(agent/codex_runtime): extract _output_text_of, fold accumulator init/returns, tighten item payload helpers (-40 LOC) 2026-09-02 18:39:31 -07:00
Teknium 2d52d645c3 refactor(agent/chat_completion_helpers): _stream_bedrock_converse -> _BedrockStream with phase methods 2026-09-02 18:39:10 -07:00
Teknium deb5bdecd9 refactor(agent/bedrock_adapter): table-ize stale-error imports and context lengths, share discovery entry builder (-24 LOC) 2026-09-02 18:35:02 -07:00
Teknium 7baf030bbd refactor(agent/chat_completion_helpers): split build_api_kwargs per api_mode; lift build_assistant_message phases 2026-09-02 18:32:33 -07:00
Teknium 497b38126f refactor(agent/chat_completion_helpers): split _StreamingCall god methods into phase helpers, unify delta/diag/callback duplicates 2026-09-02 18:30:28 -07:00
Teknium 4f5d9da6da refactor(agent/codex_runtime): fold agent-callback guard, dedupe change filtering, extract stream close; collapse signatures (-19 LOC) 2026-09-02 18:30:17 -07:00
Teknium 6201b63d79 refactor(agent/chat_completion_helpers): direct_api_call lifecycle state -> _InlineRequest 2026-09-02 18:24:05 -07:00
Teknium ac268d2d7a refactor(agent/codex_responses_adapter): extract _OutputScan from _normalize_codex_response, share part-type/text-type/call-id helpers; compact docs (-49 LOC) 2026-09-02 18:22:57 -07:00
Teknium bcf6fee21d refactor(agent/chat_completion_helpers): fold interruptible_api_call into _NonStreamRequest; compact SSE error parsing helpers 2026-09-02 18:21:41 -07:00
Teknium 8c7271b4bf refactor(agent/chat_completion_helpers): split try_activate_fallback/handle_max_iterations into phase helpers 2026-09-02 18:18:37 -07:00
Teknium 3b17b4147d refactor(agent/bedrock_adapter): unify response accumulator, redacted decode, tool-arg parsing; compact docs (-144 LOC) 2026-09-02 18:15:22 -07:00
Teknium 113f04616b Merge branch 'simp/r2-state' into simp/integration2
# Conflicts:
#	hermes_state_messages.py
2026-09-02 17:49:43 -07:00
Teknium f07ff1026f Merge branch 'simp/r2-update-doctor' into simp/integration2 2026-09-02 17:49:26 -07:00
Teknium 9c65ca8a02 Merge branch 'simp/r2-models-runtime' into simp/integration2 2026-09-02 17:49:26 -07:00
Teknium 56202613ef Merge branch 'simp/r2-loop' into simp/integration2 2026-09-02 17:49:25 -07:00
Teknium 56c5798203 Merge branch 'simp/r2-kanban' into simp/integration2 2026-09-02 17:49:25 -07:00
Teknium 06fb390212 fix(integration): restore stdin=DEVNULL on computer_use subprocess calls dropped in simplification 2026-09-02 17:48:26 -07:00
Teknium 135973b5b6 Merge branch 'simp/r2-state-b' into simp/r2-state
# Conflicts:
#	hermes_state_messages.py
2026-09-02 17:35:13 -07:00
Teknium 1113b65f3e Merge branch 'simp/r2-state-c' into simp/r2-state 2026-09-02 17:34:33 -07:00
Teknium 37e0e1a76d refactor(kanban-cli): split the subcommand spec list so no function exceeds 300 LOC 2026-09-02 17:30:13 -07:00
Teknium f9f87d9876 refactor(kanban-cli): compact docstrings/comments in kanban.py keeping every rationale 2026-09-02 17:30:13 -07:00
Teknium 37b160d04e refactor(kanban-cli): extract dispatcher/maintenance verbs to kanban_ops; unify single-mutation ok/err reporting 2026-09-02 17:30:13 -07:00
Teknium c7f3578521 refactor(kanban-cli): extract boards cluster to kanban_boards; unify goal-gate, id/reason, run-state and config helpers across handlers 2026-09-02 17:30:12 -07:00
Teknium 62a1607fbf refactor(kanban-cli): extract data-driven argparse tree to kanban_parser and output helpers to kanban_output 2026-09-02 17:30:12 -07:00
Teknium 7dc43c94d1 refactor(turn): sub-split handle_api_error / check_api_response / run_tool_round so no new turn_* function exceeds 300 LOC 2026-09-02 17:28:22 -07:00
Teknium d52d8f988f Merge branch 'simp/r2-state-b' into simp/integration2 2026-09-02 17:27:36 -07:00
Teknium 857cf925b3 Merge branch 'simp/r2-tools-a' into simp/integration2 2026-09-02 17:27:36 -07:00
Teknium b1b171c0fe Merge branch 'simp/r2-gw-rest' into simp/integration2 2026-09-02 17:27:35 -07:00
Teknium 464ee35248 refactor(kanban-db): compact docstrings/comments in the four split modules (AST-identical, every WHY kept) 2026-09-02 17:27:14 -07:00
Teknium 8dca2031d3 Merge branch 'simp/r2-cli-rest-setup' into simp/integration2
# Conflicts:
#	hermes_cli/setup.py
2026-09-02 17:27:09 -07:00