@nodetool-ai/node-sdk 0.8.4-a24.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.nodetool-build-stamp +1 -1
- package/dist/_sandbox/README.md +176 -0
- package/dist/_sandbox/sandbox-aws/SKILL.md +98 -0
- package/dist/_sandbox/sandbox-aws/package.json +40 -0
- package/dist/_sandbox/sandbox-chrono/SKILL.md +39 -0
- package/dist/_sandbox/sandbox-chrono/package.json +40 -0
- package/dist/_sandbox/sandbox-color/SKILL.md +35 -0
- package/dist/_sandbox/sandbox-color/package.json +43 -0
- package/dist/_sandbox/sandbox-csv/SKILL.md +50 -0
- package/dist/_sandbox/sandbox-csv/package.json +39 -0
- package/dist/_sandbox/sandbox-dates/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-dates/package.json +41 -0
- package/dist/_sandbox/sandbox-decimal/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-decimal/package.json +43 -0
- package/dist/_sandbox/sandbox-diff/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-diff/package.json +39 -0
- package/dist/_sandbox/sandbox-docx/SKILL.md +53 -0
- package/dist/_sandbox/sandbox-docx/package.json +40 -0
- package/dist/_sandbox/sandbox-dsl/SKILL.md +137 -0
- package/dist/_sandbox/sandbox-dsl/package.json +413 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/authoring.js +382 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/core.js +382 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.audio.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.video.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/index.js +149 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/kie.dynamic_schema.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.audio.js +68 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.browser.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.charts.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.comfy.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.grid.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.channel.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.color.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.color_grading.js +44 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.draw.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.effects.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.enhance.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.filter.js +64 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.keyer.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.mask.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.warp.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.pdf.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.sqlite.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.stable_diffusion_cpp.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.svg.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.video.download.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/messaging.discord.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/messaging.telegram.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.embeddings.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.vision.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.agents.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.js +104 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.realtime.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.synth.js +40 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.blender.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.code.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.compare.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.constant.js +132 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.control.js +96 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.creative.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.data.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.document.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.entity.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.fake.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.game.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.generators.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.image.js +120 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.input.js +140 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.manimgx.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.model3d.js +76 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.output.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.script.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.sketch.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.storyboard.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.text.js +56 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.timeline.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.triggers.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.variable.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.video.js +136 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.app_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.base_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.subgraph.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.workflow_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.agents.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.audio.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.image.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.text.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/vector.js +56 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/whisper_cpp.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.vision.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/index.js +13 -0
- package/dist/_sandbox/sandbox-dsl/scripts/build.mjs +116 -0
- package/dist/_sandbox/sandbox-epub/SKILL.md +61 -0
- package/dist/_sandbox/sandbox-epub/package.json +40 -0
- package/dist/_sandbox/sandbox-exif/SKILL.md +30 -0
- package/dist/_sandbox/sandbox-exif/package.json +40 -0
- package/dist/_sandbox/sandbox-expr/SKILL.md +28 -0
- package/dist/_sandbox/sandbox-expr/package.json +40 -0
- package/dist/_sandbox/sandbox-fabric/SKILL.md +113 -0
- package/dist/_sandbox/sandbox-fabric/package.json +40 -0
- package/dist/_sandbox/sandbox-flow/SKILL.md +131 -0
- package/dist/_sandbox/sandbox-flow/package.json +411 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.audio.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.video.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/kie.dynamic_schema.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.audio.js +68 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.browser.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.charts.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.comfy.js +25 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.grid.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.channel.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.color.js +32 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.color_grading.js +44 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.draw.js +36 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.effects.js +24 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.enhance.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.filter.js +64 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.keyer.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.mask.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.warp.js +36 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.pdf.js +32 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.sqlite.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.stable_diffusion_cpp.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.svg.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.video.download.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/messaging.discord.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/messaging.telegram.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.embeddings.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.vision.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.agents.js +41 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.js +110 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.realtime.js +46 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.synth.js +67 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.blender.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.code.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.compare.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.constant.js +132 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.control.js +165 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.creative.js +27 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.data.js +18 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.document.js +19 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.entity.js +19 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.fake.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.game.js +39 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.generators.js +30 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.image.js +126 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.input.js +143 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.manimgx.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.model3d.js +76 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.output.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.script.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.sketch.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.storyboard.js +35 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.text.js +68 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.timeline.js +24 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.triggers.js +33 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.variable.js +15 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.video.js +145 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.app_node.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.base_node.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.subgraph.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.workflow_node.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.agents.js +25 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.audio.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.image.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.text.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/vector.js +56 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/whisper_cpp.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.vision.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/guest-core.js +35 -0
- package/dist/_sandbox/sandbox-flow/sandbox/index.js +10 -0
- package/dist/_sandbox/sandbox-flow/scripts/build.mjs +120 -0
- package/dist/_sandbox/sandbox-game/SKILL.md +116 -0
- package/dist/_sandbox/sandbox-game/package.json +36 -0
- package/dist/_sandbox/sandbox-game/sandbox/index.js +208 -0
- package/dist/_sandbox/sandbox-gif/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-gif/package.json +43 -0
- package/dist/_sandbox/sandbox-html/SKILL.md +107 -0
- package/dist/_sandbox/sandbox-html/package.json +40 -0
- package/dist/_sandbox/sandbox-ics/SKILL.md +41 -0
- package/dist/_sandbox/sandbox-ics/package.json +40 -0
- package/dist/_sandbox/sandbox-jmespath/SKILL.md +26 -0
- package/dist/_sandbox/sandbox-jmespath/package.json +43 -0
- package/dist/_sandbox/sandbox-mammoth/SKILL.md +46 -0
- package/dist/_sandbox/sandbox-mammoth/package.json +41 -0
- package/dist/_sandbox/sandbox-markdown/SKILL.md +123 -0
- package/dist/_sandbox/sandbox-markdown/package.json +41 -0
- package/dist/_sandbox/sandbox-notion/SKILL.md +101 -0
- package/dist/_sandbox/sandbox-notion/package.json +38 -0
- package/dist/_sandbox/sandbox-ocr/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-ocr/package.json +40 -0
- package/dist/_sandbox/sandbox-pdf/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-pdf/package.json +39 -0
- package/dist/_sandbox/sandbox-pdflib/SKILL.md +56 -0
- package/dist/_sandbox/sandbox-pdflib/package.json +38 -0
- package/dist/_sandbox/sandbox-pptx/SKILL.md +42 -0
- package/dist/_sandbox/sandbox-pptx/package.json +40 -0
- package/dist/_sandbox/sandbox-pptxgen/SKILL.md +49 -0
- package/dist/_sandbox/sandbox-pptxgen/package.json +38 -0
- package/dist/_sandbox/sandbox-qr/SKILL.md +43 -0
- package/dist/_sandbox/sandbox-qr/package.json +42 -0
- package/dist/_sandbox/sandbox-rrule/SKILL.md +37 -0
- package/dist/_sandbox/sandbox-rrule/package.json +43 -0
- package/dist/_sandbox/sandbox-stats/SKILL.md +42 -0
- package/dist/_sandbox/sandbox-stats/package.json +43 -0
- package/dist/_sandbox/sandbox-subtitle/SKILL.md +38 -0
- package/dist/_sandbox/sandbox-subtitle/package.json +41 -0
- package/dist/_sandbox/sandbox-supabase/SKILL.md +108 -0
- package/dist/_sandbox/sandbox-supabase/package.json +39 -0
- package/dist/_sandbox/sandbox-tfjs/SKILL.md +76 -0
- package/dist/_sandbox/sandbox-tfjs/package.json +42 -0
- package/dist/_sandbox/sandbox-timeline/SKILL.md +647 -0
- package/dist/_sandbox/sandbox-timeline/package.json +46 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/charts.js +356 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/components.js +171 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/index.d.ts +700 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/index.js +1658 -0
- package/dist/_sandbox/sandbox-tokens/SKILL.md +46 -0
- package/dist/_sandbox/sandbox-tokens/package.json +40 -0
- package/dist/_sandbox/sandbox-twilio/SKILL.md +93 -0
- package/dist/_sandbox/sandbox-twilio/package.json +39 -0
- package/dist/_sandbox/sandbox-xlsx/SKILL.md +74 -0
- package/dist/_sandbox/sandbox-xlsx/package.json +40 -0
- package/dist/_sandbox/sandbox-xml/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-xml/package.json +40 -0
- package/dist/_sandbox/sandbox-yaml/SKILL.md +48 -0
- package/dist/_sandbox/sandbox-yaml/package.json +41 -0
- package/dist/_sandbox/sandbox-zip/SKILL.md +54 -0
- package/dist/_sandbox/sandbox-zip/package.json +40 -0
- package/dist/code-node-validation.d.ts +2 -0
- package/dist/code-node-validation.d.ts.map +1 -1
- package/dist/code-node-validation.js +1 -1
- package/dist/code-node-validation.js.map +1 -1
- package/dist/pack-loader.d.ts +1 -0
- package/dist/pack-loader.d.ts.map +1 -1
- package/dist/pack-loader.js +1 -0
- package/dist/pack-loader.js.map +1 -1
- package/dist/sandbox-catalog-host.js +1 -1
- package/dist/sandbox-catalog-host.js.map +1 -1
- package/dist/sandbox-pack-discovery.d.ts +3 -0
- package/dist/sandbox-pack-discovery.d.ts.map +1 -1
- package/dist/sandbox-pack-discovery.js +7 -3
- package/dist/sandbox-pack-discovery.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function normalize(inputs, options) {
|
|
4
|
+
return createNode("nodetool.audio.Normalize", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function overlayAudio(inputs, options) {
|
|
7
|
+
return createNode("nodetool.audio.OverlayAudio", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function removeSilence(inputs, options) {
|
|
10
|
+
return createNode("nodetool.audio.RemoveSilence", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function sliceAudio(inputs, options) {
|
|
13
|
+
return createNode("nodetool.audio.SliceAudio", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function monoToStereo(inputs, options) {
|
|
16
|
+
return createNode("nodetool.audio.MonoToStereo", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function stereoToMono(inputs, options) {
|
|
19
|
+
return createNode("nodetool.audio.StereoToMono", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
20
|
+
}
|
|
21
|
+
function reverse(inputs, options) {
|
|
22
|
+
return createNode("nodetool.audio.Reverse", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
23
|
+
}
|
|
24
|
+
function fadeIn(inputs, options) {
|
|
25
|
+
return createNode("nodetool.audio.FadeIn", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
26
|
+
}
|
|
27
|
+
function fadeOut(inputs, options) {
|
|
28
|
+
return createNode("nodetool.audio.FadeOut", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
29
|
+
}
|
|
30
|
+
function repeat(inputs, options) {
|
|
31
|
+
return createNode("nodetool.audio.Repeat", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function audioMixer(inputs, options) {
|
|
34
|
+
return createNode("nodetool.audio.AudioMixer", inputs ?? {}, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function trim(inputs, options) {
|
|
37
|
+
return createNode("nodetool.audio.Trim", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
38
|
+
}
|
|
39
|
+
function createSilence(inputs, options) {
|
|
40
|
+
return createNode("nodetool.audio.CreateSilence", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
function concat(inputs, options) {
|
|
43
|
+
return createNode("nodetool.audio.Concat", inputs ?? {}, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
44
|
+
}
|
|
45
|
+
function concatList(inputs, options) {
|
|
46
|
+
return createNode("nodetool.audio.ConcatList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
47
|
+
}
|
|
48
|
+
function chunkToAudio(inputs, options) {
|
|
49
|
+
return createNode("nodetool.audio.ChunkToAudio", inputs, { id: options?.id, outputNames: ["audio"], outputTypes: { "audio": "audio" }, defaultOutput: "audio" });
|
|
50
|
+
}
|
|
51
|
+
function getAudioInfo(inputs, options) {
|
|
52
|
+
return createNode("nodetool.audio.GetAudioInfo", inputs, { id: options?.id, outputNames: ["duration", "sample_rate", "channels", "format", "size_bytes"], outputTypes: { "duration": "float", "sample_rate": "int", "channels": "int", "format": "str", "size_bytes": "int" } });
|
|
53
|
+
}
|
|
54
|
+
function loadAudioAssets(inputs, options) {
|
|
55
|
+
return createNode("nodetool.audio.LoadAudioAssets", inputs, { id: options?.id, outputNames: ["audio", "name", "audios"], outputTypes: { "audio": "audio", "name": "str", "audios": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "audio": { "kind": "iteration", "source": "__execution__", "group": "items" }, "name": { "kind": "iteration", "source": "__execution__", "group": "items" }, "audios": { "kind": "single", "source": "__execution__" } } });
|
|
56
|
+
}
|
|
57
|
+
function loadAudioFile(inputs, options) {
|
|
58
|
+
return createNode("nodetool.audio.LoadAudioFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
59
|
+
}
|
|
60
|
+
function loadAudioFolder(inputs, options) {
|
|
61
|
+
return createNode("nodetool.audio.LoadAudioFolder", inputs, { id: options?.id, outputNames: ["audio", "path", "audios"], outputTypes: { "audio": "audio", "path": "str", "audios": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "audio": { "kind": "iteration", "source": "__execution__", "group": "items" }, "path": { "kind": "iteration", "source": "__execution__", "group": "items" }, "audios": { "kind": "single", "source": "__execution__" } } });
|
|
62
|
+
}
|
|
63
|
+
function saveAudio(inputs, options) {
|
|
64
|
+
return createNode("nodetool.audio.SaveAudio", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
65
|
+
}
|
|
66
|
+
function saveAudioFile(inputs, options) {
|
|
67
|
+
return createNode("nodetool.audio.SaveAudioFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
68
|
+
}
|
|
69
|
+
function textToSpeech(inputs, options) {
|
|
70
|
+
return createNode("nodetool.audio.TextToSpeech", inputs, { id: options?.id, outputNames: ["audio", "chunk"], outputTypes: { "audio": "audio", "chunk": "chunk" }, inputMode: "buffered", outputCorrelation: { "audio": { "kind": "single", "source": "__execution__" }, "chunk": { "kind": "single", "source": "__execution__" } } });
|
|
71
|
+
}
|
|
72
|
+
function textToMusic(inputs, options) {
|
|
73
|
+
return createNode("nodetool.audio.TextToMusic", inputs, { id: options?.id, outputNames: ["audio"], outputTypes: { "audio": "audio" }, defaultOutput: "audio", inputMode: "buffered", outputCorrelation: { "audio": { "kind": "single", "source": "__execution__" } } });
|
|
74
|
+
}
|
|
75
|
+
function audioToAudio(inputs, options) {
|
|
76
|
+
return createNode("nodetool.audio.AudioToAudio", inputs, { id: options?.id, outputNames: ["audio"], outputTypes: { "audio": "audio" }, defaultOutput: "audio", inputMode: "buffered", outputCorrelation: { "audio": { "kind": "single", "source": "__execution__" } } });
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
audioMixer,
|
|
80
|
+
audioToAudio,
|
|
81
|
+
chunkToAudio,
|
|
82
|
+
concat,
|
|
83
|
+
concatList,
|
|
84
|
+
createSilence,
|
|
85
|
+
fadeIn,
|
|
86
|
+
fadeOut,
|
|
87
|
+
getAudioInfo,
|
|
88
|
+
loadAudioAssets,
|
|
89
|
+
loadAudioFile,
|
|
90
|
+
loadAudioFolder,
|
|
91
|
+
monoToStereo,
|
|
92
|
+
normalize,
|
|
93
|
+
overlayAudio,
|
|
94
|
+
removeSilence,
|
|
95
|
+
repeat,
|
|
96
|
+
reverse,
|
|
97
|
+
saveAudio,
|
|
98
|
+
saveAudioFile,
|
|
99
|
+
sliceAudio,
|
|
100
|
+
stereoToMono,
|
|
101
|
+
textToMusic,
|
|
102
|
+
textToSpeech,
|
|
103
|
+
trim
|
|
104
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function audioToChunks(inputs, options) {
|
|
4
|
+
return createNode("nodetool.audio.realtime.AudioToChunks", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streaming: true, outputCorrelation: { "chunk": { "kind": "iteration", "source": "__execution__", "group": "stream" } } });
|
|
5
|
+
}
|
|
6
|
+
function audioOutput(inputs, options) {
|
|
7
|
+
return createNode("nodetool.audio.realtime.AudioOutput", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
8
|
+
}
|
|
9
|
+
function chunksToAudio(inputs, options) {
|
|
10
|
+
return createNode("nodetool.audio.realtime.ChunksToAudio", inputs, { id: options?.id, outputNames: ["audio"], outputTypes: { "audio": "audio" }, defaultOutput: "audio", streamingInput: true });
|
|
11
|
+
}
|
|
12
|
+
function streamingGain(inputs, options) {
|
|
13
|
+
return createNode("nodetool.audio.realtime.StreamingGain", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
14
|
+
}
|
|
15
|
+
function streamingLowPass(inputs, options) {
|
|
16
|
+
return createNode("nodetool.audio.realtime.StreamingLowPass", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
17
|
+
}
|
|
18
|
+
function streamingHighPass(inputs, options) {
|
|
19
|
+
return createNode("nodetool.audio.realtime.StreamingHighPass", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
audioOutput,
|
|
23
|
+
audioToChunks,
|
|
24
|
+
chunksToAudio,
|
|
25
|
+
streamingGain,
|
|
26
|
+
streamingHighPass,
|
|
27
|
+
streamingLowPass
|
|
28
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function oscillator(inputs, options) {
|
|
4
|
+
return createNode("nodetool.audio.synth.Oscillator", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
5
|
+
}
|
|
6
|
+
function lfo(inputs, options) {
|
|
7
|
+
return createNode("nodetool.audio.synth.LFO", inputs, { id: options?.id, outputNames: ["cv"], outputTypes: { "cv": "cv" }, defaultOutput: "cv", streamingInput: true });
|
|
8
|
+
}
|
|
9
|
+
function adsr(inputs, options) {
|
|
10
|
+
return createNode("nodetool.audio.synth.ADSR", inputs, { id: options?.id, outputNames: ["cv"], outputTypes: { "cv": "cv" }, defaultOutput: "cv", streamingInput: true });
|
|
11
|
+
}
|
|
12
|
+
function gate(inputs, options) {
|
|
13
|
+
return createNode("nodetool.audio.synth.Gate", inputs, { id: options?.id, outputNames: ["cv"], outputTypes: { "cv": "cv" }, defaultOutput: "cv", streamingInput: true });
|
|
14
|
+
}
|
|
15
|
+
function vca(inputs, options) {
|
|
16
|
+
return createNode("nodetool.audio.synth.VCA", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
17
|
+
}
|
|
18
|
+
function vcf(inputs, options) {
|
|
19
|
+
return createNode("nodetool.audio.synth.VCF", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
20
|
+
}
|
|
21
|
+
function attenuverter(inputs, options) {
|
|
22
|
+
return createNode("nodetool.audio.synth.Attenuverter", inputs, { id: options?.id, outputNames: ["cv"], outputTypes: { "cv": "cv" }, defaultOutput: "cv", streamingInput: true });
|
|
23
|
+
}
|
|
24
|
+
function sampleHold(inputs, options) {
|
|
25
|
+
return createNode("nodetool.audio.synth.SampleHold", inputs, { id: options?.id, outputNames: ["cv"], outputTypes: { "cv": "cv" }, defaultOutput: "cv", streamingInput: true });
|
|
26
|
+
}
|
|
27
|
+
function mixer(inputs, options) {
|
|
28
|
+
return createNode("nodetool.audio.synth.Mixer", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streamingInput: true });
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
adsr,
|
|
32
|
+
attenuverter,
|
|
33
|
+
gate,
|
|
34
|
+
lfo,
|
|
35
|
+
mixer,
|
|
36
|
+
oscillator,
|
|
37
|
+
sampleHold,
|
|
38
|
+
vca,
|
|
39
|
+
vcf
|
|
40
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function renderImage(inputs, options) {
|
|
4
|
+
return createNode("nodetool.blender.RenderImage", inputs, { id: options?.id, outputNames: ["image"], outputTypes: { "image": "image" }, defaultOutput: "image" });
|
|
5
|
+
}
|
|
6
|
+
function renderPasses(inputs, options) {
|
|
7
|
+
return createNode("nodetool.blender.RenderPasses", inputs, { id: options?.id, outputNames: ["color", "depth", "depth_near", "depth_far", "normal", "mask"], outputTypes: { "color": "image", "depth": "image", "depth_near": "float", "depth_far": "float", "normal": "image", "mask": "image" } });
|
|
8
|
+
}
|
|
9
|
+
function renderAnimation(inputs, options) {
|
|
10
|
+
return createNode("nodetool.blender.RenderAnimation", inputs, { id: options?.id, outputNames: ["video"], outputTypes: { "video": "video" }, defaultOutput: "video" });
|
|
11
|
+
}
|
|
12
|
+
function bakeTimelineClip(inputs, options) {
|
|
13
|
+
return createNode("nodetool.blender.BakeTimelineClip", inputs, { id: options?.id, outputNames: ["video"], outputTypes: { "video": "video" }, defaultOutput: "video" });
|
|
14
|
+
}
|
|
15
|
+
function prepareForEngine(inputs, options) {
|
|
16
|
+
return createNode("nodetool.blender.PrepareForEngine", inputs, { id: options?.id, outputNames: ["model", "lods"], outputTypes: { "model": "model_3d", "lods": "list[model_3d]" } });
|
|
17
|
+
}
|
|
18
|
+
function exportModel(inputs, options) {
|
|
19
|
+
return createNode("nodetool.blender.ExportModel", inputs, { id: options?.id, outputNames: ["file"], outputTypes: { "file": "asset" }, defaultOutput: "file" });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
bakeTimelineClip,
|
|
23
|
+
exportModel,
|
|
24
|
+
prepareForEngine,
|
|
25
|
+
renderAnimation,
|
|
26
|
+
renderImage,
|
|
27
|
+
renderPasses
|
|
28
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function code(inputs, options) {
|
|
4
|
+
return createNode("nodetool.code.Code", inputs, { id: options?.id, outputNames: [], outputTypes: {}, streaming: true });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
code
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function compareImages(inputs, options) {
|
|
4
|
+
return createNode("nodetool.compare.CompareImages", inputs, { id: options?.id, outputNames: ["comparison", "score", "equal"], outputTypes: { "comparison": "any", "score": "float", "equal": "bool" } });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
compareImages
|
|
8
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function bool(inputs, options) {
|
|
4
|
+
return createNode("nodetool.constant.Bool", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "bool" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function integer(inputs, options) {
|
|
7
|
+
return createNode("nodetool.constant.Integer", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "int" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function float(inputs, options) {
|
|
10
|
+
return createNode("nodetool.constant.Float", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "float" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function string(inputs, options) {
|
|
13
|
+
return createNode("nodetool.constant.String", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function list(inputs, options) {
|
|
16
|
+
return createNode("nodetool.constant.List", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[any]" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function textList(inputs, options) {
|
|
19
|
+
return createNode("nodetool.constant.TextList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[str]" }, defaultOutput: "output" });
|
|
20
|
+
}
|
|
21
|
+
function dict(inputs, options) {
|
|
22
|
+
return createNode("nodetool.constant.Dict", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "dict[str, any]" }, defaultOutput: "output" });
|
|
23
|
+
}
|
|
24
|
+
function audio(inputs, options) {
|
|
25
|
+
return createNode("nodetool.constant.Audio", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
26
|
+
}
|
|
27
|
+
function image(inputs, options) {
|
|
28
|
+
return createNode("nodetool.constant.Image", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
29
|
+
}
|
|
30
|
+
function video(inputs, options) {
|
|
31
|
+
return createNode("nodetool.constant.Video", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "video" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function document(inputs, options) {
|
|
34
|
+
return createNode("nodetool.constant.Document", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "document" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function sketch(inputs, options) {
|
|
37
|
+
return createNode("nodetool.constant.Sketch", inputs, { id: options?.id, outputNames: ["output", "image", "mask", "layers"], outputTypes: { "output": "sketch", "image": "image", "mask": "image", "layers": "list[image]" } });
|
|
38
|
+
}
|
|
39
|
+
function timeline(inputs, options) {
|
|
40
|
+
return createNode("nodetool.constant.Timeline", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "timeline" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
function script(inputs, options) {
|
|
43
|
+
return createNode("nodetool.constant.Script", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "script" }, defaultOutput: "output" });
|
|
44
|
+
}
|
|
45
|
+
function storyboard(inputs, options) {
|
|
46
|
+
return createNode("nodetool.constant.Storyboard", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "storyboard" }, defaultOutput: "output" });
|
|
47
|
+
}
|
|
48
|
+
function entity(inputs, options) {
|
|
49
|
+
return createNode("nodetool.constant.Entity", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "entity" }, defaultOutput: "output" });
|
|
50
|
+
}
|
|
51
|
+
function json(inputs, options) {
|
|
52
|
+
return createNode("nodetool.constant.JSON", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "json" }, defaultOutput: "output" });
|
|
53
|
+
}
|
|
54
|
+
function model3D(inputs, options) {
|
|
55
|
+
return createNode("nodetool.constant.Model3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
56
|
+
}
|
|
57
|
+
function dataFrame(inputs, options) {
|
|
58
|
+
return createNode("nodetool.constant.DataFrame", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "dataframe" }, defaultOutput: "output" });
|
|
59
|
+
}
|
|
60
|
+
function audioList(inputs, options) {
|
|
61
|
+
return createNode("nodetool.constant.AudioList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[audio]" }, defaultOutput: "output" });
|
|
62
|
+
}
|
|
63
|
+
function imageList(inputs, options) {
|
|
64
|
+
return createNode("nodetool.constant.ImageList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[image]" }, defaultOutput: "output" });
|
|
65
|
+
}
|
|
66
|
+
function videoList(inputs, options) {
|
|
67
|
+
return createNode("nodetool.constant.VideoList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[video]" }, defaultOutput: "output" });
|
|
68
|
+
}
|
|
69
|
+
function select(inputs, options) {
|
|
70
|
+
return createNode("nodetool.constant.Select", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
71
|
+
}
|
|
72
|
+
function imageSize(inputs, options) {
|
|
73
|
+
return createNode("nodetool.constant.ImageSize", inputs, { id: options?.id, outputNames: ["image_size", "width", "height"], outputTypes: { "image_size": "image_size", "width": "int", "height": "int" } });
|
|
74
|
+
}
|
|
75
|
+
function date(inputs, options) {
|
|
76
|
+
return createNode("nodetool.constant.Date", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "date" }, defaultOutput: "output" });
|
|
77
|
+
}
|
|
78
|
+
function dateTime(inputs, options) {
|
|
79
|
+
return createNode("nodetool.constant.DateTime", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "datetime" }, defaultOutput: "output" });
|
|
80
|
+
}
|
|
81
|
+
function asrModelConstant(inputs, options) {
|
|
82
|
+
return createNode("nodetool.constant.ASRModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "asr_model" }, defaultOutput: "output" });
|
|
83
|
+
}
|
|
84
|
+
function embeddingModelConstant(inputs, options) {
|
|
85
|
+
return createNode("nodetool.constant.EmbeddingModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "embedding_model" }, defaultOutput: "output" });
|
|
86
|
+
}
|
|
87
|
+
function imageModelConstant(inputs, options) {
|
|
88
|
+
return createNode("nodetool.constant.ImageModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image_model" }, defaultOutput: "output" });
|
|
89
|
+
}
|
|
90
|
+
function languageModelConstant(inputs, options) {
|
|
91
|
+
return createNode("nodetool.constant.LanguageModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "language_model" }, defaultOutput: "output" });
|
|
92
|
+
}
|
|
93
|
+
function ttsModelConstant(inputs, options) {
|
|
94
|
+
return createNode("nodetool.constant.TTSModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "tts_model" }, defaultOutput: "output" });
|
|
95
|
+
}
|
|
96
|
+
function videoModelConstant(inputs, options) {
|
|
97
|
+
return createNode("nodetool.constant.VideoModelConstant", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "video_model" }, defaultOutput: "output" });
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
asrModelConstant,
|
|
101
|
+
audio,
|
|
102
|
+
audioList,
|
|
103
|
+
bool,
|
|
104
|
+
dataFrame,
|
|
105
|
+
date,
|
|
106
|
+
dateTime,
|
|
107
|
+
dict,
|
|
108
|
+
document,
|
|
109
|
+
embeddingModelConstant,
|
|
110
|
+
entity,
|
|
111
|
+
float,
|
|
112
|
+
image,
|
|
113
|
+
imageList,
|
|
114
|
+
imageModelConstant,
|
|
115
|
+
imageSize,
|
|
116
|
+
integer,
|
|
117
|
+
json,
|
|
118
|
+
languageModelConstant,
|
|
119
|
+
list,
|
|
120
|
+
model3D,
|
|
121
|
+
script,
|
|
122
|
+
select,
|
|
123
|
+
sketch,
|
|
124
|
+
storyboard,
|
|
125
|
+
string,
|
|
126
|
+
textList,
|
|
127
|
+
timeline,
|
|
128
|
+
ttsModelConstant,
|
|
129
|
+
video,
|
|
130
|
+
videoList,
|
|
131
|
+
videoModelConstant
|
|
132
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function if_(inputs, options) {
|
|
4
|
+
return createNode("nodetool.control.If", inputs, { id: options?.id, outputNames: ["if_true", "if_false"], outputTypes: { "if_true": "any", "if_false": "any" }, streaming: true, inputMode: "buffered", outputCorrelation: { "if_true": { "kind": "forward", "source": "value" }, "if_false": { "kind": "forward", "source": "value" } } });
|
|
5
|
+
}
|
|
6
|
+
function loop(inputs, options) {
|
|
7
|
+
return createNode("nodetool.control.Loop", inputs, { id: options?.id, outputNames: ["value", "index", "done"], outputTypes: { "value": "any", "index": "int", "done": "any" }, streaming: true, inputMode: "buffered", outputCorrelation: { "value": { "kind": "iteration", "source": "initial", "group": "loop" }, "index": { "kind": "iteration", "source": "initial", "group": "loop" }, "done": { "kind": "single", "source": "initial" } } });
|
|
8
|
+
}
|
|
9
|
+
function forEach(inputs, options) {
|
|
10
|
+
return createNode("nodetool.control.ForEach", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "any", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" } } });
|
|
11
|
+
}
|
|
12
|
+
function collection(inputs, options) {
|
|
13
|
+
return createNode("nodetool.control.Collection", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "any", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" } } });
|
|
14
|
+
}
|
|
15
|
+
function repeatCount(inputs, options) {
|
|
16
|
+
return createNode("nodetool.control.RepeatCount", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "int", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" } } });
|
|
17
|
+
}
|
|
18
|
+
function repeatValue(inputs, options) {
|
|
19
|
+
return createNode("nodetool.control.RepeatValue", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "any", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" } } });
|
|
20
|
+
}
|
|
21
|
+
function take(inputs, options) {
|
|
22
|
+
return createNode("nodetool.control.Take", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "any", "index": "int" }, streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" }, "index": { "kind": "forward", "source": "input_item" } } });
|
|
23
|
+
}
|
|
24
|
+
function drop(inputs, options) {
|
|
25
|
+
return createNode("nodetool.control.Drop", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "any", "index": "int" }, streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" }, "index": { "kind": "forward", "source": "input_item" } } });
|
|
26
|
+
}
|
|
27
|
+
function takeWhile(inputs, options) {
|
|
28
|
+
return createNode("nodetool.control.TakeWhile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
29
|
+
}
|
|
30
|
+
function dropWhile(inputs, options) {
|
|
31
|
+
return createNode("nodetool.control.DropWhile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
32
|
+
}
|
|
33
|
+
function filterEqual(inputs, options) {
|
|
34
|
+
return createNode("nodetool.control.FilterEqual", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
35
|
+
}
|
|
36
|
+
function filterCode(inputs, options) {
|
|
37
|
+
return createNode("nodetool.control.FilterCode", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
38
|
+
}
|
|
39
|
+
function chunk(inputs, options) {
|
|
40
|
+
return createNode("nodetool.control.Chunk", inputs, { id: options?.id, outputNames: ["output", "index"], outputTypes: { "output": "list[any]", "index": "int" }, streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "iteration", "source": "input_item", "group": "batch" }, "index": { "kind": "iteration", "source": "input_item", "group": "batch" } } });
|
|
41
|
+
}
|
|
42
|
+
function last(inputs, options) {
|
|
43
|
+
return createNode("nodetool.control.Last", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "aggregate", "source": "input_item", "collapse": "innermost" } } });
|
|
44
|
+
}
|
|
45
|
+
function count(inputs, options) {
|
|
46
|
+
return createNode("nodetool.control.Count", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "int" }, defaultOutput: "output", streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "aggregate", "source": "input_item", "collapse": "innermost" } } });
|
|
47
|
+
}
|
|
48
|
+
function distinct(inputs, options) {
|
|
49
|
+
return createNode("nodetool.control.Distinct", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
50
|
+
}
|
|
51
|
+
function tap(inputs, options) {
|
|
52
|
+
return createNode("nodetool.control.Tap", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "forward", "source": "input_item" } } });
|
|
53
|
+
}
|
|
54
|
+
function collect(inputs, options) {
|
|
55
|
+
return createNode("nodetool.control.Collect", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[any]" }, defaultOutput: "output", streamingInput: true, inputMode: "stream", outputCorrelation: { "output": { "kind": "aggregate", "source": "input_item", "collapse": "innermost" } } });
|
|
56
|
+
}
|
|
57
|
+
function reroute(inputs, options) {
|
|
58
|
+
return createNode("nodetool.control.Reroute", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "forward", "source": "input_value" } } });
|
|
59
|
+
}
|
|
60
|
+
function switch_(inputs, options) {
|
|
61
|
+
return createNode("nodetool.control.Switch", inputs, { id: options?.id, outputNames: ["matched", "default", "index"], outputTypes: { "matched": "any", "default": "any", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "matched": { "kind": "forward", "source": "input" }, "default": { "kind": "forward", "source": "input" }, "index": { "kind": "single", "source": "input" } } });
|
|
62
|
+
}
|
|
63
|
+
function tryCatch(inputs, options) {
|
|
64
|
+
return createNode("nodetool.control.TryCatch", inputs, { id: options?.id, outputNames: ["output", "error", "has_error"], outputTypes: { "output": "any", "error": "str", "has_error": "bool" }, streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "forward", "source": "value" }, "error": { "kind": "single", "source": "value" }, "has_error": { "kind": "single", "source": "value" } } });
|
|
65
|
+
}
|
|
66
|
+
function zip(inputs, options) {
|
|
67
|
+
return createNode("nodetool.control.Zip", inputs, { id: options?.id, outputNames: ["left", "right", "index"], outputTypes: { "left": "any", "right": "any", "index": "int" }, streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "left": { "kind": "iteration", "source": "__execution__", "group": "zip" }, "right": { "kind": "iteration", "source": "__execution__", "group": "zip" }, "index": { "kind": "iteration", "source": "__execution__", "group": "zip" } } });
|
|
68
|
+
}
|
|
69
|
+
function cross(inputs, options) {
|
|
70
|
+
return createNode("nodetool.control.Cross", inputs, { id: options?.id, outputNames: ["left", "right"], outputTypes: { "left": "any", "right": "any" }, streaming: true, streamingInput: true, inputMode: "stream", outputCorrelation: { "left": { "kind": "iteration", "source": "__execution__", "group": "cross" }, "right": { "kind": "iteration", "source": "__execution__", "group": "cross" } } });
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
chunk,
|
|
74
|
+
collect,
|
|
75
|
+
collection,
|
|
76
|
+
count,
|
|
77
|
+
cross,
|
|
78
|
+
distinct,
|
|
79
|
+
drop,
|
|
80
|
+
dropWhile,
|
|
81
|
+
filterCode,
|
|
82
|
+
filterEqual,
|
|
83
|
+
forEach,
|
|
84
|
+
if_,
|
|
85
|
+
last,
|
|
86
|
+
loop,
|
|
87
|
+
repeatCount,
|
|
88
|
+
repeatValue,
|
|
89
|
+
reroute,
|
|
90
|
+
switch_,
|
|
91
|
+
take,
|
|
92
|
+
takeWhile,
|
|
93
|
+
tap,
|
|
94
|
+
tryCatch,
|
|
95
|
+
zip
|
|
96
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function director(inputs, options) {
|
|
4
|
+
return createNode("nodetool.creative.Director", inputs, { id: options?.id, outputNames: ["screenplay", "narration", "music_prompt", "title"], outputTypes: { "screenplay": "dict", "narration": "str", "music_prompt": "str", "title": "str" } });
|
|
5
|
+
}
|
|
6
|
+
function screenplayShots(inputs, options) {
|
|
7
|
+
return createNode("nodetool.creative.ScreenplayShots", inputs, { id: options?.id, outputNames: ["shot", "shot_prompt", "index", "output"], outputTypes: { "shot": "dict", "shot_prompt": "str", "index": "int", "output": "list[str]" }, streaming: true, inputMode: "buffered", outputCorrelation: { "shot": { "kind": "iteration", "source": "__execution__", "group": "items" }, "shot_prompt": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" }, "output": { "kind": "single", "source": "__execution__" } } });
|
|
8
|
+
}
|
|
9
|
+
function applyEntities(inputs, options) {
|
|
10
|
+
return createNode("nodetool.creative.ApplyEntities", inputs, { id: options?.id, outputNames: ["prompt", "reference_images"], outputTypes: { "prompt": "str", "reference_images": "list[image]" } });
|
|
11
|
+
}
|
|
12
|
+
function shotBatch(inputs, options) {
|
|
13
|
+
return createNode("nodetool.creative.ShotBatch", inputs, { id: options?.id, outputNames: ["shots"], outputTypes: { "shots": "list[dict]" }, defaultOutput: "shots" });
|
|
14
|
+
}
|
|
15
|
+
function shotChain(inputs, options) {
|
|
16
|
+
return createNode("nodetool.creative.ShotChain", inputs, { id: options?.id, outputNames: ["videos"], outputTypes: { "videos": "list[video]" }, defaultOutput: "videos" });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
applyEntities,
|
|
20
|
+
director,
|
|
21
|
+
screenplayShots,
|
|
22
|
+
shotBatch,
|
|
23
|
+
shotChain
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function forEachRow(inputs, options) {
|
|
4
|
+
return createNode("nodetool.data.ForEachRow", inputs, { id: options?.id, outputNames: ["row", "index"], outputTypes: { "row": "dict", "index": "any" }, streaming: true, inputMode: "buffered", outputCorrelation: { "row": { "kind": "iteration", "source": "dataframe", "group": "items" }, "index": { "kind": "iteration", "source": "dataframe", "group": "items" } } });
|
|
5
|
+
}
|
|
6
|
+
function loadCSVAssets(inputs, options) {
|
|
7
|
+
return createNode("nodetool.data.LoadCSVAssets", inputs, { id: options?.id, outputNames: ["dataframe", "name", "dataframes", "names"], outputTypes: { "dataframe": "dataframe", "name": "str", "dataframes": "list", "names": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "dataframe": { "kind": "iteration", "source": "folder", "group": "items" }, "name": { "kind": "iteration", "source": "folder", "group": "items" }, "dataframes": { "kind": "single", "source": "folder" }, "names": { "kind": "single", "source": "folder" } } });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
forEachRow,
|
|
11
|
+
loadCSVAssets
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function loadDocumentFile(inputs, options) {
|
|
4
|
+
return createNode("nodetool.document.LoadDocumentFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "document" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function saveDocumentFile(inputs, options) {
|
|
7
|
+
return createNode("nodetool.document.SaveDocumentFile", inputs, { id: options?.id, outputNames: [], outputTypes: {} });
|
|
8
|
+
}
|
|
9
|
+
function listDocuments(inputs, options) {
|
|
10
|
+
return createNode("nodetool.document.ListDocuments", inputs, { id: options?.id, outputNames: ["document", "documents"], outputTypes: { "document": "document", "documents": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "document": { "kind": "iteration", "source": "__execution__", "group": "items" }, "documents": { "kind": "single", "source": "__execution__" } } });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
listDocuments,
|
|
14
|
+
loadDocumentFile,
|
|
15
|
+
saveDocumentFile
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function loadEntity(inputs, options) {
|
|
4
|
+
return createNode("nodetool.entity.LoadEntity", inputs, { id: options?.id, outputNames: ["entity", "descriptor", "name", "kind", "reference_image", "voice_id"], outputTypes: { "entity": "entity", "descriptor": "str", "name": "str", "kind": "str", "reference_image": "image", "voice_id": "str" } });
|
|
5
|
+
}
|
|
6
|
+
function listEntities(inputs, options) {
|
|
7
|
+
return createNode("nodetool.entity.ListEntities", inputs, { id: options?.id, outputNames: ["entity", "entities"], outputTypes: { "entity": "entity", "entities": "list[entity]" }, streaming: true, inputMode: "buffered", outputCorrelation: { "entity": { "kind": "iteration", "source": "__execution__", "group": "items" }, "entities": { "kind": "single", "source": "__execution__" } } });
|
|
8
|
+
}
|
|
9
|
+
function createEntity(inputs, options) {
|
|
10
|
+
return createNode("nodetool.entity.CreateEntity", inputs, { id: options?.id, outputNames: ["entity", "created"], outputTypes: { "entity": "entity", "created": "bool" } });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
createEntity,
|
|
14
|
+
listEntities,
|
|
15
|
+
loadEntity
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function generateImage(inputs, options) {
|
|
4
|
+
return createNode("nodetool.fake.GenerateImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function colorGrade(inputs, options) {
|
|
7
|
+
return createNode("nodetool.fake.ColorGrade", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
colorGrade,
|
|
11
|
+
generateImage
|
|
12
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function spriteSheet(inputs, options) {
|
|
4
|
+
return createNode("nodetool.game.SpriteSheet", inputs, { id: options?.id, outputNames: ["output", "fill"], outputTypes: { "output": "image", "fill": "dict" } });
|
|
5
|
+
}
|
|
6
|
+
function tileset(inputs, options) {
|
|
7
|
+
return createNode("nodetool.game.Tileset", inputs, { id: options?.id, outputNames: ["output", "fill"], outputTypes: { "output": "image", "fill": "dict" } });
|
|
8
|
+
}
|
|
9
|
+
function seamlessImage(inputs, options) {
|
|
10
|
+
return createNode("nodetool.game.SeamlessImage", inputs, { id: options?.id, outputNames: ["output", "fill"], outputTypes: { "output": "image", "fill": "dict" } });
|
|
11
|
+
}
|
|
12
|
+
function soundEffect(inputs, options) {
|
|
13
|
+
return createNode("nodetool.game.SoundEffect", inputs, { id: options?.id, outputNames: ["output", "fill"], outputTypes: { "output": "audio", "fill": "dict" } });
|
|
14
|
+
}
|
|
15
|
+
function musicLoop(inputs, options) {
|
|
16
|
+
return createNode("nodetool.game.MusicLoop", inputs, { id: options?.id, outputNames: ["output", "fill"], outputTypes: { "output": "audio", "fill": "dict" } });
|
|
17
|
+
}
|
|
18
|
+
function loadGameTemplate(inputs, options) {
|
|
19
|
+
return createNode("nodetool.game.LoadGameTemplate", inputs, { id: options?.id, outputNames: ["manifest", "slots", "slot"], outputTypes: { "manifest": "dict", "slots": "list[game_slot]", "slot": "game_slot" }, streaming: true, inputMode: "buffered", outputCorrelation: { "slot": { "kind": "iteration", "source": "__execution__", "group": "slots" }, "slots": { "kind": "single", "source": "__execution__" }, "manifest": { "kind": "single", "source": "__execution__" } } });
|
|
20
|
+
}
|
|
21
|
+
function slotPrompt(inputs, options) {
|
|
22
|
+
return createNode("nodetool.game.SlotPrompt", inputs, { id: options?.id, outputNames: ["prompt", "width", "height", "kind", "checker", "seconds", "reference_images", "reference_asset_id"], outputTypes: { "prompt": "str", "width": "int", "height": "int", "kind": "str", "checker": "dict", "seconds": "float", "reference_images": "list[image]", "reference_asset_id": "str" } });
|
|
23
|
+
}
|
|
24
|
+
function stageGameAssets(inputs, options) {
|
|
25
|
+
return createNode("nodetool.game.StageGameAssets", inputs, { id: options?.id, outputNames: ["output", "bindings", "paths"], outputTypes: { "output": "dict", "bindings": "dict", "paths": "list[str]" } });
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
loadGameTemplate,
|
|
29
|
+
musicLoop,
|
|
30
|
+
seamlessImage,
|
|
31
|
+
slotPrompt,
|
|
32
|
+
soundEffect,
|
|
33
|
+
spriteSheet,
|
|
34
|
+
stageGameAssets,
|
|
35
|
+
tileset
|
|
36
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function structuredOutputGenerator(inputs, options) {
|
|
4
|
+
return createNode("nodetool.generators.StructuredOutputGenerator", inputs, { id: options?.id, outputNames: [], outputTypes: {} });
|
|
5
|
+
}
|
|
6
|
+
function dataGenerator(inputs, options) {
|
|
7
|
+
return createNode("nodetool.generators.DataGenerator", inputs, { id: options?.id, outputNames: ["record", "dataframe", "index"], outputTypes: { "record": "dict", "dataframe": "dataframe", "index": "int" }, streaming: true, inputMode: "buffered", outputCorrelation: { "record": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" }, "dataframe": { "kind": "single", "source": "__execution__" } } });
|
|
8
|
+
}
|
|
9
|
+
function listGenerator(inputs, options) {
|
|
10
|
+
return createNode("nodetool.generators.ListGenerator", inputs, { id: options?.id, outputNames: ["item", "index", "output"], outputTypes: { "item": "str", "index": "int", "output": "list[str]" }, streaming: true, inputMode: "buffered", outputCorrelation: { "item": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" }, "output": { "kind": "single", "source": "__execution__" } } });
|
|
11
|
+
}
|
|
12
|
+
function chartGenerator(inputs, options) {
|
|
13
|
+
return createNode("nodetool.generators.ChartGenerator", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "chart_config" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function svgGenerator(inputs, options) {
|
|
16
|
+
return createNode("nodetool.generators.SVGGenerator", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[svg_element]" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
chartGenerator,
|
|
20
|
+
dataGenerator,
|
|
21
|
+
listGenerator,
|
|
22
|
+
structuredOutputGenerator,
|
|
23
|
+
svgGenerator
|
|
24
|
+
};
|