@tutti-os/agent-gui 0.0.189 → 0.0.191
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/AgentRichTextReadonly-HJQQ4KAL.js +19 -0
- package/dist/agent-conversation/index.d.ts +29 -15
- package/dist/agent-conversation/index.js +11 -11
- package/dist/agent-env/index.js +1 -1
- package/dist/agent-gui.d.ts +315 -13
- package/dist/agent-gui.js +23 -23
- package/dist/agent-message-center/index.d.ts +4 -7
- package/dist/agent-message-center/index.js +9 -9
- package/dist/{agentGuiNodeTypes-DAT3XJON.d.ts → agentGuiNodeTypes-B23ubO8n.d.ts} +21 -3
- package/dist/agents.d.ts +2 -1
- package/dist/app/renderer/agentactivity.css +20 -3
- package/dist/{chunk-YSA4MXR5.js → chunk-4CHBM3G3.js} +9 -3
- package/dist/chunk-4CHBM3G3.js.map +1 -0
- package/dist/{chunk-NCD5I4OB.js → chunk-5VECGOBU.js} +3 -3
- package/dist/{chunk-F5YFT4VB.js → chunk-73FNXLC6.js} +5431 -2202
- package/dist/chunk-73FNXLC6.js.map +1 -0
- package/dist/{chunk-AODSTIED.js → chunk-AFUVWWQY.js} +2 -2
- package/dist/{chunk-MHOYBRCY.js → chunk-CBMWHQ7P.js} +1 -1
- package/dist/chunk-CBMWHQ7P.js.map +1 -0
- package/dist/{chunk-THBCAUBR.js → chunk-CXC3ROXQ.js} +2 -2
- package/dist/{chunk-THBCAUBR.js.map → chunk-CXC3ROXQ.js.map} +1 -1
- package/dist/{chunk-CAZ7NYUE.js → chunk-DKGFEIZ7.js} +2 -2
- package/dist/{chunk-5UTK6FDH.js → chunk-DNHDR2YC.js} +3 -3
- package/dist/{chunk-U7GYZU6V.js → chunk-E2Y4FFQW.js} +5 -5
- package/dist/{chunk-KAF6JPGL.js → chunk-FGD2K7AB.js} +3 -3
- package/dist/chunk-FGD2K7AB.js.map +1 -0
- package/dist/{chunk-ZREBC77R.js → chunk-G7DS23D4.js} +2 -2
- package/dist/{chunk-VGUKS6JR.js → chunk-I4ICM3U4.js} +297 -43
- package/dist/chunk-I4ICM3U4.js.map +1 -0
- package/dist/{chunk-6II57C72.js → chunk-KDN6SLJM.js} +2 -2
- package/dist/{chunk-E5X3DSQZ.js → chunk-L3YCXXMA.js} +9 -9
- package/dist/{chunk-2674YZOF.js → chunk-M6HTOCQK.js} +3 -3
- package/dist/{chunk-SZVHT57M.js → chunk-MGSRWYRN.js} +2 -2
- package/dist/{chunk-5CLSJWUN.js → chunk-O433KXLK.js} +8 -1
- package/dist/chunk-O433KXLK.js.map +1 -0
- package/dist/{chunk-Z5IASLIU.js → chunk-PFTST5V6.js} +4 -4
- package/dist/{chunk-LLIM2OX6.js → chunk-S7OROGUS.js} +2 -2
- package/dist/{chunk-BVA5SVOD.js → chunk-U6TH4RJJ.js} +1394 -784
- package/dist/chunk-U6TH4RJJ.js.map +1 -0
- package/dist/{chunk-ETJFWUCA.js → chunk-V2BMPPOE.js} +4 -4
- package/dist/{chunk-OKBVGNH7.js → chunk-Z5Y3RB2U.js} +2 -2
- package/dist/{chunk-V3QHMEJZ.js → chunk-ZE6VLLFC.js} +51 -4
- package/dist/chunk-ZE6VLLFC.js.map +1 -0
- package/dist/context-mention-palette/index.js +10 -10
- package/dist/context-mention-provider.d.ts +1 -0
- package/dist/{contribution-C0MnLVKF.d.ts → contribution-DfeuQHH6.d.ts} +39 -0
- package/dist/conversation-rail-runtime.d.ts +10 -3
- package/dist/dock-icons.js +2 -2
- package/dist/i18n/index.d.ts +370 -168
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +1199 -580
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +8 -8
- package/dist/planImplementationPresentation-BxVOLt6A.d.ts +24 -0
- package/dist/provider-identity.js +1 -1
- package/dist/{types-CWFDZVkv.d.ts → types-CWKbqBmi.d.ts} +44 -0
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +10 -10
- package/dist/workbench/index.d.ts +2 -2
- package/dist/workbench/index.js +10 -10
- package/dist/workbench/launch.d.ts +4 -0
- package/dist/workbench/launch.js +4 -4
- package/dist/workbench/providerCatalog.js +2 -2
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.js +3 -3
- package/dist/workbench/types.d.ts +3 -0
- package/dist/workbench/types.js +1 -1
- package/dist/{agentConversationVM-CYXZSrh9.d.ts → workspaceLinkActions-BmVLZszV.d.ts} +110 -73
- package/package.json +14 -14
- package/dist/AgentRichTextReadonly-OKZPTCIX.js +0 -19
- package/dist/chunk-5CLSJWUN.js.map +0 -1
- package/dist/chunk-BVA5SVOD.js.map +0 -1
- package/dist/chunk-F5YFT4VB.js.map +0 -1
- package/dist/chunk-KAF6JPGL.js.map +0 -1
- package/dist/chunk-MHOYBRCY.js.map +0 -1
- package/dist/chunk-V3QHMEJZ.js.map +0 -1
- package/dist/chunk-VGUKS6JR.js.map +0 -1
- package/dist/chunk-YSA4MXR5.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-OKZPTCIX.js.map → AgentRichTextReadonly-HJQQ4KAL.js.map} +0 -0
- /package/dist/{chunk-NCD5I4OB.js.map → chunk-5VECGOBU.js.map} +0 -0
- /package/dist/{chunk-AODSTIED.js.map → chunk-AFUVWWQY.js.map} +0 -0
- /package/dist/{chunk-CAZ7NYUE.js.map → chunk-DKGFEIZ7.js.map} +0 -0
- /package/dist/{chunk-5UTK6FDH.js.map → chunk-DNHDR2YC.js.map} +0 -0
- /package/dist/{chunk-U7GYZU6V.js.map → chunk-E2Y4FFQW.js.map} +0 -0
- /package/dist/{chunk-ZREBC77R.js.map → chunk-G7DS23D4.js.map} +0 -0
- /package/dist/{chunk-6II57C72.js.map → chunk-KDN6SLJM.js.map} +0 -0
- /package/dist/{chunk-E5X3DSQZ.js.map → chunk-L3YCXXMA.js.map} +0 -0
- /package/dist/{chunk-2674YZOF.js.map → chunk-M6HTOCQK.js.map} +0 -0
- /package/dist/{chunk-SZVHT57M.js.map → chunk-MGSRWYRN.js.map} +0 -0
- /package/dist/{chunk-Z5IASLIU.js.map → chunk-PFTST5V6.js.map} +0 -0
- /package/dist/{chunk-LLIM2OX6.js.map → chunk-S7OROGUS.js.map} +0 -0
- /package/dist/{chunk-ETJFWUCA.js.map → chunk-V2BMPPOE.js.map} +0 -0
- /package/dist/{chunk-OKBVGNH7.js.map → chunk-Z5Y3RB2U.js.map} +0 -0
|
@@ -1,76 +1,5 @@
|
|
|
1
|
-
import { WorkspaceIssueMentionMode } from '@tutti-os/workspace-issue-manager/core';
|
|
2
1
|
import { AgentActivityMessageSemantics, AgentActivitySession, AgentActivityGoalControlAction, AgentActivityTurn } from '@tutti-os/agent-activity-core';
|
|
3
|
-
|
|
4
|
-
type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
|
|
5
|
-
interface OpenWorkspaceFileLinkAction {
|
|
6
|
-
type: "open-workspace-file";
|
|
7
|
-
mode?: "reveal" | "open-directory";
|
|
8
|
-
path: string;
|
|
9
|
-
directoryPath: string;
|
|
10
|
-
workspaceRoot: string;
|
|
11
|
-
source: WorkspaceLinkActionSource;
|
|
12
|
-
prefetchedDirectoryListing?: WorkspaceFileLinkDirectoryListing | null;
|
|
13
|
-
}
|
|
14
|
-
interface OpenLocalAssetPreviewLinkAction {
|
|
15
|
-
type: "open-local-asset-preview";
|
|
16
|
-
path: string;
|
|
17
|
-
name: string;
|
|
18
|
-
source: WorkspaceLinkActionSource;
|
|
19
|
-
}
|
|
20
|
-
interface WorkspaceFileLinkDirectoryEntry {
|
|
21
|
-
path: string;
|
|
22
|
-
name: string;
|
|
23
|
-
kind: "file" | "directory" | "unknown";
|
|
24
|
-
hasChildren: boolean | null;
|
|
25
|
-
sizeBytes: number | null;
|
|
26
|
-
mtimeMs: number | null;
|
|
27
|
-
}
|
|
28
|
-
interface WorkspaceFileLinkDirectoryListing {
|
|
29
|
-
workspaceId: string;
|
|
30
|
-
root: string;
|
|
31
|
-
directoryPath: string;
|
|
32
|
-
entries: WorkspaceFileLinkDirectoryEntry[];
|
|
33
|
-
}
|
|
34
|
-
interface OpenWorkspaceUrlLinkAction {
|
|
35
|
-
type: "open-url";
|
|
36
|
-
url: string;
|
|
37
|
-
source: WorkspaceLinkActionSource;
|
|
38
|
-
}
|
|
39
|
-
interface OpenAgentSessionLinkAction {
|
|
40
|
-
type: "open-agent-session";
|
|
41
|
-
workspaceId: string;
|
|
42
|
-
agentSessionId: string;
|
|
43
|
-
agentTargetId?: string | null;
|
|
44
|
-
source: WorkspaceLinkActionSource;
|
|
45
|
-
}
|
|
46
|
-
interface OpenWorkspaceIssueLinkAction {
|
|
47
|
-
type: "open-workspace-issue";
|
|
48
|
-
workspaceId: string;
|
|
49
|
-
issueId: string | null;
|
|
50
|
-
mode?: WorkspaceIssueMentionMode;
|
|
51
|
-
outputDir?: string | null;
|
|
52
|
-
runId?: string | null;
|
|
53
|
-
taskId?: string | null;
|
|
54
|
-
topicId?: string | null;
|
|
55
|
-
source: WorkspaceLinkActionSource;
|
|
56
|
-
}
|
|
57
|
-
interface OpenWorkspaceAppLinkAction {
|
|
58
|
-
type: "open-workspace-app";
|
|
59
|
-
workspaceId: string;
|
|
60
|
-
appId: string;
|
|
61
|
-
conversationId?: string | null;
|
|
62
|
-
messageId?: string | null;
|
|
63
|
-
summaryTaskId?: string | null;
|
|
64
|
-
source: WorkspaceLinkActionSource;
|
|
65
|
-
}
|
|
66
|
-
interface OpenCustomMentionLinkAction {
|
|
67
|
-
type: "open-custom-mention";
|
|
68
|
-
/** 注册表里的 kind(= mention:// providerId)。 */
|
|
69
|
-
kind: string;
|
|
70
|
-
href: string;
|
|
71
|
-
source: WorkspaceLinkActionSource;
|
|
72
|
-
}
|
|
73
|
-
type WorkspaceLinkAction = OpenWorkspaceFileLinkAction | OpenLocalAssetPreviewLinkAction | OpenWorkspaceUrlLinkAction | OpenAgentSessionLinkAction | OpenWorkspaceIssueLinkAction | OpenWorkspaceAppLinkAction | OpenCustomMentionLinkAction;
|
|
2
|
+
import { WorkspaceIssueMentionMode } from '@tutti-os/workspace-issue-manager/core';
|
|
74
3
|
|
|
75
4
|
interface WorkspaceAgentActivityFileChange {
|
|
76
5
|
path: string;
|
|
@@ -325,6 +254,41 @@ interface AgentGoalControlRowVM {
|
|
|
325
254
|
|
|
326
255
|
type AgentTranscriptPresentationKind = "content" | "specific-progress" | "turn-boundary";
|
|
327
256
|
|
|
257
|
+
interface AgentCollaborationUsageVM {
|
|
258
|
+
inputTokens: number;
|
|
259
|
+
outputTokens: number;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Typed projection of one durable "collaboration" timeline message (the
|
|
263
|
+
* daemon projects each collaboration run into the source session transcript
|
|
264
|
+
* with messageId `collab:<runId>`; status transitions update the same message
|
|
265
|
+
* in place). Pure data — rendering and adoption actions live in
|
|
266
|
+
* `AgentCollaborationRow`.
|
|
267
|
+
*/
|
|
268
|
+
interface AgentCollaborationVM {
|
|
269
|
+
kind: "collaboration";
|
|
270
|
+
runId: string;
|
|
271
|
+
/** Session identity of the source transcript row, for adoption commands. */
|
|
272
|
+
workspaceId: string | null;
|
|
273
|
+
agentSessionId: string | null;
|
|
274
|
+
mode: "consult" | "fork" | "delegate" | "handoff" | (string & {});
|
|
275
|
+
status: "running" | "completed" | "failed" | "canceled" | (string & {});
|
|
276
|
+
triggerSource: "user" | "agent" | "policy" | (string & {});
|
|
277
|
+
triggerReason: string | null;
|
|
278
|
+
targetSessionId: string | null;
|
|
279
|
+
targetAgentTargetId: string | null;
|
|
280
|
+
modelPlanId: string | null;
|
|
281
|
+
/** Optional display name when the daemon payload carries it. */
|
|
282
|
+
modelPlanName: string | null;
|
|
283
|
+
model: string | null;
|
|
284
|
+
contextScope: string | null;
|
|
285
|
+
resultText: string | null;
|
|
286
|
+
failureReason: string | null;
|
|
287
|
+
durationMs: number | null;
|
|
288
|
+
usage: AgentCollaborationUsageVM | null;
|
|
289
|
+
adoption: "pending" | "adopted" | "rejected" | "not_applicable" | (string & {});
|
|
290
|
+
}
|
|
291
|
+
|
|
328
292
|
interface AgentMessageContentVM {
|
|
329
293
|
kind: "message-content";
|
|
330
294
|
id: string;
|
|
@@ -333,8 +297,10 @@ interface AgentMessageContentVM {
|
|
|
333
297
|
presentationKind: AgentTranscriptPresentationKind;
|
|
334
298
|
copyText?: string | null;
|
|
335
299
|
statusKind?: ToolCallStatusKind | null;
|
|
336
|
-
contentKind?: "text" | "image-grid" | "plan";
|
|
300
|
+
contentKind?: "text" | "image-grid" | "plan" | "collaboration";
|
|
337
301
|
isTurnFinalText?: true;
|
|
302
|
+
/** Typed payload for `contentKind: "collaboration"` rows. */
|
|
303
|
+
collaboration?: AgentCollaborationVM | null;
|
|
338
304
|
images?: AgentMessageImageVM[];
|
|
339
305
|
occurredAtUnixMs: number | null;
|
|
340
306
|
visibleError?: {
|
|
@@ -575,4 +541,75 @@ interface AgentConversationVM {
|
|
|
575
541
|
rows: AgentTranscriptRowVM[];
|
|
576
542
|
}
|
|
577
543
|
|
|
544
|
+
type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
|
|
545
|
+
interface OpenWorkspaceFileLinkAction {
|
|
546
|
+
type: "open-workspace-file";
|
|
547
|
+
mode?: "reveal" | "open-directory";
|
|
548
|
+
path: string;
|
|
549
|
+
directoryPath: string;
|
|
550
|
+
workspaceRoot: string;
|
|
551
|
+
source: WorkspaceLinkActionSource;
|
|
552
|
+
prefetchedDirectoryListing?: WorkspaceFileLinkDirectoryListing | null;
|
|
553
|
+
}
|
|
554
|
+
interface OpenLocalAssetPreviewLinkAction {
|
|
555
|
+
type: "open-local-asset-preview";
|
|
556
|
+
path: string;
|
|
557
|
+
name: string;
|
|
558
|
+
source: WorkspaceLinkActionSource;
|
|
559
|
+
}
|
|
560
|
+
interface WorkspaceFileLinkDirectoryEntry {
|
|
561
|
+
path: string;
|
|
562
|
+
name: string;
|
|
563
|
+
kind: "file" | "directory" | "unknown";
|
|
564
|
+
hasChildren: boolean | null;
|
|
565
|
+
sizeBytes: number | null;
|
|
566
|
+
mtimeMs: number | null;
|
|
567
|
+
}
|
|
568
|
+
interface WorkspaceFileLinkDirectoryListing {
|
|
569
|
+
workspaceId: string;
|
|
570
|
+
root: string;
|
|
571
|
+
directoryPath: string;
|
|
572
|
+
entries: WorkspaceFileLinkDirectoryEntry[];
|
|
573
|
+
}
|
|
574
|
+
interface OpenWorkspaceUrlLinkAction {
|
|
575
|
+
type: "open-url";
|
|
576
|
+
url: string;
|
|
577
|
+
source: WorkspaceLinkActionSource;
|
|
578
|
+
}
|
|
579
|
+
interface OpenAgentSessionLinkAction {
|
|
580
|
+
type: "open-agent-session";
|
|
581
|
+
workspaceId: string;
|
|
582
|
+
agentSessionId: string;
|
|
583
|
+
agentTargetId?: string | null;
|
|
584
|
+
source: WorkspaceLinkActionSource;
|
|
585
|
+
}
|
|
586
|
+
interface OpenWorkspaceIssueLinkAction {
|
|
587
|
+
type: "open-workspace-issue";
|
|
588
|
+
workspaceId: string;
|
|
589
|
+
issueId: string | null;
|
|
590
|
+
mode?: WorkspaceIssueMentionMode;
|
|
591
|
+
outputDir?: string | null;
|
|
592
|
+
runId?: string | null;
|
|
593
|
+
taskId?: string | null;
|
|
594
|
+
topicId?: string | null;
|
|
595
|
+
source: WorkspaceLinkActionSource;
|
|
596
|
+
}
|
|
597
|
+
interface OpenWorkspaceAppLinkAction {
|
|
598
|
+
type: "open-workspace-app";
|
|
599
|
+
workspaceId: string;
|
|
600
|
+
appId: string;
|
|
601
|
+
conversationId?: string | null;
|
|
602
|
+
messageId?: string | null;
|
|
603
|
+
summaryTaskId?: string | null;
|
|
604
|
+
source: WorkspaceLinkActionSource;
|
|
605
|
+
}
|
|
606
|
+
interface OpenCustomMentionLinkAction {
|
|
607
|
+
type: "open-custom-mention";
|
|
608
|
+
/** 注册表里的 kind(= mention:// providerId)。 */
|
|
609
|
+
kind: string;
|
|
610
|
+
href: string;
|
|
611
|
+
source: WorkspaceLinkActionSource;
|
|
612
|
+
}
|
|
613
|
+
type WorkspaceLinkAction = OpenWorkspaceFileLinkAction | OpenLocalAssetPreviewLinkAction | OpenWorkspaceUrlLinkAction | OpenAgentSessionLinkAction | OpenWorkspaceIssueLinkAction | OpenWorkspaceAppLinkAction | OpenCustomMentionLinkAction;
|
|
614
|
+
|
|
578
615
|
export { type AgentApprovalItemVM as A, type BuildWorkspaceAgentSessionDetailInput as B, type WorkspaceAgentActivityCard as W, type AgentAskUserQuestionVM as a, type AgentConversationPromptVM as b, type AgentConversationVM as c, type WorkspaceAgentActivityStatus as d, type WorkspaceAgentActivityTimelineItem as e, type WorkspaceAgentSessionDetailViewModel as f, type WorkspaceLinkAction as g, buildWorkspaceAgentSessionDetailViewModel as h };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/agent-gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.191",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -143,19 +143,19 @@
|
|
|
143
143
|
"dependencies": {
|
|
144
144
|
"@monaco-editor/react": "^4.7.0",
|
|
145
145
|
"@tanstack/react-virtual": "^3.13.12",
|
|
146
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
147
|
-
"@tutti-os/browser-node": "0.0.
|
|
148
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
149
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
150
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
151
|
-
"@tutti-os/ui-system": "0.0.
|
|
152
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
153
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
154
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
155
|
-
"@tutti-os/workspace-file-preview": "0.0.
|
|
156
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
157
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
158
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
146
|
+
"@tutti-os/agent-activity-core": "0.0.191",
|
|
147
|
+
"@tutti-os/browser-node": "0.0.191",
|
|
148
|
+
"@tutti-os/ui-i18n-runtime": "0.0.191",
|
|
149
|
+
"@tutti-os/ui-react-hooks": "0.0.191",
|
|
150
|
+
"@tutti-os/ui-rich-text": "0.0.191",
|
|
151
|
+
"@tutti-os/ui-system": "0.0.191",
|
|
152
|
+
"@tutti-os/workbench-surface": "0.0.191",
|
|
153
|
+
"@tutti-os/workspace-external-core": "0.0.191",
|
|
154
|
+
"@tutti-os/workspace-file-manager": "0.0.191",
|
|
155
|
+
"@tutti-os/workspace-file-preview": "0.0.191",
|
|
156
|
+
"@tutti-os/workspace-file-reference": "0.0.191",
|
|
157
|
+
"@tutti-os/workspace-issue-manager": "0.0.191",
|
|
158
|
+
"@tutti-os/workspace-user-project": "0.0.191",
|
|
159
159
|
"clsx": "^2.1.1",
|
|
160
160
|
"framer-motion": "^12.40.0",
|
|
161
161
|
"lodash": "^4.17.21",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-LLIM2OX6.js";
|
|
4
|
-
import "./chunk-NCD5I4OB.js";
|
|
5
|
-
import "./chunk-3V5OCA2M.js";
|
|
6
|
-
import "./chunk-FGLQZ6I4.js";
|
|
7
|
-
import "./chunk-ZVYUTXQJ.js";
|
|
8
|
-
import "./chunk-2674YZOF.js";
|
|
9
|
-
import "./chunk-CAZ7NYUE.js";
|
|
10
|
-
import "./chunk-5BJYO6X3.js";
|
|
11
|
-
import "./chunk-AODSTIED.js";
|
|
12
|
-
import "./chunk-VGUKS6JR.js";
|
|
13
|
-
import "./chunk-D2JUDUYY.js";
|
|
14
|
-
import "./chunk-QNE2ZPPV.js";
|
|
15
|
-
import "./chunk-5CLSJWUN.js";
|
|
16
|
-
export {
|
|
17
|
-
AgentRichTextReadonly
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=AgentRichTextReadonly-OKZPTCIX.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../generated/providerIdentityCatalog.ts","../providerIdentityCatalog.ts"],"sourcesContent":["// Code generated by tools/scripts/generate-agent-gui-provider-catalog.mjs. DO NOT EDIT.\n\nexport const generatedProviderIdentityCatalog = [\n {\n providerId: \"codex\",\n displayName: \"Codex\",\n iconKey: \"codex\",\n localeKey: \"agentHost.agentGui.conversationFilterCodex\",\n aliases: [],\n target: {\n id: \"local:codex\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 10\n },\n desktop: {\n managed: true,\n managedOrder: 2,\n statusProbePriority: 1,\n usageProbeKind: \"codex\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 1\n }\n },\n {\n providerId: \"claude-code\",\n displayName: \"Claude Code\",\n iconKey: \"claude-code\",\n localeKey: \"agentHost.agentGui.conversationFilterClaudeCode\",\n aliases: [\"claude\", \"claude code\"],\n target: {\n id: \"local:claude-code\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 20\n },\n desktop: {\n managed: true,\n managedOrder: 1,\n statusProbePriority: 2,\n usageProbeKind: \"claude_code\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 2\n }\n },\n {\n providerId: \"cursor\",\n displayName: \"Cursor\",\n iconKey: \"cursor\",\n localeKey: \"agentHost.agentGui.conversationFilterCursor\",\n aliases: [\"cursor-agent\", \"cursor agent\", \"cursor-cli\"],\n target: {\n id: \"local:cursor\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 30\n },\n desktop: {\n managed: true,\n managedOrder: 3,\n statusProbePriority: 3,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"direct\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 3\n }\n },\n {\n providerId: \"tutti-agent\",\n displayName: \"Tutti Agent\",\n iconKey: \"tutti\",\n localeKey: \"agentHost.agentGui.conversationFilterTutti\",\n aliases: [\"tutti agent\"],\n target: {\n id: \"local:tutti-agent\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 40\n },\n desktop: {\n managed: true,\n managedOrder: 4,\n statusProbePriority: 4,\n usageProbeKind: \"\",\n visibilityGate: \"tutti_agent\",\n runtimeProbeFallback: \"\",\n installBootstrap: true,\n refreshOnAccountChange: true,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n },\n {\n providerId: \"opencode\",\n displayName: \"OpenCode\",\n iconKey: \"opencode\",\n localeKey: \"agentHost.agentGui.conversationFilterOpenCode\",\n aliases: [\"open-code\", \"open code\", \"opencode-ai\", \"opencode_ai\"],\n target: {\n id: \"local:opencode\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 50\n },\n desktop: {\n managed: true,\n managedOrder: 5,\n statusProbePriority: 5,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: true,\n defaultProviderPriority: 4\n }\n },\n {\n providerId: \"nexight\",\n displayName: \"Nexight\",\n iconKey: \"tutti\",\n localeKey: \"agentHost.agentGui.conversationFilterNexight\",\n aliases: [\"tutti\"],\n target: {\n id: \"local:nexight\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 60\n },\n desktop: {\n managed: false,\n managedOrder: 0,\n statusProbePriority: 0,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n },\n {\n providerId: \"openclaw\",\n displayName: \"OpenClaw\",\n iconKey: \"openclaw\",\n localeKey: \"agentHost.agentGui.conversationFilterOpenClaw\",\n aliases: [\"open-claw\"],\n target: {\n id: \"local:openclaw\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 80\n },\n desktop: {\n managed: true,\n managedOrder: 7,\n statusProbePriority: 7,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 200,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n }\n] as const;\n","import { generatedProviderIdentityCatalog } from \"./generated/providerIdentityCatalog.ts\";\nimport type { TranslateFn } from \"./i18n/index.ts\";\n\nexport interface AgentGUIProviderIdentityCatalogEntry {\n providerId: string;\n displayName: string;\n iconKey: string;\n localeKey: string;\n aliases: readonly string[];\n target: {\n id: string;\n launchRefType: string;\n enabled: boolean;\n sortOrder: number;\n };\n desktop: {\n managed: boolean;\n managedOrder: number;\n statusProbePriority: number;\n usageProbeKind: string;\n visibilityGate: string;\n runtimeProbeFallback: \"\" | \"direct\";\n installBootstrap: boolean;\n refreshOnAccountChange: boolean;\n unavailableDockOrderOffset: number;\n developerLogs: boolean;\n defaultProviderEligible: boolean;\n defaultProviderPriority: number;\n };\n source: \"generated\";\n}\n\nexport const migratedAgentGUIProviderIdentityCatalog: readonly AgentGUIProviderIdentityCatalogEntry[] =\n generatedProviderIdentityCatalog.map((entry) => ({\n ...entry,\n source: \"generated\" as const\n }));\n\nconst migratedIdentityByKey = indexIdentities(\n migratedAgentGUIProviderIdentityCatalog\n);\n\nexport function resolveMigratedAgentGUIProviderIdentity(\n value: string | null | undefined\n): AgentGUIProviderIdentityCatalogEntry | null {\n return migratedIdentityByKey.get(normalizeIdentityKey(value)) ?? null;\n}\n\nexport function resolveAgentGUIProviderCatalogIdentity(\n value: string | null | undefined\n): AgentGUIProviderIdentityCatalogEntry | null {\n return resolveMigratedAgentGUIProviderIdentity(value);\n}\n\nexport function agentGUIProviderIdentityDisplayName(\n identity: AgentGUIProviderIdentityCatalogEntry,\n t: TranslateFn\n): string {\n const localeKey = identity.localeKey;\n const localized = t(localeKey);\n return localized === localeKey ? identity.displayName : localized;\n}\n\nfunction indexIdentities(\n entries: readonly AgentGUIProviderIdentityCatalogEntry[]\n): ReadonlyMap<string, AgentGUIProviderIdentityCatalogEntry> {\n const result = new Map<string, AgentGUIProviderIdentityCatalogEntry>();\n for (const entry of entries) {\n for (const key of [entry.providerId, ...entry.aliases]) {\n result.set(normalizeIdentityKey(key), entry);\n }\n }\n return result;\n}\n\nfunction normalizeIdentityKey(value: string | null | undefined): string {\n return value?.trim().toLowerCase() ?? \"\";\n}\n"],"mappings":";AAEO,IAAM,mCAAmC;AAAA,EAC9C;AAAA,IACE,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,SAAS;AAAA,IACT,WAAW;AAAA,IACX,SAAS,CAAC;AAAA,IACV,QAAQ;AAAA,MACN,IAAI;AAAA,MACJ,eAAe;AAAA,MACf,SAAS;AAAA,MACT,WAAW;AAAA,IACb;AAAA,IACA,SAAS;AAAA,MACP,SAAS;AAAA,MACT,cAAc;AAAA,MACd,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,gBAAgB;AAAA,MAChB,sBAAsB;AAAA,MACtB,kBAAkB;AAAA,MAClB,wBAAwB;AAAA,MACxB,4BAA4B;AAAA,MAC5B,eAAe;AAAA,MACf,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,IAC3B;AAAA,EACF;AAAA,EACA;AAAA,IACE,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,SAAS;AAAA,IACT,WAAW;AAAA,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