@tutti-os/agent-gui 0.0.39 → 0.0.41
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/README.md +40 -0
- package/dist/{AgentMessageMarkdown-BVeh06AJ.d.ts → AgentMessageMarkdown-Cts0dAIm.d.ts} +4 -156
- package/dist/agent-conversation/index.d.ts +2 -1
- package/dist/agent-conversation/index.js +5 -5
- package/dist/agent-message-center/index.js +7 -7
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/app/renderer/agentactivity.css +298 -21
- package/dist/{chunk-46IYJEZX.js → chunk-3PVSIL3H.js} +5 -5
- package/dist/{chunk-RE3AHBX6.js → chunk-3WZWZHAJ.js} +2 -2
- package/dist/{chunk-Y2DQJPTL.js → chunk-42WP3P5C.js} +2 -2
- package/dist/chunk-4K22O34C.js +123 -0
- package/dist/chunk-4K22O34C.js.map +1 -0
- package/dist/{chunk-Y5SE2XMU.js → chunk-5LVFYNIP.js} +5 -2
- package/dist/{chunk-Y5SE2XMU.js.map → chunk-5LVFYNIP.js.map} +1 -1
- package/dist/{chunk-C7ZZZXKB.js → chunk-5U4SXENC.js} +5 -5
- package/dist/{chunk-ZWJBG2JM.js → chunk-EFDGMXTB.js} +62 -7
- package/dist/chunk-EFDGMXTB.js.map +1 -0
- package/dist/{chunk-JNGYJ7GM.js → chunk-EU7RWKHE.js} +2 -2
- package/dist/{chunk-IXIGWLQY.js → chunk-F5DYXCY3.js} +1 -1
- package/dist/{chunk-IXIGWLQY.js.map → chunk-F5DYXCY3.js.map} +1 -1
- package/dist/{chunk-WJPEKD3F.js → chunk-LKOPLDPM.js} +5 -1
- package/dist/chunk-LKOPLDPM.js.map +1 -0
- package/dist/{chunk-3AXEEQMV.js → chunk-MUJYJDZH.js} +12 -11
- package/dist/chunk-MUJYJDZH.js.map +1 -0
- package/dist/{chunk-5HQDW73P.js → chunk-OLZP2EFK.js} +231 -46
- package/dist/chunk-OLZP2EFK.js.map +1 -0
- package/dist/{chunk-XL2EKJTQ.js → chunk-QIPMH6XO.js} +137 -37
- package/dist/chunk-QIPMH6XO.js.map +1 -0
- package/dist/{chunk-B2JKDZSR.js → chunk-TXXWUG2J.js} +1 -1
- package/dist/chunk-TXXWUG2J.js.map +1 -0
- package/dist/context-mention-palette/index.js +6 -6
- package/dist/i18n/index.d.ts +4 -0
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +134 -102
- package/dist/index.js +374 -154
- package/dist/index.js.map +1 -1
- package/dist/types-xMz0lJWt.d.ts +173 -0
- package/dist/workbench/contribution.d.ts +5 -0
- package/dist/workbench/contribution.js +5 -4
- package/dist/workbench/index.d.ts +11 -3
- package/dist/workbench/index.js +5 -4
- package/dist/workbench/launch.d.ts +1 -0
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/providerCatalog.d.ts +1 -0
- package/dist/workbench/state.d.ts +1 -0
- package/dist/workbench/state.js +2 -1
- package/dist/workbench/types.d.ts +6 -0
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/package.json +12 -12
- package/dist/chunk-3AXEEQMV.js.map +0 -1
- package/dist/chunk-5HQDW73P.js.map +0 -1
- package/dist/chunk-B2JKDZSR.js.map +0 -1
- package/dist/chunk-WJPEKD3F.js.map +0 -1
- package/dist/chunk-XL2EKJTQ.js.map +0 -1
- package/dist/chunk-ZWJBG2JM.js.map +0 -1
- /package/dist/{chunk-46IYJEZX.js.map → chunk-3PVSIL3H.js.map} +0 -0
- /package/dist/{chunk-RE3AHBX6.js.map → chunk-3WZWZHAJ.js.map} +0 -0
- /package/dist/{chunk-Y2DQJPTL.js.map → chunk-42WP3P5C.js.map} +0 -0
- /package/dist/{chunk-C7ZZZXKB.js.map → chunk-5U4SXENC.js.map} +0 -0
- /package/dist/{chunk-JNGYJ7GM.js.map → chunk-EU7RWKHE.js.map} +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
type AgentHostAgentSessionProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
2
|
+
type AgentHostAgentSessionPermissionModeSemantic = "ask-before-write" | "accept-edits" | "locked-down" | "auto" | "full-access" | "unconfigurable";
|
|
3
|
+
type AgentHostAgentSessionReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | string;
|
|
4
|
+
type AgentHostAgentSessionSpeed = "standard" | "fast" | string;
|
|
5
|
+
interface AgentHostAgentSessionPermissionModeOption {
|
|
6
|
+
id: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
semantic: AgentHostAgentSessionPermissionModeSemantic;
|
|
10
|
+
}
|
|
11
|
+
interface AgentHostAgentSessionPermissionConfig {
|
|
12
|
+
configurable: boolean;
|
|
13
|
+
defaultValue?: string | null;
|
|
14
|
+
modes: AgentHostAgentSessionPermissionModeOption[];
|
|
15
|
+
}
|
|
16
|
+
interface AgentHostAgentSessionComposerSettings {
|
|
17
|
+
model?: string | null;
|
|
18
|
+
reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
|
|
19
|
+
speed?: AgentHostAgentSessionSpeed | null;
|
|
20
|
+
planMode?: boolean;
|
|
21
|
+
browserUse?: boolean;
|
|
22
|
+
computerUse?: boolean;
|
|
23
|
+
permissionModeId?: string | null;
|
|
24
|
+
}
|
|
25
|
+
interface AgentHostAgentSession {
|
|
26
|
+
workspaceId: string;
|
|
27
|
+
agentSessionId: string;
|
|
28
|
+
provider: AgentHostAgentSessionProvider;
|
|
29
|
+
providerSessionId: string;
|
|
30
|
+
resumable?: boolean;
|
|
31
|
+
cwd?: string;
|
|
32
|
+
status: "ready" | "working" | "canceled" | "failed" | "completed" | string;
|
|
33
|
+
title?: string;
|
|
34
|
+
pinnedAtUnixMs?: number | null;
|
|
35
|
+
visible?: boolean;
|
|
36
|
+
permissionModeId?: string;
|
|
37
|
+
permissionConfig?: AgentHostAgentSessionPermissionConfig;
|
|
38
|
+
settings?: AgentHostAgentSessionComposerSettings;
|
|
39
|
+
createdAtUnixMs: number;
|
|
40
|
+
updatedAtUnixMs: number;
|
|
41
|
+
}
|
|
42
|
+
interface AgentHostAgentSessionInteractivePrompt {
|
|
43
|
+
kind: string;
|
|
44
|
+
requestId?: string;
|
|
45
|
+
toolName?: string;
|
|
46
|
+
status?: string;
|
|
47
|
+
input?: Record<string, unknown>;
|
|
48
|
+
output?: Record<string, unknown>;
|
|
49
|
+
error?: Record<string, unknown>;
|
|
50
|
+
metadata?: Record<string, unknown>;
|
|
51
|
+
}
|
|
52
|
+
interface AgentHostAgentSessionState {
|
|
53
|
+
workspaceId: string;
|
|
54
|
+
agentSessionId: string;
|
|
55
|
+
provider: AgentHostAgentSessionProvider;
|
|
56
|
+
providerSessionId?: string;
|
|
57
|
+
resumable?: boolean;
|
|
58
|
+
status: AgentHostAgentSession["status"];
|
|
59
|
+
turnLifecycle?: AgentHostAgentActivityTurnLifecycle | null;
|
|
60
|
+
submitAvailability?: AgentHostAgentActivitySubmitAvailability | null;
|
|
61
|
+
permissionModeId?: string;
|
|
62
|
+
permissionConfig?: AgentHostAgentSessionPermissionConfig;
|
|
63
|
+
settings?: AgentHostAgentSessionComposerSettings;
|
|
64
|
+
authState?: string;
|
|
65
|
+
runtimeContext?: Record<string, unknown>;
|
|
66
|
+
pinnedAtUnixMs?: number | null;
|
|
67
|
+
pendingInteractive?: AgentHostAgentSessionInteractivePrompt | null;
|
|
68
|
+
updatedAtUnixMs: number;
|
|
69
|
+
}
|
|
70
|
+
interface AgentHostAgentActivityCompletedCommand {
|
|
71
|
+
kind: string;
|
|
72
|
+
status: string;
|
|
73
|
+
}
|
|
74
|
+
interface AgentHostAgentActivityTurnLifecycle {
|
|
75
|
+
activeTurnId: string | null;
|
|
76
|
+
phase: string;
|
|
77
|
+
settling?: boolean;
|
|
78
|
+
outcome?: string | null;
|
|
79
|
+
completedCommand?: AgentHostAgentActivityCompletedCommand | null;
|
|
80
|
+
}
|
|
81
|
+
interface AgentHostAgentActivitySubmitAvailability {
|
|
82
|
+
state: string;
|
|
83
|
+
reason?: string;
|
|
84
|
+
}
|
|
85
|
+
type AgentHostAgentSessionActivationMode = "new" | "existing";
|
|
86
|
+
type AgentHostAgentSessionActivationStatus = "attached" | "already_attached" | "failed";
|
|
87
|
+
interface AgentHostActivateAgentSessionResult {
|
|
88
|
+
session: AgentHostAgentSession;
|
|
89
|
+
activation: {
|
|
90
|
+
mode: AgentHostAgentSessionActivationMode;
|
|
91
|
+
status: AgentHostAgentSessionActivationStatus;
|
|
92
|
+
};
|
|
93
|
+
error?: {
|
|
94
|
+
code: string;
|
|
95
|
+
message: string;
|
|
96
|
+
debugMessage?: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface AgentHostUnactivateAgentSessionResult {
|
|
100
|
+
agentSessionId: string;
|
|
101
|
+
buffered: boolean;
|
|
102
|
+
}
|
|
103
|
+
interface AgentPromptContentBlock {
|
|
104
|
+
type: "text" | "image" | "file" | "skill" | "mention";
|
|
105
|
+
text?: string;
|
|
106
|
+
mimeType?: "image/png" | "image/jpeg" | "image/webp" | string;
|
|
107
|
+
data?: string;
|
|
108
|
+
url?: string;
|
|
109
|
+
attachmentId?: string;
|
|
110
|
+
name?: string;
|
|
111
|
+
path?: string;
|
|
112
|
+
uri?: string;
|
|
113
|
+
hostPath?: string;
|
|
114
|
+
uploadStatus?: string;
|
|
115
|
+
assetId?: string;
|
|
116
|
+
kind?: string;
|
|
117
|
+
sizeBytes?: number;
|
|
118
|
+
}
|
|
119
|
+
interface AgentHostUpdateAgentSessionSettingsResult {
|
|
120
|
+
agentSessionId: string;
|
|
121
|
+
settings: AgentHostAgentSessionComposerSettings;
|
|
122
|
+
}
|
|
123
|
+
interface AgentHostAgentSessionCommand {
|
|
124
|
+
name: string;
|
|
125
|
+
description?: string;
|
|
126
|
+
inputHint?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "nexight", "opencode", "gemini", "openclaw", "hermes"];
|
|
130
|
+
type AgentProvider = (typeof AGENT_PROVIDERS)[number];
|
|
131
|
+
|
|
132
|
+
interface AgentGUINodeData {
|
|
133
|
+
provider: AgentGUIProvider;
|
|
134
|
+
providerTargetId?: string | null;
|
|
135
|
+
providerTargetRef?: AgentGUIProviderTargetRef | null;
|
|
136
|
+
lastActiveAgentSessionId: string | null;
|
|
137
|
+
lastActiveConversationTitle?: string | null;
|
|
138
|
+
conversationCount?: number | null;
|
|
139
|
+
conversationRailWidthPx?: number | null;
|
|
140
|
+
conversationRailCollapsed?: boolean | null;
|
|
141
|
+
composerOverrides?: AgentHostAgentSessionComposerSettings | null;
|
|
142
|
+
composerOverridesByProvider?: Partial<Record<AgentGUIProvider, AgentHostAgentSessionComposerSettings | null>> | null;
|
|
143
|
+
}
|
|
144
|
+
type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw">;
|
|
145
|
+
interface AgentGUIProviderTargetRef {
|
|
146
|
+
kind: string;
|
|
147
|
+
provider: AgentGUIProvider;
|
|
148
|
+
[key: string]: unknown;
|
|
149
|
+
}
|
|
150
|
+
interface AgentGUIProviderTarget {
|
|
151
|
+
targetId: string;
|
|
152
|
+
provider: AgentGUIProvider;
|
|
153
|
+
ref: AgentGUIProviderTargetRef;
|
|
154
|
+
label: string;
|
|
155
|
+
description?: string;
|
|
156
|
+
ownerLabel?: string;
|
|
157
|
+
disabled?: boolean;
|
|
158
|
+
unavailableReason?: string;
|
|
159
|
+
}
|
|
160
|
+
interface Size {
|
|
161
|
+
width: number;
|
|
162
|
+
height: number;
|
|
163
|
+
}
|
|
164
|
+
interface Point {
|
|
165
|
+
x: number;
|
|
166
|
+
y: number;
|
|
167
|
+
}
|
|
168
|
+
interface NodeFrame {
|
|
169
|
+
position: Point;
|
|
170
|
+
size: Size;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export type { AgentGUINodeData as A, NodeFrame as N, Point as P, AgentGUIProvider as a, AgentGUIProviderTarget as b, AgentGUIProviderTargetRef as c, AgentHostActivateAgentSessionResult as d, AgentHostAgentSessionCommand as e, AgentHostAgentSessionComposerSettings as f, AgentHostAgentSessionPermissionConfig as g, AgentHostAgentSessionReasoningEffort as h, AgentHostAgentSessionSpeed as i, AgentHostAgentSessionState as j, AgentHostUnactivateAgentSessionResult as k, AgentHostUpdateAgentSessionSettingsResult as l, AgentPromptContentBlock as m, AgentProvider as n };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { WorkbenchFrame, WorkbenchHostNodeBodyContext, WorkbenchHostDockEntry, WorkbenchContribution, WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
3
3
|
import { AgentGuiWorkbenchState, AgentGuiWorkbenchProvider } from './types.js';
|
|
4
|
+
import '../types-xMz0lJWt.js';
|
|
4
5
|
|
|
5
6
|
declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
|
|
6
7
|
declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.7;
|
|
@@ -16,10 +17,14 @@ interface AgentGuiWorkbenchNewConversationDetail {
|
|
|
16
17
|
}
|
|
17
18
|
interface AgentGuiWorkbenchContributionCopy {
|
|
18
19
|
collapseConversationRail: string;
|
|
20
|
+
close: string;
|
|
19
21
|
expandConversationRail: string;
|
|
20
22
|
fallbackAgentLabel: string;
|
|
23
|
+
maximize: string;
|
|
24
|
+
minimize: string;
|
|
21
25
|
newConversation: string;
|
|
22
26
|
nodeTitle: string;
|
|
27
|
+
restore: string;
|
|
23
28
|
}
|
|
24
29
|
type AgentGuiWorkbenchContributionCopyOverrides = Partial<AgentGuiWorkbenchContributionCopy>;
|
|
25
30
|
declare const agentGuiWorkbenchDefaultCopy: AgentGuiWorkbenchContributionCopy;
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchContribution,
|
|
9
9
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
10
10
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-QIPMH6XO.js";
|
|
12
|
+
import "../chunk-EU7RWKHE.js";
|
|
13
|
+
import "../chunk-EFDGMXTB.js";
|
|
14
14
|
import "../chunk-22L4VWUR.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-F5DYXCY3.js";
|
|
16
16
|
import "../chunk-Q75AK47T.js";
|
|
17
|
+
import "../chunk-4K22O34C.js";
|
|
17
18
|
import "../chunk-MTFSQWZ6.js";
|
|
18
19
|
export {
|
|
19
20
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
@@ -3,26 +3,34 @@ export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProvi
|
|
|
3
3
|
export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
|
|
4
4
|
export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
|
|
5
5
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
6
|
+
import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
|
|
6
7
|
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
|
|
7
|
-
import '
|
|
8
|
+
import '../types-xMz0lJWt.js';
|
|
8
9
|
|
|
9
10
|
interface AgentGuiWorkbenchHeaderCopy {
|
|
10
11
|
collapseConversationRail: string;
|
|
12
|
+
close?: string;
|
|
11
13
|
expandConversationRail: string;
|
|
12
14
|
fallbackAgentLabel: string;
|
|
15
|
+
maximize?: string;
|
|
16
|
+
minimize?: string;
|
|
13
17
|
newConversation: string;
|
|
18
|
+
restore?: string;
|
|
14
19
|
}
|
|
15
20
|
interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
16
21
|
copy: AgentGuiWorkbenchHeaderCopy;
|
|
17
22
|
defaultActions?: ReactNode;
|
|
23
|
+
displayMode?: WorkbenchDisplayMode;
|
|
24
|
+
iconUrl?: string;
|
|
18
25
|
isConversationRailAutoCollapsed: boolean;
|
|
19
26
|
isConversationRailCollapsed: boolean;
|
|
27
|
+
conversationRailWidthPx?: number | null;
|
|
20
28
|
conversationTitle?: string | null;
|
|
21
|
-
iconUrl?: string | null;
|
|
22
29
|
onCreateConversation?: () => void;
|
|
23
30
|
onToggleConversationRail: (nextCollapsed: boolean) => void;
|
|
24
31
|
title?: string;
|
|
32
|
+
windowActions?: Pick<WorkbenchHostNodeHeaderWindowActions, "close" | "minimize" | "toggleDisplayMode">;
|
|
25
33
|
}
|
|
26
|
-
declare function AgentGuiWorkbenchHeader({ className, copy, defaultActions, isConversationRailAutoCollapsed, isConversationRailCollapsed,
|
|
34
|
+
declare function AgentGuiWorkbenchHeader({ className, copy, defaultActions: _defaultActions, displayMode, iconUrl, isConversationRailAutoCollapsed, isConversationRailCollapsed, conversationRailWidthPx, conversationTitle, onCreateConversation, onToggleConversationRail, title, windowActions, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
27
35
|
|
|
28
36
|
export { AgentGuiWorkbenchHeader, type AgentGuiWorkbenchHeaderCopy, type AgentGuiWorkbenchHeaderProps };
|
package/dist/workbench/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
agentGuiWorkbenchDefaultNodeFrame,
|
|
7
7
|
createAgentGuiWorkbenchContribution,
|
|
8
8
|
resolveAgentGuiWorkbenchContributionCopy
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-QIPMH6XO.js";
|
|
10
10
|
import {
|
|
11
11
|
agentGuiWorkbenchDockEntryId,
|
|
12
12
|
agentGuiWorkbenchInstanceId,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
createAgentGuiWorkbenchInstanceId,
|
|
18
18
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
19
19
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-EU7RWKHE.js";
|
|
21
21
|
import {
|
|
22
22
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
23
23
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
normalizeAgentGuiWorkbenchNodeState,
|
|
28
28
|
normalizeAgentGuiWorkbenchState,
|
|
29
29
|
projectAgentGuiWorkbenchState
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-EFDGMXTB.js";
|
|
31
31
|
import {
|
|
32
32
|
agentGuiWorkbenchComingSoonProviders,
|
|
33
33
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -44,8 +44,9 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
46
46
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-F5DYXCY3.js";
|
|
48
48
|
import "../chunk-Q75AK47T.js";
|
|
49
|
+
import "../chunk-4K22O34C.js";
|
|
49
50
|
import "../chunk-MTFSQWZ6.js";
|
|
50
51
|
export {
|
|
51
52
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WorkbenchHostLaunchRequest } from '@tutti-os/workbench-surface';
|
|
2
2
|
import { agentGuiWorkbenchOpenSessionActivationType, AgentGuiWorkbenchPrefillPromptPayload, agentGuiWorkbenchPrefillPromptActivationType, AgentGuiWorkbenchProvider } from './types.js';
|
|
3
|
+
import '../types-xMz0lJWt.js';
|
|
3
4
|
|
|
4
5
|
type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "payload" | "typeId"> & {
|
|
5
6
|
dockEntryId?: string | null;
|
package/dist/workbench/launch.js
CHANGED
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchInstanceId,
|
|
9
9
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
10
10
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-EU7RWKHE.js";
|
|
12
12
|
import "../chunk-22L4VWUR.js";
|
|
13
13
|
import {
|
|
14
14
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-F5DYXCY3.js";
|
|
16
16
|
export {
|
|
17
17
|
agentGuiWorkbenchDockEntryId,
|
|
18
18
|
agentGuiWorkbenchInstanceId,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
2
|
+
import '../types-xMz0lJWt.js';
|
|
2
3
|
|
|
3
4
|
declare const agentGuiWorkbenchProviders: readonly ["claude-code", "codex", "nexight", "hermes", "gemini", "openclaw"];
|
|
4
5
|
declare const agentGuiWorkbenchDefaultDockProviders: readonly ["codex", "claude-code"];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WorkbenchHostExternalStateSource, WorkbenchHostExternalStateLookupInput } from '@tutti-os/workbench-surface';
|
|
2
2
|
import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState } from './types.js';
|
|
3
|
+
import '../types-xMz0lJWt.js';
|
|
3
4
|
|
|
4
5
|
type AgentGuiWorkbenchStateLookupRequest = Pick<WorkbenchHostExternalStateLookupInput, "instanceId" | "typeId"> & Partial<Pick<WorkbenchHostExternalStateLookupInput, "nodeId">>;
|
|
5
6
|
declare function createDefaultAgentGuiWorkbenchNodeState(provider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
package/dist/workbench/state.js
CHANGED
|
@@ -7,8 +7,9 @@ import {
|
|
|
7
7
|
normalizeAgentGuiWorkbenchNodeState,
|
|
8
8
|
normalizeAgentGuiWorkbenchState,
|
|
9
9
|
projectAgentGuiWorkbenchState
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-EFDGMXTB.js";
|
|
11
11
|
import "../chunk-22L4VWUR.js";
|
|
12
|
+
import "../chunk-4K22O34C.js";
|
|
12
13
|
export {
|
|
13
14
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
14
15
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { c as AgentGUIProviderTargetRef } from '../types-xMz0lJWt.js';
|
|
2
|
+
|
|
1
3
|
type AgentGuiWorkbenchProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
2
4
|
declare const agentGuiWorkbenchOpenSessionActivationType = "agent-gui:open-session";
|
|
3
5
|
declare const agentGuiWorkbenchPrefillPromptActivationType = "agent-gui:prefill-prompt";
|
|
@@ -23,6 +25,8 @@ interface AgentGuiWorkbenchNodeState {
|
|
|
23
25
|
/** @deprecated Conversation titles are derived from the active session id. */
|
|
24
26
|
lastActiveConversationTitle?: string | null;
|
|
25
27
|
provider: AgentGuiWorkbenchProvider;
|
|
28
|
+
providerTargetId?: string | null;
|
|
29
|
+
providerTargetRef?: AgentGUIProviderTargetRef | null;
|
|
26
30
|
}
|
|
27
31
|
interface AgentGuiWorkbenchState {
|
|
28
32
|
composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;
|
|
@@ -32,6 +36,8 @@ interface AgentGuiWorkbenchState {
|
|
|
32
36
|
lastActiveAgentSessionId: string | null;
|
|
33
37
|
/** @deprecated Conversation titles are derived from the active session id. */
|
|
34
38
|
lastActiveConversationTitle?: string | null;
|
|
39
|
+
providerTargetId?: string | null;
|
|
40
|
+
providerTargetRef?: AgentGUIProviderTargetRef | null;
|
|
35
41
|
}
|
|
36
42
|
interface AgentGuiWorkbenchWorkspaceState {
|
|
37
43
|
workspaceId: string;
|
package/dist/workbench/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
3
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-F5DYXCY3.js";
|
|
5
5
|
export {
|
|
6
6
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
7
7
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5LVFYNIP.js";
|
|
8
8
|
import "./chunk-IBIMGLCD.js";
|
|
9
9
|
import "./chunk-Y35GDLP2.js";
|
|
10
10
|
import {
|
|
11
11
|
workspaceAgentProviderLabel
|
|
12
12
|
} from "./chunk-TYGL25EL.js";
|
|
13
13
|
import "./chunk-GCBDIQDX.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LKOPLDPM.js";
|
|
15
15
|
export {
|
|
16
16
|
buildWorkspaceAgentActivityListViewModel,
|
|
17
17
|
collectWorkspaceAgentGeneratedFiles,
|
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.41",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -82,17 +82,17 @@
|
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@monaco-editor/react": "^4.7.0",
|
|
85
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
86
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
87
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
88
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
89
|
-
"@tutti-os/ui-system": "0.0.
|
|
90
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
91
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
92
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
93
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
94
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
95
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
85
|
+
"@tutti-os/agent-activity-core": "0.0.41",
|
|
86
|
+
"@tutti-os/ui-i18n-runtime": "0.0.41",
|
|
87
|
+
"@tutti-os/ui-rich-text": "0.0.41",
|
|
88
|
+
"@tutti-os/ui-react-hooks": "0.0.41",
|
|
89
|
+
"@tutti-os/ui-system": "0.0.41",
|
|
90
|
+
"@tutti-os/workbench-surface": "0.0.41",
|
|
91
|
+
"@tutti-os/workspace-external-core": "0.0.41",
|
|
92
|
+
"@tutti-os/workspace-file-manager": "0.0.41",
|
|
93
|
+
"@tutti-os/workspace-file-reference": "0.0.41",
|
|
94
|
+
"@tutti-os/workspace-issue-manager": "0.0.41",
|
|
95
|
+
"@tutti-os/workspace-user-project": "0.0.41",
|
|
96
96
|
"@tanstack/react-virtual": "^3.13.12",
|
|
97
97
|
"@tiptap/core": "^3.11.1",
|
|
98
98
|
"@tiptap/pm": "^3.23.6",
|