mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
feat: 添加钩子命令,简化 Claude Code 钩子操作接口,支持会话上下文加载和通知功能
This commit is contained in:
@@ -450,6 +450,16 @@ function parseProgressLine(line: string): ProgressInfo | null {
|
||||
return { stage: 'finalizing', message: 'Finalizing vector index...', percent: 90 };
|
||||
}
|
||||
|
||||
// Parse embeddings complete message
|
||||
const embedCompleteMatch = line.match(/Embeddings complete:\s*(\d+)\s*chunks/i);
|
||||
if (embedCompleteMatch) {
|
||||
return {
|
||||
stage: 'embeddings_complete',
|
||||
message: `Embeddings complete: ${embedCompleteMatch[1]} chunks`,
|
||||
percent: 95,
|
||||
};
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user