@letta-ai/spotify-statusline
v0.1.1
Published
Letta Code statusline mod that shows the currently playing Spotify track on macOS.
Readme
Spotify Statusline
A Letta Code statusline mod that shows the currently playing Spotify track on macOS.
🎧 Artist - Track Kian-K3-Coder · Claude Sonnet 4Install
letta install npm:@letta-ai/spotify-statuslineThen reload local mods:
/reloadWhat it adds
- macOS Spotify now-playing statusline segment
- paused-state indicator
- panel-based primary statusline with fallback right-side agent/model display
Behavior
- Shows
🎧 Artist - Trackwhile Spotify is playing. - Wraps the playing track in a terminal hyperlink (OSC 8) pointing at
spotify:track:<id>, so supported terminals (iTerm2, Ghostty, WezTerm, Kitty, VS Code) jump to the track on click. - Shows
🎧 pausedwhile Spotify is paused. - Shows no Spotify segment when Spotify is stopped, closed, or unavailable.
- Does not launch Spotify when checking state.
Requirements
- macOS
- Spotify desktop app
- Letta Code
>=0.27.18with panel-based statusline support
Safety
Mods are trusted local code. Review the source before installing third-party mods.
If a mod breaks startup or command handling, recover with:
letta --no-mods
# or
LETTA_DISABLE_MODS=1 lettaSee MOD.md for the agent-facing behavioral contract.
