@agen-ai/agent-protocol 0.4.0 → 0.4.2

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 (39) hide show
  1. package/README.md +115 -18
  2. package/dist/capabilities/types.d.ts +6 -1
  3. package/dist/events/types.d.ts +9 -3
  4. package/dist/events/types.js +4 -1
  5. package/dist/foundation/types.d.ts +1 -1
  6. package/dist/foundation/types.js +1 -1
  7. package/dist/jsonSchema/generated.d.ts +11214 -7152
  8. package/dist/jsonSchema/generated.js +2835 -227
  9. package/dist/public/index.d.ts +1 -0
  10. package/dist/public/index.js +1 -0
  11. package/dist/public/sessionInteractions.d.ts +2 -0
  12. package/dist/public/sessionInteractions.js +1 -0
  13. package/dist/requests/elicitation.d.ts +4 -0
  14. package/dist/requests/elicitation.js +107 -0
  15. package/dist/requests/parsers.js +2 -100
  16. package/dist/requests/types.d.ts +17 -4
  17. package/dist/sessionInteractions/index.d.ts +3 -0
  18. package/dist/sessionInteractions/index.js +2 -0
  19. package/dist/sessionInteractions/parsers.d.ts +37 -0
  20. package/dist/sessionInteractions/parsers.js +201 -0
  21. package/dist/sessionInteractions/types.d.ts +162 -0
  22. package/dist/sessionInteractions/types.js +34 -0
  23. package/dist/zod/capabilities.d.ts +72 -6
  24. package/dist/zod/capabilities.js +32 -30
  25. package/dist/zod/collaboration.d.ts +2 -2
  26. package/dist/zod/events.d.ts +75 -42
  27. package/dist/zod/events.js +8 -0
  28. package/dist/zod/foundation.d.ts +1 -0
  29. package/dist/zod/foundation.js +15 -2
  30. package/dist/zod/index.d.ts +2 -1
  31. package/dist/zod/index.js +60 -0
  32. package/dist/zod/operations.d.ts +1 -1
  33. package/dist/zod/requests.d.ts +175 -32
  34. package/dist/zod/requests.js +33 -10
  35. package/dist/zod/sessionInteractions.d.ts +925 -0
  36. package/dist/zod/sessionInteractions.js +284 -0
  37. package/dist/zod/turns.d.ts +1 -1
  38. package/dist/zod/typeEquality.generated.d.ts +38 -4
  39. package/package.json +6 -2
@@ -0,0 +1,925 @@
1
+ import { z } from 'zod/v4';
2
+ import { type AgentSessionDecisionChoiceId, type AgentSessionDecisionRequest, type AgentSessionDecisionResponse, type AgentSessionFormChoice, type AgentSessionFormChoiceId, type AgentSessionFormRequest, type AgentSessionFormResponse, type AgentSessionPlanId, type AgentSessionPlanRevision, type AgentSessionPlanReviewChoice, type AgentSessionPlanReviewChoiceId, type AgentSessionPlanReviewRequest, type AgentSessionPlanReviewResponse, type AgentSessionRequest, type AgentSessionResponse } from '../sessionInteractions/types.js';
3
+ export declare const AgentSessionDecisionChoiceIdSchema: z.ZodType<AgentSessionDecisionChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionDecisionChoiceId, unknown>>;
4
+ export declare const AgentSessionFormChoiceIdSchema: z.ZodType<AgentSessionFormChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionFormChoiceId, unknown>>;
5
+ export declare const AgentSessionPlanReviewChoiceIdSchema: z.ZodType<AgentSessionPlanReviewChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanReviewChoiceId, unknown>>;
6
+ export declare const AgentSessionPlanIdSchema: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
7
+ export declare const AgentSessionPlanRevisionSchema: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
8
+ export declare const AgentSessionWorkspaceTargetSchema: z.ZodReadonly<z.ZodObject<{
9
+ kind: z.ZodLiteral<"workspace">;
10
+ path: z.ZodString;
11
+ }, z.core.$strict>>;
12
+ export declare const AgentSessionDecisionConsequenceSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
13
+ kind: z.ZodLiteral<"grant">;
14
+ scope: z.ZodLiteral<"workspace">;
15
+ persistence: z.ZodReadonly<z.ZodObject<{
16
+ kind: z.ZodLiteral<"provider_managed">;
17
+ duration: z.ZodLiteral<"persistent">;
18
+ mayAffectOtherSessions: z.ZodLiteral<true>;
19
+ }, z.core.$strict>>;
20
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
21
+ kind: z.ZodLiteral<"decline">;
22
+ configuration: z.ZodLiteral<"remains_gated">;
23
+ }, z.core.$strict>>], "kind">;
24
+ export declare const AgentSessionDecisionChoiceSchema: z.ZodReadonly<z.ZodObject<{
25
+ choiceId: z.ZodType<AgentSessionDecisionChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionDecisionChoiceId, unknown>>;
26
+ label: z.ZodString;
27
+ description: z.ZodString;
28
+ consequence: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
29
+ kind: z.ZodLiteral<"grant">;
30
+ scope: z.ZodLiteral<"workspace">;
31
+ persistence: z.ZodReadonly<z.ZodObject<{
32
+ kind: z.ZodLiteral<"provider_managed">;
33
+ duration: z.ZodLiteral<"persistent">;
34
+ mayAffectOtherSessions: z.ZodLiteral<true>;
35
+ }, z.core.$strict>>;
36
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
37
+ kind: z.ZodLiteral<"decline">;
38
+ configuration: z.ZodLiteral<"remains_gated">;
39
+ }, z.core.$strict>>], "kind">;
40
+ }, z.core.$strict>>;
41
+ export declare const AgentSessionDecisionRequestPortableSchema: z.ZodReadonly<z.ZodObject<{
42
+ kind: z.ZodLiteral<"decision">;
43
+ target: z.ZodReadonly<z.ZodObject<{
44
+ kind: z.ZodLiteral<"workspace">;
45
+ path: z.ZodString;
46
+ }, z.core.$strict>>;
47
+ choices: z.ZodType<readonly [Readonly<{
48
+ choiceId: AgentSessionDecisionChoiceId;
49
+ label: string;
50
+ description: string;
51
+ consequence: Readonly<{
52
+ kind: "grant";
53
+ scope: "workspace";
54
+ persistence: Readonly<{
55
+ kind: "provider_managed";
56
+ duration: "persistent";
57
+ mayAffectOtherSessions: true;
58
+ }>;
59
+ }> | Readonly<{
60
+ kind: "decline";
61
+ configuration: "remains_gated";
62
+ }>;
63
+ }>, ...Readonly<{
64
+ choiceId: AgentSessionDecisionChoiceId;
65
+ label: string;
66
+ description: string;
67
+ consequence: Readonly<{
68
+ kind: "grant";
69
+ scope: "workspace";
70
+ persistence: Readonly<{
71
+ kind: "provider_managed";
72
+ duration: "persistent";
73
+ mayAffectOtherSessions: true;
74
+ }>;
75
+ }> | Readonly<{
76
+ kind: "decline";
77
+ configuration: "remains_gated";
78
+ }>;
79
+ }>[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
80
+ choiceId: AgentSessionDecisionChoiceId;
81
+ label: string;
82
+ description: string;
83
+ consequence: Readonly<{
84
+ kind: "grant";
85
+ scope: "workspace";
86
+ persistence: Readonly<{
87
+ kind: "provider_managed";
88
+ duration: "persistent";
89
+ mayAffectOtherSessions: true;
90
+ }>;
91
+ }> | Readonly<{
92
+ kind: "decline";
93
+ configuration: "remains_gated";
94
+ }>;
95
+ }>, ...Readonly<{
96
+ choiceId: AgentSessionDecisionChoiceId;
97
+ label: string;
98
+ description: string;
99
+ consequence: Readonly<{
100
+ kind: "grant";
101
+ scope: "workspace";
102
+ persistence: Readonly<{
103
+ kind: "provider_managed";
104
+ duration: "persistent";
105
+ mayAffectOtherSessions: true;
106
+ }>;
107
+ }> | Readonly<{
108
+ kind: "decline";
109
+ configuration: "remains_gated";
110
+ }>;
111
+ }>[]], unknown>>;
112
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
113
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
114
+ title: z.ZodString;
115
+ description: z.ZodOptional<z.ZodString>;
116
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
117
+ }, z.core.$strict>>;
118
+ export declare const AgentSessionFormChoiceSchema: z.ZodType<AgentSessionFormChoice>;
119
+ export declare const AgentSessionFormRequestPortableSchema: z.ZodReadonly<z.ZodObject<{
120
+ kind: z.ZodLiteral<"form">;
121
+ fields: z.ZodType<readonly [Readonly<{
122
+ kind: "text";
123
+ multiline: boolean;
124
+ maxLength: number;
125
+ fieldId: import("../index.js").AgentRequestFieldId;
126
+ label: string;
127
+ required: boolean;
128
+ sensitivity: "ordinary" | "sensitive";
129
+ description?: string | undefined;
130
+ }> | Readonly<{
131
+ kind: "single_select";
132
+ options: readonly Readonly<{
133
+ value: string;
134
+ label: string;
135
+ description?: string | undefined;
136
+ }>[];
137
+ allowOther: boolean;
138
+ fieldId: import("../index.js").AgentRequestFieldId;
139
+ label: string;
140
+ required: boolean;
141
+ sensitivity: "ordinary" | "sensitive";
142
+ description?: string | undefined;
143
+ }> | Readonly<{
144
+ kind: "multi_select";
145
+ options: readonly Readonly<{
146
+ value: string;
147
+ label: string;
148
+ description?: string | undefined;
149
+ }>[];
150
+ allowOther: boolean;
151
+ maxSelections: number;
152
+ fieldId: import("../index.js").AgentRequestFieldId;
153
+ label: string;
154
+ required: boolean;
155
+ sensitivity: "ordinary" | "sensitive";
156
+ description?: string | undefined;
157
+ }> | Readonly<{
158
+ kind: "boolean";
159
+ fieldId: import("../index.js").AgentRequestFieldId;
160
+ label: string;
161
+ required: boolean;
162
+ sensitivity: "ordinary" | "sensitive";
163
+ description?: string | undefined;
164
+ }> | Readonly<{
165
+ kind: "confirmation";
166
+ confirmLabel: string;
167
+ fieldId: import("../index.js").AgentRequestFieldId;
168
+ label: string;
169
+ required: boolean;
170
+ sensitivity: "ordinary" | "sensitive";
171
+ description?: string | undefined;
172
+ }>, ...(Readonly<{
173
+ kind: "text";
174
+ multiline: boolean;
175
+ maxLength: number;
176
+ fieldId: import("../index.js").AgentRequestFieldId;
177
+ label: string;
178
+ required: boolean;
179
+ sensitivity: "ordinary" | "sensitive";
180
+ description?: string | undefined;
181
+ }> | Readonly<{
182
+ kind: "single_select";
183
+ options: readonly Readonly<{
184
+ value: string;
185
+ label: string;
186
+ description?: string | undefined;
187
+ }>[];
188
+ allowOther: boolean;
189
+ fieldId: import("../index.js").AgentRequestFieldId;
190
+ label: string;
191
+ required: boolean;
192
+ sensitivity: "ordinary" | "sensitive";
193
+ description?: string | undefined;
194
+ }> | Readonly<{
195
+ kind: "multi_select";
196
+ options: readonly Readonly<{
197
+ value: string;
198
+ label: string;
199
+ description?: string | undefined;
200
+ }>[];
201
+ allowOther: boolean;
202
+ maxSelections: number;
203
+ fieldId: import("../index.js").AgentRequestFieldId;
204
+ label: string;
205
+ required: boolean;
206
+ sensitivity: "ordinary" | "sensitive";
207
+ description?: string | undefined;
208
+ }> | Readonly<{
209
+ kind: "boolean";
210
+ fieldId: import("../index.js").AgentRequestFieldId;
211
+ label: string;
212
+ required: boolean;
213
+ sensitivity: "ordinary" | "sensitive";
214
+ description?: string | undefined;
215
+ }> | Readonly<{
216
+ kind: "confirmation";
217
+ confirmLabel: string;
218
+ fieldId: import("../index.js").AgentRequestFieldId;
219
+ label: string;
220
+ required: boolean;
221
+ sensitivity: "ordinary" | "sensitive";
222
+ description?: string | undefined;
223
+ }>)[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
224
+ kind: "text";
225
+ multiline: boolean;
226
+ maxLength: number;
227
+ fieldId: import("../index.js").AgentRequestFieldId;
228
+ label: string;
229
+ required: boolean;
230
+ sensitivity: "ordinary" | "sensitive";
231
+ description?: string | undefined;
232
+ }> | Readonly<{
233
+ kind: "single_select";
234
+ options: readonly Readonly<{
235
+ value: string;
236
+ label: string;
237
+ description?: string | undefined;
238
+ }>[];
239
+ allowOther: boolean;
240
+ fieldId: import("../index.js").AgentRequestFieldId;
241
+ label: string;
242
+ required: boolean;
243
+ sensitivity: "ordinary" | "sensitive";
244
+ description?: string | undefined;
245
+ }> | Readonly<{
246
+ kind: "multi_select";
247
+ options: readonly Readonly<{
248
+ value: string;
249
+ label: string;
250
+ description?: string | undefined;
251
+ }>[];
252
+ allowOther: boolean;
253
+ maxSelections: number;
254
+ fieldId: import("../index.js").AgentRequestFieldId;
255
+ label: string;
256
+ required: boolean;
257
+ sensitivity: "ordinary" | "sensitive";
258
+ description?: string | undefined;
259
+ }> | Readonly<{
260
+ kind: "boolean";
261
+ fieldId: import("../index.js").AgentRequestFieldId;
262
+ label: string;
263
+ required: boolean;
264
+ sensitivity: "ordinary" | "sensitive";
265
+ description?: string | undefined;
266
+ }> | Readonly<{
267
+ kind: "confirmation";
268
+ confirmLabel: string;
269
+ fieldId: import("../index.js").AgentRequestFieldId;
270
+ label: string;
271
+ required: boolean;
272
+ sensitivity: "ordinary" | "sensitive";
273
+ description?: string | undefined;
274
+ }>, ...(Readonly<{
275
+ kind: "text";
276
+ multiline: boolean;
277
+ maxLength: number;
278
+ fieldId: import("../index.js").AgentRequestFieldId;
279
+ label: string;
280
+ required: boolean;
281
+ sensitivity: "ordinary" | "sensitive";
282
+ description?: string | undefined;
283
+ }> | Readonly<{
284
+ kind: "single_select";
285
+ options: readonly Readonly<{
286
+ value: string;
287
+ label: string;
288
+ description?: string | undefined;
289
+ }>[];
290
+ allowOther: boolean;
291
+ fieldId: import("../index.js").AgentRequestFieldId;
292
+ label: string;
293
+ required: boolean;
294
+ sensitivity: "ordinary" | "sensitive";
295
+ description?: string | undefined;
296
+ }> | Readonly<{
297
+ kind: "multi_select";
298
+ options: readonly Readonly<{
299
+ value: string;
300
+ label: string;
301
+ description?: string | undefined;
302
+ }>[];
303
+ allowOther: boolean;
304
+ maxSelections: number;
305
+ fieldId: import("../index.js").AgentRequestFieldId;
306
+ label: string;
307
+ required: boolean;
308
+ sensitivity: "ordinary" | "sensitive";
309
+ description?: string | undefined;
310
+ }> | Readonly<{
311
+ kind: "boolean";
312
+ fieldId: import("../index.js").AgentRequestFieldId;
313
+ label: string;
314
+ required: boolean;
315
+ sensitivity: "ordinary" | "sensitive";
316
+ description?: string | undefined;
317
+ }> | Readonly<{
318
+ kind: "confirmation";
319
+ confirmLabel: string;
320
+ fieldId: import("../index.js").AgentRequestFieldId;
321
+ label: string;
322
+ required: boolean;
323
+ sensitivity: "ordinary" | "sensitive";
324
+ description?: string | undefined;
325
+ }>)[]], unknown>>;
326
+ choices: z.ZodType<readonly [Readonly<{
327
+ choiceId: AgentSessionFormChoiceId;
328
+ action: "submit";
329
+ label: string;
330
+ description?: string | undefined;
331
+ }> | Readonly<{
332
+ choiceId: AgentSessionFormChoiceId;
333
+ action: "cancel";
334
+ label: string;
335
+ description?: string | undefined;
336
+ }>, ...(Readonly<{
337
+ choiceId: AgentSessionFormChoiceId;
338
+ action: "submit";
339
+ label: string;
340
+ description?: string | undefined;
341
+ }> | Readonly<{
342
+ choiceId: AgentSessionFormChoiceId;
343
+ action: "cancel";
344
+ label: string;
345
+ description?: string | undefined;
346
+ }>)[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
347
+ choiceId: AgentSessionFormChoiceId;
348
+ action: "submit";
349
+ label: string;
350
+ description?: string | undefined;
351
+ }> | Readonly<{
352
+ choiceId: AgentSessionFormChoiceId;
353
+ action: "cancel";
354
+ label: string;
355
+ description?: string | undefined;
356
+ }>, ...(Readonly<{
357
+ choiceId: AgentSessionFormChoiceId;
358
+ action: "submit";
359
+ label: string;
360
+ description?: string | undefined;
361
+ }> | Readonly<{
362
+ choiceId: AgentSessionFormChoiceId;
363
+ action: "cancel";
364
+ label: string;
365
+ description?: string | undefined;
366
+ }>)[]], unknown>>;
367
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
368
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
369
+ title: z.ZodString;
370
+ description: z.ZodOptional<z.ZodString>;
371
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
372
+ }, z.core.$strict>>;
373
+ export declare const AgentSessionPlanSnapshotPortableSchema: z.ZodReadonly<z.ZodObject<{
374
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
375
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
376
+ title: z.ZodString;
377
+ content: z.ZodReadonly<z.ZodObject<{
378
+ kind: z.ZodLiteral<"text">;
379
+ format: z.ZodEnum<{
380
+ plain_text: "plain_text";
381
+ markdown: "markdown";
382
+ }>;
383
+ text: z.ZodString;
384
+ }, z.core.$strict>>;
385
+ }, z.core.$strict>>;
386
+ export declare const AgentSessionPlanSnapshotSchema: z.ZodReadonly<z.ZodObject<{
387
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
388
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
389
+ title: z.ZodString;
390
+ content: z.ZodReadonly<z.ZodObject<{
391
+ kind: z.ZodLiteral<"text">;
392
+ format: z.ZodEnum<{
393
+ plain_text: "plain_text";
394
+ markdown: "markdown";
395
+ }>;
396
+ text: z.ZodString;
397
+ }, z.core.$strict>>;
398
+ }, z.core.$strict>>;
399
+ export declare const AgentSessionPlanReviewChoiceSchema: z.ZodType<AgentSessionPlanReviewChoice>;
400
+ export declare const AgentSessionPlanReviewRequestPortableSchema: z.ZodReadonly<z.ZodObject<{
401
+ kind: z.ZodLiteral<"plan_review">;
402
+ plan: z.ZodReadonly<z.ZodObject<{
403
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
404
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
405
+ title: z.ZodString;
406
+ content: z.ZodReadonly<z.ZodObject<{
407
+ kind: z.ZodLiteral<"text">;
408
+ format: z.ZodEnum<{
409
+ plain_text: "plain_text";
410
+ markdown: "markdown";
411
+ }>;
412
+ text: z.ZodString;
413
+ }, z.core.$strict>>;
414
+ }, z.core.$strict>>;
415
+ choices: z.ZodType<readonly [Readonly<{
416
+ choiceId: AgentSessionPlanReviewChoiceId;
417
+ action: "approve" | "revise" | "abandon";
418
+ label: string;
419
+ description?: string | undefined;
420
+ }>, ...Readonly<{
421
+ choiceId: AgentSessionPlanReviewChoiceId;
422
+ action: "approve" | "revise" | "abandon";
423
+ label: string;
424
+ description?: string | undefined;
425
+ }>[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
426
+ choiceId: AgentSessionPlanReviewChoiceId;
427
+ action: "approve" | "revise" | "abandon";
428
+ label: string;
429
+ description?: string | undefined;
430
+ }>, ...Readonly<{
431
+ choiceId: AgentSessionPlanReviewChoiceId;
432
+ action: "approve" | "revise" | "abandon";
433
+ label: string;
434
+ description?: string | undefined;
435
+ }>[]], unknown>>;
436
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
437
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
438
+ title: z.ZodString;
439
+ description: z.ZodOptional<z.ZodString>;
440
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
441
+ }, z.core.$strict>>;
442
+ export declare const AgentSessionRequestPortableSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
443
+ kind: z.ZodLiteral<"decision">;
444
+ target: z.ZodReadonly<z.ZodObject<{
445
+ kind: z.ZodLiteral<"workspace">;
446
+ path: z.ZodString;
447
+ }, z.core.$strict>>;
448
+ choices: z.ZodType<readonly [Readonly<{
449
+ choiceId: AgentSessionDecisionChoiceId;
450
+ label: string;
451
+ description: string;
452
+ consequence: Readonly<{
453
+ kind: "grant";
454
+ scope: "workspace";
455
+ persistence: Readonly<{
456
+ kind: "provider_managed";
457
+ duration: "persistent";
458
+ mayAffectOtherSessions: true;
459
+ }>;
460
+ }> | Readonly<{
461
+ kind: "decline";
462
+ configuration: "remains_gated";
463
+ }>;
464
+ }>, ...Readonly<{
465
+ choiceId: AgentSessionDecisionChoiceId;
466
+ label: string;
467
+ description: string;
468
+ consequence: Readonly<{
469
+ kind: "grant";
470
+ scope: "workspace";
471
+ persistence: Readonly<{
472
+ kind: "provider_managed";
473
+ duration: "persistent";
474
+ mayAffectOtherSessions: true;
475
+ }>;
476
+ }> | Readonly<{
477
+ kind: "decline";
478
+ configuration: "remains_gated";
479
+ }>;
480
+ }>[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
481
+ choiceId: AgentSessionDecisionChoiceId;
482
+ label: string;
483
+ description: string;
484
+ consequence: Readonly<{
485
+ kind: "grant";
486
+ scope: "workspace";
487
+ persistence: Readonly<{
488
+ kind: "provider_managed";
489
+ duration: "persistent";
490
+ mayAffectOtherSessions: true;
491
+ }>;
492
+ }> | Readonly<{
493
+ kind: "decline";
494
+ configuration: "remains_gated";
495
+ }>;
496
+ }>, ...Readonly<{
497
+ choiceId: AgentSessionDecisionChoiceId;
498
+ label: string;
499
+ description: string;
500
+ consequence: Readonly<{
501
+ kind: "grant";
502
+ scope: "workspace";
503
+ persistence: Readonly<{
504
+ kind: "provider_managed";
505
+ duration: "persistent";
506
+ mayAffectOtherSessions: true;
507
+ }>;
508
+ }> | Readonly<{
509
+ kind: "decline";
510
+ configuration: "remains_gated";
511
+ }>;
512
+ }>[]], unknown>>;
513
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
514
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
515
+ title: z.ZodString;
516
+ description: z.ZodOptional<z.ZodString>;
517
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
518
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
519
+ kind: z.ZodLiteral<"form">;
520
+ fields: z.ZodType<readonly [Readonly<{
521
+ kind: "text";
522
+ multiline: boolean;
523
+ maxLength: number;
524
+ fieldId: import("../index.js").AgentRequestFieldId;
525
+ label: string;
526
+ required: boolean;
527
+ sensitivity: "ordinary" | "sensitive";
528
+ description?: string | undefined;
529
+ }> | Readonly<{
530
+ kind: "single_select";
531
+ options: readonly Readonly<{
532
+ value: string;
533
+ label: string;
534
+ description?: string | undefined;
535
+ }>[];
536
+ allowOther: boolean;
537
+ fieldId: import("../index.js").AgentRequestFieldId;
538
+ label: string;
539
+ required: boolean;
540
+ sensitivity: "ordinary" | "sensitive";
541
+ description?: string | undefined;
542
+ }> | Readonly<{
543
+ kind: "multi_select";
544
+ options: readonly Readonly<{
545
+ value: string;
546
+ label: string;
547
+ description?: string | undefined;
548
+ }>[];
549
+ allowOther: boolean;
550
+ maxSelections: number;
551
+ fieldId: import("../index.js").AgentRequestFieldId;
552
+ label: string;
553
+ required: boolean;
554
+ sensitivity: "ordinary" | "sensitive";
555
+ description?: string | undefined;
556
+ }> | Readonly<{
557
+ kind: "boolean";
558
+ fieldId: import("../index.js").AgentRequestFieldId;
559
+ label: string;
560
+ required: boolean;
561
+ sensitivity: "ordinary" | "sensitive";
562
+ description?: string | undefined;
563
+ }> | Readonly<{
564
+ kind: "confirmation";
565
+ confirmLabel: string;
566
+ fieldId: import("../index.js").AgentRequestFieldId;
567
+ label: string;
568
+ required: boolean;
569
+ sensitivity: "ordinary" | "sensitive";
570
+ description?: string | undefined;
571
+ }>, ...(Readonly<{
572
+ kind: "text";
573
+ multiline: boolean;
574
+ maxLength: number;
575
+ fieldId: import("../index.js").AgentRequestFieldId;
576
+ label: string;
577
+ required: boolean;
578
+ sensitivity: "ordinary" | "sensitive";
579
+ description?: string | undefined;
580
+ }> | Readonly<{
581
+ kind: "single_select";
582
+ options: readonly Readonly<{
583
+ value: string;
584
+ label: string;
585
+ description?: string | undefined;
586
+ }>[];
587
+ allowOther: boolean;
588
+ fieldId: import("../index.js").AgentRequestFieldId;
589
+ label: string;
590
+ required: boolean;
591
+ sensitivity: "ordinary" | "sensitive";
592
+ description?: string | undefined;
593
+ }> | Readonly<{
594
+ kind: "multi_select";
595
+ options: readonly Readonly<{
596
+ value: string;
597
+ label: string;
598
+ description?: string | undefined;
599
+ }>[];
600
+ allowOther: boolean;
601
+ maxSelections: number;
602
+ fieldId: import("../index.js").AgentRequestFieldId;
603
+ label: string;
604
+ required: boolean;
605
+ sensitivity: "ordinary" | "sensitive";
606
+ description?: string | undefined;
607
+ }> | Readonly<{
608
+ kind: "boolean";
609
+ fieldId: import("../index.js").AgentRequestFieldId;
610
+ label: string;
611
+ required: boolean;
612
+ sensitivity: "ordinary" | "sensitive";
613
+ description?: string | undefined;
614
+ }> | Readonly<{
615
+ kind: "confirmation";
616
+ confirmLabel: string;
617
+ fieldId: import("../index.js").AgentRequestFieldId;
618
+ label: string;
619
+ required: boolean;
620
+ sensitivity: "ordinary" | "sensitive";
621
+ description?: string | undefined;
622
+ }>)[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
623
+ kind: "text";
624
+ multiline: boolean;
625
+ maxLength: number;
626
+ fieldId: import("../index.js").AgentRequestFieldId;
627
+ label: string;
628
+ required: boolean;
629
+ sensitivity: "ordinary" | "sensitive";
630
+ description?: string | undefined;
631
+ }> | Readonly<{
632
+ kind: "single_select";
633
+ options: readonly Readonly<{
634
+ value: string;
635
+ label: string;
636
+ description?: string | undefined;
637
+ }>[];
638
+ allowOther: boolean;
639
+ fieldId: import("../index.js").AgentRequestFieldId;
640
+ label: string;
641
+ required: boolean;
642
+ sensitivity: "ordinary" | "sensitive";
643
+ description?: string | undefined;
644
+ }> | Readonly<{
645
+ kind: "multi_select";
646
+ options: readonly Readonly<{
647
+ value: string;
648
+ label: string;
649
+ description?: string | undefined;
650
+ }>[];
651
+ allowOther: boolean;
652
+ maxSelections: number;
653
+ fieldId: import("../index.js").AgentRequestFieldId;
654
+ label: string;
655
+ required: boolean;
656
+ sensitivity: "ordinary" | "sensitive";
657
+ description?: string | undefined;
658
+ }> | Readonly<{
659
+ kind: "boolean";
660
+ fieldId: import("../index.js").AgentRequestFieldId;
661
+ label: string;
662
+ required: boolean;
663
+ sensitivity: "ordinary" | "sensitive";
664
+ description?: string | undefined;
665
+ }> | Readonly<{
666
+ kind: "confirmation";
667
+ confirmLabel: string;
668
+ fieldId: import("../index.js").AgentRequestFieldId;
669
+ label: string;
670
+ required: boolean;
671
+ sensitivity: "ordinary" | "sensitive";
672
+ description?: string | undefined;
673
+ }>, ...(Readonly<{
674
+ kind: "text";
675
+ multiline: boolean;
676
+ maxLength: number;
677
+ fieldId: import("../index.js").AgentRequestFieldId;
678
+ label: string;
679
+ required: boolean;
680
+ sensitivity: "ordinary" | "sensitive";
681
+ description?: string | undefined;
682
+ }> | Readonly<{
683
+ kind: "single_select";
684
+ options: readonly Readonly<{
685
+ value: string;
686
+ label: string;
687
+ description?: string | undefined;
688
+ }>[];
689
+ allowOther: boolean;
690
+ fieldId: import("../index.js").AgentRequestFieldId;
691
+ label: string;
692
+ required: boolean;
693
+ sensitivity: "ordinary" | "sensitive";
694
+ description?: string | undefined;
695
+ }> | Readonly<{
696
+ kind: "multi_select";
697
+ options: readonly Readonly<{
698
+ value: string;
699
+ label: string;
700
+ description?: string | undefined;
701
+ }>[];
702
+ allowOther: boolean;
703
+ maxSelections: number;
704
+ fieldId: import("../index.js").AgentRequestFieldId;
705
+ label: string;
706
+ required: boolean;
707
+ sensitivity: "ordinary" | "sensitive";
708
+ description?: string | undefined;
709
+ }> | Readonly<{
710
+ kind: "boolean";
711
+ fieldId: import("../index.js").AgentRequestFieldId;
712
+ label: string;
713
+ required: boolean;
714
+ sensitivity: "ordinary" | "sensitive";
715
+ description?: string | undefined;
716
+ }> | Readonly<{
717
+ kind: "confirmation";
718
+ confirmLabel: string;
719
+ fieldId: import("../index.js").AgentRequestFieldId;
720
+ label: string;
721
+ required: boolean;
722
+ sensitivity: "ordinary" | "sensitive";
723
+ description?: string | undefined;
724
+ }>)[]], unknown>>;
725
+ choices: z.ZodType<readonly [Readonly<{
726
+ choiceId: AgentSessionFormChoiceId;
727
+ action: "submit";
728
+ label: string;
729
+ description?: string | undefined;
730
+ }> | Readonly<{
731
+ choiceId: AgentSessionFormChoiceId;
732
+ action: "cancel";
733
+ label: string;
734
+ description?: string | undefined;
735
+ }>, ...(Readonly<{
736
+ choiceId: AgentSessionFormChoiceId;
737
+ action: "submit";
738
+ label: string;
739
+ description?: string | undefined;
740
+ }> | Readonly<{
741
+ choiceId: AgentSessionFormChoiceId;
742
+ action: "cancel";
743
+ label: string;
744
+ description?: string | undefined;
745
+ }>)[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
746
+ choiceId: AgentSessionFormChoiceId;
747
+ action: "submit";
748
+ label: string;
749
+ description?: string | undefined;
750
+ }> | Readonly<{
751
+ choiceId: AgentSessionFormChoiceId;
752
+ action: "cancel";
753
+ label: string;
754
+ description?: string | undefined;
755
+ }>, ...(Readonly<{
756
+ choiceId: AgentSessionFormChoiceId;
757
+ action: "submit";
758
+ label: string;
759
+ description?: string | undefined;
760
+ }> | Readonly<{
761
+ choiceId: AgentSessionFormChoiceId;
762
+ action: "cancel";
763
+ label: string;
764
+ description?: string | undefined;
765
+ }>)[]], unknown>>;
766
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
767
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
768
+ title: z.ZodString;
769
+ description: z.ZodOptional<z.ZodString>;
770
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
771
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
772
+ kind: z.ZodLiteral<"plan_review">;
773
+ plan: z.ZodReadonly<z.ZodObject<{
774
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
775
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
776
+ title: z.ZodString;
777
+ content: z.ZodReadonly<z.ZodObject<{
778
+ kind: z.ZodLiteral<"text">;
779
+ format: z.ZodEnum<{
780
+ plain_text: "plain_text";
781
+ markdown: "markdown";
782
+ }>;
783
+ text: z.ZodString;
784
+ }, z.core.$strict>>;
785
+ }, z.core.$strict>>;
786
+ choices: z.ZodType<readonly [Readonly<{
787
+ choiceId: AgentSessionPlanReviewChoiceId;
788
+ action: "approve" | "revise" | "abandon";
789
+ label: string;
790
+ description?: string | undefined;
791
+ }>, ...Readonly<{
792
+ choiceId: AgentSessionPlanReviewChoiceId;
793
+ action: "approve" | "revise" | "abandon";
794
+ label: string;
795
+ description?: string | undefined;
796
+ }>[]], unknown, z.core.$ZodTypeInternals<readonly [Readonly<{
797
+ choiceId: AgentSessionPlanReviewChoiceId;
798
+ action: "approve" | "revise" | "abandon";
799
+ label: string;
800
+ description?: string | undefined;
801
+ }>, ...Readonly<{
802
+ choiceId: AgentSessionPlanReviewChoiceId;
803
+ action: "approve" | "revise" | "abandon";
804
+ label: string;
805
+ description?: string | undefined;
806
+ }>[]], unknown>>;
807
+ requestId: z.ZodType<import("../index.js").AgentRequestId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestId, unknown>>;
808
+ sessionId: z.ZodType<import("../index.js").AgentSessionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentSessionId, unknown>>;
809
+ title: z.ZodString;
810
+ description: z.ZodOptional<z.ZodString>;
811
+ expiresAt: z.ZodOptional<z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>>;
812
+ }, z.core.$strict>>], "kind">;
813
+ export declare const AgentSessionDecisionRequestSchema: z.ZodType<AgentSessionDecisionRequest>;
814
+ export declare const AgentSessionFormRequestSchema: z.ZodType<AgentSessionFormRequest>;
815
+ export declare const AgentSessionPlanReviewRequestSchema: z.ZodType<AgentSessionPlanReviewRequest>;
816
+ export declare const AgentSessionRequestSchema: z.ZodType<AgentSessionRequest>;
817
+ export declare const AgentSessionDecisionResponsePortableSchema: z.ZodReadonly<z.ZodObject<{
818
+ kind: z.ZodLiteral<"decision">;
819
+ choiceId: z.ZodType<AgentSessionDecisionChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionDecisionChoiceId, unknown>>;
820
+ }, z.core.$strict>>;
821
+ export declare const AgentSessionFormResponsePortableSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
822
+ kind: z.ZodLiteral<"form">;
823
+ action: z.ZodLiteral<"submit">;
824
+ choiceId: z.ZodType<AgentSessionFormChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionFormChoiceId, unknown>>;
825
+ answers: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
826
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
827
+ kind: z.ZodLiteral<"text">;
828
+ value: z.ZodString;
829
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
830
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
831
+ kind: z.ZodLiteral<"single_select">;
832
+ value: z.ZodOptional<z.ZodIntersection<z.ZodString, z.ZodString>>;
833
+ other: z.ZodOptional<z.ZodString>;
834
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
835
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
836
+ kind: z.ZodLiteral<"multi_select">;
837
+ values: z.ZodReadonly<z.ZodArray<z.ZodIntersection<z.ZodString, z.ZodString>>>;
838
+ other: z.ZodOptional<z.ZodString>;
839
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
840
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
841
+ kind: z.ZodLiteral<"boolean">;
842
+ value: z.ZodBoolean;
843
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
844
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
845
+ kind: z.ZodLiteral<"confirmation">;
846
+ confirmed: z.ZodBoolean;
847
+ }, z.core.$strict>>], "kind">>>;
848
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
849
+ kind: z.ZodLiteral<"form">;
850
+ action: z.ZodLiteral<"cancel">;
851
+ choiceId: z.ZodType<AgentSessionFormChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionFormChoiceId, unknown>>;
852
+ }, z.core.$strict>>], "action">;
853
+ export declare const AgentSessionPlanReviewResponsePortableSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
854
+ action: z.ZodEnum<{
855
+ approve: "approve";
856
+ abandon: "abandon";
857
+ }>;
858
+ kind: z.ZodLiteral<"plan_review">;
859
+ choiceId: z.ZodType<AgentSessionPlanReviewChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanReviewChoiceId, unknown>>;
860
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
861
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
862
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
863
+ action: z.ZodLiteral<"revise">;
864
+ feedback: z.ZodString;
865
+ kind: z.ZodLiteral<"plan_review">;
866
+ choiceId: z.ZodType<AgentSessionPlanReviewChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanReviewChoiceId, unknown>>;
867
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
868
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
869
+ }, z.core.$strict>>], "action">;
870
+ export declare const AgentSessionResponsePortableSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
871
+ kind: z.ZodLiteral<"decision">;
872
+ choiceId: z.ZodType<AgentSessionDecisionChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionDecisionChoiceId, unknown>>;
873
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
874
+ kind: z.ZodLiteral<"form">;
875
+ action: z.ZodLiteral<"submit">;
876
+ choiceId: z.ZodType<AgentSessionFormChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionFormChoiceId, unknown>>;
877
+ answers: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
878
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
879
+ kind: z.ZodLiteral<"text">;
880
+ value: z.ZodString;
881
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
882
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
883
+ kind: z.ZodLiteral<"single_select">;
884
+ value: z.ZodOptional<z.ZodIntersection<z.ZodString, z.ZodString>>;
885
+ other: z.ZodOptional<z.ZodString>;
886
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
887
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
888
+ kind: z.ZodLiteral<"multi_select">;
889
+ values: z.ZodReadonly<z.ZodArray<z.ZodIntersection<z.ZodString, z.ZodString>>>;
890
+ other: z.ZodOptional<z.ZodString>;
891
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
892
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
893
+ kind: z.ZodLiteral<"boolean">;
894
+ value: z.ZodBoolean;
895
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
896
+ fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
897
+ kind: z.ZodLiteral<"confirmation">;
898
+ confirmed: z.ZodBoolean;
899
+ }, z.core.$strict>>], "kind">>>;
900
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
901
+ kind: z.ZodLiteral<"form">;
902
+ action: z.ZodLiteral<"cancel">;
903
+ choiceId: z.ZodType<AgentSessionFormChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionFormChoiceId, unknown>>;
904
+ }, z.core.$strict>>], "action">, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
905
+ action: z.ZodEnum<{
906
+ approve: "approve";
907
+ abandon: "abandon";
908
+ }>;
909
+ kind: z.ZodLiteral<"plan_review">;
910
+ choiceId: z.ZodType<AgentSessionPlanReviewChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanReviewChoiceId, unknown>>;
911
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
912
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
913
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
914
+ action: z.ZodLiteral<"revise">;
915
+ feedback: z.ZodString;
916
+ kind: z.ZodLiteral<"plan_review">;
917
+ choiceId: z.ZodType<AgentSessionPlanReviewChoiceId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanReviewChoiceId, unknown>>;
918
+ planId: z.ZodType<AgentSessionPlanId, unknown, z.core.$ZodTypeInternals<AgentSessionPlanId, unknown>>;
919
+ revision: z.ZodType<AgentSessionPlanRevision, unknown, z.core.$ZodTypeInternals<AgentSessionPlanRevision, unknown>>;
920
+ }, z.core.$strict>>], "action">]>;
921
+ export declare const AgentSessionDecisionResponseSchema: z.ZodType<AgentSessionDecisionResponse>;
922
+ export declare const AgentSessionFormResponseSchema: z.ZodType<AgentSessionFormResponse>;
923
+ export declare const AgentSessionPlanReviewResponseSchema: z.ZodType<AgentSessionPlanReviewResponse>;
924
+ export declare const AgentSessionResponseSchema: z.ZodType<AgentSessionResponse>;
925
+ //# sourceMappingURL=sessionInteractions.d.ts.map