refactor: move debug node into runtime

This commit is contained in:
release-bot
2026-02-12 16:18:29 +01:00
parent ddc3b4ce35
commit da09f8ba1e
4 changed files with 47 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
const data: Record<string, unknown> = {};
export function clearDebugData() {
for (const key in data) {
delete data[key];
}
}
export function getDebugData() {
return { ...data };
}
export const debugNode = {
id: 'max/plantarium/debug',
inputs: {
a: {
type: '*'
}
},
execute(data: Int32Array) {
return data;
}
} as const;