mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
fix: resolve 3 TypeScript build errors
- Add instructionType and skillName optional props to PromptTemplateNodeData - Fix effort type assertion in cli-executor-core
This commit is contained in:
@@ -147,6 +147,16 @@ export interface PromptTemplateNodeData {
|
|||||||
*/
|
*/
|
||||||
slashArgs?: string;
|
slashArgs?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instruction type for native CLI session routing
|
||||||
|
*/
|
||||||
|
instructionType?: 'prompt' | 'skill';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Skill name for skill-type instructions
|
||||||
|
*/
|
||||||
|
skillName?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Error handling behavior
|
* Error handling behavior
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -901,7 +901,7 @@ async function executeCliTool(
|
|||||||
}
|
}
|
||||||
// Use default effort from config if not explicitly provided, fallback to 'high'
|
// Use default effort from config if not explicitly provided, fallback to 'high'
|
||||||
if (!effectiveEffort) {
|
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' });
|
debugLog('EFFORT', `Using effort level`, { effort: effectiveEffort, source: toolConfig.effort ? 'config' : 'default' });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user