feat(dashboard): show system prompt per role in workflow detail

- Add systemPrompt to WorkflowRoleDescriptor (protocol)
- Propagate systemPrompt through buildDescriptor and validateWorkflowDescriptor
- Display system prompt as collapsible <details> in RoleCard
This commit is contained in:
2026-05-15 09:27:03 +08:00
parent 15edc99c72
commit b65a006d45
5 changed files with 28 additions and 1 deletions
+1
View File
@@ -24,6 +24,7 @@ export type WorkflowRoleSchema = Record<string, unknown>;
export type WorkflowRoleDescriptor = {
description: string;
systemPrompt: string;
schema: WorkflowRoleSchema;
};