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,339 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Test: Concatenate All Content Files",
|
|
3
|
+
"Description": "Lists files on a Content System beacon, reads each one, and concatenates all content into a single file in the staging folder. Directories are skipped automatically.",
|
|
4
|
+
"Graph": {
|
|
5
|
+
"Nodes": [
|
|
6
|
+
{
|
|
7
|
+
"Hash": "cat-start",
|
|
8
|
+
"Type": "start",
|
|
9
|
+
"X": 50,
|
|
10
|
+
"Y": 180,
|
|
11
|
+
"Width": 140,
|
|
12
|
+
"Height": 80,
|
|
13
|
+
"Title": "Start",
|
|
14
|
+
"Ports": [
|
|
15
|
+
{ "Hash": "cat-start-eo-Out", "Direction": "output", "Side": "right", "Label": "Out" }
|
|
16
|
+
],
|
|
17
|
+
"Data": {}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"Hash": "cat-list",
|
|
21
|
+
"Type": "content-list-files",
|
|
22
|
+
"X": 280,
|
|
23
|
+
"Y": 160,
|
|
24
|
+
"Width": 220,
|
|
25
|
+
"Height": 100,
|
|
26
|
+
"Title": "List Remote Files",
|
|
27
|
+
"Ports": [
|
|
28
|
+
{ "Hash": "cat-list-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
29
|
+
{ "Hash": "cat-list-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
30
|
+
{ "Hash": "cat-list-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
31
|
+
{ "Hash": "cat-list-so-Files", "Direction": "output", "Side": "right-top", "Label": "Files" },
|
|
32
|
+
{ "Hash": "cat-list-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
33
|
+
],
|
|
34
|
+
"Data": { "Path": "" }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"Hash": "cat-clean1",
|
|
38
|
+
"Type": "replace-string",
|
|
39
|
+
"X": 570,
|
|
40
|
+
"Y": 160,
|
|
41
|
+
"Width": 200,
|
|
42
|
+
"Height": 100,
|
|
43
|
+
"Title": "Clean: Entry Boundaries",
|
|
44
|
+
"Ports": [
|
|
45
|
+
{ "Hash": "cat-clean1-ei-Replace", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
46
|
+
{ "Hash": "cat-clean1-eo-ReplaceComplete", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
47
|
+
{ "Hash": "cat-clean1-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
48
|
+
],
|
|
49
|
+
"Data": {
|
|
50
|
+
"InputString": "{~D:Record.TaskOutput.cat-list.Files~}",
|
|
51
|
+
"SearchString": "\",\"IsDirectory\":false},{\"Name\":\"",
|
|
52
|
+
"ReplaceString": "\n"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Hash": "cat-clean1b",
|
|
57
|
+
"Type": "replace-string",
|
|
58
|
+
"X": 840,
|
|
59
|
+
"Y": 160,
|
|
60
|
+
"Width": 200,
|
|
61
|
+
"Height": 100,
|
|
62
|
+
"Title": "Clean: Dir Boundaries",
|
|
63
|
+
"Ports": [
|
|
64
|
+
{ "Hash": "cat-clean1b-ei-Replace", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
65
|
+
{ "Hash": "cat-clean1b-eo-ReplaceComplete", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
66
|
+
{ "Hash": "cat-clean1b-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
67
|
+
],
|
|
68
|
+
"Data": {
|
|
69
|
+
"InputString": "{~D:Record.TaskOutput.cat-clean1.ReplacedString~}",
|
|
70
|
+
"SearchString": "\",\"IsDirectory\":true},{\"Name\":\"",
|
|
71
|
+
"ReplaceString": "\n"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"Hash": "cat-clean2",
|
|
76
|
+
"Type": "replace-string",
|
|
77
|
+
"X": 1110,
|
|
78
|
+
"Y": 160,
|
|
79
|
+
"Width": 200,
|
|
80
|
+
"Height": 100,
|
|
81
|
+
"Title": "Clean: Strip Start",
|
|
82
|
+
"Ports": [
|
|
83
|
+
{ "Hash": "cat-clean2-ei-Replace", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
84
|
+
{ "Hash": "cat-clean2-eo-ReplaceComplete", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
85
|
+
{ "Hash": "cat-clean2-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
86
|
+
],
|
|
87
|
+
"Data": {
|
|
88
|
+
"InputString": "{~D:Record.TaskOutput.cat-clean1b.ReplacedString~}",
|
|
89
|
+
"SearchString": "[{\"Name\":\"",
|
|
90
|
+
"ReplaceString": ""
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"Hash": "cat-clean3",
|
|
95
|
+
"Type": "replace-string",
|
|
96
|
+
"X": 1380,
|
|
97
|
+
"Y": 160,
|
|
98
|
+
"Width": 200,
|
|
99
|
+
"Height": 100,
|
|
100
|
+
"Title": "Clean: Strip End",
|
|
101
|
+
"Ports": [
|
|
102
|
+
{ "Hash": "cat-clean3-ei-Replace", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
103
|
+
{ "Hash": "cat-clean3-eo-ReplaceComplete", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
104
|
+
{ "Hash": "cat-clean3-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
105
|
+
],
|
|
106
|
+
"Data": {
|
|
107
|
+
"InputString": "{~D:Record.TaskOutput.cat-clean2.ReplacedString~}",
|
|
108
|
+
"SearchString": "\",\"IsDirectory\":false}]",
|
|
109
|
+
"ReplaceString": ""
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"Hash": "cat-clean3b",
|
|
114
|
+
"Type": "replace-string",
|
|
115
|
+
"X": 1650,
|
|
116
|
+
"Y": 160,
|
|
117
|
+
"Width": 200,
|
|
118
|
+
"Height": 100,
|
|
119
|
+
"Title": "Clean: Strip Dir End",
|
|
120
|
+
"Ports": [
|
|
121
|
+
{ "Hash": "cat-clean3b-ei-Replace", "Direction": "input", "Side": "left", "Label": "Replace" },
|
|
122
|
+
{ "Hash": "cat-clean3b-eo-ReplaceComplete", "Direction": "output", "Side": "right", "Label": "ReplaceComplete" },
|
|
123
|
+
{ "Hash": "cat-clean3b-so-ReplacedString", "Direction": "output", "Side": "right-top", "Label": "ReplacedString" }
|
|
124
|
+
],
|
|
125
|
+
"Data": {
|
|
126
|
+
"InputString": "{~D:Record.TaskOutput.cat-clean3.ReplacedString~}",
|
|
127
|
+
"SearchString": "\",\"IsDirectory\":true}]",
|
|
128
|
+
"ReplaceString": ""
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"Hash": "cat-split",
|
|
133
|
+
"Type": "split-execute",
|
|
134
|
+
"X": 570,
|
|
135
|
+
"Y": 380,
|
|
136
|
+
"Width": 240,
|
|
137
|
+
"Height": 120,
|
|
138
|
+
"Title": "Iterate Filenames",
|
|
139
|
+
"Ports": [
|
|
140
|
+
{ "Hash": "cat-split-ei-PerformSplit", "Direction": "input", "Side": "left", "Label": "PerformSplit" },
|
|
141
|
+
{ "Hash": "cat-split-ei-StepComplete", "Direction": "input", "Side": "left-bottom", "Label": "StepComplete" },
|
|
142
|
+
{ "Hash": "cat-split-eo-TokenDataSent", "Direction": "output", "Side": "right", "Label": "TokenDataSent" },
|
|
143
|
+
{ "Hash": "cat-split-eo-CompletedAllSubtasks", "Direction": "output", "Side": "bottom", "Label": "CompletedAllSubtasks" },
|
|
144
|
+
{ "Hash": "cat-split-so-CurrentToken", "Direction": "output", "Side": "right-top", "Label": "CurrentToken" }
|
|
145
|
+
],
|
|
146
|
+
"Data": {
|
|
147
|
+
"InputString": "{~D:Record.TaskOutput.cat-clean3b.ReplacedString~}",
|
|
148
|
+
"SplitDelimiter": "\n"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"Hash": "cat-read",
|
|
153
|
+
"Type": "content-read-file",
|
|
154
|
+
"X": 920,
|
|
155
|
+
"Y": 370,
|
|
156
|
+
"Width": 220,
|
|
157
|
+
"Height": 100,
|
|
158
|
+
"Title": "Read File (Beacon)",
|
|
159
|
+
"Ports": [
|
|
160
|
+
{ "Hash": "cat-read-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
161
|
+
{ "Hash": "cat-read-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
162
|
+
{ "Hash": "cat-read-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
163
|
+
{ "Hash": "cat-read-so-Content", "Direction": "output", "Side": "right-top", "Label": "Content" },
|
|
164
|
+
{ "Hash": "cat-read-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
165
|
+
],
|
|
166
|
+
"Data": {
|
|
167
|
+
"FilePath": "{~D:Record.TaskOutput.cat-split.CurrentToken~}"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"Hash": "cat-append",
|
|
172
|
+
"Type": "string-appender",
|
|
173
|
+
"X": 1250,
|
|
174
|
+
"Y": 370,
|
|
175
|
+
"Width": 220,
|
|
176
|
+
"Height": 100,
|
|
177
|
+
"Title": "Append Content",
|
|
178
|
+
"Ports": [
|
|
179
|
+
{ "Hash": "cat-append-ei-Append", "Direction": "input", "Side": "left", "Label": "Append" },
|
|
180
|
+
{ "Hash": "cat-append-eo-Completed", "Direction": "output", "Side": "right", "Label": "Completed" }
|
|
181
|
+
],
|
|
182
|
+
"Data": {
|
|
183
|
+
"InputString": "--- {~D:Record.TaskOutput.cat-split.CurrentToken~} ---\n{~D:Record.TaskOutput.cat-read.Content~}",
|
|
184
|
+
"OutputAddress": "Operation.ConcatenatedContent",
|
|
185
|
+
"AppendNewline": true
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"Hash": "cat-write",
|
|
190
|
+
"Type": "write-file",
|
|
191
|
+
"X": 570,
|
|
192
|
+
"Y": 570,
|
|
193
|
+
"Width": 220,
|
|
194
|
+
"Height": 80,
|
|
195
|
+
"Title": "Save Concatenated File",
|
|
196
|
+
"Ports": [
|
|
197
|
+
{ "Hash": "cat-write-ei-BeginWrite", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite", "PortType": "event-in" },
|
|
198
|
+
{ "Hash": "cat-write-eo-WriteComplete", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete", "PortType": "event-out" },
|
|
199
|
+
{ "Hash": "cat-write-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error", "PortType": "error" },
|
|
200
|
+
{ "Hash": "cat-write-so-FileLocation", "Direction": "output", "Side": "right-top", "Label": "FileLocation", "PortType": "value" },
|
|
201
|
+
{ "Hash": "cat-write-so-FileName", "Direction": "output", "Side": "right-top", "Label": "FileName", "PortType": "value" },
|
|
202
|
+
{ "Hash": "cat-write-so-FilePath", "Direction": "output", "Side": "right-top", "Label": "FilePath", "PortType": "value" },
|
|
203
|
+
{ "Hash": "cat-write-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten", "PortType": "value" }
|
|
204
|
+
],
|
|
205
|
+
"Data": {
|
|
206
|
+
"FilePath": "all-content.md",
|
|
207
|
+
"Content": "{~D:Record.Operation.ConcatenatedContent~}",
|
|
208
|
+
"Encoding": "utf8"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"Hash": "cat-end",
|
|
213
|
+
"Type": "end",
|
|
214
|
+
"X": 920,
|
|
215
|
+
"Y": 570,
|
|
216
|
+
"Width": 140,
|
|
217
|
+
"Height": 80,
|
|
218
|
+
"Title": "End",
|
|
219
|
+
"Ports": [
|
|
220
|
+
{ "Hash": "cat-end-ei-In", "Direction": "input", "Side": "left", "Label": "In" }
|
|
221
|
+
],
|
|
222
|
+
"Data": {}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"Connections": [
|
|
226
|
+
{
|
|
227
|
+
"Hash": "cat-ev01",
|
|
228
|
+
"SourceNodeHash": "cat-start",
|
|
229
|
+
"SourcePortHash": "cat-start-eo-Out",
|
|
230
|
+
"TargetNodeHash": "cat-list",
|
|
231
|
+
"TargetPortHash": "cat-list-ei-Trigger",
|
|
232
|
+
"Data": {}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"Hash": "cat-ev02",
|
|
236
|
+
"SourceNodeHash": "cat-list",
|
|
237
|
+
"SourcePortHash": "cat-list-eo-Complete",
|
|
238
|
+
"TargetNodeHash": "cat-clean1",
|
|
239
|
+
"TargetPortHash": "cat-clean1-ei-Replace",
|
|
240
|
+
"Data": {}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"Hash": "cat-ev03",
|
|
244
|
+
"SourceNodeHash": "cat-clean1",
|
|
245
|
+
"SourcePortHash": "cat-clean1-eo-ReplaceComplete",
|
|
246
|
+
"TargetNodeHash": "cat-clean1b",
|
|
247
|
+
"TargetPortHash": "cat-clean1b-ei-Replace",
|
|
248
|
+
"Data": {}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"Hash": "cat-ev04",
|
|
252
|
+
"SourceNodeHash": "cat-clean1b",
|
|
253
|
+
"SourcePortHash": "cat-clean1b-eo-ReplaceComplete",
|
|
254
|
+
"TargetNodeHash": "cat-clean2",
|
|
255
|
+
"TargetPortHash": "cat-clean2-ei-Replace",
|
|
256
|
+
"Data": {}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"Hash": "cat-ev05",
|
|
260
|
+
"SourceNodeHash": "cat-clean2",
|
|
261
|
+
"SourcePortHash": "cat-clean2-eo-ReplaceComplete",
|
|
262
|
+
"TargetNodeHash": "cat-clean3",
|
|
263
|
+
"TargetPortHash": "cat-clean3-ei-Replace",
|
|
264
|
+
"Data": {}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"Hash": "cat-ev06",
|
|
268
|
+
"SourceNodeHash": "cat-clean3",
|
|
269
|
+
"SourcePortHash": "cat-clean3-eo-ReplaceComplete",
|
|
270
|
+
"TargetNodeHash": "cat-clean3b",
|
|
271
|
+
"TargetPortHash": "cat-clean3b-ei-Replace",
|
|
272
|
+
"Data": {}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"Hash": "cat-ev07",
|
|
276
|
+
"SourceNodeHash": "cat-clean3b",
|
|
277
|
+
"SourcePortHash": "cat-clean3b-eo-ReplaceComplete",
|
|
278
|
+
"TargetNodeHash": "cat-split",
|
|
279
|
+
"TargetPortHash": "cat-split-ei-PerformSplit",
|
|
280
|
+
"Data": {}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"Hash": "cat-ev08",
|
|
284
|
+
"SourceNodeHash": "cat-split",
|
|
285
|
+
"SourcePortHash": "cat-split-eo-TokenDataSent",
|
|
286
|
+
"TargetNodeHash": "cat-read",
|
|
287
|
+
"TargetPortHash": "cat-read-ei-Trigger",
|
|
288
|
+
"Data": {}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"Hash": "cat-ev09",
|
|
292
|
+
"SourceNodeHash": "cat-read",
|
|
293
|
+
"SourcePortHash": "cat-read-eo-Complete",
|
|
294
|
+
"TargetNodeHash": "cat-append",
|
|
295
|
+
"TargetPortHash": "cat-append-ei-Append",
|
|
296
|
+
"Data": {}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"Hash": "cat-ev10",
|
|
300
|
+
"SourceNodeHash": "cat-append",
|
|
301
|
+
"SourcePortHash": "cat-append-eo-Completed",
|
|
302
|
+
"TargetNodeHash": "cat-split",
|
|
303
|
+
"TargetPortHash": "cat-split-ei-StepComplete",
|
|
304
|
+
"Data": {}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"Hash": "cat-ev11",
|
|
308
|
+
"SourceNodeHash": "cat-read",
|
|
309
|
+
"SourcePortHash": "cat-read-eo-Error",
|
|
310
|
+
"TargetNodeHash": "cat-split",
|
|
311
|
+
"TargetPortHash": "cat-split-ei-StepComplete",
|
|
312
|
+
"Data": {}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"Hash": "cat-ev12",
|
|
316
|
+
"SourceNodeHash": "cat-split",
|
|
317
|
+
"SourcePortHash": "cat-split-eo-CompletedAllSubtasks",
|
|
318
|
+
"TargetNodeHash": "cat-write",
|
|
319
|
+
"TargetPortHash": "cat-write-ei-BeginWrite",
|
|
320
|
+
"Data": {}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"Hash": "cat-ev13",
|
|
324
|
+
"SourceNodeHash": "cat-write",
|
|
325
|
+
"SourcePortHash": "cat-write-eo-WriteComplete",
|
|
326
|
+
"TargetNodeHash": "cat-end",
|
|
327
|
+
"TargetPortHash": "cat-end-ei-In",
|
|
328
|
+
"Data": {}
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"ViewState": {
|
|
332
|
+
"PanX": 0,
|
|
333
|
+
"PanY": 0,
|
|
334
|
+
"Zoom": 1,
|
|
335
|
+
"SelectedNodeHash": null,
|
|
336
|
+
"SelectedConnectionHash": null
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Test: Content Full Pipeline",
|
|
3
|
+
"Description": "Full beacon test — creates a folder, saves a file, lists the folder, and reads the file back via Content System beacon.",
|
|
4
|
+
"Graph": {
|
|
5
|
+
"Nodes": [
|
|
6
|
+
{
|
|
7
|
+
"Hash": "tfp-start",
|
|
8
|
+
"Type": "start",
|
|
9
|
+
"X": 50,
|
|
10
|
+
"Y": 200,
|
|
11
|
+
"Width": 140,
|
|
12
|
+
"Height": 80,
|
|
13
|
+
"Title": "Start",
|
|
14
|
+
"Ports": [
|
|
15
|
+
{ "Hash": "tfp-start-eo-Out", "Direction": "output", "Side": "right", "Label": "Out" }
|
|
16
|
+
],
|
|
17
|
+
"Data": {}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"Hash": "tfp-mkdir",
|
|
21
|
+
"Type": "content-create-folder",
|
|
22
|
+
"X": 280,
|
|
23
|
+
"Y": 180,
|
|
24
|
+
"Width": 220,
|
|
25
|
+
"Height": 100,
|
|
26
|
+
"Title": "Create Folder",
|
|
27
|
+
"Ports": [
|
|
28
|
+
{ "Hash": "tfp-mkdir-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
29
|
+
{ "Hash": "tfp-mkdir-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
30
|
+
{ "Hash": "tfp-mkdir-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
31
|
+
{ "Hash": "tfp-mkdir-so-StdOut", "Direction": "output", "Side": "right-top", "Label": "StdOut" }
|
|
32
|
+
],
|
|
33
|
+
"Data": {
|
|
34
|
+
"Path": "beacon-test"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"Hash": "tfp-save",
|
|
39
|
+
"Type": "content-save-file",
|
|
40
|
+
"X": 590,
|
|
41
|
+
"Y": 180,
|
|
42
|
+
"Width": 220,
|
|
43
|
+
"Height": 100,
|
|
44
|
+
"Title": "Save File",
|
|
45
|
+
"Ports": [
|
|
46
|
+
{ "Hash": "tfp-save-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
47
|
+
{ "Hash": "tfp-save-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
48
|
+
{ "Hash": "tfp-save-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
49
|
+
{ "Hash": "tfp-save-so-FilePath", "Direction": "output", "Side": "right-top", "Label": "FilePath" },
|
|
50
|
+
{ "Hash": "tfp-save-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
51
|
+
],
|
|
52
|
+
"Data": {
|
|
53
|
+
"FilePath": "beacon-test/notes.md",
|
|
54
|
+
"Content": "# Notes\n\nThis file was created by the full pipeline beacon test.\n\nTimestamp: test run\n"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"Hash": "tfp-list",
|
|
59
|
+
"Type": "content-list-files",
|
|
60
|
+
"X": 900,
|
|
61
|
+
"Y": 180,
|
|
62
|
+
"Width": 220,
|
|
63
|
+
"Height": 100,
|
|
64
|
+
"Title": "List Folder",
|
|
65
|
+
"Ports": [
|
|
66
|
+
{ "Hash": "tfp-list-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
67
|
+
{ "Hash": "tfp-list-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
68
|
+
{ "Hash": "tfp-list-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
69
|
+
{ "Hash": "tfp-list-so-Files", "Direction": "output", "Side": "right-top", "Label": "Files" },
|
|
70
|
+
{ "Hash": "tfp-list-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
71
|
+
],
|
|
72
|
+
"Data": {
|
|
73
|
+
"Path": "beacon-test"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"Hash": "tfp-read",
|
|
78
|
+
"Type": "content-read-file",
|
|
79
|
+
"X": 1210,
|
|
80
|
+
"Y": 180,
|
|
81
|
+
"Width": 220,
|
|
82
|
+
"Height": 100,
|
|
83
|
+
"Title": "Read File",
|
|
84
|
+
"Ports": [
|
|
85
|
+
{ "Hash": "tfp-read-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
86
|
+
{ "Hash": "tfp-read-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
87
|
+
{ "Hash": "tfp-read-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
88
|
+
{ "Hash": "tfp-read-so-Content", "Direction": "output", "Side": "right-top", "Label": "Content" },
|
|
89
|
+
{ "Hash": "tfp-read-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
90
|
+
],
|
|
91
|
+
"Data": {
|
|
92
|
+
"FilePath": "beacon-test/notes.md"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"Hash": "tfp-end",
|
|
97
|
+
"Type": "end",
|
|
98
|
+
"X": 1520,
|
|
99
|
+
"Y": 200,
|
|
100
|
+
"Width": 140,
|
|
101
|
+
"Height": 80,
|
|
102
|
+
"Title": "End",
|
|
103
|
+
"Ports": [
|
|
104
|
+
{ "Hash": "tfp-end-ei-In", "Direction": "input", "Side": "left", "Label": "In" }
|
|
105
|
+
],
|
|
106
|
+
"Data": {}
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"Connections": [
|
|
110
|
+
{
|
|
111
|
+
"Hash": "tfp-ev1",
|
|
112
|
+
"SourceNodeHash": "tfp-start",
|
|
113
|
+
"SourcePortHash": "tfp-start-eo-Out",
|
|
114
|
+
"TargetNodeHash": "tfp-mkdir",
|
|
115
|
+
"TargetPortHash": "tfp-mkdir-ei-Trigger",
|
|
116
|
+
"Data": {}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"Hash": "tfp-ev2",
|
|
120
|
+
"SourceNodeHash": "tfp-mkdir",
|
|
121
|
+
"SourcePortHash": "tfp-mkdir-eo-Complete",
|
|
122
|
+
"TargetNodeHash": "tfp-save",
|
|
123
|
+
"TargetPortHash": "tfp-save-ei-Trigger",
|
|
124
|
+
"Data": {}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"Hash": "tfp-ev3",
|
|
128
|
+
"SourceNodeHash": "tfp-save",
|
|
129
|
+
"SourcePortHash": "tfp-save-eo-Complete",
|
|
130
|
+
"TargetNodeHash": "tfp-list",
|
|
131
|
+
"TargetPortHash": "tfp-list-ei-Trigger",
|
|
132
|
+
"Data": {}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"Hash": "tfp-ev4",
|
|
136
|
+
"SourceNodeHash": "tfp-list",
|
|
137
|
+
"SourcePortHash": "tfp-list-eo-Complete",
|
|
138
|
+
"TargetNodeHash": "tfp-read",
|
|
139
|
+
"TargetPortHash": "tfp-read-ei-Trigger",
|
|
140
|
+
"Data": {}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"Hash": "tfp-ev5",
|
|
144
|
+
"SourceNodeHash": "tfp-read",
|
|
145
|
+
"SourcePortHash": "tfp-read-eo-Complete",
|
|
146
|
+
"TargetNodeHash": "tfp-end",
|
|
147
|
+
"TargetPortHash": "tfp-end-ei-In",
|
|
148
|
+
"Data": {}
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"ViewState": {
|
|
152
|
+
"PanX": 0,
|
|
153
|
+
"PanY": 0,
|
|
154
|
+
"Zoom": 1,
|
|
155
|
+
"SelectedNodeHash": null,
|
|
156
|
+
"SelectedConnectionHash": null
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Test: Content List Files",
|
|
3
|
+
"Description": "Simple beacon test — lists files in the content root directory via a Content System beacon.",
|
|
4
|
+
"Graph": {
|
|
5
|
+
"Nodes": [
|
|
6
|
+
{
|
|
7
|
+
"Hash": "tcl-start",
|
|
8
|
+
"Type": "start",
|
|
9
|
+
"X": 50,
|
|
10
|
+
"Y": 200,
|
|
11
|
+
"Width": 140,
|
|
12
|
+
"Height": 80,
|
|
13
|
+
"Title": "Start",
|
|
14
|
+
"Ports": [
|
|
15
|
+
{ "Hash": "tcl-start-eo-Out", "Direction": "output", "Side": "right", "Label": "Out" }
|
|
16
|
+
],
|
|
17
|
+
"Data": {}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"Hash": "tcl-list",
|
|
21
|
+
"Type": "content-list-files",
|
|
22
|
+
"X": 300,
|
|
23
|
+
"Y": 180,
|
|
24
|
+
"Width": 220,
|
|
25
|
+
"Height": 100,
|
|
26
|
+
"Title": "List Content Files",
|
|
27
|
+
"Ports": [
|
|
28
|
+
{ "Hash": "tcl-list-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
29
|
+
{ "Hash": "tcl-list-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
30
|
+
{ "Hash": "tcl-list-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
31
|
+
{ "Hash": "tcl-list-so-Files", "Direction": "output", "Side": "right-top", "Label": "Files" },
|
|
32
|
+
{ "Hash": "tcl-list-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
33
|
+
],
|
|
34
|
+
"Data": { "Path": "" }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"Hash": "tcl-end",
|
|
38
|
+
"Type": "end",
|
|
39
|
+
"X": 620,
|
|
40
|
+
"Y": 200,
|
|
41
|
+
"Width": 140,
|
|
42
|
+
"Height": 80,
|
|
43
|
+
"Title": "End",
|
|
44
|
+
"Ports": [
|
|
45
|
+
{ "Hash": "tcl-end-ei-In", "Direction": "input", "Side": "left", "Label": "In" }
|
|
46
|
+
],
|
|
47
|
+
"Data": {}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"Connections": [
|
|
51
|
+
{
|
|
52
|
+
"Hash": "tcl-ev1",
|
|
53
|
+
"SourceNodeHash": "tcl-start",
|
|
54
|
+
"SourcePortHash": "tcl-start-eo-Out",
|
|
55
|
+
"TargetNodeHash": "tcl-list",
|
|
56
|
+
"TargetPortHash": "tcl-list-ei-Trigger",
|
|
57
|
+
"Data": {}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"Hash": "tcl-ev2",
|
|
61
|
+
"SourceNodeHash": "tcl-list",
|
|
62
|
+
"SourcePortHash": "tcl-list-eo-Complete",
|
|
63
|
+
"TargetNodeHash": "tcl-end",
|
|
64
|
+
"TargetPortHash": "tcl-end-ei-In",
|
|
65
|
+
"Data": {}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"ViewState": {
|
|
69
|
+
"PanX": 0,
|
|
70
|
+
"PanY": 0,
|
|
71
|
+
"Zoom": 1,
|
|
72
|
+
"SelectedNodeHash": null,
|
|
73
|
+
"SelectedConnectionHash": null
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Test: Content Save and Read",
|
|
3
|
+
"Description": "Beacon test — saves a file via Content System beacon, then reads it back.",
|
|
4
|
+
"Graph": {
|
|
5
|
+
"Nodes": [
|
|
6
|
+
{
|
|
7
|
+
"Hash": "tsr-start",
|
|
8
|
+
"Type": "start",
|
|
9
|
+
"X": 50,
|
|
10
|
+
"Y": 200,
|
|
11
|
+
"Width": 140,
|
|
12
|
+
"Height": 80,
|
|
13
|
+
"Title": "Start",
|
|
14
|
+
"Ports": [
|
|
15
|
+
{ "Hash": "tsr-start-eo-Out", "Direction": "output", "Side": "right", "Label": "Out" }
|
|
16
|
+
],
|
|
17
|
+
"Data": {}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"Hash": "tsr-save",
|
|
21
|
+
"Type": "content-save-file",
|
|
22
|
+
"X": 300,
|
|
23
|
+
"Y": 170,
|
|
24
|
+
"Width": 240,
|
|
25
|
+
"Height": 120,
|
|
26
|
+
"Title": "Save Test File",
|
|
27
|
+
"Ports": [
|
|
28
|
+
{ "Hash": "tsr-save-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
29
|
+
{ "Hash": "tsr-save-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
30
|
+
{ "Hash": "tsr-save-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
31
|
+
{ "Hash": "tsr-save-so-FilePath", "Direction": "output", "Side": "right-top", "Label": "FilePath" },
|
|
32
|
+
{ "Hash": "tsr-save-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
33
|
+
],
|
|
34
|
+
"Data": {
|
|
35
|
+
"FilePath": "beacon-test.md",
|
|
36
|
+
"Content": "# Beacon Test\n\nHello from Ultravisor!\n\nThis file was created by a Content System beacon workflow.\n"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"Hash": "tsr-read",
|
|
41
|
+
"Type": "content-read-file",
|
|
42
|
+
"X": 650,
|
|
43
|
+
"Y": 170,
|
|
44
|
+
"Width": 240,
|
|
45
|
+
"Height": 120,
|
|
46
|
+
"Title": "Read Test File",
|
|
47
|
+
"Ports": [
|
|
48
|
+
{ "Hash": "tsr-read-ei-Trigger", "Direction": "input", "Side": "left", "Label": "Trigger" },
|
|
49
|
+
{ "Hash": "tsr-read-eo-Complete", "Direction": "output", "Side": "right", "Label": "Complete" },
|
|
50
|
+
{ "Hash": "tsr-read-eo-Error", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
51
|
+
{ "Hash": "tsr-read-so-Content", "Direction": "output", "Side": "right-top", "Label": "Content" },
|
|
52
|
+
{ "Hash": "tsr-read-so-StdOut", "Direction": "output", "Side": "right-bottom", "Label": "StdOut" }
|
|
53
|
+
],
|
|
54
|
+
"Data": {
|
|
55
|
+
"FilePath": "beacon-test.md"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"Hash": "tsr-end",
|
|
60
|
+
"Type": "end",
|
|
61
|
+
"X": 1000,
|
|
62
|
+
"Y": 200,
|
|
63
|
+
"Width": 140,
|
|
64
|
+
"Height": 80,
|
|
65
|
+
"Title": "End",
|
|
66
|
+
"Ports": [
|
|
67
|
+
{ "Hash": "tsr-end-ei-In", "Direction": "input", "Side": "left", "Label": "In" }
|
|
68
|
+
],
|
|
69
|
+
"Data": {}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"Connections": [
|
|
73
|
+
{
|
|
74
|
+
"Hash": "tsr-ev1",
|
|
75
|
+
"SourceNodeHash": "tsr-start",
|
|
76
|
+
"SourcePortHash": "tsr-start-eo-Out",
|
|
77
|
+
"TargetNodeHash": "tsr-save",
|
|
78
|
+
"TargetPortHash": "tsr-save-ei-Trigger",
|
|
79
|
+
"Data": {}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"Hash": "tsr-ev2",
|
|
83
|
+
"SourceNodeHash": "tsr-save",
|
|
84
|
+
"SourcePortHash": "tsr-save-eo-Complete",
|
|
85
|
+
"TargetNodeHash": "tsr-read",
|
|
86
|
+
"TargetPortHash": "tsr-read-ei-Trigger",
|
|
87
|
+
"Data": {}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"Hash": "tsr-ev3",
|
|
91
|
+
"SourceNodeHash": "tsr-read",
|
|
92
|
+
"SourcePortHash": "tsr-read-eo-Complete",
|
|
93
|
+
"TargetNodeHash": "tsr-end",
|
|
94
|
+
"TargetPortHash": "tsr-end-ei-In",
|
|
95
|
+
"Data": {}
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"ViewState": {
|
|
99
|
+
"PanX": 0,
|
|
100
|
+
"PanY": 0,
|
|
101
|
+
"Zoom": 1,
|
|
102
|
+
"SelectedNodeHash": null,
|
|
103
|
+
"SelectedConnectionHash": null
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|