@nodetool-ai/websocket 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.
Files changed (251) hide show
  1. package/dist/.nodetool-build-stamp +1 -1
  2. package/dist/example-workflows.d.ts +2 -0
  3. package/dist/example-workflows.d.ts.map +1 -1
  4. package/dist/example-workflows.js +16 -4
  5. package/dist/example-workflows.js.map +1 -1
  6. package/dist/examples/nodetool-base/A Campaign Concept from a Brief.json +135 -0
  7. package/dist/examples/nodetool-base/A Gradient Card as PNG.json +128 -0
  8. package/dist/examples/nodetool-base/A Poster in Portrait.json +129 -0
  9. package/dist/examples/nodetool-base/A Repeating Texture Tile.json +129 -0
  10. package/dist/examples/nodetool-base/A Run Button for Any Job.json +152 -0
  11. package/dist/examples/nodetool-base/A Webhook That Answers.json +170 -0
  12. package/dist/examples/nodetool-base/AI Spokesperson.json +328 -0
  13. package/dist/examples/nodetool-base/Action Items from a Meeting Recording.json +198 -0
  14. package/dist/examples/nodetool-base/Ad Copy in Three Registers.json +135 -0
  15. package/dist/examples/nodetool-base/Ad Loop from a Product Photo.json +277 -0
  16. package/dist/examples/nodetool-base/Add Reverb to a Voice.json +125 -0
  17. package/dist/examples/nodetool-base/Album Art from a Mood.json +129 -0
  18. package/dist/examples/nodetool-base/Assemble a UGC Product Video.json +158 -0
  19. package/dist/examples/nodetool-base/Audio To Image.json +184 -0
  20. package/dist/examples/nodetool-base/B-Roll Reel from a Brief.json +339 -0
  21. package/dist/examples/nodetool-base/Batch a List.json +171 -0
  22. package/dist/examples/nodetool-base/Black and White, Hard.json +147 -0
  23. package/dist/examples/nodetool-base/Blog Post to Social Thread.json +135 -0
  24. package/dist/examples/nodetool-base/Blur a Channel.json +205 -0
  25. package/dist/examples/nodetool-base/Blur an Image.json +179 -0
  26. package/dist/examples/nodetool-base/Boost Saturation.json +178 -0
  27. package/dist/examples/nodetool-base/Brand Asset Generator.json +585 -0
  28. package/dist/examples/nodetool-base/Brand a UGC Product Video.json +402 -0
  29. package/dist/examples/nodetool-base/Bring a Still to Life.json +250 -0
  30. package/dist/examples/nodetool-base/Bullet Points to Press Release.json +135 -0
  31. package/dist/examples/nodetool-base/Chapter Markers for a Long Recording.json +198 -0
  32. package/dist/examples/nodetool-base/Chat With Your Documents.json +569 -0
  33. package/dist/examples/nodetool-base/Chunk a Transcript for Indexing.json +202 -0
  34. package/dist/examples/nodetool-base/Circles and Lines.json +126 -0
  35. package/dist/examples/nodetool-base/Clean Up a Rough Voice Recording.json +208 -0
  36. package/dist/examples/nodetool-base/Clip on Kie.json +173 -0
  37. package/dist/examples/nodetool-base/Cold Outreach Co-Pilot.json +423 -0
  38. package/dist/examples/nodetool-base/Color Boost Video.json +250 -0
  39. package/dist/examples/nodetool-base/Compose Directed Campaign Formats.json +764 -0
  40. package/dist/examples/nodetool-base/Concept Art Iteration Board.json +439 -0
  41. package/dist/examples/nodetool-base/Concept Art, Then a Moving Version.json +173 -0
  42. package/dist/examples/nodetool-base/Conditional Logic Engine.json +535 -0
  43. package/dist/examples/nodetool-base/Count a List.json +168 -0
  44. package/dist/examples/nodetool-base/Count to Three with a Loop.json +157 -0
  45. package/dist/examples/nodetool-base/Crop an Image.json +181 -0
  46. package/dist/examples/nodetool-base/Crop then Fit.json +208 -0
  47. package/dist/examples/nodetool-base/Crush It to 8 Bits.json +123 -0
  48. package/dist/examples/nodetool-base/Cut Out the Subject.json +184 -0
  49. package/dist/examples/nodetool-base/Cut a Landscape Clip for Vertical.json +123 -0
  50. package/dist/examples/nodetool-base/Cut a Product Out of Its Background.json +238 -0
  51. package/dist/examples/nodetool-base/Data Generator.json +216 -0
  52. package/dist/examples/nodetool-base/Denoise Footage.json +178 -0
  53. package/dist/examples/nodetool-base/Direct a Short Film.json +305 -0
  54. package/dist/examples/nodetool-base/Directed Film to Timeline.json +385 -0
  55. package/dist/examples/nodetool-base/Does This Text Mention the Deadline.json +130 -0
  56. package/dist/examples/nodetool-base/Draft Answers for an FAQ.json +135 -0
  57. package/dist/examples/nodetool-base/Draw a Badge in SVG.json +126 -0
  58. package/dist/examples/nodetool-base/Drop Duplicates.json +170 -0
  59. package/dist/examples/nodetool-base/Drop the First Few.json +148 -0
  60. package/dist/examples/nodetool-base/Dungeon and Ruins Starter Pack.json +786 -0
  61. package/dist/examples/nodetool-base/Edit a Still with Words.json +284 -0
  62. package/dist/examples/nodetool-base/Editorial Still from a Line.json +197 -0
  63. package/dist/examples/nodetool-base/Emboss a Still.json +120 -0
  64. package/dist/examples/nodetool-base/Every Combination.json +225 -0
  65. package/dist/examples/nodetool-base/Every Hour, On the Hour.json +162 -0
  66. package/dist/examples/nodetool-base/Executive Summary of a Long Document.json +135 -0
  67. package/dist/examples/nodetool-base/Explainer Clip from a Paragraph.json +244 -0
  68. package/dist/examples/nodetool-base/Extract the Claims Worth Checking.json +135 -0
  69. package/dist/examples/nodetool-base/Fade Audio In and Out.json +203 -0
  70. package/dist/examples/nodetool-base/Fade Audio Out.json +202 -0
  71. package/dist/examples/nodetool-base/Fill a Template.json +149 -0
  72. package/dist/examples/nodetool-base/Find Every Number in a Sentence.json +127 -0
  73. package/dist/examples/nodetool-base/Find and Replace.json +224 -0
  74. package/dist/examples/nodetool-base/Find the Edges.json +123 -0
  75. package/dist/examples/nodetool-base/Fit an Image.json +179 -0
  76. package/dist/examples/nodetool-base/Five Headlines for a Landing Page.json +135 -0
  77. package/dist/examples/nodetool-base/Flashcard Generator.json +297 -0
  78. package/dist/examples/nodetool-base/Gate Out the Room Noise.json +124 -0
  79. package/dist/examples/nodetool-base/Generate a Native-Audio UGC Testimonial.json +276 -0
  80. package/dist/examples/nodetool-base/Generate a Silent Bed.json +126 -0
  81. package/dist/examples/nodetool-base/Generate then Upscale a Poster.json +164 -0
  82. package/dist/examples/nodetool-base/Hacker News Agent.json +183 -0
  83. package/dist/examples/nodetool-base/Hook & Thumbnail Factory.json +498 -0
  84. package/dist/examples/nodetool-base/How Long Is This Transcript.json +185 -0
  85. package/dist/examples/nodetool-base/Image Enhance.json +272 -0
  86. package/dist/examples/nodetool-base/Image To Audio Story.json +180 -0
  87. package/dist/examples/nodetool-base/Image to Video Animation.json +346 -0
  88. package/dist/examples/nodetool-base/Inspect a Clip's Audio.json +187 -0
  89. package/dist/examples/nodetool-base/Inspect a Clip.json +163 -0
  90. package/dist/examples/nodetool-base/Invert a Still.json +120 -0
  91. package/dist/examples/nodetool-base/Keep Only the Long Lines.json +220 -0
  92. package/dist/examples/nodetool-base/Keep Only the Matches.json +148 -0
  93. package/dist/examples/nodetool-base/Key Out a Green Screen.json +124 -0
  94. package/dist/examples/nodetool-base/Last One Wins.json +144 -0
  95. package/dist/examples/nodetool-base/Lip-sync a Clip to a Voice Track.json +313 -0
  96. package/dist/examples/nodetool-base/Localise a Product Listing.json +135 -0
  97. package/dist/examples/nodetool-base/Localise a Script and Revoice It.json +242 -0
  98. package/dist/examples/nodetool-base/Localized Explainer.json +430 -0
  99. package/dist/examples/nodetool-base/Low-poly Adventure Starter Pack.json +786 -0
  100. package/dist/examples/nodetool-base/Low-poly Seaside Starter Pack.json +786 -0
  101. package/dist/examples/nodetool-base/Master a Voice Track.json +180 -0
  102. package/dist/examples/nodetool-base/Meeting Transcript Summarizer.json +524 -0
  103. package/dist/examples/nodetool-base/Model Arena.json +550 -0
  104. package/dist/examples/nodetool-base/Moodboard Frame from a Theme.json +129 -0
  105. package/dist/examples/nodetool-base/Movie Posters.json +660 -0
  106. package/dist/examples/nodetool-base/Movie Trailer Generator.json +418 -0
  107. package/dist/examples/nodetool-base/Music Video Visualizer.json +720 -0
  108. package/dist/examples/nodetool-base/Name a File from Its Narration.json +231 -0
  109. package/dist/examples/nodetool-base/Narrate a Script.json +169 -0
  110. package/dist/examples/nodetool-base/Narration with a Music Bed.json +360 -0
  111. package/dist/examples/nodetool-base/Normalize a Clip's Audio.json +201 -0
  112. package/dist/examples/nodetool-base/One Tagline, Six Markets.json +135 -0
  113. package/dist/examples/nodetool-base/Pad a Canvas.json +188 -0
  114. package/dist/examples/nodetool-base/Per-SKU Ad Factory.json +511 -0
  115. package/dist/examples/nodetool-base/Photo Enhancement Suite.json +417 -0
  116. package/dist/examples/nodetool-base/Picture in Picture.json +231 -0
  117. package/dist/examples/nodetool-base/Pitch a Voice Up.json +122 -0
  118. package/dist/examples/nodetool-base/Pixelate a Still.json +122 -0
  119. package/dist/examples/nodetool-base/Platformer Playground Starter Pack.json +786 -0
  120. package/dist/examples/nodetool-base/Podcast Episode to Show Notes.json +198 -0
  121. package/dist/examples/nodetool-base/Podcast Repurposing Studio.json +745 -0
  122. package/dist/examples/nodetool-base/Pokemon Maker.json +282 -0
  123. package/dist/examples/nodetool-base/Poster on Kie.json +172 -0
  124. package/dist/examples/nodetool-base/Posterize to Four Bits.json +122 -0
  125. package/dist/examples/nodetool-base/Private Assistant.json +236 -0
  126. package/dist/examples/nodetool-base/Product Mockup Generator.json +608 -0
  127. package/dist/examples/nodetool-base/Product Spot from Text.json +330 -0
  128. package/dist/examples/nodetool-base/Product Video Generator.json +344 -0
  129. package/dist/examples/nodetool-base/Prompt Template.json +221 -0
  130. package/dist/examples/nodetool-base/Propose Three Campaign Directions.json +614 -0
  131. package/dist/examples/nodetool-base/Pull a Field out of JSON Text.json +128 -0
  132. package/dist/examples/nodetool-base/Pull a Still from a Clip.json +179 -0
  133. package/dist/examples/nodetool-base/Pull the Quotable Lines Out of an Interview.json +198 -0
  134. package/dist/examples/nodetool-base/Put a Product on a Studio Backdrop.json +252 -0
  135. package/dist/examples/nodetool-base/Put a Voice Over a Music Bed.json +358 -0
  136. package/dist/examples/nodetool-base/README_EXAMPLES.md +59 -0
  137. package/dist/examples/nodetool-base/Re-delimit a List.json +199 -0
  138. package/dist/examples/nodetool-base/Read a Clip's Frame Rate.json +120 -0
  139. package/dist/examples/nodetool-base/Redact Email Addresses.json +129 -0
  140. package/dist/examples/nodetool-base/Redact and Tidy a Log Line.json +266 -0
  141. package/dist/examples/nodetool-base/Relight a Product for a Seasonal Campaign.json +131 -0
  142. package/dist/examples/nodetool-base/Render a Directed Campaign Hero.json +338 -0
  143. package/dist/examples/nodetool-base/Reopen a Directed Campaign.json +1748 -0
  144. package/dist/examples/nodetool-base/Research Agent.json +231 -0
  145. package/dist/examples/nodetool-base/Research a Brand from Its Website.json +445 -0
  146. package/dist/examples/nodetool-base/Restyle a Photo as an Illustration.json +136 -0
  147. package/dist/examples/nodetool-base/Reverse Audio.json +201 -0
  148. package/dist/examples/nodetool-base/Reverse a Clip.json +176 -0
  149. package/dist/examples/nodetool-base/Revise an Accepted Campaign Hero.json +486 -0
  150. package/dist/examples/nodetool-base/Rewrite This So a Customer Understands It.json +135 -0
  151. package/dist/examples/nodetool-base/Rotate Footage.json +178 -0
  152. package/dist/examples/nodetool-base/SEO Content Engine.json +708 -0
  153. package/dist/examples/nodetool-base/SEO Title and Meta Description.json +135 -0
  154. package/dist/examples/nodetool-base/Sci-fi Game Model Starter Pack.json +693 -0
  155. package/dist/examples/nodetool-base/Sci-fi Outpost Expansion.json +601 -0
  156. package/dist/examples/nodetool-base/Score a Clip from Its Own Mood.json +229 -0
  157. package/dist/examples/nodetool-base/Score a Silent Clip.json +382 -0
  158. package/dist/examples/nodetool-base/Script to Narrated Clip.json +224 -0
  159. package/dist/examples/nodetool-base/Script to Screen.json +940 -0
  160. package/dist/examples/nodetool-base/Sharpen Footage.json +179 -0
  161. package/dist/examples/nodetool-base/Shot List from a Synopsis.json +136 -0
  162. package/dist/examples/nodetool-base/Single Shot from a Line.json +199 -0
  163. package/dist/examples/nodetool-base/Slice Text.json +159 -0
  164. package/dist/examples/nodetool-base/Slow a Clip Without Dropping Pitch.json +122 -0
  165. package/dist/examples/nodetool-base/Soften a Plate.json +178 -0
  166. package/dist/examples/nodetool-base/Solarize a Still.json +122 -0
  167. package/dist/examples/nodetool-base/Speak a Line, Then Trim the Silence.json +157 -0
  168. package/dist/examples/nodetool-base/Spin a Packshot into a Turntable Clip.json +137 -0
  169. package/dist/examples/nodetool-base/Split a Channel.json +178 -0
  170. package/dist/examples/nodetool-base/Split a Log into Records.json +128 -0
  171. package/dist/examples/nodetool-base/Stabilize Handheld.json +179 -0
  172. package/dist/examples/nodetool-base/Still on Replicate.json +172 -0
  173. package/dist/examples/nodetool-base/Subject Lines Worth Testing.json +135 -0
  174. package/dist/examples/nodetool-base/Subtitle Lines from a Script.json +170 -0
  175. package/dist/examples/nodetool-base/Subtitle Text from a Recording.json +198 -0
  176. package/dist/examples/nodetool-base/Summarise a Recorded Call.json +198 -0
  177. package/dist/examples/nodetool-base/Swirl and Echo.json +154 -0
  178. package/dist/examples/nodetool-base/Take While the Numbers Are Small.json +148 -0
  179. package/dist/examples/nodetool-base/Take a Product Shot to Print Resolution.json +209 -0
  180. package/dist/examples/nodetool-base/Take the First Few Seconds of a Bed.json +127 -0
  181. package/dist/examples/nodetool-base/Take the First Few.json +170 -0
  182. package/dist/examples/nodetool-base/Telephone Voice.json +174 -0
  183. package/dist/examples/nodetool-base/Themes Across Customer Feedback.json +135 -0
  184. package/dist/examples/nodetool-base/Three Ratios.json +315 -0
  185. package/dist/examples/nodetool-base/Tidy Up Messy Text.json +199 -0
  186. package/dist/examples/nodetool-base/Top-down Native Asset Pack.json +955 -0
  187. package/dist/examples/nodetool-base/Trailer Beats from a Premise.json +136 -0
  188. package/dist/examples/nodetool-base/Transcribe Audio.json +138 -0
  189. package/dist/examples/nodetool-base/Transcribe a Clip.json +198 -0
  190. package/dist/examples/nodetool-base/Translate Marketing Copy to German.json +135 -0
  191. package/dist/examples/nodetool-base/Translate a Script for Dubbing.json +224 -0
  192. package/dist/examples/nodetool-base/Trim Audio to a Range.json +203 -0
  193. package/dist/examples/nodetool-base/Trim a Blurb to Length.json +128 -0
  194. package/dist/examples/nodetool-base/Trim a Clip.json +180 -0
  195. package/dist/examples/nodetool-base/Turn Research Notes into a Comparison Table.json +136 -0
  196. package/dist/examples/nodetool-base/Turn Specs into Product Copy.json +135 -0
  197. package/dist/examples/nodetool-base/Turn a Changelog into Release Notes.json +135 -0
  198. package/dist/examples/nodetool-base/Turn a Logo into Print-Ready Vector.json +126 -0
  199. package/dist/examples/nodetool-base/Turn a Support Thread into a Bug Report.json +135 -0
  200. package/dist/examples/nodetool-base/Turn a Talk into a Blog Post.json +198 -0
  201. package/dist/examples/nodetool-base/Upscale a Still.json +186 -0
  202. package/dist/examples/nodetool-base/Vectorize a Generated Logo.json +162 -0
  203. package/dist/examples/nodetool-base/Video Restyle Studio.json +281 -0
  204. package/dist/examples/nodetool-base/Vignette a Portrait.json +124 -0
  205. package/dist/examples/nodetool-base/Voice a Script in Two Voices.json +217 -0
  206. package/dist/examples/nodetool-base/Warm Up a Cold Clip.json +124 -0
  207. package/dist/examples/nodetool-base/Watch a Folder, Act on What Lands.json +177 -0
  208. package/dist/examples/nodetool-base/Widen a Mono Voice.json +151 -0
  209. package/dist/examples/nodetool-base/Workflow As A Tool.json +257 -0
  210. package/dist/examples/nodetool-base/Write a Listing from the Product Photo.json +139 -0
  211. package/dist/examples/nodetool-base/Write the Prompt, Then Make the Image.json +200 -0
  212. package/dist/examples/nodetool-base/gallery_thumbnail_generator.ts +384 -0
  213. package/dist/fake-runtime.d.ts.map +1 -1
  214. package/dist/fake-runtime.js +5 -1
  215. package/dist/fake-runtime.js.map +1 -1
  216. package/dist/http-api.d.ts.map +1 -1
  217. package/dist/http-api.js +20 -3
  218. package/dist/http-api.js.map +1 -1
  219. package/dist/lib/openverse.d.ts +47 -0
  220. package/dist/lib/openverse.d.ts.map +1 -0
  221. package/dist/lib/openverse.js +255 -0
  222. package/dist/lib/openverse.js.map +1 -0
  223. package/dist/model-execution-availability.d.ts.map +1 -1
  224. package/dist/model-execution-availability.js +7 -2
  225. package/dist/model-execution-availability.js.map +1 -1
  226. package/dist/screenshot-server.js +87 -49
  227. package/dist/screenshot-server.js.map +1 -1
  228. package/dist/trpc/router.d.ts +2 -0
  229. package/dist/trpc/router.d.ts.map +1 -1
  230. package/dist/trpc/router.js +2 -0
  231. package/dist/trpc/router.js.map +1 -1
  232. package/dist/trpc/routers/games.d.ts +179 -0
  233. package/dist/trpc/routers/games.d.ts.map +1 -1
  234. package/dist/trpc/routers/games.js +1 -1
  235. package/dist/trpc/routers/games.js.map +1 -1
  236. package/dist/trpc/routers/models.d.ts +270 -0
  237. package/dist/trpc/routers/models.d.ts.map +1 -1
  238. package/dist/trpc/routers/models.js +37 -19
  239. package/dist/trpc/routers/models.js.map +1 -1
  240. package/dist/trpc/routers/openverse.d.ts +91 -0
  241. package/dist/trpc/routers/openverse.d.ts.map +1 -0
  242. package/dist/trpc/routers/openverse.js +98 -0
  243. package/dist/trpc/routers/openverse.js.map +1 -0
  244. package/dist/trpc/sandbox-coverage.d.ts.map +1 -1
  245. package/dist/trpc/sandbox-coverage.js +11 -0
  246. package/dist/trpc/sandbox-coverage.js.map +1 -1
  247. package/dist/websocket-client-session.d.ts +8 -0
  248. package/dist/websocket-client-session.d.ts.map +1 -1
  249. package/dist/websocket-client-session.js +31 -1
  250. package/dist/websocket-client-session.js.map +1 -1
  251. package/package.json +27 -28
@@ -1 +1 @@
1
- 2026-10-16T09:38:21.396Z
1
+ 2026-10-17T11:17:05.241Z
@@ -5,6 +5,8 @@ interface ExampleWorkflowLoadOptions {
5
5
  metadataRoots?: string[];
6
6
  metadataMaxDepth?: number;
7
7
  }
8
+ /** Default examples shipped inside the npm package or bundled server. */
9
+ export declare function shippedWorkflowExamplesDir(): string | undefined;
8
10
  /**
9
11
  * Resolve the directory containing gallery thumbnail JPGs/PNGs for an examples dir.
10
12
  * Prefer the sibling `assets/<package>` layout; fall back to bundled assets when
@@ -1 +1 @@
1
- {"version":3,"file":"example-workflows.d.ts","sourceRoot":"","sources":["../src/example-workflows.ts"],"names":[],"mappings":"AAKA,UAAU,0BAA0B;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAaD;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAChC,MAAM,CAiBR;AAED,iFAAiF;AACjF,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,IAAI,CAwDf;AAyCD,iFAAiF;AACjF,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,0BAA+B,GACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAahC;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,0BAA0B,GAClC,MAAM,GAAG,IAAI,CAKf"}
1
+ {"version":3,"file":"example-workflows.d.ts","sourceRoot":"","sources":["../src/example-workflows.ts"],"names":[],"mappings":"AAMA,UAAU,0BAA0B;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yEAAyE;AACzE,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,SAAS,CAO/D;AAaD;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAChC,MAAM,CAiBR;AAED,iFAAiF;AACjF,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,IAAI,CAwDf;AAyCD,iFAAiF;AACjF,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,0BAA+B,GACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAchC;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,0BAA0B,GAClC,MAAM,GAAG,IAAI,CAMf"}
@@ -1,7 +1,17 @@
1
1
  import { existsSync, readFileSync, readdirSync } from "node:fs";
2
2
  import nodePath from "node:path";
3
+ import { fileURLToPath } from "node:url";
3
4
  import { loadPythonPackageMetadata } from "@nodetool-ai/node-sdk";
4
5
  import { isString } from "./lib/wire-values.js";
6
+ /** Default examples shipped inside the npm package or bundled server. */
7
+ export function shippedWorkflowExamplesDir() {
8
+ const here = nodePath.dirname(fileURLToPath(import.meta.url));
9
+ const candidates = [
10
+ nodePath.join(here, "examples", "nodetool-base"),
11
+ nodePath.resolve(here, "../../base-nodes/nodetool/examples/nodetool-base")
12
+ ];
13
+ return candidates.find((directory) => existsSync(directory));
14
+ }
5
15
  function directoryHasGalleryThumbnails(dir) {
6
16
  if (!existsSync(dir)) {
7
17
  return false;
@@ -109,8 +119,9 @@ function loadExampleGraphFromPythonPackage(packageName, exampleRef, options) {
109
119
  }
110
120
  /** Load a full example workflow JSON (including graph) for workflow creation. */
111
121
  export function loadExampleGraph(packageName, exampleRef, options = {}) {
112
- if (options.examplesDir && existsSync(options.examplesDir)) {
113
- const fromDir = loadExampleGraphFromDir(options.examplesDir, exampleRef);
122
+ const examplesDir = options.examplesDir ?? shippedWorkflowExamplesDir();
123
+ if (examplesDir && existsSync(examplesDir) && (options.examplesDir || !packageName || packageName === nodePath.basename(examplesDir))) {
124
+ const fromDir = loadExampleGraphFromDir(examplesDir, exampleRef);
114
125
  if (fromDir) {
115
126
  return fromDir;
116
127
  }
@@ -121,8 +132,9 @@ export function loadExampleGraph(packageName, exampleRef, options = {}) {
121
132
  return null;
122
133
  }
123
134
  export function defaultExamplePackageName(options) {
124
- if (options.examplesDir && existsSync(options.examplesDir)) {
125
- return nodePath.basename(options.examplesDir);
135
+ const examplesDir = options.examplesDir ?? shippedWorkflowExamplesDir();
136
+ if (examplesDir && existsSync(examplesDir)) {
137
+ return nodePath.basename(examplesDir);
126
138
  }
127
139
  return null;
128
140
  }
@@ -1 +1 @@
1
- {"version":3,"file":"example-workflows.js","sourceRoot":"","sources":["../src/example-workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAUhD,SAAS,6BAA6B,CAAC,GAAW;IAChD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC;QACH,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CACpC,WAAmB,EACnB,iBAAiC;IAEjC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAC3B,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,EAC/C,QAAQ,EACR,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAC/B,CAAC;IACF,IAAI,6BAA6B,CAAC,OAAO,CAAC,EAAE,CAAC;QAC3C,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,IACE,iBAAiB;QACjB,UAAU,CAAC,iBAAiB,CAAC;QAC7B,6BAA6B,CAAC,iBAAiB,CAAC,EAChD,CAAC;QACD,OAAO,iBAAiB,CAAC;IAC3B,C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iFAAiF;AACjF,MAAM,UAAU,gBAAgB,CAC9B,WAAmB,EACnB,UAAkB,EAClB,OAAO,GAA+B,EAAE;IAExC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,0BAA0B,EAAE,CAAC;IACxE,IAAI,WAAW,IAAI,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,IAAI,CAAC,WAAW,IAAI,WAAW,KAAK,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;QACtI,MAAM,OAAO,GAAG,uBAAuB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACjE,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,iCAAiC,CAAC,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAAmC;IAEnC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,0BAA0B,EAAE,CAAC;IACxE,IAAI,WAAW,IAAI,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QAC3C,OAAO,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,135 @@
1
+ {
2
+ "id": "",
3
+ "access": "private",
4
+ "created_at": "2026-07-30T16:00:00.000Z",
5
+ "updated_at": "2026-07-30T16:00:00.000Z",
6
+ "name": "A Campaign Concept from a Brief",
7
+ "tool_name": null,
8
+ "description": "A brief becomes a concept with a line, a visual idea and three channel executions. Asking for the executions is what forces the concept to be one that survives contact with a media plan.",
9
+ "tags": [
10
+ "text",
11
+ "example"
12
+ ],
13
+ "thumbnail": null,
14
+ "thumbnail_url": null,
15
+ "graph": {
16
+ "nodes": [
17
+ {
18
+ "id": "intro-comment",
19
+ "type": "nodetool.workflows.base_node.Comment",
20
+ "data": {
21
+ "comment": "# A Campaign Concept from a Brief\n\nTurns a campaign brief into a campaign line, a visual concept and three channel executions. Use it to test whether an idea holds up across out of home, social and a 15-second film.\n\n**How it works:** Type the brief into \"1 Input\". The \"2 Agent\" node acts as a creative director and writes the line, the concept paragraph and the three executions. \"3 Output\" shows the result as text.\n\n**Try this:** Pick a model on the Agent and edit its system prompt to swap one channel, for example radio instead of out of home."
22
+ },
23
+ "ui_properties": {
24
+ "position": {
25
+ "x": 0,
26
+ "y": 0
27
+ },
28
+ "zIndex": 0,
29
+ "width": 560,
30
+ "selectable": true,
31
+ "height": 286
32
+ },
33
+ "dynamic_properties": {},
34
+ "dynamic_outputs": {}
35
+ },
36
+ {
37
+ "id": "in",
38
+ "type": "nodetool.input.StringInput",
39
+ "data": {
40
+ "name": "brief",
41
+ "value": "",
42
+ "description": "The campaign brief"
43
+ },
44
+ "ui_properties": {
45
+ "position": {
46
+ "x": 0,
47
+ "y": 385
48
+ },
49
+ "zIndex": 0,
50
+ "width": 300,
51
+ "selectable": true,
52
+ "title": "1 Input"
53
+ },
54
+ "dynamic_properties": {},
55
+ "dynamic_outputs": {}
56
+ },
57
+ {
58
+ "id": "ag",
59
+ "type": "nodetool.agents.Agent",
60
+ "data": {
61
+ "model": {
62
+ "type": "language_model",
63
+ "provider": "",
64
+ "id": "",
65
+ "name": "",
66
+ "path": null,
67
+ "supported_tasks": []
68
+ },
69
+ "system": "You are a creative director. From the brief give: a campaign line, a one-paragraph visual concept, and three channel executions (out of home, social, and a 15-second film).",
70
+ "prompt": "",
71
+ "tools": [],
72
+ "image": [],
73
+ "audio": [],
74
+ "history": [],
75
+ "thread_id": "",
76
+ "max_tokens": 16384,
77
+ "max_turns": 100
78
+ },
79
+ "ui_properties": {
80
+ "position": {
81
+ "x": 400,
82
+ "y": 366
83
+ },
84
+ "zIndex": 0,
85
+ "width": 300,
86
+ "selectable": true,
87
+ "title": "2 Agent"
88
+ },
89
+ "dynamic_properties": {},
90
+ "dynamic_outputs": {}
91
+ },
92
+ {
93
+ "id": "out",
94
+ "type": "nodetool.output.Output",
95
+ "data": {
96
+ "name": "concept"
97
+ },
98
+ "ui_properties": {
99
+ "position": {
100
+ "x": 800,
101
+ "y": 398
102
+ },
103
+ "zIndex": 0,
104
+ "width": 300,
105
+ "selectable": true,
106
+ "title": "3 Output"
107
+ },
108
+ "dynamic_properties": {},
109
+ "dynamic_outputs": {}
110
+ }
111
+ ],
112
+ "edges": [
113
+ {
114
+ "id": "e1",
115
+ "source": "in",
116
+ "sourceHandle": "output",
117
+ "target": "ag",
118
+ "targetHandle": "prompt"
119
+ },
120
+ {
121
+ "id": "e2",
122
+ "source": "ag",
123
+ "sourceHandle": "text",
124
+ "target": "out",
125
+ "targetHandle": "value"
126
+ }
127
+ ]
128
+ },
129
+ "input_schema": null,
130
+ "output_schema": null,
131
+ "settings": null,
132
+ "package_name": "nodetool-base",
133
+ "path": null,
134
+ "run_mode": null
135
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "id": "",
3
+ "access": "private",
4
+ "created_at": "2026-07-30T12:00:00.000Z",
5
+ "updated_at": "2026-07-30T12:00:00.000Z",
6
+ "name": "A Gradient Card as PNG",
7
+ "tool_name": null,
8
+ "description": "A certified starter that runs as-is with no asset, provider, or API key. Build vector art in a Code node, rasterise it, and inspect the generated 800×480 PNG.",
9
+ "tags": [
10
+ "image",
11
+ "example",
12
+ "getting-started"
13
+ ],
14
+ "thumbnail": null,
15
+ "thumbnail_url": null,
16
+ "graph": {
17
+ "nodes": [
18
+ {
19
+ "id": "intro-comment",
20
+ "type": "nodetool.workflows.base_node.Comment",
21
+ "data": {
22
+ "comment": "# A Gradient Card as PNG\n\nDraws a gradient card as vector art and saves it as an 800 by 480 PNG. It runs locally with no asset, provider or API key.\n\n**How it works:** \"1 Elements\" is a Code node that returns SVG elements, with the linear gradient defined before the rectangle that uses it. \"2 Rasterise 2x\" renders the 400 by 240 view box at scale 2. \"3 PNG\" shows the image.\n\n**Try this:** Change the gradient stop colours in the Elements code, or set scale to 3 on \"2 Rasterise 2x\" for a 1200 by 720 PNG."
23
+ },
24
+ "ui_properties": {
25
+ "position": {
26
+ "x": 0,
27
+ "y": 0
28
+ },
29
+ "zIndex": 0,
30
+ "width": 560,
31
+ "selectable": true,
32
+ "height": 266
33
+ },
34
+ "dynamic_properties": {},
35
+ "dynamic_outputs": {}
36
+ },
37
+ {
38
+ "id": "elements",
39
+ "type": "nodetool.code.Code",
40
+ "data": {
41
+ "code": "// One Code node replaces the retired lib.svg element builders. The gradient\n// is defined first so the rect below can paint with fill=\"url(#card)\".\nreturn {\n output: [\n {\n name: \"linearGradient\",\n attributes: { id: \"card\", x1: \"0%\", y1: \"0%\", x2: \"100%\", y2: \"100%\" },\n children: [\n {\n name: \"stop\",\n attributes: { offset: \"0%\", style: \"stop-color:#0ea5e9;stop-opacity:1\" }\n },\n {\n name: \"stop\",\n attributes: { offset: \"100%\", style: \"stop-color:#7c3aed;stop-opacity:1\" }\n }\n ]\n },\n {\n name: \"rect\",\n attributes: { x: 0, y: 0, width: 400, height: 240, fill: \"url(#card)\" }\n }\n ]\n};"
42
+ },
43
+ "ui_properties": {
44
+ "position": {
45
+ "x": 0,
46
+ "y": 346
47
+ },
48
+ "zIndex": 0,
49
+ "width": 380,
50
+ "selectable": true,
51
+ "title": "1 Elements"
52
+ },
53
+ "dynamic_properties": {},
54
+ "dynamic_outputs": {
55
+ "output": {
56
+ "type": "any",
57
+ "type_args": [],
58
+ "optional": false
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "id": "img",
64
+ "type": "lib.svg.SVGToImage",
65
+ "data": {
66
+ "elements": [],
67
+ "width": 400,
68
+ "height": 240,
69
+ "viewBox": "0 0 400 240",
70
+ "scale": 2
71
+ },
72
+ "ui_properties": {
73
+ "position": {
74
+ "x": 480,
75
+ "y": 430
76
+ },
77
+ "zIndex": 0,
78
+ "width": 280,
79
+ "selectable": true,
80
+ "title": "2 Rasterise 2x"
81
+ },
82
+ "dynamic_properties": {},
83
+ "dynamic_outputs": {}
84
+ },
85
+ {
86
+ "id": "out",
87
+ "type": "nodetool.output.Output",
88
+ "data": {
89
+ "name": "card"
90
+ },
91
+ "ui_properties": {
92
+ "position": {
93
+ "x": 860,
94
+ "y": 444
95
+ },
96
+ "zIndex": 0,
97
+ "width": 280,
98
+ "selectable": true,
99
+ "title": "3 PNG"
100
+ },
101
+ "dynamic_properties": {},
102
+ "dynamic_outputs": {}
103
+ }
104
+ ],
105
+ "edges": [
106
+ {
107
+ "id": "e1",
108
+ "source": "elements",
109
+ "sourceHandle": "output",
110
+ "target": "img",
111
+ "targetHandle": "elements"
112
+ },
113
+ {
114
+ "id": "e2",
115
+ "source": "img",
116
+ "sourceHandle": "output",
117
+ "target": "out",
118
+ "targetHandle": "value"
119
+ }
120
+ ]
121
+ },
122
+ "input_schema": null,
123
+ "output_schema": null,
124
+ "settings": null,
125
+ "package_name": "nodetool-base",
126
+ "path": null,
127
+ "run_mode": null
128
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "id": "",
3
+ "access": "private",
4
+ "created_at": "2026-07-30T16:00:00.000Z",
5
+ "updated_at": "2026-07-30T16:00:00.000Z",
6
+ "name": "A Poster in Portrait",
7
+ "tool_name": null,
8
+ "description": "Generate a 3:4 portrait poster from a prompt. Change the subject, colors, and style to make your own.",
9
+ "tags": [
10
+ "image",
11
+ "example"
12
+ ],
13
+ "thumbnail": null,
14
+ "thumbnail_url": null,
15
+ "graph": {
16
+ "nodes": [
17
+ {
18
+ "id": "intro-comment",
19
+ "type": "nodetool.workflows.base_node.Comment",
20
+ "data": {
21
+ "comment": "# A Poster in Portrait\n\nGenerates a 3:4 portrait poster from a text prompt. Use it as a starting point for travel posters, event posters or any print in portrait format.\n\n**How it works:** \"1 Prompt\" holds the description of a mid-century screenprint travel poster. \"2 Generate\" sends it to an image model at 3:4 and 1K resolution. \"3 Image\" shows the poster.\n\n**Try this:** Pick a model on \"2 Generate\", then rewrite the prompt with your own subject, palette and style, such as a jazz festival in two colours."
22
+ },
23
+ "ui_properties": {
24
+ "position": {
25
+ "x": 0,
26
+ "y": 0
27
+ },
28
+ "zIndex": 0,
29
+ "width": 560,
30
+ "selectable": true,
31
+ "height": 266
32
+ },
33
+ "dynamic_properties": {},
34
+ "dynamic_outputs": {}
35
+ },
36
+ {
37
+ "id": "p",
38
+ "type": "nodetool.constant.String",
39
+ "data": {
40
+ "value": "travel poster, mid-century screenprint, limited palette, strong flat shapes, dramatic diagonal composition"
41
+ },
42
+ "ui_properties": {
43
+ "position": {
44
+ "x": 0,
45
+ "y": 381
46
+ },
47
+ "zIndex": 0,
48
+ "width": 300,
49
+ "selectable": true,
50
+ "title": "1 Prompt"
51
+ },
52
+ "dynamic_properties": {},
53
+ "dynamic_outputs": {}
54
+ },
55
+ {
56
+ "id": "gen",
57
+ "type": "nodetool.image.TextToImage",
58
+ "data": {
59
+ "model": {
60
+ "type": "image_model",
61
+ "provider": "",
62
+ "id": "",
63
+ "name": "",
64
+ "path": null,
65
+ "supported_tasks": []
66
+ },
67
+ "prompt": "",
68
+ "negative_prompt": "",
69
+ "entities": [],
70
+ "aspect_ratio": "3:4",
71
+ "resolution": "1K"
72
+ },
73
+ "ui_properties": {
74
+ "position": {
75
+ "x": 400,
76
+ "y": 346
77
+ },
78
+ "zIndex": 0,
79
+ "width": 300,
80
+ "selectable": true,
81
+ "title": "2 Generate"
82
+ },
83
+ "dynamic_properties": {},
84
+ "dynamic_outputs": {}
85
+ },
86
+ {
87
+ "id": "out",
88
+ "type": "nodetool.output.Output",
89
+ "data": {
90
+ "name": "poster"
91
+ },
92
+ "ui_properties": {
93
+ "position": {
94
+ "x": 800,
95
+ "y": 359
96
+ },
97
+ "zIndex": 0,
98
+ "width": 300,
99
+ "selectable": true,
100
+ "title": "3 Image"
101
+ },
102
+ "dynamic_properties": {},
103
+ "dynamic_outputs": {}
104
+ }
105
+ ],
106
+ "edges": [
107
+ {
108
+ "id": "e1",
109
+ "source": "p",
110
+ "sourceHandle": "output",
111
+ "target": "gen",
112
+ "targetHandle": "prompt"
113
+ },
114
+ {
115
+ "id": "e2",
116
+ "source": "gen",
117
+ "sourceHandle": "output",
118
+ "target": "out",
119
+ "targetHandle": "value"
120
+ }
121
+ ]
122
+ },
123
+ "input_schema": null,
124
+ "output_schema": null,
125
+ "settings": null,
126
+ "package_name": "nodetool-base",
127
+ "path": null,
128
+ "run_mode": null
129
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "id": "",
3
+ "access": "private",
4
+ "created_at": "2026-07-30T16:00:00.000Z",
5
+ "updated_at": "2026-07-30T16:00:00.000Z",
6
+ "name": "A Repeating Texture Tile",
7
+ "tool_name": null,
8
+ "description": "A seamless tile for backgrounds. Prompting for the tiling explicitly matters — an unseamed texture is visibly wrong the moment it repeats.",
9
+ "tags": [
10
+ "image",
11
+ "example"
12
+ ],
13
+ "thumbnail": null,
14
+ "thumbnail_url": null,
15
+ "graph": {
16
+ "nodes": [
17
+ {
18
+ "id": "intro-comment",
19
+ "type": "nodetool.workflows.base_node.Comment",
20
+ "data": {
21
+ "comment": "# A Repeating Texture Tile\n\nGenerates a square texture that tiles without visible seams, for backgrounds and surfaces. The prompt asks for tiling explicitly, because a texture without matching edges shows a seam as soon as it repeats.\n\n**How it works:** \"1 Prompt\" describes hand-made paper as a tileable, top-down texture. \"2 Generate\" renders it at 1:1 and 1K resolution. \"3 Image\" shows the tile.\n\n**Try this:** Pick a model on \"2 Generate\" and replace the paper with another material, such as worn concrete or linen, keeping the words about tiling and seams."
22
+ },
23
+ "ui_properties": {
24
+ "position": {
25
+ "x": 0,
26
+ "y": 0
27
+ },
28
+ "zIndex": 0,
29
+ "width": 560,
30
+ "selectable": true,
31
+ "height": 266
32
+ },
33
+ "dynamic_properties": {},
34
+ "dynamic_outputs": {}
35
+ },
36
+ {
37
+ "id": "p",
38
+ "type": "nodetool.constant.String",
39
+ "data": {
40
+ "value": "seamless repeating texture, hand-made paper with visible fibres, soft even lighting, tileable, no seams, top-down"
41
+ },
42
+ "ui_properties": {
43
+ "position": {
44
+ "x": 0,
45
+ "y": 381
46
+ },
47
+ "zIndex": 0,
48
+ "width": 300,
49
+ "selectable": true,
50
+ "title": "1 Prompt"
51
+ },
52
+ "dynamic_properties": {},
53
+ "dynamic_outputs": {}
54
+ },
55
+ {
56
+ "id": "gen",
57
+ "type": "nodetool.image.TextToImage",
58
+ "data": {
59
+ "model": {
60
+ "type": "image_model",
61
+ "provider": "",
62
+ "id": "",
63
+ "name": "",
64
+ "path": null,
65
+ "supported_tasks": []
66
+ },
67
+ "prompt": "",
68
+ "negative_prompt": "",
69
+ "entities": [],
70
+ "aspect_ratio": "1:1",
71
+ "resolution": "1K"
72
+ },
73
+ "ui_properties": {
74
+ "position": {
75
+ "x": 400,
76
+ "y": 346
77
+ },
78
+ "zIndex": 0,
79
+ "width": 300,
80
+ "selectable": true,
81
+ "title": "2 Generate"
82
+ },
83
+ "dynamic_properties": {},
84
+ "dynamic_outputs": {}
85
+ },
86
+ {
87
+ "id": "out",
88
+ "type": "nodetool.output.Output",
89
+ "data": {
90
+ "name": "image"
91
+ },
92
+ "ui_properties": {
93
+ "position": {
94
+ "x": 800,
95
+ "y": 359
96
+ },
97
+ "zIndex": 0,
98
+ "width": 300,
99
+ "selectable": true,
100
+ "title": "3 Image"
101
+ },
102
+ "dynamic_properties": {},
103
+ "dynamic_outputs": {}
104
+ }
105
+ ],
106
+ "edges": [
107
+ {
108
+ "id": "e1",
109
+ "source": "p",
110
+ "sourceHandle": "output",
111
+ "target": "gen",
112
+ "targetHandle": "prompt"
113
+ },
114
+ {
115
+ "id": "e2",
116
+ "source": "gen",
117
+ "sourceHandle": "output",
118
+ "target": "out",
119
+ "targetHandle": "value"
120
+ }
121
+ ]
122
+ },
123
+ "input_schema": null,
124
+ "output_schema": null,
125
+ "settings": null,
126
+ "package_name": "nodetool-base",
127
+ "path": null,
128
+ "run_mode": null
129
+ }