@outputai/cli 0.10.1-next.37650c5.0 → 0.10.1-next.52bedcf.0
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/dist/api/generated/api.d.ts +12 -0
- package/dist/assets/docker/docker-compose-dev.yml +1 -1
- package/dist/commands/dev/index.js +57 -6
- package/dist/commands/dev/index.spec.js +55 -0
- package/dist/commands/workflow/history.js +3 -3
- package/dist/commands/workflow/history.spec.js +31 -2
- package/dist/commands/workflow/monitor.d.ts +49 -0
- package/dist/commands/workflow/monitor.js +230 -0
- package/dist/commands/workflow/monitor.spec.d.ts +1 -0
- package/dist/commands/workflow/monitor.spec.js +243 -0
- package/dist/generated/framework_version.json +1 -1
- package/dist/services/workflow_history/correlator.d.ts +2 -0
- package/dist/services/workflow_history/correlator.js +2 -2
- package/dist/services/workflow_history.d.ts +28 -0
- package/dist/services/workflow_history.js +95 -12
- package/dist/services/workflow_history.spec.js +183 -1
- package/dist/utils/color.d.ts +7 -0
- package/dist/utils/color.js +12 -0
- package/dist/utils/color.spec.d.ts +1 -0
- package/dist/utils/color.spec.js +43 -0
- package/dist/utils/format_workflow_result.d.ts +1 -0
- package/dist/utils/format_workflow_result.js +4 -0
- package/dist/utils/monitor_log.d.ts +20 -0
- package/dist/utils/monitor_log.js +48 -0
- package/dist/utils/monitor_log.spec.d.ts +1 -0
- package/dist/utils/monitor_log.spec.js +71 -0
- package/dist/utils/waterfall.d.ts +3 -1
- package/dist/utils/waterfall.js +8 -2
- package/dist/views/dev/hooks/use_run_detail.js +7 -8
- package/dist/views/dev/hooks/use_step_graph.js +3 -1
- package/dist/views/dev/utils/bounded_cache.d.ts +14 -0
- package/dist/views/dev/utils/bounded_cache.js +42 -0
- package/dist/views/dev/utils/bounded_cache.spec.d.ts +1 -0
- package/dist/views/dev/utils/bounded_cache.spec.js +53 -0
- package/oclif.manifest.json +75 -1
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -905,6 +905,80 @@
|
|
|
905
905
|
"list.js"
|
|
906
906
|
]
|
|
907
907
|
},
|
|
908
|
+
"workflow:monitor": {
|
|
909
|
+
"aliases": [],
|
|
910
|
+
"args": {
|
|
911
|
+
"workflowId": {
|
|
912
|
+
"description": "The workflow ID to monitor",
|
|
913
|
+
"name": "workflowId",
|
|
914
|
+
"required": true
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"description": "Attach to a workflow run and stream status updates until it ends",
|
|
918
|
+
"examples": [
|
|
919
|
+
"<%= config.bin %> <%= command.id %> wf-12345",
|
|
920
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --run-id 2fe0b36b-...",
|
|
921
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --format json"
|
|
922
|
+
],
|
|
923
|
+
"flags": {
|
|
924
|
+
"run-id": {
|
|
925
|
+
"char": "r",
|
|
926
|
+
"description": "Monitor a specific run (defaults to the latest run; continue-as-new chains are followed regardless)",
|
|
927
|
+
"name": "run-id",
|
|
928
|
+
"hasDynamicHelp": false,
|
|
929
|
+
"multiple": false,
|
|
930
|
+
"type": "option"
|
|
931
|
+
},
|
|
932
|
+
"format": {
|
|
933
|
+
"char": "f",
|
|
934
|
+
"description": "Output format",
|
|
935
|
+
"name": "format",
|
|
936
|
+
"default": "text",
|
|
937
|
+
"hasDynamicHelp": false,
|
|
938
|
+
"multiple": false,
|
|
939
|
+
"options": [
|
|
940
|
+
"text",
|
|
941
|
+
"json"
|
|
942
|
+
],
|
|
943
|
+
"type": "option"
|
|
944
|
+
},
|
|
945
|
+
"include-payloads": {
|
|
946
|
+
"description": "Include decoded step input/output payloads",
|
|
947
|
+
"name": "include-payloads",
|
|
948
|
+
"allowNo": false,
|
|
949
|
+
"type": "boolean"
|
|
950
|
+
},
|
|
951
|
+
"interval": {
|
|
952
|
+
"description": "Poll interval in milliseconds. Once a resumed poll is long-polling server-side for new events, this also bounds how long that block may last (capped at the server's configured max), so an idle workflow's update cadence is roughly twice this value (the long-poll bound, then this sleep) rather than a much longer, separate server default.",
|
|
953
|
+
"name": "interval",
|
|
954
|
+
"default": 2500,
|
|
955
|
+
"hasDynamicHelp": false,
|
|
956
|
+
"multiple": false,
|
|
957
|
+
"type": "option"
|
|
958
|
+
},
|
|
959
|
+
"color": {
|
|
960
|
+
"description": "Colorize status output (use --no-color to disable)",
|
|
961
|
+
"name": "color",
|
|
962
|
+
"allowNo": true,
|
|
963
|
+
"type": "boolean"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"hasDynamicHelp": false,
|
|
967
|
+
"hiddenAliases": [],
|
|
968
|
+
"id": "workflow:monitor",
|
|
969
|
+
"pluginAlias": "@outputai/cli",
|
|
970
|
+
"pluginName": "@outputai/cli",
|
|
971
|
+
"pluginType": "core",
|
|
972
|
+
"strict": true,
|
|
973
|
+
"enableJsonFlag": false,
|
|
974
|
+
"isESM": true,
|
|
975
|
+
"relativePath": [
|
|
976
|
+
"dist",
|
|
977
|
+
"commands",
|
|
978
|
+
"workflow",
|
|
979
|
+
"monitor.js"
|
|
980
|
+
]
|
|
981
|
+
},
|
|
908
982
|
"workflow:plan": {
|
|
909
983
|
"aliases": [],
|
|
910
984
|
"args": {},
|
|
@@ -1597,5 +1671,5 @@
|
|
|
1597
1671
|
]
|
|
1598
1672
|
}
|
|
1599
1673
|
},
|
|
1600
|
-
"version": "0.10.1-next.
|
|
1674
|
+
"version": "0.10.1-next.52bedcf.0"
|
|
1601
1675
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outputai/cli",
|
|
3
|
-
"version": "0.10.1-next.
|
|
3
|
+
"version": "0.10.1-next.52bedcf.0",
|
|
4
4
|
"description": "CLI for Output.ai workflow generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"semver": "7.7.4",
|
|
39
39
|
"undici": "8.5.0",
|
|
40
40
|
"yaml": "^2.8.3",
|
|
41
|
-
"@outputai/credentials": "0.10.1-next.
|
|
42
|
-
"@outputai/
|
|
43
|
-
"@outputai/
|
|
41
|
+
"@outputai/credentials": "0.10.1-next.52bedcf.0",
|
|
42
|
+
"@outputai/llm": "0.10.1-next.52bedcf.0",
|
|
43
|
+
"@outputai/evals": "0.10.1-next.52bedcf.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/cli-progress": "3.11.6",
|