@tutti-os/agent-gui 0.0.48 → 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 +466 -85
- package/dist/{chunk-2RYZ4EBF.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-7W3VWU5R.js → chunk-ARCM7YB2.js} +2 -2
- package/dist/{chunk-RNIY43TA.js → chunk-BQVYICR7.js} +5 -5
- package/dist/{chunk-ZVKRNEOF.js → chunk-DPG2J7N5.js} +2 -2
- package/dist/{chunk-VGDPBC6W.js → chunk-FS26J46N.js} +5 -5
- package/dist/{chunk-OB43QOMC.js → chunk-FYVVHRLZ.js} +2 -2
- package/dist/{chunk-EUOGIKT7.js → chunk-HDBKB5RA.js} +2 -2
- package/dist/{chunk-R6GOICRO.js → chunk-OBFDA7RG.js} +69 -10
- package/dist/chunk-OBFDA7RG.js.map +1 -0
- package/dist/{chunk-LWMC2YA3.js → chunk-RPXRNKU5.js} +1793 -599
- package/dist/chunk-RPXRNKU5.js.map +1 -0
- package/dist/{chunk-SD56WDSC.js → chunk-TG3ZXLPM.js} +42 -1
- package/dist/chunk-TG3ZXLPM.js.map +1 -0
- package/dist/{chunk-OYQZRLJQ.js → chunk-UUY5VEK4.js} +2 -2
- package/dist/{chunk-6YN7HQL5.js → chunk-VKP5ZW5O.js} +5 -3
- package/dist/{chunk-6YN7HQL5.js.map → chunk-VKP5ZW5O.js.map} +1 -1
- package/dist/{chunk-N6HRVMIS.js → chunk-Y7ZVTWMZ.js} +2 -2
- package/dist/{chunk-NETHPCSA.js → chunk-ZTSS2NU2.js} +23 -1
- package/dist/chunk-ZTSS2NU2.js.map +1 -0
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +22 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +50 -3
- package/dist/index.js +911 -818
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +1 -1
- package/dist/queued-prompt-runtime.d.ts +3 -2
- package/dist/queued-prompt-runtime.js +1 -1
- 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 +26 -1
- package/dist/workbench/launch.js +13 -3
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workspace-agent-generated-files.js +3 -3
- package/package.json +12 -12
- package/dist/chunk-2RYZ4EBF.js.map +0 -1
- package/dist/chunk-LWMC2YA3.js.map +0 -1
- package/dist/chunk-NETHPCSA.js.map +0 -1
- package/dist/chunk-R6GOICRO.js.map +0 -1
- package/dist/chunk-SD56WDSC.js.map +0 -1
- package/dist/chunk-U6JWW45G.js.map +0 -1
- /package/dist/{chunk-7W3VWU5R.js.map → chunk-ARCM7YB2.js.map} +0 -0
- /package/dist/{chunk-RNIY43TA.js.map → chunk-BQVYICR7.js.map} +0 -0
- /package/dist/{chunk-ZVKRNEOF.js.map → chunk-DPG2J7N5.js.map} +0 -0
- /package/dist/{chunk-VGDPBC6W.js.map → chunk-FS26J46N.js.map} +0 -0
- /package/dist/{chunk-OB43QOMC.js.map → chunk-FYVVHRLZ.js.map} +0 -0
- /package/dist/{chunk-EUOGIKT7.js.map → chunk-HDBKB5RA.js.map} +0 -0
- /package/dist/{chunk-OYQZRLJQ.js.map → chunk-UUY5VEK4.js.map} +0 -0
- /package/dist/{chunk-N6HRVMIS.js.map → chunk-Y7ZVTWMZ.js.map} +0 -0
|
@@ -2,9 +2,9 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, JSX } from 'react';
|
|
3
3
|
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-C6POH38D.js';
|
|
4
4
|
import { A as AgentMessageMarkdownWorkspaceAppIcon } from '../AgentMessageMarkdown-DeYPURtF.js';
|
|
5
|
-
import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-
|
|
6
|
-
export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-
|
|
7
|
-
import { c as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-
|
|
5
|
+
import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Qbz9GBwR.js';
|
|
6
|
+
export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Qbz9GBwR.js';
|
|
7
|
+
import { c as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-wzOITHRW.js';
|
|
8
8
|
export { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, q as WorkspaceAgentActivityTimelineItem } from '../workspaceAgentActivityListViewModel-B5viw5Da.js';
|
|
9
9
|
import '@tutti-os/workspace-issue-manager/core';
|
|
10
10
|
import '@tutti-os/agent-activity-core';
|
|
@@ -29,6 +29,7 @@ interface AgentConversationFlowProps {
|
|
|
29
29
|
processing: string;
|
|
30
30
|
turnSummary: string;
|
|
31
31
|
rawTimelineJson?: string;
|
|
32
|
+
userMessageLocator?: string;
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
declare const AgentConversationFlow: react.NamedExoticComponent<AgentConversationFlowProps>;
|
|
@@ -47,6 +48,7 @@ interface AgentTranscriptViewProps {
|
|
|
47
48
|
processing: string;
|
|
48
49
|
turnSummary: string;
|
|
49
50
|
rawTimelineJson?: string;
|
|
51
|
+
userMessageLocator?: string;
|
|
50
52
|
};
|
|
51
53
|
}
|
|
52
54
|
declare const AgentTranscriptView: react.NamedExoticComponent<AgentTranscriptViewProps>;
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-RPXRNKU5.js";
|
|
10
|
+
import "../chunk-VKP5ZW5O.js";
|
|
11
|
+
import "../chunk-UUY5VEK4.js";
|
|
12
12
|
import "../chunk-Y35GDLP2.js";
|
|
13
13
|
import "../chunk-LUGELG5V.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-66EQ6EQO.js";
|
|
15
15
|
import "../chunk-TYGL25EL.js";
|
|
16
16
|
import "../chunk-PJP5BUU6.js";
|
|
17
17
|
import {
|
|
18
18
|
translate
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-Y7ZVTWMZ.js";
|
|
20
|
+
import "../chunk-ZTSS2NU2.js";
|
|
21
21
|
|
|
22
22
|
// shared/WorkspaceAgentSessionDetail.tsx
|
|
23
23
|
import { useMemo } from "react";
|
|
@@ -4,7 +4,7 @@ import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
|
4
4
|
import { useTranslation, AgentGuiI18nLocale, TranslateFn } from '../i18n/index.js';
|
|
5
5
|
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-C6POH38D.js';
|
|
6
6
|
import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
|
|
7
|
-
import { b as AgentConversationPromptVM } from '../agentConversationVM-
|
|
7
|
+
import { b as AgentConversationPromptVM } from '../agentConversationVM-Qbz9GBwR.js';
|
|
8
8
|
import { o as WorkspaceAgentActivityStatus } from '../workspaceAgentActivityListViewModel-B5viw5Da.js';
|
|
9
9
|
export { PLAN_IMPLEMENTATION_ACTION_IMPLEMENT, PLAN_IMPLEMENTATION_PROMPT } from '../plan-decision-ops.js';
|
|
10
10
|
import '@tutti-os/workspace-issue-manager/core';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatAgentGuiConversationPlainTitle
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FYVVHRLZ.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentInteractivePromptSurface,
|
|
6
6
|
approvalOptionDisplayLabel,
|
|
7
7
|
getPromptToolDetails,
|
|
8
8
|
isPromptRequestIdTitle
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-FS26J46N.js";
|
|
10
10
|
import {
|
|
11
11
|
PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
|
|
12
12
|
PLAN_IMPLEMENTATION_PROMPT,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "../chunk-MKHDRIGN.js";
|
|
16
16
|
import {
|
|
17
17
|
formatAgentSessionMentionText
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-DPG2J7N5.js";
|
|
19
19
|
import {
|
|
20
20
|
AgentMessageMarkdown,
|
|
21
21
|
CustomScrollArea,
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
extractExitPlanModeOptions,
|
|
26
26
|
isExitPlanSwitchModeInput,
|
|
27
27
|
normalizeAskUserQuestions
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-VKP5ZW5O.js";
|
|
29
29
|
import {
|
|
30
30
|
managedAgentRoundedIconUrl,
|
|
31
31
|
userAvatarPlaceholderUrl,
|
|
32
32
|
workspaceAgentActivityStatusLabel
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-HDBKB5RA.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
36
36
|
} from "../chunk-IBIMGLCD.js";
|
|
37
37
|
import "../chunk-MTFSQWZ6.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-66EQ6EQO.js";
|
|
39
39
|
import {
|
|
40
40
|
workspaceAgentProviderLabel
|
|
41
41
|
} from "../chunk-TYGL25EL.js";
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
AgentGuiI18nProvider,
|
|
46
46
|
getActiveUiLanguage,
|
|
47
47
|
useTranslation
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
} from "../chunk-Y7ZVTWMZ.js";
|
|
49
|
+
import "../chunk-ZTSS2NU2.js";
|
|
50
50
|
|
|
51
51
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
52
52
|
import {
|
|
@@ -219,6 +219,30 @@ interface AgentPlanModeItemVM {
|
|
|
219
219
|
occurredAtUnixMs: number | null;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
type AgentTaskSubAgentStatus = "running" | "completed" | "failed" | "canceled";
|
|
223
|
+
type AgentTaskSubAgentActivityKind = "message" | "reasoning" | "tool";
|
|
224
|
+
interface AgentTaskSubAgentActivityVM {
|
|
225
|
+
kind: AgentTaskSubAgentActivityKind;
|
|
226
|
+
text: string;
|
|
227
|
+
atUnixMs: number | null;
|
|
228
|
+
}
|
|
229
|
+
interface AgentTaskSubAgentVM {
|
|
230
|
+
ownerThreadId: string;
|
|
231
|
+
status: AgentTaskSubAgentStatus;
|
|
232
|
+
name: string | null;
|
|
233
|
+
task: string | null;
|
|
234
|
+
laneIndex: number;
|
|
235
|
+
laneCount: number;
|
|
236
|
+
latestActivity: string | null;
|
|
237
|
+
latestActivityKind: AgentTaskSubAgentActivityKind | null;
|
|
238
|
+
activityLog: readonly AgentTaskSubAgentActivityVM[];
|
|
239
|
+
activityOmittedCount: number;
|
|
240
|
+
queued?: boolean;
|
|
241
|
+
failureDetail: string | null;
|
|
242
|
+
startedAtUnixMs: number | null;
|
|
243
|
+
latestActivityAtUnixMs: number | null;
|
|
244
|
+
terminalAtUnixMs: number | null;
|
|
245
|
+
}
|
|
222
246
|
interface AgentTaskStepVM {
|
|
223
247
|
id: string;
|
|
224
248
|
turnId: string;
|
|
@@ -239,6 +263,7 @@ interface AgentTaskItemVM {
|
|
|
239
263
|
prompt?: string | null;
|
|
240
264
|
delegateSessionId?: string | null;
|
|
241
265
|
steps: AgentTaskStepVM[];
|
|
266
|
+
subAgents?: AgentTaskSubAgentVM[];
|
|
242
267
|
result?: string | null;
|
|
243
268
|
resultMarkdown?: string | null;
|
|
244
269
|
durationMs?: number | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentActivityUsage } from '@tutti-os/agent-activity-core';
|
|
2
2
|
import { e as AgentHostAgentSessionCommand, f as AgentHostAgentSessionComposerSettings, h as AgentHostAgentSessionReasoningEffort, i as AgentHostAgentSessionSpeed, g as AgentHostAgentSessionPermissionConfig, j as AgentHostAgentSessionState, a as AgentGUIProvider, m as AgentPromptContentBlock, A as AgentGUINodeData, b as AgentGUIProviderTarget } from './types-xMz0lJWt.js';
|
|
3
3
|
import { A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, l as AgentHostWorkspaceAgentSnapshot, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, p as WorkspaceAgentActivitySyncState } from './workspaceAgentActivityListViewModel-B5viw5Da.js';
|
|
4
|
-
import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-
|
|
4
|
+
import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-Qbz9GBwR.js';
|
|
5
5
|
import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
|
|
6
6
|
|
|
7
7
|
declare const APP_ERROR_CODES: readonly ["common.invalid_input", "common.approved_path_required", "common.unavailable", "common.unexpected", "session.not_found", "control_surface.unauthorized", "workspace.select_directory_failed", "workspace.select_files_failed", "workspace.ensure_directory_failed", "workspace.import_files_failed", "workspace.read_file_failed", "workspace.write_file_failed", "workspace.export_file_failed", "workspace.copy_path_failed", "workspace.host_unsupported", "workspace.runtime_artifact_unavailable", "runtime.guest_agent_lane_unavailable", "workspace.room_full", "workspace.room_delete_forbidden", "workspace.room_delete_not_found", "filesystem.create_directory_failed", "filesystem.read_file_bytes_failed", "filesystem.read_file_text_failed", "filesystem.write_file_text_failed", "filesystem.copy_entry_failed", "filesystem.move_entry_failed", "filesystem.rename_entry_failed", "filesystem.delete_entry_failed", "filesystem.read_directory_failed", "filesystem.stat_failed", "terminal.spawn_failed", "terminal.write_failed", "terminal.resize_failed", "terminal.close_failed", "terminal.attach_failed", "terminal.detach_failed", "terminal.snapshot_failed", "agent.list_models_failed", "agent.launch_failed", "agent.read_last_message_failed", "agent.provider_session_not_found", "agent.resume_session_not_local", "agent.resume_session_resolve_failed", "agent.settings_require_new_session", "task.suggest_title_failed", "persistence.unavailable", "persistence.quota_exceeded", "persistence.payload_too_large", "persistence.io_failed", "persistence.invalid_state", "persistence.invalid_node_id", "update.get_state_failed", "update.configure_failed", "update.check_failed", "update.download_failed", "update.install_failed", "PACKAGE_DOWNLOAD_INTERRUPTED", "PACKAGE_DOWNLOAD_HTTP_STATUS", "PACKAGE_DOWNLOAD_INVALID", "PACKAGE_DOWNLOAD_DISK_ERROR"];
|