@tutti-os/agent-gui 0.0.180 → 0.0.181
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-gui.d.ts +2 -0
- package/dist/agent-gui.js +2 -1
- package/dist/chunk-LB4AGT7B.js +57 -0
- package/dist/chunk-LB4AGT7B.js.map +1 -0
- package/dist/{chunk-G5JCVOF3.js → chunk-YL3WEK6L.js} +332 -241
- package/dist/chunk-YL3WEK6L.js.map +1 -0
- package/dist/conversation-rail-runtime.d.ts +354 -0
- package/dist/conversation-rail-runtime.js +12 -0
- package/dist/conversation-rail-runtime.js.map +1 -0
- package/dist/index.d.ts +18 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +20 -13
- package/dist/chunk-G5JCVOF3.js.map +0 -1
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener } from '@tutti-os/agent-activity-core';
|
|
2
|
+
import { WorkspaceQueryCache } from './workspace-query-cache.js';
|
|
3
|
+
|
|
4
|
+
type AgentHostAgentSessionReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | string;
|
|
5
|
+
type AgentHostAgentSessionSpeed = "standard" | "fast" | string;
|
|
6
|
+
interface AgentHostAgentSessionComposerSettings {
|
|
7
|
+
model?: string | null;
|
|
8
|
+
reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
|
|
9
|
+
speed?: AgentHostAgentSessionSpeed | null;
|
|
10
|
+
planMode?: boolean;
|
|
11
|
+
browserUse?: boolean;
|
|
12
|
+
computerUse?: boolean;
|
|
13
|
+
permissionModeId?: string | null;
|
|
14
|
+
}
|
|
15
|
+
interface AgentHostUnactivateAgentSessionResult {
|
|
16
|
+
agentSessionId: string;
|
|
17
|
+
buffered: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface AgentActivityRuntimeUpdateSessionSettingsResult {
|
|
21
|
+
agentSessionId: string;
|
|
22
|
+
settings: AgentHostAgentSessionComposerSettings;
|
|
23
|
+
session: AgentActivitySession;
|
|
24
|
+
}
|
|
25
|
+
interface AgentActivityRuntimeListSessionMessagesInput {
|
|
26
|
+
afterVersion?: number;
|
|
27
|
+
beforeVersion?: number;
|
|
28
|
+
cache?: boolean;
|
|
29
|
+
agentSessionId: string;
|
|
30
|
+
limit?: number;
|
|
31
|
+
order?: AgentActivityMessageOrder;
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
workspaceId: string;
|
|
34
|
+
}
|
|
35
|
+
interface AgentActivityRuntimeListGeneratedFilesInput {
|
|
36
|
+
agentTargetIds?: readonly string[];
|
|
37
|
+
cursor?: string;
|
|
38
|
+
limit?: number;
|
|
39
|
+
query?: string;
|
|
40
|
+
sectionKey: string;
|
|
41
|
+
signal?: AbortSignal;
|
|
42
|
+
workspaceId: string;
|
|
43
|
+
}
|
|
44
|
+
interface AgentActivityRuntimeListSessionsPageInput {
|
|
45
|
+
agentTargetId?: string | null;
|
|
46
|
+
cursor?: string;
|
|
47
|
+
limit?: number;
|
|
48
|
+
searchQuery?: string;
|
|
49
|
+
signal?: AbortSignal;
|
|
50
|
+
workspaceId: string;
|
|
51
|
+
}
|
|
52
|
+
interface AgentActivityRuntimeSessionPageResult {
|
|
53
|
+
hasMore: boolean;
|
|
54
|
+
nextCursor?: string;
|
|
55
|
+
sessions: AgentActivitySession[];
|
|
56
|
+
workspaceId: string;
|
|
57
|
+
}
|
|
58
|
+
interface AgentActivityRuntimeListSessionSectionsInput {
|
|
59
|
+
agentTargetId?: string | null;
|
|
60
|
+
limitPerSection?: number;
|
|
61
|
+
signal?: AbortSignal;
|
|
62
|
+
workspaceId: string;
|
|
63
|
+
}
|
|
64
|
+
interface AgentActivityRuntimeListSessionSectionPageInput {
|
|
65
|
+
agentTargetId?: string | null;
|
|
66
|
+
cursor?: string;
|
|
67
|
+
limit?: number;
|
|
68
|
+
sectionKey: string;
|
|
69
|
+
signal?: AbortSignal;
|
|
70
|
+
workspaceId: string;
|
|
71
|
+
}
|
|
72
|
+
interface AgentActivityRuntimeListPinnedSessionsPageInput {
|
|
73
|
+
agentTargetId?: string | null;
|
|
74
|
+
cursor?: string;
|
|
75
|
+
limit?: number;
|
|
76
|
+
signal?: AbortSignal;
|
|
77
|
+
workspaceId: string;
|
|
78
|
+
}
|
|
79
|
+
interface AgentActivityRuntimeUserProject {
|
|
80
|
+
createdAtUnixMs: number;
|
|
81
|
+
id: string;
|
|
82
|
+
label: string;
|
|
83
|
+
lastUsedAtUnixMs?: number;
|
|
84
|
+
path: string;
|
|
85
|
+
pinnedAtUnixMs: number;
|
|
86
|
+
sectionKey: string;
|
|
87
|
+
updatedAtUnixMs: number;
|
|
88
|
+
}
|
|
89
|
+
interface AgentActivityRuntimeSessionSection {
|
|
90
|
+
kind: "conversations" | "project";
|
|
91
|
+
sectionKey: string;
|
|
92
|
+
userProject?: AgentActivityRuntimeUserProject;
|
|
93
|
+
sessions: AgentActivitySession[];
|
|
94
|
+
hasMore: boolean;
|
|
95
|
+
totalCount: number;
|
|
96
|
+
nextCursor?: string;
|
|
97
|
+
}
|
|
98
|
+
interface AgentActivityRuntimeSessionPage {
|
|
99
|
+
sessions: AgentActivitySession[];
|
|
100
|
+
hasMore: boolean;
|
|
101
|
+
totalCount: number;
|
|
102
|
+
nextCursor?: string;
|
|
103
|
+
}
|
|
104
|
+
interface AgentActivityRuntimeSessionSectionsResult {
|
|
105
|
+
pinned?: AgentActivityRuntimeSessionPage;
|
|
106
|
+
sections: AgentActivityRuntimeSessionSection[];
|
|
107
|
+
workspaceId: string;
|
|
108
|
+
}
|
|
109
|
+
interface AgentActivityRuntimeGeneratedFile {
|
|
110
|
+
label: string;
|
|
111
|
+
path: string;
|
|
112
|
+
}
|
|
113
|
+
interface AgentActivityRuntimeGeneratedFileList {
|
|
114
|
+
entries: AgentActivityRuntimeGeneratedFile[];
|
|
115
|
+
hasMore?: boolean;
|
|
116
|
+
nextCursor?: string;
|
|
117
|
+
workspaceId: string;
|
|
118
|
+
}
|
|
119
|
+
interface AgentActivityRuntimeEnsureSessionSynchronizedInput {
|
|
120
|
+
afterVersion?: number;
|
|
121
|
+
agentSessionId: string;
|
|
122
|
+
onError?: (error: unknown) => void;
|
|
123
|
+
workspaceId: string;
|
|
124
|
+
}
|
|
125
|
+
interface AgentActivityRuntimeSetSessionPinnedInput {
|
|
126
|
+
agentSessionId: string;
|
|
127
|
+
pinned: boolean;
|
|
128
|
+
workspaceId: string;
|
|
129
|
+
}
|
|
130
|
+
interface AgentActivityRuntimeTrackSettingsProjectChangeInput {
|
|
131
|
+
action: "clear" | "create_new" | "select_existing";
|
|
132
|
+
agentSessionId: string;
|
|
133
|
+
provider?: string | null;
|
|
134
|
+
workspaceId: string;
|
|
135
|
+
}
|
|
136
|
+
interface AgentActivityRuntimeGetComposerOptionsInput {
|
|
137
|
+
agentTargetId: string;
|
|
138
|
+
cwd?: string | null;
|
|
139
|
+
force?: boolean;
|
|
140
|
+
provider?: string;
|
|
141
|
+
settings?: AgentHostAgentSessionComposerSettings | null;
|
|
142
|
+
workspaceId: string;
|
|
143
|
+
}
|
|
144
|
+
interface AgentActivityRuntimeUpdateSessionSettingsInput {
|
|
145
|
+
agentSessionId: string;
|
|
146
|
+
settings: AgentHostAgentSessionComposerSettings;
|
|
147
|
+
workspaceId: string;
|
|
148
|
+
}
|
|
149
|
+
interface AgentActivityRuntimeTrackDraftComposerSettingsChangeInput {
|
|
150
|
+
nextSettings: AgentHostAgentSessionComposerSettings;
|
|
151
|
+
previousSettings: AgentHostAgentSessionComposerSettings;
|
|
152
|
+
provider: string;
|
|
153
|
+
workspaceId: string;
|
|
154
|
+
}
|
|
155
|
+
interface AgentActivityRuntimeDiagnosticInput {
|
|
156
|
+
details?: Record<string, unknown>;
|
|
157
|
+
event: string;
|
|
158
|
+
level?: "debug" | "info" | "warn" | "error";
|
|
159
|
+
source?: string;
|
|
160
|
+
workspaceId?: string | null;
|
|
161
|
+
}
|
|
162
|
+
interface AgentActivityRuntimeActivateSessionInputBase {
|
|
163
|
+
agentSessionId: string;
|
|
164
|
+
cwd?: string;
|
|
165
|
+
initialContent?: AgentActivitySendInput["content"];
|
|
166
|
+
/** 仅展示用首轮文本(bundle 折叠成一个 chip);initialContent 仍带展开后的文件。 */
|
|
167
|
+
initialDisplayPrompt?: string | null;
|
|
168
|
+
submitDiagnostics?: AgentActivitySendInput["submitDiagnostics"];
|
|
169
|
+
settings?: AgentActivitySessionSettings;
|
|
170
|
+
title?: string;
|
|
171
|
+
visible?: boolean;
|
|
172
|
+
workspaceId: string;
|
|
173
|
+
signal?: AbortSignal;
|
|
174
|
+
}
|
|
175
|
+
type AgentActivityRuntimeActivateSessionInput = (AgentActivityRuntimeActivateSessionInputBase & {
|
|
176
|
+
agentTargetId: string;
|
|
177
|
+
clientSubmitId: string;
|
|
178
|
+
mode: "new";
|
|
179
|
+
}) | (AgentActivityRuntimeActivateSessionInputBase & {
|
|
180
|
+
agentTargetId?: string | null;
|
|
181
|
+
clientSubmitId?: never;
|
|
182
|
+
mode: "existing";
|
|
183
|
+
});
|
|
184
|
+
interface AgentActivityRuntimeUnactivateSessionInput {
|
|
185
|
+
agentSessionId: string;
|
|
186
|
+
workspaceId: string;
|
|
187
|
+
}
|
|
188
|
+
interface AgentActivityRuntimeReadSessionAttachmentInput {
|
|
189
|
+
agentSessionId: string;
|
|
190
|
+
attachmentId: string;
|
|
191
|
+
workspaceId: string;
|
|
192
|
+
}
|
|
193
|
+
interface AgentActivityRuntimeReadPromptAssetInput {
|
|
194
|
+
agentSessionId?: string | null;
|
|
195
|
+
assetId?: string | null;
|
|
196
|
+
hostPath?: string | null;
|
|
197
|
+
kind?: string | null;
|
|
198
|
+
mimeType: string;
|
|
199
|
+
name?: string | null;
|
|
200
|
+
path?: string | null;
|
|
201
|
+
sha256?: string | null;
|
|
202
|
+
uploadStatus?: string | null;
|
|
203
|
+
uri?: string | null;
|
|
204
|
+
workspaceId: string;
|
|
205
|
+
}
|
|
206
|
+
type AgentActivityRuntimePromptContentBlock = AgentActivitySendInput["content"][number] & {
|
|
207
|
+
assetId?: string;
|
|
208
|
+
hostPath?: string;
|
|
209
|
+
kind?: string;
|
|
210
|
+
path?: string;
|
|
211
|
+
sizeBytes?: number;
|
|
212
|
+
uploadStatus?: string;
|
|
213
|
+
uri?: string;
|
|
214
|
+
};
|
|
215
|
+
interface AgentActivityRuntimeUploadPromptContentInput {
|
|
216
|
+
content: AgentActivityRuntimePromptContentBlock[];
|
|
217
|
+
workspaceId: string;
|
|
218
|
+
}
|
|
219
|
+
interface AgentActivityRuntimeUploadPromptContentResult {
|
|
220
|
+
content: AgentActivityRuntimePromptContentBlock[];
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Dedicated host boundary for turning an in-memory text paste into a local
|
|
224
|
+
* prompt asset. The runtime owns persistence and returns a sendable host path;
|
|
225
|
+
* AgentGUI must not infer this capability from generic file-upload support.
|
|
226
|
+
*/
|
|
227
|
+
interface AgentActivityRuntimeStagePastedTextInput {
|
|
228
|
+
name: string;
|
|
229
|
+
text: string;
|
|
230
|
+
workspaceId: string;
|
|
231
|
+
}
|
|
232
|
+
interface AgentActivityRuntimeStagePastedTextResult {
|
|
233
|
+
name: string;
|
|
234
|
+
path: string;
|
|
235
|
+
sizeBytes: number;
|
|
236
|
+
}
|
|
237
|
+
interface AgentActivityRuntimeSessionSectionScopeInput {
|
|
238
|
+
agentTargetId?: string | null;
|
|
239
|
+
excludePinned?: boolean;
|
|
240
|
+
sectionKey: string;
|
|
241
|
+
signal?: AbortSignal;
|
|
242
|
+
workspaceId: string;
|
|
243
|
+
}
|
|
244
|
+
interface AgentActivityRuntimeSessionSectionDeletionCandidates {
|
|
245
|
+
agentTargetId?: string | null;
|
|
246
|
+
excludePinned: boolean;
|
|
247
|
+
sectionKey: string;
|
|
248
|
+
sessionIds: string[];
|
|
249
|
+
workspaceId: string;
|
|
250
|
+
}
|
|
251
|
+
interface AgentActivityRuntimeDeleteSessionsBatchInput {
|
|
252
|
+
sessionIds: string[];
|
|
253
|
+
signal?: AbortSignal;
|
|
254
|
+
workspaceId: string;
|
|
255
|
+
}
|
|
256
|
+
interface AgentActivityRuntimeDeleteSessionsBatchResult {
|
|
257
|
+
cleanupFailedSessionIds: string[];
|
|
258
|
+
removedMessages: number;
|
|
259
|
+
removedSessionIds: string[];
|
|
260
|
+
removedSessions: number;
|
|
261
|
+
}
|
|
262
|
+
interface AgentActivityRuntimeSessionAttachment {
|
|
263
|
+
attachmentId: string;
|
|
264
|
+
mimeType: string;
|
|
265
|
+
name?: string;
|
|
266
|
+
data: string;
|
|
267
|
+
}
|
|
268
|
+
interface AgentActivityRuntimePromptAsset {
|
|
269
|
+
assetId?: string;
|
|
270
|
+
hostPath?: string;
|
|
271
|
+
kind?: string;
|
|
272
|
+
mimeType: string;
|
|
273
|
+
name?: string;
|
|
274
|
+
path: string;
|
|
275
|
+
uploadStatus?: string;
|
|
276
|
+
uri?: string;
|
|
277
|
+
data: string;
|
|
278
|
+
}
|
|
279
|
+
interface AgentActivityRuntime {
|
|
280
|
+
/**
|
|
281
|
+
* Stable identity of this runtime instance (e.g. a local origin vs a
|
|
282
|
+
* shared/room origin). The runtime owns one session engine per workspace and
|
|
283
|
+
* that engine verifies this origin as part of its injected identity. Runtime
|
|
284
|
+
* consumers resolve only through the nearest React provider; module-global
|
|
285
|
+
* runtime lookup and last-mounted fallback are forbidden. An absent origin
|
|
286
|
+
* means the canonical local origin.
|
|
287
|
+
*/
|
|
288
|
+
origin?: string;
|
|
289
|
+
/**
|
|
290
|
+
* The session cwd is not resolvable on the local filesystem (e.g. a
|
|
291
|
+
* shared/cloud sandbox not mounted locally), so AgentGUI must not run its
|
|
292
|
+
* local stat-based "working directory missing" existence check — it would
|
|
293
|
+
* always false-positive. Absent/false (default) => local, legacy behaviour.
|
|
294
|
+
* Only that one guard is gated; project selection/listing is unaffected.
|
|
295
|
+
*/
|
|
296
|
+
projectPathIsRemote?: boolean;
|
|
297
|
+
promptContentUploadSupport?: {
|
|
298
|
+
file?: boolean;
|
|
299
|
+
image?: boolean;
|
|
300
|
+
};
|
|
301
|
+
/** Set false to suppress AgentGUI diagnostics in development consoles. */
|
|
302
|
+
devDiagnosticConsoleSink?: boolean;
|
|
303
|
+
goalControl(input: AgentActivityGoalControlInput): Promise<AgentActivityGoalControlResult>;
|
|
304
|
+
createSession(input: AgentActivityCreateSessionInput): Promise<AgentActivitySession>;
|
|
305
|
+
deleteSession(input: AgentActivityDeleteSessionInput): Promise<AgentActivityDeleteSessionResult>;
|
|
306
|
+
activateSession(input: AgentActivityRuntimeActivateSessionInput): Promise<AgentActivityActivateSessionResult>;
|
|
307
|
+
getSession(workspaceId: string, agentSessionId: string): Promise<AgentActivitySession>;
|
|
308
|
+
getComposerOptions(input: AgentActivityRuntimeGetComposerOptionsInput): Promise<unknown>;
|
|
309
|
+
updateSessionSettings(input: AgentActivityRuntimeUpdateSessionSettingsInput): Promise<AgentActivityRuntimeUpdateSessionSettingsResult>;
|
|
310
|
+
getSnapshot(workspaceId: string): AgentActivitySnapshot;
|
|
311
|
+
getSessionEngine(workspaceId: string): AgentSessionEngine;
|
|
312
|
+
getSessionSectionsQueryCache?(workspaceId: string): WorkspaceQueryCache<unknown>;
|
|
313
|
+
listSessionMessages(input: AgentActivityRuntimeListSessionMessagesInput): Promise<AgentActivityMessagePage>;
|
|
314
|
+
listAgentGeneratedFiles?(input: AgentActivityRuntimeListGeneratedFilesInput): Promise<AgentActivityRuntimeGeneratedFileList>;
|
|
315
|
+
listSessionsPage?(input: AgentActivityRuntimeListSessionsPageInput): Promise<AgentActivityRuntimeSessionPageResult>;
|
|
316
|
+
listSessionSections?(input: AgentActivityRuntimeListSessionSectionsInput): Promise<AgentActivityRuntimeSessionSectionsResult>;
|
|
317
|
+
listSessionSectionPage?(input: AgentActivityRuntimeListSessionSectionPageInput): Promise<AgentActivityRuntimeSessionSection>;
|
|
318
|
+
listSessionSectionDeletionCandidates?(input: AgentActivityRuntimeSessionSectionScopeInput): Promise<AgentActivityRuntimeSessionSectionDeletionCandidates>;
|
|
319
|
+
deleteSessionsBatch?(input: AgentActivityRuntimeDeleteSessionsBatchInput): Promise<AgentActivityRuntimeDeleteSessionsBatchResult>;
|
|
320
|
+
listPinnedSessionsPage?(input: AgentActivityRuntimeListPinnedSessionsPageInput): Promise<AgentActivityRuntimeSessionPage>;
|
|
321
|
+
load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
|
|
322
|
+
ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
|
|
323
|
+
sendInput(input: AgentActivitySendInput): Promise<AgentActivitySendInputResult>;
|
|
324
|
+
uploadPromptContent?(input: AgentActivityRuntimeUploadPromptContentInput): Promise<AgentActivityRuntimeUploadPromptContentResult>;
|
|
325
|
+
stagePastedText?(input: AgentActivityRuntimeStagePastedTextInput): Promise<AgentActivityRuntimeStagePastedTextResult>;
|
|
326
|
+
readSessionAttachment?(input: AgentActivityRuntimeReadSessionAttachmentInput): Promise<AgentActivityRuntimeSessionAttachment>;
|
|
327
|
+
readPromptAsset?(input: AgentActivityRuntimeReadPromptAssetInput): Promise<AgentActivityRuntimePromptAsset>;
|
|
328
|
+
renameSession(input: AgentActivityRenameSessionInput): Promise<AgentActivitySession>;
|
|
329
|
+
setSessionPinned(input: AgentActivityRuntimeSetSessionPinnedInput): Promise<AgentActivitySession>;
|
|
330
|
+
trackSettingsProjectChange?(input: AgentActivityRuntimeTrackSettingsProjectChangeInput): Promise<void>;
|
|
331
|
+
trackDraftComposerSettingsChange?(input: AgentActivityRuntimeTrackDraftComposerSettingsChangeInput): Promise<void>;
|
|
332
|
+
reportDiagnostic?(input: AgentActivityRuntimeDiagnosticInput): Promise<void> | void;
|
|
333
|
+
unactivateSession(input: AgentActivityRuntimeUnactivateSessionInput): Promise<AgentHostUnactivateAgentSessionResult>;
|
|
334
|
+
submitInteractive(input: AgentActivitySubmitInteractiveInput): Promise<AgentActivitySubmitInteractiveResult>;
|
|
335
|
+
subscribeSessionEvents(workspaceId: string, listener: (event: unknown) => void): () => void;
|
|
336
|
+
subscribe(workspaceId: string, listener: AgentActivitySnapshotListener): () => void;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
declare const AGENT_CONVERSATION_BATCH_DELETION_RUNTIME_METHODS: readonly ["deleteSessionsBatch", "listSessionSectionDeletionCandidates"];
|
|
340
|
+
declare const AGENT_CONVERSATION_RAIL_SOURCE_METHODS: readonly ["deleteSessionsBatch", "listPinnedSessionsPage", "listSessionSectionDeletionCandidates", "listSessionSectionPage", "listSessionSections", "listSessionsPage"];
|
|
341
|
+
declare const AGENT_CONVERSATION_RAIL_RUNTIME_METHODS: readonly ["getSessionSectionsQueryCache", "deleteSessionsBatch", "listPinnedSessionsPage", "listSessionSectionDeletionCandidates", "listSessionSectionPage", "listSessionSections", "listSessionsPage"];
|
|
342
|
+
type AgentConversationRailSourceMethod = (typeof AGENT_CONVERSATION_RAIL_SOURCE_METHODS)[number];
|
|
343
|
+
type AgentConversationBatchDeletionRuntimeMethod = (typeof AGENT_CONVERSATION_BATCH_DELETION_RUNTIME_METHODS)[number];
|
|
344
|
+
type AgentConversationRailRuntime = Required<Pick<AgentActivityRuntime, (typeof AGENT_CONVERSATION_RAIL_RUNTIME_METHODS)[number]>>;
|
|
345
|
+
type AgentConversationRailRuntimeSource = Required<Pick<AgentActivityRuntime, AgentConversationRailSourceMethod>>;
|
|
346
|
+
interface AgentConversationBatchDeletionCapability {
|
|
347
|
+
available: boolean;
|
|
348
|
+
missingMethods: AgentConversationBatchDeletionRuntimeMethod[];
|
|
349
|
+
partial: boolean;
|
|
350
|
+
}
|
|
351
|
+
declare function createAgentConversationRailRuntime(source: AgentConversationRailRuntimeSource): AgentConversationRailRuntime;
|
|
352
|
+
declare function inspectAgentConversationBatchDeletionCapability(runtime: Partial<Pick<AgentActivityRuntime, AgentConversationBatchDeletionRuntimeMethod>>): AgentConversationBatchDeletionCapability;
|
|
353
|
+
|
|
354
|
+
export { AGENT_CONVERSATION_RAIL_RUNTIME_METHODS, type AgentConversationBatchDeletionCapability, type AgentConversationRailRuntime, type AgentConversationRailRuntimeSource, createAgentConversationRailRuntime, inspectAgentConversationBatchDeletionCapability };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
|
|
3
|
+
createAgentConversationRailRuntime,
|
|
4
|
+
inspectAgentConversationBatchDeletionCapability
|
|
5
|
+
} from "./chunk-LB4AGT7B.js";
|
|
6
|
+
import "./chunk-A4WCTHWS.js";
|
|
7
|
+
export {
|
|
8
|
+
AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
|
|
9
|
+
createAgentConversationRailRuntime,
|
|
10
|
+
inspectAgentConversationBatchDeletionCapability
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=conversation-rail-runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -7783,6 +7783,8 @@ interface AgentComposerProps {
|
|
|
7783
7783
|
isInterrupting: boolean;
|
|
7784
7784
|
isSendingTurn: boolean;
|
|
7785
7785
|
isSubmittingPrompt: boolean;
|
|
7786
|
+
/** Whether the active session is authoritative enough to probe its cwd. */
|
|
7787
|
+
projectMissingProbeEnabled?: boolean;
|
|
7786
7788
|
uiLanguage?: UiLanguage;
|
|
7787
7789
|
isActive?: boolean;
|
|
7788
7790
|
previewMode?: boolean;
|
|
@@ -8167,6 +8169,21 @@ interface AgentGUIPrefillPromptRequest {
|
|
|
8167
8169
|
userProjectPath?: string | null;
|
|
8168
8170
|
}
|
|
8169
8171
|
|
|
8172
|
+
declare const AGENT_CONVERSATION_BATCH_DELETION_RUNTIME_METHODS: readonly ["deleteSessionsBatch", "listSessionSectionDeletionCandidates"];
|
|
8173
|
+
declare const AGENT_CONVERSATION_RAIL_SOURCE_METHODS: readonly ["deleteSessionsBatch", "listPinnedSessionsPage", "listSessionSectionDeletionCandidates", "listSessionSectionPage", "listSessionSections", "listSessionsPage"];
|
|
8174
|
+
declare const AGENT_CONVERSATION_RAIL_RUNTIME_METHODS: readonly ["getSessionSectionsQueryCache", "deleteSessionsBatch", "listPinnedSessionsPage", "listSessionSectionDeletionCandidates", "listSessionSectionPage", "listSessionSections", "listSessionsPage"];
|
|
8175
|
+
type AgentConversationRailSourceMethod = (typeof AGENT_CONVERSATION_RAIL_SOURCE_METHODS)[number];
|
|
8176
|
+
type AgentConversationBatchDeletionRuntimeMethod = (typeof AGENT_CONVERSATION_BATCH_DELETION_RUNTIME_METHODS)[number];
|
|
8177
|
+
type AgentConversationRailRuntime = Required<Pick<AgentActivityRuntime, (typeof AGENT_CONVERSATION_RAIL_RUNTIME_METHODS)[number]>>;
|
|
8178
|
+
type AgentConversationRailRuntimeSource = Required<Pick<AgentActivityRuntime, AgentConversationRailSourceMethod>>;
|
|
8179
|
+
interface AgentConversationBatchDeletionCapability {
|
|
8180
|
+
available: boolean;
|
|
8181
|
+
missingMethods: AgentConversationBatchDeletionRuntimeMethod[];
|
|
8182
|
+
partial: boolean;
|
|
8183
|
+
}
|
|
8184
|
+
declare function createAgentConversationRailRuntime(source: AgentConversationRailRuntimeSource): AgentConversationRailRuntime;
|
|
8185
|
+
declare function inspectAgentConversationBatchDeletionCapability(runtime: Partial<Pick<AgentActivityRuntime, AgentConversationBatchDeletionRuntimeMethod>>): AgentConversationBatchDeletionCapability;
|
|
8186
|
+
|
|
8170
8187
|
type AgentStatusSectionState = "available" | "unavailable" | "error";
|
|
8171
8188
|
type AgentStatusRequestReason = "slash-status" | "agent-info" | "agent-config";
|
|
8172
8189
|
interface AgentStatusQuery {
|
|
@@ -8572,4 +8589,4 @@ declare function dispatchAgentPlanPromptAction(input: {
|
|
|
8572
8589
|
workspaceId: string;
|
|
8573
8590
|
}): boolean;
|
|
8574
8591
|
|
|
8575
|
-
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailLayout, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentStatusController, type AgentStatusControllerOptions, type AgentStatusControllerSnapshot, type AgentStatusFrame, type AgentStatusQuery, type AgentStatusRequestPhase, type AgentStatusRequestReason, type AgentStatusSectionState, type AgentStatusSelectionKey, type AgentStatusSource, type AgentStatusSourceError, type AgentStatusStreamObserver, type AgentStatusValue, type AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
|
|
8592
|
+
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_CONVERSATION_RAIL_RUNTIME_METHODS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentConversationBatchDeletionCapability, type AgentConversationRailRuntime, type AgentConversationRailRuntimeSource, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailLayout, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentStatusController, type AgentStatusControllerOptions, type AgentStatusControllerSnapshot, type AgentStatusFrame, type AgentStatusQuery, type AgentStatusRequestPhase, type AgentStatusRequestReason, type AgentStatusSectionState, type AgentStatusSelectionKey, type AgentStatusSource, type AgentStatusSourceError, type AgentStatusStreamObserver, type AgentStatusValue, type AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentConversationRailRuntime, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, inspectAgentConversationBatchDeletionCapability, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,12 @@ import {
|
|
|
10
10
|
normalizeAgentGUIAgentTargets,
|
|
11
11
|
resolveAgentGUIAgentTarget,
|
|
12
12
|
selectAgentStatusControllerSnapshot
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YL3WEK6L.js";
|
|
14
|
+
import {
|
|
15
|
+
AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
|
|
16
|
+
createAgentConversationRailRuntime,
|
|
17
|
+
inspectAgentConversationBatchDeletionCapability
|
|
18
|
+
} from "./chunk-LB4AGT7B.js";
|
|
14
19
|
import "./chunk-A4WCTHWS.js";
|
|
15
20
|
import {
|
|
16
21
|
AGENT_GUI_DETAIL_MIN_WIDTH_PX,
|
|
@@ -104,6 +109,7 @@ import {
|
|
|
104
109
|
} from "@tutti-os/agent-activity-core";
|
|
105
110
|
export {
|
|
106
111
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS,
|
|
112
|
+
AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
|
|
107
113
|
AGENT_GUI_DETAIL_MIN_WIDTH_PX,
|
|
108
114
|
AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,
|
|
109
115
|
AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
|
|
@@ -120,6 +126,7 @@ export {
|
|
|
120
126
|
agentGuiDockIconUrls,
|
|
121
127
|
agentGuiI18nModule,
|
|
122
128
|
agentGuiI18nResources,
|
|
129
|
+
createAgentConversationRailRuntime,
|
|
123
130
|
createAgentSessionHandoffPrompt,
|
|
124
131
|
createAgentSessionMarkdownLink,
|
|
125
132
|
createAgentStatusController,
|
|
@@ -128,6 +135,7 @@ export {
|
|
|
128
135
|
createSharedAgentGUIAgentTarget,
|
|
129
136
|
dispatchAgentPlanPromptAction,
|
|
130
137
|
getAgentCustomMentionKind,
|
|
138
|
+
inspectAgentConversationBatchDeletionCapability,
|
|
131
139
|
localAgentGUIAgentTargetId,
|
|
132
140
|
normalizeAgentGUIAgentTargets,
|
|
133
141
|
normalizeAgentGUIAgents,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n createAgentStatusController,\n selectAgentStatusControllerSnapshot,\n type AgentStatusController,\n type AgentStatusControllerOptions,\n type AgentStatusControllerSnapshot,\n type AgentStatusFrame,\n type AgentStatusQuery,\n type AgentStatusRequestPhase,\n type AgentStatusRequestReason,\n type AgentStatusSelectionKey,\n type AgentStatusSectionState,\n type AgentStatusSource,\n type AgentStatusSourceError,\n type AgentStatusStreamObserver,\n type AgentStatusValue\n} from \"./agent-gui/agentGuiNode/controller/AgentStatusController\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type {\n AgentExternalPromptFilePreparationErrorCode,\n AgentExternalPromptFilePreparationResult,\n AgentExternalPromptFilePreparer,\n AgentPreparedExternalPromptFile\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptFiles\";\nexport type {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n projectAgentGUIAgentsToTargets,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIAgentOwnership,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentHostUserProject,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n createAgentStatusController,\n selectAgentStatusControllerSnapshot,\n type AgentStatusController,\n type AgentStatusControllerOptions,\n type AgentStatusControllerSnapshot,\n type AgentStatusFrame,\n type AgentStatusQuery,\n type AgentStatusRequestPhase,\n type AgentStatusRequestReason,\n type AgentStatusSelectionKey,\n type AgentStatusSectionState,\n type AgentStatusSource,\n type AgentStatusSourceError,\n type AgentStatusStreamObserver,\n type AgentStatusValue\n} from \"./agent-gui/agentGuiNode/controller/AgentStatusController\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type {\n AgentExternalPromptFilePreparationErrorCode,\n AgentExternalPromptFilePreparationResult,\n AgentExternalPromptFilePreparer,\n AgentPreparedExternalPromptFile\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptFiles\";\nexport type {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n projectAgentGUIAgentsToTargets,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIAgentOwnership,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport {\n AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,\n createAgentConversationRailRuntime,\n inspectAgentConversationBatchDeletionCapability\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentConversationBatchDeletionCapability,\n AgentConversationRailRuntime,\n AgentConversationRailRuntimeSource\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentHostUserProject,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0MA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
|
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.181",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -81,6 +81,10 @@
|
|
|
81
81
|
"types": "./dist/workspace-agent-generated-files.d.ts",
|
|
82
82
|
"import": "./dist/workspace-agent-generated-files.js"
|
|
83
83
|
},
|
|
84
|
+
"./conversation-rail-runtime": {
|
|
85
|
+
"types": "./dist/conversation-rail-runtime.d.ts",
|
|
86
|
+
"import": "./dist/conversation-rail-runtime.js"
|
|
87
|
+
},
|
|
84
88
|
"./workspace-query-cache": {
|
|
85
89
|
"types": "./dist/workspace-query-cache.d.ts",
|
|
86
90
|
"import": "./dist/workspace-query-cache.js"
|
|
@@ -139,18 +143,18 @@
|
|
|
139
143
|
"dependencies": {
|
|
140
144
|
"@monaco-editor/react": "^4.7.0",
|
|
141
145
|
"@tanstack/react-virtual": "^3.13.12",
|
|
142
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
143
|
-
"@tutti-os/browser-node": "0.0.
|
|
144
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
145
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
146
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
147
|
-
"@tutti-os/ui-system": "0.0.
|
|
148
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
149
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
150
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
151
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
152
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
153
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
146
|
+
"@tutti-os/agent-activity-core": "0.0.181",
|
|
147
|
+
"@tutti-os/browser-node": "0.0.181",
|
|
148
|
+
"@tutti-os/ui-i18n-runtime": "0.0.181",
|
|
149
|
+
"@tutti-os/ui-react-hooks": "0.0.181",
|
|
150
|
+
"@tutti-os/ui-rich-text": "0.0.181",
|
|
151
|
+
"@tutti-os/ui-system": "0.0.181",
|
|
152
|
+
"@tutti-os/workbench-surface": "0.0.181",
|
|
153
|
+
"@tutti-os/workspace-external-core": "0.0.181",
|
|
154
|
+
"@tutti-os/workspace-file-manager": "0.0.181",
|
|
155
|
+
"@tutti-os/workspace-file-reference": "0.0.181",
|
|
156
|
+
"@tutti-os/workspace-issue-manager": "0.0.181",
|
|
157
|
+
"@tutti-os/workspace-user-project": "0.0.181",
|
|
154
158
|
"clsx": "^2.1.1",
|
|
155
159
|
"framer-motion": "^12.40.0",
|
|
156
160
|
"lodash": "^4.17.21",
|
|
@@ -261,6 +265,9 @@
|
|
|
261
265
|
"workspace-agent-generated-files": [
|
|
262
266
|
"./dist/workspace-agent-generated-files.d.ts"
|
|
263
267
|
],
|
|
268
|
+
"conversation-rail-runtime": [
|
|
269
|
+
"./dist/conversation-rail-runtime.d.ts"
|
|
270
|
+
],
|
|
264
271
|
"workspace-query-cache": [
|
|
265
272
|
"./dist/workspace-query-cache.d.ts"
|
|
266
273
|
],
|