Following the successful delivery and test validation of Milestone 0 (Scaffolding, redb persistence, 5 MVP tools, and automated test harness), Milestone 1 focuses on System Deepening & Quick-Access Workflows.
The primary objective of Milestone 1 is to evolve TheBerry from a dashboard utility into a seamless system-level companion with instant keyboard access, rich data handling, and accelerated indexing.
graph TD
M1[Milestone 1: System Deepening]
M1 --> F1[1. Spotlight Quick-Launcher HUD]
M1 --> F2[2. Rich Media & Image Clipboard]
M1 --> F3[3. High-Speed Trie/MFT File Indexer]
M1 --> F4[4. App Discovery & Hotkey Launcher]
M1 --> F5[5. Code Snippet Dynamic Templates]
M1 --> F6[6. Image Resizing & Advanced WebP Control]
F1 --> HUD_Window[Global Alt+Space Overlay Window]
F2 --> ImageBlob[Native PNG/WebP Image Copy & Previews]
F3 --> FastIndex[In-Memory Radix Index for Sub-ms Search]
F4 --> StartMenu[Windows Start Menu Shortcut Scanner]
F5 --> Vars[Variable Expansion e.g. $DATE, $CLIPBOARD]
F6 --> Resize[Aspect Ratio Lock & EXIF Stripper]
- Global Hotkey Registration: Configurable hotkey (default:
Alt+SpaceorCtrl+Shift+Space) viatauri-plugin-global-shortcut. - Spotlight Floating Window: Frameless, centered search popup that automatically focuses on keypress and closes on
Escor blur. - Unified Search Bar: Instantly queries across all 5 modules simultaneously (Launcher apps, Clipboard items, Snippets, and recent files).
- Image Clipboard Support: Capture copied images (PNG, JPEG, screenshots) via
arboard::ImageData, save thumbnail blobs into<BerryAppData>/media/, and display rich visual preview cards. - Direct Paste Action: Pressing
Enteron a clipboard item simulates an active window paste via native OS input synthesis.
- In-Memory Prefix/Radix Indexer: Background thread maintains a low-memory memory-mapped index of prioritized directories for instant
< 10mssearch responses. - Context Actions: Right-click menu for files: "Open with...", "Copy as Path", "Reveal in Explorer", and "Properties".
- Start Menu
.lnkScanner: Automatically scans%APPDATA%\Microsoft\Windows\Start Menu\ProgramsandC:\ProgramData\Microsoft\Windows\Start Menu\Programsto auto-populate installed software. - Custom Per-App Hotkeys: Assign dedicated hotkeys (e.g.
F1,Alt+1) to launch favorite tools or batch workflows directly.
- Template Variables: Support placeholders like
${CURRENT_DATE},${UUID},${CLIPBOARD_TEXT}, and tab-stop cursor placeholders${1:default_value}. - Monaco / CodeMirror Integration: Syntax highlighting for 20+ programming languages directly inside the snippet viewer.
- Drag-and-Drop Area: Drag files or entire folders directly from Windows File Explorer into the converter view.
- Resizing & Optimization: Custom scaling (e.g., width/height limits, 50% scale), aspect ratio preservation, and metadata/EXIF stripping options.
- ADR-0006: Global Hotkey Management & Multi-Window Spotlight HUD Architecture
- ADR-0007: Rich Media Storage Strategy (Blob Files vs. Database Storage)
- ADR-0008: In-Memory Indexing Engine & Windows Start Menu Parser