ultravisor 1.0.3 → 1.0.8

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 (248) hide show
  1. package/.claude/launch.json +11 -0
  2. package/.claude/ultravisor-dev-config.json +3 -0
  3. package/card-audit.json +1545 -0
  4. package/docs/_sidebar.md +17 -0
  5. package/docs/css/docuserve.css +73 -0
  6. package/docs/features/beacon-authentication.md +209 -0
  7. package/docs/features/beacon-providers.md +1299 -0
  8. package/docs/features/beacons.md +530 -0
  9. package/docs/features/capabilities.md +193 -0
  10. package/docs/features/llm-model-setup.md +505 -0
  11. package/docs/features/llm.md +262 -0
  12. package/docs/features/tasks-content-system.md +110 -0
  13. package/docs/features/tasks-data-transform.md +233 -0
  14. package/docs/features/tasks-extension.md +36 -0
  15. package/docs/features/tasks-file-system.md +203 -0
  16. package/docs/features/tasks-flow-control.md +125 -0
  17. package/docs/features/tasks-http-client.md +119 -0
  18. package/docs/features/tasks-llm.md +118 -0
  19. package/docs/features/tasks-meadow-api.md +163 -0
  20. package/docs/features/tasks-user-interaction.md +49 -0
  21. package/docs/features/tasks.md +14 -0
  22. package/docs/index.html +1 -1
  23. package/docs/retold-catalog.json +1 -1
  24. package/docs/retold-keyword-index.json +17374 -5
  25. package/operation-library/api-data-pipeline.json +143 -0
  26. package/operation-library/beacon-remote-command.json +72 -0
  27. package/operation-library/conditional-file-backup.json +143 -0
  28. package/operation-library/config-processor.json +136 -0
  29. package/operation-library/csv-data-analysis.json +228 -0
  30. package/operation-library/csv-to-json.json +160 -0
  31. package/operation-library/directory-inventory.json +128 -0
  32. package/operation-library/expression-calculator.json +114 -0
  33. package/operation-library/file-search-replace.json +175 -0
  34. package/operation-library/git-status-report.json +368 -0
  35. package/operation-library/health-check-ping.json +329 -0
  36. package/operation-library/json-config-merge.json +313 -0
  37. package/operation-library/llm-embedding-tool-use.json +314 -0
  38. package/operation-library/llm-multi-turn-analysis.json +322 -0
  39. package/operation-library/llm-summarize.json +264 -0
  40. package/operation-library/log-line-counter.json +185 -0
  41. package/operation-library/meadow-crud-lifecycle.json +264 -0
  42. package/operation-library/npm-project-validator.json +193 -0
  43. package/operation-library/rest-api-orchestrator.json +218 -0
  44. package/operation-library/shell-system-info.json +137 -0
  45. package/operation-library/simple-echo.json +95 -0
  46. package/operation-library/template-processor.json +299 -0
  47. package/operation-library/text-sanitizer.json +176 -0
  48. package/package.json +12 -8
  49. package/source/Ultravisor.cjs +30 -3
  50. package/source/beacon/Ultravisor-Beacon-CLI.cjs +143 -0
  51. package/source/beacon/Ultravisor-Beacon-CapabilityProvider.cjs +129 -0
  52. package/source/beacon/Ultravisor-Beacon-Client.cjs +568 -0
  53. package/source/beacon/Ultravisor-Beacon-Executor.cjs +500 -0
  54. package/source/beacon/Ultravisor-Beacon-ProviderRegistry.cjs +330 -0
  55. package/source/beacon/providers/Ultravisor-Beacon-Provider-FileSystem.cjs +331 -0
  56. package/source/beacon/providers/Ultravisor-Beacon-Provider-LLM.cjs +966 -0
  57. package/source/beacon/providers/Ultravisor-Beacon-Provider-Shell.cjs +95 -0
  58. package/source/cli/Ultravisor-CLIProgram.cjs +44 -22
  59. package/source/cli/commands/Ultravisor-Command-SingleOperation.cjs +29 -18
  60. package/source/cli/commands/Ultravisor-Command-SingleTask.cjs +62 -19
  61. package/source/cli/commands/Ultravisor-Command-UpdateTask.cjs +27 -15
  62. package/source/config/Ultravisor-Default-Command-Configuration.cjs +12 -3
  63. package/source/services/Ultravisor-Beacon-Coordinator.cjs +966 -0
  64. package/source/services/Ultravisor-ExecutionEngine.cjs +1093 -0
  65. package/source/services/Ultravisor-ExecutionManifest.cjs +629 -0
  66. package/source/services/Ultravisor-Hypervisor-State.cjs +270 -97
  67. package/source/services/Ultravisor-Hypervisor.cjs +185 -75
  68. package/source/services/Ultravisor-Schedule-Persistence-Base.cjs +45 -0
  69. package/source/services/Ultravisor-StateManager.cjs +253 -0
  70. package/source/services/Ultravisor-TaskTypeRegistry.cjs +213 -0
  71. package/source/services/persistence/Ultravisor-Schedule-Persistence-JSONFile.cjs +140 -0
  72. package/source/services/tasks/Ultravisor-BuiltIn-TaskConfigs.cjs +19 -0
  73. package/source/services/tasks/Ultravisor-TaskHelper-BeaconDispatch.cjs +107 -0
  74. package/source/services/tasks/Ultravisor-TaskType-Base.cjs +125 -0
  75. package/source/services/tasks/content-system/Ultravisor-TaskConfigs-ContentSystem.cjs +90 -0
  76. package/source/services/tasks/content-system/definitions/content-create-folder.json +24 -0
  77. package/source/services/tasks/content-system/definitions/content-list-files.json +27 -0
  78. package/source/services/tasks/content-system/definitions/content-read-file.json +26 -0
  79. package/source/services/tasks/content-system/definitions/content-save-file.json +26 -0
  80. package/source/services/tasks/data-transform/Ultravisor-TaskConfigs-DataTransform.cjs +577 -0
  81. package/source/services/tasks/data-transform/Ultravisor-TaskType-ReplaceString.cjs +80 -0
  82. package/source/services/tasks/data-transform/Ultravisor-TaskType-SetValues.cjs +74 -0
  83. package/source/services/tasks/data-transform/Ultravisor-TaskType-StringAppender.cjs +90 -0
  84. package/source/services/tasks/data-transform/definitions/comprehension-intersect.json +24 -0
  85. package/source/services/tasks/data-transform/definitions/csv-transform.json +24 -0
  86. package/source/services/tasks/data-transform/definitions/expression-solver.json +20 -0
  87. package/source/services/tasks/data-transform/definitions/histogram.json +23 -0
  88. package/source/services/tasks/data-transform/definitions/parse-csv.json +27 -0
  89. package/source/services/tasks/data-transform/definitions/replace-string.json +27 -0
  90. package/source/services/tasks/data-transform/definitions/set-values.json +17 -0
  91. package/source/services/tasks/data-transform/definitions/string-appender.json +22 -0
  92. package/source/services/tasks/data-transform/definitions/template-string.json +20 -0
  93. package/source/services/tasks/extension/Ultravisor-TaskConfigs-Extension.cjs +87 -0
  94. package/source/services/tasks/extension/definitions/beacon-dispatch.json +32 -0
  95. package/source/services/tasks/file-system/Ultravisor-TaskConfigs-FileSystem.cjs +509 -0
  96. package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFile.cjs +96 -0
  97. package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFileBuffered.cjs +123 -0
  98. package/source/services/tasks/file-system/Ultravisor-TaskType-WriteFile.cjs +106 -0
  99. package/source/services/tasks/file-system/definitions/copy-file.json +27 -0
  100. package/source/services/tasks/file-system/definitions/list-files.json +27 -0
  101. package/source/services/tasks/file-system/definitions/read-file-buffered.json +31 -0
  102. package/source/services/tasks/file-system/definitions/read-file.json +26 -0
  103. package/source/services/tasks/file-system/definitions/read-json.json +23 -0
  104. package/source/services/tasks/file-system/definitions/write-file.json +29 -0
  105. package/source/services/tasks/file-system/definitions/write-json.json +30 -0
  106. package/source/services/tasks/flow-control/Ultravisor-TaskConfigs-FlowControl.cjs +353 -0
  107. package/source/services/tasks/flow-control/Ultravisor-TaskType-IfConditional.cjs +125 -0
  108. package/source/services/tasks/flow-control/Ultravisor-TaskType-LaunchOperation.cjs +186 -0
  109. package/source/services/tasks/flow-control/Ultravisor-TaskType-SplitExecute.cjs +164 -0
  110. package/source/services/tasks/flow-control/definitions/if-conditional.json +25 -0
  111. package/source/services/tasks/flow-control/definitions/launch-operation.json +27 -0
  112. package/source/services/tasks/flow-control/definitions/split-execute.json +32 -0
  113. package/source/services/tasks/http-client/Ultravisor-TaskConfigs-HttpClient.cjs +281 -0
  114. package/source/services/tasks/http-client/definitions/get-json.json +26 -0
  115. package/source/services/tasks/http-client/definitions/get-text.json +26 -0
  116. package/source/services/tasks/http-client/definitions/rest-request.json +32 -0
  117. package/source/services/tasks/http-client/definitions/send-json.json +28 -0
  118. package/source/services/tasks/llm/Ultravisor-TaskConfigs-LLM.cjs +605 -0
  119. package/source/services/tasks/llm/definitions/llm-chat-completion.json +46 -0
  120. package/source/services/tasks/llm/definitions/llm-embedding.json +31 -0
  121. package/source/services/tasks/llm/definitions/llm-tool-use.json +42 -0
  122. package/source/services/tasks/meadow-api/Ultravisor-TaskConfigs-MeadowApi.cjs +341 -0
  123. package/source/services/tasks/meadow-api/definitions/meadow-count.json +26 -0
  124. package/source/services/tasks/meadow-api/definitions/meadow-create.json +26 -0
  125. package/source/services/tasks/meadow-api/definitions/meadow-delete.json +23 -0
  126. package/source/services/tasks/meadow-api/definitions/meadow-read.json +26 -0
  127. package/source/services/tasks/meadow-api/definitions/meadow-reads.json +29 -0
  128. package/source/services/tasks/meadow-api/definitions/meadow-update.json +26 -0
  129. package/source/services/tasks/shell/Ultravisor-TaskConfigs-Shell.cjs +63 -0
  130. package/source/services/tasks/shell/definitions/command.json +29 -0
  131. package/source/services/tasks/user-interaction/Ultravisor-TaskConfigs-UserInteraction.cjs +64 -0
  132. package/source/services/tasks/user-interaction/Ultravisor-TaskType-ErrorMessage.cjs +55 -0
  133. package/source/services/tasks/user-interaction/Ultravisor-TaskType-ValueInput.cjs +47 -0
  134. package/source/services/tasks/user-interaction/definitions/error-message.json +18 -0
  135. package/source/services/tasks/user-interaction/definitions/value-input.json +23 -0
  136. package/source/web_server/Ultravisor-API-Server.cjs +849 -124
  137. package/test/Ultravisor_browser_tests.js +2226 -0
  138. package/test/Ultravisor_operation_library_tests.js +894 -0
  139. package/test/Ultravisor_tests.js +4946 -5044
  140. package/test/workflows/test-content-concatenate-all.json +339 -0
  141. package/test/workflows/test-content-full-pipeline.json +159 -0
  142. package/test/workflows/test-content-list-files.json +76 -0
  143. package/test/workflows/test-content-save-and-read.json +106 -0
  144. package/webinterface/css/ultravisor-themes.css +668 -0
  145. package/webinterface/css/ultravisor.css +37 -14
  146. package/webinterface/docs/card-help/beacon-dispatch.md +30 -0
  147. package/webinterface/docs/card-help/command.md +27 -0
  148. package/webinterface/docs/card-help/comprehension-intersect.md +24 -0
  149. package/webinterface/docs/card-help/content-create-folder.md +22 -0
  150. package/webinterface/docs/card-help/content-list-files.md +25 -0
  151. package/webinterface/docs/card-help/content-read-file.md +24 -0
  152. package/webinterface/docs/card-help/content-save-file.md +24 -0
  153. package/webinterface/docs/card-help/copy-file.md +25 -0
  154. package/webinterface/docs/card-help/csv-transform.md +24 -0
  155. package/webinterface/docs/card-help/end.md +11 -0
  156. package/webinterface/docs/card-help/error-message.md +16 -0
  157. package/webinterface/docs/card-help/expression-solver.md +21 -0
  158. package/webinterface/docs/card-help/get-json.md +24 -0
  159. package/webinterface/docs/card-help/get-text.md +24 -0
  160. package/webinterface/docs/card-help/histogram.md +23 -0
  161. package/webinterface/docs/card-help/if-conditional.md +23 -0
  162. package/webinterface/docs/card-help/launch-operation.md +25 -0
  163. package/webinterface/docs/card-help/list-files.md +25 -0
  164. package/webinterface/docs/card-help/llm-chat-completion.md +43 -0
  165. package/webinterface/docs/card-help/llm-embedding.md +24 -0
  166. package/webinterface/docs/card-help/llm-tool-use.md +39 -0
  167. package/webinterface/docs/card-help/meadow-count.md +24 -0
  168. package/webinterface/docs/card-help/meadow-create.md +24 -0
  169. package/webinterface/docs/card-help/meadow-delete.md +19 -0
  170. package/webinterface/docs/card-help/meadow-read.md +24 -0
  171. package/webinterface/docs/card-help/meadow-reads.md +27 -0
  172. package/webinterface/docs/card-help/meadow-update.md +24 -0
  173. package/webinterface/docs/card-help/parse-csv.md +27 -0
  174. package/webinterface/docs/card-help/read-file-buffered.md +29 -0
  175. package/webinterface/docs/card-help/read-file.md +24 -0
  176. package/webinterface/docs/card-help/read-json.md +21 -0
  177. package/webinterface/docs/card-help/replace-string.md +25 -0
  178. package/webinterface/docs/card-help/rest-request.md +30 -0
  179. package/webinterface/docs/card-help/send-json.md +26 -0
  180. package/webinterface/docs/card-help/set-values.md +16 -0
  181. package/webinterface/docs/card-help/split-execute.md +35 -0
  182. package/webinterface/docs/card-help/start.md +11 -0
  183. package/webinterface/docs/card-help/string-appender.md +22 -0
  184. package/webinterface/docs/card-help/template-string.md +21 -0
  185. package/webinterface/docs/card-help/value-input.md +24 -0
  186. package/webinterface/docs/card-help/write-file.md +27 -0
  187. package/webinterface/docs/card-help/write-json.md +28 -0
  188. package/webinterface/html/index.html +5 -0
  189. package/webinterface/package.json +13 -4
  190. package/webinterface/source/Pict-Application-Ultravisor.js +564 -70
  191. package/webinterface/source/Ultravisor-TimingUtils.js +99 -0
  192. package/webinterface/source/card-help-content.js +46 -0
  193. package/webinterface/source/cards/Ultravisor-BuiltIn-CardConfigs.js +174 -0
  194. package/webinterface/source/cards/Ultravisor-CardConfigGenerator.js +431 -0
  195. package/webinterface/source/data/ExampleFlow-CSVPipeline.js +231 -0
  196. package/webinterface/source/data/ExampleFlow-FileProcessor.js +315 -0
  197. package/webinterface/source/data/ExampleFlow-MeadowPipeline.js +328 -0
  198. package/webinterface/source/panels/Ultravisor-CardSettingsPanel.js +902 -0
  199. package/webinterface/source/providers/PictRouter-Ultravisor-Configuration.json +20 -8
  200. package/webinterface/source/views/PictView-Ultravisor-BeaconList.js +817 -0
  201. package/webinterface/source/views/PictView-Ultravisor-BottomBar.js +5 -5
  202. package/webinterface/source/views/PictView-Ultravisor-Dashboard.js +25 -25
  203. package/webinterface/source/views/PictView-Ultravisor-Documentation.js +856 -0
  204. package/webinterface/source/views/PictView-Ultravisor-FlowEditor.js +777 -0
  205. package/webinterface/source/views/PictView-Ultravisor-ManifestList.js +321 -58
  206. package/webinterface/source/views/PictView-Ultravisor-OperationEdit.js +36 -91
  207. package/webinterface/source/views/PictView-Ultravisor-OperationList.js +388 -16
  208. package/webinterface/source/views/PictView-Ultravisor-PendingInput.js +314 -0
  209. package/webinterface/source/views/PictView-Ultravisor-Schedule.js +521 -65
  210. package/webinterface/source/views/PictView-Ultravisor-TimingView.js +333 -71
  211. package/webinterface/source/views/PictView-Ultravisor-TopBar.js +257 -21
  212. package/webinterface/theme-sampler.html +645 -0
  213. package/debug/Harness.js +0 -6
  214. package/source/services/Ultravisor-Operation-Manifest.cjs +0 -160
  215. package/source/services/Ultravisor-Operation.cjs +0 -200
  216. package/source/services/Ultravisor-Task.cjs +0 -349
  217. package/source/services/events/Ultravisor-Hypervisor-Event-Solver.cjs +0 -11
  218. package/source/services/tasks/Ultravisor-Task-Base.cjs +0 -264
  219. package/source/services/tasks/Ultravisor-Task-CollectValues.cjs +0 -188
  220. package/source/services/tasks/Ultravisor-Task-Command.cjs +0 -65
  221. package/source/services/tasks/Ultravisor-Task-CommandEach.cjs +0 -190
  222. package/source/services/tasks/Ultravisor-Task-Conditional.cjs +0 -104
  223. package/source/services/tasks/Ultravisor-Task-DateWindow.cjs +0 -72
  224. package/source/services/tasks/Ultravisor-Task-GeneratePagedOperation.cjs +0 -336
  225. package/source/services/tasks/Ultravisor-Task-LaunchOperation.cjs +0 -143
  226. package/source/services/tasks/Ultravisor-Task-LaunchTask.cjs +0 -146
  227. package/source/services/tasks/Ultravisor-Task-LineMatch.cjs +0 -158
  228. package/source/services/tasks/Ultravisor-Task-Request.cjs +0 -56
  229. package/source/services/tasks/Ultravisor-Task-Solver.cjs +0 -89
  230. package/source/services/tasks/Ultravisor-Task-TemplateString.cjs +0 -93
  231. package/source/services/tasks/rest/Ultravisor-Task-GetBinary.cjs +0 -127
  232. package/source/services/tasks/rest/Ultravisor-Task-GetJSON.cjs +0 -119
  233. package/source/services/tasks/rest/Ultravisor-Task-GetText.cjs +0 -109
  234. package/source/services/tasks/rest/Ultravisor-Task-GetXML.cjs +0 -112
  235. package/source/services/tasks/rest/Ultravisor-Task-RestRequest.cjs +0 -499
  236. package/source/services/tasks/rest/Ultravisor-Task-SendJSON.cjs +0 -150
  237. package/source/services/tasks/stagingfiles/Ultravisor-Task-CopyFile.cjs +0 -110
  238. package/source/services/tasks/stagingfiles/Ultravisor-Task-ListFiles.cjs +0 -89
  239. package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadBinary.cjs +0 -87
  240. package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadJSON.cjs +0 -67
  241. package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadText.cjs +0 -66
  242. package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadXML.cjs +0 -69
  243. package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteBinary.cjs +0 -95
  244. package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteJSON.cjs +0 -96
  245. package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteText.cjs +0 -99
  246. package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteXML.cjs +0 -102
  247. package/webinterface/source/views/PictView-Ultravisor-TaskEdit.js +0 -220
  248. package/webinterface/source/views/PictView-Ultravisor-TaskList.js +0 -248
@@ -0,0 +1,218 @@
1
+ {
2
+ "Name": "REST API Orchestrator",
3
+ "Description": "Fetches data from a REST API endpoint, validates the response, sends a transformed version to another endpoint, launches a child operation for additional processing, formats a summary report, and writes it to disk. Demonstrates rest-request, send-json, launch-operation, set-values, if-conditional, template-string, and write-file.",
4
+ "Tags": ["http", "orchestration", "rest-api", "multi-step"],
5
+ "Author": "Ultravisor",
6
+ "Version": "1.0.0",
7
+ "Graph": {
8
+ "Nodes": [
9
+ {
10
+ "Hash": "ro-start",
11
+ "Type": "start",
12
+ "X": 50,
13
+ "Y": 200,
14
+ "Width": 140,
15
+ "Height": 80,
16
+ "Title": "Start",
17
+ "Ports": [
18
+ { "Hash": "ro-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
19
+ ],
20
+ "Data": {}
21
+ },
22
+ {
23
+ "Hash": "ro-init",
24
+ "Type": "set-values",
25
+ "X": 250,
26
+ "Y": 180,
27
+ "Width": 200,
28
+ "Height": 80,
29
+ "Title": "Initialize Settings",
30
+ "Ports": [
31
+ { "Hash": "ro-ei-Execute", "Direction": "input", "Side": "left-bottom", "Label": "Execute" },
32
+ { "Hash": "ro-eo-InitComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
33
+ ],
34
+ "Data": {
35
+ "Mappings": [
36
+ { "Address": "Operation.SourceURL", "Value": "https://jsonplaceholder.typicode.com/posts/1" },
37
+ { "Address": "Operation.TargetURL", "Value": "https://httpbin.org/post" },
38
+ { "Address": "Operation.ChildOperationHash", "Value": "simple-echo" }
39
+ ]
40
+ }
41
+ },
42
+ {
43
+ "Hash": "ro-fetch",
44
+ "Type": "rest-request",
45
+ "X": 520,
46
+ "Y": 180,
47
+ "Width": 220,
48
+ "Height": 120,
49
+ "Title": "Fetch API Data",
50
+ "Ports": [
51
+ { "Hash": "ro-ei-In", "Direction": "input", "Side": "left-bottom", "Label": "In" },
52
+ { "Hash": "ro-eo-FetchComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
53
+ { "Hash": "ro-eo-FetchError", "Direction": "output", "Side": "bottom", "Label": "Error" },
54
+ { "Hash": "ro-so-Response", "Direction": "output", "Side": "right-top", "Label": "Response" }
55
+ ],
56
+ "Data": {
57
+ "URL": "{~D:Record.Operation.SourceURL~}",
58
+ "Method": "GET",
59
+ "ContentType": "application/json",
60
+ "Destination": "Operation.FetchedData"
61
+ }
62
+ },
63
+ {
64
+ "Hash": "ro-check",
65
+ "Type": "if-conditional",
66
+ "X": 810,
67
+ "Y": 180,
68
+ "Width": 200,
69
+ "Height": 120,
70
+ "Title": "Response Valid?",
71
+ "Ports": [
72
+ { "Hash": "ro-ei-Evaluate", "Direction": "input", "Side": "left-bottom", "Label": "Evaluate" },
73
+ { "Hash": "ro-eo-True", "Direction": "output", "Side": "right-bottom", "Label": "True" },
74
+ { "Hash": "ro-eo-False", "Direction": "output", "Side": "bottom", "Label": "False" },
75
+ { "Hash": "ro-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
76
+ ],
77
+ "Data": {
78
+ "DataAddress": "TaskOutput.ro-fetch.Response",
79
+ "Operator": "truthy"
80
+ }
81
+ },
82
+ {
83
+ "Hash": "ro-send",
84
+ "Type": "send-json",
85
+ "X": 1080,
86
+ "Y": 160,
87
+ "Width": 220,
88
+ "Height": 120,
89
+ "Title": "Send to Target",
90
+ "Ports": [
91
+ { "Hash": "ro-ei-Trigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
92
+ { "Hash": "ro-eo-SendComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
93
+ { "Hash": "ro-eo-SendError", "Direction": "output", "Side": "bottom", "Label": "Error" },
94
+ { "Hash": "ro-so-SendResponse", "Direction": "output", "Side": "right-top", "Label": "Response" }
95
+ ],
96
+ "Data": {
97
+ "URL": "{~D:Record.Operation.TargetURL~}",
98
+ "Method": "POST",
99
+ "Address": "Operation.FetchedData",
100
+ "Destination": "Operation.SendResult"
101
+ }
102
+ },
103
+ {
104
+ "Hash": "ro-launch",
105
+ "Type": "launch-operation",
106
+ "X": 1370,
107
+ "Y": 160,
108
+ "Width": 240,
109
+ "Height": 120,
110
+ "Title": "Launch Child Operation",
111
+ "Ports": [
112
+ { "Hash": "ro-ei-Launch", "Direction": "input", "Side": "left-bottom", "Label": "Launch" },
113
+ { "Hash": "ro-eo-Completed", "Direction": "output", "Side": "right-bottom", "Label": "Completed" },
114
+ { "Hash": "ro-eo-LaunchError", "Direction": "output", "Side": "bottom", "Label": "Error" },
115
+ { "Hash": "ro-so-LaunchResult", "Direction": "output", "Side": "right-top", "Label": "Result" },
116
+ { "Hash": "ro-so-Status", "Direction": "output", "Side": "right-top", "Label": "Status" },
117
+ { "Hash": "ro-so-ElapsedMs", "Direction": "output", "Side": "right-top", "Label": "ElapsedMs" }
118
+ ],
119
+ "Data": {
120
+ "OperationHash": "{~D:Record.Operation.ChildOperationHash~}",
121
+ "InputData": "{~D:Record.Operation.FetchedData~}"
122
+ }
123
+ },
124
+ {
125
+ "Hash": "ro-format",
126
+ "Type": "template-string",
127
+ "X": 1670,
128
+ "Y": 160,
129
+ "Width": 240,
130
+ "Height": 100,
131
+ "Title": "Format Report",
132
+ "Ports": [
133
+ { "Hash": "ro-ei-FormatIn", "Direction": "input", "Side": "left-bottom", "Label": "In" },
134
+ { "Hash": "ro-eo-FormatComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
135
+ { "Hash": "ro-so-FormatResult", "Direction": "output", "Side": "right-top", "Label": "Result" }
136
+ ],
137
+ "Data": {
138
+ "Template": "API Orchestration Report\n========================\nSource: {~D:Record.Operation.SourceURL~}\nTarget: {~D:Record.Operation.TargetURL~}\nChild Operation: {~D:Record.Operation.ChildOperationHash~}\nChild Status: {~D:Record.TaskOutput.ro-launch.Status~}\nElapsed: {~D:Record.TaskOutput.ro-launch.ElapsedMs~}ms\n",
139
+ "Destination": "Operation.Report"
140
+ }
141
+ },
142
+ {
143
+ "Hash": "ro-write",
144
+ "Type": "write-file",
145
+ "X": 1970,
146
+ "Y": 160,
147
+ "Width": 200,
148
+ "Height": 120,
149
+ "Title": "Write Report",
150
+ "Ports": [
151
+ { "Hash": "ro-ei-BeginWrite", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
152
+ { "Hash": "ro-eo-WriteComplete", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
153
+ { "Hash": "ro-eo-WriteError", "Direction": "output", "Side": "bottom", "Label": "Error" },
154
+ { "Hash": "ro-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
155
+ { "Hash": "ro-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
156
+ ],
157
+ "Data": {
158
+ "FilePath": "orchestration-report.txt",
159
+ "Content": "{~D:Record.Operation.Report~}"
160
+ }
161
+ },
162
+ {
163
+ "Hash": "ro-err",
164
+ "Type": "error-message",
165
+ "X": 1080,
166
+ "Y": 400,
167
+ "Width": 220,
168
+ "Height": 80,
169
+ "Title": "Orchestration Error",
170
+ "Ports": [
171
+ { "Hash": "ro-ei-ErrTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
172
+ { "Hash": "ro-eo-ErrComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
173
+ ],
174
+ "Data": {
175
+ "MessageTemplate": "REST API orchestration encountered an error"
176
+ }
177
+ },
178
+ {
179
+ "Hash": "ro-end",
180
+ "Type": "end",
181
+ "X": 2240,
182
+ "Y": 220,
183
+ "Width": 140,
184
+ "Height": 80,
185
+ "Title": "End",
186
+ "Ports": [
187
+ { "Hash": "ro-ei-EndIn", "Direction": "input", "Side": "left-bottom", "Label": "In" }
188
+ ],
189
+ "Data": {}
190
+ }
191
+ ],
192
+ "Connections": [
193
+ { "Hash": "ro-c1", "SourceNodeHash": "ro-start", "SourcePortHash": "ro-start-out", "TargetNodeHash": "ro-init", "TargetPortHash": "ro-ei-Execute", "Data": {} },
194
+ { "Hash": "ro-c2", "SourceNodeHash": "ro-init", "SourcePortHash": "ro-eo-InitComplete", "TargetNodeHash": "ro-fetch", "TargetPortHash": "ro-ei-In", "Data": {} },
195
+ { "Hash": "ro-c3", "SourceNodeHash": "ro-fetch", "SourcePortHash": "ro-eo-FetchComplete", "TargetNodeHash": "ro-check", "TargetPortHash": "ro-ei-Evaluate", "Data": {} },
196
+ { "Hash": "ro-c4", "SourceNodeHash": "ro-check", "SourcePortHash": "ro-eo-True", "TargetNodeHash": "ro-send", "TargetPortHash": "ro-ei-Trigger", "Data": {} },
197
+ { "Hash": "ro-c5", "SourceNodeHash": "ro-send", "SourcePortHash": "ro-eo-SendComplete", "TargetNodeHash": "ro-launch", "TargetPortHash": "ro-ei-Launch", "Data": {} },
198
+ { "Hash": "ro-c6", "SourceNodeHash": "ro-launch", "SourcePortHash": "ro-eo-Completed", "TargetNodeHash": "ro-format", "TargetPortHash": "ro-ei-FormatIn", "Data": {} },
199
+ { "Hash": "ro-c7", "SourceNodeHash": "ro-format", "SourcePortHash": "ro-eo-FormatComplete", "TargetNodeHash": "ro-write", "TargetPortHash": "ro-ei-BeginWrite", "Data": {} },
200
+ { "Hash": "ro-c8", "SourceNodeHash": "ro-write", "SourcePortHash": "ro-eo-WriteComplete", "TargetNodeHash": "ro-end", "TargetPortHash": "ro-ei-EndIn", "Data": {} },
201
+ { "Hash": "ro-c9", "SourceNodeHash": "ro-fetch", "SourcePortHash": "ro-eo-FetchError", "TargetNodeHash": "ro-err", "TargetPortHash": "ro-ei-ErrTrigger", "Data": {} },
202
+ { "Hash": "ro-c10", "SourceNodeHash": "ro-check", "SourcePortHash": "ro-eo-False", "TargetNodeHash": "ro-err", "TargetPortHash": "ro-ei-ErrTrigger", "Data": {} },
203
+ { "Hash": "ro-c11", "SourceNodeHash": "ro-send", "SourcePortHash": "ro-eo-SendError", "TargetNodeHash": "ro-err", "TargetPortHash": "ro-ei-ErrTrigger", "Data": {} },
204
+ { "Hash": "ro-c12", "SourceNodeHash": "ro-launch", "SourcePortHash": "ro-eo-LaunchError", "TargetNodeHash": "ro-err", "TargetPortHash": "ro-ei-ErrTrigger", "Data": {} },
205
+ { "Hash": "ro-c13", "SourceNodeHash": "ro-write", "SourcePortHash": "ro-eo-WriteError", "TargetNodeHash": "ro-end", "TargetPortHash": "ro-ei-EndIn", "Data": {} },
206
+ { "Hash": "ro-c14", "SourceNodeHash": "ro-err", "SourcePortHash": "ro-eo-ErrComplete", "TargetNodeHash": "ro-end", "TargetPortHash": "ro-ei-EndIn", "Data": {} },
207
+ { "Hash": "ro-sc1", "SourceNodeHash": "ro-format", "SourcePortHash": "ro-so-FormatResult", "TargetNodeHash": "ro-write", "TargetPortHash": "ro-si-Content", "Data": {} }
208
+ ],
209
+ "ViewState": { "PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null }
210
+ },
211
+ "SavedLayouts": [],
212
+ "InitialGlobalState": {},
213
+ "InitialOperationState": {
214
+ "SourceURL": "https://jsonplaceholder.typicode.com/posts/1",
215
+ "TargetURL": "https://httpbin.org/post",
216
+ "ChildOperationHash": "simple-echo"
217
+ }
218
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "Name": "System Info Collector",
3
+ "Description": "Runs shell commands to gather system information (hostname, uptime, disk usage) and writes a report. Demonstrates command nodes with template assembly.",
4
+ "Tags": ["command", "system", "reporting"],
5
+ "Author": "Ultravisor",
6
+ "Version": "1.0.0",
7
+ "Graph": {
8
+ "Nodes": [
9
+ {
10
+ "Hash": "si-start",
11
+ "Type": "start",
12
+ "X": 50,
13
+ "Y": 200,
14
+ "Width": 140,
15
+ "Height": 80,
16
+ "Title": "Start",
17
+ "Ports": [
18
+ { "Hash": "si-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
19
+ ],
20
+ "Data": {}
21
+ },
22
+ {
23
+ "Hash": "si-hostname",
24
+ "Type": "command",
25
+ "X": 260,
26
+ "Y": 180,
27
+ "Width": 200,
28
+ "Height": 120,
29
+ "Title": "Get Hostname",
30
+ "Ports": [
31
+ { "Hash": "si-hn-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
32
+ { "Hash": "si-hn-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
33
+ { "Hash": "si-hn-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
34
+ { "Hash": "si-hn-so-StdOut", "Direction": "output", "Side": "right-top", "Label": "StdOut" },
35
+ { "Hash": "si-hn-so-ExitCode", "Direction": "output", "Side": "right-top", "Label": "ExitCode" }
36
+ ],
37
+ "Data": { "Command": "hostname", "Description": "Get system hostname" }
38
+ },
39
+ {
40
+ "Hash": "si-uptime",
41
+ "Type": "command",
42
+ "X": 530,
43
+ "Y": 180,
44
+ "Width": 200,
45
+ "Height": 120,
46
+ "Title": "Get Uptime",
47
+ "Ports": [
48
+ { "Hash": "si-up-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
49
+ { "Hash": "si-up-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
50
+ { "Hash": "si-up-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
51
+ { "Hash": "si-up-so-StdOut", "Direction": "output", "Side": "right-top", "Label": "StdOut" },
52
+ { "Hash": "si-up-so-ExitCode", "Direction": "output", "Side": "right-top", "Label": "ExitCode" }
53
+ ],
54
+ "Data": { "Command": "uptime", "Description": "Get system uptime" }
55
+ },
56
+ {
57
+ "Hash": "si-date",
58
+ "Type": "command",
59
+ "X": 800,
60
+ "Y": 180,
61
+ "Width": 200,
62
+ "Height": 120,
63
+ "Title": "Get Date",
64
+ "Ports": [
65
+ { "Hash": "si-dt-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
66
+ { "Hash": "si-dt-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
67
+ { "Hash": "si-dt-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
68
+ { "Hash": "si-dt-so-StdOut", "Direction": "output", "Side": "right-top", "Label": "StdOut" },
69
+ { "Hash": "si-dt-so-ExitCode", "Direction": "output", "Side": "right-top", "Label": "ExitCode" }
70
+ ],
71
+ "Data": { "Command": "date", "Description": "Get current date and time" }
72
+ },
73
+ {
74
+ "Hash": "si-report",
75
+ "Type": "template-string",
76
+ "X": 1070,
77
+ "Y": 180,
78
+ "Width": 240,
79
+ "Height": 100,
80
+ "Title": "Build Report",
81
+ "Ports": [
82
+ { "Hash": "si-rpt-in", "Direction": "input", "Side": "left-bottom", "Label": "In" },
83
+ { "Hash": "si-rpt-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
84
+ { "Hash": "si-rpt-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
85
+ ],
86
+ "Data": { "Template": "=== System Info Report ===\nHostname: {~D:Record.TaskOutput.si-hostname.StdOut~}\nUptime: {~D:Record.TaskOutput.si-uptime.StdOut~}\nDate: {~D:Record.TaskOutput.si-date.StdOut~}\n", "Destination": "Operation.Report" }
87
+ },
88
+ {
89
+ "Hash": "si-write",
90
+ "Type": "write-file",
91
+ "X": 1380,
92
+ "Y": 180,
93
+ "Width": 200,
94
+ "Height": 120,
95
+ "Title": "Save Report",
96
+ "Ports": [
97
+ { "Hash": "si-wr-in", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
98
+ { "Hash": "si-wr-done", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
99
+ { "Hash": "si-wr-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
100
+ { "Hash": "si-wr-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
101
+ { "Hash": "si-wr-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
102
+ ],
103
+ "Data": { "FilePath": "system-info-report.txt", "Content": "{~D:Record.Operation.Report~}", "Encoding": "utf8" }
104
+ },
105
+ {
106
+ "Hash": "si-end",
107
+ "Type": "end",
108
+ "X": 1650,
109
+ "Y": 260,
110
+ "Width": 140,
111
+ "Height": 80,
112
+ "Title": "End",
113
+ "Ports": [
114
+ { "Hash": "si-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
115
+ ],
116
+ "Data": {}
117
+ }
118
+ ],
119
+ "Connections": [
120
+ { "Hash": "si-c1", "SourceNodeHash": "si-start", "SourcePortHash": "si-start-out", "TargetNodeHash": "si-hostname", "TargetPortHash": "si-hn-in", "Data": {} },
121
+ { "Hash": "si-c2", "SourceNodeHash": "si-hostname", "SourcePortHash": "si-hn-done", "TargetNodeHash": "si-uptime", "TargetPortHash": "si-up-in", "Data": {} },
122
+ { "Hash": "si-c3", "SourceNodeHash": "si-uptime", "SourcePortHash": "si-up-done", "TargetNodeHash": "si-date", "TargetPortHash": "si-dt-in", "Data": {} },
123
+ { "Hash": "si-c4", "SourceNodeHash": "si-date", "SourcePortHash": "si-dt-done", "TargetNodeHash": "si-report", "TargetPortHash": "si-rpt-in", "Data": {} },
124
+ { "Hash": "si-c5", "SourceNodeHash": "si-report", "SourcePortHash": "si-rpt-done", "TargetNodeHash": "si-write", "TargetPortHash": "si-wr-in", "Data": {} },
125
+ { "Hash": "si-c6", "SourceNodeHash": "si-write", "SourcePortHash": "si-wr-done", "TargetNodeHash": "si-end", "TargetPortHash": "si-end-in", "Data": {} },
126
+ { "Hash": "si-c7", "SourceNodeHash": "si-hostname", "SourcePortHash": "si-hn-err", "TargetNodeHash": "si-end", "TargetPortHash": "si-end-in", "Data": {} },
127
+ { "Hash": "si-c8", "SourceNodeHash": "si-uptime", "SourcePortHash": "si-up-err", "TargetNodeHash": "si-end", "TargetPortHash": "si-end-in", "Data": {} },
128
+ { "Hash": "si-c9", "SourceNodeHash": "si-date", "SourcePortHash": "si-dt-err", "TargetNodeHash": "si-end", "TargetPortHash": "si-end-in", "Data": {} },
129
+ { "Hash": "si-c10", "SourceNodeHash": "si-write", "SourcePortHash": "si-wr-err", "TargetNodeHash": "si-end", "TargetPortHash": "si-end-in", "Data": {} },
130
+ { "Hash": "si-sc1", "SourceNodeHash": "si-report", "SourcePortHash": "si-rpt-so-Result", "TargetNodeHash": "si-write", "TargetPortHash": "si-wr-si-Content", "Data": {} }
131
+ ],
132
+ "ViewState": { "PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null }
133
+ },
134
+ "SavedLayouts": [],
135
+ "InitialGlobalState": {},
136
+ "InitialOperationState": {}
137
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "Name": "Simple Echo",
3
+ "Description": "Minimal three-node operation: sets a value, formats it with a template, and writes the output. The simplest possible end-to-end pipeline.",
4
+ "Tags": ["minimal", "hello-world"],
5
+ "Author": "Ultravisor",
6
+ "Version": "1.0.0",
7
+ "Graph": {
8
+ "Nodes": [
9
+ {
10
+ "Hash": "se-start",
11
+ "Type": "start",
12
+ "X": 50,
13
+ "Y": 200,
14
+ "Width": 140,
15
+ "Height": 80,
16
+ "Title": "Start",
17
+ "Ports": [
18
+ { "Hash": "se-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
19
+ ],
20
+ "Data": {}
21
+ },
22
+ {
23
+ "Hash": "se-set",
24
+ "Type": "set-values",
25
+ "X": 260,
26
+ "Y": 180,
27
+ "Width": 200,
28
+ "Height": 80,
29
+ "Title": "Set Message",
30
+ "Ports": [
31
+ { "Hash": "se-set-in", "Direction": "input", "Side": "left-bottom", "Label": "Execute" },
32
+ { "Hash": "se-set-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
33
+ ],
34
+ "Data": { "Mappings": [{ "Address": "Operation.Message", "Value": "Hello from Ultravisor!" }, { "Address": "Operation.Timestamp", "Value": "now" }] }
35
+ },
36
+ {
37
+ "Hash": "se-template",
38
+ "Type": "template-string",
39
+ "X": 530,
40
+ "Y": 180,
41
+ "Width": 220,
42
+ "Height": 100,
43
+ "Title": "Format Output",
44
+ "Ports": [
45
+ { "Hash": "se-tpl-in", "Direction": "input", "Side": "left-bottom", "Label": "In" },
46
+ { "Hash": "se-tpl-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
47
+ { "Hash": "se-tpl-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
48
+ ],
49
+ "Data": { "Template": "[{~D:Record.Operation.Timestamp~}] {~D:Record.Operation.Message~}\n", "Destination": "Operation.Output" }
50
+ },
51
+ {
52
+ "Hash": "se-write",
53
+ "Type": "write-file",
54
+ "X": 820,
55
+ "Y": 180,
56
+ "Width": 200,
57
+ "Height": 120,
58
+ "Title": "Write Output",
59
+ "Ports": [
60
+ { "Hash": "se-wr-in", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
61
+ { "Hash": "se-wr-done", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
62
+ { "Hash": "se-wr-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
63
+ { "Hash": "se-wr-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
64
+ { "Hash": "se-wr-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
65
+ ],
66
+ "Data": { "FilePath": "echo-output.txt", "Content": "{~D:Record.Operation.Output~}", "Encoding": "utf8" }
67
+ },
68
+ {
69
+ "Hash": "se-end",
70
+ "Type": "end",
71
+ "X": 1090,
72
+ "Y": 260,
73
+ "Width": 140,
74
+ "Height": 80,
75
+ "Title": "End",
76
+ "Ports": [
77
+ { "Hash": "se-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
78
+ ],
79
+ "Data": {}
80
+ }
81
+ ],
82
+ "Connections": [
83
+ { "Hash": "se-c1", "SourceNodeHash": "se-start", "SourcePortHash": "se-start-out", "TargetNodeHash": "se-set", "TargetPortHash": "se-set-in", "Data": {} },
84
+ { "Hash": "se-c2", "SourceNodeHash": "se-set", "SourcePortHash": "se-set-done", "TargetNodeHash": "se-template", "TargetPortHash": "se-tpl-in", "Data": {} },
85
+ { "Hash": "se-c3", "SourceNodeHash": "se-template", "SourcePortHash": "se-tpl-done", "TargetNodeHash": "se-write", "TargetPortHash": "se-wr-in", "Data": {} },
86
+ { "Hash": "se-c4", "SourceNodeHash": "se-write", "SourcePortHash": "se-wr-done", "TargetNodeHash": "se-end", "TargetPortHash": "se-end-in", "Data": {} },
87
+ { "Hash": "se-c5", "SourceNodeHash": "se-write", "SourcePortHash": "se-wr-err", "TargetNodeHash": "se-end", "TargetPortHash": "se-end-in", "Data": {} },
88
+ { "Hash": "se-sc1", "SourceNodeHash": "se-template", "SourcePortHash": "se-tpl-so-Result", "TargetNodeHash": "se-write", "TargetPortHash": "se-wr-si-Content", "Data": {} }
89
+ ],
90
+ "ViewState": { "PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null }
91
+ },
92
+ "SavedLayouts": [],
93
+ "InitialGlobalState": {},
94
+ "InitialOperationState": {}
95
+ }