diff --git a/src/app/cli/routing.ts b/src/app/cli/routing.ts index f860bca..29bdd2c 100644 --- a/src/app/cli/routing.ts +++ b/src/app/cli/routing.ts @@ -10,7 +10,7 @@ import { getErrorMessage } from '../../shared/utils/index.js'; import { resolveIssueTask, isIssueReference } from '../../infra/github/index.js'; import { selectAndExecuteTask, determineWorkflow, type SelectAndExecuteOptions } from '../../features/tasks/index.js'; import { executePipeline } from '../../features/pipeline/index.js'; -import { interactiveMode, type WorkflowContext } from '../../features/interactive/index.js'; +import { interactiveMode } from '../../features/interactive/index.js'; import { getWorkflowDescription } from '../../infra/config/index.js'; import { DEFAULT_WORKFLOW_NAME } from '../../shared/constants.js'; import { program, resolvedCwd, pipelineMode } from './program.js'; diff --git a/src/core/models/global-config.ts b/src/core/models/global-config.ts index cccad38..6435ce6 100644 --- a/src/core/models/global-config.ts +++ b/src/core/models/global-config.ts @@ -2,8 +2,6 @@ * Configuration types (global and project) */ -import type { WorkflowCategoryConfigNode } from './schemas.js'; - /** Custom agent configuration */ export interface CustomAgentConfig { name: string; diff --git a/src/features/workflowSelection/index.ts b/src/features/workflowSelection/index.ts index e73a1e6..cf38def 100644 --- a/src/features/workflowSelection/index.ts +++ b/src/features/workflowSelection/index.ts @@ -143,20 +143,6 @@ export function warnMissingWorkflows(missing: MissingWorkflow[]): void { } } -function countWorkflowsInTree(categories: WorkflowCategoryNode[]): number { - let count = 0; - const visit = (nodes: WorkflowCategoryNode[]): void => { - for (const node of nodes) { - count += node.workflows.length; - if (node.children.length > 0) { - visit(node.children); - } - } - }; - visit(categories); - return count; -} - function categoryContainsWorkflow(node: WorkflowCategoryNode, workflow: string): boolean { if (node.workflows.includes(workflow)) return true; for (const child of node.children) { @@ -313,7 +299,7 @@ function countWorkflowsIncludingCategories( visit(categories); let count = 0; - for (const [name, { source }] of allWorkflows) { + for (const [, { source }] of allWorkflows) { if (source === sourceFilter) { count++; } diff --git a/src/infra/claude/types.ts b/src/infra/claude/types.ts index ab7ba23..d4ddaa3 100644 --- a/src/infra/claude/types.ts +++ b/src/infra/claude/types.ts @@ -5,7 +5,7 @@ * used throughout the Claude integration layer. */ -import type { PermissionUpdate, AgentDefinition, PermissionMode as SdkPermissionMode } from '@anthropic-ai/claude-agent-sdk'; +import type { PermissionUpdate, AgentDefinition } from '@anthropic-ai/claude-agent-sdk'; import type { PermissionMode } from '../../core/models/index.js'; import type { PermissionResult } from '../../core/workflow/index.js';