vs-sonic-pi documentation¶
Every document in this repository, one line each — start with the root README, and see AGENTS.md for how to work here.
Users start with the user manual. Contributors start with the architecture overview, which gives a reading order for the numbered component designs, and the generated commands, settings and keybindings reference.
Backlog of record: GitHub Issues. Release history is in CHANGELOG.md, kept by hand in Keep a Changelog format (it is left out of the table below, whose stock description assumes release-please).
Repository root¶
| Document | What it covers |
|---|---|
AGENTS.md |
VS Sonic Pi's direction is to become the ultimate open home for all things Sonic Pi in the editor: data, tools, resources and transparency, with live-coding in VS Code, OSC control of the Sonic Pi server, and open teaching tools for… |
CONTRIBUTING.md |
How to set up, build, test and lint the extension locally, and the branch, commit and pull request conventions for contributing. |
SECURITY.md |
Which versions receive security fixes, how to report a vulnerability privately, and the extension's local security surface. |
CODE_OF_CONDUCT.md |
The standards of behaviour for everyone taking part. |
docs/¶
| Document | What it covers |
|---|---|
docs/00-architecture.md |
How the extension's functional components fit together: the component map, a reading order for the design documents, and the cross-cutting disposable, error-reporting and event-flow patterns. |
docs/01-osc-transport.md |
OscTransport, the low-level OSC-over-UDP send/receive layer that wraps node-osc and carries all of the extension's network I/O. |
docs/02-connection-manager.md |
ConnectionManager, the state machine for the connection lifecycle (Disconnected → Connecting → Connected → Disconnecting) that orchestrates port discovery, handshake, heartbeat and health monitoring. |
docs/03-command-handler.md |
CommandHandler, which maps VS Code commands (Run, Stop, Record, Beautify and the rest) to OSC messages, reads editor state, guards against a disconnected server and handles responses. |
docs/04-language-provider.md |
The language support for .spi files: TextMate syntax highlighting, code snippets, IntelliSense completions, hover documentation and inline error diagnostics. |
docs/05-log-manager.md |
LogManager, which receives /multi_message, /info and /error from the server and renders them in a VS Code Output channel with timestamps, type prefixes and log-level filtering. |
docs/06-status-bar.md |
StatusBarManager, the persistent status bar indicator that shows the connection state and connects or disconnects on click. |
docs/07-config-manager.md |
ConfigManager, typed and validated access to every sonicpi.* setting, with change events so modules can react without a restart. |
docs/08-daemon-spawner.md |
PortDiscovery, which finds the ports the Sonic Pi server is using (port file, config, defaults), and DaemonSpawner, which can start daemon.rb without the Qt GUI. |
docs/09-sonic-pi-codebase-analysis.md |
A reference analysis of the forked Sonic Pi repository that catalogues every library, data file and protocol detail the extension can use or integrate. |
docs/10-codespaces-support.md |
Running the extension in GitHub Codespaces: remote/container environment detection, the devcontainer's headless audio stack, streamed audio playback and stale port-file recovery. |
docs/constitution.md |
The rules every change to this repo must satisfy, whoever makes it — a human or an AI agent. Agents read this before AGENTS.md conventions, the PRD, or the feature catalog. Ratified by… |
docs/PRD.md |
The product requirements for the Sonic Pi VS Code extension: vision and goals, users, functional requirements by phase, architecture, module specifications, data models, UX, the phased delivery plan and the testing strategy. |
docs/user-manual.md |
How to install, connect and use the extension — editor features, connection states, commands, configuration, the built-in tutorial, examples, recording and troubleshooting. |
docs/adr/ |
The index of architecture decision records: the decisions for vs-sonic-pi that are hard to reverse, one numbered file each. |
docs/amendments/ |
The append-only log of numbered amendments to the constitution, each ratified by the maintainer merging its PR. |
docs/reference/¶
| Document | What it covers |
|---|---|
docs/reference/commands.md |
Every command the Sonic Pi for VS Code extension contributes, with its ID, when the Command Palette offers it and which menus show it, generated from package.json contributes.commands. |
docs/reference/keybindings.md |
Every default keyboard shortcut the Sonic Pi for VS Code extension contributes, with the command it runs and when it is active, generated from package.json contributes.keybindings. |
docs/reference/settings.md |
Every setting the Sonic Pi for VS Code extension contributes, with its type, default and allowed values, generated from package.json contributes.configuration. |