@tutti-os/agent-gui 0.0.49 → 0.0.50
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/agent-conversation/index.d.ts +5 -3
- package/dist/agent-conversation/index.js +6 -6
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +8 -8
- package/dist/{agentConversationVM-DSXrFL9v.d.ts → agentConversationVM-Qbz9GBwR.d.ts} +25 -0
- package/dist/{agentGuiNodeTypes-Bp1G8pOj.d.ts → agentGuiNodeTypes-wzOITHRW.d.ts} +1 -1
- package/dist/app/renderer/agentactivity.css +426 -4
- package/dist/{chunk-AKK7UOAS.js → chunk-5Y3PC7HP.js} +9 -4
- package/dist/chunk-5Y3PC7HP.js.map +1 -0
- package/dist/{chunk-U6JWW45G.js → chunk-66EQ6EQO.js} +1 -1
- package/dist/chunk-66EQ6EQO.js.map +1 -0
- package/dist/{chunk-Q3MOU4CD.js → chunk-ARCM7YB2.js} +2 -2
- package/dist/{chunk-5HJWT6YN.js → chunk-BQVYICR7.js} +5 -5
- package/dist/{chunk-TTDBLIQ3.js → chunk-DPG2J7N5.js} +2 -2
- package/dist/{chunk-A2EN24OI.js → chunk-FS26J46N.js} +5 -5
- package/dist/{chunk-FSRS2JFR.js → chunk-FYVVHRLZ.js} +2 -2
- package/dist/{chunk-AYEYXKLF.js → chunk-HDBKB5RA.js} +2 -2
- package/dist/{chunk-QGBIGRZA.js → chunk-OBFDA7RG.js} +14 -2
- package/dist/chunk-OBFDA7RG.js.map +1 -0
- package/dist/{chunk-XRJZCEOX.js → chunk-RPXRNKU5.js} +1764 -594
- package/dist/chunk-RPXRNKU5.js.map +1 -0
- package/dist/{chunk-6KQHNUR5.js → chunk-UUY5VEK4.js} +2 -2
- package/dist/{chunk-RJR2OZ6T.js → chunk-VKP5ZW5O.js} +5 -3
- package/dist/{chunk-RJR2OZ6T.js.map → chunk-VKP5ZW5O.js.map} +1 -1
- package/dist/{chunk-77UR4G7P.js → chunk-Y7ZVTWMZ.js} +2 -2
- package/dist/{chunk-K6SRLYC3.js → chunk-ZTSS2NU2.js} +17 -1
- package/dist/chunk-ZTSS2NU2.js.map +1 -0
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +16 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +50 -3
- package/dist/index.js +519 -29
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +1 -1
- package/dist/queued-prompt-runtime.d.ts +2 -2
- package/dist/workbench/contribution.d.ts +5 -1
- package/dist/workbench/contribution.js +4 -2
- package/dist/workbench/index.js +5 -5
- package/dist/workbench/launch.d.ts +4 -0
- package/dist/workbench/launch.js +1 -1
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workspace-agent-generated-files.js +3 -3
- package/package.json +12 -12
- package/dist/chunk-AKK7UOAS.js.map +0 -1
- package/dist/chunk-K6SRLYC3.js.map +0 -1
- package/dist/chunk-QGBIGRZA.js.map +0 -1
- package/dist/chunk-U6JWW45G.js.map +0 -1
- package/dist/chunk-XRJZCEOX.js.map +0 -1
- /package/dist/{chunk-Q3MOU4CD.js.map → chunk-ARCM7YB2.js.map} +0 -0
- /package/dist/{chunk-5HJWT6YN.js.map → chunk-BQVYICR7.js.map} +0 -0
- /package/dist/{chunk-TTDBLIQ3.js.map → chunk-DPG2J7N5.js.map} +0 -0
- /package/dist/{chunk-A2EN24OI.js.map → chunk-FS26J46N.js.map} +0 -0
- /package/dist/{chunk-FSRS2JFR.js.map → chunk-FYVVHRLZ.js.map} +0 -0
- /package/dist/{chunk-AYEYXKLF.js.map → chunk-HDBKB5RA.js.map} +0 -0
- /package/dist/{chunk-6KQHNUR5.js.map → chunk-UUY5VEK4.js.map} +0 -0
- /package/dist/{chunk-77UR4G7P.js.map → chunk-Y7ZVTWMZ.js.map} +0 -0
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
AgentMentionSearchController,
|
|
5
5
|
flattenAgentMentionPaletteEntries,
|
|
6
6
|
groupStartKeys
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-BQVYICR7.js";
|
|
8
|
+
import "../chunk-ARCM7YB2.js";
|
|
9
|
+
import "../chunk-HDBKB5RA.js";
|
|
10
10
|
import "../chunk-IBIMGLCD.js";
|
|
11
11
|
import "../chunk-MTFSQWZ6.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-UUY5VEK4.js";
|
|
13
13
|
import "../chunk-Y35GDLP2.js";
|
|
14
14
|
import "../chunk-LUGELG5V.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-66EQ6EQO.js";
|
|
16
16
|
import "../chunk-TYGL25EL.js";
|
|
17
17
|
import "../chunk-PJP5BUU6.js";
|
|
18
18
|
import {
|
|
19
19
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
20
20
|
} from "../chunk-JM24HADP.js";
|
|
21
21
|
import "../chunk-GCBDIQDX.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-Y7ZVTWMZ.js";
|
|
23
|
+
import "../chunk-ZTSS2NU2.js";
|
|
24
24
|
export {
|
|
25
25
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS,
|
|
26
26
|
AgentContextMentionPalette,
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -713,6 +713,7 @@ declare const agentGuiI18nResources: {
|
|
|
713
713
|
readonly systemNoticeWarning: "Codex warning";
|
|
714
714
|
readonly systemNoticeDefault: "Agent notice";
|
|
715
715
|
readonly turnSummary: "Changed files";
|
|
716
|
+
readonly userMessageLocator: "User messages";
|
|
716
717
|
readonly turnSummaryFilesChanged: "{{count}} files changed";
|
|
717
718
|
readonly turnSummaryModified: "{{count}} modified";
|
|
718
719
|
readonly turnSummaryCreated: "{{count}} new";
|
|
@@ -1235,6 +1236,13 @@ declare const agentGuiI18nResources: {
|
|
|
1235
1236
|
readonly waitingForAnswer: "Waiting for answer…";
|
|
1236
1237
|
readonly questionFallback: "Question";
|
|
1237
1238
|
readonly delegateSession: "Delegate session";
|
|
1239
|
+
readonly subAgents: "Sub-agents";
|
|
1240
|
+
readonly subAgentStarting: "Starting…";
|
|
1241
|
+
readonly subAgentQueued: "Queued — waiting for an agent slot…";
|
|
1242
|
+
readonly subAgentFallbackName: "Sub-agent";
|
|
1243
|
+
readonly subAgentEarlierOmitted: "{{count}} earlier steps omitted";
|
|
1244
|
+
readonly subAgentTask: "TASK";
|
|
1245
|
+
readonly subAgentProgress: "PROGRESS";
|
|
1238
1246
|
readonly missingFailureDetails: "The provider reported failure without details.";
|
|
1239
1247
|
readonly noMatches: "No matches";
|
|
1240
1248
|
readonly noMatchingTools: "No matching tools";
|
|
@@ -3154,6 +3162,7 @@ declare const agentGuiI18nResources: {
|
|
|
3154
3162
|
readonly systemNoticeWarning: "Codex 警告";
|
|
3155
3163
|
readonly systemNoticeDefault: "Agent 通知";
|
|
3156
3164
|
readonly turnSummary: "已变更文件";
|
|
3165
|
+
readonly userMessageLocator: "用户消息";
|
|
3157
3166
|
readonly turnSummaryFilesChanged: "变更了 {{count}} 个文件";
|
|
3158
3167
|
readonly turnSummaryModified: "{{count}} 个修改";
|
|
3159
3168
|
readonly turnSummaryCreated: "{{count}} 个新增";
|
|
@@ -3677,6 +3686,13 @@ declare const agentGuiI18nResources: {
|
|
|
3677
3686
|
readonly waitingForAnswer: "等待用户回答…";
|
|
3678
3687
|
readonly questionFallback: "问题";
|
|
3679
3688
|
readonly delegateSession: "委托会话";
|
|
3689
|
+
readonly subAgents: "子智能体";
|
|
3690
|
+
readonly subAgentStarting: "正在启动…";
|
|
3691
|
+
readonly subAgentQueued: "排队中——等待可用执行槽…";
|
|
3692
|
+
readonly subAgentFallbackName: "子智能体";
|
|
3693
|
+
readonly subAgentEarlierOmitted: "已省略较早的 {{count}} 步";
|
|
3694
|
+
readonly subAgentTask: "任务";
|
|
3695
|
+
readonly subAgentProgress: "进展";
|
|
3680
3696
|
readonly missingFailureDetails: "Provider 报告失败,但没有返回失败详情。";
|
|
3681
3697
|
readonly noMatches: "没有匹配结果";
|
|
3682
3698
|
readonly noMatchingTools: "没有匹配的工具";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import * as react from 'react';
|
|
|
5
5
|
import { PropsWithChildren, JSX } from 'react';
|
|
6
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
7
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, m as AgentPromptContentBlock, P as Point, b as AgentGUIProviderTarget, N as NodeFrame, a as AgentGUIProvider } from './types-xMz0lJWt.js';
|
|
8
|
-
import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
9
|
-
export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-
|
|
8
|
+
import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-wzOITHRW.js';
|
|
9
|
+
export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-wzOITHRW.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';
|
|
@@ -14,7 +14,7 @@ import { U as UiLanguage, a as UiTheme } from './uiSettings-BQS9r2eo.js';
|
|
|
14
14
|
import { W as WorkspaceLinkAction } from './workspaceLinkActions-C6POH38D.js';
|
|
15
15
|
import { A as AgentContextMentionItem } from './AgentMentionSearchController-CExFPobz.js';
|
|
16
16
|
export { p as preloadAgentMentionBrowse } from './AgentMentionSearchController-CExFPobz.js';
|
|
17
|
-
import { b as AgentConversationPromptVM } from './agentConversationVM-
|
|
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';
|
|
20
20
|
import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
|
|
@@ -160,6 +160,45 @@ 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
|
+
}
|
|
163
202
|
interface AgentActivityRuntimeGeneratedFile {
|
|
164
203
|
label: string;
|
|
165
204
|
path: string;
|
|
@@ -310,6 +349,14 @@ interface AgentActivityRuntime {
|
|
|
310
349
|
getSnapshot(workspaceId: string): AgentActivitySnapshot;
|
|
311
350
|
listSessionMessages(input: AgentActivityRuntimeListSessionMessagesInput): Promise<AgentActivityMessagePage>;
|
|
312
351
|
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>;
|
|
313
360
|
load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
|
|
314
361
|
ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
|
|
315
362
|
/** @deprecated Use ensureSessionSynchronized. */
|