fix(triggers): add copilot as a trigger type (#3191)

* fix(triggers): add copilot as a trigger type

* update color
This commit is contained in:
Waleed
2026-02-10 21:36:38 -08:00
committed by GitHub
parent 13a91113fd
commit 3d5bd003ef
8 changed files with 18 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ const TRIGGER_VARIANT_MAP: Record<string, React.ComponentProps<typeof Badge>['va
webhook: 'orange',
mcp: 'cyan',
a2a: 'teal',
copilot: 'pink',
}
interface StatusBadgeProps {

View File

@@ -10,7 +10,7 @@ export interface WorkflowExecutionOptions {
onStream?: (se: StreamingExecution) => Promise<void>
executionId?: string
onBlockComplete?: (blockId: string, output: any) => Promise<void>
overrideTriggerType?: 'chat' | 'manual' | 'api'
overrideTriggerType?: 'chat' | 'manual' | 'api' | 'copilot'
stopAfterBlockId?: string
/** For run_from_block / run_block: start from a specific block using cached state */
runFromBlock?: {