@tutti-os/agent-gui 0.0.52 → 0.0.54
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-CExFPobz.d.ts → AgentMentionSearchController-DzhWr0PN.d.ts} +13 -3
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +7 -6
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-message-center/index.js +33 -12
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentGuiNodeTypes-wzOITHRW.d.ts → agentGuiNodeTypes-DCnsaqJr.d.ts} +16 -2
- package/dist/app/renderer/agentactivity.css +136 -2
- package/dist/{chunk-ZTSS2NU2.js → chunk-2XVECUTU.js} +25 -1
- package/dist/chunk-2XVECUTU.js.map +1 -0
- package/dist/{chunk-OBFDA7RG.js → chunk-4PSDYKZQ.js} +20 -3
- package/dist/chunk-4PSDYKZQ.js.map +1 -0
- package/dist/{chunk-BFIYBPFD.js → chunk-6AXH2BOD.js} +5 -5
- package/dist/{chunk-4K22O34C.js → chunk-7GM7UQXD.js} +29 -3
- package/dist/chunk-7GM7UQXD.js.map +1 -0
- package/dist/{chunk-2OLYX32K.js → chunk-7ZDLFTVL.js} +76 -7
- package/dist/chunk-7ZDLFTVL.js.map +1 -0
- package/dist/{chunk-FYVVHRLZ.js → chunk-BGZ2OSDQ.js} +2 -2
- package/dist/{chunk-DPG2J7N5.js → chunk-CMOGPJ23.js} +2 -2
- package/dist/{chunk-3ZVVFQH5.js → chunk-EXZH66UE.js} +180 -88
- package/dist/chunk-EXZH66UE.js.map +1 -0
- package/dist/{chunk-66EQ6EQO.js → chunk-GL54NRMB.js} +59 -2
- package/dist/chunk-GL54NRMB.js.map +1 -0
- package/dist/{chunk-Y7ZVTWMZ.js → chunk-H2YWXFYX.js} +2 -2
- package/dist/{chunk-UKDC63WG.js → chunk-JRA44NYI.js} +78 -4
- package/dist/chunk-JRA44NYI.js.map +1 -0
- package/dist/{chunk-EFDGMXTB.js → chunk-OQJSZSYB.js} +48 -48
- package/dist/chunk-OQJSZSYB.js.map +1 -0
- package/dist/{chunk-ARCM7YB2.js → chunk-PBHTLI3E.js} +13 -3
- package/dist/{chunk-ARCM7YB2.js.map → chunk-PBHTLI3E.js.map} +1 -1
- package/dist/{chunk-5Y3PC7HP.js → chunk-VOXUYDQF.js} +238 -25
- package/dist/chunk-VOXUYDQF.js.map +1 -0
- package/dist/{chunk-HDBKB5RA.js → chunk-WMQN7SZC.js} +2 -58
- package/dist/chunk-WMQN7SZC.js.map +1 -0
- package/dist/{chunk-F5DYXCY3.js → chunk-Z2BTIAOC.js} +1 -1
- package/dist/chunk-Z2BTIAOC.js.map +1 -0
- package/dist/{chunk-PIKG746A.js → chunk-ZFDO72FE.js} +132 -67
- package/dist/chunk-ZFDO72FE.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +2 -2
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/context-mention-provider.d.ts +1 -0
- package/dist/i18n/index.d.ts +24 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +23 -53
- package/dist/index.js +945 -665
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +2 -2
- package/dist/{types-xMz0lJWt.d.ts → types-B2m7UcBb.d.ts} +8 -0
- package/dist/workbench/contribution.d.ts +43 -4
- package/dist/workbench/contribution.js +9 -5
- package/dist/workbench/index.d.ts +3 -3
- package/dist/workbench/index.js +18 -8
- package/dist/workbench/launch.d.ts +2 -1
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/providerCatalog.d.ts +1 -1
- package/dist/workbench/sessionTitle.d.ts +1 -1
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.d.ts +1 -1
- package/dist/workbench/state.js +2 -2
- package/dist/workbench/types.d.ts +8 -8
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.js +3 -3
- package/package.json +14 -14
- package/dist/chunk-2OLYX32K.js.map +0 -1
- package/dist/chunk-3ZVVFQH5.js.map +0 -1
- package/dist/chunk-4K22O34C.js.map +0 -1
- package/dist/chunk-5Y3PC7HP.js.map +0 -1
- package/dist/chunk-66EQ6EQO.js.map +0 -1
- package/dist/chunk-EFDGMXTB.js.map +0 -1
- package/dist/chunk-F5DYXCY3.js.map +0 -1
- package/dist/chunk-HDBKB5RA.js.map +0 -1
- package/dist/chunk-OBFDA7RG.js.map +0 -1
- package/dist/chunk-PIKG746A.js.map +0 -1
- package/dist/chunk-UKDC63WG.js.map +0 -1
- package/dist/chunk-ZTSS2NU2.js.map +0 -1
- /package/dist/{chunk-BFIYBPFD.js.map → chunk-6AXH2BOD.js.map} +0 -0
- /package/dist/{chunk-FYVVHRLZ.js.map → chunk-BGZ2OSDQ.js.map} +0 -0
- /package/dist/{chunk-DPG2J7N5.js.map → chunk-CMOGPJ23.js.map} +0 -0
- /package/dist/{chunk-Y7ZVTWMZ.js.map → chunk-H2YWXFYX.js.map} +0 -0
package/dist/i18n/index.d.ts
CHANGED
|
@@ -555,6 +555,10 @@ declare const agentGuiI18nResources: {
|
|
|
555
555
|
readonly agentEnvSetup: "Environment Check";
|
|
556
556
|
readonly noConversations: "No sessions yet";
|
|
557
557
|
readonly emptyProjectConversations: "No chats yet";
|
|
558
|
+
readonly conversationFilterAll: "All";
|
|
559
|
+
readonly conversationFilterCodex: "Codex";
|
|
560
|
+
readonly conversationFilterClaudeCode: "Claude Code";
|
|
561
|
+
readonly providerSwitchLabel: "Switch provider";
|
|
558
562
|
readonly batchRunnerStandaloneTitle: "Agent GUI batch runner";
|
|
559
563
|
readonly batchRunnerSubtitle: "Run JSONL prompt cases and review execution results";
|
|
560
564
|
readonly batchRunnerPromptSource: "Case source";
|
|
@@ -619,6 +623,7 @@ declare const agentGuiI18nResources: {
|
|
|
619
623
|
readonly conversationUnavailable: "Session unavailable.";
|
|
620
624
|
readonly contextPickerBrowseHint: "Search workspace files based on your input";
|
|
621
625
|
readonly contextPickerBrowseFileHint: "No opened or Agent-generated files yet. Type a file name to search your computer.";
|
|
626
|
+
readonly contextPickerBrowseAgentHint: "Type to search agents";
|
|
622
627
|
readonly contextPickerBrowseAppHint: "Type to search apps";
|
|
623
628
|
readonly contextPickerBrowseSessionHint: "Type to search agent sessions that I started";
|
|
624
629
|
readonly contextPickerBrowseCollabHint: "Type to search teammate and agent sessions";
|
|
@@ -687,6 +692,7 @@ declare const agentGuiI18nResources: {
|
|
|
687
692
|
readonly goalBudgetUsage: "{{used}}/{{budget}} tokens";
|
|
688
693
|
readonly goalClearHint: "Type /goal clear to clear";
|
|
689
694
|
readonly processing: "Planning next moves";
|
|
695
|
+
readonly agentTargetRequired: "Select an available agent target before starting a session.";
|
|
690
696
|
readonly promptImagesUnsupported: "This agent does not support image input with the current model.";
|
|
691
697
|
readonly visibleErrorStartFailed: "{{provider}} failed to start";
|
|
692
698
|
readonly visibleErrorRequestFailed: "{{provider}} request failed";
|
|
@@ -760,6 +766,8 @@ declare const agentGuiI18nResources: {
|
|
|
760
766
|
readonly submitAnswers: "Submit answers";
|
|
761
767
|
readonly answerPlaceholder: "Add details for the agent...";
|
|
762
768
|
readonly waitingForAnswer: "Waiting for your answer...";
|
|
769
|
+
readonly waitingForBackgroundAgent_one: "Waiting for {{count}} background agent to finish";
|
|
770
|
+
readonly waitingForBackgroundAgent_other: "Waiting for {{count}} background agents to finish";
|
|
763
771
|
readonly shortcutEnter: "Enter";
|
|
764
772
|
readonly shortcutCmdEnter: "Cmd + Enter";
|
|
765
773
|
readonly shortcutCtrEnter: "Ctr + Enter";
|
|
@@ -873,9 +881,11 @@ declare const agentGuiI18nResources: {
|
|
|
873
881
|
readonly fileMentionSwitchSelection: "Switch selection";
|
|
874
882
|
readonly mentionFilterFile: "Files";
|
|
875
883
|
readonly mentionFilterApp: "Apps";
|
|
884
|
+
readonly mentionFilterAgent: "Agents";
|
|
876
885
|
readonly mentionFilterSession: "Sessions";
|
|
877
886
|
readonly mentionFilterCollab: "Collaboration";
|
|
878
887
|
readonly mentionFilterIssue: "Tasks";
|
|
888
|
+
readonly mentionKindAgent: "Agent";
|
|
879
889
|
readonly mentionKindApp: "App";
|
|
880
890
|
readonly mentionKindAppFactory: "App Factory";
|
|
881
891
|
readonly mentionKindFile: "File";
|
|
@@ -885,12 +895,14 @@ declare const agentGuiI18nResources: {
|
|
|
885
895
|
readonly mentionGroupOpenedFiles: "Files I opened";
|
|
886
896
|
readonly mentionGroupAgentGeneratedFiles: "Files generated by Agent";
|
|
887
897
|
readonly mentionGroupApps: "Apps";
|
|
898
|
+
readonly mentionGroupAgents: "Agents";
|
|
888
899
|
readonly mentionGroupMySessions: "My sessions";
|
|
889
900
|
readonly mentionGroupCollabSessions: "Collaboration sessions";
|
|
890
901
|
readonly mentionGroupIssues: "Tasks";
|
|
891
902
|
readonly mentionEmptyMySessions: "No sessions yet";
|
|
892
903
|
readonly mentionEmptyCollabSessions: "No collaboration sessions yet";
|
|
893
904
|
readonly mentionEmptyApps: "No apps yet";
|
|
905
|
+
readonly mentionEmptyAgents: "No agents available";
|
|
894
906
|
readonly mentionEmptyIssues: "No tasks yet";
|
|
895
907
|
readonly mentionEmptyDockFiles: "No open files in the dock yet. Type to search workspace files.";
|
|
896
908
|
readonly mentionEmptyAgentGeneratedFiles: "No files generated by Agent yet";
|
|
@@ -3004,6 +3016,10 @@ declare const agentGuiI18nResources: {
|
|
|
3004
3016
|
readonly agentEnvSetup: "环境检测";
|
|
3005
3017
|
readonly noConversations: "还没有会话";
|
|
3006
3018
|
readonly emptyProjectConversations: "暂无对话";
|
|
3019
|
+
readonly conversationFilterAll: "全部";
|
|
3020
|
+
readonly conversationFilterCodex: "Codex";
|
|
3021
|
+
readonly conversationFilterClaudeCode: "Claude Code";
|
|
3022
|
+
readonly providerSwitchLabel: "切换 Provider";
|
|
3007
3023
|
readonly batchRunnerStandaloneTitle: "Agent GUI 批量执行面板";
|
|
3008
3024
|
readonly batchRunnerSubtitle: "批量执行 JSONL 用例,查看进度与执行结果";
|
|
3009
3025
|
readonly batchRunnerPromptSource: "用例来源";
|
|
@@ -3068,6 +3084,7 @@ declare const agentGuiI18nResources: {
|
|
|
3068
3084
|
readonly conversationUnavailable: "会话不可用。";
|
|
3069
3085
|
readonly contextPickerBrowseHint: "根据你输入的内容搜索工作区文件";
|
|
3070
3086
|
readonly contextPickerBrowseFileHint: "暂无已打开或 Agent 生成的文件,继续输入文件名可搜索本机文件";
|
|
3087
|
+
readonly contextPickerBrowseAgentHint: "输入内容以搜索 Agent";
|
|
3071
3088
|
readonly contextPickerBrowseAppHint: "输入内容以搜索应用";
|
|
3072
3089
|
readonly contextPickerBrowseSessionHint: "输入内容以搜索我发起的 Agent 会话";
|
|
3073
3090
|
readonly contextPickerBrowseCollabHint: "输入内容以搜索其他人和 Agent 的会话";
|
|
@@ -3136,6 +3153,7 @@ declare const agentGuiI18nResources: {
|
|
|
3136
3153
|
readonly goalBudgetUsage: "{{used}}/{{budget}} tokens";
|
|
3137
3154
|
readonly goalClearHint: "输入 /goal clear 清除";
|
|
3138
3155
|
readonly processing: "正在规划下一步";
|
|
3156
|
+
readonly agentTargetRequired: "请先选择可用的 Agent 目标。";
|
|
3139
3157
|
readonly promptImagesUnsupported: "当前模型不支持图片输入。";
|
|
3140
3158
|
readonly visibleErrorStartFailed: "{{provider}} 启动失败";
|
|
3141
3159
|
readonly visibleErrorRequestFailed: "{{provider}} 请求失败";
|
|
@@ -3209,6 +3227,8 @@ declare const agentGuiI18nResources: {
|
|
|
3209
3227
|
readonly submitAnswers: "提交回答";
|
|
3210
3228
|
readonly answerPlaceholder: "补充更多细节...";
|
|
3211
3229
|
readonly waitingForAnswer: "等待你的回答...";
|
|
3230
|
+
readonly waitingForBackgroundAgent_one: "等待 {{count}} 个后台 agent 完成";
|
|
3231
|
+
readonly waitingForBackgroundAgent_other: "等待 {{count}} 个后台 agent 完成";
|
|
3212
3232
|
readonly shortcutEnter: "Enter";
|
|
3213
3233
|
readonly shortcutCmdEnter: "Cmd + Enter";
|
|
3214
3234
|
readonly shortcutCtrEnter: "Ctr + Enter";
|
|
@@ -3322,9 +3342,11 @@ declare const agentGuiI18nResources: {
|
|
|
3322
3342
|
readonly fileMentionSwitchSelection: "切换选中";
|
|
3323
3343
|
readonly mentionFilterFile: "文件";
|
|
3324
3344
|
readonly mentionFilterApp: "应用";
|
|
3345
|
+
readonly mentionFilterAgent: "智能体";
|
|
3325
3346
|
readonly mentionFilterSession: "会话";
|
|
3326
3347
|
readonly mentionFilterCollab: "协作";
|
|
3327
3348
|
readonly mentionFilterIssue: "任务";
|
|
3349
|
+
readonly mentionKindAgent: "智能体";
|
|
3328
3350
|
readonly mentionKindApp: "应用";
|
|
3329
3351
|
readonly mentionKindAppFactory: "应用工厂";
|
|
3330
3352
|
readonly mentionKindFile: "文件";
|
|
@@ -3334,12 +3356,14 @@ declare const agentGuiI18nResources: {
|
|
|
3334
3356
|
readonly mentionGroupOpenedFiles: "我打开的文件";
|
|
3335
3357
|
readonly mentionGroupAgentGeneratedFiles: "Agent 生成的文件";
|
|
3336
3358
|
readonly mentionGroupApps: "应用";
|
|
3359
|
+
readonly mentionGroupAgents: "智能体";
|
|
3337
3360
|
readonly mentionGroupMySessions: "我的会话";
|
|
3338
3361
|
readonly mentionGroupCollabSessions: "协作会话";
|
|
3339
3362
|
readonly mentionGroupIssues: "任务";
|
|
3340
3363
|
readonly mentionEmptyMySessions: "暂无会话";
|
|
3341
3364
|
readonly mentionEmptyCollabSessions: "暂无协作会话";
|
|
3342
3365
|
readonly mentionEmptyApps: "暂无应用";
|
|
3366
|
+
readonly mentionEmptyAgents: "暂无可用智能体";
|
|
3343
3367
|
readonly mentionEmptyIssues: "暂无任务";
|
|
3344
3368
|
readonly mentionEmptyDockFiles: "Dock 栏暂无已打开文件,输入关键词可搜索工作区文件";
|
|
3345
3369
|
readonly mentionEmptyAgentGeneratedFiles: "暂无 Agent 生成的文件";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentS
|
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { PropsWithChildren, JSX } from 'react';
|
|
6
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
7
|
-
import { n as AgentProvider, c as AgentGUIProviderTargetRef, f as AgentHostAgentSessionComposerSettings, d as AgentHostActivateAgentSessionResult, l as AgentHostUpdateAgentSessionSettingsResult, j as AgentHostAgentSessionState, k as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData,
|
|
8
|
-
import {
|
|
9
|
-
export {
|
|
7
|
+
import { n as AgentProvider, c as AgentGUIProviderTargetRef, f as AgentHostAgentSessionComposerSettings, d as AgentHostActivateAgentSessionResult, l as AgentHostUpdateAgentSessionSettingsResult, j as AgentHostAgentSessionState, k as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, b as AgentGUIProviderTarget, a as AgentGUIProvider, m as AgentPromptContentBlock, P as Point, N as NodeFrame } from './types-B2m7UcBb.js';
|
|
8
|
+
import { l as AgentProbeSnapshot, A as AgentComposerDraft, o as AgentSessionCommand, d as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, e as AgentGUIQueuedPromptVM, c as AgentGUINodeViewModel, b as AgentGUIConversationScope, h as AgentHostInputApi } from './agentGuiNodeTypes-DCnsaqJr.js';
|
|
9
|
+
export { f as AgentHostApi, g as AgentHostApplyWorkspaceGitPatchInput, i as AgentHostRuntimeApi, j as AgentHostSelectFilesInput, k as AgentProbeProvider, m as AgentProviderProbeListInput, n as AgentProviderProbeListResult, p as AgentUsageQuota, q as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, r as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-DCnsaqJr.js';
|
|
10
10
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
11
11
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
|
|
12
12
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
13
13
|
import { U as UiLanguage, a as UiTheme } from './uiSettings-BQS9r2eo.js';
|
|
14
14
|
import { W as WorkspaceLinkAction } from './workspaceLinkActions-C6POH38D.js';
|
|
15
|
-
import { A as AgentContextMentionItem } from './AgentMentionSearchController-
|
|
16
|
-
export { p as preloadAgentMentionBrowse } from './AgentMentionSearchController-
|
|
15
|
+
import { A as AgentContextMentionItem } from './AgentMentionSearchController-DzhWr0PN.js';
|
|
16
|
+
export { p as preloadAgentMentionBrowse } from './AgentMentionSearchController-DzhWr0PN.js';
|
|
17
17
|
import { b as AgentConversationPromptVM } from './agentConversationVM-Qbz9GBwR.js';
|
|
18
18
|
import { WorkspaceUserProjectI18nRuntime } from '@tutti-os/workspace-user-project/i18n';
|
|
19
19
|
import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user-project/ui';
|
|
@@ -160,45 +160,6 @@ interface AgentActivityRuntimeListGeneratedFilesInput {
|
|
|
160
160
|
signal?: AbortSignal;
|
|
161
161
|
workspaceId: string;
|
|
162
162
|
}
|
|
163
|
-
interface AgentActivityRuntimeSearchSessionsInput {
|
|
164
|
-
cursor?: string;
|
|
165
|
-
limit?: number;
|
|
166
|
-
query: string;
|
|
167
|
-
signal?: AbortSignal;
|
|
168
|
-
workspaceId: string;
|
|
169
|
-
}
|
|
170
|
-
interface AgentActivityRuntimeSearchSessionsResult {
|
|
171
|
-
hasMore: boolean;
|
|
172
|
-
nextCursor?: string;
|
|
173
|
-
sessions: AgentActivitySession[];
|
|
174
|
-
workspaceId: string;
|
|
175
|
-
}
|
|
176
|
-
interface AgentActivityRuntimeListSessionsPageInput {
|
|
177
|
-
cursor?: string;
|
|
178
|
-
cwd?: string;
|
|
179
|
-
limit?: number;
|
|
180
|
-
signal?: AbortSignal;
|
|
181
|
-
visibleOnly?: boolean;
|
|
182
|
-
workspaceId: string;
|
|
183
|
-
}
|
|
184
|
-
interface AgentActivityRuntimeSessionPageResult {
|
|
185
|
-
hasMore: boolean;
|
|
186
|
-
nextCursor?: string;
|
|
187
|
-
sessions: AgentActivitySession[];
|
|
188
|
-
workspaceId: string;
|
|
189
|
-
}
|
|
190
|
-
interface AgentActivityRuntimeSessionGroup {
|
|
191
|
-
cwd: string;
|
|
192
|
-
hasMore: boolean;
|
|
193
|
-
latestSessionUpdatedAtUnixMs: number;
|
|
194
|
-
nextCursor?: string;
|
|
195
|
-
sessionCount: number;
|
|
196
|
-
sessions: AgentActivitySession[];
|
|
197
|
-
}
|
|
198
|
-
interface AgentActivityRuntimeSessionGroupsResult {
|
|
199
|
-
groups: AgentActivityRuntimeSessionGroup[];
|
|
200
|
-
workspaceId: string;
|
|
201
|
-
}
|
|
202
163
|
interface AgentActivityRuntimeGeneratedFile {
|
|
203
164
|
label: string;
|
|
204
165
|
path: string;
|
|
@@ -230,6 +191,7 @@ interface AgentActivityRuntimeGetSessionControlStateInput {
|
|
|
230
191
|
workspaceId: string;
|
|
231
192
|
}
|
|
232
193
|
interface AgentActivityRuntimeGetComposerOptionsInput {
|
|
194
|
+
agentTargetId?: string | null;
|
|
233
195
|
cwd?: string | null;
|
|
234
196
|
force?: boolean;
|
|
235
197
|
provider?: string;
|
|
@@ -259,6 +221,7 @@ interface AgentActivityRuntimeDiagnosticInput {
|
|
|
259
221
|
}
|
|
260
222
|
interface AgentActivityRuntimeActivateSessionInput {
|
|
261
223
|
agentSessionId: string;
|
|
224
|
+
agentTargetId?: string | null;
|
|
262
225
|
cwd?: string;
|
|
263
226
|
initialContent?: AgentActivitySendInput["content"];
|
|
264
227
|
/** 仅展示用首轮文本(bundle 折叠成一个 chip);initialContent 仍带展开后的文件。 */
|
|
@@ -349,14 +312,6 @@ interface AgentActivityRuntime {
|
|
|
349
312
|
getSnapshot(workspaceId: string): AgentActivitySnapshot;
|
|
350
313
|
listSessionMessages(input: AgentActivityRuntimeListSessionMessagesInput): Promise<AgentActivityMessagePage>;
|
|
351
314
|
listAgentGeneratedFiles?(input: AgentActivityRuntimeListGeneratedFilesInput): Promise<AgentActivityRuntimeGeneratedFileList>;
|
|
352
|
-
listSessionGroups?(input: {
|
|
353
|
-
sessionLimit?: number;
|
|
354
|
-
signal?: AbortSignal;
|
|
355
|
-
visibleOnly?: boolean;
|
|
356
|
-
workspaceId: string;
|
|
357
|
-
}): Promise<AgentActivityRuntimeSessionGroupsResult>;
|
|
358
|
-
listSessionsPage?(input: AgentActivityRuntimeListSessionsPageInput): Promise<AgentActivityRuntimeSessionPageResult>;
|
|
359
|
-
searchSessions?(input: AgentActivityRuntimeSearchSessionsInput): Promise<AgentActivityRuntimeSearchSessionsResult>;
|
|
360
315
|
load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
|
|
361
316
|
ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
|
|
362
317
|
/** @deprecated Use ensureSessionSynchronized. */
|
|
@@ -398,6 +353,7 @@ interface WorkspaceDesktopAgentProbesState {
|
|
|
398
353
|
isLoadingUsage: boolean;
|
|
399
354
|
}
|
|
400
355
|
type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
|
|
356
|
+
type WorkspaceDesktopAgentProbeRefreshRequest = (provider: AgentProvider, sourceId?: string) => void;
|
|
401
357
|
|
|
402
358
|
interface AgentGUIComposerDefaults {
|
|
403
359
|
model?: string;
|
|
@@ -446,6 +402,9 @@ interface AgentComposerProps {
|
|
|
446
402
|
workspacePath?: string | null;
|
|
447
403
|
currentUserId?: string | null;
|
|
448
404
|
provider: string;
|
|
405
|
+
selectedProviderTarget?: AgentGUIProviderTarget | null;
|
|
406
|
+
providerTargets?: readonly AgentGUIProviderTarget[];
|
|
407
|
+
providerSelectReadonly?: boolean;
|
|
449
408
|
slashStatus?: AgentComposerSlashStatus | null;
|
|
450
409
|
usage?: AgentComposerUsage | null;
|
|
451
410
|
draftContent: AgentComposerDraft;
|
|
@@ -464,6 +423,7 @@ interface AgentComposerProps {
|
|
|
464
423
|
canQueueWhileBusy: boolean;
|
|
465
424
|
showStopButton: boolean;
|
|
466
425
|
activePrompt: AgentConversationPromptVM | null;
|
|
426
|
+
backgroundAgentStatusText?: string | null;
|
|
467
427
|
activePromptKeyboardShortcutsEnabled?: boolean;
|
|
468
428
|
promptTips?: readonly AgentComposerPromptTip[];
|
|
469
429
|
isInterrupting: boolean;
|
|
@@ -614,6 +574,7 @@ interface AgentComposerProps {
|
|
|
614
574
|
removeMention: string;
|
|
615
575
|
addReference: string;
|
|
616
576
|
referenceWorkspaceFiles: string;
|
|
577
|
+
providerSwitchLabel: string;
|
|
617
578
|
projectLocked: string;
|
|
618
579
|
projectMissingDescription: string;
|
|
619
580
|
promptTipsPrefix: string;
|
|
@@ -648,6 +609,10 @@ interface AgentComposerProps {
|
|
|
648
609
|
computerUse?: boolean;
|
|
649
610
|
permissionModeId?: string | null;
|
|
650
611
|
}) => void;
|
|
612
|
+
onProviderSelect?: (input: {
|
|
613
|
+
provider: AgentGUIProvider;
|
|
614
|
+
providerTargetId?: string | null;
|
|
615
|
+
}) => void;
|
|
651
616
|
capabilityMenuState?: AgentComposerCapabilityMenuState;
|
|
652
617
|
onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
|
|
653
618
|
onSubmit: (content: AgentPromptContentBlock[], displayPrompt?: string) => void;
|
|
@@ -758,7 +723,9 @@ interface AgentGUINodeProps {
|
|
|
758
723
|
onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
|
|
759
724
|
onAgentProviderLogin?: (provider: AgentProvider) => void;
|
|
760
725
|
providerTargets?: readonly AgentGUIProviderTarget[];
|
|
726
|
+
providerTargetsLoading?: boolean;
|
|
761
727
|
defaultProviderTargetId?: string | null;
|
|
728
|
+
conversationScope?: AgentGUIConversationScope;
|
|
762
729
|
onWorkspaceFileReferencesAdded?: (input: {
|
|
763
730
|
provider: AgentProvider;
|
|
764
731
|
references: readonly WorkspaceFileReference[];
|
|
@@ -780,6 +747,7 @@ interface AgentGUINodeProps {
|
|
|
780
747
|
onShowMessage?: (message: string, tone?: "info" | "warning" | "error") => void;
|
|
781
748
|
workspaceAgentProbes?: WorkspaceDesktopAgentProbesState | null;
|
|
782
749
|
onAgentProbeDemandChange?: WorkspaceDesktopAgentProbeDemandChange;
|
|
750
|
+
onAgentProbeRefreshRequest?: WorkspaceDesktopAgentProbeRefreshRequest;
|
|
783
751
|
managedAgentsState?: AgentHostManagedAgentsState | null;
|
|
784
752
|
contextMentionProviders?: readonly AgentContextMentionProvider[];
|
|
785
753
|
workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
|
|
@@ -817,11 +785,13 @@ declare function normalizeAgentGUIProviderTargets(targets: readonly AgentGUIProv
|
|
|
817
785
|
fallbackToLocal?: boolean;
|
|
818
786
|
}): AgentGUIProviderTarget[];
|
|
819
787
|
declare function resolveAgentGUIProviderTarget(input: {
|
|
788
|
+
agentTargetId?: string | null;
|
|
820
789
|
defaultProviderTargetId?: string | null;
|
|
790
|
+
fallbackToLocal?: boolean;
|
|
821
791
|
provider: AgentGUIProvider;
|
|
822
792
|
providerTargetId?: string | null;
|
|
823
793
|
providerTargets: readonly AgentGUIProviderTarget[];
|
|
824
|
-
}): AgentGUIProviderTarget;
|
|
794
|
+
}): AgentGUIProviderTarget | null;
|
|
825
795
|
|
|
826
796
|
declare const agentGuiDockIconUrl: string;
|
|
827
797
|
declare const agentGuiDockIconUrls: {
|