Describe embeddings sync checkpoints as periodic and report cached node count.

Pipeline checkpoints every 5,000 nodes, and fetchExistingEmbeddingHashes is keyed by nodeId, not vector rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Gergo Magyar 2026-09-10 17:17:17 +00:00
parent 3938395fcc
commit a5e13a818f
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ export const embeddingsSyncCommand = async (inputPath?: string): Promise<void> =
};
cliInfo(`Embedding ${repoPath}`);
cliInfo(`Checkpointed vectors already present: ${existing?.size ?? 0}`);
cliInfo(`Checkpointed nodes already present: ${existing?.size ?? 0}`);
const result = await runEmbeddingPipeline(
executeQuery,

View file

@ -169,7 +169,7 @@ export const en = {
'`gitnexus watch` is ambiguous.\n Local working-tree incremental index: gitnexus analyze --watch\n Scheduled remote clone/pull + analyze: gitnexus auto-sync start\n',
'help.command.analyze.description': 'Index a repository (full analysis)',
'help.command.embeddings.sync.description':
'Add missing embeddings to an existing index, checkpointing each batch for safe resume',
'Add missing embeddings to an existing index, checkpointing periodically for safe resume',
'help.command.index.description':
'Register an existing .gitnexus/ folder into the global registry (no re-analysis needed)',
'help.command.serve.description': 'Start local HTTP server for web UI connection',

View file

@ -165,7 +165,7 @@ export const zhCN = {
'`gitnexus watch` 含义不明确。\n 本地工作区增量索引:gitnexus analyze --watch\n 定时远程 clone/pull 并分析:gitnexus auto-sync start\n',
'help.command.analyze.description': '索引仓库(完整分析)',
'help.command.embeddings.sync.description':
'向现有索引添加缺失的嵌入,并逐批次保存检查点以安全续跑',
'向现有索引添加缺失的嵌入,并定期保存检查点以安全续跑',
'help.command.index.description': '将现有 .gitnexus/ 文件夹注册到全局注册表(无需重新分析)',
'help.command.serve.description': '启动供 Web UI 连接的本地 HTTP 服务器',
'help.command.mcp.description':