@tutti-os/agent-gui 0.0.152 → 0.0.154
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-WVZ65VON.js → AgentRichTextReadonly-J5GZIS7X.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +7 -7
- package/dist/agent-gui.d.ts +49 -2
- package/dist/agent-gui.js +15 -15
- package/dist/agent-message-center/index.js +6 -6
- package/dist/{agentGuiNodeTypes-D3f1yiEL.d.ts → agentGuiNodeTypes-2xRyhPBD.d.ts} +39 -1
- package/dist/{chunk-ZVD6KIXC.js → chunk-3VKRWAKQ.js} +4 -4
- package/dist/{chunk-XSW565MM.js → chunk-BHB457ZP.js} +2 -2
- package/dist/{chunk-VI6H5PTQ.js → chunk-DB3PHOZC.js} +127 -3
- package/dist/chunk-DB3PHOZC.js.map +1 -0
- package/dist/{chunk-XZUMGJ67.js → chunk-EFEOPMIV.js} +4 -4
- package/dist/{chunk-YNF74LPO.js → chunk-EITAGUEN.js} +2 -2
- package/dist/{chunk-3IOQ3IOJ.js → chunk-ESJWSRFD.js} +3 -2
- package/dist/{chunk-3IOQ3IOJ.js.map → chunk-ESJWSRFD.js.map} +1 -1
- package/dist/{chunk-MVXJDVDT.js → chunk-FGAKY5YL.js} +1915 -821
- package/dist/chunk-FGAKY5YL.js.map +1 -0
- package/dist/{chunk-O2P5ODPK.js → chunk-GBTKLNMX.js} +6 -6
- package/dist/{chunk-BCIAEN7N.js → chunk-GTSKTVVB.js} +2 -2
- package/dist/{chunk-5HIF53K5.js → chunk-HBJJY2AC.js} +10 -7
- package/dist/chunk-HBJJY2AC.js.map +1 -0
- package/dist/{chunk-PRFWB2BT.js → chunk-OSOJX2OE.js} +4 -4
- package/dist/{chunk-6R2UNGNY.js → chunk-SFRFW3GC.js} +4 -4
- package/dist/{chunk-5D7HTLUA.js → chunk-WNGTC3Y2.js} +3 -3
- package/dist/{chunk-UMTEWNPP.js → chunk-XYKQJMVT.js} +2 -2
- package/dist/{chunk-RD4EDLVU.js → chunk-ZCBP5VTT.js} +2 -2
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +120 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +830 -626
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +5 -5
- package/dist/workbench/contribution.js +4 -4
- package/dist/workbench/index.js +4 -4
- package/dist/workbench/sessionTitle.js +2 -2
- package/dist/workbench/state.js +1 -1
- package/package.json +13 -13
- package/dist/chunk-5HIF53K5.js.map +0 -1
- package/dist/chunk-MVXJDVDT.js.map +0 -1
- package/dist/chunk-VI6H5PTQ.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-WVZ65VON.js.map → AgentRichTextReadonly-J5GZIS7X.js.map} +0 -0
- /package/dist/{chunk-ZVD6KIXC.js.map → chunk-3VKRWAKQ.js.map} +0 -0
- /package/dist/{chunk-XSW565MM.js.map → chunk-BHB457ZP.js.map} +0 -0
- /package/dist/{chunk-XZUMGJ67.js.map → chunk-EFEOPMIV.js.map} +0 -0
- /package/dist/{chunk-YNF74LPO.js.map → chunk-EITAGUEN.js.map} +0 -0
- /package/dist/{chunk-O2P5ODPK.js.map → chunk-GBTKLNMX.js.map} +0 -0
- /package/dist/{chunk-BCIAEN7N.js.map → chunk-GTSKTVVB.js.map} +0 -0
- /package/dist/{chunk-PRFWB2BT.js.map → chunk-OSOJX2OE.js.map} +0 -0
- /package/dist/{chunk-6R2UNGNY.js.map → chunk-SFRFW3GC.js.map} +0 -0
- /package/dist/{chunk-5D7HTLUA.js.map → chunk-WNGTC3Y2.js.map} +0 -0
- /package/dist/{chunk-UMTEWNPP.js.map → chunk-XYKQJMVT.js.map} +0 -0
- /package/dist/{chunk-RD4EDLVU.js.map → chunk-ZCBP5VTT.js.map} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XYKQJMVT.js";
|
|
4
|
+
import "./chunk-ZCBP5VTT.js";
|
|
5
5
|
import "./chunk-5QPOMKMQ.js";
|
|
6
6
|
import "./chunk-FGLQZ6I4.js";
|
|
7
7
|
import "./chunk-ZVYUTXQJ.js";
|
|
8
8
|
import "./chunk-UTJKC2LY.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-EITAGUEN.js";
|
|
10
10
|
import "./chunk-PJP5BUU6.js";
|
|
11
11
|
import "./chunk-7KVZPJ3O.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-DB3PHOZC.js";
|
|
13
13
|
import "./chunk-D2JUDUYY.js";
|
|
14
14
|
import "./chunk-QMMWKQOT.js";
|
|
15
15
|
import "./chunk-6CUELYIF.js";
|
|
16
16
|
export {
|
|
17
17
|
AgentRichTextReadonly
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=AgentRichTextReadonly-
|
|
19
|
+
//# sourceMappingURL=AgentRichTextReadonly-J5GZIS7X.js.map
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, JSX } from 'react';
|
|
3
3
|
import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DWEy7jzx.js';
|
|
4
4
|
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DWEy7jzx.js';
|
|
5
|
-
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-
|
|
5
|
+
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-2xRyhPBD.js';
|
|
6
6
|
import { AgentActivityMessage } from '@tutti-os/agent-activity-core';
|
|
7
7
|
import '@tutti-os/workspace-issue-manager/core';
|
|
8
8
|
import '../types-DVmB_kyD.js';
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-GBTKLNMX.js";
|
|
11
|
+
import "../chunk-XYKQJMVT.js";
|
|
12
12
|
import "../chunk-FM42UN2J.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
14
|
import "../chunk-JDVP33S5.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-ZCBP5VTT.js";
|
|
16
16
|
import "../chunk-5QPOMKMQ.js";
|
|
17
17
|
import "../chunk-FGLQZ6I4.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-WNGTC3Y2.js";
|
|
19
19
|
import "../chunk-ZVYUTXQJ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-ESJWSRFD.js";
|
|
21
21
|
import "../chunk-F5UR6EJG.js";
|
|
22
22
|
import "../chunk-UTJKC2LY.js";
|
|
23
23
|
import {
|
|
24
24
|
translate
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-EITAGUEN.js";
|
|
26
26
|
import "../chunk-PJP5BUU6.js";
|
|
27
27
|
import "../chunk-7KVZPJ3O.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-DB3PHOZC.js";
|
|
29
29
|
import "../chunk-MIJXEELH.js";
|
|
30
30
|
import "../chunk-D2JUDUYY.js";
|
|
31
31
|
import "../chunk-QMMWKQOT.js";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -3,10 +3,11 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
|
|
5
5
|
import { k as AgentHostAgentSessionComposerSettings, o as AgentHostUnactivateAgentSessionResult, b as AgentGUIAgentTarget, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, P as Point, g as AgentGUIProviderRailAllPresentation, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate, d as AgentGUIHomeSuggestionId, N as NodeFrame, a as AgentGUIAgentDirectorySnapshot, c as AgentGUIAllAgentsPresentation } from './types-DVmB_kyD.js';
|
|
6
|
-
import { A as AgentComposerDraft, j as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, k as AgentSlashCommandCapability, c as AgentGUINodeViewModel, i as AgentProbeSnapshot, a as AgentComposerDraftFile, g as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
6
|
+
import { A as AgentComposerDraft, j as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, k as AgentSlashCommandCapability, c as AgentGUINodeViewModel, i as AgentProbeSnapshot, a as AgentComposerDraftFile, g as AgentHostInputApi } from './agentGuiNodeTypes-2xRyhPBD.js';
|
|
7
7
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
8
|
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
9
9
|
import { A as AgentContextMentionItem } from './agentFileMentionContracts-B0yQizXB.js';
|
|
10
|
+
import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
|
|
10
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
11
12
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
12
13
|
import { b as AgentConversationPromptVM, g as WorkspaceLinkAction } from './agentConversationVM-DWEy7jzx.js';
|
|
@@ -15,7 +16,6 @@ import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user
|
|
|
15
16
|
import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
|
|
16
17
|
import { ReferenceProvenanceFilterSnapshot, ReferenceProvenanceFilterController } from '@tutti-os/workspace-file-reference/react';
|
|
17
18
|
import { RichTextMentionService } from '@tutti-os/ui-rich-text/service';
|
|
18
|
-
import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
|
|
19
19
|
import '@tutti-os/workspace-issue-manager/core';
|
|
20
20
|
|
|
21
21
|
declare const APP_UPDATE_POLICIES: readonly ["off", "prompt", "auto"];
|
|
@@ -571,6 +571,52 @@ interface WorkspaceReferencePickResult {
|
|
|
571
571
|
mentionItems: readonly AgentContextMentionItem[];
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
+
interface AgentQuickPromptTemplate {
|
|
575
|
+
content: string;
|
|
576
|
+
description: string;
|
|
577
|
+
id: "understand-context" | "create-action-plan" | "review-and-improve" | "draft-clear-update";
|
|
578
|
+
title: string;
|
|
579
|
+
}
|
|
580
|
+
interface AgentQuickPromptLabels {
|
|
581
|
+
add: string;
|
|
582
|
+
cancel: string;
|
|
583
|
+
conflict: string;
|
|
584
|
+
contentLabel: string;
|
|
585
|
+
contentPlaceholder: string;
|
|
586
|
+
createTitle: string;
|
|
587
|
+
createFromTemplate: string;
|
|
588
|
+
delete: string;
|
|
589
|
+
deleteConfirm: string;
|
|
590
|
+
deleteDescription: (title: string) => string;
|
|
591
|
+
deleteTitle: string;
|
|
592
|
+
deleting: string;
|
|
593
|
+
edit: string;
|
|
594
|
+
editTitle: string;
|
|
595
|
+
empty: string;
|
|
596
|
+
loadError: string;
|
|
597
|
+
loading: string;
|
|
598
|
+
moreActions: string;
|
|
599
|
+
mutationError: string;
|
|
600
|
+
noResults: string;
|
|
601
|
+
required: string;
|
|
602
|
+
retry: string;
|
|
603
|
+
save: string;
|
|
604
|
+
saving: string;
|
|
605
|
+
searchPlaceholder: string;
|
|
606
|
+
recommendedTemplates: readonly AgentQuickPromptTemplate[];
|
|
607
|
+
recommendedTemplatesDescription: string;
|
|
608
|
+
recommendedTemplatesTitle: string;
|
|
609
|
+
returnToPrompts: string;
|
|
610
|
+
title: string;
|
|
611
|
+
titleLabel: string;
|
|
612
|
+
titlePlaceholder: string;
|
|
613
|
+
titleTooLong: string;
|
|
614
|
+
contentTooLarge: string;
|
|
615
|
+
trigger: string;
|
|
616
|
+
triggerTooltip: string;
|
|
617
|
+
useTemplate: string;
|
|
618
|
+
}
|
|
619
|
+
|
|
574
620
|
interface AgentComposerReferenceProvenanceFilter {
|
|
575
621
|
snapshot: ReferenceProvenanceFilterSnapshot;
|
|
576
622
|
controller: Pick<ReferenceProvenanceFilterController, "reset" | "toggle" | "toggleAll">;
|
|
@@ -805,6 +851,7 @@ interface AgentComposerProps {
|
|
|
805
851
|
submit: string;
|
|
806
852
|
cancel: string;
|
|
807
853
|
};
|
|
854
|
+
quickPrompts: AgentQuickPromptLabels;
|
|
808
855
|
};
|
|
809
856
|
workspaceUserProjectI18n: WorkspaceUserProjectI18nRuntime;
|
|
810
857
|
onDraftContentChange: (draftContent: AgentComposerDraft, sourceScopeKey?: string) => void;
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FGAKY5YL.js";
|
|
4
4
|
import "./chunk-A4WCTHWS.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-OSOJX2OE.js";
|
|
6
|
+
import "./chunk-HBJJY2AC.js";
|
|
7
7
|
import "./chunk-TUWQV2MC.js";
|
|
8
8
|
import "./chunk-MHOYBRCY.js";
|
|
9
9
|
import "./chunk-R2ZADXRB.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-BHB457ZP.js";
|
|
11
|
+
import "./chunk-GBTKLNMX.js";
|
|
12
|
+
import "./chunk-XYKQJMVT.js";
|
|
13
13
|
import "./chunk-FM42UN2J.js";
|
|
14
14
|
import "./chunk-UP3ZDYTN.js";
|
|
15
15
|
import "./chunk-3EMKK6BN.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-SFRFW3GC.js";
|
|
17
17
|
import "./chunk-66JZ7BQM.js";
|
|
18
18
|
import "./chunk-AZQRB56U.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-3VKRWAKQ.js";
|
|
20
20
|
import "./chunk-VMPA46ET.js";
|
|
21
21
|
import "./chunk-XJ34OIEQ.js";
|
|
22
22
|
import "./chunk-JDVP33S5.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-ZCBP5VTT.js";
|
|
24
24
|
import "./chunk-5QPOMKMQ.js";
|
|
25
25
|
import "./chunk-RMQREVJY.js";
|
|
26
26
|
import "./chunk-FGLQZ6I4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EFEOPMIV.js";
|
|
28
28
|
import "./chunk-2RQM7PJN.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WNGTC3Y2.js";
|
|
30
30
|
import "./chunk-ZVYUTXQJ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-GTSKTVVB.js";
|
|
32
32
|
import "./chunk-YMXYBG7U.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-ESJWSRFD.js";
|
|
34
34
|
import "./chunk-F5UR6EJG.js";
|
|
35
35
|
import "./chunk-UTJKC2LY.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-EITAGUEN.js";
|
|
37
37
|
import "./chunk-PJP5BUU6.js";
|
|
38
38
|
import "./chunk-7KVZPJ3O.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-DB3PHOZC.js";
|
|
40
40
|
import "./chunk-MIJXEELH.js";
|
|
41
41
|
import "./chunk-D2JUDUYY.js";
|
|
42
42
|
import "./chunk-QMMWKQOT.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPromptRequestIdTitle,
|
|
9
9
|
latestPlanTurnId,
|
|
10
10
|
planImplementationPromptFromPlanTurn
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-EFEOPMIV.js";
|
|
12
12
|
import {
|
|
13
13
|
useEngineSelector
|
|
14
14
|
} from "../chunk-2RQM7PJN.js";
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
isExitPlanSwitchModeInput,
|
|
22
22
|
normalizeAgentApprovalPurpose,
|
|
23
23
|
normalizeAskUserQuestions
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-WNGTC3Y2.js";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "../chunk-ZVYUTXQJ.js";
|
|
28
28
|
import {
|
|
29
29
|
userAvatarPlaceholderUrl,
|
|
30
30
|
workspaceAgentActivityStatusLabel
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-GTSKTVVB.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
34
34
|
} from "../chunk-YMXYBG7U.js";
|
|
35
35
|
import {
|
|
36
36
|
workspaceAgentProviderLabel
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-ESJWSRFD.js";
|
|
38
38
|
import "../chunk-F5UR6EJG.js";
|
|
39
39
|
import {
|
|
40
40
|
managedAgentRoundedIconUrl
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
AgentGuiI18nProvider,
|
|
44
44
|
getActiveUiLanguage,
|
|
45
45
|
useTranslation
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-EITAGUEN.js";
|
|
47
47
|
import "../chunk-PJP5BUU6.js";
|
|
48
48
|
import "../chunk-7KVZPJ3O.js";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-DB3PHOZC.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeAgentTitleText
|
|
52
52
|
} from "../chunk-MIJXEELH.js";
|
|
@@ -160,6 +160,43 @@ type AgentHostMetaApi = AgentHostRecord & {
|
|
|
160
160
|
type AgentHostEnvironmentApi = AgentHostRecord & {
|
|
161
161
|
getBaseUrl?: () => AgentHostAsyncResult<string>;
|
|
162
162
|
};
|
|
163
|
+
interface AgentHostQuickPrompt {
|
|
164
|
+
id: string;
|
|
165
|
+
title: string;
|
|
166
|
+
content: string;
|
|
167
|
+
version: number;
|
|
168
|
+
createdAtUnixMs: number;
|
|
169
|
+
updatedAtUnixMs: number;
|
|
170
|
+
}
|
|
171
|
+
interface AgentHostQuickPromptSnapshot {
|
|
172
|
+
enabled: boolean;
|
|
173
|
+
status: "idle" | "loading" | "ready" | "error";
|
|
174
|
+
prompts: readonly AgentHostQuickPrompt[];
|
|
175
|
+
error: string | null;
|
|
176
|
+
revision: number;
|
|
177
|
+
pendingMutationIds: readonly string[];
|
|
178
|
+
}
|
|
179
|
+
interface AgentHostQuickPromptsApi {
|
|
180
|
+
ensureLoaded: (input?: {
|
|
181
|
+
force?: boolean;
|
|
182
|
+
}) => AgentHostAsyncResult<void>;
|
|
183
|
+
getSnapshot: () => AgentHostQuickPromptSnapshot;
|
|
184
|
+
subscribe: (listener: (snapshot: AgentHostQuickPromptSnapshot) => void) => AgentHostUnsubscribe;
|
|
185
|
+
create: (input: {
|
|
186
|
+
title: string;
|
|
187
|
+
content: string;
|
|
188
|
+
}) => AgentHostAsyncResult<AgentHostQuickPrompt>;
|
|
189
|
+
update: (input: {
|
|
190
|
+
id: string;
|
|
191
|
+
title: string;
|
|
192
|
+
content: string;
|
|
193
|
+
expectedVersion: number;
|
|
194
|
+
}) => AgentHostAsyncResult<AgentHostQuickPrompt>;
|
|
195
|
+
remove: (input: {
|
|
196
|
+
id: string;
|
|
197
|
+
expectedVersion: number;
|
|
198
|
+
}) => AgentHostAsyncResult<void>;
|
|
199
|
+
}
|
|
163
200
|
type AgentHostPersistenceApi = AgentHostRecord & {
|
|
164
201
|
readWorkspaceAgentReadState: (input: ReadWorkspaceAgentReadStateInput) => AgentHostAsyncResult<WorkspaceAgentReadStateSnapshot>;
|
|
165
202
|
writeWorkspaceAgentReadState: (input: WriteWorkspaceAgentReadStateInput) => AgentHostAsyncResult<PersistWriteResult>;
|
|
@@ -252,6 +289,7 @@ interface AgentHostInputApi {
|
|
|
252
289
|
meta?: AgentHostMetaApi;
|
|
253
290
|
onHostEvent?: (listener: (event: any) => void) => AgentHostUnsubscribe;
|
|
254
291
|
persistence?: AgentHostPersistenceApi;
|
|
292
|
+
quickPrompts?: AgentHostQuickPromptsApi;
|
|
255
293
|
runtime?: AgentHostEnvironmentApi;
|
|
256
294
|
toast?: AgentHostToastApi;
|
|
257
295
|
userProjects?: AgentHostUserProjectsApi;
|
|
@@ -268,7 +306,7 @@ type AgentHostWorkspaceAgentProbesApi = AgentHostRecord & {
|
|
|
268
306
|
interface AgentHostAgentTargetInstallPlan {
|
|
269
307
|
packageName: string;
|
|
270
308
|
packageVersion: string;
|
|
271
|
-
runner: "npm" | "pnpm" | "uv";
|
|
309
|
+
runner: "npm" | "pnpm" | "uv" | "binary";
|
|
272
310
|
planDigest: string;
|
|
273
311
|
installRoot: string;
|
|
274
312
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeAgentSessionMentionTitle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZCBP5VTT.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
13
|
} from "./chunk-5QPOMKMQ.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
getOptionalAgentHostApi,
|
|
22
22
|
workspaceAgentProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ESJWSRFD.js";
|
|
24
24
|
import {
|
|
25
25
|
translate,
|
|
26
26
|
translateInUiLanguage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EITAGUEN.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeAgentTitleText
|
|
30
30
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -3052,4 +3052,4 @@ export {
|
|
|
3052
3052
|
AgentMentionSearchController,
|
|
3053
3053
|
preloadAgentMentionBrowse
|
|
3054
3054
|
};
|
|
3055
|
-
//# sourceMappingURL=chunk-
|
|
3055
|
+
//# sourceMappingURL=chunk-3VKRWAKQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
translateInUiLanguage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DB3PHOZC.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeAgentTitleText
|
|
6
6
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
376
376
|
resolveAgentGuiWorkbenchSessionTitle
|
|
377
377
|
};
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-BHB457ZP.js.map
|
|
@@ -27,6 +27,67 @@ var enAgentGuiProviderIdentity = {
|
|
|
27
27
|
dragAgentToReorder: "Drag {{agent}} to reorder"
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
+
// app/renderer/i18n/locales/en.agentGuiQuickPrompts.ts
|
|
31
|
+
var enAgentGuiQuickPrompts = {
|
|
32
|
+
add: "New prompt",
|
|
33
|
+
conflict: "This prompt changed in another window. Refresh it and review your draft before saving again.",
|
|
34
|
+
contentLabel: "Prompt",
|
|
35
|
+
contentPlaceholder: "Write the reusable prompt text",
|
|
36
|
+
contentTooLarge: "Prompt text must be 32 KiB or less",
|
|
37
|
+
createTitle: "New quick prompt",
|
|
38
|
+
createFromTemplate: "Create from a recommended template",
|
|
39
|
+
delete: "Delete",
|
|
40
|
+
deleteConfirm: "Delete prompt",
|
|
41
|
+
deleteDescription: 'Delete "{{title}}"? This cannot be undone.',
|
|
42
|
+
deleteTitle: "Delete quick prompt?",
|
|
43
|
+
deleting: "Deleting\u2026",
|
|
44
|
+
edit: "Edit",
|
|
45
|
+
editTitle: "Edit quick prompt",
|
|
46
|
+
empty: "No quick prompts yet",
|
|
47
|
+
loadError: "Quick prompts could not be loaded",
|
|
48
|
+
loading: "Loading quick prompts\u2026",
|
|
49
|
+
moreActions: "More prompt actions",
|
|
50
|
+
mutationError: "The prompt could not be saved. Try again.",
|
|
51
|
+
noResults: "No matching quick prompts",
|
|
52
|
+
required: "Title and prompt text are required",
|
|
53
|
+
retry: "Try again",
|
|
54
|
+
recommendedTemplates: {
|
|
55
|
+
understandContext: {
|
|
56
|
+
title: "Understand the situation",
|
|
57
|
+
description: "Summarize context, constraints, risks, and next steps",
|
|
58
|
+
content: "First summarize the current context, confirmed facts, constraints, risks, and open questions. Separate facts from assumptions, then recommend the smallest useful next step."
|
|
59
|
+
},
|
|
60
|
+
createActionPlan: {
|
|
61
|
+
title: "Create an action plan",
|
|
62
|
+
description: "Break a goal into prioritized, verifiable steps",
|
|
63
|
+
content: "Break this goal into prioritized, verifiable steps. Identify dependencies, risks, and acceptance criteria for each step, then recommend the best place to begin."
|
|
64
|
+
},
|
|
65
|
+
reviewAndImprove: {
|
|
66
|
+
title: "Review and improve",
|
|
67
|
+
description: "Find gaps, risks, and practical improvements",
|
|
68
|
+
content: "Review the following work. Identify what is good, what is missing, the important risks, and practical improvements. Prioritize the recommendations by impact and effort."
|
|
69
|
+
},
|
|
70
|
+
draftClearUpdate: {
|
|
71
|
+
title: "Draft a clear update",
|
|
72
|
+
description: "Write a concise explanation for the intended audience",
|
|
73
|
+
content: "Draft a concise update for the intended audience. State the key message first, include only the necessary context, make the requested decision or next action explicit, and use clear language."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
recommendedTemplatesDescription: "Choose one to prefill the editor. It will not be saved or sent until you choose Save.",
|
|
77
|
+
recommendedTemplatesTitle: "Recommended templates",
|
|
78
|
+
returnToPrompts: "My prompts",
|
|
79
|
+
save: "Save",
|
|
80
|
+
saving: "Saving\u2026",
|
|
81
|
+
searchPlaceholder: "Search quick prompts",
|
|
82
|
+
title: "Quick prompts",
|
|
83
|
+
titleLabel: "Title",
|
|
84
|
+
titlePlaceholder: "Give this prompt a short name",
|
|
85
|
+
titleTooLong: "Title must be 80 characters or less",
|
|
86
|
+
trigger: "Prompts",
|
|
87
|
+
triggerTooltip: "Choose a quick prompt",
|
|
88
|
+
useTemplate: "Use template"
|
|
89
|
+
};
|
|
90
|
+
|
|
30
91
|
// app/renderer/i18n/locales/en.agentGuiRuntimeNotices.ts
|
|
31
92
|
var enAgentGuiRuntimeNotices = {
|
|
32
93
|
visibleErrorStartFailed: "{{provider}} failed to start",
|
|
@@ -114,7 +175,7 @@ var enAgentGui = {
|
|
|
114
175
|
providerGatePendingLogin: "Opening sign in\u2026",
|
|
115
176
|
providerGatePendingRefresh: "Checking\u2026",
|
|
116
177
|
targetSetupTitle: "Set up {{provider}}",
|
|
117
|
-
targetSetupDescription: "Use a compatible local runtime, or let Tutti install the pinned runtime.",
|
|
178
|
+
targetSetupDescription: "Use a compatible local runtime, or let Tutti install and verify the pinned runtime.",
|
|
118
179
|
targetSetupAuthRequired: "Runtime is installed and responds over ACP, but authentication is required.",
|
|
119
180
|
targetSetupReady: "Runtime detected. You can check it again or sign in again.",
|
|
120
181
|
targetSetupOpen: "Open setup",
|
|
@@ -702,6 +763,7 @@ var enAgentGui = {
|
|
|
702
763
|
mentionPalette: "Mention context",
|
|
703
764
|
addReference: "Add reference",
|
|
704
765
|
addContent: "Add files and more",
|
|
766
|
+
quickPrompts: enAgentGuiQuickPrompts,
|
|
705
767
|
referenceWorkspaceFiles: "Reference workspace files",
|
|
706
768
|
referencePicker: {
|
|
707
769
|
clearFilter: "Clear filter",
|
|
@@ -2667,6 +2729,67 @@ var zhCNAgentGuiProviderIdentity = {
|
|
|
2667
2729
|
dragAgentToReorder: "\u62D6\u62FD {{agent}} \u8C03\u6574\u987A\u5E8F"
|
|
2668
2730
|
};
|
|
2669
2731
|
|
|
2732
|
+
// app/renderer/i18n/locales/zh-CN.agentGuiQuickPrompts.ts
|
|
2733
|
+
var zhCNAgentGuiQuickPrompts = {
|
|
2734
|
+
add: "\u65B0\u589E\u63D0\u793A\u8BCD",
|
|
2735
|
+
conflict: "\u8BE5\u63D0\u793A\u8BCD\u5DF2\u5728\u5176\u4ED6\u7A97\u53E3\u53D1\u751F\u53D8\u5316\uFF0C\u8BF7\u5237\u65B0\u540E\u68C0\u67E5\u8349\u7A3F\u518D\u4FDD\u5B58",
|
|
2736
|
+
contentLabel: "\u63D0\u793A\u8BCD",
|
|
2737
|
+
contentPlaceholder: "\u8F93\u5165\u53EF\u91CD\u590D\u4F7F\u7528\u7684\u63D0\u793A\u8BCD\u5185\u5BB9",
|
|
2738
|
+
contentTooLarge: "\u63D0\u793A\u8BCD\u5185\u5BB9\u4E0D\u80FD\u8D85\u8FC7 32 KiB",
|
|
2739
|
+
createTitle: "\u65B0\u589E\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2740
|
+
createFromTemplate: "\u4ECE\u63A8\u8350\u6A21\u677F\u521B\u5EFA",
|
|
2741
|
+
delete: "\u5220\u9664",
|
|
2742
|
+
deleteConfirm: "\u5220\u9664\u63D0\u793A\u8BCD",
|
|
2743
|
+
deleteDescription: "\u786E\u5B9A\u5220\u9664\u300C{{title}}\u300D\u5417\uFF1F\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D",
|
|
2744
|
+
deleteTitle: "\u5220\u9664\u5FEB\u6377\u63D0\u793A\u8BCD\uFF1F",
|
|
2745
|
+
deleting: "\u6B63\u5728\u5220\u9664\u2026",
|
|
2746
|
+
edit: "\u7F16\u8F91",
|
|
2747
|
+
editTitle: "\u7F16\u8F91\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2748
|
+
empty: "\u6682\u65E0\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2749
|
+
loadError: "\u5FEB\u6377\u63D0\u793A\u8BCD\u52A0\u8F7D\u5931\u8D25",
|
|
2750
|
+
loading: "\u6B63\u5728\u52A0\u8F7D\u5FEB\u6377\u63D0\u793A\u8BCD\u2026",
|
|
2751
|
+
moreActions: "\u66F4\u591A\u63D0\u793A\u8BCD\u64CD\u4F5C",
|
|
2752
|
+
mutationError: "\u63D0\u793A\u8BCD\u4FDD\u5B58\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
|
|
2753
|
+
noResults: "\u6CA1\u6709\u5339\u914D\u7684\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2754
|
+
required: "\u6807\u9898\u548C\u63D0\u793A\u8BCD\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",
|
|
2755
|
+
retry: "\u91CD\u8BD5",
|
|
2756
|
+
recommendedTemplates: {
|
|
2757
|
+
understandContext: {
|
|
2758
|
+
title: "\u68B3\u7406\u73B0\u72B6",
|
|
2759
|
+
description: "\u603B\u7ED3\u4E0A\u4E0B\u6587\u3001\u7EA6\u675F\u3001\u98CE\u9669\u4E0E\u4E0B\u4E00\u6B65",
|
|
2760
|
+
content: "\u8BF7\u5148\u603B\u7ED3\u5F53\u524D\u4E0A\u4E0B\u6587\u3001\u5DF2\u786E\u8BA4\u7684\u4E8B\u5B9E\u3001\u7EA6\u675F\u3001\u98CE\u9669\u548C\u5F85\u786E\u8BA4\u95EE\u9898\uFF0C\u533A\u5206\u4E8B\u5B9E\u4E0E\u5047\u8BBE\uFF0C\u518D\u7ED9\u51FA\u6700\u5C0F\u4E14\u6709\u4EF7\u503C\u7684\u4E0B\u4E00\u6B65\u5EFA\u8BAE"
|
|
2761
|
+
},
|
|
2762
|
+
createActionPlan: {
|
|
2763
|
+
title: "\u5236\u5B9A\u884C\u52A8\u8BA1\u5212",
|
|
2764
|
+
description: "\u62C6\u5206\u4F18\u5148\u7EA7\u3001\u4F9D\u8D56\u4E0E\u9A8C\u6536\u6807\u51C6",
|
|
2765
|
+
content: "\u8BF7\u628A\u8FD9\u4E2A\u76EE\u6807\u62C6\u6210\u6309\u4F18\u5148\u7EA7\u6392\u5E8F\u4E14\u53EF\u9A8C\u8BC1\u7684\u6B65\u9AA4\uFF0C\u5217\u51FA\u6BCF\u4E00\u6B65\u7684\u4F9D\u8D56\u3001\u98CE\u9669\u548C\u9A8C\u6536\u6807\u51C6\uFF0C\u5E76\u5EFA\u8BAE\u4ECE\u54EA\u91CC\u5F00\u59CB"
|
|
2766
|
+
},
|
|
2767
|
+
reviewAndImprove: {
|
|
2768
|
+
title: "\u5BA1\u9605\u4E0E\u6539\u8FDB",
|
|
2769
|
+
description: "\u627E\u51FA\u7F3A\u53E3\u3001\u98CE\u9669\u548C\u53EF\u6267\u884C\u7684\u4F18\u5316\u5EFA\u8BAE",
|
|
2770
|
+
content: "\u8BF7\u5BA1\u9605\u4EE5\u4E0B\u5185\u5BB9\uFF0C\u8BF4\u660E\u505A\u5F97\u597D\u7684\u90E8\u5206\u3001\u7F3A\u5931\u7684\u4FE1\u606F\u3001\u91CD\u8981\u98CE\u9669\u548C\u53EF\u6267\u884C\u7684\u6539\u8FDB\u5EFA\u8BAE\uFF0C\u5E76\u6309\u5F71\u54CD\u4E0E\u6295\u5165\u6392\u5E8F"
|
|
2771
|
+
},
|
|
2772
|
+
draftClearUpdate: {
|
|
2773
|
+
title: "\u751F\u6210\u6E05\u6670\u8BF4\u660E",
|
|
2774
|
+
description: "\u9762\u5411\u76EE\u6807\u53D7\u4F17\u751F\u6210\u7B80\u6D01\u8868\u8FBE",
|
|
2775
|
+
content: "\u8BF7\u4E3A\u76EE\u6807\u53D7\u4F17\u751F\u6210\u4E00\u6BB5\u7B80\u6D01\u8BF4\u660E\uFF0C\u5148\u8868\u8FBE\u6838\u5FC3\u4FE1\u606F\uFF0C\u53EA\u8865\u5145\u5FC5\u8981\u4E0A\u4E0B\u6587\uFF0C\u660E\u786E\u9700\u8981\u5BF9\u65B9\u505A\u51FA\u7684\u51B3\u7B56\u6216\u4E0B\u4E00\u6B65\u884C\u52A8\uFF0C\u5E76\u4F7F\u7528\u6E05\u6670\u76F4\u63A5\u7684\u8BED\u8A00"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
recommendedTemplatesDescription: "\u9009\u62E9\u540E\u4F1A\u9884\u586B\u5230\u7F16\u8F91\u7A97\u53E3\uFF0C\u4FDD\u5B58\u524D\u4E0D\u4F1A\u521B\u5EFA\u6216\u53D1\u9001\u63D0\u793A\u8BCD",
|
|
2779
|
+
recommendedTemplatesTitle: "\u63A8\u8350\u6A21\u677F",
|
|
2780
|
+
returnToPrompts: "\u6211\u7684\u63D0\u793A\u8BCD",
|
|
2781
|
+
save: "\u4FDD\u5B58",
|
|
2782
|
+
saving: "\u6B63\u5728\u4FDD\u5B58\u2026",
|
|
2783
|
+
searchPlaceholder: "\u641C\u7D22\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2784
|
+
title: "\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2785
|
+
titleLabel: "\u6807\u9898",
|
|
2786
|
+
titlePlaceholder: "\u8F93\u5165\u7B80\u77ED\u6613\u8BC6\u522B\u7684\u540D\u79F0",
|
|
2787
|
+
titleTooLong: "\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 80 \u4E2A\u5B57\u7B26",
|
|
2788
|
+
trigger: "\u63D0\u793A\u8BCD",
|
|
2789
|
+
triggerTooltip: "\u9009\u62E9\u5FEB\u6377\u63D0\u793A\u8BCD",
|
|
2790
|
+
useTemplate: "\u4F7F\u7528\u6A21\u677F"
|
|
2791
|
+
};
|
|
2792
|
+
|
|
2670
2793
|
// app/renderer/i18n/locales/zh-CN.agentGuiRuntimeNotices.ts
|
|
2671
2794
|
var zhCNAgentGuiRuntimeNotices = {
|
|
2672
2795
|
visibleErrorStartFailed: "{{provider}} \u542F\u52A8\u5931\u8D25",
|
|
@@ -2754,7 +2877,7 @@ var zhCNAgentGui = {
|
|
|
2754
2877
|
providerGatePendingLogin: "\u6B63\u5728\u6253\u5F00\u767B\u5F55\u2026",
|
|
2755
2878
|
providerGatePendingRefresh: "\u6B63\u5728\u68C0\u6D4B\u2026",
|
|
2756
2879
|
targetSetupTitle: "\u8BBE\u7F6E {{provider}}",
|
|
2757
|
-
targetSetupDescription: "\u4F18\u5148\u4F7F\u7528\u517C\u5BB9\u7684\u672C\u5730\u8FD0\u884C\u65F6\uFF0C\u4E5F\u53EF\u7531 Tutti \u5B89\u88C5\u56FA\u5B9A\u7248\u672C",
|
|
2880
|
+
targetSetupDescription: "\u4F18\u5148\u4F7F\u7528\u517C\u5BB9\u7684\u672C\u5730\u8FD0\u884C\u65F6\uFF0C\u4E5F\u53EF\u7531 Tutti \u5B89\u88C5\u5E76\u9A8C\u8BC1\u56FA\u5B9A\u7248\u672C",
|
|
2758
2881
|
targetSetupAuthRequired: "\u8FD0\u884C\u65F6\u5DF2\u5B89\u88C5\u5E76\u901A\u8FC7 ACP \u68C0\u6D4B\uFF0C\u4F46\u4ECD\u9700\u5B8C\u6210\u767B\u5F55",
|
|
2759
2882
|
targetSetupReady: "\u5DF2\u68C0\u6D4B\u5230\u8FD0\u884C\u65F6\uFF0C\u53EF\u91CD\u65B0\u68C0\u6D4B\u6216\u91CD\u65B0\u767B\u5F55",
|
|
2760
2883
|
targetSetupOpen: "\u6253\u5F00\u8BBE\u7F6E",
|
|
@@ -3342,6 +3465,7 @@ var zhCNAgentGui = {
|
|
|
3342
3465
|
mentionPalette: "\u63D0\u53CA\u4E0A\u4E0B\u6587",
|
|
3343
3466
|
addReference: "\u6DFB\u52A0\u5F15\u7528",
|
|
3344
3467
|
addContent: "\u6DFB\u52A0\u6587\u4EF6\u7B49\u5185\u5BB9",
|
|
3468
|
+
quickPrompts: zhCNAgentGuiQuickPrompts,
|
|
3345
3469
|
referenceWorkspaceFiles: "\u5F15\u7528\u7A7A\u95F4\u6587\u4EF6",
|
|
3346
3470
|
referencePicker: {
|
|
3347
3471
|
clearFilter: "\u6E05\u9664\u7B5B\u9009",
|
|
@@ -5342,4 +5466,4 @@ export {
|
|
|
5342
5466
|
translateInUiLanguage,
|
|
5343
5467
|
getActiveUiLanguage
|
|
5344
5468
|
};
|
|
5345
|
-
//# sourceMappingURL=chunk-
|
|
5469
|
+
//# sourceMappingURL=chunk-DB3PHOZC.js.map
|