Commit Graph

13 Commits

Author SHA1 Message Date
Pedram Amini
b72ae7da08 MAESTRO: audit useModalManager - remove dead hook and stale ARCHITECTURE.md references
Removed dead code:
- useModalManager.ts (136 lines) - never imported by application code
- useModalManager.test.ts (686 lines) - tests for dead hook

The codebase uses useLayerStack + LayerStackContext for modal management
which provides a more sophisticated API (escape delegation, modal vs
overlay distinction, onBeforeClose support, debug APIs, focus traps).

Also removed stale ARCHITECTURE.md references to useFocusManager
(removed in Task 98).
2025-12-21 01:50:53 -06:00
Pedram Amini
53acecf0f2 OAuth enabled but no valid token found. Starting authentication...
Found expired OAuth token, attempting refresh...
Token refresh successful
POST "https://api.anthropic.com/v1/messages": 429 Too Many Requests {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CWJa3o6GdjJKgdNY7G8EN"}
2025-12-20 14:29:18 -06:00
Pedram Amini
43c24abea5 MAESTRO: align process service spawn config 2025-12-20 05:43:27 -06:00
Pedram Amini
797601a688 POST "https://api.anthropic.com/v1/messages": 429 Too Many Requests {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CWH51RwMiG7Si6sWHfqRx"} 2025-12-19 19:27:17 -06:00
Pedram Amini
b1faa9f310 MAESTRO: Implement Phase 2 of multi-provider refactor - Identifier Renames
This commit completes Phase 2 of the multi-provider refactoring plan,
renaming Claude-specific identifiers to generic "agent" terminology.

Type Definition Changes:
- AITab interface: claudeSessionId → agentSessionId
- Session interface: claudeSessionId → agentSessionId, claudeCommands → agentCommands
- HistoryEntry interface: claudeSessionId → agentSessionId
- Created AgentSession interface (formerly ClaudeSession), with backward-compatible alias

Files Updated:
- 47 source files across renderer, main, web, cli
- 33 test files
- Documentation (CLAUDE.md, ARCHITECTURE.md)

All 10,701 tests pass. Build successful across main, renderer, web, and CLI.
2025-12-16 19:58:34 -06:00
Pedram Amini
098453e621 ## CHANGES
- Updated `/synopsis` command to `/history` throughout the codebase 🔄
- Enhanced file preview with binary file detection and handling 📁
- Added file type icons (image, text, file) in FileSearchModal 🎨
- Improved file filtering to show only previewable files 🔍
- Added visible/hidden file toggle in FileSearchModal 👁️
- Fixed theme synchronization between desktop and web clients 🎨
- Removed cross-session history view mode for cleaner UX 🧹
- Added external file extension handling for more formats 📄
- Fixed AutoRun panel keyboard shortcut conflict with Cmd+E ⌨️
- Added binary content detection to prevent garbled previews 🛡️
2025-12-16 17:55:01 -06:00
Pedram Amini
6a917ccc1b docs: add multi-agent support architecture, expand documentation
- Add AGENT_SUPPORT.md with comprehensive multi-agent architecture design
  - Agent capability model for controlling UI feature availability
  - Refactoring plan for abstracting Claude-specific code
  - Implementation guides for adding new agents (OpenCode, Gemini CLI, etc.)
  - Test impact analysis and migration strategy

- Expand ARCHITECTURE.md with new sections:
  - Achievement system, AI tab system, execution queue
  - Navigation history, web/mobile interface, CLI tool
  - Shared module, remote access & tunnels
  - Updated hooks documentation (15 custom hooks)
  - Expanded IPC API surface reference

- Update CONTRIBUTING.md:
  - Add detailed "Adding a New AI Agent" section
  - Agent capability checklist for new implementations
  - UI feature availability matrix

- Update CLAUDE.md with latest vernacular and patterns

- Various UI improvements:
  - Enhanced history panel with better modal handling
  - Session list refinements
  - Improved template variable handling
  - Mobile interface view state utilities

Claude ID: c19f7b47-0dca-46a5-b8b4-4ca2381c1c71
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-08 17:11:31 -06:00
Pedram Amini
26c98b192d MAESTRO: Add Auto Run System section to ARCHITECTURE.md
Document the complete Auto Run system architecture including:
- Component architecture table (AutoRun, BatchRunnerModal, Playbook modals)
- Data types (BatchDocumentEntry, WorktreeConfig, BatchRunConfig, BatchRunState, Playbook)
- Session fields for Auto Run state persistence
- IPC handlers for document and playbook operations
- Git worktree integration for parallel work isolation
- Execution flow from setup through batch processing
- Write queue integration behavior
2025-12-03 01:57:08 -06:00
Pedram Amini
5deca296ff docs: Simplify README and move architecture diagram to ARCHITECTURE.md
- Streamline Key Concepts table with clearer terminology
- Move Mermaid architecture diagram to ARCHITECTURE.md
- Rename "Project" to "Agent" in diagram labels for consistency
- Keep README focused on user-facing information

Claude ID: 900964ee-78bd-47d3-af6a-f8ef6112e80c
Maestro ID: 5a166b38-b7e9-47f0-a8ff-0113c65f2682
2025-11-30 02:54:38 -06:00
Pedram Amini
c5a0535c46 feat: Add accentForeground theme color for proper text contrast on accent backgrounds
- Add accentForeground color to all 16 themes for proper text contrast
  when rendering text on accent-colored backgrounds
- Update UI components to use accentForeground instead of hardcoded
  white/dark colors for buttons and highlighted elements
- Refresh Maestro's Choice and Dre Synth theme palettes
- Add Save button to Batch Runner modal for persisting custom prompts
- Fix sidebar resize not saving width correctly during drag
- Queue custom AI commands when agent is busy (like regular messages)
- Update search placeholder in Scratchpad to show correct shortcuts
- Update docs to reflect 13 theme colors (was 12)

Claude ID: ac8e7811-8742-4991-b9ce-9c03629b8288
Maestro ID: 5a166b38-b7e9-47f0-a8ff-0113c65f2682
2025-11-28 18:14:48 -06:00
Pedram Amini
ab02fab0b8 feat: Add global Claude stats with streaming updates and UI refinements
- Add claude:getGlobalStats IPC handler that calculates stats across all
  Claude projects (~/.claude/projects/) with streaming progress updates
- Add onGlobalStatsUpdate listener for real-time stats progress in UI
- Refactor AboutModal to fetch global stats on mount instead of receiving
  persisted stats prop, with loading state and animated cost counter
- Fix busy indicator to only show when busySource matches current inputMode
- Add isSystemCommand property to CustomAICommand for special handling
- Add /synopsis as built-in system command (handled by slashCommands.ts)
- Remove duplicate Built-in System Commands section from AICommandsPanel
- Update CLAUDE.md and ARCHITECTURE.md to document new global stats API

Claude ID: ac8e7811-8742-4991-b9ce-9c03629b8288
Maestro ID: 5a166b38-b7e9-47f0-a8ff-0113c65f2682
2025-11-28 17:49:31 -06:00
Pedram Amini
bbf6612f35 feat: Mobile-first remote access with QR codes and live sessions
Redesign the web server architecture for simplified mobile remote control:

- Replace per-session web servers with single server using random port and
  auto-generated security token for secure access
- Add "Live Session" toggle to enable/disable individual sessions for remote access
- Add QR code component for easy mobile connection scanning
- Remove tunnel settings and complex authentication management
- Add network utilities for IP address detection

Mobile web interface improvements:
- Device color scheme preference support (light/dark mode)
- Connection status indicator with automatic reconnection
- Offline queue for commands typed while disconnected
- Swipe gestures for common actions
- Quick actions menu for the send button

Update documentation to reflect new mobile-first remote access approach.

Claude ID: 3dd3573f-bed1-4a0e-984c-10081124092a
Maestro ID: 5a166b38-b7e9-47f0-a8ff-0113c65f2682
2025-11-27 21:42:03 -06:00
Pedram Amini
36cb1b03d8 document refactor 2025-11-26 02:21:43 -06:00