Private
Public Access
0
0
Commit Graph

72 Commits

Author SHA1 Message Date
ed ea8061b418 fk ai 2026-06-03 14:13:40 -04:00
ed 8733528f67 fix(gui): Final monolithic stabilization and UI polish
- Restore monolithic architecture in gui_2.py to fix test compatibility.
- Implement full-width horizontal expansion for Markdown tables in discussion entries.
- Re-implement layered role-based tints using draw_list channels.
- Standardize Text Viewer docking ID to '###Text_Viewer_Unified'.
- Fix MiniMax compression routing and base URL.
- Fully restore missing theme_2.py definitions.
2026-06-02 18:04:49 -04:00
ed 8f6f47d46b fix(gui): Final monolithic stabilization pass
- Restore monolithic architecture in gui_2.py to fix test breakages and circular imports.
- Update Text Viewer stable ID to '###Text_Viewer_Unified' to definitively fix docking conflicts.
- Refactor discussion entry renderer to force full-width horizontal expansion for Markdown.
- Fully restore theme_2.py definitions (palettes, fonts, scale) while retaining role-tint logic.
- Robustify ImGui ID stack in imgui_scopes.py to prevent access violations.
- Verify all fixes with the comprehensive unit and visual test suite.
2026-06-02 17:30:46 -04:00
ed 9d6fca0e42 fix(gui): Resolve Markdown squashing, MiniMax compression error, and UI import issues
- Modularize discussion entry rendering to src/discussion_entry_renderer.py to fix layout squashing.
- Fix MiniMax compression routing with robust case-insensitive check and synced base URL.
- Implement src/ui_shared.py to resolve circular imports and consolidate shared UI helpers.
- Finalize Structural File Editor integration and state unification.
2026-06-02 03:28:09 -04:00
ed f116f027cf fix(gui): Resolve MiniMax compression error and fix Markdown table rendering
- Correctly route 'minimax' provider in run_discussion_compression.
- Fix MiniMax base URL to api.minimax.io to match main sender.
- Refactor read-mode discussion entries to always use a scrollable child with auto-resize.
- Remove redundant text wrapping that caused Markdown tables to squash vertically.
- Clean up duplicate separators in discussion hub.
2026-06-02 03:12:27 -04:00
ed e9ff6efe20 UX UX UX UX UX 2026-06-02 02:58:33 -04:00
ed 6e0d002d05 fix(minimax): Prevent dangling tool calls during history truncation
- Update _trim_minimax_history to drop dangling 'tool' messages if their parent 'assistant' message is removed.
- Fixes 'invalid params, tool call result does not follow tool call (2013)' error when token limit is hit.
2026-06-02 01:45:07 -04:00
ed 5b7b818ed2 feat(gui): Implement per-response token metrics and AI discussion compression
- Display token metrics (input/output/cache) per response in Discussion Hub.
- Add total Discussion Token usage in the panel header.
- Implement 'Compress' feature to intelligently summarize and replace exhausted discussion histories using an AI subagent.
2026-06-02 01:36:57 -04:00
ed 8cd6e7ed55 fix(minimax): implement history repair and truncation to prevent tool sequence errors
- Add _repair_minimax_history to close dangling tool calls from interrupted sessions.
- Add _trim_minimax_history to manage token limits and intelligently prune history.
- Integrate repair and trimming into _send_minimax loop.
- Resolves MiniMax error 2013 (tool call result does not follow tool call).
2026-06-01 22:20:42 -04:00
ed 607aeaf2d2 sigh 2026-05-16 04:10:33 -04:00
ed 6fc397cb00 reduce inline imports in ai client 2026-05-16 03:24:06 -04:00
ed c8545dfbea test(gui): Fix test_gui_window_controls_minimize_maximize_close unpacking error
Added missing mock for imscope.menu to prevent the test from entering the menu loops which expect valid imgui menu_item tuple return values.
2026-05-14 20:09:28 -04:00
ed c8e6a9585d test(gui): Fix test_discussion_tabs_rendered mock assertion
The test was incorrectly asserting against mock_imgui.begin_tab_item instead of the newly refactored mock_imscope.tab_item context manager pattern.
2026-05-14 20:08:14 -04:00
ed b5e512f483 feat(sdm): inject structural dependency mapping tags across codebase
Adds [C: caller] tags to functions/methods and [M: mutation] / [U: usage] tags to class variables based on cross-module call analysis.
2026-05-13 22:35:52 -04:00
ed fa4388bbe0 feat(app-controller): modularize handlers and enforce 1-space indentation 2026-05-13 21:26:29 -04:00
ed 34b1349c4f WIP: cleaning up ai_client.py 2026-05-13 19:06:33 -04:00
ed 7318d32f6b refactor(ai_client): Move ProviderError to module level 2026-05-13 18:20:27 -04:00
ed d67df948e5 progress ai forgot to push 2026-05-13 09:33:23 -04:00
ed 504c1afaa9 refactor(rag, minimax): silence HF Hub warnings and strictly filter highspeed models 2026-05-10 14:10:29 -04:00
ed ed95549f0a feat(minimax): dynamic model listing and validation to respect API entitlement 2026-05-10 14:06:20 -04:00
ed d18aaae0a1 feat(ai_client): add MiniMax-M2.7 to available models 2026-05-10 12:51:29 -04:00
ed c888e78691 refactor(ai_client): remove unused history management and bleed stats helpers 2026-05-10 11:43:50 -04:00
ed 8c06c1767b refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation. 2026-05-09 15:00:35 -04:00
ed 9f18497786 chore(conductor): Mark track 'Curate Provider Registries' as complete. Includes critical fixes for RecursionError, NoneType Hook API responses, and plurality mismatches. 2026-05-08 22:01:15 -04:00
ed 7d12806ce6 finally? 2026-05-07 13:42:31 -04:00
ed 7bed4a8f97 conductor(checkpoint): Final checkpoint for RAG Support track - Phase 4 complete 2026-05-04 22:36:31 -04:00
ed fe0069c046 feat(rag): Implement indexing and retrieval logic with AppController integration 2026-05-04 06:53:32 -04:00
ed 76c4ce3677 feat(aggregation): Implement sub-agent summarization pass 2026-05-04 04:52:40 -04:00
ed fbd03dc336 missing commits 2026-05-02 19:00:40 -04:00
ed 4f1bcea381 feat(ai): Implement configurable base system prompt and expose in UI 2026-05-02 14:49:47 -04:00
ed 2666a3390d feat(ai): Harden tool access exclusion across all providers 2026-05-02 13:23:00 -04:00
ed 29dd6ec36d refactor(ai): Audit and cleanup ai_client.py and gemini_cli_adapter.py 2026-05-02 13:02:53 -04:00
ed 7ae0d13278 conductor(checkpoint): Checkpoint end of Phase 3 2026-05-02 12:18:27 -04:00
ed f4c5a0be83 feat(ai_client): Support external MCP tools and HITL approval 2026-03-12 15:58:36 -04:00
ed 09902701b4 feat(ui): AI Settings Overhaul - added dual sliders for model params including top_p 2026-03-11 20:22:06 -04:00
ed 94598b605a checkpoint dealing with personal manager/editor 2026-03-10 23:47:53 -04:00
ed cad04bfbfc feat(bias): implement ToolBiasEngine and integrate into ai_client orchestration loop 2026-03-10 09:53:59 -04:00
ed dcc13efaf7 chore(conductor): Mark track 'Saved Tool Presets' as complete 2026-03-10 01:23:57 -04:00
ed 8beb186aff fix 2026-03-08 03:38:52 -04:00
ed a65dff4b6d a test for a test 2026-03-07 22:29:08 -05:00
ed f655547184 fixees 2026-03-07 14:49:39 -05:00
ed 6ab359deda fixes 2026-03-07 14:39:40 -05:00
ed a856d73f95 ok 2026-03-07 14:25:03 -05:00
ed 91d7e2055f wip 2026-03-07 14:13:25 -05:00
ed aaed011d9e fixing latency bugs on gui thread 2026-03-07 14:05:57 -05:00
ed d71d82bafb docs(conductor): Synchronize docs for track 'GUI Performance Profiling & Optimization' 2026-03-07 13:20:12 -05:00
ed d7a6ba7e51 feat(ui): Enhanced context control with per-file flags and Gemini cache awareness 2026-03-07 12:13:08 -05:00
ed 0fae341d2f fix(ai_client): add patch_callback param to _send_gemini_cli signature 2026-03-07 01:28:07 -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 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