@tutti-os/agent-gui 0.0.55 → 0.0.56

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/dist/{AgentMentionSearchController-DzhWr0PN.d.ts → AgentMentionSearchController-Po0KQLcL.d.ts} +13 -1
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +6 -6
  4. package/dist/agent-message-center/index.d.ts +1 -1
  5. package/dist/agent-message-center/index.js +8 -8
  6. package/dist/{chunk-PBHTLI3E.js → chunk-4URDQNBP.js} +2 -2
  7. package/dist/{chunk-2XVECUTU.js → chunk-54CMFCHF.js} +3 -1
  8. package/dist/chunk-54CMFCHF.js.map +1 -0
  9. package/dist/{chunk-H2YWXFYX.js → chunk-5PGMLZ4W.js} +2 -2
  10. package/dist/{chunk-ZFDO72FE.js → chunk-6QFURP4M.js} +16 -3
  11. package/dist/chunk-6QFURP4M.js.map +1 -0
  12. package/dist/{chunk-6AXH2BOD.js → chunk-752VTG4P.js} +5 -5
  13. package/dist/{chunk-BGZ2OSDQ.js → chunk-EVVIWZLX.js} +2 -2
  14. package/dist/{chunk-NBTJEF3H.js → chunk-MXDPRBS6.js} +140 -4
  15. package/dist/chunk-MXDPRBS6.js.map +1 -0
  16. package/dist/{chunk-CMOGPJ23.js → chunk-PQYMG6PQ.js} +2 -2
  17. package/dist/{chunk-7H4IH67L.js → chunk-PQYSB2WC.js} +13 -5
  18. package/dist/{chunk-7H4IH67L.js.map → chunk-PQYSB2WC.js.map} +1 -1
  19. package/dist/{chunk-GL54NRMB.js → chunk-S6PCOX3S.js} +40 -1
  20. package/dist/chunk-S6PCOX3S.js.map +1 -0
  21. package/dist/{chunk-WMQN7SZC.js → chunk-SITURZG6.js} +2 -2
  22. package/dist/{chunk-GBAQVKQN.js → chunk-X4C4HD6E.js} +5 -5
  23. package/dist/context-mention-palette/index.d.ts +2 -2
  24. package/dist/context-mention-palette/index.js +7 -7
  25. package/dist/i18n/index.d.ts +2 -0
  26. package/dist/i18n/index.js +2 -2
  27. package/dist/index.d.ts +43 -5
  28. package/dist/index.js +17 -11
  29. package/dist/index.js.map +1 -1
  30. package/dist/workbench/index.js +3 -3
  31. package/dist/workbench/sessionTitle.js +3 -3
  32. package/dist/workspace-agent-generated-files.js +3 -3
  33. package/dist/{workspaceLinkActions-C6POH38D.d.ts → workspaceLinkActions-Bjy_XfBm.d.ts} +8 -1
  34. package/package.json +14 -14
  35. package/dist/chunk-2XVECUTU.js.map +0 -1
  36. package/dist/chunk-GL54NRMB.js.map +0 -1
  37. package/dist/chunk-NBTJEF3H.js.map +0 -1
  38. package/dist/chunk-ZFDO72FE.js.map +0 -1
  39. /package/dist/{chunk-PBHTLI3E.js.map → chunk-4URDQNBP.js.map} +0 -0
  40. /package/dist/{chunk-H2YWXFYX.js.map → chunk-5PGMLZ4W.js.map} +0 -0
  41. /package/dist/{chunk-6AXH2BOD.js.map → chunk-752VTG4P.js.map} +0 -0
  42. /package/dist/{chunk-BGZ2OSDQ.js.map → chunk-EVVIWZLX.js.map} +0 -0
  43. /package/dist/{chunk-CMOGPJ23.js.map → chunk-PQYMG6PQ.js.map} +0 -0
  44. /package/dist/{chunk-WMQN7SZC.js.map → chunk-SITURZG6.js.map} +0 -0
  45. /package/dist/{chunk-GBAQVKQN.js.map → chunk-X4C4HD6E.js.map} +0 -0
@@ -92,7 +92,19 @@ interface AgentMentionWorkspaceAppFactoryItem {
92
92
  action?: string;
93
93
  contextPath?: string;
94
94
  }
95
- type AgentContextMentionItem = AgentMentionFileItem | AgentMentionAgentTargetItem | AgentMentionSessionItem | AgentMentionWorkspaceAppItem | AgentMentionWorkspaceReferenceItem | AgentMentionWorkspaceAppFactoryItem | AgentMentionWorkspaceIssueItem;
95
+ interface AgentMentionCustomItem {
96
+ kind: "custom";
97
+ /** 注册表里的 kind(= mention:// providerId)。 */
98
+ customKind: string;
99
+ href: string;
100
+ workspaceId: string;
101
+ targetId: string;
102
+ /** chip 第一行。 */
103
+ name: string;
104
+ /** chip 第二行(通用双行卡)。 */
105
+ summary?: string;
106
+ }
107
+ type AgentContextMentionItem = AgentMentionFileItem | AgentMentionAgentTargetItem | AgentMentionSessionItem | AgentMentionWorkspaceAppItem | AgentMentionWorkspaceReferenceItem | AgentMentionWorkspaceAppFactoryItem | AgentMentionWorkspaceIssueItem | AgentMentionCustomItem;
96
108
 
97
109
  type AgentMentionProviderDiagnosticStatus = "success" | "timeout" | "error" | "missing";
98
110
  interface AgentMentionProviderQueryDiagnostic {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, JSX } from 'react';
3
- import { W as WorkspaceLinkAction } from '../workspaceLinkActions-C6POH38D.js';
3
+ import { W as WorkspaceLinkAction } from '../workspaceLinkActions-Bjy_XfBm.js';
4
4
  import { A as AgentMessageMarkdownWorkspaceAppIcon } from '../AgentMessageMarkdown-DeYPURtF.js';
5
5
  import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Qbz9GBwR.js';
6
6
  export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Qbz9GBwR.js';
@@ -6,19 +6,19 @@ import {
6
6
  projectAgentConversationVM,
7
7
  reconcileProjectedAgentConversationVM,
8
8
  useProjectedAgentConversation
9
- } from "../chunk-GBAQVKQN.js";
10
- import "../chunk-ZFDO72FE.js";
11
- import "../chunk-NBTJEF3H.js";
9
+ } from "../chunk-X4C4HD6E.js";
10
+ import "../chunk-6QFURP4M.js";
11
+ import "../chunk-MXDPRBS6.js";
12
12
  import "../chunk-Y35GDLP2.js";
13
13
  import "../chunk-LUGELG5V.js";
14
- import "../chunk-GL54NRMB.js";
14
+ import "../chunk-S6PCOX3S.js";
15
15
  import "../chunk-TYGL25EL.js";
16
16
  import "../chunk-PJP5BUU6.js";
17
17
  import "../chunk-MTFSQWZ6.js";
18
18
  import {
19
19
  translate
20
- } from "../chunk-H2YWXFYX.js";
21
- import "../chunk-2XVECUTU.js";
20
+ } from "../chunk-5PGMLZ4W.js";
21
+ import "../chunk-54CMFCHF.js";
22
22
 
23
23
  // shared/WorkspaceAgentSessionDetail.tsx
24
24
  import { useMemo } from "react";
@@ -2,7 +2,7 @@ import * as react from 'react';
2
2
  import { JSX, ReactNode, HTMLAttributes } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
4
  import { TranslateFn, useTranslation, AgentGuiI18nLocale } from '../i18n/index.js';
5
- import { W as WorkspaceLinkAction } from '../workspaceLinkActions-C6POH38D.js';
5
+ import { W as WorkspaceLinkAction } from '../workspaceLinkActions-Bjy_XfBm.js';
6
6
  import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
7
7
  import { b as AgentConversationPromptVM } from '../agentConversationVM-Qbz9GBwR.js';
8
8
  import { o as WorkspaceAgentActivityStatus } from '../workspaceAgentActivityListViewModel-B5viw5Da.js';
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  formatAgentGuiConversationPlainTitle
3
- } from "../chunk-BGZ2OSDQ.js";
3
+ } from "../chunk-EVVIWZLX.js";
4
4
  import {
5
5
  AgentInteractivePromptSurface,
6
6
  approvalOptionDisplayLabel,
7
7
  getPromptToolDetails,
8
8
  isPromptRequestIdTitle
9
- } from "../chunk-6AXH2BOD.js";
9
+ } from "../chunk-752VTG4P.js";
10
10
  import {
11
11
  PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
12
12
  PLAN_IMPLEMENTATION_PROMPT,
@@ -15,7 +15,7 @@ import {
15
15
  } from "../chunk-MKHDRIGN.js";
16
16
  import {
17
17
  formatAgentSessionMentionText
18
- } from "../chunk-CMOGPJ23.js";
18
+ } from "../chunk-PQYMG6PQ.js";
19
19
  import {
20
20
  AgentMessageMarkdown,
21
21
  CustomScrollArea,
@@ -25,17 +25,17 @@ import {
25
25
  extractExitPlanModeOptions,
26
26
  isExitPlanSwitchModeInput,
27
27
  normalizeAskUserQuestions
28
- } from "../chunk-ZFDO72FE.js";
28
+ } from "../chunk-6QFURP4M.js";
29
29
  import {
30
30
  userAvatarPlaceholderUrl,
31
31
  workspaceAgentActivityStatusLabel
32
- } from "../chunk-WMQN7SZC.js";
32
+ } from "../chunk-SITURZG6.js";
33
33
  import {
34
34
  resolveWorkspaceAgentSessionSortTimeUnixMs
35
35
  } from "../chunk-IBIMGLCD.js";
36
36
  import {
37
37
  managedAgentRoundedIconUrl
38
- } from "../chunk-GL54NRMB.js";
38
+ } from "../chunk-S6PCOX3S.js";
39
39
  import {
40
40
  workspaceAgentProviderLabel
41
41
  } from "../chunk-TYGL25EL.js";
@@ -46,8 +46,8 @@ import {
46
46
  AgentGuiI18nProvider,
47
47
  getActiveUiLanguage,
48
48
  useTranslation
49
- } from "../chunk-H2YWXFYX.js";
50
- import "../chunk-2XVECUTU.js";
49
+ } from "../chunk-5PGMLZ4W.js";
50
+ import "../chunk-54CMFCHF.js";
51
51
 
52
52
  // agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
53
53
  import {
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  translate,
16
16
  translateInUiLanguage
17
- } from "./chunk-H2YWXFYX.js";
17
+ } from "./chunk-5PGMLZ4W.js";
18
18
 
19
19
  // shared/workspaceAgentActivityListViewModel.ts
20
20
  import {
@@ -1007,4 +1007,4 @@ export {
1007
1007
  resolveWorkspaceAgentActivityStatus,
1008
1008
  resolveWorkspaceAgentActivityTitle
1009
1009
  };
1010
- //# sourceMappingURL=chunk-PBHTLI3E.js.map
1010
+ //# sourceMappingURL=chunk-4URDQNBP.js.map
@@ -1007,6 +1007,7 @@ var en = {
1007
1007
  mentionKindAppFactory: "App Factory",
1008
1008
  mentionKindFile: "File",
1009
1009
  mentionKindIssue: "Task",
1010
+ mentionKindReference: "Reference",
1010
1011
  mentionKindSession: "Session",
1011
1012
  mentionGroupFiles: "Files",
1012
1013
  mentionGroupOpenedFiles: "Files I opened",
@@ -3482,6 +3483,7 @@ var zhCN = {
3482
3483
  mentionKindAppFactory: "\u5E94\u7528\u5DE5\u5382",
3483
3484
  mentionKindFile: "\u6587\u4EF6",
3484
3485
  mentionKindIssue: "\u4EFB\u52A1",
3486
+ mentionKindReference: "\u5F15\u7528",
3485
3487
  mentionKindSession: "\u4F1A\u8BDD",
3486
3488
  mentionGroupFiles: "\u6587\u4EF6",
3487
3489
  mentionGroupOpenedFiles: "\u6211\u6253\u5F00\u7684\u6587\u4EF6",
@@ -5011,4 +5013,4 @@ export {
5011
5013
  translateInUiLanguage,
5012
5014
  getActiveUiLanguage
5013
5015
  };
5014
- //# sourceMappingURL=chunk-2XVECUTU.js.map
5016
+ //# sourceMappingURL=chunk-54CMFCHF.js.map