Floating Mini Window
import { CardGrid, LinkCard, Steps, Badge } from ‘@astrojs/starlight/components’;
After reading, you can: Summon a lightweight, always-on-top input bar to ask AI questions without leaving your active apps.
1. Opening and Returning
Section titled “1. Opening and Returning”- Summon: Click the Mini Floating Window button in the main window’s titlebar.
- Main Window Hiding: The main window minimizes quietly to the system tray.
- Instant Return: Press Alt + Q or click the return button to restore the main window right at your current chat.
2. Interface Elements
Section titled “2. Interface Elements”| Element | Location | Description |
|---|---|---|
| New Chat | + Icon | Start a fresh session. |
| Assistant Selector | Avatar | Quick toggle between AI personas (Default: Desktop Automation). |
| Input Box | Center | Text entry area with keyboard hint. |
| Voice Input | 🎙️ Mic | Real-time voice dictation (Press Ctrl + M). |
| Send / Stop | Right | Send prompt or halt active processing. |
3. Auto-Expand & Bi-Directional Sync
Section titled “3. Auto-Expand & Bi-Directional Sync”- Focus to Expand: Clicking the input bar expands the window upwards to 400px, rendering the last 12 messages with compact tool calling badges.
- Bi-Directional Sync: The floating window and main window share identical state. All conversations sync completely.
- Escape to Collapse: Press Esc or click outside to collapse back to a single line.
