Noodlr plugins

v0.2.2
io.github.noodlrstudio/noodlr Checked 19 hours ago Published 19 days ago

Build 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.

ParameterTypeDescription
id *stringReverse-domain id, such as com.example.my-node
name *stringDisplay name, up to 80 characters
route *string
descriptionstring
directorystringWhere 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.

ParameterTypeDescription
manifest *object
portsarray
stateobjectThe `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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
directory *stringThe Play node project or its src folder
declaredarrayDeclared 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.

ParameterTypeDescription
directory *string