@agimon-ai/po-workflow 0.0.0-alpha.148 → 0.0.0-alpha.149
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.
|
@@ -13,7 +13,8 @@ var Workflows_home_native_default = defineFill({ data: {
|
|
|
13
13
|
version: 1,
|
|
14
14
|
label: "Workflows",
|
|
15
15
|
source: "workflow_runs",
|
|
16
|
-
destination: "workflows"
|
|
16
|
+
destination: "workflows",
|
|
17
|
+
icon: WorkflowIcon
|
|
17
18
|
} });
|
|
18
19
|
//#endregion
|
|
19
20
|
//#region src/types/webWorkflows.ts
|
|
@@ -3263,6 +3264,7 @@ const COLLAPSED_CATALOG_ROWS = 6;
|
|
|
3263
3264
|
const COLLAPSED_DETAIL_LINES = 8;
|
|
3264
3265
|
const WORKFLOW_TOOL_NAMES = [
|
|
3265
3266
|
"list_workflows",
|
|
3267
|
+
"workflow_requirements",
|
|
3266
3268
|
"launch_workflow",
|
|
3267
3269
|
"workflow_run",
|
|
3268
3270
|
"workflow_tools",
|
|
@@ -3347,13 +3349,14 @@ function targetScope(args) {
|
|
|
3347
3349
|
}
|
|
3348
3350
|
function toolAction(toolName, args) {
|
|
3349
3351
|
if (toolName === "list_workflows") return "list";
|
|
3352
|
+
if (toolName === "workflow_requirements") return "requirements";
|
|
3350
3353
|
if (toolName === "launch_workflow") return "launch";
|
|
3351
3354
|
if (toolName === "scaffold_workflow") return "scaffold";
|
|
3352
3355
|
return readString$1(args, "action") ?? "run";
|
|
3353
3356
|
}
|
|
3354
3357
|
function toolTarget(toolName, args) {
|
|
3355
3358
|
if (toolName === "list_workflows") return readString$1(args, "directory");
|
|
3356
|
-
if (toolName === "launch_workflow") return readString$1(args, "workflowPath");
|
|
3359
|
+
if (toolName === "launch_workflow" || toolName === "workflow_requirements") return readString$1(args, "workflowPath");
|
|
3357
3360
|
if (toolName === "scaffold_workflow") return readString$1(args, "path");
|
|
3358
3361
|
return targetScope(args);
|
|
3359
3362
|
}
|
|
@@ -4650,6 +4653,7 @@ const styles = StyleSheet.create((theme) => ({
|
|
|
4650
4653
|
var workflow_native_default = defineToolRenderer({
|
|
4651
4654
|
tools: [
|
|
4652
4655
|
"list_workflows",
|
|
4656
|
+
"workflow_requirements",
|
|
4653
4657
|
"launch_workflow",
|
|
4654
4658
|
"workflow_run",
|
|
4655
4659
|
"workflow_tools",
|