feat: Enhance CodexLens indexing and search capabilities with new CLI options and improved error handling

This commit is contained in:
catlog22
2025-12-19 15:10:37 +08:00
parent c7ced2bfbb
commit 2f0cce0089
18 changed files with 480 additions and 128 deletions

View File

@@ -322,6 +322,10 @@ const i18n = {
'index.cleanFailed': 'Clean failed',
'index.cleanAllConfirm': 'Are you sure you want to clean ALL indexes? This cannot be undone.',
'index.cleanAllSuccess': 'All indexes cleaned',
'index.vectorIndex': 'Vector',
'index.normalIndex': 'FTS',
'index.vectorDesc': 'Semantic search with embeddings',
'index.normalDesc': 'Fast full-text search only',
// Semantic Search Configuration
'semantic.settings': 'Semantic Search Settings',
@@ -343,6 +347,12 @@ const i18n = {
'lang.disableSuccess': 'Chinese response disabled',
'lang.enableFailed': 'Failed to enable Chinese response',
'lang.disableFailed': 'Failed to disable Chinese response',
'lang.windows': 'Windows Platform',
'lang.windowsDesc': 'Enable Windows path format guidelines in global CLAUDE.md',
'lang.windowsEnableSuccess': 'Windows platform guidelines enabled',
'lang.windowsDisableSuccess': 'Windows platform guidelines disabled',
'lang.windowsEnableFailed': 'Failed to enable Windows platform guidelines',
'lang.windowsDisableFailed': 'Failed to disable Windows platform guidelines',
'cli.promptFormat': 'Prompt Format',
'cli.promptFormatDesc': 'Format for multi-turn conversation concatenation',
'cli.storageBackend': 'Storage Backend',
@@ -1597,6 +1607,10 @@ const i18n = {
'index.cleanFailed': '清理失败',
'index.cleanAllConfirm': '确定要清理所有索引吗?此操作无法撤销。',
'index.cleanAllSuccess': '所有索引已清理',
'index.vectorIndex': '向量索引',
'index.normalIndex': '全文索引',
'index.vectorDesc': '语义搜索(含嵌入向量)',
'index.normalDesc': '快速全文搜索',
// Semantic Search 配置
'semantic.settings': '语义搜索设置',
@@ -1618,6 +1632,12 @@ const i18n = {
'lang.disableSuccess': '中文回复已禁用',
'lang.enableFailed': '启用中文回复失败',
'lang.disableFailed': '禁用中文回复失败',
'lang.windows': 'Windows 平台规范',
'lang.windowsDesc': '在全局 CLAUDE.md 中启用 Windows 路径格式规范',
'lang.windowsEnableSuccess': 'Windows 平台规范已启用',
'lang.windowsDisableSuccess': 'Windows 平台规范已禁用',
'lang.windowsEnableFailed': '启用 Windows 平台规范失败',
'lang.windowsDisableFailed': '禁用 Windows 平台规范失败',
'cli.promptFormat': '提示词格式',
'cli.promptFormatDesc': '多轮对话拼接格式',
'cli.storageBackend': '存储后端',