@openacp/cli 2026.401.5 → 2026.402.1
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/channel-DzDoNxa7.d.ts +522 -0
- package/dist/cli.js +2892 -3938
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +295 -553
- package/dist/index.js +1385 -2651
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +5 -0
- package/dist/testing.js +17364 -0
- package/dist/testing.js.map +1 -0
- package/package.json +2 -4
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
type OutputMode = "low" | "medium" | "high";
|
|
2
|
+
/** @deprecated Use OutputMode instead */
|
|
3
|
+
type DisplayVerbosity = OutputMode;
|
|
4
|
+
declare const STATUS_ICONS: Record<string, string>;
|
|
5
|
+
declare const KIND_ICONS: Record<string, string>;
|
|
6
|
+
interface ViewerLinks {
|
|
7
|
+
file?: string;
|
|
8
|
+
diff?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ToolCallMeta {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
kind?: string;
|
|
14
|
+
status?: string;
|
|
15
|
+
content?: unknown;
|
|
16
|
+
rawInput?: unknown;
|
|
17
|
+
viewerLinks?: ViewerLinks;
|
|
18
|
+
viewerFilePath?: string;
|
|
19
|
+
displaySummary?: string;
|
|
20
|
+
displayTitle?: string;
|
|
21
|
+
displayKind?: string;
|
|
22
|
+
}
|
|
23
|
+
interface ToolUpdateMeta extends ToolCallMeta {
|
|
24
|
+
status: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface Attachment {
|
|
28
|
+
type: 'image' | 'audio' | 'file';
|
|
29
|
+
filePath: string;
|
|
30
|
+
fileName: string;
|
|
31
|
+
mimeType: string;
|
|
32
|
+
size: number;
|
|
33
|
+
originalFilePath?: string;
|
|
34
|
+
}
|
|
35
|
+
interface IncomingMessage {
|
|
36
|
+
channelId: string;
|
|
37
|
+
threadId: string;
|
|
38
|
+
userId: string;
|
|
39
|
+
text: string;
|
|
40
|
+
attachments?: Attachment[];
|
|
41
|
+
}
|
|
42
|
+
interface OutgoingMessage {
|
|
43
|
+
type: "text" | "thought" | "tool_call" | "tool_update" | "plan" | "usage" | "session_end" | "error" | "attachment" | "system_message" | "mode_change" | "config_update" | "model_update" | "user_replay" | "resource" | "resource_link";
|
|
44
|
+
text: string;
|
|
45
|
+
metadata?: Record<string, unknown>;
|
|
46
|
+
attachment?: Attachment;
|
|
47
|
+
}
|
|
48
|
+
interface PermissionRequest {
|
|
49
|
+
id: string;
|
|
50
|
+
description: string;
|
|
51
|
+
options: PermissionOption[];
|
|
52
|
+
}
|
|
53
|
+
interface PermissionOption {
|
|
54
|
+
id: string;
|
|
55
|
+
label: string;
|
|
56
|
+
isAllow: boolean;
|
|
57
|
+
}
|
|
58
|
+
interface NotificationMessage {
|
|
59
|
+
sessionId: string;
|
|
60
|
+
sessionName?: string;
|
|
61
|
+
type: "completed" | "error" | "permission" | "input_required" | "budget_warning";
|
|
62
|
+
summary: string;
|
|
63
|
+
deepLink?: string;
|
|
64
|
+
}
|
|
65
|
+
interface AgentCommand {
|
|
66
|
+
name: string;
|
|
67
|
+
description: string;
|
|
68
|
+
input?: unknown;
|
|
69
|
+
}
|
|
70
|
+
type AgentEvent = {
|
|
71
|
+
type: "text";
|
|
72
|
+
content: string;
|
|
73
|
+
} | {
|
|
74
|
+
type: "thought";
|
|
75
|
+
content: string;
|
|
76
|
+
} | {
|
|
77
|
+
type: "tool_call";
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
kind?: string;
|
|
81
|
+
status: string;
|
|
82
|
+
content?: unknown;
|
|
83
|
+
locations?: unknown;
|
|
84
|
+
rawInput?: unknown;
|
|
85
|
+
rawOutput?: unknown;
|
|
86
|
+
meta?: unknown;
|
|
87
|
+
} | {
|
|
88
|
+
type: "tool_update";
|
|
89
|
+
id: string;
|
|
90
|
+
name?: string;
|
|
91
|
+
kind?: string;
|
|
92
|
+
status: string;
|
|
93
|
+
content?: unknown;
|
|
94
|
+
locations?: unknown;
|
|
95
|
+
rawInput?: unknown;
|
|
96
|
+
rawOutput?: unknown;
|
|
97
|
+
meta?: unknown;
|
|
98
|
+
} | {
|
|
99
|
+
type: "plan";
|
|
100
|
+
entries: PlanEntry[];
|
|
101
|
+
} | {
|
|
102
|
+
type: "usage";
|
|
103
|
+
tokensUsed?: number;
|
|
104
|
+
contextSize?: number;
|
|
105
|
+
cost?: {
|
|
106
|
+
amount: number;
|
|
107
|
+
currency: string;
|
|
108
|
+
};
|
|
109
|
+
} | {
|
|
110
|
+
type: "commands_update";
|
|
111
|
+
commands: AgentCommand[];
|
|
112
|
+
} | {
|
|
113
|
+
type: "image_content";
|
|
114
|
+
data: string;
|
|
115
|
+
mimeType: string;
|
|
116
|
+
} | {
|
|
117
|
+
type: "audio_content";
|
|
118
|
+
data: string;
|
|
119
|
+
mimeType: string;
|
|
120
|
+
} | {
|
|
121
|
+
type: "session_end";
|
|
122
|
+
reason: string;
|
|
123
|
+
} | {
|
|
124
|
+
type: "error";
|
|
125
|
+
message: string;
|
|
126
|
+
} | {
|
|
127
|
+
type: "system_message";
|
|
128
|
+
message: string;
|
|
129
|
+
} | {
|
|
130
|
+
type: "session_info_update";
|
|
131
|
+
title?: string;
|
|
132
|
+
updatedAt?: string;
|
|
133
|
+
_meta?: Record<string, unknown>;
|
|
134
|
+
} | {
|
|
135
|
+
type: "config_option_update";
|
|
136
|
+
options: ConfigOption[];
|
|
137
|
+
} | {
|
|
138
|
+
type: "user_message_chunk";
|
|
139
|
+
content: string;
|
|
140
|
+
} | {
|
|
141
|
+
type: "resource_content";
|
|
142
|
+
uri: string;
|
|
143
|
+
name: string;
|
|
144
|
+
text?: string;
|
|
145
|
+
blob?: string;
|
|
146
|
+
mimeType?: string;
|
|
147
|
+
} | {
|
|
148
|
+
type: "resource_link";
|
|
149
|
+
uri: string;
|
|
150
|
+
name: string;
|
|
151
|
+
mimeType?: string;
|
|
152
|
+
title?: string;
|
|
153
|
+
description?: string;
|
|
154
|
+
size?: number;
|
|
155
|
+
} | {
|
|
156
|
+
type: "tts_strip";
|
|
157
|
+
};
|
|
158
|
+
interface PlanEntry {
|
|
159
|
+
content: string;
|
|
160
|
+
status: "pending" | "in_progress" | "completed";
|
|
161
|
+
priority: "high" | "medium" | "low";
|
|
162
|
+
}
|
|
163
|
+
interface AgentDefinition {
|
|
164
|
+
name: string;
|
|
165
|
+
command: string;
|
|
166
|
+
args: string[];
|
|
167
|
+
workingDirectory?: string;
|
|
168
|
+
env?: Record<string, string>;
|
|
169
|
+
}
|
|
170
|
+
type AgentDistribution = "npx" | "uvx" | "binary" | "custom";
|
|
171
|
+
interface InstalledAgent {
|
|
172
|
+
registryId: string | null;
|
|
173
|
+
name: string;
|
|
174
|
+
version: string;
|
|
175
|
+
distribution: AgentDistribution;
|
|
176
|
+
command: string;
|
|
177
|
+
args: string[];
|
|
178
|
+
env: Record<string, string>;
|
|
179
|
+
workingDirectory?: string;
|
|
180
|
+
installedAt: string;
|
|
181
|
+
binaryPath: string | null;
|
|
182
|
+
}
|
|
183
|
+
interface RegistryBinaryTarget {
|
|
184
|
+
archive: string;
|
|
185
|
+
cmd: string;
|
|
186
|
+
args?: string[];
|
|
187
|
+
env?: Record<string, string>;
|
|
188
|
+
}
|
|
189
|
+
interface RegistryDistribution {
|
|
190
|
+
npx?: {
|
|
191
|
+
package: string;
|
|
192
|
+
args?: string[];
|
|
193
|
+
env?: Record<string, string>;
|
|
194
|
+
};
|
|
195
|
+
uvx?: {
|
|
196
|
+
package: string;
|
|
197
|
+
args?: string[];
|
|
198
|
+
env?: Record<string, string>;
|
|
199
|
+
};
|
|
200
|
+
binary?: Record<string, RegistryBinaryTarget>;
|
|
201
|
+
}
|
|
202
|
+
interface RegistryAgent {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
version: string;
|
|
206
|
+
description: string;
|
|
207
|
+
repository?: string;
|
|
208
|
+
website?: string;
|
|
209
|
+
authors?: string[];
|
|
210
|
+
license?: string;
|
|
211
|
+
icon?: string;
|
|
212
|
+
distribution: RegistryDistribution;
|
|
213
|
+
}
|
|
214
|
+
interface AgentListItem {
|
|
215
|
+
key: string;
|
|
216
|
+
registryId: string;
|
|
217
|
+
name: string;
|
|
218
|
+
version: string;
|
|
219
|
+
description?: string;
|
|
220
|
+
distribution: AgentDistribution;
|
|
221
|
+
installed: boolean;
|
|
222
|
+
available: boolean;
|
|
223
|
+
missingDeps?: string[];
|
|
224
|
+
}
|
|
225
|
+
interface AvailabilityResult {
|
|
226
|
+
available: boolean;
|
|
227
|
+
reason?: string;
|
|
228
|
+
missing?: Array<{
|
|
229
|
+
label: string;
|
|
230
|
+
installHint: string;
|
|
231
|
+
}>;
|
|
232
|
+
}
|
|
233
|
+
interface InstallProgress {
|
|
234
|
+
onStart(agentId: string, agentName: string): void | Promise<void>;
|
|
235
|
+
onStep(step: string): void | Promise<void>;
|
|
236
|
+
onDownloadProgress(percent: number): void | Promise<void>;
|
|
237
|
+
onSuccess(agentName: string): void | Promise<void>;
|
|
238
|
+
onError(error: string, hint?: string): void | Promise<void>;
|
|
239
|
+
}
|
|
240
|
+
interface InstallResult {
|
|
241
|
+
ok: boolean;
|
|
242
|
+
agentKey: string;
|
|
243
|
+
error?: string;
|
|
244
|
+
hint?: string;
|
|
245
|
+
setupSteps?: string[];
|
|
246
|
+
}
|
|
247
|
+
type SessionStatus = "initializing" | "active" | "cancelled" | "finished" | "error";
|
|
248
|
+
interface AgentSwitchEntry {
|
|
249
|
+
agentName: string;
|
|
250
|
+
agentSessionId: string;
|
|
251
|
+
switchedAt: string;
|
|
252
|
+
promptCount: number;
|
|
253
|
+
}
|
|
254
|
+
interface SessionRecord<P = Record<string, unknown>> {
|
|
255
|
+
sessionId: string;
|
|
256
|
+
agentSessionId: string;
|
|
257
|
+
originalAgentSessionId?: string;
|
|
258
|
+
agentName: string;
|
|
259
|
+
workingDir: string;
|
|
260
|
+
channelId: string;
|
|
261
|
+
status: SessionStatus;
|
|
262
|
+
createdAt: string;
|
|
263
|
+
lastActiveAt: string;
|
|
264
|
+
name?: string;
|
|
265
|
+
dangerousMode?: boolean;
|
|
266
|
+
clientOverrides?: {
|
|
267
|
+
bypassPermissions?: boolean;
|
|
268
|
+
};
|
|
269
|
+
outputMode?: OutputMode;
|
|
270
|
+
platform: P;
|
|
271
|
+
firstAgent?: string;
|
|
272
|
+
currentPromptCount?: number;
|
|
273
|
+
agentSwitchHistory?: AgentSwitchEntry[];
|
|
274
|
+
acpState?: {
|
|
275
|
+
configOptions?: ConfigOption[];
|
|
276
|
+
agentCapabilities?: AgentCapabilities;
|
|
277
|
+
currentMode?: string;
|
|
278
|
+
availableModes?: SessionMode[];
|
|
279
|
+
currentModel?: string;
|
|
280
|
+
availableModels?: ModelInfo[];
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
interface TelegramPlatformData {
|
|
284
|
+
topicId: number;
|
|
285
|
+
skillMsgId?: number;
|
|
286
|
+
controlMsgId?: number;
|
|
287
|
+
}
|
|
288
|
+
interface UsageRecord {
|
|
289
|
+
id: string;
|
|
290
|
+
sessionId: string;
|
|
291
|
+
agentName: string;
|
|
292
|
+
tokensUsed: number;
|
|
293
|
+
contextSize: number;
|
|
294
|
+
cost?: {
|
|
295
|
+
amount: number;
|
|
296
|
+
currency: string;
|
|
297
|
+
};
|
|
298
|
+
timestamp: string;
|
|
299
|
+
}
|
|
300
|
+
interface UsageRecordEvent {
|
|
301
|
+
sessionId: string;
|
|
302
|
+
agentName: string;
|
|
303
|
+
timestamp: string;
|
|
304
|
+
tokensUsed: number;
|
|
305
|
+
contextSize: number;
|
|
306
|
+
cost?: {
|
|
307
|
+
amount: number;
|
|
308
|
+
currency: string;
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
interface SessionMode {
|
|
312
|
+
id: string;
|
|
313
|
+
name: string;
|
|
314
|
+
description?: string;
|
|
315
|
+
}
|
|
316
|
+
interface SessionModeState {
|
|
317
|
+
currentModeId: string;
|
|
318
|
+
availableModes: SessionMode[];
|
|
319
|
+
}
|
|
320
|
+
interface ConfigSelectChoice {
|
|
321
|
+
value: string;
|
|
322
|
+
name: string;
|
|
323
|
+
description?: string;
|
|
324
|
+
}
|
|
325
|
+
interface ConfigSelectGroup {
|
|
326
|
+
group: string;
|
|
327
|
+
name: string;
|
|
328
|
+
options: ConfigSelectChoice[];
|
|
329
|
+
}
|
|
330
|
+
type ConfigOption = {
|
|
331
|
+
id: string;
|
|
332
|
+
name: string;
|
|
333
|
+
description?: string;
|
|
334
|
+
category?: string;
|
|
335
|
+
type: "select";
|
|
336
|
+
currentValue: string;
|
|
337
|
+
options: (ConfigSelectChoice | ConfigSelectGroup)[];
|
|
338
|
+
_meta?: Record<string, unknown>;
|
|
339
|
+
} | {
|
|
340
|
+
id: string;
|
|
341
|
+
name: string;
|
|
342
|
+
description?: string;
|
|
343
|
+
category?: string;
|
|
344
|
+
type: "boolean";
|
|
345
|
+
currentValue: boolean;
|
|
346
|
+
_meta?: Record<string, unknown>;
|
|
347
|
+
};
|
|
348
|
+
type SetConfigOptionValue = {
|
|
349
|
+
type: "select";
|
|
350
|
+
value: string;
|
|
351
|
+
} | {
|
|
352
|
+
type: "boolean";
|
|
353
|
+
value: boolean;
|
|
354
|
+
};
|
|
355
|
+
interface ModelInfo {
|
|
356
|
+
id: string;
|
|
357
|
+
name: string;
|
|
358
|
+
description?: string;
|
|
359
|
+
}
|
|
360
|
+
interface SessionModelState {
|
|
361
|
+
currentModelId: string;
|
|
362
|
+
availableModels: ModelInfo[];
|
|
363
|
+
}
|
|
364
|
+
interface AgentCapabilities {
|
|
365
|
+
name: string;
|
|
366
|
+
title?: string;
|
|
367
|
+
version?: string;
|
|
368
|
+
loadSession?: boolean;
|
|
369
|
+
promptCapabilities?: {
|
|
370
|
+
image?: boolean;
|
|
371
|
+
audio?: boolean;
|
|
372
|
+
embeddedContext?: boolean;
|
|
373
|
+
};
|
|
374
|
+
sessionCapabilities?: {
|
|
375
|
+
list?: boolean;
|
|
376
|
+
fork?: boolean;
|
|
377
|
+
close?: boolean;
|
|
378
|
+
};
|
|
379
|
+
mcp?: {
|
|
380
|
+
http?: boolean;
|
|
381
|
+
sse?: boolean;
|
|
382
|
+
};
|
|
383
|
+
authMethods?: AuthMethod[];
|
|
384
|
+
}
|
|
385
|
+
interface NewSessionResponse {
|
|
386
|
+
sessionId: string;
|
|
387
|
+
modes?: SessionModeState;
|
|
388
|
+
configOptions?: ConfigOption[];
|
|
389
|
+
models?: SessionModelState;
|
|
390
|
+
}
|
|
391
|
+
type AuthMethod = {
|
|
392
|
+
type: "agent";
|
|
393
|
+
} | {
|
|
394
|
+
type: "env_var";
|
|
395
|
+
name: string;
|
|
396
|
+
description?: string;
|
|
397
|
+
} | {
|
|
398
|
+
type: "terminal";
|
|
399
|
+
};
|
|
400
|
+
interface AuthenticateRequest {
|
|
401
|
+
methodId: string;
|
|
402
|
+
}
|
|
403
|
+
type StopReason = "end_turn" | "max_tokens" | "max_turn_requests" | "refusal" | "cancelled";
|
|
404
|
+
interface PromptResponse {
|
|
405
|
+
stopReason: StopReason;
|
|
406
|
+
_meta?: Record<string, unknown>;
|
|
407
|
+
}
|
|
408
|
+
type ContentBlock = {
|
|
409
|
+
type: "text";
|
|
410
|
+
text: string;
|
|
411
|
+
} | {
|
|
412
|
+
type: "image";
|
|
413
|
+
data: string;
|
|
414
|
+
mimeType: string;
|
|
415
|
+
uri?: string;
|
|
416
|
+
} | {
|
|
417
|
+
type: "audio";
|
|
418
|
+
data: string;
|
|
419
|
+
mimeType: string;
|
|
420
|
+
} | {
|
|
421
|
+
type: "resource";
|
|
422
|
+
resource: {
|
|
423
|
+
uri: string;
|
|
424
|
+
text?: string;
|
|
425
|
+
blob?: string;
|
|
426
|
+
mimeType?: string;
|
|
427
|
+
};
|
|
428
|
+
} | {
|
|
429
|
+
type: "resource_link";
|
|
430
|
+
uri: string;
|
|
431
|
+
name: string;
|
|
432
|
+
mimeType?: string;
|
|
433
|
+
title?: string;
|
|
434
|
+
description?: string;
|
|
435
|
+
size?: number;
|
|
436
|
+
};
|
|
437
|
+
interface SessionListItem {
|
|
438
|
+
sessionId: string;
|
|
439
|
+
title?: string;
|
|
440
|
+
createdAt: string;
|
|
441
|
+
updatedAt?: string;
|
|
442
|
+
_meta?: Record<string, unknown>;
|
|
443
|
+
}
|
|
444
|
+
interface SessionListResponse {
|
|
445
|
+
sessions: SessionListItem[];
|
|
446
|
+
nextCursor?: string;
|
|
447
|
+
}
|
|
448
|
+
type McpServerConfig = {
|
|
449
|
+
type?: "stdio";
|
|
450
|
+
name: string;
|
|
451
|
+
command: string;
|
|
452
|
+
args?: string[];
|
|
453
|
+
env?: Record<string, string>;
|
|
454
|
+
} | {
|
|
455
|
+
type: "http";
|
|
456
|
+
name: string;
|
|
457
|
+
url: string;
|
|
458
|
+
headers?: Record<string, string>;
|
|
459
|
+
} | {
|
|
460
|
+
type: "sse";
|
|
461
|
+
name: string;
|
|
462
|
+
url: string;
|
|
463
|
+
headers?: Record<string, string>;
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
interface ChannelConfig {
|
|
467
|
+
enabled: boolean;
|
|
468
|
+
[key: string]: unknown;
|
|
469
|
+
}
|
|
470
|
+
interface AdapterCapabilities {
|
|
471
|
+
streaming: boolean;
|
|
472
|
+
richFormatting: boolean;
|
|
473
|
+
threads: boolean;
|
|
474
|
+
reactions: boolean;
|
|
475
|
+
fileUpload: boolean;
|
|
476
|
+
voice: boolean;
|
|
477
|
+
}
|
|
478
|
+
interface IChannelAdapter {
|
|
479
|
+
readonly name: string;
|
|
480
|
+
readonly capabilities: AdapterCapabilities;
|
|
481
|
+
start(): Promise<void>;
|
|
482
|
+
stop(): Promise<void>;
|
|
483
|
+
sendMessage(sessionId: string, content: OutgoingMessage): Promise<void>;
|
|
484
|
+
sendPermissionRequest(sessionId: string, request: PermissionRequest): Promise<void>;
|
|
485
|
+
sendNotification(notification: NotificationMessage): Promise<void>;
|
|
486
|
+
createSessionThread(sessionId: string, name: string): Promise<string>;
|
|
487
|
+
renameSessionThread(sessionId: string, newName: string): Promise<void>;
|
|
488
|
+
deleteSessionThread?(sessionId: string): Promise<void>;
|
|
489
|
+
archiveSessionTopic?(sessionId: string): Promise<void>;
|
|
490
|
+
stripTTSBlock?(sessionId: string): Promise<void>;
|
|
491
|
+
sendSkillCommands?(sessionId: string, commands: AgentCommand[]): Promise<void>;
|
|
492
|
+
cleanupSkillCommands?(sessionId: string): Promise<void>;
|
|
493
|
+
/** Flush skill commands that were queued before threadId was available */
|
|
494
|
+
flushPendingSkillCommands?(sessionId: string): Promise<void>;
|
|
495
|
+
cleanupSessionState?(sessionId: string): Promise<void>;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Base class providing default no-op implementations for optional methods.
|
|
499
|
+
* Adapters can extend this or implement IChannelAdapter directly.
|
|
500
|
+
* @deprecated Use MessagingAdapter or StreamAdapter instead. Kept for backward compat during migration.
|
|
501
|
+
*/
|
|
502
|
+
declare abstract class ChannelAdapter<TCore = unknown> implements IChannelAdapter {
|
|
503
|
+
readonly core: TCore;
|
|
504
|
+
protected config: ChannelConfig;
|
|
505
|
+
abstract readonly name: string;
|
|
506
|
+
readonly capabilities: AdapterCapabilities;
|
|
507
|
+
constructor(core: TCore, config: ChannelConfig);
|
|
508
|
+
abstract start(): Promise<void>;
|
|
509
|
+
abstract stop(): Promise<void>;
|
|
510
|
+
abstract sendMessage(sessionId: string, content: OutgoingMessage): Promise<void>;
|
|
511
|
+
abstract sendPermissionRequest(sessionId: string, request: PermissionRequest): Promise<void>;
|
|
512
|
+
abstract sendNotification(notification: NotificationMessage): Promise<void>;
|
|
513
|
+
abstract createSessionThread(sessionId: string, name: string): Promise<string>;
|
|
514
|
+
abstract renameSessionThread(sessionId: string, newName: string): Promise<void>;
|
|
515
|
+
deleteSessionThread(_sessionId: string): Promise<void>;
|
|
516
|
+
sendSkillCommands(_sessionId: string, _commands: AgentCommand[]): Promise<void>;
|
|
517
|
+
cleanupSkillCommands(_sessionId: string): Promise<void>;
|
|
518
|
+
cleanupSessionState(_sessionId: string): Promise<void>;
|
|
519
|
+
archiveSessionTopic(_sessionId: string): Promise<void>;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export { type ToolUpdateMeta as $, type AgentEvent as A, type ModelInfo as B, type ConfigOption as C, type DisplayVerbosity as D, type NewSessionResponse as E, type PermissionOption as F, type PromptResponse as G, type RegistryBinaryTarget as H, type InstalledAgent as I, type RegistryDistribution as J, KIND_ICONS as K, STATUS_ICONS as L, type McpServerConfig as M, type NotificationMessage as N, type OutgoingMessage as O, type PermissionRequest as P, type SessionListItem as Q, type RegistryAgent as R, type SetConfigOptionValue as S, type ToolCallMeta as T, type UsageRecord as U, type ViewerLinks as V, type SessionListResponse as W, type SessionMode as X, type SessionModeState as Y, type SessionModelState as Z, type TelegramPlatformData as _, type AgentCapabilities as a, type AgentDefinition as b, type Attachment as c, type AgentListItem as d, type AvailabilityResult as e, type InstallProgress as f, type InstallResult as g, type SessionStatus as h, type AgentSwitchEntry as i, type AgentCommand as j, type SessionRecord as k, type IChannelAdapter as l, type StopReason as m, type UsageRecordEvent as n, type IncomingMessage as o, type ChannelConfig as p, type AdapterCapabilities as q, type OutputMode as r, type PlanEntry as s, type AgentDistribution as t, type AuthMethod as u, type AuthenticateRequest as v, ChannelAdapter as w, type ConfigSelectChoice as x, type ConfigSelectGroup as y, type ContentBlock as z };
|