(options: Omit<BlockFactoryOptions, 'type'> = {})
| 79 | * Creates a starter block (workflow entry point). |
| 80 | */ |
| 81 | export function createStarterBlock(options: Omit<BlockFactoryOptions, 'type'> = {}): any { |
| 82 | return createBlock({ |
| 83 | ...options, |
| 84 | type: 'starter', |
| 85 | name: options.name ?? 'Start', |
| 86 | }) |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Creates an agent block (AI agent execution). |
no test coverage detected