Commit Graph

471 Commits

Author SHA1 Message Date
ed b8155c0745 fix(gui): simplify Files & Media collapsing headers to avoid scope mismatch 2026-05-10 16:42:26 -04:00
ed dbfbb05899 fix(gui): add resizable splitter between Files and Screenshots panels
Added:
- _files_split_v state (0.5 default) for split ratio
- _files_open and _shots_open tracking for collapse state
- Splitter bar between collapsing headers when both open
- Splitter updates _files_split_v based on mouse drag
2026-05-10 16:41:28 -04:00
ed 6b612deb23 fix(gui): proper splitter placement for persona and bias panels
- Persona editor: splitter shown when BOTH models and prompt open (not just prompt)
- Bias profiles: move splitter OUTSIDE btool_scroll child, between both sections
- Fixed nesting issues causing EndTable/EndChild errors
2026-05-10 16:40:44 -04:00
ed 5e1700744f fix(gui): improve tool preset manager adaptive sizing
- When both sections open: use min(h, max(200, rem_y*0.3)) for tools, min(h, max(150, rem_y*0.5)) for bias
- Single section open: cap at 400px instead of hard small values
- This preserves split ratio while ensuring minimum readable sizes
2026-05-10 16:37:11 -04:00
ed e0f1d7840f fix(gui): cap persona system prompt text box height at 300px 2026-05-10 16:35:28 -04:00
ed 6b43e2f5cd fix(gui): cap tool preset and persona panel child heights
- Tool preset manager: h1 max 250px, h2 max 200px
- Persona editor: h1 max 300px
Prevents excessive empty space when panels are mostly empty.
2026-05-10 16:33:36 -04:00
ed d28fd58f03 fix(gui): limit Files & Media collapsible child height to reasonable max
The begin_child() was using (0, -40) which made it stretch to fill parent.
Changed to (0, min(len(items) * 30 + 50, 300)) so it:
- Sizes to content (30px per row + 50px header)
- Caps at 300px max height
- Allows scrolling when content overflows
2026-05-10 16:30:54 -04:00
ed 0f180e8c4b fix(gui): fix typo current_cat_tools -> curr_cat_tools in tool preset manager 2026-05-10 16:27:53 -04:00
ed eea7f90607 fix(gui): fix imgui.selectable() signature mismatch in _render_history_window
selectable() now requires p_selected bool arg, not just label.
Changed to use _, selected = imgui.selectable(label, False) pattern.
2026-05-10 16:25:16 -04:00
ed 45a3664f85 refactor: remove dead main_context field from Project Settings
The main_context field in Project Settings was stored but never used.
Nothing reads it to inject into AI context. System Prompt in AI Settings
already serves this purpose.

Removed:
- app_controller.py: ui_project_main_context state variable and all refs
- gui_2.py: Main Context File UI section from Projects panel
- project_manager.py: main_context from default_project()
- project.toml, manual_slop.toml, gencpp_manual_slop_template.toml: main_context entries
2026-05-10 16:23:21 -04:00
ed bb468a5f7d fix(ast): improve C++ name extraction for complex return types 2026-05-10 15:33:15 -04:00
ed 2a71aff18c WIP: Phase 6 review 2026-05-10 15:14:54 -04:00
ed 7974f661b3 fix(phase6): resolve minimax regression and context snapshotting crash 2026-05-10 14:58:29 -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 bb00793696 feat(project): project-level logs and scripts path isolation 2026-05-10 14:02:51 -04:00
ed 16b99d16a4 feat(context): Interactive Text Slice Highlighting with Fuzzy Anchors 2026-05-10 13:57:01 -04:00
ed e9eda04a6c feat(history): Context snapshotting per discussion/take 2026-05-10 13:38:59 -04:00
ed b4f8633bd6 feat(context): Interactive AST Tree Masking with per-symbol toggles 2026-05-10 13:28:15 -04:00
ed 62d8573004 feat(ui): add shift-click range selection to context batch operations 2026-05-10 13:12:13 -04:00
ed 51f804debc feat(ui): add batch operations to context composition panel 2026-05-10 13:09:15 -04:00
ed cba79350de feat(context): Granular AST Control for C/C++ files 2026-05-10 13:05:32 -04:00
ed d18aaae0a1 feat(ai_client): add MiniMax-M2.7 to available models 2026-05-10 12:51:29 -04:00
ed ff29e20873 refactor(infra): cull unused infrastructure and file cache helpers 2026-05-10 11:53:14 -04:00
ed 8bb9287dfe refactor(ui): cull unused UI helpers and redundant modules 2026-05-10 11:50:00 -04:00
ed c888e78691 refactor(ai_client): remove unused history management and bleed stats helpers 2026-05-10 11:43:50 -04:00
ed 05d0121e71 fixes 2026-05-10 11:33:07 -04:00
ed f89f8d4fd7 fix(gui): repair flaky simulation tests by adding ui_focus_agent to settables and removing invalid assertions 2026-05-10 10:46:54 -04:00
ed 76f4e1be4f refactor(aggregate): consolidate build_markdown and remove redundant file building 2026-05-10 10:13:56 -04:00
ed bcb0216ad9 refactor(aggregate): use standard formatting in build_tier3_context 2026-05-10 10:00:02 -04:00
ed c4a738c8ba refactor(aggregate): remove deprecated build_tier1_context and build_tier2_context 2026-05-09 17:44:15 -04:00
ed b958fa2819 refactor(phase5): Comprehensive stabilisation pass. De-duplicated App/Controller state, hardened session reset, and updated integration tests with deterministic polling. 2026-05-09 16:55:45 -04:00
ed 7b7f53fff9 feat(gui): Implement cb_load_prior_log wrapper in App class 2026-05-09 15:13:24 -04:00
ed 04ce727718 refactor(controller): Remove Tkinter and hide_tk_root from AppController 2026-05-09 15:13:13 -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 696c08692e refactor(sdm): Refine SDM tags to 'External Only' and update core files. Pruned internal references to conserve tokens. 2026-05-09 14:55:06 -04:00
ed b3065b0b17 refactor(controller): Replace legacy _set_status calls with direct property assignment 2026-05-09 08:36:33 -04:00
ed 6bec4b86ef feat(controller): Implement @property and @setter for ai_status and mma_status 2026-05-09 08:32:28 -04:00
ed 04eff51eb9 feat(controller): Add private _ai_status and _mma_status attributes to AppController 2026-05-09 08:19:01 -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 e12c34b8fe progression. 2026-05-07 23:39:52 -04:00
ed 1b5f51a17b chore(conductor): Complete Comprehensive Path Mapping & Tooling 2026-05-07 22:59:26 -04:00
ed 86fa1dd67d feat(gui): track VSCode diff process, close it when patch modal closes
- Store _vscode_diff_process after launching external editor
- Add _close_vscode_diff() helper to terminate the process
- Call _close_vscode_diff() when Apply Patch or Reject is clicked
2026-05-07 21:30:23 -04:00
ed f137295e92 fix(external_editor): only auto-detect when no editors configured 2026-05-07 21:08:07 -04:00
ed fa0026371d fix(external_editor): rewrite corrupted file, proper function ordering 2026-05-07 21:04:55 -04:00
ed ca4719687a fix(external_editor): cache auto-detect result, avoid hitting registry on every UI frame 2026-05-07 21:00:41 -04:00
ed b70b837885 test: Add GUI integration tests for external editor with live_gui fixture
Note: Due to process boundaries (GUI runs in subprocess), monkeypatch doesn't
cross to GUI subprocess. Manual verification requires configuring
config.toml in project root with VSCode path.
2026-05-07 20:42:36 -04:00
ed f78042969d fix(gui): Use theme colors in External Editor panel 2026-05-07 19:48:06 -04:00
ed 630c9abd3a feat(gui): Improve External Editor panel with combo selector
- Add dropdown combo to select default editor
- Add _set_external_editor_default method to save selection to config
- Clean up layout and improve visual hierarchy
- Add better color coding for configured vs default editors
2026-05-07 19:35:49 -04:00
ed 8fe366e041 fix(external-editor): Fix TextEditorConfig parsing and add error handling
- TextEditorConfig.from_dict no longer requires 'name' field since name comes from dict key
- Added try/except around _render_external_editor_panel to prevent tab bar mismatch
2026-05-07 19:30:45 -04:00