|
9 | 9 | import { debug } from '../../shared/logging/logger.js'; |
10 | 10 | import type { WorkflowEventBus } from '../events/event-bus.js'; |
11 | 11 | import type { OnboardConfig, OnboardResult, OnboardStep } from '../events/types.js'; |
12 | | -import type { TracksConfig, ConditionGroup, ChildConditionGroup } from '../templates/types.js'; |
| 12 | +import type { TracksConfig, ConditionGroup } from '../templates/types.js'; |
13 | 13 | import type { AgentDefinition } from '../../shared/agents/config/types.js'; |
14 | 14 | import { OnboardingEmitter } from './emitter.js'; |
15 | 15 | import { initControllerAgent } from '../../shared/workflows/controller.js'; |
@@ -168,7 +168,7 @@ export class OnboardingService { |
168 | 168 | */ |
169 | 169 | selectCondition(conditionId: string): void { |
170 | 170 | const step = this.state.currentStep; |
171 | | - const isChild = step === 'condition_child'; |
| 171 | + const _isChild = step === 'condition_child'; |
172 | 172 | const groupIndex = this.state.currentGroupIndex; |
173 | 173 |
|
174 | 174 | if (step === 'condition_group') { |
@@ -256,7 +256,7 @@ export class OnboardingService { |
256 | 256 | return; |
257 | 257 | } |
258 | 258 |
|
259 | | - const controllerName = agent.name; |
| 259 | + const controllerName = agent.name as string; |
260 | 260 | debug('[OnboardingService] launching controller: "%s"', controllerName); |
261 | 261 |
|
262 | 262 | // Emit launching started |
@@ -380,7 +380,7 @@ export class OnboardingService { |
380 | 380 | case 'controller': |
381 | 381 | return (this.config.controllerAgents ?? []).map((a) => [ |
382 | 382 | a.id, |
383 | | - { label: a.name, description: a.description as string | undefined }, |
| 383 | + { label: a.name as string, description: a.description as string | undefined }, |
384 | 384 | ]); |
385 | 385 | default: |
386 | 386 | return []; |
|
0 commit comments