@agimon-ai/po-workflow 0.0.0-alpha.181 → 0.0.0-alpha.183

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.
@@ -4132,6 +4132,12 @@ function workflowStructuredView(toolName, args, result) {
4132
4132
  if (action === "pause" || action === "resume" || action === "stop") return void 0;
4133
4133
  return workflowGenericView(payload);
4134
4134
  }
4135
+ /** A launched workflow is the one workflow call that reads as news; lookups and run controls stay compact. */
4136
+ function workflowActivity({ toolName, args, result, running, isError }) {
4137
+ if (isError || toolName !== "launch_workflow") return [];
4138
+ const summary = launchSummary(textBlocks(result).join("\n"), args);
4139
+ return [running ? `Launching workflow ${summary.name}` : `Workflow ${summary.name}: ${summary.state.label}`];
4140
+ }
4135
4141
  //#endregion
4136
4142
  //#region src/extensions/workspaces/sessions/(frontend)/tool/_lib/workflowChildToolView.ts
4137
4143
  /**
@@ -4892,7 +4898,8 @@ var workflow_native_default = defineToolRenderer({
4892
4898
  "workflow_tools",
4893
4899
  "scaffold_workflow"
4894
4900
  ],
4895
- message: WorkflowToolMessage
4901
+ message: WorkflowToolMessage,
4902
+ activity: workflowActivity
4896
4903
  });
4897
4904
  //#endregion
4898
4905
  //#region generated/native.ts