Commit Graph

128 Commits

Author SHA1 Message Date
Ed_
0fae341d2f fix(ai_client): add patch_callback param to _send_gemini_cli signature 2026-03-07 01:28:07 -05:00
Ed_
fa29c53b1e fix(gui): patch modal ImGui API fixes - use vec4() for colors, proper button calls 2026-03-07 01:16:40 -05:00
Ed_
4f4f914c64 feat(tier4): Add 5-second delay before showing patch modal so user can see it 2026-03-07 00:58:32 -05:00
Ed_
f8e1a5b405 feat(tier4): Complete GUI integration for patch modal
- Add patch modal state to AppController instead of App
- Add show_patch_modal/hide_patch_modal action handlers
- Fix push_event to work with flat payload format
- Add patch fields to _gettable_fields
- Both GUI integration tests passing
2026-03-07 00:55:35 -05:00
Ed_
d520d5d6c2 fix: Add debug logging to patch endpoints 2026-03-07 00:45:07 -05:00
Ed_
14dab8e67f feat(tier4): Add patch modal GUI integration and API hooks 2026-03-07 00:37:44 -05:00
Ed_
90670b9671 feat(tier4): Integrate patch generation into GUI workflow
- Add patch_callback parameter throughout the tool execution chain
- Add _render_patch_modal() to gui_2.py with colored diff display
- Add patch modal state variables to App.__init__
- Add request_patch_from_tier4() to trigger patch generation
- Add run_tier4_patch_callback() to ai_client.py
- Update shell_runner to accept and execute patch_callback
- Diff colors: green for additions, red for deletions, cyan for headers
- 36 tests passing
2026-03-07 00:26:34 -05:00
Ed_
d58816620a feat(modal): Add patch approval modal manager
- Create src/patch_modal.py with PatchModalManager class
- Manage patch approval workflow: request, apply, reject
- Provide singleton access via get_patch_modal_manager()
- Add 8 unit tests for modal manager
2026-03-07 00:15:06 -05:00
Ed_
125cbc6dd0 feat(patch): Add patch application and backup functions
- Add create_backup() to backup files before patching
- Add apply_patch_to_file() to apply unified diff
- Add restore_from_backup() for rollback
- Add cleanup_backup() to remove backup files
- Add 15 unit tests for all patch operations
2026-03-07 00:14:23 -05:00
Ed_
99a5d7045f feat(diff): Add diff rendering helpers for GUI
- Add get_line_color() to classify diff lines
- Add render_diff_text_immediate() for immediate mode rendering
- Add tests for rendering functions
2026-03-07 00:13:10 -05:00
Ed_
130001c0ba feat(diff): Add diff parser for unified diff format
- Create src/diff_viewer.py with parse_diff function
- Parse unified diff into DiffFile and DiffHunk dataclasses
- Extract file paths, hunk headers, and line changes
- Add unit tests for diff parser
2026-03-07 00:12:06 -05:00
Ed_
c8e8cb3bf3 feat(tier4): Add patch generation for auto-patching
- Add TIER4_PATCH_PROMPT to mma_prompts.py with unified diff format
- Add run_tier4_patch_generation function to ai_client.py
- Import mma_prompts in ai_client.py
- Add unit tests for patch generation
2026-03-07 00:10:35 -05:00
Ed_
bc606a8a8d fix: Add minimax to tool call execution handler 2026-03-06 23:51:17 -05:00
Ed_
a47ea47839 temp: disable tools for minimax to debug API issues 2026-03-06 23:48:41 -05:00
Ed_
6cfe9697e0 fix: Use temperature=1.0 for MiniMax (required range is (0.0, 1.0]) 2026-03-06 23:46:17 -05:00
Ed_
ce53f69ae0 fix: Use correct MiniMax API endpoint (api.minimax.io not api.minimax.chat) 2026-03-06 23:43:41 -05:00
Ed_
af4b716a74 fix: Use absolute path for credentials.toml 2026-03-06 23:42:01 -05:00
Ed_
b79c1fce3c feat(provider): Add MiniMax AI provider integration
- Add minimax to PROVIDERS lists in gui_2.py and app_controller.py
- Add minimax credentials template in ai_client.py
- Implement _list_minimax_models, _classify_minimax_error, _ensure_minimax_client
- Implement _send_minimax with streaming and reasoning support
- Add minimax to send(), list_models(), reset_session(), get_history_bleed_stats()
- Add unit tests in tests/test_minimax_provider.py
2026-03-06 23:36:30 -05:00
Ed_
4921a6715c OK. 2026-03-06 23:07:08 -05:00
Ed_
cb57cc4a02 STILL FIXING 2026-03-06 22:03:59 -05:00
Ed_
12dba31c1d REGRESSSIOSSSOONNNNSSSS 2026-03-06 21:39:50 -05:00
Ed_
b88fdfde03 still in regression hell 2026-03-06 21:28:39 -05:00
Ed_
f65e9b40b2 WIP: Regression hell 2026-03-06 21:22:21 -05:00
Ed_
13453a0a14 still fixing regressions 2026-03-06 20:27:03 -05:00
Ed_
4c92817928 fixing regresssions 2026-03-06 20:12:35 -05:00
Ed_
0e9f84f026 fixing 2026-03-06 19:54:52 -05:00
Ed_
36a1bd4257 missing parse history entries 2026-03-06 19:25:33 -05:00
Ed_
f439b5c525 wip fixing regressions, removing hardcoded paths 2026-03-06 19:24:08 -05:00
Ed_
661566573c feat(mma): Complete Visual DAG implementation, fix link creation/deletion, and sync docs 2026-03-06 19:13:20 -05:00
Ed_
1c977d25d5 fix: Add missing _render_comms_history_panel method to gui_2.py 2026-03-06 19:04:09 -05:00
Ed_
df26e73314 fix: Add missing parse_history_entries function to models.py 2026-03-06 18:55:36 -05:00
Ed_
b99900932f fix: Remove reference to non-existent models.DISC_ROLES 2026-03-06 18:53:26 -05:00
Ed_
78e47a13f9 feat(gui): Add link deletion and DAG cycle validation to Visual DAG 2026-03-06 17:38:08 -05:00
Ed_
5956b4b9de feat(gui): Implement Visual DAG with imgui_node_editor
- Add node editor context and config in App.__init__
- Replace tree-based DAG with imgui_node_editor visualization
- Add selection detection for interactive ticket editing
- Add edit panel for selected ticket (view status, target, deps, mark complete, delete)
- Add ui_selected_ticket_id state variable
2026-03-06 17:35:41 -05:00
Ed_
af4a227d67 feat(mma): Implement Deep AST-Driven Context Pruning and mark track complete 2026-03-06 17:05:48 -05:00
Ed_
7da2946eff feat(mma): Implement worker pool and configurable concurrency for DAG engine and mark track 'True Parallel Worker Execution' as complete 2026-03-06 16:55:45 -05:00
Ed_
f580165c5b feat(conductor): Implement configurable paths and mark track 'Conductor Path Configuration' as complete 2026-03-06 16:43:11 -05:00
Ed_
2c90020682 WIP next tracks planing 2026-03-06 14:52:10 -05:00
Ed_
b8485073da feat(gui): Add 'Force Prune Logs' button to Log Management panel. 2026-03-06 14:33:29 -05:00
Ed_
81d8906811 fix(controller): Resolve syntax error in log pruning block. 2026-03-06 14:23:24 -05:00
Ed_
2cfd0806cf fix(logging): Update GUI and controller to use correct session log paths and fix syntax errors. 2026-03-06 14:22:41 -05:00
Ed_
5a484c9e82 fix(mcp): Restore synchronous dispatch and update mcp_server to use async_dispatch. 2026-03-06 14:03:41 -05:00
Ed_
9d5b874c66 fix(ai_client): Restore AI text capture and fix tool declaration in Gemini generation loop. 2026-03-06 13:47:22 -05:00
Ed_
87dbfc5958 feat(ai_client): Refactor tool dispatch to use asyncio.gather for parallel tool execution. 2026-03-06 13:14:27 -05:00
Ed_
60e1dce2b6 feat(mcp_client): Add async_dispatch and support for concurrent tool execution. 2026-03-06 13:11:48 -05:00
Ed_
684a6d1d3b feat(ai_client): isolation of current_tier using threading.local() for parallel agent safety 2026-03-06 12:59:18 -05:00
Ed_
1fb6ebc4d0 idk why these weren't committed 2026-03-06 12:48:02 -05:00
Ed_
84de6097e6 chore(conductor): Finalize track 'Robust JSON Parsing for Tech Lead' and cleanup static analysis 2026-03-06 12:36:24 -05:00
Ed_
880ef5f370 feat(conductor): Add retry loop for Tech Lead JSON parsing 2026-03-06 12:30:23 -05:00
Ed_
a16ed4b1ae sigh 2026-03-06 12:05:24 -05:00