@geminilight/mindos 0.6.25 → 0.6.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +19 -3
  2. package/README_zh.md +19 -3
  3. package/app/app/api/a2a/discover/route.ts +23 -0
  4. package/app/components/CreateSpaceModal.tsx +1 -0
  5. package/app/components/ImportModal.tsx +3 -0
  6. package/app/components/OnboardingView.tsx +1 -0
  7. package/app/components/RightAskPanel.tsx +4 -2
  8. package/app/components/SidebarLayout.tsx +11 -2
  9. package/app/components/agents/AgentDetailContent.tsx +48 -1
  10. package/app/components/agents/AgentsContentPage.tsx +3 -0
  11. package/app/components/agents/AgentsOverviewSection.tsx +11 -0
  12. package/app/components/agents/DiscoverAgentModal.tsx +149 -0
  13. package/app/components/ask/AskContent.tsx +29 -9
  14. package/app/components/ask/SessionTabBar.tsx +70 -0
  15. package/app/components/echo/EchoInsightCollapsible.tsx +4 -0
  16. package/app/components/help/HelpContent.tsx +65 -9
  17. package/app/components/panels/AgentsPanel.tsx +25 -2
  18. package/app/components/panels/AgentsPanelAgentListRow.tsx +10 -1
  19. package/app/components/renderers/workflow/WorkflowRenderer.tsx +5 -0
  20. package/app/components/settings/AiTab.tsx +1 -0
  21. package/app/components/settings/KnowledgeTab.tsx +2 -0
  22. package/app/components/settings/SyncTab.tsx +2 -0
  23. package/app/components/setup/StepDots.tsx +5 -1
  24. package/app/data/skills/mindos/SKILL.md +186 -0
  25. package/app/data/skills/mindos-zh/SKILL.md +185 -0
  26. package/app/hooks/useA2aRegistry.ts +53 -0
  27. package/app/hooks/useAskSession.ts +44 -25
  28. package/app/lib/a2a/a2a-tools.ts +212 -0
  29. package/app/lib/a2a/client.ts +207 -0
  30. package/app/lib/a2a/index.ts +8 -0
  31. package/app/lib/a2a/orchestrator.ts +255 -0
  32. package/app/lib/a2a/types.ts +54 -0
  33. package/app/lib/agent/tools.ts +6 -4
  34. package/app/lib/i18n-en.ts +52 -0
  35. package/app/lib/i18n-zh.ts +52 -0
  36. package/app/next-env.d.ts +1 -1
  37. package/bin/cli.js +180 -171
  38. package/bin/commands/agent.js +110 -18
  39. package/bin/commands/api.js +5 -3
  40. package/bin/commands/ask.js +3 -3
  41. package/bin/commands/file.js +13 -13
  42. package/bin/commands/search.js +2 -2
  43. package/bin/commands/space.js +64 -10
  44. package/bin/lib/command.js +10 -0
  45. package/package.json +1 -1
@@ -265,6 +265,27 @@ export const zh = {
265
265
  agentDetailPanelAria: '智能体连接配置',
266
266
  agentDetailTransport: '传输方式',
267
267
  agentDetailSnippet: '配置片段',
268
+ // A2A
269
+ a2aLabel: 'A2A',
270
+ a2aReady: 'A2A 就绪',
271
+ a2aChecking: '检测 A2A 中...',
272
+ a2aUnavailable: 'A2A 不可用',
273
+ a2aRemote: '远程',
274
+ a2aDiscover: '发现远程 Agent',
275
+ a2aDiscoverHint: '通过 URL 连接外部 A2A Agent',
276
+ a2aDiscoverPlaceholder: 'https://agent.example.com',
277
+ a2aDiscovering: '发现中...',
278
+ a2aDiscoverSuccess: 'Agent 已发现!',
279
+ a2aDiscoverFailed: '未在此 URL 找到 A2A Agent',
280
+ a2aDiscoverFailedHint: '该服务器可能不支持 A2A 协议,请检查 URL 后重试。',
281
+ a2aSkills: '技能',
282
+ a2aEndpoint: '端点',
283
+ a2aVersion: '版本',
284
+ a2aCapabilities: 'A2A 能力',
285
+ a2aStatus: '状态',
286
+ a2aConnected: '已连接,A2A 就绪',
287
+ a2aNoRemote: '无远程 Agent',
288
+ a2aNoRemoteHint: '发现远程 Agent 以启用跨 Agent 委派。',
268
289
  },
269
290
  plugins: {
270
291
  title: '插件',
@@ -1487,4 +1508,35 @@ prompt: '这是我的简历,读一下,把我的信息整理到 MindOS 里。
1487
1508
  ],
1488
1509
  },
1489
1510
  },
1511
+
1512
+ /** 禁用态和上下文提示文案 */
1513
+ hints: {
1514
+ noValidFiles: '未选择有效文件',
1515
+ aiOrganizing: 'AI 正在整理中',
1516
+ importInProgress: '正在导入',
1517
+ templateInitializing: '正在初始化另一个模板',
1518
+ configureAiKey: '请在 设置 → AI 中配置 API 密钥',
1519
+ syncInProgress: '正在同步中',
1520
+ toggleInProgress: '正在切换中',
1521
+ typeMessage: '请输入消息',
1522
+ mentionInProgress: '正在输入提及或命令',
1523
+ cleanupInProgress: '正在清理中',
1524
+ tokenResetInProgress: '正在重置令牌',
1525
+ aiNotConfigured: 'AI 未配置或正在生成',
1526
+ generationInProgress: '正在生成或 AI 未配置',
1527
+ cannotJumpForward: '无法跳过前序步骤',
1528
+ testInProgressOrNoKey: '正在测试或未配置 API 密钥',
1529
+ workflowStepRunning: '工作流步骤正在运行',
1530
+ workflowRunning: '工作流步骤正在运行',
1531
+ sessionHistory: '会话历史',
1532
+ newSession: '新会话',
1533
+ attachFile: '附加本地文件',
1534
+ maximizePanel: '最大化面板',
1535
+ restorePanel: '还原面板',
1536
+ dockToSide: '停靠到侧边栏',
1537
+ openAsPopup: '弹窗模式',
1538
+ closePanel: '关闭',
1539
+ newChat: '新对话',
1540
+ closeSession: '关闭会话',
1541
+ },
1490
1542
  } as const satisfies Widen<typeof en>;
package/app/next-env.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
- import "./.next/dev/types/routes.d.ts";
3
+ import "./.next/types/routes.d.ts";
4
4
 
5
5
  // NOTE: This file should not be edited
6
6
  // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.