This Nx workspace hosts a shared music core and two macOS integrations for AI coding tools. The npm packages publish TypeScript source because their hosts load source packages directly.
OpenCode and Pi use lightweight clients connected to one same-user, machine-local music-session daemon. The daemon owns one provider and fans its state out to every connected client. Read the music session architecture field guide for the ownership and failure model.
@naxodev/music-core provides the host-neutral music-session client and compatibility APIs used by both integrations.
Read the package documentation
@naxodev/opencode-music-player adds macOS Now Playing controls to the OpenCode 2 TUI.
Read the package documentation
@naxodev/pi-music-dock adds macOS Now Playing status and controls to Pi.
Read the package documentation
bun install --frozen-lockfile
bun run checkSee CONTRIBUTING.md for development, release, and trusted publishing instructions.