How valenxi0/nano works
Nano is a native macOS menu-bar/island app: users interact with the island and dashboard, enable modules in settings, then receive live system or agent activity and use features such as dictation or task capture. Its main domain stages are island presentation, event/module services, and optional feature workflows; settings and local stores provide a useful internal layer. The README documents capabilities not represented by sampled source. Connections for those unsampled features are omitted or marked unverified rather than inferred from filenames.
Main entry points: VoiceDictationController.swift Quill controller · ConnectedModuleViews.swift Connected modules · IslandRootView.swift Island dashboard · IslandPanel.swift Island window
Components 29
Island and dashboard
- App lifecycle
Nano/App/NanoAppDelegate.swift - Island window
Nano/Window/IslandPanel.swift - Island dashboard
Nano/Views/IslandRootView.swift - Dashboard widgets
Nano/Views/DashboardWidgetViews.swift - Connected modules
Nano/Views/ConnectedModuleViews.swift
Coding agents
- Agent activity
Nano/Core/AgentStatusService.swift - Agent routes
Nano/Core/AgentRoutes.swift - Agent hooks
Nano/Core/AgentHookBridge.swift - Usage tracking
Nano/Core/TokenLedger.swift - Session jumping
Nano/Core/AgentSessionJump.swift
Voice and Sketch
- Quill controller
Nano/Core/VoiceDictation/VoiceDictationController.swift - Audio capture
Nano/Core/VoiceDictation/VoiceDictationAudioRecorder.swift - Speech engines
Nano/Core/VoiceDictation/VoiceDictationEngines.swift - Transcript pipeline
Nano/Core/VoiceDictation/VoiceDictationTextPipeline.swift - Speech model store
Nano/Core/VoiceDictation/VoiceDictationModelStore.swift
Productivity modules
- Cue list
Nano/Core/CueStore.swift - Cue synchronization
Nano/Core/CueSyncEngine.swift - Task destinations
Nano/Core/TaskDestination.swift - Per-app mixer
Nano/Core/MixerEngine.swift - File tray
Nano/Core/TrayStore.swift - Calendar and weather
Nano/Core/CalendarWeatherServices.swift - Focus timer
Nano/Core/FocusTimerStore.swift
Settings and services
- Settings
Nano/Core/NanoSettings.swift - Notification routing
Nano/Core/NotificationRouter.swift - System event monitor
Nano/Core/SystemEventMonitor.swift - Media and device cards
Nano/Core/MediaSystemServices.swift
Other components
- Mac user
- Task apps
- Local speech runtimes
Connections 25
- Mac user → Island window: opens
README.md - Island window → Island dashboard: hosts
Nano/Window/IslandPanel.swift - Island dashboard → Dashboard widgets: shows
README.md - Island dashboard → Connected modules: shows
Nano/Views/ConnectedModuleViews.swift - App lifecycle → Settings: configures
Nano/App/NanoAppDelegate.swift - Connected modules → Agent activity: reads status
Nano/Views/ConnectedModuleViews.swift - Connected modules → Usage tracking: reads usage
Nano/Views/ConnectedModuleViews.swift - Agent hooks → Agent routes: uses routes
Nano/Core/AgentHookBridge.swift - Quill controller → Audio capture: records
Nano/Core/VoiceDictation/VoiceDictationController.swift - Quill controller → Speech engines: selects engine
Nano/Core/VoiceDictation/VoiceDictationEngines.swift - Quill controller → Transcript pipeline: cleans transcript
Nano/Core/VoiceDictation/VoiceDictationController.swift - Quill controller → Speech model store: loads models
Nano/Core/VoiceDictation/VoiceDictationController.swift - Speech engines → Local speech runtimes: runs locally
- Mac user → Quill controller: dictates
README.md - Cue list → Cue synchronization: syncs changes
Nano/Core/CueSyncEngine.swift - Cue synchronization → Task destinations: syncs tasks
Nano/Core/CueSyncEngine.swift - Task destinations → Task apps: connects apps
README.md - Mac user → Cue list: captures tasks
README.md - Mac user → Per-app mixer: adjusts volume
README.md - Mac user → File tray: drops files
README.md - Mac user → Calendar and weather: views context
README.md - Mac user → Focus timer: starts timer
README.md - System event monitor → Notification routing: routes events
- Mac user → Media and device cards: controls devices
README.md - Settings → Connected modules: enables modules
Nano/Views/ConnectedModuleViews.swift