@moxt-ai/mobius-protocol 0.0.3

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.
Files changed (49) hide show
  1. package/dist/bot.d.ts +398 -0
  2. package/dist/bot.d.ts.map +1 -0
  3. package/dist/bot.js +901 -0
  4. package/dist/bot.js.map +1 -0
  5. package/dist/codecs/messages.d.ts +35 -0
  6. package/dist/codecs/messages.d.ts.map +1 -0
  7. package/dist/codecs/messages.js +466 -0
  8. package/dist/codecs/messages.js.map +1 -0
  9. package/dist/control-messages.d.ts +662 -0
  10. package/dist/control-messages.d.ts.map +1 -0
  11. package/dist/control-messages.js +494 -0
  12. package/dist/control-messages.js.map +1 -0
  13. package/dist/conversation-title.d.ts +2 -0
  14. package/dist/conversation-title.d.ts.map +1 -0
  15. package/dist/conversation-title.js +28 -0
  16. package/dist/conversation-title.js.map +1 -0
  17. package/dist/index.d.ts +12 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +12 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/messages.d.ts +135 -0
  22. package/dist/messages.d.ts.map +1 -0
  23. package/dist/messages.js +25 -0
  24. package/dist/messages.js.map +1 -0
  25. package/dist/mobius-api.d.ts +15 -0
  26. package/dist/mobius-api.d.ts.map +1 -0
  27. package/dist/mobius-api.js +28 -0
  28. package/dist/mobius-api.js.map +1 -0
  29. package/dist/native-sessions.d.ts +262 -0
  30. package/dist/native-sessions.d.ts.map +1 -0
  31. package/dist/native-sessions.js +153 -0
  32. package/dist/native-sessions.js.map +1 -0
  33. package/dist/prompt-usage.d.ts +76 -0
  34. package/dist/prompt-usage.d.ts.map +1 -0
  35. package/dist/prompt-usage.js +88 -0
  36. package/dist/prompt-usage.js.map +1 -0
  37. package/dist/resource-model.d.ts +945 -0
  38. package/dist/resource-model.d.ts.map +1 -0
  39. package/dist/resource-model.js +716 -0
  40. package/dist/resource-model.js.map +1 -0
  41. package/dist/session-events.d.ts +97 -0
  42. package/dist/session-events.d.ts.map +1 -0
  43. package/dist/session-events.js +160 -0
  44. package/dist/session-events.js.map +1 -0
  45. package/dist/session-history.d.ts +69 -0
  46. package/dist/session-history.d.ts.map +1 -0
  47. package/dist/session-history.js +84 -0
  48. package/dist/session-history.js.map +1 -0
  49. package/package.json +36 -0
@@ -0,0 +1,662 @@
1
+ import { z } from "zod";
2
+ export declare const WORKSPACE_LIST_KIND = "workspace.list";
3
+ export declare const WORKSPACE_ENTRIES_KIND = "workspace.entries";
4
+ export declare const SESSION_PREPARE_KIND = "session.prepare";
5
+ export declare const SESSION_READY_KIND = "session.ready";
6
+ export declare const SESSION_CONFIGURE_KIND = "session.configure";
7
+ export declare const SESSION_CONFIG_UPDATED_KIND = "session.config.updated";
8
+ export declare const SESSION_USAGE_UPDATED_KIND = "session.usage.updated";
9
+ export declare const SESSION_COMMANDS_UPDATED_KIND = "session.commands.updated";
10
+ export declare const SESSION_INFO_UPDATED_KIND = "session.info.updated";
11
+ export declare const SESSION_PERMISSION_REQUESTED_KIND = "session.permission.requested";
12
+ export declare const SESSION_PERMISSION_RESPOND_KIND = "session.permission.respond";
13
+ export declare const SESSION_PERMISSION_RESOLVED_KIND = "session.permission.resolved";
14
+ export declare const SESSION_ELICITATION_REQUESTED_KIND = "session.elicitation.requested";
15
+ export declare const SESSION_ELICITATION_RESPOND_KIND = "session.elicitation.respond";
16
+ export declare const SESSION_ELICITATION_RESOLVED_KIND = "session.elicitation.resolved";
17
+ export declare const SESSION_OPERATION_FAILED_KIND = "session.operation.failed";
18
+ export declare const AGENT_CONTENT_KIND = "agent.content";
19
+ export declare const AGENT_INSTALL_REQUEST_KIND = "agent.integration.install.request";
20
+ export declare const AGENT_INSTALL_CANCEL_KIND = "agent.integration.install.cancel";
21
+ export declare const AGENT_INSTALL_STARTED_KIND = "agent.integration.install.started";
22
+ export declare const AGENT_INSTALL_PROGRESS_KIND = "agent.integration.install.progress";
23
+ export declare const AGENT_INSTALL_COMPLETED_KIND = "agent.integration.install.completed";
24
+ export declare const AGENT_INSTALL_FAILED_KIND = "agent.integration.install.failed";
25
+ export declare const AGENT_INSTALL_CANCELLED_KIND = "agent.integration.install.cancelled";
26
+ declare const workspaceEntrySchema: z.ZodReadonly<z.ZodObject<{
27
+ directoryId: z.ZodString;
28
+ name: z.ZodString;
29
+ }, z.core.$strict>>;
30
+ export type WorkspaceEntry = z.infer<typeof workspaceEntrySchema>;
31
+ declare const configValueSchema: z.ZodReadonly<z.ZodObject<{
32
+ description: z.ZodString;
33
+ groupId: z.ZodString;
34
+ groupName: z.ZodString;
35
+ name: z.ZodString;
36
+ value: z.ZodString;
37
+ }, z.core.$strict>>;
38
+ export type SessionConfigValue = z.infer<typeof configValueSchema>;
39
+ declare const configOptionSchema: z.ZodReadonly<z.ZodObject<{
40
+ booleanValue: z.ZodBoolean;
41
+ category: z.ZodString;
42
+ currentValue: z.ZodString;
43
+ description: z.ZodString;
44
+ id: z.ZodString;
45
+ name: z.ZodString;
46
+ type: z.ZodEnum<{
47
+ boolean: "boolean";
48
+ select: "select";
49
+ }>;
50
+ values: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
51
+ description: z.ZodString;
52
+ groupId: z.ZodString;
53
+ groupName: z.ZodString;
54
+ name: z.ZodString;
55
+ value: z.ZodString;
56
+ }, z.core.$strict>>>>;
57
+ }, z.core.$strict>>;
58
+ export type SessionConfigOption = z.infer<typeof configOptionSchema>;
59
+ export declare const sessionCapabilitiesSchema: z.ZodReadonly<z.ZodObject<{
60
+ additionalDirectories: z.ZodBoolean;
61
+ audioPrompt: z.ZodBoolean;
62
+ closeSession: z.ZodBoolean;
63
+ deleteSession: z.ZodBoolean;
64
+ embeddedContextPrompt: z.ZodBoolean;
65
+ imagePrompt: z.ZodBoolean;
66
+ listSessions: z.ZodBoolean;
67
+ loadSession: z.ZodBoolean;
68
+ promptQueueing: z.ZodDefault<z.ZodBoolean>;
69
+ resumeSession: z.ZodBoolean;
70
+ steering: z.ZodDefault<z.ZodBoolean>;
71
+ unstableForkSession: z.ZodDefault<z.ZodBoolean>;
72
+ }, z.core.$strict>>;
73
+ export type SessionCapabilities = z.infer<typeof sessionCapabilitiesSchema>;
74
+ declare const sessionCommandSchema: z.ZodReadonly<z.ZodObject<{
75
+ description: z.ZodString;
76
+ inputHint: z.ZodString;
77
+ name: z.ZodString;
78
+ }, z.core.$strict>>;
79
+ export type SessionCommand = z.infer<typeof sessionCommandSchema>;
80
+ export declare const permissionOptionSchema: z.ZodReadonly<z.ZodObject<{
81
+ kind: z.ZodEnum<{
82
+ allow_always: "allow_always";
83
+ allow_once: "allow_once";
84
+ reject_always: "reject_always";
85
+ reject_once: "reject_once";
86
+ }>;
87
+ name: z.ZodString;
88
+ optionId: z.ZodString;
89
+ }, z.core.$strict>>;
90
+ export type SessionPermissionOption = z.infer<typeof permissionOptionSchema>;
91
+ declare const elicitationOptionSchema: z.ZodReadonly<z.ZodObject<{
92
+ description: z.ZodString;
93
+ label: z.ZodString;
94
+ value: z.ZodString;
95
+ }, z.core.$strict>>;
96
+ export type SessionElicitationOption = z.infer<typeof elicitationOptionSchema>;
97
+ export declare const elicitationFieldSchema: z.ZodReadonly<z.ZodObject<{
98
+ defaultBooleanValue: z.ZodBoolean;
99
+ defaultNumberValue: z.ZodNumber;
100
+ defaultStringValue: z.ZodString;
101
+ description: z.ZodString;
102
+ format: z.ZodString;
103
+ hasDefaultValue: z.ZodBoolean;
104
+ maximum: z.ZodString;
105
+ maximumLength: z.ZodString;
106
+ minimum: z.ZodString;
107
+ minimumLength: z.ZodString;
108
+ name: z.ZodString;
109
+ options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
110
+ description: z.ZodString;
111
+ label: z.ZodString;
112
+ value: z.ZodString;
113
+ }, z.core.$strict>>>>;
114
+ pattern: z.ZodString;
115
+ required: z.ZodBoolean;
116
+ title: z.ZodString;
117
+ type: z.ZodEnum<{
118
+ boolean: "boolean";
119
+ integer: "integer";
120
+ multiselect: "multiselect";
121
+ number: "number";
122
+ select: "select";
123
+ string: "string";
124
+ }>;
125
+ }, z.core.$strict>>;
126
+ export type SessionElicitationField = z.infer<typeof elicitationFieldSchema>;
127
+ declare const displayContentSchema: z.ZodReadonly<z.ZodObject<{
128
+ artifactId: z.ZodDefault<z.ZodString>;
129
+ data: z.ZodString;
130
+ mimeType: z.ZodString;
131
+ name: z.ZodString;
132
+ newText: z.ZodString;
133
+ oldText: z.ZodString;
134
+ path: z.ZodString;
135
+ terminalId: z.ZodString;
136
+ text: z.ZodString;
137
+ type: z.ZodEnum<{
138
+ diff: "diff";
139
+ image: "image";
140
+ resource: "resource";
141
+ resource_link: "resource_link";
142
+ terminal: "terminal";
143
+ text: "text";
144
+ }>;
145
+ uri: z.ZodString;
146
+ }, z.core.$strict>>;
147
+ export type AgentDisplayContent = z.infer<typeof displayContentSchema>;
148
+ declare const promptImageSchema: z.ZodReadonly<z.ZodObject<{
149
+ data: z.ZodString;
150
+ mimeType: z.ZodString;
151
+ name: z.ZodString;
152
+ }, z.core.$strict>>;
153
+ export type PromptImage = z.infer<typeof promptImageSchema>;
154
+ declare const promptResourceSchema: z.ZodReadonly<z.ZodObject<{
155
+ mimeType: z.ZodString;
156
+ name: z.ZodString;
157
+ text: z.ZodString;
158
+ type: z.ZodEnum<{
159
+ embedded: "embedded";
160
+ link: "link";
161
+ }>;
162
+ uri: z.ZodString;
163
+ }, z.core.$strict>>;
164
+ export type PromptResource = z.infer<typeof promptResourceSchema>;
165
+ declare const workspaceListCommandSchema: z.ZodReadonly<z.ZodObject<{
166
+ bindingId: z.ZodString;
167
+ directoryId: z.ZodString;
168
+ kind: z.ZodLiteral<"workspace.list">;
169
+ requestId: z.ZodString;
170
+ }, z.core.$strict>>;
171
+ export type WorkspaceListCommand = z.infer<typeof workspaceListCommandSchema>;
172
+ declare const workspaceEntriesEventSchema: z.ZodReadonly<z.ZodObject<{
173
+ bindingId: z.ZodString;
174
+ directoryId: z.ZodString;
175
+ directoryLabel: z.ZodString;
176
+ entries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
177
+ directoryId: z.ZodString;
178
+ name: z.ZodString;
179
+ }, z.core.$strict>>>>;
180
+ kind: z.ZodLiteral<"workspace.entries">;
181
+ parentDirectoryId: z.ZodString;
182
+ requestId: z.ZodString;
183
+ }, z.core.$strict>>;
184
+ export type WorkspaceEntriesEvent = z.infer<typeof workspaceEntriesEventSchema>;
185
+ declare const sessionPrepareCommandSchema: z.ZodReadonly<z.ZodObject<{
186
+ additionalDirectoryIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
187
+ agentId: z.ZodString;
188
+ bindingId: z.ZodString;
189
+ directoryId: z.ZodString;
190
+ sessionId: z.ZodString;
191
+ kind: z.ZodLiteral<"session.prepare">;
192
+ requestId: z.ZodString;
193
+ }, z.core.$strict>>;
194
+ export type SessionPrepareCommand = z.infer<typeof sessionPrepareCommandSchema>;
195
+ export declare const sessionReadyEventSchema: z.ZodReadonly<z.ZodObject<{
196
+ additionalDirectories: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
197
+ directoryId: z.ZodString;
198
+ name: z.ZodString;
199
+ }, z.core.$strict>>>>;
200
+ agentId: z.ZodString;
201
+ agentName: z.ZodString;
202
+ agentVersion: z.ZodString;
203
+ capabilities: z.ZodReadonly<z.ZodObject<{
204
+ additionalDirectories: z.ZodBoolean;
205
+ audioPrompt: z.ZodBoolean;
206
+ closeSession: z.ZodBoolean;
207
+ deleteSession: z.ZodBoolean;
208
+ embeddedContextPrompt: z.ZodBoolean;
209
+ imagePrompt: z.ZodBoolean;
210
+ listSessions: z.ZodBoolean;
211
+ loadSession: z.ZodBoolean;
212
+ promptQueueing: z.ZodDefault<z.ZodBoolean>;
213
+ resumeSession: z.ZodBoolean;
214
+ steering: z.ZodDefault<z.ZodBoolean>;
215
+ unstableForkSession: z.ZodDefault<z.ZodBoolean>;
216
+ }, z.core.$strict>>;
217
+ commands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
218
+ description: z.ZodString;
219
+ inputHint: z.ZodString;
220
+ name: z.ZodString;
221
+ }, z.core.$strict>>>>;
222
+ configOptions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
223
+ booleanValue: z.ZodBoolean;
224
+ category: z.ZodString;
225
+ currentValue: z.ZodString;
226
+ description: z.ZodString;
227
+ id: z.ZodString;
228
+ name: z.ZodString;
229
+ type: z.ZodEnum<{
230
+ boolean: "boolean";
231
+ select: "select";
232
+ }>;
233
+ values: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
234
+ description: z.ZodString;
235
+ groupId: z.ZodString;
236
+ groupName: z.ZodString;
237
+ name: z.ZodString;
238
+ value: z.ZodString;
239
+ }, z.core.$strict>>>>;
240
+ }, z.core.$strict>>>>;
241
+ directoryId: z.ZodString;
242
+ directoryLabel: z.ZodString;
243
+ kind: z.ZodLiteral<"session.ready">;
244
+ requestId: z.ZodString;
245
+ restored: z.ZodBoolean;
246
+ sessionId: z.ZodString;
247
+ }, z.core.$strict>>;
248
+ export type SessionReadyEvent = z.infer<typeof sessionReadyEventSchema>;
249
+ declare const sessionConfigureCommandSchema: z.ZodReadonly<z.ZodObject<{
250
+ additionalDirectoryIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
251
+ agentId: z.ZodString;
252
+ bindingId: z.ZodString;
253
+ directoryId: z.ZodString;
254
+ sessionId: z.ZodString;
255
+ booleanValue: z.ZodBoolean;
256
+ configId: z.ZodString;
257
+ kind: z.ZodLiteral<"session.configure">;
258
+ requestId: z.ZodString;
259
+ value: z.ZodString;
260
+ valueType: z.ZodEnum<{
261
+ boolean: "boolean";
262
+ select: "select";
263
+ }>;
264
+ }, z.core.$strict>>;
265
+ export type SessionConfigureCommand = z.infer<typeof sessionConfigureCommandSchema>;
266
+ declare const sessionConfigUpdatedEventSchema: z.ZodReadonly<z.ZodObject<{
267
+ configOptions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
268
+ booleanValue: z.ZodBoolean;
269
+ category: z.ZodString;
270
+ currentValue: z.ZodString;
271
+ description: z.ZodString;
272
+ id: z.ZodString;
273
+ name: z.ZodString;
274
+ type: z.ZodEnum<{
275
+ boolean: "boolean";
276
+ select: "select";
277
+ }>;
278
+ values: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
279
+ description: z.ZodString;
280
+ groupId: z.ZodString;
281
+ groupName: z.ZodString;
282
+ name: z.ZodString;
283
+ value: z.ZodString;
284
+ }, z.core.$strict>>>>;
285
+ }, z.core.$strict>>>>;
286
+ kind: z.ZodLiteral<"session.config.updated">;
287
+ requestId: z.ZodString;
288
+ sessionId: z.ZodString;
289
+ }, z.core.$strict>>;
290
+ export type SessionConfigUpdatedEvent = z.infer<typeof sessionConfigUpdatedEventSchema>;
291
+ declare const sessionContextUsageUpdatedEventSchema: z.ZodReadonly<z.ZodObject<{
292
+ costAmount: z.ZodNumber;
293
+ costCurrency: z.ZodString;
294
+ hasCost: z.ZodBoolean;
295
+ kind: z.ZodLiteral<"session.usage.updated">;
296
+ sessionId: z.ZodString;
297
+ size: z.ZodNumber;
298
+ source: z.ZodDefault<z.ZodLiteral<"context">>;
299
+ used: z.ZodNumber;
300
+ }, z.core.$strict>>;
301
+ export type SessionContextUsageUpdatedEvent = z.infer<typeof sessionContextUsageUpdatedEventSchema>;
302
+ declare const sessionPromptUsageUpdatedEventSchema: z.ZodReadonly<z.ZodObject<{
303
+ _meta: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
304
+ quota: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
305
+ model_usage: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
306
+ model: z.ZodString;
307
+ token_count: z.ZodPreprocess<z.ZodReadonly<z.ZodObject<{
308
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
309
+ cachedWriteTokens: z.ZodOptional<z.ZodNumber>;
310
+ inputTokens: z.ZodNumber;
311
+ outputTokens: z.ZodNumber;
312
+ reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
313
+ totalTokens: z.ZodNumber;
314
+ }, z.core.$strip>>, unknown>;
315
+ }, z.core.$strip>>>>;
316
+ token_count: z.ZodNullable<z.ZodPreprocess<z.ZodReadonly<z.ZodObject<{
317
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
318
+ cachedWriteTokens: z.ZodOptional<z.ZodNumber>;
319
+ inputTokens: z.ZodNumber;
320
+ outputTokens: z.ZodNumber;
321
+ reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
322
+ totalTokens: z.ZodNumber;
323
+ }, z.core.$strip>>, unknown>>;
324
+ }, z.core.$strip>>>;
325
+ }, z.core.$strip>>>;
326
+ commandId: z.ZodString;
327
+ kind: z.ZodLiteral<"session.usage.updated">;
328
+ sessionId: z.ZodString;
329
+ source: z.ZodLiteral<"prompt">;
330
+ usage: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
331
+ cachedReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ cachedWriteTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
333
+ inputTokens: z.ZodNumber;
334
+ outputTokens: z.ZodNumber;
335
+ thoughtTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ totalTokens: z.ZodNumber;
337
+ }, z.core.$strip>>>;
338
+ }, z.core.$strict>>;
339
+ export type SessionPromptUsageUpdatedEvent = z.infer<typeof sessionPromptUsageUpdatedEventSchema>;
340
+ declare const sessionUsageUpdatedEventSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
341
+ costAmount: z.ZodNumber;
342
+ costCurrency: z.ZodString;
343
+ hasCost: z.ZodBoolean;
344
+ kind: z.ZodLiteral<"session.usage.updated">;
345
+ sessionId: z.ZodString;
346
+ size: z.ZodNumber;
347
+ source: z.ZodDefault<z.ZodLiteral<"context">>;
348
+ used: z.ZodNumber;
349
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
350
+ _meta: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
351
+ quota: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
352
+ model_usage: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
353
+ model: z.ZodString;
354
+ token_count: z.ZodPreprocess<z.ZodReadonly<z.ZodObject<{
355
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
356
+ cachedWriteTokens: z.ZodOptional<z.ZodNumber>;
357
+ inputTokens: z.ZodNumber;
358
+ outputTokens: z.ZodNumber;
359
+ reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
360
+ totalTokens: z.ZodNumber;
361
+ }, z.core.$strip>>, unknown>;
362
+ }, z.core.$strip>>>>;
363
+ token_count: z.ZodNullable<z.ZodPreprocess<z.ZodReadonly<z.ZodObject<{
364
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
365
+ cachedWriteTokens: z.ZodOptional<z.ZodNumber>;
366
+ inputTokens: z.ZodNumber;
367
+ outputTokens: z.ZodNumber;
368
+ reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
369
+ totalTokens: z.ZodNumber;
370
+ }, z.core.$strip>>, unknown>>;
371
+ }, z.core.$strip>>>;
372
+ }, z.core.$strip>>>;
373
+ commandId: z.ZodString;
374
+ kind: z.ZodLiteral<"session.usage.updated">;
375
+ sessionId: z.ZodString;
376
+ source: z.ZodLiteral<"prompt">;
377
+ usage: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
378
+ cachedReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
379
+ cachedWriteTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
380
+ inputTokens: z.ZodNumber;
381
+ outputTokens: z.ZodNumber;
382
+ thoughtTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ totalTokens: z.ZodNumber;
384
+ }, z.core.$strip>>>;
385
+ }, z.core.$strict>>]>;
386
+ export type SessionUsageUpdatedEvent = z.infer<typeof sessionUsageUpdatedEventSchema>;
387
+ declare const sessionCommandsUpdatedEventSchema: z.ZodReadonly<z.ZodObject<{
388
+ commands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
389
+ description: z.ZodString;
390
+ inputHint: z.ZodString;
391
+ name: z.ZodString;
392
+ }, z.core.$strict>>>>;
393
+ kind: z.ZodLiteral<"session.commands.updated">;
394
+ sessionId: z.ZodString;
395
+ }, z.core.$strict>>;
396
+ export type SessionCommandsUpdatedEvent = z.infer<typeof sessionCommandsUpdatedEventSchema>;
397
+ declare const sessionInfoUpdatedEventSchema: z.ZodReadonly<z.ZodObject<{
398
+ kind: z.ZodLiteral<"session.info.updated">;
399
+ sessionId: z.ZodString;
400
+ title: z.ZodNullable<z.ZodString>;
401
+ updatedAt: z.ZodString;
402
+ }, z.core.$strict>>;
403
+ export type SessionInfoUpdatedEvent = z.infer<typeof sessionInfoUpdatedEventSchema>;
404
+ declare const sessionPermissionRequestedEventSchema: z.ZodReadonly<z.ZodObject<{
405
+ commandId: z.ZodString;
406
+ interactionId: z.ZodString;
407
+ kind: z.ZodLiteral<"session.permission.requested">;
408
+ options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
409
+ kind: z.ZodEnum<{
410
+ allow_always: "allow_always";
411
+ allow_once: "allow_once";
412
+ reject_always: "reject_always";
413
+ reject_once: "reject_once";
414
+ }>;
415
+ name: z.ZodString;
416
+ optionId: z.ZodString;
417
+ }, z.core.$strict>>>>;
418
+ sessionId: z.ZodString;
419
+ title: z.ZodString;
420
+ toolCallId: z.ZodString;
421
+ toolKind: z.ZodString;
422
+ }, z.core.$strict>>;
423
+ export type SessionPermissionRequestedEvent = z.infer<typeof sessionPermissionRequestedEventSchema>;
424
+ declare const sessionPermissionRespondCommandSchema: z.ZodReadonly<z.ZodObject<{
425
+ interactionId: z.ZodString;
426
+ kind: z.ZodLiteral<"session.permission.respond">;
427
+ optionId: z.ZodString;
428
+ outcome: z.ZodEnum<{
429
+ cancelled: "cancelled";
430
+ selected: "selected";
431
+ }>;
432
+ sessionId: z.ZodString;
433
+ }, z.core.$strict>>;
434
+ export type SessionPermissionRespondCommand = z.infer<typeof sessionPermissionRespondCommandSchema>;
435
+ declare const sessionPermissionResolvedEventSchema: z.ZodReadonly<z.ZodObject<{
436
+ interactionId: z.ZodString;
437
+ kind: z.ZodLiteral<"session.permission.resolved">;
438
+ optionId: z.ZodString;
439
+ outcome: z.ZodEnum<{
440
+ cancelled: "cancelled";
441
+ selected: "selected";
442
+ }>;
443
+ sessionId: z.ZodString;
444
+ }, z.core.$strict>>;
445
+ export type SessionPermissionResolvedEvent = z.infer<typeof sessionPermissionResolvedEventSchema>;
446
+ declare const sessionElicitationRequestedEventSchema: z.ZodReadonly<z.ZodObject<{
447
+ accepted: z.ZodBoolean;
448
+ commandId: z.ZodString;
449
+ elicitationId: z.ZodString;
450
+ fields: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
451
+ defaultBooleanValue: z.ZodBoolean;
452
+ defaultNumberValue: z.ZodNumber;
453
+ defaultStringValue: z.ZodString;
454
+ description: z.ZodString;
455
+ format: z.ZodString;
456
+ hasDefaultValue: z.ZodBoolean;
457
+ maximum: z.ZodString;
458
+ maximumLength: z.ZodString;
459
+ minimum: z.ZodString;
460
+ minimumLength: z.ZodString;
461
+ name: z.ZodString;
462
+ options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
463
+ description: z.ZodString;
464
+ label: z.ZodString;
465
+ value: z.ZodString;
466
+ }, z.core.$strict>>>>;
467
+ pattern: z.ZodString;
468
+ required: z.ZodBoolean;
469
+ title: z.ZodString;
470
+ type: z.ZodEnum<{
471
+ boolean: "boolean";
472
+ integer: "integer";
473
+ multiselect: "multiselect";
474
+ number: "number";
475
+ select: "select";
476
+ string: "string";
477
+ }>;
478
+ }, z.core.$strict>>>>;
479
+ interactionId: z.ZodString;
480
+ kind: z.ZodLiteral<"session.elicitation.requested">;
481
+ message: z.ZodString;
482
+ mode: z.ZodEnum<{
483
+ form: "form";
484
+ url: "url";
485
+ }>;
486
+ sessionId: z.ZodString;
487
+ url: z.ZodString;
488
+ }, z.core.$strict>>;
489
+ export type SessionElicitationRequestedEvent = z.infer<typeof sessionElicitationRequestedEventSchema>;
490
+ declare const sessionElicitationRespondCommandSchema: z.ZodReadonly<z.ZodObject<{
491
+ action: z.ZodEnum<{
492
+ accept: "accept";
493
+ cancel: "cancel";
494
+ decline: "decline";
495
+ }>;
496
+ content: z.ZodString;
497
+ interactionId: z.ZodString;
498
+ kind: z.ZodLiteral<"session.elicitation.respond">;
499
+ sessionId: z.ZodString;
500
+ }, z.core.$strict>>;
501
+ export type SessionElicitationRespondCommand = z.infer<typeof sessionElicitationRespondCommandSchema>;
502
+ declare const sessionElicitationResolvedEventSchema: z.ZodReadonly<z.ZodObject<{
503
+ action: z.ZodEnum<{
504
+ accept: "accept";
505
+ cancel: "cancel";
506
+ complete: "complete";
507
+ decline: "decline";
508
+ }>;
509
+ interactionId: z.ZodString;
510
+ kind: z.ZodLiteral<"session.elicitation.resolved">;
511
+ sessionId: z.ZodString;
512
+ }, z.core.$strict>>;
513
+ export type SessionElicitationResolvedEvent = z.infer<typeof sessionElicitationResolvedEventSchema>;
514
+ declare const sessionOperationFailedEventSchema: z.ZodReadonly<z.ZodObject<{
515
+ code: z.ZodString;
516
+ kind: z.ZodLiteral<"session.operation.failed">;
517
+ message: z.ZodString;
518
+ requestId: z.ZodString;
519
+ sessionId: z.ZodString;
520
+ }, z.core.$strict>>;
521
+ export type SessionOperationFailedEvent = z.infer<typeof sessionOperationFailedEventSchema>;
522
+ declare const agentContentEventSchema: z.ZodReadonly<z.ZodObject<{
523
+ commandId: z.ZodString;
524
+ content: z.ZodReadonly<z.ZodObject<{
525
+ artifactId: z.ZodDefault<z.ZodString>;
526
+ data: z.ZodString;
527
+ mimeType: z.ZodString;
528
+ name: z.ZodString;
529
+ newText: z.ZodString;
530
+ oldText: z.ZodString;
531
+ path: z.ZodString;
532
+ terminalId: z.ZodString;
533
+ text: z.ZodString;
534
+ type: z.ZodEnum<{
535
+ diff: "diff";
536
+ image: "image";
537
+ resource: "resource";
538
+ resource_link: "resource_link";
539
+ terminal: "terminal";
540
+ text: "text";
541
+ }>;
542
+ uri: z.ZodString;
543
+ }, z.core.$strict>>;
544
+ contentId: z.ZodString;
545
+ kind: z.ZodLiteral<"agent.content">;
546
+ messageId: z.ZodString;
547
+ sessionId: z.ZodString;
548
+ }, z.core.$strict>>;
549
+ export type AgentContentEvent = z.infer<typeof agentContentEventSchema>;
550
+ declare const agentInstallRequestCommandSchema: z.ZodReadonly<z.ZodObject<{
551
+ agentId: z.ZodString;
552
+ requestId: z.ZodString;
553
+ kind: z.ZodLiteral<"agent.integration.install.request">;
554
+ }, z.core.$strict>>;
555
+ export type AgentInstallRequestCommand = z.infer<typeof agentInstallRequestCommandSchema>;
556
+ declare const agentInstallCancelCommandSchema: z.ZodReadonly<z.ZodObject<{
557
+ kind: z.ZodLiteral<"agent.integration.install.cancel">;
558
+ requestId: z.ZodString;
559
+ }, z.core.$strict>>;
560
+ export type AgentInstallCancelCommand = z.infer<typeof agentInstallCancelCommandSchema>;
561
+ declare const agentInstallStartedEventSchema: z.ZodReadonly<z.ZodObject<{
562
+ agentId: z.ZodString;
563
+ requestId: z.ZodString;
564
+ kind: z.ZodLiteral<"agent.integration.install.started">;
565
+ }, z.core.$strict>>;
566
+ export type AgentInstallStartedEvent = z.infer<typeof agentInstallStartedEventSchema>;
567
+ declare const installationStageSchema: z.ZodEnum<{
568
+ checking_acp: "checking_acp";
569
+ downloading: "downloading";
570
+ installing_adapter: "installing_adapter";
571
+ installing_agent: "installing_agent";
572
+ verifying: "verifying";
573
+ }>;
574
+ export type AgentInstallationStage = z.infer<typeof installationStageSchema>;
575
+ declare const agentInstallProgressEventSchema: z.ZodReadonly<z.ZodObject<{
576
+ agentId: z.ZodString;
577
+ requestId: z.ZodString;
578
+ kind: z.ZodLiteral<"agent.integration.install.progress">;
579
+ stage: z.ZodEnum<{
580
+ checking_acp: "checking_acp";
581
+ downloading: "downloading";
582
+ installing_adapter: "installing_adapter";
583
+ installing_agent: "installing_agent";
584
+ verifying: "verifying";
585
+ }>;
586
+ }, z.core.$strict>>;
587
+ export type AgentInstallProgressEvent = z.infer<typeof agentInstallProgressEventSchema>;
588
+ declare const agentInstallCompletedEventSchema: z.ZodReadonly<z.ZodObject<{
589
+ agentId: z.ZodString;
590
+ requestId: z.ZodString;
591
+ authenticationMayBeRequired: z.ZodBoolean;
592
+ kind: z.ZodLiteral<"agent.integration.install.completed">;
593
+ }, z.core.$strict>>;
594
+ export type AgentInstallCompletedEvent = z.infer<typeof agentInstallCompletedEventSchema>;
595
+ declare const agentInstallFailedEventSchema: z.ZodReadonly<z.ZodObject<{
596
+ agentId: z.ZodString;
597
+ requestId: z.ZodString;
598
+ code: z.ZodString;
599
+ kind: z.ZodLiteral<"agent.integration.install.failed">;
600
+ message: z.ZodString;
601
+ }, z.core.$strict>>;
602
+ export type AgentInstallFailedEvent = z.infer<typeof agentInstallFailedEventSchema>;
603
+ declare const agentInstallCancelledEventSchema: z.ZodReadonly<z.ZodObject<{
604
+ agentId: z.ZodString;
605
+ requestId: z.ZodString;
606
+ kind: z.ZodLiteral<"agent.integration.install.cancelled">;
607
+ }, z.core.$strict>>;
608
+ export type AgentInstallCancelledEvent = z.infer<typeof agentInstallCancelledEventSchema>;
609
+ export declare const decodeAgentDisplayContentValue: (value: unknown) => AgentDisplayContent;
610
+ export declare const decodeRecordedAgentContentValue: (value: unknown) => AgentDisplayContent;
611
+ export declare const decodePromptImagesValue: (value: unknown) => readonly PromptImage[];
612
+ export declare const decodePromptResourcesValue: (value: unknown) => readonly PromptResource[];
613
+ export declare const decodeWorkspaceListCommand: (encoded: string) => WorkspaceListCommand;
614
+ export declare const encodeWorkspaceListCommand: (message: WorkspaceListCommand) => string;
615
+ export declare const decodeWorkspaceEntriesEvent: (encoded: string) => WorkspaceEntriesEvent;
616
+ export declare const encodeWorkspaceEntriesEvent: (message: WorkspaceEntriesEvent) => string;
617
+ export declare const decodeSessionPrepareCommand: (encoded: string) => SessionPrepareCommand;
618
+ export declare const encodeSessionPrepareCommand: (message: SessionPrepareCommand) => string;
619
+ export declare const decodeSessionReadyEvent: (encoded: string) => SessionReadyEvent;
620
+ export declare const encodeSessionReadyEvent: (message: SessionReadyEvent) => string;
621
+ export declare const decodeSessionConfigureCommand: (encoded: string) => SessionConfigureCommand;
622
+ export declare const encodeSessionConfigureCommand: (message: SessionConfigureCommand) => string;
623
+ export declare const decodeSessionConfigUpdatedEvent: (encoded: string) => SessionConfigUpdatedEvent;
624
+ export declare const encodeSessionConfigUpdatedEvent: (message: SessionConfigUpdatedEvent) => string;
625
+ export declare const decodeSessionUsageUpdatedEvent: (encoded: string) => SessionUsageUpdatedEvent;
626
+ export declare const encodeSessionUsageUpdatedEvent: (message: SessionUsageUpdatedEvent) => string;
627
+ export declare const decodeSessionCommandsUpdatedEvent: (encoded: string) => SessionCommandsUpdatedEvent;
628
+ export declare const encodeSessionCommandsUpdatedEvent: (message: SessionCommandsUpdatedEvent) => string;
629
+ export declare const decodeSessionInfoUpdatedEvent: (encoded: string) => SessionInfoUpdatedEvent;
630
+ export declare const encodeSessionInfoUpdatedEvent: (message: SessionInfoUpdatedEvent) => string;
631
+ export declare const decodeSessionPermissionRequestedEvent: (encoded: string) => SessionPermissionRequestedEvent;
632
+ export declare const encodeSessionPermissionRequestedEvent: (message: SessionPermissionRequestedEvent) => string;
633
+ export declare const decodeSessionPermissionRespondCommand: (encoded: string) => SessionPermissionRespondCommand;
634
+ export declare const encodeSessionPermissionRespondCommand: (message: SessionPermissionRespondCommand) => string;
635
+ export declare const decodeSessionPermissionResolvedEvent: (encoded: string) => SessionPermissionResolvedEvent;
636
+ export declare const encodeSessionPermissionResolvedEvent: (message: SessionPermissionResolvedEvent) => string;
637
+ export declare const decodeSessionElicitationRequestedEvent: (encoded: string) => SessionElicitationRequestedEvent;
638
+ export declare const encodeSessionElicitationRequestedEvent: (message: SessionElicitationRequestedEvent) => string;
639
+ export declare const decodeSessionElicitationRespondCommand: (encoded: string) => SessionElicitationRespondCommand;
640
+ export declare const encodeSessionElicitationRespondCommand: (message: SessionElicitationRespondCommand) => string;
641
+ export declare const decodeSessionElicitationResolvedEvent: (encoded: string) => SessionElicitationResolvedEvent;
642
+ export declare const encodeSessionElicitationResolvedEvent: (message: SessionElicitationResolvedEvent) => string;
643
+ export declare const decodeSessionOperationFailedEvent: (encoded: string) => SessionOperationFailedEvent;
644
+ export declare const encodeSessionOperationFailedEvent: (message: SessionOperationFailedEvent) => string;
645
+ export declare const decodeAgentContentEvent: (encoded: string) => AgentContentEvent;
646
+ export declare const encodeAgentContentEvent: (message: AgentContentEvent) => string;
647
+ export declare const decodeAgentInstallRequestCommand: (encoded: string) => AgentInstallRequestCommand;
648
+ export declare const encodeAgentInstallRequestCommand: (message: AgentInstallRequestCommand) => string;
649
+ export declare const decodeAgentInstallCancelCommand: (encoded: string) => AgentInstallCancelCommand;
650
+ export declare const encodeAgentInstallCancelCommand: (message: AgentInstallCancelCommand) => string;
651
+ export declare const decodeAgentInstallStartedEvent: (encoded: string) => AgentInstallStartedEvent;
652
+ export declare const encodeAgentInstallStartedEvent: (message: AgentInstallStartedEvent) => string;
653
+ export declare const decodeAgentInstallProgressEvent: (encoded: string) => AgentInstallProgressEvent;
654
+ export declare const encodeAgentInstallProgressEvent: (message: AgentInstallProgressEvent) => string;
655
+ export declare const decodeAgentInstallCompletedEvent: (encoded: string) => AgentInstallCompletedEvent;
656
+ export declare const encodeAgentInstallCompletedEvent: (message: AgentInstallCompletedEvent) => string;
657
+ export declare const decodeAgentInstallFailedEvent: (encoded: string) => AgentInstallFailedEvent;
658
+ export declare const encodeAgentInstallFailedEvent: (message: AgentInstallFailedEvent) => string;
659
+ export declare const decodeAgentInstallCancelledEvent: (encoded: string) => AgentInstallCancelledEvent;
660
+ export declare const encodeAgentInstallCancelledEvent: (message: AgentInstallCancelledEvent) => string;
661
+ export {};
662
+ //# sourceMappingURL=control-messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-messages.d.ts","sourceRoot":"","sources":["../src/control-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AACtD,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAClD,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AACpE,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AACxE,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAChE,eAAO,MAAM,iCAAiC,iCAAiC,CAAC;AAChF,eAAO,MAAM,+BAA+B,+BAA+B,CAAC;AAC5E,eAAO,MAAM,gCAAgC,gCAAgC,CAAC;AAC9E,eAAO,MAAM,kCAAkC,kCAAkC,CAAC;AAClF,eAAO,MAAM,gCAAgC,gCAAgC,CAAC;AAC9E,eAAO,MAAM,iCAAiC,iCAAiC,CAAC;AAChF,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AACxE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAClD,eAAO,MAAM,0BAA0B,sCAAsC,CAAC;AAC9E,eAAO,MAAM,yBAAyB,qCAAqC,CAAC;AAC5E,eAAO,MAAM,0BAA0B,sCAAsC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,uCAAuC,CAAC;AAChF,eAAO,MAAM,4BAA4B,wCAAwC,CAAC;AAClF,eAAO,MAAM,yBAAyB,qCAAqC,CAAC;AAC5E,eAAO,MAAM,4BAA4B,wCAAwC,CAAC;AASlF,QAAA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