重构: tool_registry拆分及多批改进

This commit is contained in:
2026-06-19 00:10:14 +08:00
parent a2871a66e0
commit 60b01d03ee
33 changed files with 703 additions and 247 deletions

View File

@@ -32,6 +32,10 @@ export default {
noIdeas: 'No ideas yet, click above to capture',
noData: 'No data',
},
// Error fallback (refresh/onMounted load failures surfaced to user)
err: {
loadFailed: 'Failed to load data, please retry later',
},
stage: {
planning: 'Planning',
coding: 'Coding',

View File

@@ -16,6 +16,11 @@ export default {
// Empty state
emptyState: 'Select an idea to view details',
// List empty / async button placeholders
listEmpty: '📭 No ideas yet. Click "Capture Idea" at the top right to start.',
creating: 'Creating…',
deleting: 'Deleting…',
promoting: 'Promoting…',
// Adversarial evaluation
adversarialTitle: '⚖️ Adversarial Evaluation',

View File

@@ -32,6 +32,10 @@ export default {
noIdeas: '暂无灵感,点击上方按钮捕捉',
noData: '暂无数据',
},
// 错误回退(refresh/onMounted 加载失败对用户可见)
err: {
loadFailed: '加载数据失败,请稍后重试',
},
stage: {
planning: '规划中',
coding: '编码中',

View File

@@ -16,6 +16,11 @@ export default {
// 空状态
emptyState: '选择一个灵感查看详情',
// 列表空态/异步按钮占位
listEmpty: '📭 还没有灵感,点击右上角「捕捉灵感」开始记录',
creating: '创建中…',
deleting: '删除中…',
promoting: '立项中…',
// 对抗式评估
adversarialTitle: '⚖️ 对抗式评估',