@nodetool-ai/websocket 0.8.4-a24.3 → 0.8.5

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 (317) hide show
  1. package/dist/.nodetool-build-stamp +1 -1
  2. package/dist/agent/run-node-workflow.d.ts +25 -0
  3. package/dist/agent/run-node-workflow.d.ts.map +1 -0
  4. package/dist/agent/run-node-workflow.js +90 -0
  5. package/dist/agent/run-node-workflow.js.map +1 -0
  6. package/dist/backend-analytics.d.ts +25 -0
  7. package/dist/backend-analytics.d.ts.map +1 -0
  8. package/dist/backend-analytics.js +102 -0
  9. package/dist/backend-analytics.js.map +1 -0
  10. package/dist/example-workflows.d.ts +2 -0
  11. package/dist/example-workflows.d.ts.map +1 -1
  12. package/dist/example-workflows.js +16 -4
  13. package/dist/example-workflows.js.map +1 -1
  14. package/dist/examples/nodetool-base/A Campaign Concept from a Brief.json +135 -0
  15. package/dist/examples/nodetool-base/A Gradient Card as PNG.json +128 -0
  16. package/dist/examples/nodetool-base/A Poster in Portrait.json +129 -0
  17. package/dist/examples/nodetool-base/A Repeating Texture Tile.json +129 -0
  18. package/dist/examples/nodetool-base/A Run Button for Any Job.json +152 -0
  19. package/dist/examples/nodetool-base/A Webhook That Answers.json +170 -0
  20. package/dist/examples/nodetool-base/AI Spokesperson.json +328 -0
  21. package/dist/examples/nodetool-base/Action Items from a Meeting Recording.json +198 -0
  22. package/dist/examples/nodetool-base/Ad Copy in Three Registers.json +135 -0
  23. package/dist/examples/nodetool-base/Ad Loop from a Product Photo.json +277 -0
  24. package/dist/examples/nodetool-base/Add Reverb to a Voice.json +125 -0
  25. package/dist/examples/nodetool-base/Album Art from a Mood.json +129 -0
  26. package/dist/examples/nodetool-base/Assemble a UGC Product Video.json +158 -0
  27. package/dist/examples/nodetool-base/Audio To Image.json +184 -0
  28. package/dist/examples/nodetool-base/B-Roll Reel from a Brief.json +339 -0
  29. package/dist/examples/nodetool-base/Batch a List.json +171 -0
  30. package/dist/examples/nodetool-base/Black and White, Hard.json +147 -0
  31. package/dist/examples/nodetool-base/Blog Post to Social Thread.json +135 -0
  32. package/dist/examples/nodetool-base/Blur a Channel.json +205 -0
  33. package/dist/examples/nodetool-base/Blur an Image.json +179 -0
  34. package/dist/examples/nodetool-base/Boost Saturation.json +178 -0
  35. package/dist/examples/nodetool-base/Brand Asset Generator.json +585 -0
  36. package/dist/examples/nodetool-base/Brand a UGC Product Video.json +402 -0
  37. package/dist/examples/nodetool-base/Bring a Still to Life.json +250 -0
  38. package/dist/examples/nodetool-base/Bullet Points to Press Release.json +135 -0
  39. package/dist/examples/nodetool-base/Chapter Markers for a Long Recording.json +198 -0
  40. package/dist/examples/nodetool-base/Chat With Your Documents.json +569 -0
  41. package/dist/examples/nodetool-base/Chunk a Transcript for Indexing.json +202 -0
  42. package/dist/examples/nodetool-base/Circles and Lines.json +126 -0
  43. package/dist/examples/nodetool-base/Clean Up a Rough Voice Recording.json +208 -0
  44. package/dist/examples/nodetool-base/Clip on Kie.json +173 -0
  45. package/dist/examples/nodetool-base/Cold Outreach Co-Pilot.json +423 -0
  46. package/dist/examples/nodetool-base/Color Boost Video.json +250 -0
  47. package/dist/examples/nodetool-base/Compose Directed Campaign Formats.json +764 -0
  48. package/dist/examples/nodetool-base/Concept Art Iteration Board.json +439 -0
  49. package/dist/examples/nodetool-base/Concept Art, Then a Moving Version.json +173 -0
  50. package/dist/examples/nodetool-base/Conditional Logic Engine.json +535 -0
  51. package/dist/examples/nodetool-base/Count a List.json +168 -0
  52. package/dist/examples/nodetool-base/Count to Three with a Loop.json +157 -0
  53. package/dist/examples/nodetool-base/Crop an Image.json +181 -0
  54. package/dist/examples/nodetool-base/Crop then Fit.json +208 -0
  55. package/dist/examples/nodetool-base/Crush It to 8 Bits.json +123 -0
  56. package/dist/examples/nodetool-base/Cut Out the Subject.json +184 -0
  57. package/dist/examples/nodetool-base/Cut a Landscape Clip for Vertical.json +123 -0
  58. package/dist/examples/nodetool-base/Cut a Product Out of Its Background.json +238 -0
  59. package/dist/examples/nodetool-base/Data Generator.json +216 -0
  60. package/dist/examples/nodetool-base/Denoise Footage.json +178 -0
  61. package/dist/examples/nodetool-base/Direct a Short Film.json +305 -0
  62. package/dist/examples/nodetool-base/Directed Film to Timeline.json +385 -0
  63. package/dist/examples/nodetool-base/Does This Text Mention the Deadline.json +130 -0
  64. package/dist/examples/nodetool-base/Draft Answers for an FAQ.json +135 -0
  65. package/dist/examples/nodetool-base/Draw a Badge in SVG.json +126 -0
  66. package/dist/examples/nodetool-base/Drop Duplicates.json +170 -0
  67. package/dist/examples/nodetool-base/Drop the First Few.json +148 -0
  68. package/dist/examples/nodetool-base/Dungeon and Ruins Starter Pack.json +786 -0
  69. package/dist/examples/nodetool-base/Edit a Still with Words.json +284 -0
  70. package/dist/examples/nodetool-base/Editorial Still from a Line.json +197 -0
  71. package/dist/examples/nodetool-base/Emboss a Still.json +120 -0
  72. package/dist/examples/nodetool-base/Every Combination.json +225 -0
  73. package/dist/examples/nodetool-base/Every Hour, On the Hour.json +162 -0
  74. package/dist/examples/nodetool-base/Executive Summary of a Long Document.json +135 -0
  75. package/dist/examples/nodetool-base/Explainer Clip from a Paragraph.json +244 -0
  76. package/dist/examples/nodetool-base/Extract the Claims Worth Checking.json +135 -0
  77. package/dist/examples/nodetool-base/Fade Audio In and Out.json +203 -0
  78. package/dist/examples/nodetool-base/Fade Audio Out.json +202 -0
  79. package/dist/examples/nodetool-base/Fill a Template.json +149 -0
  80. package/dist/examples/nodetool-base/Find Every Number in a Sentence.json +127 -0
  81. package/dist/examples/nodetool-base/Find and Replace.json +224 -0
  82. package/dist/examples/nodetool-base/Find the Edges.json +123 -0
  83. package/dist/examples/nodetool-base/Fit an Image.json +179 -0
  84. package/dist/examples/nodetool-base/Five Headlines for a Landing Page.json +135 -0
  85. package/dist/examples/nodetool-base/Flashcard Generator.json +297 -0
  86. package/dist/examples/nodetool-base/Gate Out the Room Noise.json +124 -0
  87. package/dist/examples/nodetool-base/Generate a Native-Audio UGC Testimonial.json +276 -0
  88. package/dist/examples/nodetool-base/Generate a Silent Bed.json +126 -0
  89. package/dist/examples/nodetool-base/Generate then Upscale a Poster.json +164 -0
  90. package/dist/examples/nodetool-base/Hacker News Agent.json +183 -0
  91. package/dist/examples/nodetool-base/Hook & Thumbnail Factory.json +498 -0
  92. package/dist/examples/nodetool-base/How Long Is This Transcript.json +185 -0
  93. package/dist/examples/nodetool-base/Image Enhance.json +272 -0
  94. package/dist/examples/nodetool-base/Image To Audio Story.json +180 -0
  95. package/dist/examples/nodetool-base/Image to Video Animation.json +346 -0
  96. package/dist/examples/nodetool-base/Inspect a Clip's Audio.json +187 -0
  97. package/dist/examples/nodetool-base/Inspect a Clip.json +163 -0
  98. package/dist/examples/nodetool-base/Invert a Still.json +120 -0
  99. package/dist/examples/nodetool-base/Keep Only the Long Lines.json +220 -0
  100. package/dist/examples/nodetool-base/Keep Only the Matches.json +148 -0
  101. package/dist/examples/nodetool-base/Key Out a Green Screen.json +124 -0
  102. package/dist/examples/nodetool-base/Last One Wins.json +144 -0
  103. package/dist/examples/nodetool-base/Lip-sync a Clip to a Voice Track.json +313 -0
  104. package/dist/examples/nodetool-base/Localise a Product Listing.json +135 -0
  105. package/dist/examples/nodetool-base/Localise a Script and Revoice It.json +242 -0
  106. package/dist/examples/nodetool-base/Localized Explainer.json +430 -0
  107. package/dist/examples/nodetool-base/Low-poly Adventure Starter Pack.json +786 -0
  108. package/dist/examples/nodetool-base/Low-poly Seaside Starter Pack.json +786 -0
  109. package/dist/examples/nodetool-base/Master a Voice Track.json +180 -0
  110. package/dist/examples/nodetool-base/Meeting Transcript Summarizer.json +524 -0
  111. package/dist/examples/nodetool-base/Model Arena.json +550 -0
  112. package/dist/examples/nodetool-base/Moodboard Frame from a Theme.json +129 -0
  113. package/dist/examples/nodetool-base/Movie Posters.json +660 -0
  114. package/dist/examples/nodetool-base/Movie Trailer Generator.json +418 -0
  115. package/dist/examples/nodetool-base/Music Video Visualizer.json +720 -0
  116. package/dist/examples/nodetool-base/Name a File from Its Narration.json +231 -0
  117. package/dist/examples/nodetool-base/Narrate a Script.json +169 -0
  118. package/dist/examples/nodetool-base/Narration with a Music Bed.json +360 -0
  119. package/dist/examples/nodetool-base/Normalize a Clip's Audio.json +201 -0
  120. package/dist/examples/nodetool-base/One Tagline, Six Markets.json +135 -0
  121. package/dist/examples/nodetool-base/Pad a Canvas.json +188 -0
  122. package/dist/examples/nodetool-base/Per-SKU Ad Factory.json +511 -0
  123. package/dist/examples/nodetool-base/Photo Enhancement Suite.json +417 -0
  124. package/dist/examples/nodetool-base/Picture in Picture.json +231 -0
  125. package/dist/examples/nodetool-base/Pitch a Voice Up.json +122 -0
  126. package/dist/examples/nodetool-base/Pixelate a Still.json +122 -0
  127. package/dist/examples/nodetool-base/Platformer Playground Starter Pack.json +786 -0
  128. package/dist/examples/nodetool-base/Podcast Episode to Show Notes.json +198 -0
  129. package/dist/examples/nodetool-base/Podcast Repurposing Studio.json +745 -0
  130. package/dist/examples/nodetool-base/Pokemon Maker.json +282 -0
  131. package/dist/examples/nodetool-base/Poster on Kie.json +172 -0
  132. package/dist/examples/nodetool-base/Posterize to Four Bits.json +122 -0
  133. package/dist/examples/nodetool-base/Private Assistant.json +236 -0
  134. package/dist/examples/nodetool-base/Product Mockup Generator.json +608 -0
  135. package/dist/examples/nodetool-base/Product Spot from Text.json +330 -0
  136. package/dist/examples/nodetool-base/Product Video Generator.json +344 -0
  137. package/dist/examples/nodetool-base/Prompt Template.json +221 -0
  138. package/dist/examples/nodetool-base/Propose Three Campaign Directions.json +614 -0
  139. package/dist/examples/nodetool-base/Pull a Field out of JSON Text.json +128 -0
  140. package/dist/examples/nodetool-base/Pull a Still from a Clip.json +179 -0
  141. package/dist/examples/nodetool-base/Pull the Quotable Lines Out of an Interview.json +198 -0
  142. package/dist/examples/nodetool-base/Put a Product on a Studio Backdrop.json +252 -0
  143. package/dist/examples/nodetool-base/Put a Voice Over a Music Bed.json +358 -0
  144. package/dist/examples/nodetool-base/README_EXAMPLES.md +59 -0
  145. package/dist/examples/nodetool-base/Re-delimit a List.json +199 -0
  146. package/dist/examples/nodetool-base/Read a Clip's Frame Rate.json +120 -0
  147. package/dist/examples/nodetool-base/Redact Email Addresses.json +129 -0
  148. package/dist/examples/nodetool-base/Redact and Tidy a Log Line.json +266 -0
  149. package/dist/examples/nodetool-base/Relight a Product for a Seasonal Campaign.json +131 -0
  150. package/dist/examples/nodetool-base/Render a Directed Campaign Hero.json +338 -0
  151. package/dist/examples/nodetool-base/Reopen a Directed Campaign.json +1748 -0
  152. package/dist/examples/nodetool-base/Research Agent.json +231 -0
  153. package/dist/examples/nodetool-base/Research a Brand from Its Website.json +445 -0
  154. package/dist/examples/nodetool-base/Restyle a Photo as an Illustration.json +136 -0
  155. package/dist/examples/nodetool-base/Reverse Audio.json +201 -0
  156. package/dist/examples/nodetool-base/Reverse a Clip.json +176 -0
  157. package/dist/examples/nodetool-base/Revise an Accepted Campaign Hero.json +486 -0
  158. package/dist/examples/nodetool-base/Rewrite This So a Customer Understands It.json +135 -0
  159. package/dist/examples/nodetool-base/Rotate Footage.json +178 -0
  160. package/dist/examples/nodetool-base/SEO Content Engine.json +708 -0
  161. package/dist/examples/nodetool-base/SEO Title and Meta Description.json +135 -0
  162. package/dist/examples/nodetool-base/Sci-fi Game Model Starter Pack.json +693 -0
  163. package/dist/examples/nodetool-base/Sci-fi Outpost Expansion.json +601 -0
  164. package/dist/examples/nodetool-base/Score a Clip from Its Own Mood.json +229 -0
  165. package/dist/examples/nodetool-base/Score a Silent Clip.json +382 -0
  166. package/dist/examples/nodetool-base/Script to Narrated Clip.json +224 -0
  167. package/dist/examples/nodetool-base/Script to Screen.json +940 -0
  168. package/dist/examples/nodetool-base/Sharpen Footage.json +179 -0
  169. package/dist/examples/nodetool-base/Shot List from a Synopsis.json +136 -0
  170. package/dist/examples/nodetool-base/Single Shot from a Line.json +199 -0
  171. package/dist/examples/nodetool-base/Slice Text.json +159 -0
  172. package/dist/examples/nodetool-base/Slow a Clip Without Dropping Pitch.json +122 -0
  173. package/dist/examples/nodetool-base/Soften a Plate.json +178 -0
  174. package/dist/examples/nodetool-base/Solarize a Still.json +122 -0
  175. package/dist/examples/nodetool-base/Speak a Line, Then Trim the Silence.json +157 -0
  176. package/dist/examples/nodetool-base/Spin a Packshot into a Turntable Clip.json +137 -0
  177. package/dist/examples/nodetool-base/Split a Channel.json +178 -0
  178. package/dist/examples/nodetool-base/Split a Log into Records.json +128 -0
  179. package/dist/examples/nodetool-base/Stabilize Handheld.json +179 -0
  180. package/dist/examples/nodetool-base/Still on Replicate.json +172 -0
  181. package/dist/examples/nodetool-base/Subject Lines Worth Testing.json +135 -0
  182. package/dist/examples/nodetool-base/Subtitle Lines from a Script.json +170 -0
  183. package/dist/examples/nodetool-base/Subtitle Text from a Recording.json +198 -0
  184. package/dist/examples/nodetool-base/Summarise a Recorded Call.json +198 -0
  185. package/dist/examples/nodetool-base/Swirl and Echo.json +154 -0
  186. package/dist/examples/nodetool-base/Take While the Numbers Are Small.json +148 -0
  187. package/dist/examples/nodetool-base/Take a Product Shot to Print Resolution.json +209 -0
  188. package/dist/examples/nodetool-base/Take the First Few Seconds of a Bed.json +127 -0
  189. package/dist/examples/nodetool-base/Take the First Few.json +170 -0
  190. package/dist/examples/nodetool-base/Telephone Voice.json +174 -0
  191. package/dist/examples/nodetool-base/Themes Across Customer Feedback.json +135 -0
  192. package/dist/examples/nodetool-base/Three Ratios.json +315 -0
  193. package/dist/examples/nodetool-base/Tidy Up Messy Text.json +199 -0
  194. package/dist/examples/nodetool-base/Top-down Native Asset Pack.json +955 -0
  195. package/dist/examples/nodetool-base/Trailer Beats from a Premise.json +136 -0
  196. package/dist/examples/nodetool-base/Transcribe Audio.json +138 -0
  197. package/dist/examples/nodetool-base/Transcribe a Clip.json +198 -0
  198. package/dist/examples/nodetool-base/Translate Marketing Copy to German.json +135 -0
  199. package/dist/examples/nodetool-base/Translate a Script for Dubbing.json +224 -0
  200. package/dist/examples/nodetool-base/Trim Audio to a Range.json +203 -0
  201. package/dist/examples/nodetool-base/Trim a Blurb to Length.json +128 -0
  202. package/dist/examples/nodetool-base/Trim a Clip.json +180 -0
  203. package/dist/examples/nodetool-base/Turn Research Notes into a Comparison Table.json +136 -0
  204. package/dist/examples/nodetool-base/Turn Specs into Product Copy.json +135 -0
  205. package/dist/examples/nodetool-base/Turn a Changelog into Release Notes.json +135 -0
  206. package/dist/examples/nodetool-base/Turn a Logo into Print-Ready Vector.json +126 -0
  207. package/dist/examples/nodetool-base/Turn a Support Thread into a Bug Report.json +135 -0
  208. package/dist/examples/nodetool-base/Turn a Talk into a Blog Post.json +198 -0
  209. package/dist/examples/nodetool-base/Upscale a Still.json +186 -0
  210. package/dist/examples/nodetool-base/Vectorize a Generated Logo.json +162 -0
  211. package/dist/examples/nodetool-base/Video Restyle Studio.json +281 -0
  212. package/dist/examples/nodetool-base/Vignette a Portrait.json +124 -0
  213. package/dist/examples/nodetool-base/Voice a Script in Two Voices.json +217 -0
  214. package/dist/examples/nodetool-base/Warm Up a Cold Clip.json +124 -0
  215. package/dist/examples/nodetool-base/Watch a Folder, Act on What Lands.json +177 -0
  216. package/dist/examples/nodetool-base/Widen a Mono Voice.json +151 -0
  217. package/dist/examples/nodetool-base/Workflow As A Tool.json +257 -0
  218. package/dist/examples/nodetool-base/Write a Listing from the Product Photo.json +139 -0
  219. package/dist/examples/nodetool-base/Write the Prompt, Then Make the Image.json +200 -0
  220. package/dist/examples/nodetool-base/gallery_thumbnail_generator.ts +384 -0
  221. package/dist/external-mcp.d.ts +2 -2
  222. package/dist/external-mcp.d.ts.map +1 -1
  223. package/dist/external-mcp.js +13 -4
  224. package/dist/external-mcp.js.map +1 -1
  225. package/dist/fake-runtime.d.ts.map +1 -1
  226. package/dist/fake-runtime.js +5 -1
  227. package/dist/fake-runtime.js.map +1 -1
  228. package/dist/http-api.d.ts.map +1 -1
  229. package/dist/http-api.js +22 -4
  230. package/dist/http-api.js.map +1 -1
  231. package/dist/lib/json-body.d.ts +9 -0
  232. package/dist/lib/json-body.d.ts.map +1 -1
  233. package/dist/lib/json-body.js +12 -0
  234. package/dist/lib/json-body.js.map +1 -1
  235. package/dist/lib/local-client-origin.d.ts +38 -0
  236. package/dist/lib/local-client-origin.d.ts.map +1 -0
  237. package/dist/lib/local-client-origin.js +57 -0
  238. package/dist/lib/local-client-origin.js.map +1 -0
  239. package/dist/lib/localhost-trust.d.ts +18 -0
  240. package/dist/lib/localhost-trust.d.ts.map +1 -1
  241. package/dist/lib/localhost-trust.js +50 -0
  242. package/dist/lib/localhost-trust.js.map +1 -1
  243. package/dist/lib/openverse.d.ts +47 -0
  244. package/dist/lib/openverse.d.ts.map +1 -0
  245. package/dist/lib/openverse.js +255 -0
  246. package/dist/lib/openverse.js.map +1 -0
  247. package/dist/lib/public-routes.d.ts.map +1 -1
  248. package/dist/lib/public-routes.js +3 -0
  249. package/dist/lib/public-routes.js.map +1 -1
  250. package/dist/lib/timeline-bundle.d.ts +216 -0
  251. package/dist/lib/timeline-bundle.d.ts.map +1 -1
  252. package/dist/mcp-agent-tools.d.ts.map +1 -1
  253. package/dist/mcp-agent-tools.js +21 -6
  254. package/dist/mcp-agent-tools.js.map +1 -1
  255. package/dist/model-execution-availability.d.ts.map +1 -1
  256. package/dist/model-execution-availability.js +7 -2
  257. package/dist/model-execution-availability.js.map +1 -1
  258. package/dist/routes/analytics.d.ts +52 -0
  259. package/dist/routes/analytics.d.ts.map +1 -0
  260. package/dist/routes/analytics.js +99 -0
  261. package/dist/routes/analytics.js.map +1 -0
  262. package/dist/routes/applications.d.ts.map +1 -1
  263. package/dist/routes/applications.js +2 -1
  264. package/dist/routes/applications.js.map +1 -1
  265. package/dist/routes/js-scripts.d.ts.map +1 -1
  266. package/dist/routes/js-scripts.js +2 -1
  267. package/dist/routes/js-scripts.js.map +1 -1
  268. package/dist/routes/timeline-animations.d.ts.map +1 -1
  269. package/dist/routes/timeline-animations.js +2 -1
  270. package/dist/routes/timeline-animations.js.map +1 -1
  271. package/dist/routes/timeline-audio-bake.d.ts.map +1 -1
  272. package/dist/routes/timeline-audio-bake.js +2 -1
  273. package/dist/routes/timeline-audio-bake.js.map +1 -1
  274. package/dist/routes/timeline-isolate-subject.d.ts.map +1 -1
  275. package/dist/routes/timeline-isolate-subject.js +2 -1
  276. package/dist/routes/timeline-isolate-subject.js.map +1 -1
  277. package/dist/routes/timeline-track-object.d.ts.map +1 -1
  278. package/dist/routes/timeline-track-object.js +2 -1
  279. package/dist/routes/timeline-track-object.js.map +1 -1
  280. package/dist/screenshot-server.js +87 -49
  281. package/dist/screenshot-server.js.map +1 -1
  282. package/dist/server.d.ts.map +1 -1
  283. package/dist/server.js +42 -3
  284. package/dist/server.js.map +1 -1
  285. package/dist/session/job-execution.d.ts.map +1 -1
  286. package/dist/session/job-execution.js +5 -0
  287. package/dist/session/job-execution.js.map +1 -1
  288. package/dist/trpc/router.d.ts +2 -0
  289. package/dist/trpc/router.d.ts.map +1 -1
  290. package/dist/trpc/router.js +2 -0
  291. package/dist/trpc/router.js.map +1 -1
  292. package/dist/trpc/routers/documents.d.ts +1 -1
  293. package/dist/trpc/routers/games.d.ts +179 -0
  294. package/dist/trpc/routers/games.d.ts.map +1 -1
  295. package/dist/trpc/routers/games.js +1 -1
  296. package/dist/trpc/routers/games.js.map +1 -1
  297. package/dist/trpc/routers/models.d.ts +270 -0
  298. package/dist/trpc/routers/models.d.ts.map +1 -1
  299. package/dist/trpc/routers/models.js +37 -19
  300. package/dist/trpc/routers/models.js.map +1 -1
  301. package/dist/trpc/routers/openverse.d.ts +91 -0
  302. package/dist/trpc/routers/openverse.d.ts.map +1 -0
  303. package/dist/trpc/routers/openverse.js +98 -0
  304. package/dist/trpc/routers/openverse.js.map +1 -0
  305. package/dist/trpc/routers/projects.d.ts +6 -6
  306. package/dist/trpc/routers/timeline.d.ts +729 -6
  307. package/dist/trpc/routers/timeline.d.ts.map +1 -1
  308. package/dist/trpc/routers/timeline.js +1 -0
  309. package/dist/trpc/routers/timeline.js.map +1 -1
  310. package/dist/trpc/sandbox-coverage.d.ts.map +1 -1
  311. package/dist/trpc/sandbox-coverage.js +11 -0
  312. package/dist/trpc/sandbox-coverage.js.map +1 -1
  313. package/dist/websocket-client-session.d.ts +8 -0
  314. package/dist/websocket-client-session.d.ts.map +1 -1
  315. package/dist/websocket-client-session.js +31 -1
  316. package/dist/websocket-client-session.js.map +1 -1
  317. package/package.json +28 -28
@@ -0,0 +1,569 @@
1
+ {
2
+ "id": "chat_with_your_documents",
3
+ "access": "public",
4
+ "created_at": "2026-07-17T12:00:00.000Z",
5
+ "updated_at": "2026-07-17T12:00:00.000Z",
6
+ "name": "Chat With Your Documents",
7
+ "tool_name": null,
8
+ "description": "Retrieval-augmented Q&A over your own documents. Index a small knowledge base into a vector collection, pull the passages matching a search keyword, and get a Markdown answer that cites its sources and refuses to guess when the answer isn't in the docs. NodeTool's first RAG example. The answer step uses your default language model; the collection is configured for Ollama nomic-embed-text embeddings.",
9
+ "tags": [
10
+ "rag",
11
+ "vectorstore",
12
+ "retrieval",
13
+ "llm",
14
+ "citations"
15
+ ],
16
+ "thumbnail": null,
17
+ "thumbnail_url": null,
18
+ "graph": {
19
+ "nodes": [
20
+ {
21
+ "id": "comment_intro",
22
+ "parent_id": null,
23
+ "type": "nodetool.workflows.base_node.Comment",
24
+ "data": {
25
+ "comment": "# 📚 Chat With Your Documents (RAG)\n\nAnswers questions from your own documents instead of the model's memory, citing the source of every claim. Use it as a starting point for retrieval-augmented Q&A over a small knowledge base.\n\n**How it works:** \"Vector collection\" creates the \"aurora_docs\" collection with Ollama nomic-embed-text embeddings. The three \"Doc\" inputs go into \"Index: Specifications\", \"Index: Charging\" and \"Index: Warranty\", each tagged with a source name. \"3 Retrieve passages\" queries the collection with \"2 Search keyword\" for the 2 closest passages. \"Merge passages\" joins them, and \"Retrieved Passages\" shows exactly what was used. \"4 Build grounded prompt\" combines them with \"1 Question\", and \"5 Cited answer\" answers only from that context or says it could not find the answer. Embeddings run locally through Ollama. Pick a language model on \"5 Cited answer\".\n\n**Try this:** Change \"2 Search keyword\" from \"Aurora\" to \"warranty\" and check \"Retrieved Passages\" to see the warranty document move to the top."
26
+ },
27
+ "ui_properties": {
28
+ "selected": false,
29
+ "position": {
30
+ "x": 0,
31
+ "y": 0
32
+ },
33
+ "zIndex": 0,
34
+ "width": 560,
35
+ "height": 458,
36
+ "selectable": true
37
+ },
38
+ "dynamic_properties": {},
39
+ "dynamic_outputs": {}
40
+ },
41
+ {
42
+ "id": "question_input",
43
+ "parent_id": null,
44
+ "type": "nodetool.input.StringInput",
45
+ "data": {
46
+ "name": "question",
47
+ "value": "How long does the Aurora One take to fully charge, and what does its warranty cover?",
48
+ "description": "The question to answer from your documents"
49
+ },
50
+ "ui_properties": {
51
+ "selected": false,
52
+ "position": {
53
+ "x": 0,
54
+ "y": 587
55
+ },
56
+ "zIndex": 0,
57
+ "width": 300,
58
+ "selectable": true,
59
+ "title": "1️⃣ Question"
60
+ },
61
+ "dynamic_properties": {},
62
+ "dynamic_outputs": {}
63
+ },
64
+ {
65
+ "id": "search_input",
66
+ "parent_id": null,
67
+ "type": "nodetool.input.StringInput",
68
+ "data": {
69
+ "name": "search",
70
+ "value": "Aurora",
71
+ "description": "Search text matched by meaning against your knowledge base. The 2 closest documents are retrieved, so a topic such as 'warranty' brings that document to the top."
72
+ },
73
+ "ui_properties": {
74
+ "selected": false,
75
+ "position": {
76
+ "x": 0,
77
+ "y": 869
78
+ },
79
+ "zIndex": 0,
80
+ "width": 300,
81
+ "selectable": true,
82
+ "title": "2️⃣ Search keyword"
83
+ },
84
+ "dynamic_properties": {},
85
+ "dynamic_outputs": {}
86
+ },
87
+ {
88
+ "id": "doc_specs",
89
+ "parent_id": null,
90
+ "type": "nodetool.input.StringInput",
91
+ "data": {
92
+ "name": "doc_specs",
93
+ "value": "# Aurora One — Technical Specifications\n\nThe Aurora One is a lightweight urban electric bike. It ships with a 500 Wh removable battery and a 250 W mid-drive motor. The assisted top speed is 25 km/h and the rated range is up to 80 km per charge in eco mode. The complete bike weighs 17 kg and fits riders from 160 cm to 195 cm tall. Frame material is 6061 aluminium; wheel size is 27.5 inches.",
94
+ "description": "Document 1 of your knowledge base"
95
+ },
96
+ "ui_properties": {
97
+ "selected": false,
98
+ "position": {
99
+ "x": 0,
100
+ "y": 1137
101
+ },
102
+ "zIndex": 0,
103
+ "width": 300,
104
+ "selectable": true,
105
+ "title": "📄 Doc: Specifications"
106
+ },
107
+ "dynamic_properties": {},
108
+ "dynamic_outputs": {}
109
+ },
110
+ {
111
+ "id": "doc_charging",
112
+ "parent_id": null,
113
+ "type": "nodetool.input.StringInput",
114
+ "data": {
115
+ "name": "doc_charging",
116
+ "value": "# Aurora One — Battery & Charging\n\nThe Aurora One battery charges from empty to full in about 4 hours with the included standard charger, or reaches 80% in roughly 2 hours. An optional fast charger cuts a full charge to about 2.5 hours. The battery is removable, so it can be charged on or off the bike. Aurora recommends storing the battery between 20% and 80% charge when not riding for long periods.",
117
+ "description": "Document 2 of your knowledge base"
118
+ },
119
+ "ui_properties": {
120
+ "selected": false,
121
+ "position": {
122
+ "x": 0,
123
+ "y": 1613
124
+ },
125
+ "zIndex": 0,
126
+ "width": 300,
127
+ "selectable": true,
128
+ "title": "📄 Doc: Charging"
129
+ },
130
+ "dynamic_properties": {},
131
+ "dynamic_outputs": {}
132
+ },
133
+ {
134
+ "id": "doc_warranty",
135
+ "parent_id": null,
136
+ "type": "nodetool.input.StringInput",
137
+ "data": {
138
+ "name": "doc_warranty",
139
+ "value": "# Aurora One — Warranty & Support\n\nEvery Aurora One includes a 2-year limited warranty covering the frame, motor, and battery against manufacturing defects. The warranty does not cover wear items such as tyres, brake pads, or accidental damage. Warranty service is handled through authorised Aurora dealers; contact support at help@aurorabikes.example within the coverage period to open a claim.",
140
+ "description": "Document 3 of your knowledge base"
141
+ },
142
+ "ui_properties": {
143
+ "selected": false,
144
+ "position": {
145
+ "x": 0,
146
+ "y": 1838
147
+ },
148
+ "zIndex": 0,
149
+ "width": 300,
150
+ "selectable": true,
151
+ "title": "📄 Doc: Warranty"
152
+ },
153
+ "dynamic_properties": {},
154
+ "dynamic_outputs": {}
155
+ },
156
+ {
157
+ "id": "collection",
158
+ "parent_id": null,
159
+ "type": "vector.Collection",
160
+ "data": {
161
+ "name": "aurora_docs",
162
+ "embedding_model": {
163
+ "type": "llama_model",
164
+ "id": "nomic-embed-text",
165
+ "name": "nomic-embed-text",
166
+ "provider": "ollama",
167
+ "repo_id": "nomic-embed-text",
168
+ "modified_at": "",
169
+ "size": 0,
170
+ "digest": "",
171
+ "details": {}
172
+ }
173
+ },
174
+ "ui_properties": {
175
+ "selected": false,
176
+ "position": {
177
+ "x": 0,
178
+ "y": 1362
179
+ },
180
+ "zIndex": 0,
181
+ "width": 280,
182
+ "selectable": true,
183
+ "title": "🗄️ Vector collection"
184
+ },
185
+ "dynamic_properties": {},
186
+ "dynamic_outputs": {}
187
+ },
188
+ {
189
+ "id": "index_specs",
190
+ "parent_id": null,
191
+ "type": "vector.IndexTextChunk",
192
+ "data": {
193
+ "document_id": "aurora_specs",
194
+ "metadata": {
195
+ "source": "Technical Specifications"
196
+ }
197
+ },
198
+ "ui_properties": {
199
+ "selected": false,
200
+ "position": {
201
+ "x": 400,
202
+ "y": 1156
203
+ },
204
+ "zIndex": 0,
205
+ "width": 280,
206
+ "selectable": true,
207
+ "title": "Index: Specifications"
208
+ },
209
+ "dynamic_properties": {},
210
+ "dynamic_outputs": {}
211
+ },
212
+ {
213
+ "id": "index_charging",
214
+ "parent_id": null,
215
+ "type": "vector.IndexTextChunk",
216
+ "data": {
217
+ "document_id": "aurora_charging",
218
+ "metadata": {
219
+ "source": "Battery & Charging"
220
+ }
221
+ },
222
+ "ui_properties": {
223
+ "selected": false,
224
+ "position": {
225
+ "x": 400,
226
+ "y": 1459
227
+ },
228
+ "zIndex": 0,
229
+ "width": 280,
230
+ "selectable": true,
231
+ "title": "Index: Charging"
232
+ },
233
+ "dynamic_properties": {},
234
+ "dynamic_outputs": {}
235
+ },
236
+ {
237
+ "id": "index_warranty",
238
+ "parent_id": null,
239
+ "type": "vector.IndexTextChunk",
240
+ "data": {
241
+ "document_id": "aurora_warranty",
242
+ "metadata": {
243
+ "source": "Warranty & Support"
244
+ }
245
+ },
246
+ "ui_properties": {
247
+ "selected": false,
248
+ "position": {
249
+ "x": 400,
250
+ "y": 1762
251
+ },
252
+ "zIndex": 0,
253
+ "width": 280,
254
+ "selectable": true,
255
+ "title": "Index: Warranty"
256
+ },
257
+ "dynamic_properties": {},
258
+ "dynamic_outputs": {}
259
+ },
260
+ {
261
+ "id": "retrieve",
262
+ "parent_id": null,
263
+ "type": "vector.QueryText",
264
+ "data": {
265
+ "n_results": 2
266
+ },
267
+ "ui_properties": {
268
+ "selected": false,
269
+ "position": {
270
+ "x": 400,
271
+ "y": 922
272
+ },
273
+ "zIndex": 0,
274
+ "width": 280,
275
+ "selectable": true,
276
+ "title": "3️⃣ Retrieve passages"
277
+ },
278
+ "dynamic_properties": {},
279
+ "dynamic_outputs": {}
280
+ },
281
+ {
282
+ "id": "join_context",
283
+ "parent_id": null,
284
+ "type": "nodetool.code.Code",
285
+ "data": {
286
+ "code": "const list = Array.isArray(inputs.strings) ? inputs.strings : [];\nreturn { output: list.map(v => String(v ?? \"\")).join(String(inputs.separator ?? \"\")) };",
287
+ "packages": []
288
+ },
289
+ "ui_properties": {
290
+ "selected": false,
291
+ "position": {
292
+ "x": 780,
293
+ "y": 707
294
+ },
295
+ "zIndex": 0,
296
+ "width": 280,
297
+ "selectable": true,
298
+ "title": "Merge passages"
299
+ },
300
+ "dynamic_properties": {
301
+ "separator": "\n\n----------\n\n"
302
+ },
303
+ "dynamic_outputs": {},
304
+ "dynamic_inputs": {
305
+ "strings": {
306
+ "type": {
307
+ "type": "list",
308
+ "type_args": [
309
+ {
310
+ "type": "str"
311
+ }
312
+ ]
313
+ }
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "id": "rag_prompt",
319
+ "parent_id": null,
320
+ "type": "nodetool.text.Prompt",
321
+ "data": {
322
+ "prompt": "Context passages retrieved from the knowledge base:\n\n{{ CONTEXT }}\n\n--------------------\n\nUser question:\n{{ QUESTION }}",
323
+ "dynamic_properties": {}
324
+ },
325
+ "dynamic_properties": {
326
+ "CONTEXT": "",
327
+ "QUESTION": ""
328
+ },
329
+ "ui_properties": {
330
+ "selected": false,
331
+ "position": {
332
+ "x": 1160,
333
+ "y": 538
334
+ },
335
+ "zIndex": 0,
336
+ "width": 300,
337
+ "selectable": true,
338
+ "title": "4️⃣ Build grounded prompt"
339
+ },
340
+ "dynamic_outputs": {}
341
+ },
342
+ {
343
+ "id": "answer",
344
+ "parent_id": null,
345
+ "type": "nodetool.agents.Agent",
346
+ "data": {
347
+ "model": {
348
+ "type": "language_model",
349
+ "provider": "",
350
+ "id": "",
351
+ "name": "",
352
+ "path": null,
353
+ "supported_tasks": []
354
+ },
355
+ "tools": [],
356
+ "max_tokens": 2000,
357
+ "system": "You are a documentation assistant that answers strictly from the provided context passages.\n\nRules:\n- Use ONLY the information in the context passages. Never use outside knowledge or assumptions.\n- If the answer is not present in the context, reply exactly: \"I couldn't find that in the provided documents.\"\n- After each factual claim, cite its source in parentheses using the passage's Markdown heading, e.g. (Battery & Charging).\n- Answer in concise Markdown — short paragraphs or bullet points.\n- Never fabricate specifications, dates, prices, or contact details."
358
+ },
359
+ "ui_properties": {
360
+ "selected": false,
361
+ "position": {
362
+ "x": 1560,
363
+ "y": 687
364
+ },
365
+ "zIndex": 0,
366
+ "width": 300,
367
+ "selectable": true,
368
+ "title": "5️⃣ Cited answer"
369
+ },
370
+ "dynamic_properties": {},
371
+ "dynamic_outputs": {}
372
+ },
373
+ {
374
+ "id": "answer_output",
375
+ "parent_id": null,
376
+ "type": "nodetool.output.Output",
377
+ "data": {
378
+ "name": "Answer"
379
+ },
380
+ "ui_properties": {
381
+ "selected": false,
382
+ "position": {
383
+ "x": 1960,
384
+ "y": 744
385
+ },
386
+ "zIndex": 0,
387
+ "width": 260,
388
+ "selectable": true,
389
+ "title": "Answer",
390
+ "bypassed": false
391
+ },
392
+ "dynamic_properties": {},
393
+ "dynamic_outputs": {}
394
+ },
395
+ {
396
+ "id": "context_output",
397
+ "parent_id": null,
398
+ "type": "nodetool.output.Output",
399
+ "data": {
400
+ "name": "Retrieved Passages"
401
+ },
402
+ "ui_properties": {
403
+ "selected": false,
404
+ "position": {
405
+ "x": 1160,
406
+ "y": 976
407
+ },
408
+ "zIndex": 0,
409
+ "width": 260,
410
+ "selectable": true,
411
+ "title": "Retrieved Passages",
412
+ "bypassed": false
413
+ },
414
+ "dynamic_properties": {},
415
+ "dynamic_outputs": {}
416
+ }
417
+ ],
418
+ "edges": [
419
+ {
420
+ "id": "e_collection_index_specs",
421
+ "source": "collection",
422
+ "sourceHandle": "output",
423
+ "target": "index_specs",
424
+ "targetHandle": "collection",
425
+ "ui_properties": {
426
+ "className": "collection"
427
+ }
428
+ },
429
+ {
430
+ "id": "e_collection_index_charging",
431
+ "source": "collection",
432
+ "sourceHandle": "output",
433
+ "target": "index_charging",
434
+ "targetHandle": "collection",
435
+ "ui_properties": {
436
+ "className": "collection"
437
+ }
438
+ },
439
+ {
440
+ "id": "e_collection_index_warranty",
441
+ "source": "collection",
442
+ "sourceHandle": "output",
443
+ "target": "index_warranty",
444
+ "targetHandle": "collection",
445
+ "ui_properties": {
446
+ "className": "collection"
447
+ }
448
+ },
449
+ {
450
+ "id": "e_doc_specs_index",
451
+ "source": "doc_specs",
452
+ "sourceHandle": "output",
453
+ "target": "index_specs",
454
+ "targetHandle": "text",
455
+ "ui_properties": {
456
+ "className": "str"
457
+ }
458
+ },
459
+ {
460
+ "id": "e_doc_charging_index",
461
+ "source": "doc_charging",
462
+ "sourceHandle": "output",
463
+ "target": "index_charging",
464
+ "targetHandle": "text",
465
+ "ui_properties": {
466
+ "className": "str"
467
+ }
468
+ },
469
+ {
470
+ "id": "e_doc_warranty_index",
471
+ "source": "doc_warranty",
472
+ "sourceHandle": "output",
473
+ "target": "index_warranty",
474
+ "targetHandle": "text",
475
+ "ui_properties": {
476
+ "className": "str"
477
+ }
478
+ },
479
+ {
480
+ "id": "e_collection_retrieve",
481
+ "source": "collection",
482
+ "sourceHandle": "output",
483
+ "target": "retrieve",
484
+ "targetHandle": "collection",
485
+ "ui_properties": {
486
+ "className": "collection"
487
+ }
488
+ },
489
+ {
490
+ "id": "e_search_retrieve",
491
+ "source": "search_input",
492
+ "sourceHandle": "output",
493
+ "target": "retrieve",
494
+ "targetHandle": "text",
495
+ "ui_properties": {
496
+ "className": "str"
497
+ }
498
+ },
499
+ {
500
+ "id": "e_retrieve_join",
501
+ "source": "retrieve",
502
+ "sourceHandle": "documents",
503
+ "target": "join_context",
504
+ "targetHandle": "strings",
505
+ "ui_properties": {
506
+ "className": "list"
507
+ }
508
+ },
509
+ {
510
+ "id": "e_join_prompt",
511
+ "source": "join_context",
512
+ "sourceHandle": "output",
513
+ "target": "rag_prompt",
514
+ "targetHandle": "CONTEXT",
515
+ "ui_properties": {
516
+ "className": "str"
517
+ }
518
+ },
519
+ {
520
+ "id": "e_question_prompt",
521
+ "source": "question_input",
522
+ "sourceHandle": "output",
523
+ "target": "rag_prompt",
524
+ "targetHandle": "QUESTION",
525
+ "ui_properties": {
526
+ "className": "str"
527
+ }
528
+ },
529
+ {
530
+ "id": "e_join_context_output",
531
+ "source": "join_context",
532
+ "sourceHandle": "output",
533
+ "target": "context_output",
534
+ "targetHandle": "value",
535
+ "ui_properties": {
536
+ "className": "str"
537
+ }
538
+ },
539
+ {
540
+ "id": "e_prompt_answer",
541
+ "source": "rag_prompt",
542
+ "sourceHandle": "output",
543
+ "target": "answer",
544
+ "targetHandle": "prompt",
545
+ "ui_properties": {
546
+ "className": "str"
547
+ }
548
+ },
549
+ {
550
+ "id": "e_answer_output",
551
+ "source": "answer",
552
+ "sourceHandle": "text",
553
+ "target": "answer_output",
554
+ "targetHandle": "value",
555
+ "ui_properties": {
556
+ "className": "str"
557
+ }
558
+ }
559
+ ]
560
+ },
561
+ "input_schema": null,
562
+ "output_schema": null,
563
+ "settings": null,
564
+ "package_name": "nodetool-base",
565
+ "path": null,
566
+ "run_mode": null,
567
+ "required_providers": null,
568
+ "required_models": null
569
+ }