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,175 @@
1
+ {
2
+ "Name": "File Search & Replace",
3
+ "Description": "Complete file processing pipeline with user input, looping, and error handling. Asks for a file path, reads the file, splits into lines, replaces text in each line, and writes the result.",
4
+ "Tags": ["file-io", "text-processing", "looping"],
5
+ "Author": "Ultravisor",
6
+ "Version": "1.0.0",
7
+ "Graph": {
8
+ "Nodes": [
9
+ {
10
+ "Hash": "fp-start",
11
+ "Type": "start",
12
+ "X": 50,
13
+ "Y": 200,
14
+ "Width": 140,
15
+ "Height": 80,
16
+ "Title": "Start",
17
+ "Ports": [
18
+ { "Hash": "fp-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
19
+ ],
20
+ "Data": {}
21
+ },
22
+ {
23
+ "Hash": "fp-input",
24
+ "Type": "value-input",
25
+ "X": 280,
26
+ "Y": 180,
27
+ "Width": 220,
28
+ "Height": 100,
29
+ "Title": "Enter File Path",
30
+ "Ports": [
31
+ { "Hash": "fp-input-req", "Direction": "input", "Side": "left-bottom", "Label": "RequestInput" },
32
+ { "Hash": "fp-input-done", "Direction": "output", "Side": "right-bottom", "Label": "ValueInputComplete" },
33
+ { "Hash": "fp-input-filepath", "Direction": "output", "Side": "right-top", "Label": "InputValue" }
34
+ ],
35
+ "Data": {"PromptMessage": "Enter a file path and name", "OutputAddress": "Operation.InputFilePath"}
36
+ },
37
+ {
38
+ "Hash": "fp-read",
39
+ "Type": "read-file",
40
+ "X": 590,
41
+ "Y": 180,
42
+ "Width": 200,
43
+ "Height": 100,
44
+ "Title": "Load File",
45
+ "Ports": [
46
+ { "Hash": "fp-read-begin", "Direction": "input", "Side": "left-bottom", "Label": "BeginRead" },
47
+ { "Hash": "fp-read-filepath", "Direction": "input", "Side": "left-top", "Label": "FilePath" },
48
+ { "Hash": "fp-read-done", "Direction": "output", "Side": "right-bottom", "Label": "ReadComplete" },
49
+ { "Hash": "fp-read-content", "Direction": "output", "Side": "right-top", "Label": "FileContent" },
50
+ { "Hash": "fp-read-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
51
+ { "Hash": "fp-read-so-BytesRead", "Direction": "output", "Side": "right-top", "Label": "BytesRead" }
52
+ ],
53
+ "Data": {"FilePath": "{~D:Record.Operation.InputFilePath~}", "Encoding": "utf8"}
54
+ },
55
+ {
56
+ "Hash": "fp-error",
57
+ "Type": "error-message",
58
+ "X": 590,
59
+ "Y": 420,
60
+ "Width": 220,
61
+ "Height": 80,
62
+ "Title": "Read Error",
63
+ "Ports": [
64
+ { "Hash": "fp-error-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
65
+ { "Hash": "fp-error-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
66
+ ],
67
+ "Data": {"MessageTemplate": "Failed to read file: {~D:Record.Operation.InputFilePath~}"}
68
+ },
69
+ {
70
+ "Hash": "fp-split",
71
+ "Type": "split-execute",
72
+ "X": 890,
73
+ "Y": 160,
74
+ "Width": 240,
75
+ "Height": 120,
76
+ "Title": "Split Lines",
77
+ "Ports": [
78
+ { "Hash": "fp-split-begin", "Direction": "input", "Side": "left-bottom", "Label": "PerformSplit" },
79
+ { "Hash": "fp-split-step", "Direction": "input", "Side": "left-bottom", "Label": "StepComplete" },
80
+ { "Hash": "fp-split-inputstr", "Direction": "input", "Side": "left-top", "Label": "InputString" },
81
+ { "Hash": "fp-split-token", "Direction": "output", "Side": "right-bottom", "Label": "TokenDataSent" },
82
+ { "Hash": "fp-split-alldone", "Direction": "output", "Side": "right-bottom", "Label": "CompletedAllSubtasks" },
83
+ { "Hash": "fp-split-currenttoken", "Direction": "output", "Side": "right-top", "Label": "CurrentToken" },
84
+ { "Hash": "fp-split-so-TokenIndex", "Direction": "output", "Side": "right-top", "Label": "TokenIndex" },
85
+ { "Hash": "fp-split-so-TokenCount", "Direction": "output", "Side": "right-top", "Label": "TokenCount" },
86
+ { "Hash": "fp-split-so-CompletedCount", "Direction": "output", "Side": "right-top", "Label": "CompletedCount" }
87
+ ],
88
+ "Data": {"InputString": "{~D:Record.TaskOutput.fp-read.FileContent~}", "SplitDelimiter": "\n"}
89
+ },
90
+ {
91
+ "Hash": "fp-replace",
92
+ "Type": "replace-string",
93
+ "X": 1230,
94
+ "Y": 160,
95
+ "Width": 220,
96
+ "Height": 100,
97
+ "Title": "Replace John with Jane",
98
+ "Ports": [
99
+ { "Hash": "fp-replace-in", "Direction": "input", "Side": "left-bottom", "Label": "Replace" },
100
+ { "Hash": "fp-replace-inputstr", "Direction": "input", "Side": "left-top", "Label": "InputString" },
101
+ { "Hash": "fp-replace-done", "Direction": "output", "Side": "right-bottom", "Label": "ReplaceComplete" },
102
+ { "Hash": "fp-replace-result", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
103
+ ],
104
+ "Data": {"InputString": "{~D:Record.TaskOutput.fp-split.CurrentToken~}", "SearchString": "John", "ReplaceString": "Jane"}
105
+ },
106
+ {
107
+ "Hash": "fp-append",
108
+ "Type": "string-appender",
109
+ "X": 1540,
110
+ "Y": 160,
111
+ "Width": 220,
112
+ "Height": 100,
113
+ "Title": "Append Line",
114
+ "Ports": [
115
+ { "Hash": "fp-append-in", "Direction": "input", "Side": "left-bottom", "Label": "Append" },
116
+ { "Hash": "fp-append-inputstr", "Direction": "input", "Side": "left-top", "Label": "InputString" },
117
+ { "Hash": "fp-append-done", "Direction": "output", "Side": "right-bottom", "Label": "Completed" },
118
+ { "Hash": "fp-append-so-AppendedString", "Direction": "output", "Side": "right-top", "Label": "AppendedString" }
119
+ ],
120
+ "Data": {"InputString": "{~D:Record.TaskOutput.fp-replace.ReplacedString~}", "OutputAddress": "Operation.OutputFileContents", "AppendNewline": true}
121
+ },
122
+ {
123
+ "Hash": "fp-write",
124
+ "Type": "write-file",
125
+ "X": 1230,
126
+ "Y": 420,
127
+ "Width": 220,
128
+ "Height": 80,
129
+ "Title": "Save File",
130
+ "Ports": [
131
+ { "Hash": "fp-write-begin", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
132
+ { "Hash": "fp-write-done", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
133
+ { "Hash": "fp-write-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
134
+ { "Hash": "fp-write-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
135
+ { "Hash": "fp-write-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
136
+ ],
137
+ "Data": {"FilePath": "{~D:Record.Operation.InputFilePath~}.ultracopy", "Content": "{~D:Record.Operation.OutputFileContents~}", "Encoding": "utf8"}
138
+ },
139
+ {
140
+ "Hash": "fp-end",
141
+ "Type": "end",
142
+ "X": 1540,
143
+ "Y": 420,
144
+ "Width": 140,
145
+ "Height": 80,
146
+ "Title": "End",
147
+ "Ports": [
148
+ { "Hash": "fp-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
149
+ ],
150
+ "Data": {}
151
+ }
152
+ ],
153
+ "Connections": [
154
+ { "Hash": "fp-ev1", "SourceNodeHash": "fp-start", "SourcePortHash": "fp-start-out", "TargetNodeHash": "fp-input", "TargetPortHash": "fp-input-req", "Data": {} },
155
+ { "Hash": "fp-ev2", "SourceNodeHash": "fp-input", "SourcePortHash": "fp-input-done", "TargetNodeHash": "fp-read", "TargetPortHash": "fp-read-begin", "Data": {} },
156
+ { "Hash": "fp-ev3", "SourceNodeHash": "fp-read", "SourcePortHash": "fp-read-done", "TargetNodeHash": "fp-split", "TargetPortHash": "fp-split-begin", "Data": {} },
157
+ { "Hash": "fp-ev4", "SourceNodeHash": "fp-read", "SourcePortHash": "fp-read-err", "TargetNodeHash": "fp-error", "TargetPortHash": "fp-error-in", "Data": {} },
158
+ { "Hash": "fp-ev5", "SourceNodeHash": "fp-error", "SourcePortHash": "fp-error-done", "TargetNodeHash": "fp-end", "TargetPortHash": "fp-end-in", "Data": {} },
159
+ { "Hash": "fp-ev6", "SourceNodeHash": "fp-split", "SourcePortHash": "fp-split-token", "TargetNodeHash": "fp-replace", "TargetPortHash": "fp-replace-in", "Data": {} },
160
+ { "Hash": "fp-ev7", "SourceNodeHash": "fp-replace", "SourcePortHash": "fp-replace-done", "TargetNodeHash": "fp-append", "TargetPortHash": "fp-append-in", "Data": {} },
161
+ { "Hash": "fp-ev8", "SourceNodeHash": "fp-append", "SourcePortHash": "fp-append-done", "TargetNodeHash": "fp-split", "TargetPortHash": "fp-split-step", "Data": {} },
162
+ { "Hash": "fp-ev9", "SourceNodeHash": "fp-split", "SourcePortHash": "fp-split-alldone", "TargetNodeHash": "fp-write", "TargetPortHash": "fp-write-begin", "Data": {} },
163
+ { "Hash": "fp-ev10", "SourceNodeHash": "fp-write", "SourcePortHash": "fp-write-done", "TargetNodeHash": "fp-end", "TargetPortHash": "fp-end-in", "Data": {} },
164
+ { "Hash": "fp-st1", "SourceNodeHash": "fp-input", "SourcePortHash": "fp-input-filepath", "TargetNodeHash": "fp-read", "TargetPortHash": "fp-read-filepath", "Data": {} },
165
+ { "Hash": "fp-st2", "SourceNodeHash": "fp-read", "SourcePortHash": "fp-read-content", "TargetNodeHash": "fp-split", "TargetPortHash": "fp-split-inputstr", "Data": {} },
166
+ { "Hash": "fp-st3", "SourceNodeHash": "fp-replace", "SourcePortHash": "fp-replace-result", "TargetNodeHash": "fp-append", "TargetPortHash": "fp-append-inputstr", "Data": {} },
167
+ { "Hash": "fp-st4", "SourceNodeHash": "fp-split", "SourcePortHash": "fp-split-currenttoken", "TargetNodeHash": "fp-replace", "TargetPortHash": "fp-replace-inputstr", "Data": {} },
168
+ { "Hash": "fp-sc5", "SourceNodeHash": "fp-append", "SourcePortHash": "fp-append-so-AppendedString", "TargetNodeHash": "fp-write", "TargetPortHash": "fp-write-si-Content", "Data": {} }
169
+ ],
170
+ "ViewState": {"PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null}
171
+ },
172
+ "SavedLayouts": [],
173
+ "InitialGlobalState": {},
174
+ "InitialOperationState": {}
175
+ }
@@ -0,0 +1,368 @@
1
+ {
2
+ "Name": "Git Status Report",
3
+ "Description": "Runs git commands to gather repository status, branch info, and recent log, then assembles a report. Demonstrates chaining multiple command nodes with template assembly.",
4
+ "Tags": [
5
+ "command",
6
+ "git",
7
+ "reporting"
8
+ ],
9
+ "Author": "Ultravisor",
10
+ "Version": "1.0.0",
11
+ "Graph": {
12
+ "Nodes": [
13
+ {
14
+ "Hash": "gs-start",
15
+ "Type": "start",
16
+ "X": 50,
17
+ "Y": 200,
18
+ "Width": 140,
19
+ "Height": 80,
20
+ "Title": "Start",
21
+ "Ports": [
22
+ {
23
+ "Hash": "gs-start-out",
24
+ "Direction": "output",
25
+ "Side": "right-bottom",
26
+ "Label": "Out"
27
+ }
28
+ ],
29
+ "Data": {}
30
+ },
31
+ {
32
+ "Hash": "gs-branch",
33
+ "Type": "command",
34
+ "X": 260,
35
+ "Y": 180,
36
+ "Width": 200,
37
+ "Height": 120,
38
+ "Title": "Get Branch",
39
+ "Ports": [
40
+ {
41
+ "Hash": "gs-br-in",
42
+ "Direction": "input",
43
+ "Side": "left-bottom",
44
+ "Label": "Trigger"
45
+ },
46
+ {
47
+ "Hash": "gs-br-done",
48
+ "Direction": "output",
49
+ "Side": "right-bottom",
50
+ "Label": "Complete"
51
+ },
52
+ {
53
+ "Hash": "gs-br-err",
54
+ "Direction": "output",
55
+ "Side": "bottom",
56
+ "Label": "Error"
57
+ },
58
+ {
59
+ "Hash": "gs-br-so-StdOut",
60
+ "Direction": "output",
61
+ "Side": "right-top",
62
+ "Label": "StdOut"
63
+ },
64
+ {
65
+ "Hash": "gs-br-so-ExitCode",
66
+ "Direction": "output",
67
+ "Side": "right-top",
68
+ "Label": "ExitCode"
69
+ }
70
+ ],
71
+ "Data": {
72
+ "Command": "git",
73
+ "Parameters": "rev-parse --abbrev-ref HEAD",
74
+ "Description": "Get current git branch"
75
+ }
76
+ },
77
+ {
78
+ "Hash": "gs-status",
79
+ "Type": "command",
80
+ "X": 530,
81
+ "Y": 180,
82
+ "Width": 200,
83
+ "Height": 120,
84
+ "Title": "Get Status",
85
+ "Ports": [
86
+ {
87
+ "Hash": "gs-st-in",
88
+ "Direction": "input",
89
+ "Side": "left-bottom",
90
+ "Label": "Trigger"
91
+ },
92
+ {
93
+ "Hash": "gs-st-done",
94
+ "Direction": "output",
95
+ "Side": "right-bottom",
96
+ "Label": "Complete"
97
+ },
98
+ {
99
+ "Hash": "gs-st-err",
100
+ "Direction": "output",
101
+ "Side": "bottom",
102
+ "Label": "Error"
103
+ },
104
+ {
105
+ "Hash": "gs-st-so-StdOut",
106
+ "Direction": "output",
107
+ "Side": "right-top",
108
+ "Label": "StdOut"
109
+ },
110
+ {
111
+ "Hash": "gs-st-so-ExitCode",
112
+ "Direction": "output",
113
+ "Side": "right-top",
114
+ "Label": "ExitCode"
115
+ }
116
+ ],
117
+ "Data": {
118
+ "Command": "git",
119
+ "Parameters": "status --short",
120
+ "Description": "Get git status summary"
121
+ }
122
+ },
123
+ {
124
+ "Hash": "gs-log",
125
+ "Type": "command",
126
+ "X": 800,
127
+ "Y": 180,
128
+ "Width": 200,
129
+ "Height": 120,
130
+ "Title": "Recent Commits",
131
+ "Ports": [
132
+ {
133
+ "Hash": "gs-lg-in",
134
+ "Direction": "input",
135
+ "Side": "left-bottom",
136
+ "Label": "Trigger"
137
+ },
138
+ {
139
+ "Hash": "gs-lg-done",
140
+ "Direction": "output",
141
+ "Side": "right-bottom",
142
+ "Label": "Complete"
143
+ },
144
+ {
145
+ "Hash": "gs-lg-err",
146
+ "Direction": "output",
147
+ "Side": "bottom",
148
+ "Label": "Error"
149
+ },
150
+ {
151
+ "Hash": "gs-lg-so-StdOut",
152
+ "Direction": "output",
153
+ "Side": "right-top",
154
+ "Label": "StdOut"
155
+ },
156
+ {
157
+ "Hash": "gs-lg-so-ExitCode",
158
+ "Direction": "output",
159
+ "Side": "right-top",
160
+ "Label": "ExitCode"
161
+ }
162
+ ],
163
+ "Data": {
164
+ "Command": "git",
165
+ "Parameters": "log --oneline -5",
166
+ "Description": "Get last 5 commits"
167
+ }
168
+ },
169
+ {
170
+ "Hash": "gs-report",
171
+ "Type": "template-string",
172
+ "X": 1070,
173
+ "Y": 180,
174
+ "Width": 240,
175
+ "Height": 100,
176
+ "Title": "Build Report",
177
+ "Ports": [
178
+ {
179
+ "Hash": "gs-rpt-in",
180
+ "Direction": "input",
181
+ "Side": "left-bottom",
182
+ "Label": "In"
183
+ },
184
+ {
185
+ "Hash": "gs-rpt-done",
186
+ "Direction": "output",
187
+ "Side": "right-bottom",
188
+ "Label": "Complete"
189
+ },
190
+ {
191
+ "Hash": "gs-rpt-so-Result",
192
+ "Direction": "output",
193
+ "Side": "right-top",
194
+ "Label": "Result"
195
+ }
196
+ ],
197
+ "Data": {
198
+ "Template": "=== Git Status Report ===\n\nBranch: {~D:Record.TaskOutput.gs-branch.StdOut~}\n\nModified Files:\n{~D:Record.TaskOutput.gs-status.StdOut~}\n\nRecent Commits:\n{~D:Record.TaskOutput.gs-log.StdOut~}\n",
199
+ "Destination": "Operation.Report"
200
+ }
201
+ },
202
+ {
203
+ "Hash": "gs-write",
204
+ "Type": "write-file",
205
+ "X": 1380,
206
+ "Y": 180,
207
+ "Width": 200,
208
+ "Height": 120,
209
+ "Title": "Save Report",
210
+ "Ports": [
211
+ {
212
+ "Hash": "gs-wr-in",
213
+ "Direction": "input",
214
+ "Side": "left-bottom",
215
+ "Label": "BeginWrite"
216
+ },
217
+ {
218
+ "Hash": "gs-wr-done",
219
+ "Direction": "output",
220
+ "Side": "right-bottom",
221
+ "Label": "WriteComplete"
222
+ },
223
+ {
224
+ "Hash": "gs-wr-err",
225
+ "Direction": "output",
226
+ "Side": "bottom",
227
+ "Label": "Error"
228
+ },
229
+ {
230
+ "Hash": "gs-wr-si-Content",
231
+ "Direction": "input",
232
+ "Side": "left-top",
233
+ "Label": "Content"
234
+ },
235
+ {
236
+ "Hash": "gs-wr-so-BytesWritten",
237
+ "Direction": "output",
238
+ "Side": "right-top",
239
+ "Label": "BytesWritten"
240
+ }
241
+ ],
242
+ "Data": {
243
+ "FilePath": "git-status-report.txt",
244
+ "Content": "{~D:Record.Operation.Report~}",
245
+ "Encoding": "utf8"
246
+ }
247
+ },
248
+ {
249
+ "Hash": "gs-end",
250
+ "Type": "end",
251
+ "X": 1650,
252
+ "Y": 260,
253
+ "Width": 140,
254
+ "Height": 80,
255
+ "Title": "End",
256
+ "Ports": [
257
+ {
258
+ "Hash": "gs-end-in",
259
+ "Direction": "input",
260
+ "Side": "left-bottom",
261
+ "Label": "In"
262
+ }
263
+ ],
264
+ "Data": {}
265
+ }
266
+ ],
267
+ "Connections": [
268
+ {
269
+ "Hash": "gs-c1",
270
+ "SourceNodeHash": "gs-start",
271
+ "SourcePortHash": "gs-start-out",
272
+ "TargetNodeHash": "gs-branch",
273
+ "TargetPortHash": "gs-br-in",
274
+ "Data": {}
275
+ },
276
+ {
277
+ "Hash": "gs-c2",
278
+ "SourceNodeHash": "gs-branch",
279
+ "SourcePortHash": "gs-br-done",
280
+ "TargetNodeHash": "gs-status",
281
+ "TargetPortHash": "gs-st-in",
282
+ "Data": {}
283
+ },
284
+ {
285
+ "Hash": "gs-c3",
286
+ "SourceNodeHash": "gs-status",
287
+ "SourcePortHash": "gs-st-done",
288
+ "TargetNodeHash": "gs-log",
289
+ "TargetPortHash": "gs-lg-in",
290
+ "Data": {}
291
+ },
292
+ {
293
+ "Hash": "gs-c4",
294
+ "SourceNodeHash": "gs-log",
295
+ "SourcePortHash": "gs-lg-done",
296
+ "TargetNodeHash": "gs-report",
297
+ "TargetPortHash": "gs-rpt-in",
298
+ "Data": {}
299
+ },
300
+ {
301
+ "Hash": "gs-c5",
302
+ "SourceNodeHash": "gs-report",
303
+ "SourcePortHash": "gs-rpt-done",
304
+ "TargetNodeHash": "gs-write",
305
+ "TargetPortHash": "gs-wr-in",
306
+ "Data": {}
307
+ },
308
+ {
309
+ "Hash": "gs-c6",
310
+ "SourceNodeHash": "gs-write",
311
+ "SourcePortHash": "gs-wr-done",
312
+ "TargetNodeHash": "gs-end",
313
+ "TargetPortHash": "gs-end-in",
314
+ "Data": {}
315
+ },
316
+ {
317
+ "Hash": "gs-c7",
318
+ "SourceNodeHash": "gs-branch",
319
+ "SourcePortHash": "gs-br-err",
320
+ "TargetNodeHash": "gs-end",
321
+ "TargetPortHash": "gs-end-in",
322
+ "Data": {}
323
+ },
324
+ {
325
+ "Hash": "gs-c8",
326
+ "SourceNodeHash": "gs-status",
327
+ "SourcePortHash": "gs-st-err",
328
+ "TargetNodeHash": "gs-end",
329
+ "TargetPortHash": "gs-end-in",
330
+ "Data": {}
331
+ },
332
+ {
333
+ "Hash": "gs-c9",
334
+ "SourceNodeHash": "gs-log",
335
+ "SourcePortHash": "gs-lg-err",
336
+ "TargetNodeHash": "gs-end",
337
+ "TargetPortHash": "gs-end-in",
338
+ "Data": {}
339
+ },
340
+ {
341
+ "Hash": "gs-c10",
342
+ "SourceNodeHash": "gs-write",
343
+ "SourcePortHash": "gs-wr-err",
344
+ "TargetNodeHash": "gs-end",
345
+ "TargetPortHash": "gs-end-in",
346
+ "Data": {}
347
+ },
348
+ {
349
+ "Hash": "gs-sc1",
350
+ "SourceNodeHash": "gs-report",
351
+ "SourcePortHash": "gs-rpt-so-Result",
352
+ "TargetNodeHash": "gs-write",
353
+ "TargetPortHash": "gs-wr-si-Content",
354
+ "Data": {}
355
+ }
356
+ ],
357
+ "ViewState": {
358
+ "PanX": 0,
359
+ "PanY": 0,
360
+ "Zoom": 1,
361
+ "SelectedNodeHash": null,
362
+ "SelectedConnectionHash": null
363
+ }
364
+ },
365
+ "SavedLayouts": [],
366
+ "InitialGlobalState": {},
367
+ "InitialOperationState": {}
368
+ }