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.
- package/.claude/launch.json +11 -0
- package/.claude/ultravisor-dev-config.json +3 -0
- package/card-audit.json +1545 -0
- package/docs/_sidebar.md +17 -0
- package/docs/css/docuserve.css +73 -0
- package/docs/features/beacon-authentication.md +209 -0
- package/docs/features/beacon-providers.md +1299 -0
- package/docs/features/beacons.md +530 -0
- package/docs/features/capabilities.md +193 -0
- package/docs/features/llm-model-setup.md +505 -0
- package/docs/features/llm.md +262 -0
- package/docs/features/tasks-content-system.md +110 -0
- package/docs/features/tasks-data-transform.md +233 -0
- package/docs/features/tasks-extension.md +36 -0
- package/docs/features/tasks-file-system.md +203 -0
- package/docs/features/tasks-flow-control.md +125 -0
- package/docs/features/tasks-http-client.md +119 -0
- package/docs/features/tasks-llm.md +118 -0
- package/docs/features/tasks-meadow-api.md +163 -0
- package/docs/features/tasks-user-interaction.md +49 -0
- package/docs/features/tasks.md +14 -0
- package/docs/index.html +1 -1
- package/docs/retold-catalog.json +1 -1
- package/docs/retold-keyword-index.json +17374 -5
- package/operation-library/api-data-pipeline.json +143 -0
- package/operation-library/beacon-remote-command.json +72 -0
- package/operation-library/conditional-file-backup.json +143 -0
- package/operation-library/config-processor.json +136 -0
- package/operation-library/csv-data-analysis.json +228 -0
- package/operation-library/csv-to-json.json +160 -0
- package/operation-library/directory-inventory.json +128 -0
- package/operation-library/expression-calculator.json +114 -0
- package/operation-library/file-search-replace.json +175 -0
- package/operation-library/git-status-report.json +368 -0
- package/operation-library/health-check-ping.json +329 -0
- package/operation-library/json-config-merge.json +313 -0
- package/operation-library/llm-embedding-tool-use.json +314 -0
- package/operation-library/llm-multi-turn-analysis.json +322 -0
- package/operation-library/llm-summarize.json +264 -0
- package/operation-library/log-line-counter.json +185 -0
- package/operation-library/meadow-crud-lifecycle.json +264 -0
- package/operation-library/npm-project-validator.json +193 -0
- package/operation-library/rest-api-orchestrator.json +218 -0
- package/operation-library/shell-system-info.json +137 -0
- package/operation-library/simple-echo.json +95 -0
- package/operation-library/template-processor.json +299 -0
- package/operation-library/text-sanitizer.json +176 -0
- package/package.json +12 -8
- package/source/Ultravisor.cjs +30 -3
- package/source/beacon/Ultravisor-Beacon-CLI.cjs +143 -0
- package/source/beacon/Ultravisor-Beacon-CapabilityProvider.cjs +129 -0
- package/source/beacon/Ultravisor-Beacon-Client.cjs +568 -0
- package/source/beacon/Ultravisor-Beacon-Executor.cjs +500 -0
- package/source/beacon/Ultravisor-Beacon-ProviderRegistry.cjs +330 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-FileSystem.cjs +331 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-LLM.cjs +966 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-Shell.cjs +95 -0
- package/source/cli/Ultravisor-CLIProgram.cjs +44 -22
- package/source/cli/commands/Ultravisor-Command-SingleOperation.cjs +29 -18
- package/source/cli/commands/Ultravisor-Command-SingleTask.cjs +62 -19
- package/source/cli/commands/Ultravisor-Command-UpdateTask.cjs +27 -15
- package/source/config/Ultravisor-Default-Command-Configuration.cjs +12 -3
- package/source/services/Ultravisor-Beacon-Coordinator.cjs +966 -0
- package/source/services/Ultravisor-ExecutionEngine.cjs +1093 -0
- package/source/services/Ultravisor-ExecutionManifest.cjs +629 -0
- package/source/services/Ultravisor-Hypervisor-State.cjs +270 -97
- package/source/services/Ultravisor-Hypervisor.cjs +185 -75
- package/source/services/Ultravisor-Schedule-Persistence-Base.cjs +45 -0
- package/source/services/Ultravisor-StateManager.cjs +253 -0
- package/source/services/Ultravisor-TaskTypeRegistry.cjs +213 -0
- package/source/services/persistence/Ultravisor-Schedule-Persistence-JSONFile.cjs +140 -0
- package/source/services/tasks/Ultravisor-BuiltIn-TaskConfigs.cjs +19 -0
- package/source/services/tasks/Ultravisor-TaskHelper-BeaconDispatch.cjs +107 -0
- package/source/services/tasks/Ultravisor-TaskType-Base.cjs +125 -0
- package/source/services/tasks/content-system/Ultravisor-TaskConfigs-ContentSystem.cjs +90 -0
- package/source/services/tasks/content-system/definitions/content-create-folder.json +24 -0
- package/source/services/tasks/content-system/definitions/content-list-files.json +27 -0
- package/source/services/tasks/content-system/definitions/content-read-file.json +26 -0
- package/source/services/tasks/content-system/definitions/content-save-file.json +26 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskConfigs-DataTransform.cjs +577 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-ReplaceString.cjs +80 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-SetValues.cjs +74 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-StringAppender.cjs +90 -0
- package/source/services/tasks/data-transform/definitions/comprehension-intersect.json +24 -0
- package/source/services/tasks/data-transform/definitions/csv-transform.json +24 -0
- package/source/services/tasks/data-transform/definitions/expression-solver.json +20 -0
- package/source/services/tasks/data-transform/definitions/histogram.json +23 -0
- package/source/services/tasks/data-transform/definitions/parse-csv.json +27 -0
- package/source/services/tasks/data-transform/definitions/replace-string.json +27 -0
- package/source/services/tasks/data-transform/definitions/set-values.json +17 -0
- package/source/services/tasks/data-transform/definitions/string-appender.json +22 -0
- package/source/services/tasks/data-transform/definitions/template-string.json +20 -0
- package/source/services/tasks/extension/Ultravisor-TaskConfigs-Extension.cjs +87 -0
- package/source/services/tasks/extension/definitions/beacon-dispatch.json +32 -0
- package/source/services/tasks/file-system/Ultravisor-TaskConfigs-FileSystem.cjs +509 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFile.cjs +96 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFileBuffered.cjs +123 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-WriteFile.cjs +106 -0
- package/source/services/tasks/file-system/definitions/copy-file.json +27 -0
- package/source/services/tasks/file-system/definitions/list-files.json +27 -0
- package/source/services/tasks/file-system/definitions/read-file-buffered.json +31 -0
- package/source/services/tasks/file-system/definitions/read-file.json +26 -0
- package/source/services/tasks/file-system/definitions/read-json.json +23 -0
- package/source/services/tasks/file-system/definitions/write-file.json +29 -0
- package/source/services/tasks/file-system/definitions/write-json.json +30 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskConfigs-FlowControl.cjs +353 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-IfConditional.cjs +125 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-LaunchOperation.cjs +186 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-SplitExecute.cjs +164 -0
- package/source/services/tasks/flow-control/definitions/if-conditional.json +25 -0
- package/source/services/tasks/flow-control/definitions/launch-operation.json +27 -0
- package/source/services/tasks/flow-control/definitions/split-execute.json +32 -0
- package/source/services/tasks/http-client/Ultravisor-TaskConfigs-HttpClient.cjs +281 -0
- package/source/services/tasks/http-client/definitions/get-json.json +26 -0
- package/source/services/tasks/http-client/definitions/get-text.json +26 -0
- package/source/services/tasks/http-client/definitions/rest-request.json +32 -0
- package/source/services/tasks/http-client/definitions/send-json.json +28 -0
- package/source/services/tasks/llm/Ultravisor-TaskConfigs-LLM.cjs +605 -0
- package/source/services/tasks/llm/definitions/llm-chat-completion.json +46 -0
- package/source/services/tasks/llm/definitions/llm-embedding.json +31 -0
- package/source/services/tasks/llm/definitions/llm-tool-use.json +42 -0
- package/source/services/tasks/meadow-api/Ultravisor-TaskConfigs-MeadowApi.cjs +341 -0
- package/source/services/tasks/meadow-api/definitions/meadow-count.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-create.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-delete.json +23 -0
- package/source/services/tasks/meadow-api/definitions/meadow-read.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-reads.json +29 -0
- package/source/services/tasks/meadow-api/definitions/meadow-update.json +26 -0
- package/source/services/tasks/shell/Ultravisor-TaskConfigs-Shell.cjs +63 -0
- package/source/services/tasks/shell/definitions/command.json +29 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskConfigs-UserInteraction.cjs +64 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskType-ErrorMessage.cjs +55 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskType-ValueInput.cjs +47 -0
- package/source/services/tasks/user-interaction/definitions/error-message.json +18 -0
- package/source/services/tasks/user-interaction/definitions/value-input.json +23 -0
- package/source/web_server/Ultravisor-API-Server.cjs +849 -124
- package/test/Ultravisor_browser_tests.js +2226 -0
- package/test/Ultravisor_operation_library_tests.js +894 -0
- package/test/Ultravisor_tests.js +4946 -5044
- package/test/workflows/test-content-concatenate-all.json +339 -0
- package/test/workflows/test-content-full-pipeline.json +159 -0
- package/test/workflows/test-content-list-files.json +76 -0
- package/test/workflows/test-content-save-and-read.json +106 -0
- package/webinterface/css/ultravisor-themes.css +668 -0
- package/webinterface/css/ultravisor.css +37 -14
- package/webinterface/docs/card-help/beacon-dispatch.md +30 -0
- package/webinterface/docs/card-help/command.md +27 -0
- package/webinterface/docs/card-help/comprehension-intersect.md +24 -0
- package/webinterface/docs/card-help/content-create-folder.md +22 -0
- package/webinterface/docs/card-help/content-list-files.md +25 -0
- package/webinterface/docs/card-help/content-read-file.md +24 -0
- package/webinterface/docs/card-help/content-save-file.md +24 -0
- package/webinterface/docs/card-help/copy-file.md +25 -0
- package/webinterface/docs/card-help/csv-transform.md +24 -0
- package/webinterface/docs/card-help/end.md +11 -0
- package/webinterface/docs/card-help/error-message.md +16 -0
- package/webinterface/docs/card-help/expression-solver.md +21 -0
- package/webinterface/docs/card-help/get-json.md +24 -0
- package/webinterface/docs/card-help/get-text.md +24 -0
- package/webinterface/docs/card-help/histogram.md +23 -0
- package/webinterface/docs/card-help/if-conditional.md +23 -0
- package/webinterface/docs/card-help/launch-operation.md +25 -0
- package/webinterface/docs/card-help/list-files.md +25 -0
- package/webinterface/docs/card-help/llm-chat-completion.md +43 -0
- package/webinterface/docs/card-help/llm-embedding.md +24 -0
- package/webinterface/docs/card-help/llm-tool-use.md +39 -0
- package/webinterface/docs/card-help/meadow-count.md +24 -0
- package/webinterface/docs/card-help/meadow-create.md +24 -0
- package/webinterface/docs/card-help/meadow-delete.md +19 -0
- package/webinterface/docs/card-help/meadow-read.md +24 -0
- package/webinterface/docs/card-help/meadow-reads.md +27 -0
- package/webinterface/docs/card-help/meadow-update.md +24 -0
- package/webinterface/docs/card-help/parse-csv.md +27 -0
- package/webinterface/docs/card-help/read-file-buffered.md +29 -0
- package/webinterface/docs/card-help/read-file.md +24 -0
- package/webinterface/docs/card-help/read-json.md +21 -0
- package/webinterface/docs/card-help/replace-string.md +25 -0
- package/webinterface/docs/card-help/rest-request.md +30 -0
- package/webinterface/docs/card-help/send-json.md +26 -0
- package/webinterface/docs/card-help/set-values.md +16 -0
- package/webinterface/docs/card-help/split-execute.md +35 -0
- package/webinterface/docs/card-help/start.md +11 -0
- package/webinterface/docs/card-help/string-appender.md +22 -0
- package/webinterface/docs/card-help/template-string.md +21 -0
- package/webinterface/docs/card-help/value-input.md +24 -0
- package/webinterface/docs/card-help/write-file.md +27 -0
- package/webinterface/docs/card-help/write-json.md +28 -0
- package/webinterface/html/index.html +5 -0
- package/webinterface/package.json +13 -4
- package/webinterface/source/Pict-Application-Ultravisor.js +564 -70
- package/webinterface/source/Ultravisor-TimingUtils.js +99 -0
- package/webinterface/source/card-help-content.js +46 -0
- package/webinterface/source/cards/Ultravisor-BuiltIn-CardConfigs.js +174 -0
- package/webinterface/source/cards/Ultravisor-CardConfigGenerator.js +431 -0
- package/webinterface/source/data/ExampleFlow-CSVPipeline.js +231 -0
- package/webinterface/source/data/ExampleFlow-FileProcessor.js +315 -0
- package/webinterface/source/data/ExampleFlow-MeadowPipeline.js +328 -0
- package/webinterface/source/panels/Ultravisor-CardSettingsPanel.js +902 -0
- package/webinterface/source/providers/PictRouter-Ultravisor-Configuration.json +20 -8
- package/webinterface/source/views/PictView-Ultravisor-BeaconList.js +817 -0
- package/webinterface/source/views/PictView-Ultravisor-BottomBar.js +5 -5
- package/webinterface/source/views/PictView-Ultravisor-Dashboard.js +25 -25
- package/webinterface/source/views/PictView-Ultravisor-Documentation.js +856 -0
- package/webinterface/source/views/PictView-Ultravisor-FlowEditor.js +777 -0
- package/webinterface/source/views/PictView-Ultravisor-ManifestList.js +321 -58
- package/webinterface/source/views/PictView-Ultravisor-OperationEdit.js +36 -91
- package/webinterface/source/views/PictView-Ultravisor-OperationList.js +388 -16
- package/webinterface/source/views/PictView-Ultravisor-PendingInput.js +314 -0
- package/webinterface/source/views/PictView-Ultravisor-Schedule.js +521 -65
- package/webinterface/source/views/PictView-Ultravisor-TimingView.js +333 -71
- package/webinterface/source/views/PictView-Ultravisor-TopBar.js +257 -21
- package/webinterface/theme-sampler.html +645 -0
- package/debug/Harness.js +0 -6
- package/source/services/Ultravisor-Operation-Manifest.cjs +0 -160
- package/source/services/Ultravisor-Operation.cjs +0 -200
- package/source/services/Ultravisor-Task.cjs +0 -349
- package/source/services/events/Ultravisor-Hypervisor-Event-Solver.cjs +0 -11
- package/source/services/tasks/Ultravisor-Task-Base.cjs +0 -264
- package/source/services/tasks/Ultravisor-Task-CollectValues.cjs +0 -188
- package/source/services/tasks/Ultravisor-Task-Command.cjs +0 -65
- package/source/services/tasks/Ultravisor-Task-CommandEach.cjs +0 -190
- package/source/services/tasks/Ultravisor-Task-Conditional.cjs +0 -104
- package/source/services/tasks/Ultravisor-Task-DateWindow.cjs +0 -72
- package/source/services/tasks/Ultravisor-Task-GeneratePagedOperation.cjs +0 -336
- package/source/services/tasks/Ultravisor-Task-LaunchOperation.cjs +0 -143
- package/source/services/tasks/Ultravisor-Task-LaunchTask.cjs +0 -146
- package/source/services/tasks/Ultravisor-Task-LineMatch.cjs +0 -158
- package/source/services/tasks/Ultravisor-Task-Request.cjs +0 -56
- package/source/services/tasks/Ultravisor-Task-Solver.cjs +0 -89
- package/source/services/tasks/Ultravisor-Task-TemplateString.cjs +0 -93
- package/source/services/tasks/rest/Ultravisor-Task-GetBinary.cjs +0 -127
- package/source/services/tasks/rest/Ultravisor-Task-GetJSON.cjs +0 -119
- package/source/services/tasks/rest/Ultravisor-Task-GetText.cjs +0 -109
- package/source/services/tasks/rest/Ultravisor-Task-GetXML.cjs +0 -112
- package/source/services/tasks/rest/Ultravisor-Task-RestRequest.cjs +0 -499
- package/source/services/tasks/rest/Ultravisor-Task-SendJSON.cjs +0 -150
- package/source/services/tasks/stagingfiles/Ultravisor-Task-CopyFile.cjs +0 -110
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ListFiles.cjs +0 -89
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadBinary.cjs +0 -87
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadJSON.cjs +0 -67
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadText.cjs +0 -66
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadXML.cjs +0 -69
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteBinary.cjs +0 -95
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteJSON.cjs +0 -96
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteText.cjs +0 -99
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteXML.cjs +0 -102
- package/webinterface/source/views/PictView-Ultravisor-TaskEdit.js +0 -220
- package/webinterface/source/views/PictView-Ultravisor-TaskList.js +0 -248
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Template Processor",
|
|
3
|
+
"Description": "Multi-step text processing pipeline. Initializes project metadata, reads a template, performs chained string replacements, validates for unresolved placeholders, and writes the output. Demonstrates state management and conditional validation.",
|
|
4
|
+
"Tags": ["text-processing", "templates", "validation"],
|
|
5
|
+
"Author": "Ultravisor",
|
|
6
|
+
"Version": "1.0.0",
|
|
7
|
+
"Graph": {
|
|
8
|
+
"Nodes": [
|
|
9
|
+
{
|
|
10
|
+
"Hash": "tpl-start",
|
|
11
|
+
"Type": "start",
|
|
12
|
+
"X": 50,
|
|
13
|
+
"Y": 220,
|
|
14
|
+
"Width": 140,
|
|
15
|
+
"Height": 80,
|
|
16
|
+
"Title": "Start",
|
|
17
|
+
"Ports": [
|
|
18
|
+
{ "Hash": "tpl-start-out", "Direction": "output", "Side": "right", "Label": "Out" }
|
|
19
|
+
],
|
|
20
|
+
"Data": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"Hash": "tpl-setvals",
|
|
24
|
+
"Type": "set-values",
|
|
25
|
+
"X": 270,
|
|
26
|
+
"Y": 200,
|
|
27
|
+
"Width": 200,
|
|
28
|
+
"Height": 80,
|
|
29
|
+
"Title": "Set Project Info",
|
|
30
|
+
"Ports": [
|
|
31
|
+
{ "Hash": "tpl-sv-in", "Direction": "input", "Side": "left", "Label": "Execute" },
|
|
32
|
+
{ "Hash": "tpl-sv-out", "Direction": "output", "Side": "right", "Label": "Complete" }
|
|
33
|
+
],
|
|
34
|
+
"Data": {
|
|
35
|
+
"Mappings": [
|
|
36
|
+
{ "Address": "Operation.ProjectName", "Value": "Retold" },
|
|
37
|
+
{ "Address": "Operation.Version", "Value": "3.0.0" },
|
|
38
|
+
{ "Address": "Operation.Author", "Value": "Steven Velozo" }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Hash": "tpl-read",
|
|
44
|
+
"Type": "read-file",
|
|
45
|
+
"X": 550,
|
|
46
|
+
"Y": 200,
|
|
47
|
+
"Width": 200,
|
|
48
|
+
"Height": 120,
|
|
49
|
+
"Title": "Read Template",
|
|
50
|
+
"Ports": [
|
|
51
|
+
{ "Hash": "tpl-read-in", "Direction": "input", "Side": "left", "Label": "BeginRead" },
|
|
52
|
+
{ "Hash": "tpl-read-done", "Direction": "output", "Side": "right", "Label": "ReadComplete" },
|
|
53
|
+
{ "Hash": "tpl-read-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
54
|
+
{ "Hash": "tpl-read-so-FileContent", "Direction": "output", "Side": "right-top", "Label": "FileContent" },
|
|
55
|
+
{ "Hash": "tpl-read-so-BytesRead", "Direction": "output", "Side": "right-top", "Label": "BytesRead" }
|
|
56
|
+
],
|
|
57
|
+
"Data": { "FilePath": "readme.template.md", "Encoding": "utf8" }
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"Hash": "tpl-replace-name",
|
|
61
|
+
"Type": "replace-string",
|
|
62
|
+
"X": 830,
|
|
63
|
+
"Y": 180,
|
|
64
|
+
"Width": 220,
|
|
65
|
+
"Height": 120,
|
|
66
|
+
"Title": "Set Project Name",
|
|
67
|
+
"Ports": [
|
|
68
|
+
{ "Hash": "tpl-rn-in", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
69
|
+
{ "Hash": "tpl-rn-done", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
70
|
+
{ "Hash": "tpl-rn-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
71
|
+
{ "Hash": "tpl-rn-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
72
|
+
{ "Hash": "tpl-rn-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
73
|
+
],
|
|
74
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.tpl-read.FileContent~}", "SearchString": "${PROJECT_NAME}", "ReplaceString": "{~D:Record.Operation.ProjectName~}" }
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"Hash": "tpl-replace-ver",
|
|
78
|
+
"Type": "replace-string",
|
|
79
|
+
"X": 1130,
|
|
80
|
+
"Y": 180,
|
|
81
|
+
"Width": 220,
|
|
82
|
+
"Height": 120,
|
|
83
|
+
"Title": "Set Version",
|
|
84
|
+
"Ports": [
|
|
85
|
+
{ "Hash": "tpl-rv-in", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
86
|
+
{ "Hash": "tpl-rv-done", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
87
|
+
{ "Hash": "tpl-rv-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
88
|
+
{ "Hash": "tpl-rv-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
89
|
+
{ "Hash": "tpl-rv-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
90
|
+
],
|
|
91
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.tpl-replace-name.ReplacedString~}", "SearchString": "${VERSION}", "ReplaceString": "{~D:Record.Operation.Version~}" }
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"Hash": "tpl-validate",
|
|
95
|
+
"Type": "if-conditional",
|
|
96
|
+
"X": 1430,
|
|
97
|
+
"Y": 160,
|
|
98
|
+
"Width": 240,
|
|
99
|
+
"Height": 100,
|
|
100
|
+
"Title": "Unresolved Placeholders?",
|
|
101
|
+
"Ports": [
|
|
102
|
+
{ "Hash": "tpl-val-in", "Direction": "input", "Side": "left", "Label": "Evaluate" },
|
|
103
|
+
{ "Hash": "tpl-val-true", "Direction": "output", "Side": "bottom", "Label": "True" },
|
|
104
|
+
{ "Hash": "tpl-val-false", "Direction": "output", "Side": "right", "Label": "False" },
|
|
105
|
+
{ "Hash": "tpl-val-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
|
|
106
|
+
],
|
|
107
|
+
"Data": { "DataAddress": "TaskOutput.tpl-replace-ver.ReplacedString", "CompareValue": "${", "Operator": "contains" }
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"Hash": "tpl-warn",
|
|
111
|
+
"Type": "error-message",
|
|
112
|
+
"X": 1430,
|
|
113
|
+
"Y": 380,
|
|
114
|
+
"Width": 240,
|
|
115
|
+
"Height": 80,
|
|
116
|
+
"Title": "Warn: Unresolved",
|
|
117
|
+
"Ports": [
|
|
118
|
+
{ "Hash": "tpl-warn-in", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
119
|
+
{ "Hash": "tpl-warn-done", "Direction": "output", "Side": "right", "Label": "Complete" }
|
|
120
|
+
],
|
|
121
|
+
"Data": { "MessageTemplate": "Warning: Template still contains unresolved ${...} placeholders after processing" }
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"Hash": "tpl-header",
|
|
125
|
+
"Type": "string-appender",
|
|
126
|
+
"X": 1750,
|
|
127
|
+
"Y": 160,
|
|
128
|
+
"Width": 220,
|
|
129
|
+
"Height": 120,
|
|
130
|
+
"Title": "Add Header",
|
|
131
|
+
"Ports": [
|
|
132
|
+
{ "Hash": "tpl-hdr-in", "Direction": "input", "Side": "left", "Label": "Append" },
|
|
133
|
+
{ "Hash": "tpl-hdr-done", "Direction": "output", "Side": "right", "Label": "Completed" },
|
|
134
|
+
{ "Hash": "tpl-hdr-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
135
|
+
{ "Hash": "tpl-hdr-so-AppendedString", "Direction": "output", "Side": "right-top", "Label": "AppendedString" }
|
|
136
|
+
],
|
|
137
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.tpl-replace-ver.ReplacedString~}", "OutputAddress": "Operation.FinalContent" }
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"Hash": "tpl-write",
|
|
141
|
+
"Type": "write-file",
|
|
142
|
+
"X": 2050,
|
|
143
|
+
"Y": 160,
|
|
144
|
+
"Width": 200,
|
|
145
|
+
"Height": 120,
|
|
146
|
+
"Title": "Write Output",
|
|
147
|
+
"Ports": [
|
|
148
|
+
{ "Hash": "tpl-write-in", "Direction": "input", "Side": "left", "Label": "BeginWrite" },
|
|
149
|
+
{ "Hash": "tpl-write-done", "Direction": "output", "Side": "right", "Label": "WriteComplete" },
|
|
150
|
+
{ "Hash": "tpl-write-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
151
|
+
{ "Hash": "tpl-write-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
|
|
152
|
+
{ "Hash": "tpl-write-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
|
|
153
|
+
],
|
|
154
|
+
"Data": { "FilePath": "README.md", "Content": "{~D:Record.Operation.FinalContent~}", "Encoding": "utf8" }
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"Hash": "tpl-end",
|
|
158
|
+
"Type": "end",
|
|
159
|
+
"X": 2330,
|
|
160
|
+
"Y": 260,
|
|
161
|
+
"Width": 140,
|
|
162
|
+
"Height": 80,
|
|
163
|
+
"Title": "End",
|
|
164
|
+
"Ports": [
|
|
165
|
+
{ "Hash": "tpl-end-in", "Direction": "input", "Side": "left", "Label": "In" }
|
|
166
|
+
],
|
|
167
|
+
"Data": {}
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"Connections": [
|
|
171
|
+
{
|
|
172
|
+
"Hash": "tpl-c1",
|
|
173
|
+
"SourceNodeHash": "tpl-start",
|
|
174
|
+
"SourcePortHash": "tpl-start-out",
|
|
175
|
+
"TargetNodeHash": "tpl-setvals",
|
|
176
|
+
"TargetPortHash": "tpl-sv-in",
|
|
177
|
+
"Data": {}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"Hash": "tpl-c2",
|
|
181
|
+
"SourceNodeHash": "tpl-setvals",
|
|
182
|
+
"SourcePortHash": "tpl-sv-out",
|
|
183
|
+
"TargetNodeHash": "tpl-read",
|
|
184
|
+
"TargetPortHash": "tpl-read-in",
|
|
185
|
+
"Data": {}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"Hash": "tpl-c3",
|
|
189
|
+
"SourceNodeHash": "tpl-read",
|
|
190
|
+
"SourcePortHash": "tpl-read-done",
|
|
191
|
+
"TargetNodeHash": "tpl-replace-name",
|
|
192
|
+
"TargetPortHash": "tpl-rn-in",
|
|
193
|
+
"Data": {}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"Hash": "tpl-c4",
|
|
197
|
+
"SourceNodeHash": "tpl-replace-name",
|
|
198
|
+
"SourcePortHash": "tpl-rn-done",
|
|
199
|
+
"TargetNodeHash": "tpl-replace-ver",
|
|
200
|
+
"TargetPortHash": "tpl-rv-in",
|
|
201
|
+
"Data": {}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"Hash": "tpl-c5",
|
|
205
|
+
"SourceNodeHash": "tpl-replace-ver",
|
|
206
|
+
"SourcePortHash": "tpl-rv-done",
|
|
207
|
+
"TargetNodeHash": "tpl-validate",
|
|
208
|
+
"TargetPortHash": "tpl-val-in",
|
|
209
|
+
"Data": {}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"Hash": "tpl-c6",
|
|
213
|
+
"SourceNodeHash": "tpl-validate",
|
|
214
|
+
"SourcePortHash": "tpl-val-true",
|
|
215
|
+
"TargetNodeHash": "tpl-warn",
|
|
216
|
+
"TargetPortHash": "tpl-warn-in",
|
|
217
|
+
"Data": {}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"Hash": "tpl-c7",
|
|
221
|
+
"SourceNodeHash": "tpl-warn",
|
|
222
|
+
"SourcePortHash": "tpl-warn-done",
|
|
223
|
+
"TargetNodeHash": "tpl-end",
|
|
224
|
+
"TargetPortHash": "tpl-end-in",
|
|
225
|
+
"Data": {}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"Hash": "tpl-c8",
|
|
229
|
+
"SourceNodeHash": "tpl-validate",
|
|
230
|
+
"SourcePortHash": "tpl-val-false",
|
|
231
|
+
"TargetNodeHash": "tpl-header",
|
|
232
|
+
"TargetPortHash": "tpl-hdr-in",
|
|
233
|
+
"Data": {}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"Hash": "tpl-c9",
|
|
237
|
+
"SourceNodeHash": "tpl-header",
|
|
238
|
+
"SourcePortHash": "tpl-hdr-done",
|
|
239
|
+
"TargetNodeHash": "tpl-write",
|
|
240
|
+
"TargetPortHash": "tpl-write-in",
|
|
241
|
+
"Data": {}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"Hash": "tpl-c10",
|
|
245
|
+
"SourceNodeHash": "tpl-write",
|
|
246
|
+
"SourcePortHash": "tpl-write-done",
|
|
247
|
+
"TargetNodeHash": "tpl-end",
|
|
248
|
+
"TargetPortHash": "tpl-end-in",
|
|
249
|
+
"Data": {}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"Hash": "tpl-c11",
|
|
253
|
+
"SourceNodeHash": "tpl-read",
|
|
254
|
+
"SourcePortHash": "tpl-read-err",
|
|
255
|
+
"TargetNodeHash": "tpl-end",
|
|
256
|
+
"TargetPortHash": "tpl-end-in",
|
|
257
|
+
"Data": {}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"Hash": "tpl-c12",
|
|
261
|
+
"SourceNodeHash": "tpl-replace-name",
|
|
262
|
+
"SourcePortHash": "tpl-rn-err",
|
|
263
|
+
"TargetNodeHash": "tpl-end",
|
|
264
|
+
"TargetPortHash": "tpl-end-in",
|
|
265
|
+
"Data": {}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"Hash": "tpl-c13",
|
|
269
|
+
"SourceNodeHash": "tpl-replace-ver",
|
|
270
|
+
"SourcePortHash": "tpl-rv-err",
|
|
271
|
+
"TargetNodeHash": "tpl-end",
|
|
272
|
+
"TargetPortHash": "tpl-end-in",
|
|
273
|
+
"Data": {}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"Hash": "tpl-c14",
|
|
277
|
+
"SourceNodeHash": "tpl-write",
|
|
278
|
+
"SourcePortHash": "tpl-write-err",
|
|
279
|
+
"TargetNodeHash": "tpl-end",
|
|
280
|
+
"TargetPortHash": "tpl-end-in",
|
|
281
|
+
"Data": {}
|
|
282
|
+
},
|
|
283
|
+
{ "Hash": "tpl-sc1", "SourceNodeHash": "tpl-read", "SourcePortHash": "tpl-read-so-FileContent", "TargetNodeHash": "tpl-replace-name", "TargetPortHash": "tpl-rn-si-InputString", "Data": {} },
|
|
284
|
+
{ "Hash": "tpl-sc2", "SourceNodeHash": "tpl-replace-name", "SourcePortHash": "tpl-rn-so-ReplacedString", "TargetNodeHash": "tpl-replace-ver", "TargetPortHash": "tpl-rv-si-InputString", "Data": {} },
|
|
285
|
+
{ "Hash": "tpl-sc3", "SourceNodeHash": "tpl-replace-ver", "SourcePortHash": "tpl-rv-so-ReplacedString", "TargetNodeHash": "tpl-header", "TargetPortHash": "tpl-hdr-si-InputString", "Data": {} },
|
|
286
|
+
{ "Hash": "tpl-sc4", "SourceNodeHash": "tpl-header", "SourcePortHash": "tpl-hdr-so-AppendedString", "TargetNodeHash": "tpl-write", "TargetPortHash": "tpl-write-si-Content", "Data": {} }
|
|
287
|
+
],
|
|
288
|
+
"ViewState": {
|
|
289
|
+
"PanX": 0,
|
|
290
|
+
"PanY": 0,
|
|
291
|
+
"Zoom": 1,
|
|
292
|
+
"SelectedNodeHash": null,
|
|
293
|
+
"SelectedConnectionHash": null
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"SavedLayouts": [],
|
|
297
|
+
"InitialGlobalState": {},
|
|
298
|
+
"InitialOperationState": {}
|
|
299
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Text Sanitizer",
|
|
3
|
+
"Description": "Reads a text file and applies multiple replace-string passes to strip unwanted characters. Demonstrates chaining multiple replace-string nodes in sequence.",
|
|
4
|
+
"Tags": ["text-processing", "sanitization", "file-io"],
|
|
5
|
+
"Author": "Ultravisor",
|
|
6
|
+
"Version": "1.0.0",
|
|
7
|
+
"Graph": {
|
|
8
|
+
"Nodes": [
|
|
9
|
+
{
|
|
10
|
+
"Hash": "ts-start",
|
|
11
|
+
"Type": "start",
|
|
12
|
+
"X": 50,
|
|
13
|
+
"Y": 200,
|
|
14
|
+
"Width": 140,
|
|
15
|
+
"Height": 80,
|
|
16
|
+
"Title": "Start",
|
|
17
|
+
"Ports": [
|
|
18
|
+
{ "Hash": "ts-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
|
|
19
|
+
],
|
|
20
|
+
"Data": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"Hash": "ts-input",
|
|
24
|
+
"Type": "value-input",
|
|
25
|
+
"X": 260,
|
|
26
|
+
"Y": 180,
|
|
27
|
+
"Width": 220,
|
|
28
|
+
"Height": 120,
|
|
29
|
+
"Title": "Enter File Path",
|
|
30
|
+
"Ports": [
|
|
31
|
+
{ "Hash": "ts-inp-req", "Direction": "input", "Side": "left-bottom", "Label": "RequestInput" },
|
|
32
|
+
{ "Hash": "ts-inp-done", "Direction": "output", "Side": "right-bottom", "Label": "ValueInputComplete" },
|
|
33
|
+
{ "Hash": "ts-inp-so-InputValue", "Direction": "output", "Side": "right-top", "Label": "InputValue" }
|
|
34
|
+
],
|
|
35
|
+
"Data": { "PromptMessage": "Enter the path to the text file to sanitize", "OutputAddress": "Operation.FilePath" }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"Hash": "ts-read",
|
|
39
|
+
"Type": "read-file",
|
|
40
|
+
"X": 550,
|
|
41
|
+
"Y": 180,
|
|
42
|
+
"Width": 200,
|
|
43
|
+
"Height": 120,
|
|
44
|
+
"Title": "Read File",
|
|
45
|
+
"Ports": [
|
|
46
|
+
{ "Hash": "ts-rd-in", "Direction": "input", "Side": "left-bottom", "Label": "BeginRead" },
|
|
47
|
+
{ "Hash": "ts-rd-done", "Direction": "output", "Side": "right-bottom", "Label": "ReadComplete" },
|
|
48
|
+
{ "Hash": "ts-rd-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
49
|
+
{ "Hash": "ts-rd-si-FilePath", "Direction": "input", "Side": "left-top", "Label": "FilePath" },
|
|
50
|
+
{ "Hash": "ts-rd-so-FileContent", "Direction": "output", "Side": "right-top", "Label": "FileContent" },
|
|
51
|
+
{ "Hash": "ts-rd-so-BytesRead", "Direction": "output", "Side": "right-top", "Label": "BytesRead" }
|
|
52
|
+
],
|
|
53
|
+
"Data": { "FilePath": "{~D:Record.Operation.FilePath~}", "Encoding": "utf8" }
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Hash": "ts-strip-tabs",
|
|
57
|
+
"Type": "replace-string",
|
|
58
|
+
"X": 820,
|
|
59
|
+
"Y": 180,
|
|
60
|
+
"Width": 220,
|
|
61
|
+
"Height": 120,
|
|
62
|
+
"Title": "Tabs to Spaces",
|
|
63
|
+
"Ports": [
|
|
64
|
+
{ "Hash": "ts-r1-in", "Direction": "input", "Side": "left-bottom", "Label": "Replace" },
|
|
65
|
+
{ "Hash": "ts-r1-done", "Direction": "output", "Side": "right-bottom", "Label": "ReplaceComplete" },
|
|
66
|
+
{ "Hash": "ts-r1-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
67
|
+
{ "Hash": "ts-r1-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
68
|
+
{ "Hash": "ts-r1-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
69
|
+
],
|
|
70
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.ts-read.FileContent~}", "SearchString": "\t", "ReplaceString": " " }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"Hash": "ts-strip-cr",
|
|
74
|
+
"Type": "replace-string",
|
|
75
|
+
"X": 1110,
|
|
76
|
+
"Y": 180,
|
|
77
|
+
"Width": 220,
|
|
78
|
+
"Height": 120,
|
|
79
|
+
"Title": "Strip Carriage Returns",
|
|
80
|
+
"Ports": [
|
|
81
|
+
{ "Hash": "ts-r2-in", "Direction": "input", "Side": "left-bottom", "Label": "Replace" },
|
|
82
|
+
{ "Hash": "ts-r2-done", "Direction": "output", "Side": "right-bottom", "Label": "ReplaceComplete" },
|
|
83
|
+
{ "Hash": "ts-r2-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
84
|
+
{ "Hash": "ts-r2-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
85
|
+
{ "Hash": "ts-r2-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
86
|
+
],
|
|
87
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.ts-strip-tabs.ReplacedString~}", "SearchString": "\r", "ReplaceString": "" }
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"Hash": "ts-strip-double",
|
|
91
|
+
"Type": "replace-string",
|
|
92
|
+
"X": 1400,
|
|
93
|
+
"Y": 180,
|
|
94
|
+
"Width": 240,
|
|
95
|
+
"Height": 120,
|
|
96
|
+
"Title": "Collapse Double Spaces",
|
|
97
|
+
"Ports": [
|
|
98
|
+
{ "Hash": "ts-r3-in", "Direction": "input", "Side": "left-bottom", "Label": "Replace" },
|
|
99
|
+
{ "Hash": "ts-r3-done", "Direction": "output", "Side": "right-bottom", "Label": "ReplaceComplete" },
|
|
100
|
+
{ "Hash": "ts-r3-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
101
|
+
{ "Hash": "ts-r3-si-InputString", "Direction": "input", "Side": "left-top", "Label": "InputString" },
|
|
102
|
+
{ "Hash": "ts-r3-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
103
|
+
],
|
|
104
|
+
"Data": { "InputString": "{~D:Record.TaskOutput.ts-strip-cr.ReplacedString~}", "SearchString": " ", "ReplaceString": " " }
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"Hash": "ts-write",
|
|
108
|
+
"Type": "write-file",
|
|
109
|
+
"X": 1400,
|
|
110
|
+
"Y": 360,
|
|
111
|
+
"Width": 200,
|
|
112
|
+
"Height": 120,
|
|
113
|
+
"Title": "Write Sanitized",
|
|
114
|
+
"Ports": [
|
|
115
|
+
{ "Hash": "ts-wr-in", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
|
|
116
|
+
{ "Hash": "ts-wr-done", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
|
|
117
|
+
{ "Hash": "ts-wr-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
118
|
+
{ "Hash": "ts-wr-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
|
|
119
|
+
{ "Hash": "ts-wr-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
|
|
120
|
+
],
|
|
121
|
+
"Data": { "FilePath": "{~D:Record.Operation.FilePath~}.sanitized", "Content": "{~D:Record.TaskOutput.ts-strip-double.ReplacedString~}", "Encoding": "utf8" }
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"Hash": "ts-rderr",
|
|
125
|
+
"Type": "error-message",
|
|
126
|
+
"X": 550,
|
|
127
|
+
"Y": 380,
|
|
128
|
+
"Width": 200,
|
|
129
|
+
"Height": 80,
|
|
130
|
+
"Title": "Read Error",
|
|
131
|
+
"Ports": [
|
|
132
|
+
{ "Hash": "ts-rde-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
133
|
+
{ "Hash": "ts-rde-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
134
|
+
],
|
|
135
|
+
"Data": { "MessageTemplate": "Could not read file: {~D:Record.Operation.FilePath~}" }
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"Hash": "ts-end",
|
|
139
|
+
"Type": "end",
|
|
140
|
+
"X": 1670,
|
|
141
|
+
"Y": 300,
|
|
142
|
+
"Width": 140,
|
|
143
|
+
"Height": 80,
|
|
144
|
+
"Title": "End",
|
|
145
|
+
"Ports": [
|
|
146
|
+
{ "Hash": "ts-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
|
|
147
|
+
],
|
|
148
|
+
"Data": {}
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"Connections": [
|
|
152
|
+
{ "Hash": "ts-c1", "SourceNodeHash": "ts-start", "SourcePortHash": "ts-start-out", "TargetNodeHash": "ts-input", "TargetPortHash": "ts-inp-req", "Data": {} },
|
|
153
|
+
{ "Hash": "ts-c2", "SourceNodeHash": "ts-input", "SourcePortHash": "ts-inp-done", "TargetNodeHash": "ts-read", "TargetPortHash": "ts-rd-in", "Data": {} },
|
|
154
|
+
{ "Hash": "ts-c3", "SourceNodeHash": "ts-read", "SourcePortHash": "ts-rd-done", "TargetNodeHash": "ts-strip-tabs", "TargetPortHash": "ts-r1-in", "Data": {} },
|
|
155
|
+
{ "Hash": "ts-c4", "SourceNodeHash": "ts-strip-tabs", "SourcePortHash": "ts-r1-done", "TargetNodeHash": "ts-strip-cr", "TargetPortHash": "ts-r2-in", "Data": {} },
|
|
156
|
+
{ "Hash": "ts-c5", "SourceNodeHash": "ts-strip-cr", "SourcePortHash": "ts-r2-done", "TargetNodeHash": "ts-strip-double", "TargetPortHash": "ts-r3-in", "Data": {} },
|
|
157
|
+
{ "Hash": "ts-c6", "SourceNodeHash": "ts-strip-double", "SourcePortHash": "ts-r3-done", "TargetNodeHash": "ts-write", "TargetPortHash": "ts-wr-in", "Data": {} },
|
|
158
|
+
{ "Hash": "ts-c7", "SourceNodeHash": "ts-write", "SourcePortHash": "ts-wr-done", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
159
|
+
{ "Hash": "ts-c8", "SourceNodeHash": "ts-read", "SourcePortHash": "ts-rd-err", "TargetNodeHash": "ts-rderr", "TargetPortHash": "ts-rde-in", "Data": {} },
|
|
160
|
+
{ "Hash": "ts-c9", "SourceNodeHash": "ts-rderr", "SourcePortHash": "ts-rde-done", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
161
|
+
{ "Hash": "ts-c10", "SourceNodeHash": "ts-write", "SourcePortHash": "ts-wr-err", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
162
|
+
{ "Hash": "ts-c11", "SourceNodeHash": "ts-strip-tabs", "SourcePortHash": "ts-r1-err", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
163
|
+
{ "Hash": "ts-c12", "SourceNodeHash": "ts-strip-cr", "SourcePortHash": "ts-r2-err", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
164
|
+
{ "Hash": "ts-c13", "SourceNodeHash": "ts-strip-double", "SourcePortHash": "ts-r3-err", "TargetNodeHash": "ts-end", "TargetPortHash": "ts-end-in", "Data": {} },
|
|
165
|
+
{ "Hash": "ts-sc1", "SourceNodeHash": "ts-input", "SourcePortHash": "ts-inp-so-InputValue", "TargetNodeHash": "ts-read", "TargetPortHash": "ts-rd-si-FilePath", "Data": {} },
|
|
166
|
+
{ "Hash": "ts-sc2", "SourceNodeHash": "ts-read", "SourcePortHash": "ts-rd-so-FileContent", "TargetNodeHash": "ts-strip-tabs", "TargetPortHash": "ts-r1-si-InputString", "Data": {} },
|
|
167
|
+
{ "Hash": "ts-sc3", "SourceNodeHash": "ts-strip-tabs", "SourcePortHash": "ts-r1-so-ReplacedString", "TargetNodeHash": "ts-strip-cr", "TargetPortHash": "ts-r2-si-InputString", "Data": {} },
|
|
168
|
+
{ "Hash": "ts-sc4", "SourceNodeHash": "ts-strip-cr", "SourcePortHash": "ts-r2-so-ReplacedString", "TargetNodeHash": "ts-strip-double", "TargetPortHash": "ts-r3-si-InputString", "Data": {} },
|
|
169
|
+
{ "Hash": "ts-sc5", "SourceNodeHash": "ts-strip-double", "SourcePortHash": "ts-r3-so-ReplacedString", "TargetNodeHash": "ts-write", "TargetPortHash": "ts-wr-si-Content", "Data": {} }
|
|
170
|
+
],
|
|
171
|
+
"ViewState": { "PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null }
|
|
172
|
+
},
|
|
173
|
+
"SavedLayouts": [],
|
|
174
|
+
"InitialGlobalState": {},
|
|
175
|
+
"InitialOperationState": {}
|
|
176
|
+
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultravisor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Cyclic process execution with ai integration.",
|
|
5
|
-
"main": "source/Ultravisor.
|
|
5
|
+
"main": "source/Ultravisor.cjs",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ultravisor": "./source/cli/Ultravisor-Run.cjs"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node source/cli/Ultravisor-Run.cjs",
|
|
11
|
-
"test": "npx
|
|
11
|
+
"test": "npx quack test",
|
|
12
12
|
"tests": "npx mocha -u tdd --exit -R spec --grep",
|
|
13
|
-
"coverage": "npx
|
|
14
|
-
"build": "npx quack build",
|
|
13
|
+
"coverage": "npx quack coverage",
|
|
14
|
+
"build": "npx quack build && cd webinterface && npm install && npm run build && cd ..",
|
|
15
15
|
"docs": "npx quack prepare-docs ./docs -d ./modules",
|
|
16
16
|
"docs-serve": "npx quack docs-serve ./docs"
|
|
17
17
|
},
|
|
@@ -27,14 +27,17 @@
|
|
|
27
27
|
"homepage": "https://github.com/stevenvelozo/ultravisor#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"cron": "^4.4.0",
|
|
30
|
-
"
|
|
30
|
+
"ultravisor-beacon": "^0.0.1",
|
|
31
|
+
"orator": "^6.0.4",
|
|
32
|
+
"orator-authentication": "^1.0.0",
|
|
31
33
|
"orator-serviceserver-restify": "^2.0.9",
|
|
32
|
-
"pict": "^1.0.
|
|
34
|
+
"pict": "^1.0.359",
|
|
33
35
|
"pict-service-commandlineutility": "^1.0.19",
|
|
34
36
|
"pict-serviceproviderbase": "^1.0.4"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
37
|
-
"
|
|
39
|
+
"puppeteer": "^24.39.1",
|
|
40
|
+
"quackage": "^1.0.65"
|
|
38
41
|
},
|
|
39
42
|
"mocha": {
|
|
40
43
|
"diff": true,
|
|
@@ -48,6 +51,7 @@
|
|
|
48
51
|
"ui": "tdd",
|
|
49
52
|
"watch-files": [
|
|
50
53
|
"source/**/*.js",
|
|
54
|
+
"source/**/*.cjs",
|
|
51
55
|
"test/**/*.js"
|
|
52
56
|
],
|
|
53
57
|
"watch-ignore": [
|
package/source/Ultravisor.cjs
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
module.exports = (
|
|
2
2
|
{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
TaskTypeBase: require('./services/tasks/Ultravisor-TaskType-Base.cjs'),
|
|
4
|
+
TaskTypeRegistry: require('./services/Ultravisor-TaskTypeRegistry.cjs'),
|
|
5
|
+
StateManager: require('./services/Ultravisor-StateManager.cjs'),
|
|
6
|
+
ExecutionEngine: require('./services/Ultravisor-ExecutionEngine.cjs'),
|
|
7
|
+
ExecutionManifest: require('./services/Ultravisor-ExecutionManifest.cjs'),
|
|
8
|
+
HypervisorState: require('./services/Ultravisor-Hypervisor-State.cjs'),
|
|
9
|
+
Hypervisor: require('./services/Ultravisor-Hypervisor.cjs'),
|
|
10
|
+
BeaconCoordinator: require('./services/Ultravisor-Beacon-Coordinator.cjs'),
|
|
11
|
+
BeaconService: require('ultravisor-beacon'),
|
|
12
|
+
BeaconCapabilityProvider: require('ultravisor-beacon/source/Ultravisor-Beacon-CapabilityProvider.cjs'),
|
|
13
|
+
BeaconProviderRegistry: require('ultravisor-beacon/source/Ultravisor-Beacon-ProviderRegistry.cjs'),
|
|
14
|
+
|
|
15
|
+
// Config-driven task type definitions (preferred for new tasks)
|
|
16
|
+
BuiltInTaskConfigs: require('./services/tasks/Ultravisor-BuiltIn-TaskConfigs.cjs'),
|
|
17
|
+
|
|
18
|
+
// Task type classes (kept for backward compatibility)
|
|
19
|
+
TaskTypes:
|
|
20
|
+
{
|
|
21
|
+
ReadFile: require('./services/tasks/file-system/Ultravisor-TaskType-ReadFile.cjs'),
|
|
22
|
+
WriteFile: require('./services/tasks/file-system/Ultravisor-TaskType-WriteFile.cjs'),
|
|
23
|
+
SetValues: require('./services/tasks/data-transform/Ultravisor-TaskType-SetValues.cjs'),
|
|
24
|
+
ReplaceString: require('./services/tasks/data-transform/Ultravisor-TaskType-ReplaceString.cjs'),
|
|
25
|
+
StringAppender: require('./services/tasks/data-transform/Ultravisor-TaskType-StringAppender.cjs'),
|
|
26
|
+
IfConditional: require('./services/tasks/flow-control/Ultravisor-TaskType-IfConditional.cjs'),
|
|
27
|
+
SplitExecute: require('./services/tasks/flow-control/Ultravisor-TaskType-SplitExecute.cjs'),
|
|
28
|
+
LaunchOperation: require('./services/tasks/flow-control/Ultravisor-TaskType-LaunchOperation.cjs'),
|
|
29
|
+
ValueInput: require('./services/tasks/user-interaction/Ultravisor-TaskType-ValueInput.cjs'),
|
|
30
|
+
ErrorMessage: require('./services/tasks/user-interaction/Ultravisor-TaskType-ErrorMessage.cjs')
|
|
31
|
+
}
|
|
32
|
+
});
|