diff --git a/ccw/src/core/routes/orchestrator-routes.ts b/ccw/src/core/routes/orchestrator-routes.ts index 2271d58b..5a574a56 100644 --- a/ccw/src/core/routes/orchestrator-routes.ts +++ b/ccw/src/core/routes/orchestrator-routes.ts @@ -147,6 +147,16 @@ export interface PromptTemplateNodeData { */ slashArgs?: string; + /** + * Instruction type for native CLI session routing + */ + instructionType?: 'prompt' | 'skill'; + + /** + * Skill name for skill-type instructions + */ + skillName?: string; + /** * Error handling behavior */ diff --git a/ccw/src/tools/cli-executor-core.ts b/ccw/src/tools/cli-executor-core.ts index 287d4fe2..44a73eaf 100644 --- a/ccw/src/tools/cli-executor-core.ts +++ b/ccw/src/tools/cli-executor-core.ts @@ -901,7 +901,7 @@ async function executeCliTool( } // Use default effort from config if not explicitly provided, fallback to 'high' if (!effectiveEffort) { - effectiveEffort = toolConfig.effort || 'high'; + effectiveEffort = (toolConfig.effort as typeof effectiveEffort) || 'high'; debugLog('EFFORT', `Using effort level`, { effort: effectiveEffort, source: toolConfig.effort ? 'config' : 'default' }); } }