@tutti-os/agent-gui 0.0.54 → 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.
- package/dist/{AgentMentionSearchController-DzhWr0PN.d.ts → AgentMentionSearchController-Po0KQLcL.d.ts} +13 -1
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +6 -6
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +8 -8
- package/dist/app/renderer/agentactivity.css +21 -4
- package/dist/{chunk-PBHTLI3E.js → chunk-4URDQNBP.js} +2 -2
- package/dist/{chunk-2XVECUTU.js → chunk-54CMFCHF.js} +3 -1
- package/dist/chunk-54CMFCHF.js.map +1 -0
- package/dist/{chunk-H2YWXFYX.js → chunk-5PGMLZ4W.js} +2 -2
- package/dist/{chunk-ZFDO72FE.js → chunk-6QFURP4M.js} +16 -3
- package/dist/chunk-6QFURP4M.js.map +1 -0
- package/dist/{chunk-6AXH2BOD.js → chunk-752VTG4P.js} +5 -5
- package/dist/{chunk-BGZ2OSDQ.js → chunk-EVVIWZLX.js} +2 -2
- package/dist/{chunk-JRA44NYI.js → chunk-MXDPRBS6.js} +143 -4
- package/dist/chunk-MXDPRBS6.js.map +1 -0
- package/dist/{chunk-CMOGPJ23.js → chunk-PQYMG6PQ.js} +2 -2
- package/dist/{chunk-7ZDLFTVL.js → chunk-PQYSB2WC.js} +13 -5
- package/dist/{chunk-7ZDLFTVL.js.map → chunk-PQYSB2WC.js.map} +1 -1
- package/dist/{chunk-GL54NRMB.js → chunk-S6PCOX3S.js} +40 -1
- package/dist/chunk-S6PCOX3S.js.map +1 -0
- package/dist/{chunk-WMQN7SZC.js → chunk-SITURZG6.js} +2 -2
- package/dist/{chunk-EXZH66UE.js → chunk-X4C4HD6E.js} +5 -5
- package/dist/context-mention-palette/index.d.ts +2 -2
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +43 -5
- package/dist/index.js +477 -119
- package/dist/index.js.map +1 -1
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workspace-agent-generated-files.js +3 -3
- package/dist/{workspaceLinkActions-C6POH38D.d.ts → workspaceLinkActions-Bjy_XfBm.d.ts} +8 -1
- package/package.json +12 -12
- package/dist/chunk-2XVECUTU.js.map +0 -1
- package/dist/chunk-GL54NRMB.js.map +0 -1
- package/dist/chunk-JRA44NYI.js.map +0 -1
- package/dist/chunk-ZFDO72FE.js.map +0 -1
- /package/dist/{chunk-PBHTLI3E.js.map → chunk-4URDQNBP.js.map} +0 -0
- /package/dist/{chunk-H2YWXFYX.js.map → chunk-5PGMLZ4W.js.map} +0 -0
- /package/dist/{chunk-6AXH2BOD.js.map → chunk-752VTG4P.js.map} +0 -0
- /package/dist/{chunk-BGZ2OSDQ.js.map → chunk-EVVIWZLX.js.map} +0 -0
- /package/dist/{chunk-CMOGPJ23.js.map → chunk-PQYMG6PQ.js.map} +0 -0
- /package/dist/{chunk-WMQN7SZC.js.map → chunk-SITURZG6.js.map} +0 -0
- /package/dist/{chunk-EXZH66UE.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
|
-
|
|
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-
|
|
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-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
21
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
3
|
+
} from "../chunk-EVVIWZLX.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentInteractivePromptSurface,
|
|
6
6
|
approvalOptionDisplayLabel,
|
|
7
7
|
getPromptToolDetails,
|
|
8
8
|
isPromptRequestIdTitle
|
|
9
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
28
|
+
} from "../chunk-6QFURP4M.js";
|
|
29
29
|
import {
|
|
30
30
|
userAvatarPlaceholderUrl,
|
|
31
31
|
workspaceAgentActivityStatusLabel
|
|
32
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
} from "../chunk-5PGMLZ4W.js";
|
|
50
|
+
import "../chunk-54CMFCHF.js";
|
|
51
51
|
|
|
52
52
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
53
53
|
import {
|
|
@@ -2406,6 +2406,10 @@ aside.workspace-agents-status-panel
|
|
|
2406
2406
|
white-space: nowrap;
|
|
2407
2407
|
}
|
|
2408
2408
|
|
|
2409
|
+
.agent-gui-node__mention-palette-hint-item > span:last-child {
|
|
2410
|
+
font-size: 11px;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2409
2413
|
.agent-gui-node__mention-palette-hint-button,
|
|
2410
2414
|
.agent-gui-node__mention-palette-shortcut-button {
|
|
2411
2415
|
appearance: none;
|
|
@@ -2427,10 +2431,11 @@ aside.workspace-agents-status-panel
|
|
|
2427
2431
|
justify-content: center;
|
|
2428
2432
|
height: 20px;
|
|
2429
2433
|
min-width: 20px;
|
|
2434
|
+
border: 1px solid var(--line-2, var(--tutti-line-2));
|
|
2430
2435
|
border-radius: 4px;
|
|
2431
2436
|
background: color-mix(in srgb, var(--transparency-block) 72%, transparent);
|
|
2432
2437
|
color: var(--agent-gui-text-secondary, var(--text-secondary));
|
|
2433
|
-
font-size:
|
|
2438
|
+
font-size: 11px;
|
|
2434
2439
|
font-weight: 600;
|
|
2435
2440
|
line-height: 1;
|
|
2436
2441
|
padding: 4px 6px;
|
|
@@ -2454,7 +2459,7 @@ aside.workspace-agents-status-panel
|
|
|
2454
2459
|
.agent-gui-node__mention-palette-shortcut--arrow {
|
|
2455
2460
|
width: 20px;
|
|
2456
2461
|
min-width: 20px;
|
|
2457
|
-
font-size:
|
|
2462
|
+
font-size: 11px;
|
|
2458
2463
|
line-height: 1;
|
|
2459
2464
|
padding: 0;
|
|
2460
2465
|
}
|
|
@@ -2478,6 +2483,18 @@ aside.workspace-agents-status-panel
|
|
|
2478
2483
|
--agent-mention-file-icon-size: 16px;
|
|
2479
2484
|
}
|
|
2480
2485
|
|
|
2486
|
+
.agent-gui-node__mention-palette .rich-text-at-mention-palette__row-button,
|
|
2487
|
+
.agent-gui-node__mention-palette .rich-text-at-mention-palette__expand-button {
|
|
2488
|
+
min-height: 28px;
|
|
2489
|
+
padding-top: 4px;
|
|
2490
|
+
padding-bottom: 4px;
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
.agent-gui-node__mention-palette
|
|
2494
|
+
.rich-text-at-mention-palette__empty-state-inner {
|
|
2495
|
+
width: min(100%, 52ch);
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2481
2498
|
.agent-gui-node__mention-file-thumb {
|
|
2482
2499
|
display: inline-flex;
|
|
2483
2500
|
align-items: center;
|
|
@@ -7620,12 +7637,12 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
|
|
|
7620
7637
|
align-items: center;
|
|
7621
7638
|
justify-content: space-between;
|
|
7622
7639
|
gap: 8px;
|
|
7623
|
-
padding:
|
|
7640
|
+
padding: 2px 12px;
|
|
7624
7641
|
}
|
|
7625
7642
|
|
|
7626
7643
|
.agent-gui-node__composer-input-group-hero
|
|
7627
7644
|
.agent-gui-node__composer-project-row {
|
|
7628
|
-
padding:
|
|
7645
|
+
padding: 2px 12px;
|
|
7629
7646
|
}
|
|
7630
7647
|
|
|
7631
7648
|
.agent-gui-node__composer-project-row .agent-gui-node__composer-menu-trigger {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
translate,
|
|
16
16
|
translateInUiLanguage
|
|
17
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
5016
|
+
//# sourceMappingURL=chunk-54CMFCHF.js.map
|