mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
Add comprehensive tests for ast-grep and tree-sitter relationship extraction
- Introduced test suite for AstGrepPythonProcessor covering pattern definitions, parsing, and relationship extraction. - Added comparison tests between tree-sitter and ast-grep for consistency in relationship extraction. - Implemented tests for ast-grep binding module to verify functionality and availability. - Ensured tests cover various scenarios including inheritance, function calls, and imports.
This commit is contained in:
@@ -22,19 +22,31 @@
|
||||
"tabs": {
|
||||
"memories": "Memories",
|
||||
"favorites": "Favorites",
|
||||
"archived": "Archived"
|
||||
"archived": "Archived",
|
||||
"unifiedSearch": "Unified Search"
|
||||
},
|
||||
"stats": {
|
||||
"totalSize": "Total Size",
|
||||
"count": "Count",
|
||||
"claudeMdCount": "CLAUDE.md Files",
|
||||
"totalEntries": "Total Entries"
|
||||
"totalEntries": "Total Entries",
|
||||
"vectorChunks": "Vector Chunks",
|
||||
"hnswStatus": "HNSW Index",
|
||||
"entities": "Entities",
|
||||
"prompts": "Prompts"
|
||||
},
|
||||
"filters": {
|
||||
"search": "Search memories...",
|
||||
"searchUnified": "Semantic search across all memory types...",
|
||||
"tags": "Tags",
|
||||
"clear": "Clear",
|
||||
"all": "All"
|
||||
"all": "All",
|
||||
"categoryAll": "All Categories",
|
||||
"categoryCoreMemory": "Core Memory",
|
||||
"categoryCliHistory": "CLI History",
|
||||
"categoryWorkflow": "Workflow",
|
||||
"categoryEntity": "Entity",
|
||||
"categoryPattern": "Pattern"
|
||||
},
|
||||
"card": {
|
||||
"id": "ID",
|
||||
@@ -82,5 +94,20 @@
|
||||
"coreMemory": "Core Memory",
|
||||
"workflow": "Workflow",
|
||||
"cliHistory": "CLI History"
|
||||
},
|
||||
"unified": {
|
||||
"score": "Score",
|
||||
"noResults": "No results found. Try a different search query.",
|
||||
"searching": "Searching...",
|
||||
"resultCount": "{count} results",
|
||||
"recommendations": "Related",
|
||||
"noRecommendations": "No recommendations available",
|
||||
"reindex": "Rebuild Index",
|
||||
"reindexing": "Rebuilding...",
|
||||
"reindexSuccess": "Index rebuilt successfully",
|
||||
"reindexError": "Failed to rebuild index",
|
||||
"vectorRank": "Vector #{rank}",
|
||||
"ftsRank": "FTS #{rank}",
|
||||
"heatScore": "Heat: {score}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,45 @@
|
||||
"on": "On",
|
||||
"off": "Off"
|
||||
},
|
||||
"remoteNotifications": {
|
||||
"title": "Remote Notifications",
|
||||
"description": "Send notifications to external platforms like Discord, Telegram, or custom webhooks when events occur.",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"platforms": "Platform Configuration",
|
||||
"events": "Event Triggers",
|
||||
"noPlatforms": "No platforms",
|
||||
"configured": "Configured",
|
||||
"save": "Save",
|
||||
"saving": "Saving...",
|
||||
"saved": "Configuration saved",
|
||||
"saveError": "Failed to save configuration",
|
||||
"reset": "Reset to Defaults",
|
||||
"resetConfirm": "Reset all remote notification settings to defaults?",
|
||||
"resetSuccess": "Settings reset to defaults",
|
||||
"resetError": "Failed to reset settings",
|
||||
"testConnection": "Test Connection",
|
||||
"testSuccess": "Test notification sent successfully",
|
||||
"testFailed": "Test notification failed",
|
||||
"testError": "Failed to send test notification",
|
||||
"discord": {
|
||||
"webhookUrl": "Webhook URL",
|
||||
"webhookUrlHint": "Create a webhook in your Discord channel settings",
|
||||
"username": "Custom Username (optional)"
|
||||
},
|
||||
"telegram": {
|
||||
"botToken": "Bot Token",
|
||||
"botTokenHint": "Get from @BotFather on Telegram",
|
||||
"chatId": "Chat ID",
|
||||
"chatIdHint": "User or group chat ID (use @userinfobot to find it)"
|
||||
},
|
||||
"webhook": {
|
||||
"url": "Webhook URL",
|
||||
"method": "HTTP Method",
|
||||
"headers": "Custom Headers (JSON)",
|
||||
"headersHint": "Optional JSON object with custom headers"
|
||||
}
|
||||
},
|
||||
"versionCheck": {
|
||||
"title": "Version Update",
|
||||
"currentVersion": "Current Version",
|
||||
|
||||
@@ -22,19 +22,31 @@
|
||||
"tabs": {
|
||||
"memories": "记忆",
|
||||
"favorites": "收藏",
|
||||
"archived": "归档"
|
||||
"archived": "归档",
|
||||
"unifiedSearch": "统一搜索"
|
||||
},
|
||||
"stats": {
|
||||
"totalSize": "总大小",
|
||||
"count": "数量",
|
||||
"claudeMdCount": "CLAUDE.md 文件",
|
||||
"totalEntries": "总条目"
|
||||
"totalEntries": "总条目",
|
||||
"vectorChunks": "向量块",
|
||||
"hnswStatus": "HNSW 索引",
|
||||
"entities": "实体",
|
||||
"prompts": "提示"
|
||||
},
|
||||
"filters": {
|
||||
"search": "搜索记忆...",
|
||||
"searchUnified": "跨所有记忆类型语义搜索...",
|
||||
"tags": "标签",
|
||||
"clear": "清除",
|
||||
"all": "全部"
|
||||
"all": "全部",
|
||||
"categoryAll": "所有类别",
|
||||
"categoryCoreMemory": "核心记忆",
|
||||
"categoryCliHistory": "CLI 历史",
|
||||
"categoryWorkflow": "工作流",
|
||||
"categoryEntity": "实体",
|
||||
"categoryPattern": "模式"
|
||||
},
|
||||
"card": {
|
||||
"id": "ID",
|
||||
@@ -82,5 +94,20 @@
|
||||
"coreMemory": "核心记忆",
|
||||
"workflow": "工作流",
|
||||
"cliHistory": "CLI 历史"
|
||||
},
|
||||
"unified": {
|
||||
"score": "分数",
|
||||
"noResults": "未找到结果。请尝试不同的搜索查询。",
|
||||
"searching": "搜索中...",
|
||||
"resultCount": "{count} 条结果",
|
||||
"recommendations": "相关",
|
||||
"noRecommendations": "暂无推荐",
|
||||
"reindex": "重建索引",
|
||||
"reindexing": "重建中...",
|
||||
"reindexSuccess": "索引重建成功",
|
||||
"reindexError": "索引重建失败",
|
||||
"vectorRank": "向量 #{rank}",
|
||||
"ftsRank": "全文 #{rank}",
|
||||
"heatScore": "热度: {score}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,45 @@
|
||||
"on": "开启",
|
||||
"off": "关闭"
|
||||
},
|
||||
"remoteNotifications": {
|
||||
"title": "远程通知",
|
||||
"description": "当事件发生时,发送通知到 Discord、Telegram 或自定义 Webhook 等外部平台。",
|
||||
"enabled": "已启用",
|
||||
"disabled": "已禁用",
|
||||
"platforms": "平台配置",
|
||||
"events": "事件触发器",
|
||||
"noPlatforms": "无平台",
|
||||
"configured": "已配置",
|
||||
"save": "保存",
|
||||
"saving": "保存中...",
|
||||
"saved": "配置已保存",
|
||||
"saveError": "保存配置失败",
|
||||
"reset": "重置为默认值",
|
||||
"resetConfirm": "确定要将所有远程通知设置重置为默认值吗?",
|
||||
"resetSuccess": "设置已重置为默认值",
|
||||
"resetError": "重置设置失败",
|
||||
"testConnection": "测试连接",
|
||||
"testSuccess": "测试通知发送成功",
|
||||
"testFailed": "测试通知发送失败",
|
||||
"testError": "发送测试通知失败",
|
||||
"discord": {
|
||||
"webhookUrl": "Webhook URL",
|
||||
"webhookUrlHint": "在 Discord 频道设置中创建 Webhook",
|
||||
"username": "自定义用户名(可选)"
|
||||
},
|
||||
"telegram": {
|
||||
"botToken": "Bot Token",
|
||||
"botTokenHint": "从 Telegram 的 @BotFather 获取",
|
||||
"chatId": "Chat ID",
|
||||
"chatIdHint": "用户或群组 Chat ID(使用 @userinfobot 查找)"
|
||||
},
|
||||
"webhook": {
|
||||
"url": "Webhook URL",
|
||||
"method": "HTTP 方法",
|
||||
"headers": "自定义请求头(JSON)",
|
||||
"headersHint": "可选的 JSON 对象,包含自定义请求头"
|
||||
}
|
||||
},
|
||||
"versionCheck": {
|
||||
"title": "版本更新",
|
||||
"currentVersion": "当前版本",
|
||||
|
||||
Reference in New Issue
Block a user