feat: compose presentation from storyboard scenes
This commit is contained in:
@@ -6,8 +6,7 @@ export type PresentationToolAction =
|
||||
| { readonly type: "selectWorkflowNode"; readonly nodeId: string }
|
||||
| { readonly type: "focusOperation"; readonly eventId: string }
|
||||
| { readonly type: "openEvidence"; readonly eventId: string }
|
||||
| { readonly type: "showTraceFrame"; readonly frameIndex: number }
|
||||
| { readonly type: "setBeat"; readonly beatId: string };
|
||||
| { readonly type: "showTraceFrame"; readonly frameIndex: number };
|
||||
|
||||
export type AgentToolCall = {
|
||||
readonly id: string;
|
||||
|
||||
@@ -8,8 +8,7 @@ export type PresentationToolName =
|
||||
| "selectWorkflowNode"
|
||||
| "focusOperation"
|
||||
| "openEvidence"
|
||||
| "showTraceFrame"
|
||||
| "setBeat";
|
||||
| "showTraceFrame";
|
||||
|
||||
export type AgentToolName = WorkflowToolName | PresentationToolName;
|
||||
|
||||
@@ -60,11 +59,6 @@ export const AGENT_TOOLS = {
|
||||
kind: "presentation",
|
||||
description: "Focus a trace frame in the presentation.",
|
||||
},
|
||||
setBeat: {
|
||||
name: "setBeat",
|
||||
kind: "presentation",
|
||||
description: "Move the presentation to a named beat.",
|
||||
},
|
||||
} satisfies Record<AgentToolName, AgentToolDescriptor>;
|
||||
|
||||
export const isAllowedAgentToolName = (name: string): name is AgentToolName =>
|
||||
|
||||
Reference in New Issue
Block a user