Noodlr plugins
v0.2.2Build Noodlr Board plugins: Play API docs, schemas, UI kit, scaffolding and review checks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scaffold_plugin Scaffold a plugin
Create a new Play node (Svelte, reviewed) or web app bridge plugin (no review). With `directory`, writes the files there (it must be empty or not exist); otherwise returns them.
| Parameter | Type | Description |
|---|---|---|
id * | string | Reverse-domain id, such as com.example.my-node |
name * | string | Display name, up to 80 characters |
route * | string | |
description | string | |
directory | string | Where to write the project, relative to the working directory |
validate_play_node Validate a Play node definition
Validate a Play node's manifest, state fields and ports against the host's rules, including that state defaults are valid. Pass the objects from your definePlayNode call as JSON.
| Parameter | Type | Description |
|---|---|---|
manifest * | object | |
ports | array | |
state | object | The `state` object. Omit to validate the manifest alone. |
validate_audiframe_manifest Validate an audiframe manifest
Check the manifest passed to createClient from @audiframe/client, using audiframe's own validator, and explain what is wrong. This is the route for new web apps.
| Parameter | Type | Description |
|---|---|---|
manifest * | object |
validate_web_app_manifest Validate a legacy Noodlr bridge manifest
For apps on the earlier @noodlrstudio/plugin-sdk bridge (createNoodlrWebAppBridge) only; new web apps use audiframe and validate_audiframe_manifest. Returns the manifest as the host will see it.
| Parameter | Type | Description |
|---|---|---|
manifest * | object |
validate_audio_plugin_manifest Validate an audio plugin manifest
Validate a curated WAM 2, Cmajor or WCLAP plugin manifest, including checksums and ports.
| Parameter | Type | Description |
|---|---|---|
manifest * | object |
check_capabilities Check declared capabilities
Compare the capabilities a Play node declares with the context APIs its source uses. Reports missing (the host will refuse the call) and unused (reviewers will ask) capabilities. Static heuristic: treat 'unused' as a prompt to check, not proof.
| Parameter | Type | Description |
|---|---|---|
directory * | string | The Play node project or its src folder |
declared | array | Declared capabilities. Omit to read them from the definePlayNode manifest. |
lint_theme Find colour literals
Find hex, rgb(), hsl(), oklch() and named colours in .css files and Svelte <style> blocks. Play nodes must use --noodlr-* tokens so they work in Light and Dark themes.
| Parameter | Type | Description |
|---|---|---|
directory * | string |