@tutti-os/agent-gui 0.0.15 → 0.0.16
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-DqssJ2-b.d.ts +218 -0
- package/dist/agent-conversation/index.d.ts +3 -1
- package/dist/agent-conversation/index.js +5 -4
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-message-center/index.d.ts +2 -1
- package/dist/agent-message-center/index.js +547 -287
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/app/renderer/agentactivity.css +144 -8
- package/dist/{chunk-H4HT3FE6.js → chunk-267VY3EJ.js} +40 -30
- package/dist/chunk-267VY3EJ.js.map +1 -0
- package/dist/{chunk-XHQGCP7A.js → chunk-CABHBFYH.js} +2 -2
- package/dist/{chunk-OFGXNXYT.js → chunk-EKATXC3W.js} +2 -2
- package/dist/{chunk-YKDFQADM.js → chunk-FJYH2ZPX.js} +177 -332
- package/dist/chunk-FJYH2ZPX.js.map +1 -0
- package/dist/{chunk-EK5RDKG7.js → chunk-GWR6WGZY.js} +21 -11
- package/dist/chunk-GWR6WGZY.js.map +1 -0
- package/dist/{chunk-7CBJJNX6.js → chunk-JNGYJ7GM.js} +2 -2
- package/dist/{chunk-7CBJJNX6.js.map → chunk-JNGYJ7GM.js.map} +1 -1
- package/dist/{chunk-U4F3COKL.js → chunk-KWPL3JYS.js} +83 -115
- package/dist/chunk-KWPL3JYS.js.map +1 -0
- package/dist/{chunk-2CA4NPP3.js → chunk-LW2S255I.js} +10 -7
- package/dist/{chunk-2CA4NPP3.js.map → chunk-LW2S255I.js.map} +1 -1
- package/dist/{chunk-SVOGXWFJ.js → chunk-LWRYYGPZ.js} +562 -468
- package/dist/chunk-LWRYYGPZ.js.map +1 -0
- package/dist/chunk-O5TUTXHT.js +196 -0
- package/dist/chunk-O5TUTXHT.js.map +1 -0
- package/dist/{chunk-KJPMZ7G5.js → chunk-SIDWRR5I.js} +39 -17
- package/dist/chunk-SIDWRR5I.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +5 -104
- package/dist/context-mention-palette/index.js +6 -5
- package/dist/i18n/index.d.ts +38 -16
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +22 -2
- package/dist/index.js +1825 -1303
- package/dist/index.js.map +1 -1
- package/dist/workbench/contribution.js +2 -2
- package/dist/workbench/index.d.ts +2 -1
- package/dist/workbench/index.js +2 -2
- package/dist/workbench/launch.js +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/package.json +12 -12
- package/dist/agentFileMentionExtension-CM1c9bqk.d.ts +0 -86
- package/dist/chunk-EK5RDKG7.js.map +0 -1
- package/dist/chunk-H4HT3FE6.js.map +0 -1
- package/dist/chunk-KJPMZ7G5.js.map +0 -1
- package/dist/chunk-SVOGXWFJ.js.map +0 -1
- package/dist/chunk-U4F3COKL.js.map +0 -1
- package/dist/chunk-YKDFQADM.js.map +0 -1
- /package/dist/{chunk-XHQGCP7A.js.map → chunk-CABHBFYH.js.map} +0 -0
- /package/dist/{chunk-OFGXNXYT.js.map → chunk-EKATXC3W.js.map} +0 -0
|
@@ -1,109 +1,10 @@
|
|
|
1
|
-
import { A as AgentContextMentionItem } from '../
|
|
2
|
-
|
|
3
|
-
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionInsertResult, AgentContextMentionProviderId, AgentContextMentionQueryInput } from '../context-mention-provider.js';
|
|
4
|
-
import
|
|
1
|
+
import { f as AgentMentionSearchState, A as AgentContextMentionItem, a as AgentMentionBrowseCategory, b as AgentMentionFilterId, d as AgentMentionGroupId } from '../AgentMentionSearchController-DqssJ2-b.js';
|
|
2
|
+
export { c as AgentMentionGroup, e as AgentMentionSearchController } from '../AgentMentionSearchController-DqssJ2-b.js';
|
|
3
|
+
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionInsertResult, AgentContextMentionProvider, AgentContextMentionProviderId, AgentContextMentionQueryInput } from '../context-mention-provider.js';
|
|
4
|
+
import '@tutti-os/ui-rich-text/at-panel';
|
|
5
5
|
import '@tutti-os/ui-rich-text/types';
|
|
6
6
|
import '@tutti-os/workspace-external-core/contracts';
|
|
7
7
|
|
|
8
|
-
type AgentMentionProviderDiagnosticStatus = "success" | "timeout" | "error" | "missing";
|
|
9
|
-
interface AgentMentionProviderQueryDiagnostic {
|
|
10
|
-
durationMs: number;
|
|
11
|
-
errorKind?: string;
|
|
12
|
-
providerId: string;
|
|
13
|
-
resultCount: number;
|
|
14
|
-
status: AgentMentionProviderDiagnosticStatus;
|
|
15
|
-
}
|
|
16
|
-
interface AgentMentionSearchDiagnosticLog {
|
|
17
|
-
debounceMs: number;
|
|
18
|
-
durationMs: number;
|
|
19
|
-
errorKind?: string;
|
|
20
|
-
event: "agent_gui.mention_search";
|
|
21
|
-
filter: AgentMentionFilterId;
|
|
22
|
-
groupCount: number;
|
|
23
|
-
itemCount: number;
|
|
24
|
-
mode: "browse" | "results";
|
|
25
|
-
providerResults: AgentMentionProviderQueryDiagnostic[];
|
|
26
|
-
providerTimeoutMs: number;
|
|
27
|
-
queryLength: number;
|
|
28
|
-
requestId: number;
|
|
29
|
-
status: "ready" | "error";
|
|
30
|
-
workspaceId: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
type AgentMentionFilterId = "all" | "app" | "file" | "session" | "issue";
|
|
34
|
-
type AgentMentionGroupId = "apps" | "files" | "opened_files" | "agent_generated_files" | "my_sessions" | "collab_sessions" | "issues";
|
|
35
|
-
interface AgentMentionBrowseCategory {
|
|
36
|
-
id: AgentMentionFilterId;
|
|
37
|
-
label: string;
|
|
38
|
-
}
|
|
39
|
-
type AgentMentionGroup = MentionPaletteGroup<AgentContextMentionItem>;
|
|
40
|
-
type AgentMentionSearchState = MentionPaletteState<AgentContextMentionItem>;
|
|
41
|
-
interface AgentMentionSearchControllerOptions {
|
|
42
|
-
contextMentionProviders?: readonly AgentContextMentionProvider[];
|
|
43
|
-
debounceMs?: number;
|
|
44
|
-
fileLimit?: number;
|
|
45
|
-
issueLimit?: number;
|
|
46
|
-
providerTimeoutMs?: number;
|
|
47
|
-
diagnosticInfoLogger?: (payload: AgentMentionSearchDiagnosticLog) => void;
|
|
48
|
-
diagnosticNow?: () => number;
|
|
49
|
-
diagnosticSlowThresholdMs?: number;
|
|
50
|
-
}
|
|
51
|
-
type Listener = (state: AgentMentionSearchState) => void;
|
|
52
|
-
declare class AgentMentionSearchController {
|
|
53
|
-
private readonly contextMentionProviders;
|
|
54
|
-
private readonly debounceMs;
|
|
55
|
-
private readonly fileLimit;
|
|
56
|
-
private readonly issueLimit;
|
|
57
|
-
private readonly providerTimeoutMs;
|
|
58
|
-
private readonly diagnosticInfoLogger;
|
|
59
|
-
private readonly diagnosticNow;
|
|
60
|
-
private readonly diagnosticSlowThresholdMs;
|
|
61
|
-
private readonly listeners;
|
|
62
|
-
private readonly expandedCounts;
|
|
63
|
-
private readonly totalCounts;
|
|
64
|
-
private timer;
|
|
65
|
-
private requestId;
|
|
66
|
-
private disposed;
|
|
67
|
-
private activeWorkspaceId;
|
|
68
|
-
private currentUserId;
|
|
69
|
-
private currentFilter;
|
|
70
|
-
private currentQuery;
|
|
71
|
-
private currentSessionCwd;
|
|
72
|
-
private currentFileSearchLimit;
|
|
73
|
-
private currentIssueSearchLimit;
|
|
74
|
-
private agentGeneratedBrowsePath;
|
|
75
|
-
private rawGroups;
|
|
76
|
-
private state;
|
|
77
|
-
constructor(options: AgentMentionSearchControllerOptions);
|
|
78
|
-
subscribe(listener: Listener): () => void;
|
|
79
|
-
updateQuery(input: {
|
|
80
|
-
workspaceId: string;
|
|
81
|
-
currentUserId?: string | null;
|
|
82
|
-
query: string;
|
|
83
|
-
sessionCwd?: string | null;
|
|
84
|
-
}): void;
|
|
85
|
-
setFilter(filter: AgentMentionFilterId): void;
|
|
86
|
-
enterCategory(category: Exclude<AgentMentionFilterId, "all">): void;
|
|
87
|
-
selectAgentGeneratedMentionItem(item: AgentContextMentionItem): boolean;
|
|
88
|
-
expandGroup(groupId: AgentMentionGroupId): void;
|
|
89
|
-
close(): void;
|
|
90
|
-
dispose(): void;
|
|
91
|
-
private startBrowseModeFetch;
|
|
92
|
-
private runSearch;
|
|
93
|
-
private runBrowseSearch;
|
|
94
|
-
private queryProviderMentionItems;
|
|
95
|
-
private queryProviderMentionItemsById;
|
|
96
|
-
private logSearchDiagnostic;
|
|
97
|
-
private groupsFromRawGroups;
|
|
98
|
-
private emitBrowseState;
|
|
99
|
-
private canApply;
|
|
100
|
-
private clearTimer;
|
|
101
|
-
private resetExpandedCounts;
|
|
102
|
-
private resetSearchLimits;
|
|
103
|
-
private resetAgentGeneratedBrowsePath;
|
|
104
|
-
private setState;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
8
|
interface AgentMentionPaletteEntry {
|
|
108
9
|
key: string;
|
|
109
10
|
type: "category" | "item" | "expand";
|
|
@@ -140,4 +41,4 @@ declare function AgentFileMentionPalette({ state, highlightedKey, label, loading
|
|
|
140
41
|
declare const AgentContextMentionPalette: typeof AgentFileMentionPalette;
|
|
141
42
|
type AgentContextMentionPaletteProps = AgentFileMentionPaletteProps;
|
|
142
43
|
|
|
143
|
-
export { AgentContextMentionItem, AgentContextMentionPalette, type AgentContextMentionPaletteProps,
|
|
44
|
+
export { AgentContextMentionItem, AgentContextMentionPalette, type AgentContextMentionPaletteProps, AgentFileMentionPalette, type AgentFileMentionPaletteProps, AgentMentionBrowseCategory, AgentMentionFilterId, AgentMentionGroupId, type AgentMentionPaletteEntry, AgentMentionSearchState, flattenAgentMentionPaletteEntries, groupStartKeys };
|
|
@@ -4,19 +4,20 @@ import {
|
|
|
4
4
|
AgentMentionSearchController,
|
|
5
5
|
flattenAgentMentionPaletteEntries,
|
|
6
6
|
groupStartKeys
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-LWRYYGPZ.js";
|
|
8
|
+
import "../chunk-CABHBFYH.js";
|
|
9
|
+
import "../chunk-EKATXC3W.js";
|
|
10
10
|
import "../chunk-MTFSQWZ6.js";
|
|
11
11
|
import "../chunk-IBIMGLCD.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-KWPL3JYS.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
|
+
import "../chunk-O5TUTXHT.js";
|
|
14
15
|
import "../chunk-TYGL25EL.js";
|
|
15
16
|
import {
|
|
16
17
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
17
18
|
} from "../chunk-HIREVEZM.js";
|
|
18
19
|
import "../chunk-GCBDIQDX.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-SIDWRR5I.js";
|
|
20
21
|
import "../chunk-LUGELG5V.js";
|
|
21
22
|
import "../chunk-PJP5BUU6.js";
|
|
22
23
|
export {
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -476,7 +476,6 @@ declare const agentGuiI18nResources: {
|
|
|
476
476
|
readonly usageTokensLabel: "Tokens";
|
|
477
477
|
readonly usageLimitsLabel: "Limits";
|
|
478
478
|
readonly usageCompactAction: "Compact";
|
|
479
|
-
readonly usageCompactTooltip: "Compact the conversation context (/compact)";
|
|
480
479
|
readonly usageAlertWarnMessage: "Context is {{percent}}% full. Consider compacting the conversation.";
|
|
481
480
|
readonly usageAlertCriticalMessage: "Context is {{percent}}% full. Compact now to keep the session going.";
|
|
482
481
|
readonly usageAlertDismiss: "Dismiss";
|
|
@@ -605,7 +604,6 @@ declare const agentGuiI18nResources: {
|
|
|
605
604
|
readonly searchNoConversations: "No related sessions";
|
|
606
605
|
readonly conversationUnavailable: "Session unavailable.";
|
|
607
606
|
readonly contextPickerBrowseHint: "Search workspace files based on your input";
|
|
608
|
-
readonly contextPickerBrowseAllHint: "Search workspace files based on your input";
|
|
609
607
|
readonly contextPickerBrowseFileHint: "No opened or Agent-generated files yet. Type a file name to search your computer.";
|
|
610
608
|
readonly mentionFileSearchMoreHint: "Type a file name to search for more files on your computer";
|
|
611
609
|
readonly contextPickerBrowseAppHint: "Type to search apps";
|
|
@@ -624,7 +622,7 @@ declare const agentGuiI18nResources: {
|
|
|
624
622
|
readonly sectionToday: "Today";
|
|
625
623
|
readonly sectionYesterday: "Yesterday";
|
|
626
624
|
readonly sectionEarlier: "Earlier";
|
|
627
|
-
readonly projectSectionEdit: "
|
|
625
|
+
readonly projectSectionEdit: "New session";
|
|
628
626
|
readonly projectSectionMoreActions: "Project actions";
|
|
629
627
|
readonly projectRailCreateProject: "New project";
|
|
630
628
|
readonly projectRailLinkExistingProject: "Link existing project folder";
|
|
@@ -659,6 +657,15 @@ declare const agentGuiI18nResources: {
|
|
|
659
657
|
readonly activatingSession: "Connecting session...";
|
|
660
658
|
readonly retryActivation: "Retry";
|
|
661
659
|
readonly continueInNewConversation: "New session";
|
|
660
|
+
readonly goalLabel: "Goal";
|
|
661
|
+
readonly goalStatusActive: "Active";
|
|
662
|
+
readonly goalStatusPaused: "Paused";
|
|
663
|
+
readonly goalStatusBlocked: "Blocked";
|
|
664
|
+
readonly goalStatusUsageLimited: "Usage limited";
|
|
665
|
+
readonly goalStatusBudgetLimited: "Budget limited";
|
|
666
|
+
readonly goalStatusComplete: "Complete";
|
|
667
|
+
readonly goalBudgetUsage: "{{used}}/{{budget}} tokens";
|
|
668
|
+
readonly goalClearHint: "Type /goal clear to clear";
|
|
662
669
|
readonly processing: "Planning next moves";
|
|
663
670
|
readonly promptImagesUnsupported: "This agent does not support image input with the current model.";
|
|
664
671
|
readonly visibleErrorStartFailed: "{{provider}} failed to start";
|
|
@@ -712,6 +719,7 @@ declare const agentGuiI18nResources: {
|
|
|
712
719
|
readonly shortcutEnter: "Enter";
|
|
713
720
|
readonly shortcutCmdEnter: "Cmd + Enter";
|
|
714
721
|
readonly shortcutCtrEnter: "Ctr + Enter";
|
|
722
|
+
readonly openConversationWindow: "Open session in new window";
|
|
715
723
|
readonly deleteSession: "Delete session";
|
|
716
724
|
readonly pinSession: "Pin session";
|
|
717
725
|
readonly unpinSession: "Unpin session";
|
|
@@ -732,6 +740,9 @@ declare const agentGuiI18nResources: {
|
|
|
732
740
|
readonly slashPaletteCommandsGroup: "Commands";
|
|
733
741
|
readonly slashPaletteCapabilitiesGroup: "Capabilities";
|
|
734
742
|
readonly slashPaletteSkillsGroup: "Skills";
|
|
743
|
+
readonly slashPalettePluginsGroup: "Plugins";
|
|
744
|
+
readonly slashPaletteConnectorsGroup: "Connectors";
|
|
745
|
+
readonly slashPaletteMcpGroup: "MCP";
|
|
735
746
|
readonly browserUseCapabilityLabel: "Browser";
|
|
736
747
|
readonly browserUseCapabilityDescription: "Let the agent use a browser.";
|
|
737
748
|
readonly browserUseCapabilityDescriptionAutoConnect: "Current mode: reuse your signed-in Chrome.";
|
|
@@ -786,6 +797,7 @@ declare const agentGuiI18nResources: {
|
|
|
786
797
|
readonly searchPlaceholder: "Search files and folders";
|
|
787
798
|
readonly selectGroupHint: "Select a folder on the left";
|
|
788
799
|
readonly selectedCount: "{{count}} selected";
|
|
800
|
+
readonly sourceColumn: "Category";
|
|
789
801
|
readonly title: "Pick workspace references";
|
|
790
802
|
readonly workspaceRootGroup: "Workspace";
|
|
791
803
|
};
|
|
@@ -793,7 +805,6 @@ declare const agentGuiI18nResources: {
|
|
|
793
805
|
readonly projectMissingDescription: "This conversation's working directory no longer exists";
|
|
794
806
|
readonly fileMentionSwitchCategory: "Switch category";
|
|
795
807
|
readonly fileMentionSwitchSelection: "Switch selection";
|
|
796
|
-
readonly mentionFilterAll: "All";
|
|
797
808
|
readonly mentionFilterFile: "Files";
|
|
798
809
|
readonly mentionFilterApp: "Apps";
|
|
799
810
|
readonly mentionFilterSession: "Sessions";
|
|
@@ -2714,7 +2725,7 @@ declare const agentGuiI18nResources: {
|
|
|
2714
2725
|
readonly permissionSemantics: {
|
|
2715
2726
|
readonly "ask-before-write": {
|
|
2716
2727
|
readonly label: "请求批准";
|
|
2717
|
-
readonly description: "
|
|
2728
|
+
readonly description: "编辑外部文件和使用互联网时始终询问";
|
|
2718
2729
|
};
|
|
2719
2730
|
readonly "accept-edits": {
|
|
2720
2731
|
readonly label: "接受编辑";
|
|
@@ -2726,11 +2737,11 @@ declare const agentGuiI18nResources: {
|
|
|
2726
2737
|
};
|
|
2727
2738
|
readonly auto: {
|
|
2728
2739
|
readonly label: "替我审批";
|
|
2729
|
-
readonly description: "
|
|
2740
|
+
readonly description: "仅对检测到的风险操作请求批准";
|
|
2730
2741
|
};
|
|
2731
2742
|
readonly "full-access": {
|
|
2732
|
-
readonly label: "
|
|
2733
|
-
readonly description: "
|
|
2743
|
+
readonly label: "完全访问权限";
|
|
2744
|
+
readonly description: "可不受限制地访问互联网和您电脑上的任何文件";
|
|
2734
2745
|
};
|
|
2735
2746
|
readonly unconfigurable: {
|
|
2736
2747
|
readonly label: "固定模式";
|
|
@@ -2741,15 +2752,15 @@ declare const agentGuiI18nResources: {
|
|
|
2741
2752
|
readonly codex: {
|
|
2742
2753
|
readonly "read-only": {
|
|
2743
2754
|
readonly label: "请求批准";
|
|
2744
|
-
readonly description: "
|
|
2755
|
+
readonly description: "编辑外部文件和使用互联网时始终询问";
|
|
2745
2756
|
};
|
|
2746
2757
|
readonly auto: {
|
|
2747
2758
|
readonly label: "替我审批";
|
|
2748
|
-
readonly description: "
|
|
2759
|
+
readonly description: "仅对检测到的风险操作请求批准";
|
|
2749
2760
|
};
|
|
2750
2761
|
readonly "full-access": {
|
|
2751
|
-
readonly label: "
|
|
2752
|
-
readonly description: "
|
|
2762
|
+
readonly label: "完全访问权限";
|
|
2763
|
+
readonly description: "可不受限制地访问互联网和您电脑上的任何文件";
|
|
2753
2764
|
};
|
|
2754
2765
|
};
|
|
2755
2766
|
readonly nexight: {
|
|
@@ -2838,7 +2849,6 @@ declare const agentGuiI18nResources: {
|
|
|
2838
2849
|
readonly usageTokensLabel: "Token 用量";
|
|
2839
2850
|
readonly usageLimitsLabel: "限额";
|
|
2840
2851
|
readonly usageCompactAction: "压缩";
|
|
2841
|
-
readonly usageCompactTooltip: "压缩会话上下文(/compact)";
|
|
2842
2852
|
readonly usageAlertWarnMessage: "上下文已使用 {{percent}}%,建议压缩会话。";
|
|
2843
2853
|
readonly usageAlertCriticalMessage: "上下文已使用 {{percent}}%,请立即压缩以继续会话。";
|
|
2844
2854
|
readonly usageAlertDismiss: "关闭提醒";
|
|
@@ -2967,7 +2977,6 @@ declare const agentGuiI18nResources: {
|
|
|
2967
2977
|
readonly searchNoConversations: "暂无相关会话";
|
|
2968
2978
|
readonly conversationUnavailable: "会话不可用。";
|
|
2969
2979
|
readonly contextPickerBrowseHint: "根据你输入的内容搜索工作区文件";
|
|
2970
|
-
readonly contextPickerBrowseAllHint: "根据你输入的内容搜索工作区文件";
|
|
2971
2980
|
readonly contextPickerBrowseFileHint: "暂无已打开或 Agent 生成的文件,继续输入文件名可搜索本机文件";
|
|
2972
2981
|
readonly mentionFileSearchMoreHint: "继续输入文件名可搜索更多本机文件";
|
|
2973
2982
|
readonly contextPickerBrowseAppHint: "输入内容以搜索应用";
|
|
@@ -2986,7 +2995,7 @@ declare const agentGuiI18nResources: {
|
|
|
2986
2995
|
readonly sectionToday: "今天";
|
|
2987
2996
|
readonly sectionYesterday: "昨天";
|
|
2988
2997
|
readonly sectionEarlier: "更早";
|
|
2989
|
-
readonly projectSectionEdit: "
|
|
2998
|
+
readonly projectSectionEdit: "新建会话";
|
|
2990
2999
|
readonly projectSectionMoreActions: "项目操作";
|
|
2991
3000
|
readonly projectRailCreateProject: "新建项目";
|
|
2992
3001
|
readonly projectRailLinkExistingProject: "关联已有项目文件";
|
|
@@ -3021,6 +3030,15 @@ declare const agentGuiI18nResources: {
|
|
|
3021
3030
|
readonly activatingSession: "正在连接会话...";
|
|
3022
3031
|
readonly retryActivation: "重试";
|
|
3023
3032
|
readonly continueInNewConversation: "去新会话";
|
|
3033
|
+
readonly goalLabel: "目标";
|
|
3034
|
+
readonly goalStatusActive: "进行中";
|
|
3035
|
+
readonly goalStatusPaused: "已暂停";
|
|
3036
|
+
readonly goalStatusBlocked: "已阻塞";
|
|
3037
|
+
readonly goalStatusUsageLimited: "用量受限";
|
|
3038
|
+
readonly goalStatusBudgetLimited: "预算受限";
|
|
3039
|
+
readonly goalStatusComplete: "已完成";
|
|
3040
|
+
readonly goalBudgetUsage: "{{used}}/{{budget}} tokens";
|
|
3041
|
+
readonly goalClearHint: "输入 /goal clear 清除";
|
|
3024
3042
|
readonly processing: "正在规划下一步";
|
|
3025
3043
|
readonly promptImagesUnsupported: "当前模型不支持图片输入。";
|
|
3026
3044
|
readonly visibleErrorStartFailed: "{{provider}} 启动失败";
|
|
@@ -3074,6 +3092,7 @@ declare const agentGuiI18nResources: {
|
|
|
3074
3092
|
readonly shortcutEnter: "Enter";
|
|
3075
3093
|
readonly shortcutCmdEnter: "Cmd + Enter";
|
|
3076
3094
|
readonly shortcutCtrEnter: "Ctr + Enter";
|
|
3095
|
+
readonly openConversationWindow: "在新窗口打开会话";
|
|
3077
3096
|
readonly deleteSession: "删除会话";
|
|
3078
3097
|
readonly pinSession: "置顶会话";
|
|
3079
3098
|
readonly unpinSession: "取消置顶";
|
|
@@ -3094,6 +3113,9 @@ declare const agentGuiI18nResources: {
|
|
|
3094
3113
|
readonly slashPaletteCommandsGroup: "命令";
|
|
3095
3114
|
readonly slashPaletteCapabilitiesGroup: "能力";
|
|
3096
3115
|
readonly slashPaletteSkillsGroup: "技能";
|
|
3116
|
+
readonly slashPalettePluginsGroup: "插件";
|
|
3117
|
+
readonly slashPaletteConnectorsGroup: "连接器";
|
|
3118
|
+
readonly slashPaletteMcpGroup: "MCP";
|
|
3097
3119
|
readonly browserUseCapabilityLabel: "浏览器";
|
|
3098
3120
|
readonly browserUseCapabilityDescription: "让 Agent 使用浏览器。";
|
|
3099
3121
|
readonly browserUseCapabilityDescriptionAutoConnect: "当前配置:复用已登录的 Chrome。";
|
|
@@ -3149,13 +3171,13 @@ declare const agentGuiI18nResources: {
|
|
|
3149
3171
|
readonly selectGroupHint: "从左侧选择一个目录";
|
|
3150
3172
|
readonly selectedCount: "已选择 {{count}} 项";
|
|
3151
3173
|
readonly title: "选择工作区引用";
|
|
3174
|
+
readonly sourceColumn: "分类";
|
|
3152
3175
|
readonly workspaceRootGroup: "工作区";
|
|
3153
3176
|
};
|
|
3154
3177
|
readonly projectLocked: "会话开始后项目不可更改";
|
|
3155
3178
|
readonly projectMissingDescription: "此对话的工作目录已不存在";
|
|
3156
3179
|
readonly fileMentionSwitchCategory: "切换分类";
|
|
3157
3180
|
readonly fileMentionSwitchSelection: "切换选中";
|
|
3158
|
-
readonly mentionFilterAll: "全部";
|
|
3159
3181
|
readonly mentionFilterFile: "文件";
|
|
3160
3182
|
readonly mentionFilterApp: "应用";
|
|
3161
3183
|
readonly mentionFilterSession: "会话";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot, AgentActivityCancelSessionInput, AgentActivityCancelSessionResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySubmitInteractiveInput, AgentActivitySnapshotListener } from '@tutti-os/agent-activity-core';
|
|
2
2
|
export { AgentActivityAdapter, AgentActivityController, AgentActivityMessage, AgentActivityNeedsAttentionItem, AgentActivitySnapshot, selectNeedsAttentionCount, selectNeedsAttentionItems } from '@tutti-os/agent-activity-core';
|
|
3
3
|
import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentSession, f as AgentHostWorkspaceAgentMessage, l as AgentHostWorkspaceAgentSnapshot, B as BuildWorkspaceAgentActivityListOptions, d as AgentHostRuntimeOpenclawGatewayWarmupResult, A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-BK_J3aNX.js';
|
|
4
|
+
import * as react from 'react';
|
|
4
5
|
import { PropsWithChildren, JSX } from 'react';
|
|
5
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
6
7
|
import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
|
|
7
8
|
import { ReferenceLocateTarget, WorkspaceFileReferenceAdapter, WorkspaceFileReference } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
9
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
9
10
|
import { W as WorkspaceLinkAction } from './workspaceLinkActions-Mjktl_Be.js';
|
|
10
|
-
import { A as AgentContextMentionItem } from './
|
|
11
|
+
import { A as AgentContextMentionItem } from './AgentMentionSearchController-DqssJ2-b.js';
|
|
12
|
+
export { p as preloadAgentMentionBrowse } from './AgentMentionSearchController-DqssJ2-b.js';
|
|
11
13
|
import { AgentContextMentionProvider } from './context-mention-provider.js';
|
|
12
14
|
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionProviderId } from './context-mention-provider.js';
|
|
13
15
|
import { A as AgentMessageMarkdownWorkspaceAppIcon } from './AgentMessageMarkdown-DeYPURtF.js';
|
|
14
16
|
import { AgentGuiI18nLocale } from './i18n/index.js';
|
|
15
17
|
export { AgentGuiI18nProvider, agentGuiI18nModule, agentGuiI18nResources } from './i18n/index.js';
|
|
16
18
|
import '@tutti-os/workspace-issue-manager/core';
|
|
19
|
+
import '@tutti-os/ui-rich-text/at-panel';
|
|
17
20
|
import '@tutti-os/ui-rich-text/types';
|
|
18
21
|
import '@tutti-os/workspace-external-core/contracts';
|
|
19
22
|
|
|
@@ -202,6 +205,21 @@ interface AgentActivityRuntimeListSessionMessagesInput {
|
|
|
202
205
|
signal?: AbortSignal;
|
|
203
206
|
workspaceId: string;
|
|
204
207
|
}
|
|
208
|
+
interface AgentActivityRuntimeListGeneratedFilesInput {
|
|
209
|
+
limit?: number;
|
|
210
|
+
query?: string;
|
|
211
|
+
sessionCwd?: string;
|
|
212
|
+
signal?: AbortSignal;
|
|
213
|
+
workspaceId: string;
|
|
214
|
+
}
|
|
215
|
+
interface AgentActivityRuntimeGeneratedFile {
|
|
216
|
+
label: string;
|
|
217
|
+
path: string;
|
|
218
|
+
}
|
|
219
|
+
interface AgentActivityRuntimeGeneratedFileList {
|
|
220
|
+
entries: AgentActivityRuntimeGeneratedFile[];
|
|
221
|
+
workspaceId: string;
|
|
222
|
+
}
|
|
205
223
|
interface AgentActivityRuntimeEnsureSessionSynchronizedInput {
|
|
206
224
|
afterVersion?: number;
|
|
207
225
|
agentSessionId: string;
|
|
@@ -293,6 +311,7 @@ interface AgentActivityRuntime {
|
|
|
293
311
|
getSessionControlState(input: AgentActivityRuntimeGetSessionControlStateInput): Promise<AgentHostAgentSessionState>;
|
|
294
312
|
getSnapshot(workspaceId: string): AgentActivitySnapshot;
|
|
295
313
|
listSessionMessages(input: AgentActivityRuntimeListSessionMessagesInput): Promise<AgentActivityMessagePage>;
|
|
314
|
+
listAgentGeneratedFiles?(input: AgentActivityRuntimeListGeneratedFilesInput): Promise<AgentActivityRuntimeGeneratedFileList>;
|
|
296
315
|
load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
|
|
297
316
|
ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
|
|
298
317
|
/** @deprecated Use ensureSessionSynchronized. */
|
|
@@ -756,6 +775,7 @@ interface AgentGUINodeProps {
|
|
|
756
775
|
provider: AgentProvider;
|
|
757
776
|
references: readonly WorkspaceFileReference[];
|
|
758
777
|
}) => void | Promise<void>;
|
|
778
|
+
onOpenConversationWindow?: (agentSessionId: string) => void;
|
|
759
779
|
onClose: () => void;
|
|
760
780
|
onResize: (frame: NodeFrame) => void;
|
|
761
781
|
onUpdateNode: (updater: (current: AgentGUINodeData) => AgentGUINodeData) => void;
|
|
@@ -786,7 +806,7 @@ interface AgentGUIProps extends AgentGUINodeProps {
|
|
|
786
806
|
i18n?: I18nRuntime<string> | null;
|
|
787
807
|
locale?: AgentGuiI18nLocale;
|
|
788
808
|
}
|
|
789
|
-
declare
|
|
809
|
+
declare const AgentGUI: react.NamedExoticComponent<AgentGUIProps>;
|
|
790
810
|
|
|
791
811
|
declare const agentGuiDockIconUrl: string;
|
|
792
812
|
declare const agentGuiDockIconUrls: {
|