Commit Graph

51 Commits

Author SHA1 Message Date
Pedram Amini
a8edadbdcf feat: add ESLint with TypeScript/React plugins and fix all lint errors
- Add ESLint 9 configuration (eslint.config.mjs) with TypeScript and React hooks plugins
- Add npm run lint:eslint command for code quality checks
- Expand npm run lint to check all three TypeScript configs (renderer, main, cli)
- Update tsconfig.cli.json to include src/prompts and src/types directories

Fix 29 ESLint errors:
- Remove unused updateCliActivity import in batch-processor.ts
- Convert {false && <jsx>} patterns to comments in AutoRun components
- Wrap case block with const declarations in braces (AgentSelectionScreen)
- Fix unused expression pattern in PreparingPlanScreen
- Fix conditional hook calls in FilePreview, OfflineQueueBanner, RecentCommandChips, TerminalOutput
- Add windows-diagnostics.json to PackageContents interface

Update CLAUDE.md and CONTRIBUTING.md with new linting commands and documentation.

Claude ID: 029e8abe-5734-4967-9fb4-c85078c1973d
Maestro ID: 87ffa06e-0ecd-4eb8-b327-dad1ec24f7a9
2025-12-22 21:20:53 -06:00
Pedram Amini
0a6c87c9ab ## CHANGES
- Added Git Worktrees for truly parallel, conflict-free multi-agent development! 🌳
- Introduced Worktree sub-agents nested under parents for clean organization! 🌿
- Built WorktreeConfigModal to manage base paths and watching behavior! ⚙️
- Added one-click Pull Request creation for worktree child sessions! 🔀
- Integrated Create PR actions into sidebar context menus and shortcuts! ⌨️
- Updated git status dropdown with “Configure Worktrees” and PR actions! 🧩
- Reworked Auto Run guidance to promote worktree sessions for parallelism! 🚀
- Removed Auto Run’s embedded worktree UI, simplifying batch runner flow! 🧹
- Simplified playbooks by dropping stored worktree settings entirely! 📓
- Polished tab starring safety by blocking stars on unsaved tabs! 
2025-12-22 00:59:40 -06:00
Pedram Amini
b09d88f5bf MAESTRO: audit AutoRun - remove unused legacy onChange prop
- Remove dead code: legacy `onChange` prop that was marked for backwards
  compatibility but never used (all callers use `onContentChange` instead)
- Removes 3 occurrences: interface definition, destructuring, and fallback
2025-12-21 03:20:46 -06:00
Pedram Amini
ca836be798 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_011CWH1uG2HcPbZAxcTH9eWX"}
2025-12-19 18:46:33 -06:00
Pedram Amini
55e0ad51e2 I'd be happy to help you create a clean update summary for your GitHub project! However, I don't see any input provided after "INPUT:" in your message.
Could you please share the changelog, commit history, pull request details, or any other information about what has changed in your project since the last release? This could include:

- Git commit messages
- Pull request descriptions
- Release notes draft
- Feature additions
- Bug fixes
- Breaking changes
- Dependencies updates

Once you provide this information, I'll create an exciting CHANGES section with clean 10-word bullets and relevant emojis as requested!
2025-12-19 13:42:48 -06:00
Pedram Amini
7c6e042f42 # CHANGES
- Fixed LayerStack integration for AutoRun tests to prevent modal priority conflicts 🎯
- Added custom shell configuration with path override, arguments, and environment variables 🐚
- Implemented per-session model configuration that overrides global agent settings 🤖
- Enhanced Wizard with project file context for better existing project detection 📁
- Fixed group chat storage to respect custom sync paths and demo mode properly 💾
- Improved shell detection UI to handle unavailable shells with custom path option 🔍
- Added environment variable editor with stable key editing for shell sessions 🔧
- Fixed AutoRun lightbox image path handling for relative attachment URLs 🖼️
- Added auth token recovery flow for leaderboard registration edge cases 🏆
- Migrated legacy terminal sessions to use claude-code agent automatically ♻️
2025-12-19 10:40:31 -06:00
Pedram Amini
bb398c542c ## CHANGES
- Added read-only mode support for group chat messages 📖
- Implemented message queueing when moderator is busy 📬
- Added drag-and-drop reordering for queued messages 🔄
- Enabled @mention autocomplete for all Maestro agents 🤖
- Added keyboard navigation for mention suggestions ⌨️
- Synchronized staged images between group chat and composer 🖼️
- Added group chat statistics to info overlay 📊
- Fixed CSS conflicts between prose containers 🎨
- Added auto-expand when new group chat is created 
- Improved group chat UI with better visual indicators 💫
2025-12-18 15:54:27 -06:00
Pedram Amini
ad4af64604 OAuth enabled but no valid token found. Starting authentication...
Found expired OAuth token, attempting refresh...
Token refresh successful
I'm ready to analyze your GitHub project changes and create an exciting update summary! However, I don't see any input provided after "INPUT:" in your message.

Please share the changelog, commit history, pull request descriptions, or any other information about what has changed in your GitHub project since the last release. This could include:

- Git commit logs
- Pull request summaries
- Release notes draft
- Feature descriptions
- Bug fixes
- Any other relevant changes

Once you provide the input, I'll create a clean, exciting CHANGES section with 10-word bullets and relevant emojis as requested! 🚀
2025-12-17 10:58:56 -06:00
Pedram Amini
5584eb345c MAESTRO: Implement Phase 5.10 - Auto Run error handling
Add error handling to Auto Run batch processing so it pauses when
agent errors (auth, rate limits, etc.) occur during execution.

Changes:
- Add error state fields to BatchRunState interface
- Add error handling functions to useBatchProcessor:
  pauseBatchOnError, skipCurrentDocument, resumeAfterError, abortBatchOnError
- Wire agent error detection to pause batch processing in App.tsx
- Add error banner UI in AutoRun panel with Skip/Resume/Abort buttons
- Update AutoRunExpandedModal to support error handling props
- Pass error callbacks through RightPanel component
2025-12-16 20:45:51 -06:00
Pedram Amini
5bff4704ed # CHANGES
- File preview history now tracked per-session instead of globally 🎯
- Search navigation only scrolls when using prev/next buttons, not typing 🚀
- Added flag to distinguish manual navigation from search input changes 
- File preview history clears when switching between agents/sessions 🧹
- Search focus and text selection improved after navigation 🎨
- Moved history state from App component to Session type definition 📦
- Added useCallback hooks for optimized history state updates 🔧
- Prevented unnecessary scrolling during live search typing ⌨️
- Enhanced user experience with smarter scroll-to-match behavior 🎪
- Session-based history prevents cross-agent file navigation conflicts 🛡️
2025-12-16 11:56:30 -06:00
Pedram Amini
3ea6adb101 # CHANGES
- Fixed text measurement for accurate scroll positioning in AutoRun component 🎯
- Enhanced textarea style copying for precise height calculations 📏
- Improved scroll-to-match functionality with better vertical positioning 🔍
- Added explicit overflow handling for measurement accuracy 💪
- Optimized match highlighting with centered viewport scrolling 
- Refined temporary element styling for consistent measurements 🎨
- Streamlined scroll target calculation for smoother navigation 🚀
- Enhanced code comments for better maintainability 📝
- Improved cross-browser compatibility for text measurements 🌐
- Polished user experience when searching within textarea content 🎉
2025-12-16 01:34:14 -06:00
Pedram Amini
f63676bc31 ## CHANGES
- Simplified search highlighting by removing separate component 🎯
- Integrated search directly into markdown rendering pipeline 🔄
- Added match counter for tracking search positions globally 🔢
- Implemented text node handler for inline search highlights 
- Removed duplicate preview mode search rendering logic 🧹
- Enhanced search with callback for match element tracking 📍
- Unified search highlighting across all markdown content 🔗
- Improved performance by eliminating redundant DOM updates 
- Added data attributes for better match identification 🏷️
- Streamlined codebase by removing 70+ lines of code 🚀
2025-12-16 01:01:39 -06:00
Pedram Amini
9cd908c579 # CHANGES
- Enhanced update checker to filter out prerelease tags like -rc, -beta, -alpha 🚀
- Improved release filtering logic for cleaner version management and updates 🎯
- Fixed search display to only show highlights when matches are found 🔍
- Optimized AutoRun component search rendering for better user experience 
- Added comprehensive prerelease pattern matching for tag filtering accuracy 🛡️
- Refined conditional rendering logic in search functionality for cleaner UI 🎨
- Strengthened version comparison by excluding development and canary builds 💪
- Improved search result visibility by checking for actual matches first 👁️
- Enhanced release fetching with more robust filtering against draft releases 📦
- Streamlined search highlighting to prevent empty search result displays 🔧
2025-12-16 00:40:19 -06:00
Pedram Amini
8db72cc4c0 # CHANGES
- Enhanced Auto Run to only lock documents being processed 🔒
- Added selective document locking for better multi-file editing 📝
- Improved editor access for non-processed files during runs 
- Introduced lockedDocuments tracking in batch processing state 📊
- Fixed editor locking logic to check document inclusion 🔧
- Maintained free editing for worktree-based Auto Runs 🌳
- Added document-specific locking to prevent accidental edits 🛡️
- Improved multi-document workflow with granular access control 🎯
- Enhanced user experience by allowing parallel document work 🚀
- Optimized batch processor with smarter document management 💡
2025-12-14 18:37:52 -06:00
Pedram Amini
614fba8cb1 # CHANGES
- Auto Run now supports worktree mode for safer parallel editing! 🌳
- Editor stays unlocked when Auto Run uses worktree branches 🔓
- Visual worktree indicators added to UI status displays 🎯
- Git branch icon shows active worktree in multiple panels 🌿
- Worktree branch name appears in helpful hover tooltips 💡
- Main repository remains editable during worktree Auto Runs ✏️
- Auto Run status pill enhanced with worktree information 🏷️
- Improved developer workflow with non-blocking Auto Run mode 🚀
- Better visual feedback for worktree-based operations 👁️
- Seamless integration of worktree status across all panels 🔄
2025-12-14 17:42:53 -06:00
Pedram Amini
e6551782d4 fix: sync Auto Run draft content between panel and expanded modal
When editing in the Auto Run editor panel, changes were not being
carried over to the expanded modal view, and vice versa. This was
because both views rendered separate AutoRun component instances
with their own internal localContent state.

Fixed by implementing shared draft state management at the RightPanel
level that both instances read from and write to:

- Added externalLocalContent/onExternalLocalContentChange props to
  AutoRun for external state management
- RightPanel maintains sharedLocalContent/sharedSavedContent state
- Both panel and modal AutoRun instances use this shared state
- Internal state provides immediate feedback while syncing to shared
- On remount, AutoRun restores from shared state (persists drafts)

Updated tests to reflect the new behavior where drafts now persist
across tab switches instead of being lost.

Claude ID: ace07043-181b-4c1a-8877-de29e514067c
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-14 12:16:22 -06:00
Pedram Amini
2b5472707f ## CHANGES
- Added debug logging for file write operations to trace cross-session contamination 🔍
- Removed automatic content update after save to prevent session mixing issues 🛡️
- Moved Cmd+S keyboard shortcut handling to unified keyboard event handler 🎹
- Added explicit event propagation control for better keyboard shortcut management 
- Improved file save reliability during rapid session switching scenarios 🚀
- Enhanced debug console output for tracking write operations across sessions 📊
- Simplified save function to prevent unintended side effects on active sessions 
- Consolidated keyboard event handling into single comprehensive handler 🎯
- Added stopPropagation to Cmd+S to prevent conflicts with other shortcuts 🔒
- Streamlined content synchronization between editor and file system 🔄
2025-12-14 00:57:00 -06:00
Pedram Amini
e8d27615fd # CHANGES
- Replaced auto-save with manual save model for better control 🎯
- Added Save and Revert buttons when content has unsaved changes 💾
- Implemented Cmd+S keyboard shortcut for quick saving ⌨️
- Fixed content cross-contamination between sessions and documents 🔒
- Moved content storage to per-session state instead of global 📦
- Added dirty state tracking to show when changes need saving 🚨
- Improved UI to hide controls when no folder is selected 🎨
- Added save confirmation before running batch operations 
- Enhanced modal with matching save/revert functionality 🔄
- Fixed image button visibility in both edit and preview modes 🖼️
2025-12-14 00:40:13 -06:00
Pedram Amini
88e95237a2 ## CHANGES
- Fixed content saving to wrong session when switching quickly 🔧
- Added tracking refs to ensure content saves to correct file 📁
- Improved blur-save logic to use tracked folder/file references 💾
- Enhanced auto-save to capture target paths at schedule time ⏱️
- Prevented content mix-ups between different session folders 🚫
- Updated dependency arrays to avoid unnecessary re-scheduling 🔄
- Added critical comments explaining the session-switching fix 📝
- Maintained content integrity across rapid session changes 
- Improved reliability of 5-second auto-save functionality 
- Enhanced overall stability of multi-session document editing 🛡️
2025-12-14 00:02:50 -06:00
Pedram Amini
10f30abbc6 OAuth enabled but no valid token found. Starting authentication...
Found expired OAuth token, attempting refresh...
Token refresh successful
# CHANGES

- Improved task count display in document selector with completion percentages 🎯
- Fixed content saving when switching between documents and sessions 💾
- Added starred session persistence through Claude session origins 🌟
- Enhanced document selector dropdown to show wider for better visibility 📐
- Fixed test cases for proper content preservation during switches 
- Added real-time task counting for all documents in the folder 📊
- Improved wizard validation to require agent name before proceeding 🧙
- Updated tests to use new starred session storage mechanism 🔧
- Fixed dropdown styling to properly highlight selected documents 🎨
- Enhanced auto-save behavior to prevent data loss between documents 🛡️
2025-12-13 23:06:54 -06:00
Pedram Amini
a952bd8d9f # CHANGES
- Added client/auth token support for leaderboard email verification 🔐
- Implemented automatic polling after email confirmation submission 🔄
- Added manual auth token entry UI for confirmed emails 🔑
- Fixed auto-save content leak between sessions with same filenames 🐛
- Prevented session content mixing during rapid tab switching 💾
- Added Cmd+Shift+E shortcut to toggle Auto Run expanded view ⌨️
- Improved button layout in file explorer (dotfiles toggle moved) 👁️
- Enhanced search placeholder text to differentiate filter vs search 🔍
- Fixed keyboard shortcut conflicts (Cmd+E, Cmd+F) in AutoRun 🎹
- Updated leaderboard UI with better confirmation flow messaging ✉️
2025-12-13 22:15:12 -06:00
Pedram Amini
e539379168 # CHANGES
- Added leaderboard opt-out functionality with server removal request 🚪
- Enhanced focus toggle between input field and output panel 🔄
- Improved Auto Run stall detection for unchanged document content 🛑
- Added task completion counter display in Auto Run interface 
- Fixed scroll position synchronization between edit/preview modes 📜
- Updated shortcut labels to preserve user's custom key bindings ⌨️
- Added hover bridge for thinking status dropdown accessibility 🌉
- Enhanced toast duration formatting to support days display ⏱️
- Fixed history panel scroll position preservation on refresh 📍
- Added sidebar DOM focus for better keyboard navigation support 🎯
2025-12-13 21:00:37 -06:00
Pedram Amini
755a14f88e fix: Resolve variable initialization order and update test assertions
Source code fixes:
- AutoRun.tsx: Move useEffect that uses resetUndoHistory after useAutoRunUndo hook
- BatchRunnerModal.tsx: Move worktree state declarations before usePlaybookManagement hook

Test fixes:
- QuickActionsModal: Update markdown toggle text to "Toggle Edit/Preview"
- TabSwitcherModal: Update footer hint text to match new UI
- BatchRunnerModal: Remove obsolete document selector escape test
2025-12-13 11:54:45 -06:00
Pedram Amini
1cc4a02b04 MAESTRO: Extract markdownConfig to shared module from AutoRun.tsx (~79 lines)
Created src/renderer/utils/markdownConfig.ts (274 lines) with:
- generateProseStyles: Configurable prose CSS generator with options for
  colored headings, compact spacing, and checkbox styles
- createMarkdownComponents: Factory for ReactMarkdown component overrides
  with custom language renderers (e.g., mermaid) and image handlers
- Convenience exports: generateAutoRunProseStyles, generateTerminalProseStyles

AutoRun.tsx now uses shared utilities:
- Replaced inline proseStyles useMemo with generateAutoRunProseStyles
- Replaced inline markdownComponents with createMarkdownComponents factory
- Removed unused SyntaxHighlighter and vscDarkPlus imports
- Reduced from ~1561 to ~1482 lines (5.1% decrease)

The shared module enables consistent markdown rendering across AutoRun,
TerminalOutput, and future components requiring markdown support.
2025-12-13 04:42:59 -06:00
Pedram Amini
b65555f5b1 MAESTRO: Extract useAutoRunImageHandling hook from AutoRun.tsx (~228 lines) 2025-12-13 04:38:08 -06:00
Pedram Amini
7e18520aa0 MAESTRO: Extract useAutoRunUndo hook from AutoRun.tsx (~117 lines) 2025-12-13 04:32:55 -06:00
Pedram Amini
76d464ac79 MAESTRO: Extract AutoRunSearchBar component from AutoRun.tsx (~53 lines) 2025-12-13 04:24:11 -06:00
Pedram Amini
fc3a3675a9 MAESTRO: Extract AutoRunLightbox component from AutoRun.tsx (~129 lines)
- Created AutoRunLightbox.tsx (217 lines) as self-contained image viewer
- Component handles carousel navigation, copy-to-clipboard, delete
- Keyboard shortcuts: arrows (navigate), Escape (close), Delete (remove)
- Removed unused imports from AutoRun.tsx: ChevronLeft, Copy, Check, Trash2
- AutoRun.tsx reduced from ~2088 to ~1959 lines (6.2% decrease)
2025-12-13 04:20:58 -06:00
Pedram Amini
e5d15b77d2 feat: Add Discord link to About Modal and Command K menu
- Add Discord icon button next to Globe in About Modal header
- Add "Join Discord" option to Command K quick actions menu
- Both link to https://discord.gg/86crXbGb

Claude ID: f67864c5-6863-496d-9e9a-28d745977704
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-12 09:42:12 -06:00
Pedram Amini
f86f7b0ae8 MAESTRO: Implement Tour Overlay System for onboarding guidance
Phase 05 complete - Tour system guides new users through interface:

- TourOverlay.tsx: Full-screen dark overlay with CSS clip-path spotlight
- TourStep.tsx: Positioned tooltip with title, description, nav buttons
- tourSteps.ts: 10-step tour sequence covering all major UI areas
- useTour.tsx: Hook for tour state management and step progression

Features:
- Smooth transitions between tour steps (200-300ms animations)
- Intelligent tooltip positioning based on available viewport space
- Keyboard navigation (Enter/Space advance, Escape exits, arrows)
- UI state preparation via 'tour:action' custom events
- View-only design (only tour controls are interactive)
- Responsive spotlight positioning on window resize
- Skip Tour link and completion state persistence

Added data-tour attributes to components:
- SessionList: hamburger-menu, session-list
- RightPanel: files-tab, history-tab, autorun-tab, autorun-panel
- MainPanel: header-controls, main-terminal, input-area
- AutoRun: autorun-document-selector

Integration:
- Added TOUR priority (1050) to modalPriorities.ts
- Wired TourOverlay in App.tsx with tourCompleted settings flag
- Added startTour prop to SessionList hamburger menu
2025-12-10 03:08:48 -06:00
Pedram Amini
ade482a8ae OAuth enabled but no valid token found. Starting authentication...
Found expired OAuth token, attempting refresh...
Token refresh successful
## CHANGES

- Added theme screenshots documentation link to README 🎨
- Fixed search shortcut from `/` to `Cmd+F` everywhere ⌨️
- Improved auto-run folder change button label clarity 📁
- Enhanced git commit count display showing X of TOTAL 📊
- Added parallel fetching for git log and commit count 
- Fixed branch mismatch check for non-git directories 🐛
- Improved search match scrolling in edit mode accuracy 📍
- Added onMatchesRendered callback for preview search scrolling 🔍
- Updated all keyboard shortcut documentation to Cmd+F 📚
- Bumped version from 0.7.0 to 0.7.3 🚀
2025-12-10 01:01:31 -06:00
Pedram Amini
f47b122d80 # CHANGES
- Added custom tab name template variable {{TAB_NAME}} support 🏷️
- Enhanced AutoRun expanded modal with integrated controls header 🎛️
- Added template autocomplete to AI Commands panel editor 🤖
- Fixed modal z-index layering for proper isolation 🎨
- Updated achievement card timeline section with new title 🏆
- Added comprehensive test coverage for new autocomplete features 
- Improved AutoRun modal with mode toggle in header bar 🔄
- Added image upload button to expanded AutoRun edit mode 🖼️
- Added help button integration in expanded modal header 
- Maintained backwards compatibility with SESSION_NAME alias 🔗
2025-12-09 23:30:18 -06:00
Pedram Amini
319126b51e Enhance Prompt Composer with image attachments and bottom bar toggles
- Add image paste/attach support to Prompt Composer modal
- Add Tab key support (inserts tab character)
- Add bottom bar toggles: Save to History, Read-only mode, Enter to send
- Add Cmd+Shift+L shortcut to open lightbox from modal
- Simplify OS notification title format (Group > Project > Tab)
- Remove redundant agentName field from Toast interface
- Fix worktree validation to accept non-git directories for new worktrees
- Minor styling update to Auto Run help button

Claude ID: 0fcf47bb-f616-4932-98a5-2ea6956f9ce1
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-09 17:42:54 -06:00
Pedram Amini
39d25e48a6 I'd be happy to help you create a clean update summary for your GitHub project! However, I don't see any input provided after "INPUT:" in your message.
Could you please share the changelog, commit history, or release notes that you'd like me to analyze? This could include:

- Git commit messages
- Pull request descriptions
- A diff between releases
- Release notes draft
- Any other documentation about what changed

Once you provide that information, I'll create an exciting CHANGES section with clean, 10-word bullets and relevant emojis as requested!
2025-12-09 17:13:41 -06:00
Pedram Amini
3c2fedaba7 Default agent auto-run prompt modified tab now drops tabs inside of large text inputs 2025-12-09 15:51:16 -06:00
Pedram Amini
401fd87b13 fix: Prevent history entries from bleeding across agents
When background synopsis tasks completed, history entries were being
recorded with the wrong agent's sessionId and projectPath if the user
switched agents while the task was running. This caused entries to
appear in the wrong agent's history panel.

Fix: addHistoryEntry now accepts optional sessionId, projectPath, and
sessionName parameters. Background operations (like synopsis) now pass
explicit values captured at task start time, preventing cross-agent
contamination.

Claude ID: 906b25cb-32b7-46b7-896b-fd459f106720
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-09 11:13:15 -06:00
Pedram Amini
2f4e88c49f fix(autorun): Fix content not syncing when switching sessions
The AutoRun panel was showing stale content when switching between
sessions. The dropdown correctly updated to show the new session's
selected document, but the content displayed remained from the
previous session.

Root cause: Two separate useEffects for syncing content had a stale
closure issue - the second effect didn't properly track localContent
changes, causing the content comparison to use outdated values.

Solution: Consolidated into a single effect using a ref to track
content changes, avoiding the stale closure problem while properly
handling both session switches and external content updates.

Claude ID: 6ff853d1-9e0d-4a3b-9ae5-4a72a1d23eea
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-06 13:56:41 -06:00
Pedram Amini
fb1c40a29f feat(web): Mobile UX improvements and template variable additions
Mobile web interface:
- Auto-reconnect every 30 seconds when disconnected
- Auto-focus text input when CommandInputBar expands
- Auto-expand group containing active session
- Scroll to group header when expanding collapsed group
- Collapsed input shows single-line height (48px) on mobile
- Tab search button pinned outside scrollable area
- Slash command modal uses more screen space when input collapsed
- Bookmarks group expanded by default

Desktop:
- AutoRun panel focus management via ref
- Added DAY, MONTH, WEEKDAY template variables

Docs:
- Added DAY and MONTH to README template variables table

Claude ID: 2436d63e-7bf7-4266-8efa-aa499d149827
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-06 13:40:16 -06:00
Pedram Amini
b5abe8063f ## CHANGES
• Added history file watcher polling every 60 seconds 🔄
• History now reloads automatically when changed externally 📝
• Fixed history entry order - newest entries appear first 📊
• Improved token tracking to show actual context usage 📈
• Fixed batch runner modal with proper document path handling 🛠️
• Enhanced session filter to remember user preferences 💾
• Added expanded mobile input mode for better typing experience 📱
• Refresh action now updates files, git, and history together 🔄
• Added error handling for history file write failures ⚠️
• Fixed preview mode always available in Auto Run panel 👁️
2025-12-06 02:50:04 -06:00
Pedram Amini
5cd591f8ce feat(cli): Read Claude path from desktop app settings
The CLI now reads agent custom paths from maestro-agent-configs.json,
sharing the same settings as the desktop app. This ensures consistency
between desktop and CLI when users configure a custom Claude Code path.

Changes:
- Add readAgentConfigs() and getAgentCustomPath() to CLI storage service
- Refactor detectClaude() to check settings first, then fall back to PATH
- Add getClaudeCommand() helper for spawning with resolved path
- Minor AutoRun overflow CSS fix
- Alphabetize template variables list

Session: 472b48d8-4774-4955-8c98-2c5b6294beb5
2025-12-06 02:50:03 -06:00
Pedram Amini
46b758c60a # CHANGES
• Fixed terminal output formatting with improved task alignment 🎨
• Added template variable autocomplete with {{ trigger support 🚀
• Improved markdown list rendering by using CSS display:contents 📝
• Enhanced autocomplete integration in AgentPromptComposer modal ⌨️
• Added autocomplete dropdown component for template variables 💡
• Integrated template autocomplete hooks in AutoRun editor 🔧
• Cleaned up redundant custom li component implementations 🧹
• Added helpful placeholder text mentioning {{ for variables 💬
• Improved task completion summary display with better truncation ✂️
• Enhanced overall code organization and reusability patterns ♻️
2025-12-06 02:50:03 -06:00
Pedram Amini
0e7156ca41 I'd be happy to help you create a clean update summary for your GitHub project! However, I notice that you haven't provided the actual input content after "INPUT:" at the end of your message.
Could you please share:
- The commit history, pull requests, or changelog since the last release
- Any release notes or development updates
- Or any other information about what has changed in your project

Once you provide that information, I'll create an exciting CHANGES section with clean 10-word bullets and relevant emojis, formatted in Markdown with HTML links as requested.
2025-12-06 02:50:03 -06:00
Pedram Amini
bd28451544 # CHANGES
• Added human-readable output format for CLI commands 🎨
• Introduced JSON flag for machine-parseable scripting output 🤖
• Renamed session references to agent for clarity consistency 🏷️
• Implemented partial ID matching for agents and playbooks 🔍
• Enhanced list commands to show all playbooks by agent 📋
• Added circular navigation to lightbox image carousels 🔄
• Fixed reset-on-completion for documents with checked tasks 
• Improved error messages with formatted colored output 🎯
• Updated CLI examples with new agent-based syntax 📝
• Resolved import callback reference in batch runner modal 🔧
2025-12-06 02:50:02 -06:00
Pedram Amini
e778703cbe Auto Run: subfolder tree support, loop controls, and info panel improvements
- Add recursive subfolder scanning with tree display in document selector
- Add folder selector in Create Document modal for creating docs in subfolders
- Add loop max control (infinity/max toggle with slider, max 25 iterations)
- Update info panel: document progress bars, "Loop X of Y" display
- Re-scan documents at start of each loop for fresh task counts
- Improve slider UX (larger infinity symbol, wider slider)

Claude ID: {{CLAUDE_SESSION_ID}}
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-04 05:06:12 -06:00
Pedram Amini
09081783d0 MAESTRO: UX improvements for confirmations, process monitor, and quick actions
- Add Enter key support for queued message removal confirmation dialog
- Add kill process capability to System Process Monitor with confirmation
- Add toggle markdown rendering option to Cmd+K Quick Actions menu

Claude ID: d504ac29-93b3-46e9-8929-9be234bbcf07
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-04 00:08:56 -06:00
Pedram Amini
a5d43110b1 MAESTRO: Add empty folder state message to Auto Run panel
When a folder is configured but contains no markdown documents, the Auto Run
panel now displays a helpful empty state with a "No Documents Found" message
that explains the situation and provides buttons to either refresh the
document list or change the selected folder.
2025-12-03 03:29:33 -06:00
Pedram Amini
1d781e552c MAESTRO: Update Auto Run image handling to use file-system storage
- Update handlePaste to use autorun:saveImage API with {docName}-{timestamp}.{ext} format
- Update handleFileSelect to save images similarly using the new API
- Update AttachmentImage component to load images from relative paths within folderPath
- Update handleRemoveAttachment and deleteLightboxImage to use autorun:deleteImage API
- Update image list loading to use autorun:listImages API
- Images are now saved to {folder}/images/ subdirectory with relative markdown paths

This completes Phase 3.5 of the Auto Run overhaul, transitioning from
session-based attachment storage to file-system-based image storage that
persists with the Auto Run documents.
2025-12-03 00:31:24 -06:00
Pedram Amini
23ebe06ac4 MAESTRO: Implement per-document undo/redo system for Auto Run
- Add UndoState interface and MAX_UNDO_HISTORY constant (50 entries)
- Create undoHistoryRef and redoHistoryRef Maps keyed by document filename
- Implement pushUndoState function with debounced snapshot scheduling
- Implement handleUndo (Cmd+Z) and handleRedo (Cmd+Shift+Z) functions
- Push undo state before programmatic content changes:
  - Cmd+L checkbox insertion
  - Enter key list continuation
  - Image paste/upload
  - Image/attachment removal
- Clear pending undo snapshot on document switch
- History persists across edit/preview mode toggles
- Per-document history (each document has separate undo/redo stacks)
2025-12-03 00:25:32 -06:00
Pedram Amini
478d8b3276 MAESTRO: Implement 5-second debounce auto-save for Auto Run documents 2025-12-03 00:20:15 -06:00
Pedram Amini
a5607bcf70 MAESTRO: Add AutoRunDocumentSelector component and document switching logic
Implements Phase 3.1-3.2 of the Auto Run overhaul:
- Create AutoRunDocumentSelector.tsx with dropdown, refresh, and change folder
- Update AutoRun.tsx props to support external document/mode state
- Update RightPanel.tsx to pass new Auto Run props
- Add App.tsx state and handlers for document list, content, loading
- Add effect to load documents when session or folder changes
2025-12-03 00:17:25 -06:00