Command Bar

The Command Bar is a Spotlight/Raycast-style overlay in the web portal that provides instant access to venture data and actions without navigating through tabs.

Activation

PlatformShortcut
Windows / LinuxCtrl+/
macOSCmd+/
CloseEsc
SubmitEnter
NavigateTab

Context Strip

When the Command Bar opens, it loads the current venture context and displays a strip at the top:

  • Active venture โ€” name and prefix
  • Mission count โ€” total and active missions
  • Fuel spent โ€” current spend in dollars
  • Active missions โ€” up to 5 most recent active missions with identifiers and priorities

Context loading is best-effort and non-blocking โ€” the Command Bar opens immediately even if context is still loading.

Text Commands

Type a keyword and press Enter. The Command Bar recognizes these patterns:

InputAction
fuel, cost, spendShows fuel summary โ€” total spent, venture count, active missions
missions, mission listLists up to 5 missions with identifier, priority, and title
squad, agent, agentsShows active squad count, Q-table size, and exploration rate
decision, decisionsDirects to mayros kaneru decisions list for full history
Any other textAcknowledged with a hint to use the CLI for full capabilities

Quick Actions

The Command Bar provides shortcuts for common operations:

  • Create mission โ€” type a mission description to start creation
  • Check fuel โ€” type "fuel" for an instant summary
  • Route task โ€” describe a task to see which agent would handle it
  • List agents โ€” type "agents" for squad status
  • Squad status โ€” active squads and Q-learning metrics
  • Decisions โ€” recent consensus outcomes

Voice Input

The Command Bar supports voice input via the Web Speech API:

  1. Click the microphone button (visible when Speech API is available)
  2. Speak your command
  3. Transcription auto-fills the input field
  4. Press Enter or wait for auto-submit

Voice is available in browsers that support SpeechRecognition or webkitSpeechRecognition (Chrome, Edge, Safari). The recognition runs in single-shot mode (continuous: false, interimResults: false) with en-US locale.

Voice States

StateIndicator
IdleMic button visible
RecordingMic button active, listening for speech
ProcessingInput field shows transcribed text
ErrorRecording stops, mic returns to idle

Keyboard Navigation

KeyAction
Ctrl+/ / Cmd+/Open Command Bar
EscClose Command Bar
EnterSubmit current query
TabNavigate between UI elements

Architecture

The Command Bar fetches venture data from the Gateway via WebSocket:

  • ventures.dashboard โ€” for venture context, fuel stats, and mission lists
  • kaneru.dashboard โ€” for squad and Q-learning metrics

All requests are non-blocking. If the Gateway is unavailable, the Command Bar still opens but shows limited context.

Next Steps

  • Canvas โ€” full venture visualization surfaces
  • Setup Wizard โ€” guided venture creation
  • Control UI โ€” the web portal that hosts the Command Bar