mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: 增加调试日志以跟踪活动执行状态和钩子事件
This commit is contained in:
@@ -268,6 +268,7 @@ export async function handleHooksRoutes(ctx: HooksRouteContext): Promise<boolean
|
||||
|
||||
// Update active executions state for CLI streaming events (terminal execution)
|
||||
if (type === 'CLI_EXECUTION_STARTED' || type === 'CLI_OUTPUT' || type === 'CLI_EXECUTION_COMPLETED') {
|
||||
console.log(`[Hooks] CLI event: ${type}, executionId: ${extraData.executionId}`);
|
||||
try {
|
||||
const { updateActiveExecution } = await import('./cli-routes.js');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user