Commit Graph

2103 Commits

Author SHA1 Message Date
Pedram Amini
975f23e4b3 ## CHANGES
- Smoothed tab switching by resizing textarea only when active tab changes 🚀
- Reduced costly layout reflows by dropping per-keystroke resize dependencies 
- Prevented agent-config undefined states during slow SSH detection with fallbacks 🛡️
- Added placeholder agent configs from tiles to handle detection race conditions 🧩
2026-01-11 13:05:32 -06:00
Pedram Amini
1d34eb6f2b ## CHANGES
- Added multi-document Auto Run progress fields across IPC and WebSocket state 📚
- Web clients now receive aggregated task totals and completions across documents 📈
- Active tab UI docs expanded with screenshot and richer contribution details 🖼️
- Canonical `activeTab` lookup is now memoized to kill repeated O(n) finds 
- Staged images, logs, and prompt tab toggles now reuse memoized `activeTab` 🧠
- Tab-completion suggestions now debounce input only while menu is open ⌨️
- @mention suggestions now debounce filter only while menu is open 🔎
- Disabling worktrees now removes all sub-agents and reports counts 🧹
- Added performance guidance: debounce, throttle, batching, virtualization, parallel IPC 🚀
- Bumped version to 0.14.5 for this release tag 🏷️
2026-01-11 12:20:36 -06:00
Pedram Amini
bbb01d8abf ## CHANGES
- Added performance best-practices guide for React and main process tuning 📘
- Introduced `buildFileTreeIndices` for fast, reusable markdown file lookups 
- Updated `remarkFileLinks` to accept prebuilt indices with backward compatibility 🧩
- Memoized file-tree indices in AutoRun, FilePreview, and MarkdownRenderer for speed 🚀
- Expanded test suite to cover indices building and indexed link resolution 🧪
- Made temp-file cleanup asynchronous to keep the main thread snappy 🧹
- Cached shell path resolution to avoid repeated synchronous filesystem checks 🗄️
- Precompiled leading-emoji regex to speed up session name sorting 🔤
- Consolidated SessionList filtering/grouping/sorting into one efficient memo pass 🧠
- Memoized TabBar tabs, computed labels, and style objects to cut rerenders 🎛️
2026-01-11 03:15:12 -06:00
github-actions[bot]
0f22fb548d docs: sync release notes for v0.14.4 2026-01-11 06:22:41 +00:00
Pedram Amini
fddea077ca ## CHANGES
- NewInstanceModal now preserves SSH config during agent re-detection flows 🧭
- Tests now mock remote `fs.stat` to validate SSH working directory reliably 🧪
- NewInstanceModal tests wait for debounced remote path validation before creating ⏱️
- Leaderboard “Submit” button stays hidden after success to avoid resubmits 🚫
- Leaderboard “Sync from cloud” is now available even after successful submit 🔄
- Leaderboard “Opt Out” action remains accessible after a successful registration 🧾
- Autorun synopsis prompt bans session-context preambles for cleaner summaries ✍️
2026-01-11 00:06:55 -06:00
Pedram Amini
0fe46fb35d ## CHANGES
- SSH remote selection now works even before choosing an agent 🚀
- NewInstanceModal now reads pending SSH config for enablement/host display 🔧
- Agent detection reliably re-runs when switching between remote and local 🔁
- Wizard recovery test now programmatically toggles SSH to bypass JSDOM quirks 🧪
- Wizard tests use real timers to validate React effects correctly ⏱️
- NewInstanceModal tests verify detect() called with selected SSH remote ID 📡
- Agent selection test flow now waits for aria-selected state properly 
- Tests stop relying on remote path validation and fragile placeholder behavior 🧹
- SSH selector tests consistently target the combobox select element 🎛️
- Leaderboard stats layout upgraded from grid to flexible proportions 🏆
2026-01-10 23:06:11 -06:00
Pedram Amini
3222239192 ## CHANGES
- Detect agents on SSH remotes via IPC `agents:detect(sshRemoteId)` 🌐
- Show friendly “Unable to Connect” UI when remote agent detection fails ⚠️
- Re-detect agents instantly when switching SSH remote selection in modals 🔁
- Wizard now persists SSH remote choice across step navigation 🧭
- Remote directory validation now checks existence via `fs.readDir` first 📁
- Git repo checks and Auto Run docs lookup now support SSH remote IDs 🛰️
- Directory screen hides Browse button for remote sessions, adds remote hints 📝
- Agent selection UI revamped: name + location dropdown, clearer header 🧩
- Add `showThinking` option to tabs and merged sessions, default false 🧠
- Export `AGENT_DEFINITIONS` for reuse in remote detection logic 📦
2026-01-10 21:58:17 -06:00
Pedram Amini
342549188a ## CHANGES
- Made SSH config loading safe with optional `window.maestro` access 🛡️
- Ignored background synopsis process errors to keep sessions clean 🧹
- Updated batch error parsing to handle `-batch-{timestamp}` suffixes ⏱️
- Treated `session_not_found` as informational, not a blocking failure ℹ️
- Logged `session_not_found` messages as system entries instead of errors 🗒️
- Prevented error details attachment for `session_not_found` log entries 🔍
- Stopped `session_not_found` from setting session/tab error state 🚦
- Skipped error modal display for non-blocking `session_not_found` events 🚫
2026-01-10 19:28:50 -06:00
Pedram Amini
df8fbc8324 ## CHANGES
- Compaction now triggers earlier: 2k tokens or 8 exchanges 🎯
- Added extra compaction fallbacks when context gauge resets unexpectedly 🔁
- Read-only tabs now force “return plan in Markdown” instructions 🧾
- Auto Run without worktree automatically runs in read-only/plan mode 🛡️
- ThinkingStatusPill now accepts prefiltered thinkingSessions for speed 
- InputArea precomputes thinking sessions and memoizes command filtering 🚀
- MainPanel memoizes active tab lookup to cut per-keystroke work 🧠
- TerminalOutput memoizes active logs and reduces scroll update frequency 🖥️
- Batched session updates track context high-water mark with explicit reset 🌊
- Wizard adds one-click debug log download right in the conversation UI 🧰
- Leaderboard registration now submits cumulative stats safely for multi-device sync 🏆
- AutoRun prompt now requires a concrete “what I did” synopsis first 🧭
2026-01-10 10:29:15 -06:00
Pedram Amini
0550c02f63 fix(wizard): Use agent.path instead of agent.command for spawn
The wizard was using agent.command ("claude") instead of agent.path
("/opt/homebrew/bin/claude") when spawning processes. In packaged
Electron apps, PATH may not include agent locations, causing ENOENT
errors when no existing agents had been created.

Fixes #171
2026-01-10 09:12:07 -06:00
Pedram Amini
35827c392f fix(wizard): Use configured Auto Run folder path instead of default
The /wizard command now respects the user's configured Auto Run folder
path instead of always creating "Auto Run Docs" at the repository root.

Fixes #169
2026-01-10 08:08:29 -06:00
Pedram Amini
7240a1cbf6 - Release notes now display a proper scroll icon in docs frontmatter 🧾
- Release notes formatting normalized (line endings/spacing) for cleaner diffs 
2026-01-09 23:23:50 -06:00
github-actions[bot]
edcaf5260e docs: sync release notes for v0.14.3 2026-01-09 18:33:27 +00:00
Pedram Amini
5a8c1284bd ## CHANGES
- Document labels now hide “.md” extension for cleaner progress display 
- Full filename (with “.md”) moved into hover tooltip for quick clarity 🧾
- Document name text now truncates gracefully to prevent layout overflow 🧩
- Improved flex sizing so progress bar stays visible in tight spaces 📊
2026-01-09 12:12:18 -06:00
Pedram Amini
46ba4a15d9 fix(history): Improve virtualizer performance and keyboard navigation
- Add initialRect to prevent flushSync warning during initial render
- Add scroll-to-selected effect for keyboard navigation (arrow keys)
- Use measureElement ref for dynamic row sizing instead of manual refs
- Adjust estimated row heights to better match actual content
- Remove unused itemRefs
2026-01-09 10:57:14 -06:00
Pedram Amini
f052b38502 fix(terminal): Always render logsEndRef for scroll-to-bottom
The logsEndRef div was conditionally rendered only when session.state
!== 'busy', which prevented Cmd+Shift+J (scroll to end) from working
while the agent was actively processing. Now always rendered.
2026-01-09 10:56:06 -06:00
Pedram Amini
7938258fd1 do not allow for overlapping tts 2026-01-09 10:39:46 -06:00
Pedram Amini
6aab9892de ## CHANGES
- Fresh app icons for macOS and Windows builds, looking sharper than ever 🖼️
- New opt-in global Leaderboard tracking via <a href="https://runmaestro.ai">RunMaestro.ai</a> 🚀
- Themes documentation revamped into Dark, Light, and Vibe categories 🎨
- Theme lineup refreshed with Catppuccin Mocha, Gruvbox Dark, and Ayu Light 🌈
- Brand-new Vibe themes added: Maestro’s Choice, Dre Synth, InQuest 
- New docs screenshots added to better showcase Maestro’s experience 📸
- Sessions now support bookmark toggling via Cmd+Shift+B and UI actions 🔖
2026-01-09 06:42:38 -06:00
Pedram Amini
5da418cf7f ## CHANGES
- Added global Leaderboard showcasing Auto Run records and community rankings 🏆
- Leaderboard includes conductor badge, social links, and detailed stat sync 🌐
- Documented Tab Switcher fuzzy search with quick numbered tab jumps 🔎
- Tab Switcher now shows token count, cost, and context usage insights 📊
- Added screenshot-rich Shortcuts Settings guidance for remapping keys 🛠️
- Enhanced Shortcuts Help modal docs with search and mastery checkmarks 
- Introduced new default shortcut: Toggle Bookmark (Cmd+Shift+B) 🔖
- Wired Toggle Bookmark into main keyboard handler for active sessions 
- Refreshed documentation screenshots, including new shortcuts modal image 🖼️
2026-01-09 05:02:45 -06:00
Pedram Amini
a927584207 ## CHANGES
- Generate playbooks mid-session with the new Inline Wizard flow 🧙
- Add confidence gauge and organized wizard subfolders for generated docs 📈
- Launch **Maestro Symphony** to donate tokens and ship OSS PRs 🎵
- Browse/filter/search Symphony projects and issues directly in-app 🔎
- Auto-clone repos, run Auto Run docs, and open draft PRs automatically 🚀
- Track Symphony contributions with active/history/stats dashboards 📊
- Make leaderboard submissions multi-device safe using delta-based aggregation 🔁
- Stop image flicker with synchronous cache-backed Markdown image loading 🖼️
- Debounce Auto Run preview scroll persistence to cut noisy re-renders ⏱️
- Rename/delete in File Explorer updates tree instantly—no full refresh 
2026-01-08 19:31:41 -06:00
Pedram Amini
bff79b56fe fix: Windows auto-update filename mismatch (#162)
Add explicit artifactName configuration to NSIS and portable targets
to ensure consistent hyphen-based naming that matches latest.yml manifest.
2026-01-08 09:51:24 -06:00
Pedram Amini
60535a5a3e version bump 2026-01-08 06:16:16 -06:00
Pedram Amini
c862ca5a11 added Maestro Symphony Registration Manifest 2026-01-08 06:12:13 -06:00
Pedram Amini
f30d57a28d address issue #161 2026-01-08 05:31:54 -06:00
Pedram Amini
db3b5f546c ## CHANGES
- Gist publish modal now shows previously published URL and details 📌
- Copy gist URL in-app with instant “Copied!” feedback button 🧷
- Open published gists directly in your browser from the modal 🌐
- Re-publish flow added, with back navigation and replacement warning 🔁
- File preview now highlights the Gist icon when a gist exists 🎯
- Published gists are remembered per file path and restored on startup 💾
- Gist metadata now tracked (visibility and publish timestamp) for each file ⏱️
- App persists gist mappings to settings automatically after publishing 🗄️
- Community Discord links updated everywhere to <a href="https://runmaestro.ai/discord">runmaestro.ai/discord</a> 🔗
- Test suite expanded to cover existing-gist UI, copying, and republish flows 🧪
2026-01-07 20:17:53 -06:00
Pedram Amini
7c80cbb3f9 discord link updated 2026-01-07 19:36:49 -06:00
Pedram Amini
2b54790f26 ## CHANGES
- Added Lightbox image deletion with confirmation modal and keyboard shortcut 🗑️
- Expanded Lightbox test coverage to fully validate delete flows end-to-end 🧪
- Generate and persist a unique installation GUID on first run 🔑
- Tag Sentry crash reports with installationId for better correlation 🧷
- Exposed `leaderboard:getInstallationId` IPC + preload API for renderer access 🔌
- Leaderboard submissions now auto-include installId (server-mapped field) 📤
- Send clientTotalTimeMs to help detect multi-device time discrepancies ⏱️
- Added Quick Action to copy Install GUID to clipboard for debugging 📋
- Tuned HistoryPanel virtualization row height estimates for smoother scrolling 📜
- Fixed React hook dependency for staged image removal callback stability 🪝
2026-01-07 19:25:02 -06:00
Pedram Amini
a995a3262b fix: widen update modal by 25% for better release notes display
Increased UpdateCheckModal width from 500px to 625px to give release
notes more room to display properly.

Claude ID: 56e528a6-9479-464e-bdfa-6eef08f10ded
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2026-01-07 15:46:16 -06:00
Pedram Amini
7edd868ca8 fix: enable YOLO mode by default for OpenCode agents
Adds defaultEnvVars support to AgentConfig interface and sets
OPENCODE_CONFIG_CONTENT with permission allow-all for OpenCode.
This prevents startup hangs caused by external_directory permission
prompts in batch mode.

Closes #158
2026-01-07 15:43:39 -06:00
Pedram Amini
193949bc20 markdown table rendering improvements 2026-01-07 05:25:39 -06:00
github-actions[bot]
6d2714fab2 docs: sync release notes for v0.14.2 2026-01-07 10:40:52 +00:00
Pedram Amini
7fa60ea003 Merge pull request #152 from charles-dyfis-net/issue-151
Honor user's configured default shell instead of hardcoding zsh
2026-01-07 04:23:39 -06:00
Pedram Amini
215bc8725c perf: virtualize HistoryPanel, batch settings IPC, optimize filter chains
Three performance optimizations:

1. HistoryPanel Virtualization
   - Replace pagination with @tanstack/react-virtual
   - Only render visible entries (overscan: 5)
   - Memoize HistoryEntryItem component with React.memo
   - Eliminates DOM overhead for large history lists

2. Settings IPC Batch Loading
   - Change ~60 individual settings.get() calls to single settings.getAll()
   - Reduces IPC round-trips during initialization
   - Extract all values from single batch response

3. Filter Chain Optimization
   - MindMap.tsx: Single-pass reduce() instead of filter().map()
   - GroupChatInput.tsx: Single-pass reduce() for mentionableAgents

Updated tests:
- useSettings.test.ts: Update mocks from get() to getAll()
- HistoryPanel.test.tsx: Update pagination tests to virtualization
- fonts-and-sizing.test.ts: Update settings mocks

Updated documentation:
- CLAUDE.md: Document batch loading pattern for settings

All 14,980 tests pass.

Claude ID: 286ae250-379b-4b74-a24e-b23e907dba0b
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2026-01-06 20:13:23 -06:00
Pedram Amini
31da3fa8bd ## CHANGES
- OpenCode CLI now uses `run` batch subcommand with positional prompts 🚀
- Dropped `-p` prompt flag for OpenCode JSON mode compatibility 🧩
- Added `noPromptSeparator` for OpenCode positional prompt handling 🧠
- Implemented “Close All Tabs” action for faster session cleanup 🧹
- Implemented “Close Other Tabs” to focus instantly on one tab 🎯
- Implemented “Close Tabs to Left” for browser-style tab management ⬅️
- Implemented “Close Tabs to Right” to prune clutter in one click ➡️
- Wired bulk tab-close handlers through App, Modals, MainPanel, TabBar 🔌
- Enhanced tab context menu with bulk close options and smart disabling 📋
- Updated tests to reflect OpenCode batch mode and UI copy tooltip 🧪
2026-01-06 19:49:01 -06:00
Pedram Amini
40f83cf772 hotkey for copy to clipboard in image carousel 2026-01-06 18:29:46 -06:00
Pedram Amini
e9bd57a9a8 Maestro Playbooks can now contain non-markdown files in assets/ folder 2026-01-06 17:03:19 -06:00
Pedram Amini
b608903b1a ensure that auto run docs have padded numbers 2026-01-06 13:42:40 -06:00
github-actions[bot]
af8cb5e2ed docs: sync release notes for v0.14.1 2026-01-06 19:22:13 +00:00
Charles Duffy
f3cab47b76 Honor user's configured default shell instead of hardcoding zsh (#151) 2026-01-06 09:33:04 -06:00
Pedram Amini
b92fa04908 ## CHANGES
- Wizard now auto-continues when AI implies “let me research…” dead-ends 🧠
- Added robust deferred-response phrase detection to keep conversations flowing 🔍
- Introduced “Your turn” indicator when assistant awaits user input 💡
- Updated wizard system prompt to forbid deferred/async promises outright 🚫
- Prevented auto-continue infinite loops with a per-exchange trigger guard 🛡️
- Improved auto-continue UX with delayed send after UI updates ⏱️
- Added full test suite for deferred-response detection patterns 
- Strengthened NewInstanceModal tests with remote directory stat validation 📁
- NewInstanceModal tests now wait for debounced remote path validation 
- Expanded icon mocking to include Loader2 for more complete test coverage 🎭
2026-01-06 09:07:50 -06:00
Pedram Amini
7db629f8aa ## CHANGES
- SSH directory stats now include remote file and folder counts 
- New incremental remote scanning finds changed files without full walks 🚀
- Baseline remote file listing added for faster subsequent refreshes 🧭
- File tree loading now streams live progress for slow SSH sessions 🛰️
- Fresh loading UI shows spinner, counters, and active scanned folder 
- Sessions track file-tree loading state, progress, and last scan time 🧾
- New instance creation validates remote project path before enabling submit 🛡️
- Edit agent modal now verifies remote directory exists before saving 🔍
- Mind map nodes now label using filename (without .md) for clarity 🏷️
- Highlighted graph connections are now bolder for better visibility 🎯
2026-01-06 08:27:40 -06:00
Pedram Amini
5c81416880 ## CHANGES
- Added `promptArgs` support and ensured IPC agent configs stay serializable 🚀
- Fixed SSH remote file preview by falling back to configured remoteId 🔧
- Document Graph now re-centers on double-click/Enter instead of expanding 🌐
- Removed incremental node expansion logic and “Expanding…” UI for cleaner flow 🧹
- Introduced `getSessionSshRemoteId()` helper to reliably resolve SSH targets 🧭
- Added `isSessionRemote()` helper to detect remote sessions before agent spawn 🛰️
- Strengthened regression tests covering terminal-only SSH and pre-spawn sessions 🧪
- Usage Dashboard now counts remote sessions using both SSH ID and config 📊
2026-01-06 06:38:44 -06:00
Pedram Amini
f5bedee79f docs: clarify Claude Code slash command support in batch mode
- Add "Agent Native Commands" section to slash-commands.md explaining
  which Claude Code commands work in Maestro's batch/print mode
- Document supported commands: /compact, /context, /cost, /init,
  /pr-comments, /release-notes, /review, /security-review
- Document unsupported interactive commands: /mcp, /help, /clear,
  /config, /model, /permissions, /memory, /rewind, /vim, /doctor, etc.
- Update provider-nuances.md to link to the new section
- Add tip for using CLI directly for interactive commands

Closes #146
2026-01-06 06:08:25 -06:00
Pedram Amini
d9d65bbfe8 ## CHANGES
- Windows terminal sessions now inherit full environment for reliable user tools 🪟
- Unix terminal launches keep minimal env while preserving essential PATH setup 🐚
- Command execution on Windows now preserves parent env with TERM override 🧰
- Remote BSD `stat` parsing fixed using ANSI-C quoting for newline output 📡
- Activity heatmap tooltip now anchors to hovered cell, not cursor location 🎯
- Tooltip positioning improved: centered below cell with smarter edge handling 🧭
- Removed mousemove-driven tooltip tracking for smoother heatmap interactions 🧊
- Auto-run image handling test updated for explicit `readFile` options argument 🧪
2026-01-06 05:28:39 -06:00
Pedram Amini
ca8587bba8 ## CHANGES
- OpenCode now uses `-p` promptArgs for true YOLO auto-approve mode 🧨
- ProcessManager supports flag-based prompts via new `promptArgs` hook 🧩
- IPC spawn handler now forwards `promptArgs` and respects SSH prompt formatting 🧵
- SSH spawning now uses local home cwd, preventing remote-path ENOENT failures 🏠
- Group chat pipeline propagates `promptArgs` everywhere and logs detection 🔍
- Added regression tests ensuring OpenCode never falls back to `run` mode 🛡️
- Delete confirmations get clearer titles and improved ARIA labels for accessibility 
- Delete modals now show a trash icon in headers for better intent clarity 🗑️
- Document Graph now reads stats/content with SSH remote ID support 🗺️
- FilePreview layer registration stabilized to avoid re-register loops 🌀
2026-01-05 21:11:21 -06:00
Pedram Amini
a43bfeb2ee ## CHANGES
- Merged-session flow now auto-navigates target tab and auto-sends context 🚀
- Merge toast copy tightened—no more “next message” confusion, just results 
- Wizard-generated tab naming simplified to use subfolder name directly 🧭
- File Explorer delete confirmation rebuilt as a proper shared Modal 🧱
- Delete modals now show clearer “cannot be undone” messaging everywhere ⚠️
- ConfirmModal upgraded with “Confirm Delete” title plus destructive header icon 🗑️
- Delete Group Chat modal refreshed with warning icon layout and styling 🧨
- Delete Worktree renamed and hardened with Enter-key handling on actions ⌨️
- History entry delete UI enhanced with warning visuals and safer key handling 🧾
- Modal + FormInput now stop Enter propagation to prevent accidental triggers 🛡️
2026-01-05 19:25:04 -06:00
Pedram Amini
0a26b3e8dc ## CHANGES
- Document Graph now works over SSH, scanning remote markdown safely 🌐
- Double-click nodes to “fan out” and reveal outgoing links fast 🪄
- Added incremental node expansion tracking with live “Expanding…” indicator 
- Remote file explorer can rename, delete, and count items via SSH 🗂️
- New remote-fs helpers: `renameRemote`, `deleteRemote`, `countItemsRemote` 🚀
- SSH command spawning now resolves full ssh binary path reliably 🧭
- Stats DB VACUUM runs weekly with persisted timestamp scheduling 🗓️
- Query events indexing improved for project path and agent-time lookups 
- Markdown preview stabilized by memoizing plugins/components to stop rerender loops 🧱
- SSH configs fetch now uses a 30s IPC cache with smart invalidation 🧠
2026-01-05 18:34:21 -06:00
Pedram Amini
9bc91277c7 ## CHANGES
- Leaderboard now syncs aggregated stats on startup for new devices 🚀
- Startup sync safely updates only when server totals exceed local 📈
- Added delayed startup sync to avoid interfering with app initialization ⏱️
- Auto-run submissions now reconcile server totals for multi-device accuracy 🔄
- Badge level recalculates from server cumulative time after syncing 🏅
- Local longest-run details preserved when server submit response omits them 🧷
- Backlink discovery tests now start from a no-outgoing-links config file 🧭
- Backlink scan expectations updated to validate newly discovered sources 🧩
- File deletion modal test now asserts confirmation copy, not filename 📝
2026-01-05 17:09:53 -06:00
Pedram Amini
7f1c56947f ## CHANGES
- Document Graph now loads instantly, then scans backlinks in background 🚀
- Live backlink scan adds new nodes/edges without rebuilding graph 
- Backlink scanning shows progress and supports safe abort on reload 🛑
- New fs IPC APIs: rename, delete, and directory item counting 🧰
- File Explorer context menu now includes Rename and Delete actions 🖱️
- Rename modal validates names, autofocuses, and supports Esc/Enter flows ⌨️
- Delete modal warns on folders, showing file/subfolder counts before removal ⚠️
- Delete confirmation defaults focus to Cancel for safer destructive actions 🛡️
- File Preview now supports editing any non-binary text files 📝
- Save + shortcut handling now works consistently across text edit mode 💾
2026-01-05 15:51:20 -06:00
Pedram Amini
0cd2295e47 Merge pull request #112 from pedramamini/autorun-wizard
Add inline /wizard command for Auto Run document creation
2026-01-05 15:12:00 -06:00