@tutti-os/agent-gui 0.0.165 → 0.0.167
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-PNUSXHOQ.js → AgentRichTextReadonly-PLUYTH5Y.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 +12 -2
- package/dist/agent-gui.js +14 -14
- package/dist/agent-message-center/index.js +6 -6
- package/dist/{agentGuiNodeTypes-BxyRdJ8A.d.ts → agentGuiNodeTypes-BXaOdqzS.d.ts} +6 -0
- package/dist/{chunk-W5YYEOZP.js → chunk-4SLHS5X5.js} +1251 -939
- package/dist/chunk-4SLHS5X5.js.map +1 -0
- package/dist/{chunk-ZJWX36UL.js → chunk-7W4WEFAY.js} +2 -2
- package/dist/{chunk-MOC5TDZU.js → chunk-A6UMKVKW.js} +4 -4
- package/dist/{chunk-7ED6E444.js → chunk-FVACDLAJ.js} +4 -4
- package/dist/{chunk-C4Z4JLOJ.js → chunk-GJBSQWIA.js} +2 -2
- package/dist/{chunk-DSOWEIVN.js → chunk-HIPSKKXB.js} +2 -2
- package/dist/{chunk-W5U7PGMH.js → chunk-KUTB4EGX.js} +2 -2
- package/dist/{chunk-W5U7PGMH.js.map → chunk-KUTB4EGX.js.map} +1 -1
- package/dist/{chunk-2DGFRQEP.js → chunk-MJNX2SC6.js} +3 -3
- package/dist/{chunk-ILSYNGFJ.js → chunk-OXCWE3B5.js} +33 -3
- package/dist/chunk-OXCWE3B5.js.map +1 -0
- package/dist/{chunk-52ANPJET.js → chunk-T7DN6RYO.js} +3 -3
- package/dist/{chunk-HGMOBQKA.js → chunk-W3EI5EWM.js} +2 -2
- package/dist/{chunk-DFQMEPM7.js → chunk-W4UPFP2N.js} +2 -2
- package/dist/{chunk-7C7VK76E.js → chunk-YB5DZYLI.js} +6 -6
- package/dist/{chunk-GUGOTL55.js → chunk-ZEYVTTUK.js} +4 -4
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +32 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +49 -3
- package/dist/index.js +14 -14
- package/dist/mention-search.js +5 -5
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +13 -13
- package/dist/chunk-ILSYNGFJ.js.map +0 -1
- package/dist/chunk-W5YYEOZP.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-PNUSXHOQ.js.map → AgentRichTextReadonly-PLUYTH5Y.js.map} +0 -0
- /package/dist/{chunk-ZJWX36UL.js.map → chunk-7W4WEFAY.js.map} +0 -0
- /package/dist/{chunk-MOC5TDZU.js.map → chunk-A6UMKVKW.js.map} +0 -0
- /package/dist/{chunk-7ED6E444.js.map → chunk-FVACDLAJ.js.map} +0 -0
- /package/dist/{chunk-C4Z4JLOJ.js.map → chunk-GJBSQWIA.js.map} +0 -0
- /package/dist/{chunk-DSOWEIVN.js.map → chunk-HIPSKKXB.js.map} +0 -0
- /package/dist/{chunk-2DGFRQEP.js.map → chunk-MJNX2SC6.js.map} +0 -0
- /package/dist/{chunk-52ANPJET.js.map → chunk-T7DN6RYO.js.map} +0 -0
- /package/dist/{chunk-HGMOBQKA.js.map → chunk-W3EI5EWM.js.map} +0 -0
- /package/dist/{chunk-DFQMEPM7.js.map → chunk-W4UPFP2N.js.map} +0 -0
- /package/dist/{chunk-7C7VK76E.js.map → chunk-YB5DZYLI.js.map} +0 -0
- /package/dist/{chunk-GUGOTL55.js.map → chunk-ZEYVTTUK.js.map} +0 -0
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KUTB4EGX.js";
|
|
10
10
|
import {
|
|
11
11
|
managedAgentRoundedIconUrl
|
|
12
12
|
} from "./chunk-ZWLWT3TZ.js";
|
|
13
13
|
import {
|
|
14
14
|
translate,
|
|
15
15
|
useTranslation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W4UPFP2N.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveAgentWorkspaceFileVisualKind
|
|
19
19
|
} from "./chunk-PJP5BUU6.js";
|
|
@@ -3730,4 +3730,4 @@ export {
|
|
|
3730
3730
|
AgentMessageMarkdown,
|
|
3731
3731
|
CustomScrollArea
|
|
3732
3732
|
};
|
|
3733
|
-
//# sourceMappingURL=chunk-
|
|
3733
|
+
//# sourceMappingURL=chunk-T7DN6RYO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
translateInUiLanguage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OXCWE3B5.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeAgentTitleText
|
|
6
6
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -374,4 +374,4 @@ export {
|
|
|
374
374
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
375
375
|
resolveAgentGuiWorkbenchSessionTitle
|
|
376
376
|
};
|
|
377
|
-
//# sourceMappingURL=chunk-
|
|
377
|
+
//# sourceMappingURL=chunk-W3EI5EWM.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
setCurrentAgentGuiI18nRuntime,
|
|
7
7
|
translate,
|
|
8
8
|
translateInUiLanguage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OXCWE3B5.js";
|
|
10
10
|
|
|
11
11
|
// i18n/index.ts
|
|
12
12
|
import React, {
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
AgentGuiI18nProvider,
|
|
69
69
|
useTranslation
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-W4UPFP2N.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AgentRichTextReadonly,
|
|
3
3
|
promptForProviderSkills,
|
|
4
4
|
skillTriggerForPrefix
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GJBSQWIA.js";
|
|
6
6
|
import {
|
|
7
7
|
classifyRecoverableAgentMessage,
|
|
8
8
|
isProviderPlanLimitMessage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
agentPromptFileBlocks,
|
|
28
28
|
agentPromptPastedTextBlocks,
|
|
29
29
|
materializeAgentComposerFileMentions
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7W4WEFAY.js";
|
|
31
31
|
import {
|
|
32
32
|
AGENT_PASTED_TEXT_BLOCK_KIND,
|
|
33
33
|
AGENT_PASTED_TEXT_MENTION_KIND
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveWorkspaceFileLinkAction,
|
|
48
48
|
resolveWorkspaceFilePathCandidate,
|
|
49
49
|
resolveWorkspaceLinkAction
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-T7DN6RYO.js";
|
|
51
51
|
import {
|
|
52
52
|
cn
|
|
53
53
|
} from "./chunk-ZVYUTXQJ.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
useOptionalAgentActivityRuntime,
|
|
56
56
|
useOptionalAgentHostApi,
|
|
57
57
|
workspaceAgentProviderLabel
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-KUTB4EGX.js";
|
|
59
59
|
import {
|
|
60
60
|
fileChangeCountFromChanges,
|
|
61
61
|
fileChangeEntriesFromChanges,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
getActiveUiLanguage,
|
|
66
66
|
translate,
|
|
67
67
|
useTranslation
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-W4UPFP2N.js";
|
|
69
69
|
import {
|
|
70
70
|
normalizeAgentTitleText
|
|
71
71
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -14872,4 +14872,4 @@ export {
|
|
|
14872
14872
|
AgentConversationFlow,
|
|
14873
14873
|
useProjectedAgentConversation
|
|
14874
14874
|
};
|
|
14875
|
-
//# sourceMappingURL=chunk-
|
|
14875
|
+
//# sourceMappingURL=chunk-YB5DZYLI.js.map
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
AgentGUIConversation_styles_default,
|
|
3
3
|
MessageSquareMoreIcon,
|
|
4
4
|
extractAgentMcpToolTarget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T7DN6RYO.js";
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KUTB4EGX.js";
|
|
10
10
|
import {
|
|
11
11
|
fileChangePathsFromChanges
|
|
12
12
|
} from "./chunk-F5UR6EJG.js";
|
|
13
13
|
import {
|
|
14
14
|
translate
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W4UPFP2N.js";
|
|
16
16
|
|
|
17
17
|
// shared/agentConversation/planImplementationPresentation.ts
|
|
18
18
|
var PLAN_IMPLEMENTATION_PROMPT = "Implement the plan.";
|
|
@@ -1471,4 +1471,4 @@ export {
|
|
|
1471
1471
|
isPromptRequestIdTitle,
|
|
1472
1472
|
AgentInteractivePromptSurface
|
|
1473
1473
|
};
|
|
1474
|
-
//# sourceMappingURL=chunk-
|
|
1474
|
+
//# sourceMappingURL=chunk-ZEYVTTUK.js.map
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
AgentFileMentionPalette,
|
|
4
4
|
flattenAgentMentionPaletteEntries,
|
|
5
5
|
groupStartKeys
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-FVACDLAJ.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentMentionSearchController
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-A6UMKVKW.js";
|
|
10
10
|
import "../chunk-VMPA46ET.js";
|
|
11
11
|
import "../chunk-XJ34OIEQ.js";
|
|
12
12
|
import "../chunk-JDVP33S5.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-7W4WEFAY.js";
|
|
14
14
|
import "../chunk-5QPOMKMQ.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
17
17
|
} from "../chunk-RMQREVJY.js";
|
|
18
18
|
import "../chunk-FGLQZ6I4.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-HIPSKKXB.js";
|
|
20
20
|
import "../chunk-YMXYBG7U.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-KUTB4EGX.js";
|
|
22
22
|
import "../chunk-F5UR6EJG.js";
|
|
23
23
|
import "../chunk-ZWLWT3TZ.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-W4UPFP2N.js";
|
|
25
25
|
import "../chunk-PJP5BUU6.js";
|
|
26
26
|
import "../chunk-AODSTIED.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-OXCWE3B5.js";
|
|
28
28
|
import "../chunk-MIJXEELH.js";
|
|
29
29
|
import "../chunk-D2JUDUYY.js";
|
|
30
30
|
import "../chunk-LCFMJPNA.js";
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -493,23 +493,37 @@ declare const agentGuiI18nResources: {
|
|
|
493
493
|
readonly contentPlaceholder: "Write the reusable prompt text";
|
|
494
494
|
readonly contentTooLarge: "Prompt text must be 32 KiB or less";
|
|
495
495
|
readonly createTitle: "New quick prompt";
|
|
496
|
-
readonly createFromTemplate: "
|
|
496
|
+
readonly createFromTemplate: "Recommended templates";
|
|
497
497
|
readonly delete: "Delete";
|
|
498
498
|
readonly deleteConfirm: "Delete prompt";
|
|
499
499
|
readonly deleteDescription: "Delete \"{{title}}\"? This cannot be undone.";
|
|
500
500
|
readonly deleteTitle: "Delete quick prompt?";
|
|
501
501
|
readonly deleting: "Deleting…";
|
|
502
|
+
readonly dragCancel: "Sorting canceled. \"{{title}}\" returned to position {{position}} of {{total}}.";
|
|
503
|
+
readonly dragDrop: "\"{{title}}\" was placed at position {{position}} of {{total}}.";
|
|
504
|
+
readonly dragHandle: "Reorder \"{{title}}\"";
|
|
505
|
+
readonly dragInstructions: "Press Space or Enter to pick up, use arrow keys to move, then press Space or Enter to drop. Press Escape to cancel.";
|
|
506
|
+
readonly dragMove: "\"{{title}}\" is moving to position {{position}} of {{total}}.";
|
|
507
|
+
readonly dragStart: "Picked up \"{{title}}\", position {{position}} of {{total}}.";
|
|
502
508
|
readonly edit: "Edit";
|
|
503
509
|
readonly editTitle: "Edit quick prompt";
|
|
504
510
|
readonly empty: "No quick prompts yet";
|
|
511
|
+
readonly finishSorting: "Done";
|
|
505
512
|
readonly loadError: "Quick prompts could not be loaded";
|
|
506
513
|
readonly loading: "Loading quick prompts…";
|
|
507
514
|
readonly moreActions: "More prompt actions";
|
|
508
515
|
readonly mutationError: "The prompt could not be saved. Try again.";
|
|
509
516
|
readonly noResults: "No matching quick prompts";
|
|
510
517
|
readonly required: "Title and prompt text are required";
|
|
518
|
+
readonly reorderConflict: "The prompt order changed in another window. Refresh and drag again.";
|
|
519
|
+
readonly reorderError: "The prompt order could not be saved. Try dragging again.";
|
|
511
520
|
readonly retry: "Try again";
|
|
512
521
|
readonly recommendedTemplates: {
|
|
522
|
+
readonly summaryCommonPrompts: {
|
|
523
|
+
readonly title: "Summarize common prompts";
|
|
524
|
+
readonly description: "Find important insights and repeated work patterns from conversation history";
|
|
525
|
+
readonly content: "Please scan and read all available conversation history and memory.\n\n1. What important insight have you discovered that I may not be aware of, and that could significantly change my decisions and work?\n2. What work do I repeat? Identify the prompts I use most often, and explain why they matter and when to use them.\n\nClearly state the accessible scope and distinguish facts, inferences, and unconfirmed items. Do not present assumptions as facts.";
|
|
526
|
+
};
|
|
513
527
|
readonly understandContext: {
|
|
514
528
|
readonly title: "Understand the situation";
|
|
515
529
|
readonly description: "Summarize context, constraints, risks, and next steps";
|
|
@@ -537,6 +551,7 @@ declare const agentGuiI18nResources: {
|
|
|
537
551
|
readonly save: "Save";
|
|
538
552
|
readonly saving: "Saving…";
|
|
539
553
|
readonly searchPlaceholder: "Search quick prompts";
|
|
554
|
+
readonly startSorting: "Sort";
|
|
540
555
|
readonly title: "Quick prompts";
|
|
541
556
|
readonly titleLabel: "Title";
|
|
542
557
|
readonly titlePlaceholder: "Give this prompt a short name";
|
|
@@ -3163,23 +3178,37 @@ declare const agentGuiI18nResources: {
|
|
|
3163
3178
|
readonly contentPlaceholder: "输入可重复使用的提示词内容";
|
|
3164
3179
|
readonly contentTooLarge: "提示词内容不能超过 32 KiB";
|
|
3165
3180
|
readonly createTitle: "新增快捷提示词";
|
|
3166
|
-
readonly createFromTemplate: "
|
|
3181
|
+
readonly createFromTemplate: "推荐模板";
|
|
3167
3182
|
readonly delete: "删除";
|
|
3168
3183
|
readonly deleteConfirm: "删除提示词";
|
|
3169
3184
|
readonly deleteDescription: "确定删除「{{title}}」吗?删除后无法恢复";
|
|
3170
3185
|
readonly deleteTitle: "删除快捷提示词?";
|
|
3171
3186
|
readonly deleting: "正在删除…";
|
|
3187
|
+
readonly dragCancel: "已取消排序,「{{title}}」返回第 {{position}} 项,共 {{total}} 项";
|
|
3188
|
+
readonly dragDrop: "已将「{{title}}」放到第 {{position}} 项,共 {{total}} 项";
|
|
3189
|
+
readonly dragHandle: "调整「{{title}}」的顺序";
|
|
3190
|
+
readonly dragInstructions: "按空格键或回车键开始拖拽,使用方向键移动,再按空格键或回车键放下,按 Esc 键取消";
|
|
3191
|
+
readonly dragMove: "正在把「{{title}}」移动到第 {{position}} 项,共 {{total}} 项";
|
|
3192
|
+
readonly dragStart: "已选中「{{title}}」,当前第 {{position}} 项,共 {{total}} 项";
|
|
3172
3193
|
readonly edit: "编辑";
|
|
3173
3194
|
readonly editTitle: "编辑快捷提示词";
|
|
3174
3195
|
readonly empty: "暂无快捷提示词";
|
|
3196
|
+
readonly finishSorting: "完成";
|
|
3175
3197
|
readonly loadError: "快捷提示词加载失败";
|
|
3176
3198
|
readonly loading: "正在加载快捷提示词…";
|
|
3177
3199
|
readonly moreActions: "更多提示词操作";
|
|
3178
3200
|
readonly mutationError: "提示词保存失败,请重试";
|
|
3179
3201
|
readonly noResults: "没有匹配的快捷提示词";
|
|
3180
3202
|
readonly required: "标题和提示词内容不能为空";
|
|
3203
|
+
readonly reorderConflict: "提示词顺序已在其他窗口发生变化,请刷新后重新拖拽";
|
|
3204
|
+
readonly reorderError: "提示词顺序保存失败,请重新拖拽";
|
|
3181
3205
|
readonly retry: "重试";
|
|
3182
3206
|
readonly recommendedTemplates: {
|
|
3207
|
+
readonly summaryCommonPrompts: {
|
|
3208
|
+
readonly title: "总结常用提示词";
|
|
3209
|
+
readonly description: "从历史对话中发现关键洞察和重复工作模式";
|
|
3210
|
+
readonly content: "请扫描、读取所有可访问的历史对话信息以及记忆。\n\n1. 有什么东西是你发现了但我完全没有意识到的关键点?而且这个关键点会对我的决策和工作带来巨大的改变。\n2. 我有哪些重复的工作内容?从里面挑出我常用的提示词给我,并且说明原因和使用场景。\n\n请明确说明实际可访问范围,区分事实、推断和待确认内容,不要把推测当成事实";
|
|
3211
|
+
};
|
|
3183
3212
|
readonly understandContext: {
|
|
3184
3213
|
readonly title: "梳理现状";
|
|
3185
3214
|
readonly description: "总结上下文、约束、风险与下一步";
|
|
@@ -3207,6 +3236,7 @@ declare const agentGuiI18nResources: {
|
|
|
3207
3236
|
readonly save: "保存";
|
|
3208
3237
|
readonly saving: "正在保存…";
|
|
3209
3238
|
readonly searchPlaceholder: "搜索快捷提示词";
|
|
3239
|
+
readonly startSorting: "排序";
|
|
3210
3240
|
readonly title: "快捷提示词";
|
|
3211
3241
|
readonly titleLabel: "标题";
|
|
3212
3242
|
readonly titlePlaceholder: "输入简短易识别的名称";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -629,6 +629,7 @@ interface AgentHostQuickPromptSnapshot {
|
|
|
629
629
|
error: string | null;
|
|
630
630
|
revision: number;
|
|
631
631
|
pendingMutationIds: readonly string[];
|
|
632
|
+
orderMutationPending?: boolean;
|
|
632
633
|
}
|
|
633
634
|
interface AgentHostQuickPromptsApi {
|
|
634
635
|
ensureLoaded: (input?: {
|
|
@@ -650,6 +651,11 @@ interface AgentHostQuickPromptsApi {
|
|
|
650
651
|
id: string;
|
|
651
652
|
expectedVersion: number;
|
|
652
653
|
}) => AgentHostAsyncResult<void>;
|
|
654
|
+
move?: (input: {
|
|
655
|
+
promptId: string;
|
|
656
|
+
beforePromptId: string | null;
|
|
657
|
+
expectedVersion: number;
|
|
658
|
+
}) => AgentHostAsyncResult<readonly AgentHostQuickPrompt[]>;
|
|
653
659
|
}
|
|
654
660
|
type AgentHostPersistenceApi = AgentHostRecord & {
|
|
655
661
|
readWorkspaceAgentReadState: (input: ReadWorkspaceAgentReadStateInput) => AgentHostAsyncResult<WorkspaceAgentReadStateSnapshot>;
|
|
@@ -2770,23 +2776,37 @@ declare const agentGuiI18nResources: {
|
|
|
2770
2776
|
readonly contentPlaceholder: "Write the reusable prompt text";
|
|
2771
2777
|
readonly contentTooLarge: "Prompt text must be 32 KiB or less";
|
|
2772
2778
|
readonly createTitle: "New quick prompt";
|
|
2773
|
-
readonly createFromTemplate: "
|
|
2779
|
+
readonly createFromTemplate: "Recommended templates";
|
|
2774
2780
|
readonly delete: "Delete";
|
|
2775
2781
|
readonly deleteConfirm: "Delete prompt";
|
|
2776
2782
|
readonly deleteDescription: "Delete \"{{title}}\"? This cannot be undone.";
|
|
2777
2783
|
readonly deleteTitle: "Delete quick prompt?";
|
|
2778
2784
|
readonly deleting: "Deleting…";
|
|
2785
|
+
readonly dragCancel: "Sorting canceled. \"{{title}}\" returned to position {{position}} of {{total}}.";
|
|
2786
|
+
readonly dragDrop: "\"{{title}}\" was placed at position {{position}} of {{total}}.";
|
|
2787
|
+
readonly dragHandle: "Reorder \"{{title}}\"";
|
|
2788
|
+
readonly dragInstructions: "Press Space or Enter to pick up, use arrow keys to move, then press Space or Enter to drop. Press Escape to cancel.";
|
|
2789
|
+
readonly dragMove: "\"{{title}}\" is moving to position {{position}} of {{total}}.";
|
|
2790
|
+
readonly dragStart: "Picked up \"{{title}}\", position {{position}} of {{total}}.";
|
|
2779
2791
|
readonly edit: "Edit";
|
|
2780
2792
|
readonly editTitle: "Edit quick prompt";
|
|
2781
2793
|
readonly empty: "No quick prompts yet";
|
|
2794
|
+
readonly finishSorting: "Done";
|
|
2782
2795
|
readonly loadError: "Quick prompts could not be loaded";
|
|
2783
2796
|
readonly loading: "Loading quick prompts…";
|
|
2784
2797
|
readonly moreActions: "More prompt actions";
|
|
2785
2798
|
readonly mutationError: "The prompt could not be saved. Try again.";
|
|
2786
2799
|
readonly noResults: "No matching quick prompts";
|
|
2787
2800
|
readonly required: "Title and prompt text are required";
|
|
2801
|
+
readonly reorderConflict: "The prompt order changed in another window. Refresh and drag again.";
|
|
2802
|
+
readonly reorderError: "The prompt order could not be saved. Try dragging again.";
|
|
2788
2803
|
readonly retry: "Try again";
|
|
2789
2804
|
readonly recommendedTemplates: {
|
|
2805
|
+
readonly summaryCommonPrompts: {
|
|
2806
|
+
readonly title: "Summarize common prompts";
|
|
2807
|
+
readonly description: "Find important insights and repeated work patterns from conversation history";
|
|
2808
|
+
readonly content: "Please scan and read all available conversation history and memory.\n\n1. What important insight have you discovered that I may not be aware of, and that could significantly change my decisions and work?\n2. What work do I repeat? Identify the prompts I use most often, and explain why they matter and when to use them.\n\nClearly state the accessible scope and distinguish facts, inferences, and unconfirmed items. Do not present assumptions as facts.";
|
|
2809
|
+
};
|
|
2790
2810
|
readonly understandContext: {
|
|
2791
2811
|
readonly title: "Understand the situation";
|
|
2792
2812
|
readonly description: "Summarize context, constraints, risks, and next steps";
|
|
@@ -2814,6 +2834,7 @@ declare const agentGuiI18nResources: {
|
|
|
2814
2834
|
readonly save: "Save";
|
|
2815
2835
|
readonly saving: "Saving…";
|
|
2816
2836
|
readonly searchPlaceholder: "Search quick prompts";
|
|
2837
|
+
readonly startSorting: "Sort";
|
|
2817
2838
|
readonly title: "Quick prompts";
|
|
2818
2839
|
readonly titleLabel: "Title";
|
|
2819
2840
|
readonly titlePlaceholder: "Give this prompt a short name";
|
|
@@ -5440,23 +5461,37 @@ declare const agentGuiI18nResources: {
|
|
|
5440
5461
|
readonly contentPlaceholder: "输入可重复使用的提示词内容";
|
|
5441
5462
|
readonly contentTooLarge: "提示词内容不能超过 32 KiB";
|
|
5442
5463
|
readonly createTitle: "新增快捷提示词";
|
|
5443
|
-
readonly createFromTemplate: "
|
|
5464
|
+
readonly createFromTemplate: "推荐模板";
|
|
5444
5465
|
readonly delete: "删除";
|
|
5445
5466
|
readonly deleteConfirm: "删除提示词";
|
|
5446
5467
|
readonly deleteDescription: "确定删除「{{title}}」吗?删除后无法恢复";
|
|
5447
5468
|
readonly deleteTitle: "删除快捷提示词?";
|
|
5448
5469
|
readonly deleting: "正在删除…";
|
|
5470
|
+
readonly dragCancel: "已取消排序,「{{title}}」返回第 {{position}} 项,共 {{total}} 项";
|
|
5471
|
+
readonly dragDrop: "已将「{{title}}」放到第 {{position}} 项,共 {{total}} 项";
|
|
5472
|
+
readonly dragHandle: "调整「{{title}}」的顺序";
|
|
5473
|
+
readonly dragInstructions: "按空格键或回车键开始拖拽,使用方向键移动,再按空格键或回车键放下,按 Esc 键取消";
|
|
5474
|
+
readonly dragMove: "正在把「{{title}}」移动到第 {{position}} 项,共 {{total}} 项";
|
|
5475
|
+
readonly dragStart: "已选中「{{title}}」,当前第 {{position}} 项,共 {{total}} 项";
|
|
5449
5476
|
readonly edit: "编辑";
|
|
5450
5477
|
readonly editTitle: "编辑快捷提示词";
|
|
5451
5478
|
readonly empty: "暂无快捷提示词";
|
|
5479
|
+
readonly finishSorting: "完成";
|
|
5452
5480
|
readonly loadError: "快捷提示词加载失败";
|
|
5453
5481
|
readonly loading: "正在加载快捷提示词…";
|
|
5454
5482
|
readonly moreActions: "更多提示词操作";
|
|
5455
5483
|
readonly mutationError: "提示词保存失败,请重试";
|
|
5456
5484
|
readonly noResults: "没有匹配的快捷提示词";
|
|
5457
5485
|
readonly required: "标题和提示词内容不能为空";
|
|
5486
|
+
readonly reorderConflict: "提示词顺序已在其他窗口发生变化,请刷新后重新拖拽";
|
|
5487
|
+
readonly reorderError: "提示词顺序保存失败,请重新拖拽";
|
|
5458
5488
|
readonly retry: "重试";
|
|
5459
5489
|
readonly recommendedTemplates: {
|
|
5490
|
+
readonly summaryCommonPrompts: {
|
|
5491
|
+
readonly title: "总结常用提示词";
|
|
5492
|
+
readonly description: "从历史对话中发现关键洞察和重复工作模式";
|
|
5493
|
+
readonly content: "请扫描、读取所有可访问的历史对话信息以及记忆。\n\n1. 有什么东西是你发现了但我完全没有意识到的关键点?而且这个关键点会对我的决策和工作带来巨大的改变。\n2. 我有哪些重复的工作内容?从里面挑出我常用的提示词给我,并且说明原因和使用场景。\n\n请明确说明实际可访问范围,区分事实、推断和待确认内容,不要把推测当成事实";
|
|
5494
|
+
};
|
|
5460
5495
|
readonly understandContext: {
|
|
5461
5496
|
readonly title: "梳理现状";
|
|
5462
5497
|
readonly description: "总结上下文、约束、风险与下一步";
|
|
@@ -5484,6 +5519,7 @@ declare const agentGuiI18nResources: {
|
|
|
5484
5519
|
readonly save: "保存";
|
|
5485
5520
|
readonly saving: "正在保存…";
|
|
5486
5521
|
readonly searchPlaceholder: "搜索快捷提示词";
|
|
5522
|
+
readonly startSorting: "排序";
|
|
5487
5523
|
readonly title: "快捷提示词";
|
|
5488
5524
|
readonly titleLabel: "标题";
|
|
5489
5525
|
readonly titlePlaceholder: "输入简短易识别的名称";
|
|
@@ -7638,7 +7674,7 @@ declare function AgentGuiI18nProvider({ children, locale, runtime }: {
|
|
|
7638
7674
|
interface AgentQuickPromptTemplate {
|
|
7639
7675
|
content: string;
|
|
7640
7676
|
description: string;
|
|
7641
|
-
id: "understand-context" | "create-action-plan" | "review-and-improve" | "draft-clear-update";
|
|
7677
|
+
id: "summary-common-prompts" | "understand-context" | "create-action-plan" | "review-and-improve" | "draft-clear-update";
|
|
7642
7678
|
title: string;
|
|
7643
7679
|
}
|
|
7644
7680
|
interface AgentQuickPromptLabels {
|
|
@@ -7654,19 +7690,29 @@ interface AgentQuickPromptLabels {
|
|
|
7654
7690
|
deleteDescription: (title: string) => string;
|
|
7655
7691
|
deleteTitle: string;
|
|
7656
7692
|
deleting: string;
|
|
7693
|
+
dragCancel: (title: string, position: number, total: number) => string;
|
|
7694
|
+
dragDrop: (title: string, position: number, total: number) => string;
|
|
7695
|
+
dragHandle: (title: string) => string;
|
|
7696
|
+
dragInstructions: string;
|
|
7697
|
+
dragMove: (title: string, position: number, total: number) => string;
|
|
7698
|
+
dragStart: (title: string, position: number, total: number) => string;
|
|
7657
7699
|
edit: string;
|
|
7658
7700
|
editTitle: string;
|
|
7659
7701
|
empty: string;
|
|
7702
|
+
finishSorting: string;
|
|
7660
7703
|
loadError: string;
|
|
7661
7704
|
loading: string;
|
|
7662
7705
|
moreActions: string;
|
|
7663
7706
|
mutationError: string;
|
|
7664
7707
|
noResults: string;
|
|
7665
7708
|
required: string;
|
|
7709
|
+
reorderConflict: string;
|
|
7710
|
+
reorderError: string;
|
|
7666
7711
|
retry: string;
|
|
7667
7712
|
save: string;
|
|
7668
7713
|
saving: string;
|
|
7669
7714
|
searchPlaceholder: string;
|
|
7715
|
+
startSorting: string;
|
|
7670
7716
|
recommendedTemplates: readonly AgentQuickPromptTemplate[];
|
|
7671
7717
|
recommendedTemplatesDescription: string;
|
|
7672
7718
|
recommendedTemplatesTitle: string;
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
localAgentGUIAgentTargetId,
|
|
9
9
|
normalizeAgentGUIAgentTargets,
|
|
10
10
|
resolveAgentGUIAgentTarget
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4SLHS5X5.js";
|
|
12
12
|
import "./chunk-A4WCTHWS.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_GUI_DETAIL_MIN_WIDTH_PX,
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
|
|
17
17
|
resolveAgentGUIExpandedWindowFrame,
|
|
18
18
|
shouldAutoCollapseAgentGUIConversationRail
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MJNX2SC6.js";
|
|
20
20
|
import "./chunk-6II57C72.js";
|
|
21
21
|
import "./chunk-YSA4MXR5.js";
|
|
22
22
|
import "./chunk-MHOYBRCY.js";
|
|
23
23
|
import "./chunk-SZVHT57M.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-W3EI5EWM.js";
|
|
25
|
+
import "./chunk-YB5DZYLI.js";
|
|
26
|
+
import "./chunk-GJBSQWIA.js";
|
|
27
27
|
import "./chunk-THBCAUBR.js";
|
|
28
28
|
import "./chunk-UP3ZDYTN.js";
|
|
29
29
|
import "./chunk-GUFEHWUX.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-FVACDLAJ.js";
|
|
31
31
|
import {
|
|
32
32
|
agentGUIAgentIsReady,
|
|
33
33
|
normalizeAgentGUIAgents,
|
|
@@ -40,14 +40,14 @@ import {
|
|
|
40
40
|
} from "./chunk-PQPNDL4A.js";
|
|
41
41
|
import {
|
|
42
42
|
preloadAgentMentionBrowse
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-A6UMKVKW.js";
|
|
44
44
|
import "./chunk-VMPA46ET.js";
|
|
45
45
|
import "./chunk-XJ34OIEQ.js";
|
|
46
46
|
import "./chunk-JDVP33S5.js";
|
|
47
47
|
import {
|
|
48
48
|
createAgentSessionHandoffPrompt,
|
|
49
49
|
createAgentSessionMarkdownLink
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7W4WEFAY.js";
|
|
51
51
|
import "./chunk-5QPOMKMQ.js";
|
|
52
52
|
import {
|
|
53
53
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
@@ -59,13 +59,13 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
dispatchAgentPlanPromptAction,
|
|
61
61
|
selectAgentPlanPromptTurn
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZEYVTTUK.js";
|
|
63
63
|
import {
|
|
64
64
|
useEngineSelector
|
|
65
65
|
} from "./chunk-2RQM7PJN.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-T7DN6RYO.js";
|
|
67
67
|
import "./chunk-ZVYUTXQJ.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-HIPSKKXB.js";
|
|
69
69
|
import "./chunk-YMXYBG7U.js";
|
|
70
70
|
import {
|
|
71
71
|
AgentActivityHostProvider,
|
|
@@ -75,17 +75,17 @@ import {
|
|
|
75
75
|
useAgentActivityRuntime,
|
|
76
76
|
useAgentActivitySnapshot,
|
|
77
77
|
useOptionalAgentActivityRuntime
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-KUTB4EGX.js";
|
|
79
79
|
import "./chunk-F5UR6EJG.js";
|
|
80
80
|
import "./chunk-ZWLWT3TZ.js";
|
|
81
81
|
import {
|
|
82
82
|
AgentGuiI18nProvider,
|
|
83
83
|
agentGuiI18nModule,
|
|
84
84
|
agentGuiI18nResources
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-W4UPFP2N.js";
|
|
86
86
|
import "./chunk-PJP5BUU6.js";
|
|
87
87
|
import "./chunk-AODSTIED.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-OXCWE3B5.js";
|
|
89
89
|
import "./chunk-MIJXEELH.js";
|
|
90
90
|
import {
|
|
91
91
|
getAgentCustomMentionKind,
|
package/dist/mention-search.js
CHANGED
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
4
4
|
preloadAgentMentionBrowse,
|
|
5
5
|
resetAgentMentionSearchBrowseCacheForTests
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A6UMKVKW.js";
|
|
7
7
|
import "./chunk-VMPA46ET.js";
|
|
8
8
|
import "./chunk-XJ34OIEQ.js";
|
|
9
9
|
import "./chunk-JDVP33S5.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-7W4WEFAY.js";
|
|
11
11
|
import "./chunk-5QPOMKMQ.js";
|
|
12
12
|
import "./chunk-RMQREVJY.js";
|
|
13
13
|
import "./chunk-FGLQZ6I4.js";
|
|
14
14
|
import "./chunk-YMXYBG7U.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KUTB4EGX.js";
|
|
16
16
|
import "./chunk-F5UR6EJG.js";
|
|
17
17
|
import "./chunk-ZWLWT3TZ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-W4UPFP2N.js";
|
|
19
19
|
import "./chunk-PJP5BUU6.js";
|
|
20
20
|
import "./chunk-AODSTIED.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-OXCWE3B5.js";
|
|
22
22
|
import "./chunk-MIJXEELH.js";
|
|
23
23
|
import "./chunk-D2JUDUYY.js";
|
|
24
24
|
import "./chunk-LCFMJPNA.js";
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
19
19
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
20
20
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-MJNX2SC6.js";
|
|
22
22
|
import "../chunk-6II57C72.js";
|
|
23
23
|
import "../chunk-YSA4MXR5.js";
|
|
24
24
|
import "../chunk-MHOYBRCY.js";
|
|
25
25
|
import "../chunk-SZVHT57M.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-W3EI5EWM.js";
|
|
27
27
|
import "../chunk-66JZ7BQM.js";
|
|
28
28
|
import "../chunk-PQPNDL4A.js";
|
|
29
29
|
import "../chunk-2RQM7PJN.js";
|
|
30
30
|
import "../chunk-AODSTIED.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-OXCWE3B5.js";
|
|
32
32
|
import "../chunk-MIJXEELH.js";
|
|
33
33
|
import "../chunk-LCFMJPNA.js";
|
|
34
34
|
import "../chunk-5CLSJWUN.js";
|
package/dist/workbench/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
15
15
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
16
16
|
resolveAgentGuiWorkbenchConversationIdentity
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-MJNX2SC6.js";
|
|
18
18
|
import {
|
|
19
19
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
20
20
|
areAgentGuiWorkbenchStatesEqual,
|
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
58
58
|
resolveAgentGuiWorkbenchSessionTitle
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-W3EI5EWM.js";
|
|
60
60
|
import "../chunk-66JZ7BQM.js";
|
|
61
61
|
import "../chunk-PQPNDL4A.js";
|
|
62
62
|
import "../chunk-2RQM7PJN.js";
|
|
63
63
|
import "../chunk-AODSTIED.js";
|
|
64
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-OXCWE3B5.js";
|
|
65
65
|
import "../chunk-MIJXEELH.js";
|
|
66
66
|
import "../chunk-LCFMJPNA.js";
|
|
67
67
|
import "../chunk-5CLSJWUN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
3
3
|
resolveAgentGuiWorkbenchSessionTitle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-W3EI5EWM.js";
|
|
5
|
+
import "../chunk-OXCWE3B5.js";
|
|
6
6
|
import "../chunk-MIJXEELH.js";
|
|
7
7
|
import "../chunk-5CLSJWUN.js";
|
|
8
8
|
export {
|
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.167",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -139,18 +139,18 @@
|
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@monaco-editor/react": "^4.7.0",
|
|
141
141
|
"@tanstack/react-virtual": "^3.13.12",
|
|
142
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
143
|
-
"@tutti-os/browser-node": "0.0.
|
|
144
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
145
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
146
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
147
|
-
"@tutti-os/ui-system": "0.0.
|
|
148
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
149
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
150
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
151
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
152
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
153
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
142
|
+
"@tutti-os/agent-activity-core": "0.0.167",
|
|
143
|
+
"@tutti-os/browser-node": "0.0.167",
|
|
144
|
+
"@tutti-os/ui-i18n-runtime": "0.0.167",
|
|
145
|
+
"@tutti-os/ui-react-hooks": "0.0.167",
|
|
146
|
+
"@tutti-os/ui-rich-text": "0.0.167",
|
|
147
|
+
"@tutti-os/ui-system": "0.0.167",
|
|
148
|
+
"@tutti-os/workbench-surface": "0.0.167",
|
|
149
|
+
"@tutti-os/workspace-external-core": "0.0.167",
|
|
150
|
+
"@tutti-os/workspace-file-manager": "0.0.167",
|
|
151
|
+
"@tutti-os/workspace-file-reference": "0.0.167",
|
|
152
|
+
"@tutti-os/workspace-issue-manager": "0.0.167",
|
|
153
|
+
"@tutti-os/workspace-user-project": "0.0.167",
|
|
154
154
|
"clsx": "^2.1.1",
|
|
155
155
|
"framer-motion": "^12.40.0",
|
|
156
156
|
"lodash": "^4.17.21",
|