@osstack/protocol 0.15.0 → 0.22.0

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 (73) hide show
  1. package/dist/attention.d.ts +863 -0
  2. package/dist/attention.d.ts.map +1 -0
  3. package/dist/attention.js +112 -0
  4. package/dist/attention.js.map +1 -0
  5. package/dist/autonomy.d.ts +14 -14
  6. package/dist/delivery-contract.d.ts +734 -0
  7. package/dist/delivery-contract.d.ts.map +1 -0
  8. package/dist/delivery-contract.js +111 -0
  9. package/dist/delivery-contract.js.map +1 -0
  10. package/dist/envelope.d.ts +42 -42
  11. package/dist/event.d.ts +4 -4
  12. package/dist/follow-up-delivery.d.ts +1831 -0
  13. package/dist/follow-up-delivery.d.ts.map +1 -0
  14. package/dist/follow-up-delivery.js +174 -0
  15. package/dist/follow-up-delivery.js.map +1 -0
  16. package/dist/follow-up.d.ts +1100 -0
  17. package/dist/follow-up.d.ts.map +1 -0
  18. package/dist/follow-up.js +28 -0
  19. package/dist/follow-up.js.map +1 -0
  20. package/dist/generate.d.ts +1 -0
  21. package/dist/generate.d.ts.map +1 -1
  22. package/dist/generate.js +61 -1
  23. package/dist/generate.js.map +1 -1
  24. package/dist/graph-checkpoint.d.ts +409 -0
  25. package/dist/graph-checkpoint.d.ts.map +1 -0
  26. package/dist/graph-checkpoint.js +91 -0
  27. package/dist/graph-checkpoint.js.map +1 -0
  28. package/dist/graph-worker.d.ts +1663 -0
  29. package/dist/graph-worker.d.ts.map +1 -0
  30. package/dist/graph-worker.js +152 -0
  31. package/dist/graph-worker.js.map +1 -0
  32. package/dist/graph.d.ts +13169 -0
  33. package/dist/graph.d.ts.map +1 -0
  34. package/dist/graph.js +427 -0
  35. package/dist/graph.js.map +1 -0
  36. package/dist/index.d.ts +11 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +11 -2
  39. package/dist/index.js.map +1 -1
  40. package/dist/policy.d.ts +10 -10
  41. package/dist/run.d.ts +4 -4
  42. package/dist/session-continuation-grant.d.ts +414 -0
  43. package/dist/session-continuation-grant.d.ts.map +1 -0
  44. package/dist/session-continuation-grant.js +59 -0
  45. package/dist/session-continuation-grant.js.map +1 -0
  46. package/dist/session-continuation.d.ts +129 -0
  47. package/dist/session-continuation.d.ts.map +1 -0
  48. package/dist/session-continuation.js +30 -0
  49. package/dist/session-continuation.js.map +1 -0
  50. package/dist/task.d.ts +2 -2
  51. package/package.json +11 -10
  52. package/schemas/attention-inbox.schema.json +271 -0
  53. package/schemas/attention-status.schema.json +434 -0
  54. package/schemas/continuation-grant-body.schema.json +189 -0
  55. package/schemas/continuation-output-check.schema.json +65 -0
  56. package/schemas/delivery-contract-v2.schema.json +238 -0
  57. package/schemas/delivery-verification-receipt-v2.schema.json +223 -0
  58. package/schemas/follow-up-create-params.schema.json +78 -0
  59. package/schemas/follow-up-draft-params.schema.json +39 -0
  60. package/schemas/follow-up-list-params.schema.json +42 -0
  61. package/schemas/follow-up-list-result.schema.json +241 -0
  62. package/schemas/follow-up-mutation-result.schema.json +361 -0
  63. package/schemas/follow-up-obligation.schema.json +343 -0
  64. package/schemas/follow-up-resolve-params.schema.json +53 -0
  65. package/schemas/frozen-delivery-contract-v2.schema.json +258 -0
  66. package/schemas/graph-checkpoint-request.schema.json +222 -0
  67. package/schemas/graph-checkpoint-response.schema.json +258 -0
  68. package/schemas/graph-worker.schema.json +546 -0
  69. package/schemas/graph.schema.json +1798 -0
  70. package/schemas/session-continuation-request.schema.json +62 -0
  71. package/schemas/session-decision.schema.json +107 -0
  72. package/schemas/signed-continuation-grant.schema.json +209 -0
  73. package/LICENSE +0 -21
@@ -0,0 +1,1100 @@
1
+ import { z } from "zod";
2
+ export declare const FollowUpState: z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>;
3
+ export declare const FollowUpCreateParams: z.ZodObject<{
4
+ source_session_id: z.ZodEffects<z.ZodString, string, string>;
5
+ expected_source_version: z.ZodNumber;
6
+ idempotency_key: z.ZodEffects<z.ZodString, string, string>;
7
+ actor: z.ZodEffects<z.ZodString, string, string>;
8
+ promise: z.ZodEffects<z.ZodString, string, string>;
9
+ destination_ref: z.ZodLiteral<"local_operator">;
10
+ resolution_condition: z.ZodEnum<["manual", "session_completed"]>;
11
+ due_at: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
12
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
13
+ default_tenant: z.ZodLiteral<true>;
14
+ }, "strict", z.ZodTypeAny, {
15
+ promise: string;
16
+ repo_path: string;
17
+ actor: string;
18
+ idempotency_key: string;
19
+ destination_ref: "local_operator";
20
+ default_tenant: true;
21
+ source_session_id: string;
22
+ expected_source_version: number;
23
+ resolution_condition: "manual" | "session_completed";
24
+ due_at: number | null;
25
+ }, {
26
+ promise: string;
27
+ repo_path: string;
28
+ actor: string;
29
+ idempotency_key: string;
30
+ destination_ref: "local_operator";
31
+ default_tenant: true;
32
+ source_session_id: string;
33
+ expected_source_version: number;
34
+ resolution_condition: "manual" | "session_completed";
35
+ due_at?: number | null | undefined;
36
+ }>;
37
+ export declare const FollowUpListParams: z.ZodObject<{
38
+ limit: z.ZodDefault<z.ZodNumber>;
39
+ cursor: z.ZodOptional<z.ZodString>;
40
+ state: z.ZodOptional<z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>>;
41
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
42
+ default_tenant: z.ZodLiteral<true>;
43
+ }, "strict", z.ZodTypeAny, {
44
+ repo_path: string;
45
+ default_tenant: true;
46
+ limit: number;
47
+ state?: "open" | "drafted" | "fulfilled_local" | "waived" | undefined;
48
+ cursor?: string | undefined;
49
+ }, {
50
+ repo_path: string;
51
+ default_tenant: true;
52
+ state?: "open" | "drafted" | "fulfilled_local" | "waived" | undefined;
53
+ limit?: number | undefined;
54
+ cursor?: string | undefined;
55
+ }>;
56
+ export declare const FollowUpDraftParams: z.ZodObject<{
57
+ actor: z.ZodEffects<z.ZodString, string, string>;
58
+ obligation_id: z.ZodString;
59
+ expected_revision: z.ZodNumber;
60
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
61
+ default_tenant: z.ZodLiteral<true>;
62
+ }, "strict", z.ZodTypeAny, {
63
+ repo_path: string;
64
+ actor: string;
65
+ default_tenant: true;
66
+ obligation_id: string;
67
+ expected_revision: number;
68
+ }, {
69
+ repo_path: string;
70
+ actor: string;
71
+ default_tenant: true;
72
+ obligation_id: string;
73
+ expected_revision: number;
74
+ }>;
75
+ export declare const FollowUpResolveParams: z.ZodObject<{
76
+ actor: z.ZodEffects<z.ZodString, string, string>;
77
+ reason: z.ZodEffects<z.ZodString, string, string>;
78
+ mode: z.ZodEnum<["waive", "condition"]>;
79
+ obligation_id: z.ZodString;
80
+ expected_revision: z.ZodNumber;
81
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
82
+ default_tenant: z.ZodLiteral<true>;
83
+ }, "strict", z.ZodTypeAny, {
84
+ reason: string;
85
+ mode: "waive" | "condition";
86
+ repo_path: string;
87
+ actor: string;
88
+ default_tenant: true;
89
+ obligation_id: string;
90
+ expected_revision: number;
91
+ }, {
92
+ reason: string;
93
+ mode: "waive" | "condition";
94
+ repo_path: string;
95
+ actor: string;
96
+ default_tenant: true;
97
+ obligation_id: string;
98
+ expected_revision: number;
99
+ }>;
100
+ export declare const FollowUpSourceSnapshot: z.ZodObject<{
101
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
102
+ version: z.ZodNumber;
103
+ updated_at: z.ZodNumber;
104
+ }, "strict", z.ZodTypeAny, {
105
+ version: number;
106
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
107
+ updated_at: number;
108
+ }, {
109
+ version: number;
110
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
111
+ updated_at: number;
112
+ }>;
113
+ export declare const FollowUpObligation: z.ZodObject<{
114
+ obligation_id: z.ZodString;
115
+ source_session_id: z.ZodEffects<z.ZodString, string, string>;
116
+ source_task_id: z.ZodEffects<z.ZodString, string, string>;
117
+ source_run_id: z.ZodEffects<z.ZodString, string, string>;
118
+ source_creation_version: z.ZodNumber;
119
+ source_identity_digest: z.ZodString;
120
+ actor: z.ZodEffects<z.ZodString, string, string>;
121
+ promise: z.ZodEffects<z.ZodString, string, string>;
122
+ destination_ref: z.ZodLiteral<"local_operator">;
123
+ resolution_condition: z.ZodEnum<["manual", "session_completed"]>;
124
+ due_at: z.ZodNullable<z.ZodNumber>;
125
+ state: z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>;
126
+ revision: z.ZodNumber;
127
+ created_at: z.ZodNumber;
128
+ updated_at: z.ZodNumber;
129
+ draft: z.ZodNullable<z.ZodObject<{
130
+ text: z.ZodEffects<z.ZodString, string, string>;
131
+ content_digest: z.ZodString;
132
+ source: z.ZodNullable<z.ZodObject<{
133
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
134
+ version: z.ZodNumber;
135
+ updated_at: z.ZodNumber;
136
+ }, "strict", z.ZodTypeAny, {
137
+ version: number;
138
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
139
+ updated_at: number;
140
+ }, {
141
+ version: number;
142
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
143
+ updated_at: number;
144
+ }>>;
145
+ source_missing: z.ZodBoolean;
146
+ created_at: z.ZodNumber;
147
+ delivery_state: z.ZodLiteral<"unsent">;
148
+ }, "strict", z.ZodTypeAny, {
149
+ source_missing: boolean;
150
+ created_at: number;
151
+ source: {
152
+ version: number;
153
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
154
+ updated_at: number;
155
+ } | null;
156
+ text: string;
157
+ content_digest: string;
158
+ delivery_state: "unsent";
159
+ }, {
160
+ source_missing: boolean;
161
+ created_at: number;
162
+ source: {
163
+ version: number;
164
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
165
+ updated_at: number;
166
+ } | null;
167
+ text: string;
168
+ content_digest: string;
169
+ delivery_state: "unsent";
170
+ }>>;
171
+ resolution: z.ZodNullable<z.ZodObject<{
172
+ mode: z.ZodEnum<["waive", "condition"]>;
173
+ actor: z.ZodEffects<z.ZodString, string, string>;
174
+ reason: z.ZodEffects<z.ZodString, string, string>;
175
+ source: z.ZodNullable<z.ZodObject<{
176
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
177
+ version: z.ZodNumber;
178
+ updated_at: z.ZodNumber;
179
+ }, "strict", z.ZodTypeAny, {
180
+ version: number;
181
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
182
+ updated_at: number;
183
+ }, {
184
+ version: number;
185
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
186
+ updated_at: number;
187
+ }>>;
188
+ resolved_at: z.ZodNumber;
189
+ external_delivery: z.ZodLiteral<"unsupported">;
190
+ }, "strict", z.ZodTypeAny, {
191
+ reason: string;
192
+ mode: "waive" | "condition";
193
+ source: {
194
+ version: number;
195
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
196
+ updated_at: number;
197
+ } | null;
198
+ actor: string;
199
+ resolved_at: number;
200
+ external_delivery: "unsupported";
201
+ }, {
202
+ reason: string;
203
+ mode: "waive" | "condition";
204
+ source: {
205
+ version: number;
206
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
207
+ updated_at: number;
208
+ } | null;
209
+ actor: string;
210
+ resolved_at: number;
211
+ external_delivery: "unsupported";
212
+ }>>;
213
+ source: z.ZodNullable<z.ZodObject<{
214
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
215
+ version: z.ZodNumber;
216
+ updated_at: z.ZodNumber;
217
+ }, "strict", z.ZodTypeAny, {
218
+ version: number;
219
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
220
+ updated_at: number;
221
+ }, {
222
+ version: number;
223
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
224
+ updated_at: number;
225
+ }>>;
226
+ source_missing: z.ZodBoolean;
227
+ external_delivery: z.ZodLiteral<"unsupported">;
228
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
229
+ default_tenant: z.ZodLiteral<true>;
230
+ }, "strict", z.ZodTypeAny, {
231
+ promise: string;
232
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
233
+ updated_at: number;
234
+ repo_path: string;
235
+ revision: number;
236
+ source_missing: boolean;
237
+ created_at: number;
238
+ source: {
239
+ version: number;
240
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
241
+ updated_at: number;
242
+ } | null;
243
+ actor: string;
244
+ destination_ref: "local_operator";
245
+ default_tenant: true;
246
+ obligation_id: string;
247
+ source_session_id: string;
248
+ resolution_condition: "manual" | "session_completed";
249
+ due_at: number | null;
250
+ external_delivery: "unsupported";
251
+ source_task_id: string;
252
+ source_run_id: string;
253
+ source_creation_version: number;
254
+ source_identity_digest: string;
255
+ draft: {
256
+ source_missing: boolean;
257
+ created_at: number;
258
+ source: {
259
+ version: number;
260
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
261
+ updated_at: number;
262
+ } | null;
263
+ text: string;
264
+ content_digest: string;
265
+ delivery_state: "unsent";
266
+ } | null;
267
+ resolution: {
268
+ reason: string;
269
+ mode: "waive" | "condition";
270
+ source: {
271
+ version: number;
272
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
273
+ updated_at: number;
274
+ } | null;
275
+ actor: string;
276
+ resolved_at: number;
277
+ external_delivery: "unsupported";
278
+ } | null;
279
+ }, {
280
+ promise: string;
281
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
282
+ updated_at: number;
283
+ repo_path: string;
284
+ revision: number;
285
+ source_missing: boolean;
286
+ created_at: number;
287
+ source: {
288
+ version: number;
289
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
290
+ updated_at: number;
291
+ } | null;
292
+ actor: string;
293
+ destination_ref: "local_operator";
294
+ default_tenant: true;
295
+ obligation_id: string;
296
+ source_session_id: string;
297
+ resolution_condition: "manual" | "session_completed";
298
+ due_at: number | null;
299
+ external_delivery: "unsupported";
300
+ source_task_id: string;
301
+ source_run_id: string;
302
+ source_creation_version: number;
303
+ source_identity_digest: string;
304
+ draft: {
305
+ source_missing: boolean;
306
+ created_at: number;
307
+ source: {
308
+ version: number;
309
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
310
+ updated_at: number;
311
+ } | null;
312
+ text: string;
313
+ content_digest: string;
314
+ delivery_state: "unsent";
315
+ } | null;
316
+ resolution: {
317
+ reason: string;
318
+ mode: "waive" | "condition";
319
+ source: {
320
+ version: number;
321
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
322
+ updated_at: number;
323
+ } | null;
324
+ actor: string;
325
+ resolved_at: number;
326
+ external_delivery: "unsupported";
327
+ } | null;
328
+ }>;
329
+ export declare const FollowUpMutationResult: z.ZodObject<{
330
+ schema_version: z.ZodLiteral<1>;
331
+ obligation: z.ZodObject<{
332
+ obligation_id: z.ZodString;
333
+ source_session_id: z.ZodEffects<z.ZodString, string, string>;
334
+ source_task_id: z.ZodEffects<z.ZodString, string, string>;
335
+ source_run_id: z.ZodEffects<z.ZodString, string, string>;
336
+ source_creation_version: z.ZodNumber;
337
+ source_identity_digest: z.ZodString;
338
+ actor: z.ZodEffects<z.ZodString, string, string>;
339
+ promise: z.ZodEffects<z.ZodString, string, string>;
340
+ destination_ref: z.ZodLiteral<"local_operator">;
341
+ resolution_condition: z.ZodEnum<["manual", "session_completed"]>;
342
+ due_at: z.ZodNullable<z.ZodNumber>;
343
+ state: z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>;
344
+ revision: z.ZodNumber;
345
+ created_at: z.ZodNumber;
346
+ updated_at: z.ZodNumber;
347
+ draft: z.ZodNullable<z.ZodObject<{
348
+ text: z.ZodEffects<z.ZodString, string, string>;
349
+ content_digest: z.ZodString;
350
+ source: z.ZodNullable<z.ZodObject<{
351
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
352
+ version: z.ZodNumber;
353
+ updated_at: z.ZodNumber;
354
+ }, "strict", z.ZodTypeAny, {
355
+ version: number;
356
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
357
+ updated_at: number;
358
+ }, {
359
+ version: number;
360
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
361
+ updated_at: number;
362
+ }>>;
363
+ source_missing: z.ZodBoolean;
364
+ created_at: z.ZodNumber;
365
+ delivery_state: z.ZodLiteral<"unsent">;
366
+ }, "strict", z.ZodTypeAny, {
367
+ source_missing: boolean;
368
+ created_at: number;
369
+ source: {
370
+ version: number;
371
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
372
+ updated_at: number;
373
+ } | null;
374
+ text: string;
375
+ content_digest: string;
376
+ delivery_state: "unsent";
377
+ }, {
378
+ source_missing: boolean;
379
+ created_at: number;
380
+ source: {
381
+ version: number;
382
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
383
+ updated_at: number;
384
+ } | null;
385
+ text: string;
386
+ content_digest: string;
387
+ delivery_state: "unsent";
388
+ }>>;
389
+ resolution: z.ZodNullable<z.ZodObject<{
390
+ mode: z.ZodEnum<["waive", "condition"]>;
391
+ actor: z.ZodEffects<z.ZodString, string, string>;
392
+ reason: z.ZodEffects<z.ZodString, string, string>;
393
+ source: z.ZodNullable<z.ZodObject<{
394
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
395
+ version: z.ZodNumber;
396
+ updated_at: z.ZodNumber;
397
+ }, "strict", z.ZodTypeAny, {
398
+ version: number;
399
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
400
+ updated_at: number;
401
+ }, {
402
+ version: number;
403
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
404
+ updated_at: number;
405
+ }>>;
406
+ resolved_at: z.ZodNumber;
407
+ external_delivery: z.ZodLiteral<"unsupported">;
408
+ }, "strict", z.ZodTypeAny, {
409
+ reason: string;
410
+ mode: "waive" | "condition";
411
+ source: {
412
+ version: number;
413
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
414
+ updated_at: number;
415
+ } | null;
416
+ actor: string;
417
+ resolved_at: number;
418
+ external_delivery: "unsupported";
419
+ }, {
420
+ reason: string;
421
+ mode: "waive" | "condition";
422
+ source: {
423
+ version: number;
424
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
425
+ updated_at: number;
426
+ } | null;
427
+ actor: string;
428
+ resolved_at: number;
429
+ external_delivery: "unsupported";
430
+ }>>;
431
+ source: z.ZodNullable<z.ZodObject<{
432
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
433
+ version: z.ZodNumber;
434
+ updated_at: z.ZodNumber;
435
+ }, "strict", z.ZodTypeAny, {
436
+ version: number;
437
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
438
+ updated_at: number;
439
+ }, {
440
+ version: number;
441
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
442
+ updated_at: number;
443
+ }>>;
444
+ source_missing: z.ZodBoolean;
445
+ external_delivery: z.ZodLiteral<"unsupported">;
446
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
447
+ default_tenant: z.ZodLiteral<true>;
448
+ }, "strict", z.ZodTypeAny, {
449
+ promise: string;
450
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
451
+ updated_at: number;
452
+ repo_path: string;
453
+ revision: number;
454
+ source_missing: boolean;
455
+ created_at: number;
456
+ source: {
457
+ version: number;
458
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
459
+ updated_at: number;
460
+ } | null;
461
+ actor: string;
462
+ destination_ref: "local_operator";
463
+ default_tenant: true;
464
+ obligation_id: string;
465
+ source_session_id: string;
466
+ resolution_condition: "manual" | "session_completed";
467
+ due_at: number | null;
468
+ external_delivery: "unsupported";
469
+ source_task_id: string;
470
+ source_run_id: string;
471
+ source_creation_version: number;
472
+ source_identity_digest: string;
473
+ draft: {
474
+ source_missing: boolean;
475
+ created_at: number;
476
+ source: {
477
+ version: number;
478
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
479
+ updated_at: number;
480
+ } | null;
481
+ text: string;
482
+ content_digest: string;
483
+ delivery_state: "unsent";
484
+ } | null;
485
+ resolution: {
486
+ reason: string;
487
+ mode: "waive" | "condition";
488
+ source: {
489
+ version: number;
490
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
491
+ updated_at: number;
492
+ } | null;
493
+ actor: string;
494
+ resolved_at: number;
495
+ external_delivery: "unsupported";
496
+ } | null;
497
+ }, {
498
+ promise: string;
499
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
500
+ updated_at: number;
501
+ repo_path: string;
502
+ revision: number;
503
+ source_missing: boolean;
504
+ created_at: number;
505
+ source: {
506
+ version: number;
507
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
508
+ updated_at: number;
509
+ } | null;
510
+ actor: string;
511
+ destination_ref: "local_operator";
512
+ default_tenant: true;
513
+ obligation_id: string;
514
+ source_session_id: string;
515
+ resolution_condition: "manual" | "session_completed";
516
+ due_at: number | null;
517
+ external_delivery: "unsupported";
518
+ source_task_id: string;
519
+ source_run_id: string;
520
+ source_creation_version: number;
521
+ source_identity_digest: string;
522
+ draft: {
523
+ source_missing: boolean;
524
+ created_at: number;
525
+ source: {
526
+ version: number;
527
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
528
+ updated_at: number;
529
+ } | null;
530
+ text: string;
531
+ content_digest: string;
532
+ delivery_state: "unsent";
533
+ } | null;
534
+ resolution: {
535
+ reason: string;
536
+ mode: "waive" | "condition";
537
+ source: {
538
+ version: number;
539
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
540
+ updated_at: number;
541
+ } | null;
542
+ actor: string;
543
+ resolved_at: number;
544
+ external_delivery: "unsupported";
545
+ } | null;
546
+ }>;
547
+ duplicate: z.ZodBoolean;
548
+ }, "strict", z.ZodTypeAny, {
549
+ schema_version: 1;
550
+ duplicate: boolean;
551
+ obligation: {
552
+ promise: string;
553
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
554
+ updated_at: number;
555
+ repo_path: string;
556
+ revision: number;
557
+ source_missing: boolean;
558
+ created_at: number;
559
+ source: {
560
+ version: number;
561
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
562
+ updated_at: number;
563
+ } | null;
564
+ actor: string;
565
+ destination_ref: "local_operator";
566
+ default_tenant: true;
567
+ obligation_id: string;
568
+ source_session_id: string;
569
+ resolution_condition: "manual" | "session_completed";
570
+ due_at: number | null;
571
+ external_delivery: "unsupported";
572
+ source_task_id: string;
573
+ source_run_id: string;
574
+ source_creation_version: number;
575
+ source_identity_digest: string;
576
+ draft: {
577
+ source_missing: boolean;
578
+ created_at: number;
579
+ source: {
580
+ version: number;
581
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
582
+ updated_at: number;
583
+ } | null;
584
+ text: string;
585
+ content_digest: string;
586
+ delivery_state: "unsent";
587
+ } | null;
588
+ resolution: {
589
+ reason: string;
590
+ mode: "waive" | "condition";
591
+ source: {
592
+ version: number;
593
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
594
+ updated_at: number;
595
+ } | null;
596
+ actor: string;
597
+ resolved_at: number;
598
+ external_delivery: "unsupported";
599
+ } | null;
600
+ };
601
+ }, {
602
+ schema_version: 1;
603
+ duplicate: boolean;
604
+ obligation: {
605
+ promise: string;
606
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
607
+ updated_at: number;
608
+ repo_path: string;
609
+ revision: number;
610
+ source_missing: boolean;
611
+ created_at: number;
612
+ source: {
613
+ version: number;
614
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
615
+ updated_at: number;
616
+ } | null;
617
+ actor: string;
618
+ destination_ref: "local_operator";
619
+ default_tenant: true;
620
+ obligation_id: string;
621
+ source_session_id: string;
622
+ resolution_condition: "manual" | "session_completed";
623
+ due_at: number | null;
624
+ external_delivery: "unsupported";
625
+ source_task_id: string;
626
+ source_run_id: string;
627
+ source_creation_version: number;
628
+ source_identity_digest: string;
629
+ draft: {
630
+ source_missing: boolean;
631
+ created_at: number;
632
+ source: {
633
+ version: number;
634
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
635
+ updated_at: number;
636
+ } | null;
637
+ text: string;
638
+ content_digest: string;
639
+ delivery_state: "unsent";
640
+ } | null;
641
+ resolution: {
642
+ reason: string;
643
+ mode: "waive" | "condition";
644
+ source: {
645
+ version: number;
646
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
647
+ updated_at: number;
648
+ } | null;
649
+ actor: string;
650
+ resolved_at: number;
651
+ external_delivery: "unsupported";
652
+ } | null;
653
+ };
654
+ }>;
655
+ export declare const FollowUpListItem: z.ZodObject<Omit<{
656
+ obligation_id: z.ZodString;
657
+ source_session_id: z.ZodEffects<z.ZodString, string, string>;
658
+ source_task_id: z.ZodEffects<z.ZodString, string, string>;
659
+ source_run_id: z.ZodEffects<z.ZodString, string, string>;
660
+ source_creation_version: z.ZodNumber;
661
+ source_identity_digest: z.ZodString;
662
+ actor: z.ZodEffects<z.ZodString, string, string>;
663
+ promise: z.ZodEffects<z.ZodString, string, string>;
664
+ destination_ref: z.ZodLiteral<"local_operator">;
665
+ resolution_condition: z.ZodEnum<["manual", "session_completed"]>;
666
+ due_at: z.ZodNullable<z.ZodNumber>;
667
+ state: z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>;
668
+ revision: z.ZodNumber;
669
+ created_at: z.ZodNumber;
670
+ updated_at: z.ZodNumber;
671
+ draft: z.ZodNullable<z.ZodObject<{
672
+ text: z.ZodEffects<z.ZodString, string, string>;
673
+ content_digest: z.ZodString;
674
+ source: z.ZodNullable<z.ZodObject<{
675
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
676
+ version: z.ZodNumber;
677
+ updated_at: z.ZodNumber;
678
+ }, "strict", z.ZodTypeAny, {
679
+ version: number;
680
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
681
+ updated_at: number;
682
+ }, {
683
+ version: number;
684
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
685
+ updated_at: number;
686
+ }>>;
687
+ source_missing: z.ZodBoolean;
688
+ created_at: z.ZodNumber;
689
+ delivery_state: z.ZodLiteral<"unsent">;
690
+ }, "strict", z.ZodTypeAny, {
691
+ source_missing: boolean;
692
+ created_at: number;
693
+ source: {
694
+ version: number;
695
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
696
+ updated_at: number;
697
+ } | null;
698
+ text: string;
699
+ content_digest: string;
700
+ delivery_state: "unsent";
701
+ }, {
702
+ source_missing: boolean;
703
+ created_at: number;
704
+ source: {
705
+ version: number;
706
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
707
+ updated_at: number;
708
+ } | null;
709
+ text: string;
710
+ content_digest: string;
711
+ delivery_state: "unsent";
712
+ }>>;
713
+ resolution: z.ZodNullable<z.ZodObject<{
714
+ mode: z.ZodEnum<["waive", "condition"]>;
715
+ actor: z.ZodEffects<z.ZodString, string, string>;
716
+ reason: z.ZodEffects<z.ZodString, string, string>;
717
+ source: z.ZodNullable<z.ZodObject<{
718
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
719
+ version: z.ZodNumber;
720
+ updated_at: z.ZodNumber;
721
+ }, "strict", z.ZodTypeAny, {
722
+ version: number;
723
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
724
+ updated_at: number;
725
+ }, {
726
+ version: number;
727
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
728
+ updated_at: number;
729
+ }>>;
730
+ resolved_at: z.ZodNumber;
731
+ external_delivery: z.ZodLiteral<"unsupported">;
732
+ }, "strict", z.ZodTypeAny, {
733
+ reason: string;
734
+ mode: "waive" | "condition";
735
+ source: {
736
+ version: number;
737
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
738
+ updated_at: number;
739
+ } | null;
740
+ actor: string;
741
+ resolved_at: number;
742
+ external_delivery: "unsupported";
743
+ }, {
744
+ reason: string;
745
+ mode: "waive" | "condition";
746
+ source: {
747
+ version: number;
748
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
749
+ updated_at: number;
750
+ } | null;
751
+ actor: string;
752
+ resolved_at: number;
753
+ external_delivery: "unsupported";
754
+ }>>;
755
+ source: z.ZodNullable<z.ZodObject<{
756
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
757
+ version: z.ZodNumber;
758
+ updated_at: z.ZodNumber;
759
+ }, "strict", z.ZodTypeAny, {
760
+ version: number;
761
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
762
+ updated_at: number;
763
+ }, {
764
+ version: number;
765
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
766
+ updated_at: number;
767
+ }>>;
768
+ source_missing: z.ZodBoolean;
769
+ external_delivery: z.ZodLiteral<"unsupported">;
770
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
771
+ default_tenant: z.ZodLiteral<true>;
772
+ }, "promise" | "draft" | "resolution"> & {
773
+ promise_preview: z.ZodString;
774
+ has_draft: z.ZodBoolean;
775
+ }, "strict", z.ZodTypeAny, {
776
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
777
+ updated_at: number;
778
+ repo_path: string;
779
+ revision: number;
780
+ source_missing: boolean;
781
+ created_at: number;
782
+ source: {
783
+ version: number;
784
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
785
+ updated_at: number;
786
+ } | null;
787
+ actor: string;
788
+ destination_ref: "local_operator";
789
+ default_tenant: true;
790
+ obligation_id: string;
791
+ source_session_id: string;
792
+ resolution_condition: "manual" | "session_completed";
793
+ due_at: number | null;
794
+ external_delivery: "unsupported";
795
+ source_task_id: string;
796
+ source_run_id: string;
797
+ source_creation_version: number;
798
+ source_identity_digest: string;
799
+ promise_preview: string;
800
+ has_draft: boolean;
801
+ }, {
802
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
803
+ updated_at: number;
804
+ repo_path: string;
805
+ revision: number;
806
+ source_missing: boolean;
807
+ created_at: number;
808
+ source: {
809
+ version: number;
810
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
811
+ updated_at: number;
812
+ } | null;
813
+ actor: string;
814
+ destination_ref: "local_operator";
815
+ default_tenant: true;
816
+ obligation_id: string;
817
+ source_session_id: string;
818
+ resolution_condition: "manual" | "session_completed";
819
+ due_at: number | null;
820
+ external_delivery: "unsupported";
821
+ source_task_id: string;
822
+ source_run_id: string;
823
+ source_creation_version: number;
824
+ source_identity_digest: string;
825
+ promise_preview: string;
826
+ has_draft: boolean;
827
+ }>;
828
+ export declare const FollowUpListResult: z.ZodObject<{
829
+ schema_version: z.ZodLiteral<1>;
830
+ scope: z.ZodObject<{
831
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
832
+ default_tenant: z.ZodLiteral<true>;
833
+ }, "strict", z.ZodTypeAny, {
834
+ repo_path: string;
835
+ default_tenant: true;
836
+ }, {
837
+ repo_path: string;
838
+ default_tenant: true;
839
+ }>;
840
+ sampled_at_ms: z.ZodNumber;
841
+ obligations: z.ZodArray<z.ZodObject<Omit<{
842
+ obligation_id: z.ZodString;
843
+ source_session_id: z.ZodEffects<z.ZodString, string, string>;
844
+ source_task_id: z.ZodEffects<z.ZodString, string, string>;
845
+ source_run_id: z.ZodEffects<z.ZodString, string, string>;
846
+ source_creation_version: z.ZodNumber;
847
+ source_identity_digest: z.ZodString;
848
+ actor: z.ZodEffects<z.ZodString, string, string>;
849
+ promise: z.ZodEffects<z.ZodString, string, string>;
850
+ destination_ref: z.ZodLiteral<"local_operator">;
851
+ resolution_condition: z.ZodEnum<["manual", "session_completed"]>;
852
+ due_at: z.ZodNullable<z.ZodNumber>;
853
+ state: z.ZodEnum<["open", "drafted", "fulfilled_local", "waived"]>;
854
+ revision: z.ZodNumber;
855
+ created_at: z.ZodNumber;
856
+ updated_at: z.ZodNumber;
857
+ draft: z.ZodNullable<z.ZodObject<{
858
+ text: z.ZodEffects<z.ZodString, string, string>;
859
+ content_digest: z.ZodString;
860
+ source: z.ZodNullable<z.ZodObject<{
861
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
862
+ version: z.ZodNumber;
863
+ updated_at: z.ZodNumber;
864
+ }, "strict", z.ZodTypeAny, {
865
+ version: number;
866
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
867
+ updated_at: number;
868
+ }, {
869
+ version: number;
870
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
871
+ updated_at: number;
872
+ }>>;
873
+ source_missing: z.ZodBoolean;
874
+ created_at: z.ZodNumber;
875
+ delivery_state: z.ZodLiteral<"unsent">;
876
+ }, "strict", z.ZodTypeAny, {
877
+ source_missing: boolean;
878
+ created_at: number;
879
+ source: {
880
+ version: number;
881
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
882
+ updated_at: number;
883
+ } | null;
884
+ text: string;
885
+ content_digest: string;
886
+ delivery_state: "unsent";
887
+ }, {
888
+ source_missing: boolean;
889
+ created_at: number;
890
+ source: {
891
+ version: number;
892
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
893
+ updated_at: number;
894
+ } | null;
895
+ text: string;
896
+ content_digest: string;
897
+ delivery_state: "unsent";
898
+ }>>;
899
+ resolution: z.ZodNullable<z.ZodObject<{
900
+ mode: z.ZodEnum<["waive", "condition"]>;
901
+ actor: z.ZodEffects<z.ZodString, string, string>;
902
+ reason: z.ZodEffects<z.ZodString, string, string>;
903
+ source: z.ZodNullable<z.ZodObject<{
904
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
905
+ version: z.ZodNumber;
906
+ updated_at: z.ZodNumber;
907
+ }, "strict", z.ZodTypeAny, {
908
+ version: number;
909
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
910
+ updated_at: number;
911
+ }, {
912
+ version: number;
913
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
914
+ updated_at: number;
915
+ }>>;
916
+ resolved_at: z.ZodNumber;
917
+ external_delivery: z.ZodLiteral<"unsupported">;
918
+ }, "strict", z.ZodTypeAny, {
919
+ reason: string;
920
+ mode: "waive" | "condition";
921
+ source: {
922
+ version: number;
923
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
924
+ updated_at: number;
925
+ } | null;
926
+ actor: string;
927
+ resolved_at: number;
928
+ external_delivery: "unsupported";
929
+ }, {
930
+ reason: string;
931
+ mode: "waive" | "condition";
932
+ source: {
933
+ version: number;
934
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
935
+ updated_at: number;
936
+ } | null;
937
+ actor: string;
938
+ resolved_at: number;
939
+ external_delivery: "unsupported";
940
+ }>>;
941
+ source: z.ZodNullable<z.ZodObject<{
942
+ state: z.ZodEnum<["starting", "running", "awaiting_decision", "idle", "completed", "failed", "cancelled"]>;
943
+ version: z.ZodNumber;
944
+ updated_at: z.ZodNumber;
945
+ }, "strict", z.ZodTypeAny, {
946
+ version: number;
947
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
948
+ updated_at: number;
949
+ }, {
950
+ version: number;
951
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
952
+ updated_at: number;
953
+ }>>;
954
+ source_missing: z.ZodBoolean;
955
+ external_delivery: z.ZodLiteral<"unsupported">;
956
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
957
+ default_tenant: z.ZodLiteral<true>;
958
+ }, "promise" | "draft" | "resolution"> & {
959
+ promise_preview: z.ZodString;
960
+ has_draft: z.ZodBoolean;
961
+ }, "strict", z.ZodTypeAny, {
962
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
963
+ updated_at: number;
964
+ repo_path: string;
965
+ revision: number;
966
+ source_missing: boolean;
967
+ created_at: number;
968
+ source: {
969
+ version: number;
970
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
971
+ updated_at: number;
972
+ } | null;
973
+ actor: string;
974
+ destination_ref: "local_operator";
975
+ default_tenant: true;
976
+ obligation_id: string;
977
+ source_session_id: string;
978
+ resolution_condition: "manual" | "session_completed";
979
+ due_at: number | null;
980
+ external_delivery: "unsupported";
981
+ source_task_id: string;
982
+ source_run_id: string;
983
+ source_creation_version: number;
984
+ source_identity_digest: string;
985
+ promise_preview: string;
986
+ has_draft: boolean;
987
+ }, {
988
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
989
+ updated_at: number;
990
+ repo_path: string;
991
+ revision: number;
992
+ source_missing: boolean;
993
+ created_at: number;
994
+ source: {
995
+ version: number;
996
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
997
+ updated_at: number;
998
+ } | null;
999
+ actor: string;
1000
+ destination_ref: "local_operator";
1001
+ default_tenant: true;
1002
+ obligation_id: string;
1003
+ source_session_id: string;
1004
+ resolution_condition: "manual" | "session_completed";
1005
+ due_at: number | null;
1006
+ external_delivery: "unsupported";
1007
+ source_task_id: string;
1008
+ source_run_id: string;
1009
+ source_creation_version: number;
1010
+ source_identity_digest: string;
1011
+ promise_preview: string;
1012
+ has_draft: boolean;
1013
+ }>, "many">;
1014
+ next_cursor: z.ZodNullable<z.ZodString>;
1015
+ overdue_count: z.ZodNumber;
1016
+ external_delivery: z.ZodLiteral<"unsupported">;
1017
+ }, "strict", z.ZodTypeAny, {
1018
+ schema_version: 1;
1019
+ scope: {
1020
+ repo_path: string;
1021
+ default_tenant: true;
1022
+ };
1023
+ sampled_at_ms: number;
1024
+ next_cursor: string | null;
1025
+ external_delivery: "unsupported";
1026
+ obligations: {
1027
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
1028
+ updated_at: number;
1029
+ repo_path: string;
1030
+ revision: number;
1031
+ source_missing: boolean;
1032
+ created_at: number;
1033
+ source: {
1034
+ version: number;
1035
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
1036
+ updated_at: number;
1037
+ } | null;
1038
+ actor: string;
1039
+ destination_ref: "local_operator";
1040
+ default_tenant: true;
1041
+ obligation_id: string;
1042
+ source_session_id: string;
1043
+ resolution_condition: "manual" | "session_completed";
1044
+ due_at: number | null;
1045
+ external_delivery: "unsupported";
1046
+ source_task_id: string;
1047
+ source_run_id: string;
1048
+ source_creation_version: number;
1049
+ source_identity_digest: string;
1050
+ promise_preview: string;
1051
+ has_draft: boolean;
1052
+ }[];
1053
+ overdue_count: number;
1054
+ }, {
1055
+ schema_version: 1;
1056
+ scope: {
1057
+ repo_path: string;
1058
+ default_tenant: true;
1059
+ };
1060
+ sampled_at_ms: number;
1061
+ next_cursor: string | null;
1062
+ external_delivery: "unsupported";
1063
+ obligations: {
1064
+ state: "open" | "drafted" | "fulfilled_local" | "waived";
1065
+ updated_at: number;
1066
+ repo_path: string;
1067
+ revision: number;
1068
+ source_missing: boolean;
1069
+ created_at: number;
1070
+ source: {
1071
+ version: number;
1072
+ state: "cancelled" | "completed" | "starting" | "running" | "awaiting_decision" | "idle" | "failed";
1073
+ updated_at: number;
1074
+ } | null;
1075
+ actor: string;
1076
+ destination_ref: "local_operator";
1077
+ default_tenant: true;
1078
+ obligation_id: string;
1079
+ source_session_id: string;
1080
+ resolution_condition: "manual" | "session_completed";
1081
+ due_at: number | null;
1082
+ external_delivery: "unsupported";
1083
+ source_task_id: string;
1084
+ source_run_id: string;
1085
+ source_creation_version: number;
1086
+ source_identity_digest: string;
1087
+ promise_preview: string;
1088
+ has_draft: boolean;
1089
+ }[];
1090
+ overdue_count: number;
1091
+ }>;
1092
+ export type FollowUpCreateParams = z.infer<typeof FollowUpCreateParams>;
1093
+ export type FollowUpListParams = z.infer<typeof FollowUpListParams>;
1094
+ export type FollowUpDraftParams = z.infer<typeof FollowUpDraftParams>;
1095
+ export type FollowUpResolveParams = z.infer<typeof FollowUpResolveParams>;
1096
+ export type FollowUpObligation = z.infer<typeof FollowUpObligation>;
1097
+ export type FollowUpMutationResult = z.infer<typeof FollowUpMutationResult>;
1098
+ export type FollowUpListResult = z.infer<typeof FollowUpListResult>;
1099
+ export type FollowUpSourceSnapshot = z.infer<typeof FollowUpSourceSnapshot>;
1100
+ //# sourceMappingURL=follow-up.d.ts.map