@spotpatch/shared 1.14.3 → 1.15.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 (36) hide show
  1. package/dist/{chunk-CLQ6MIJB.js → chunk-R3BQKCCY.js} +4 -3
  2. package/dist/chunk-R3BQKCCY.js.map +1 -0
  3. package/dist/{chunk-EWJTKNL4.js → chunk-RWFGFW4N.js} +3 -2
  4. package/dist/chunk-RWFGFW4N.js.map +1 -0
  5. package/dist/{contextual-ask-BpbkpFFf.d.cts → contextual-ask-BbmHG3Z8.d.cts} +12 -1
  6. package/dist/{contextual-ask-BpbkpFFf.d.ts → contextual-ask-BbmHG3Z8.d.ts} +12 -1
  7. package/dist/contextual-ask-browser.cjs +2 -1
  8. package/dist/contextual-ask-browser.cjs.map +1 -1
  9. package/dist/contextual-ask-browser.d.cts +1 -1
  10. package/dist/contextual-ask-browser.d.ts +1 -1
  11. package/dist/contextual-ask-browser.js +1 -1
  12. package/dist/contextual-ask-node.cjs +4 -2
  13. package/dist/contextual-ask-node.cjs.map +1 -1
  14. package/dist/contextual-ask-node.d.cts +2 -2
  15. package/dist/contextual-ask-node.d.ts +2 -2
  16. package/dist/contextual-ask-node.js +2 -2
  17. package/dist/data-flow-runtime.d.cts +1 -1
  18. package/dist/data-flow-runtime.d.ts +1 -1
  19. package/dist/external-agent-node.d.cts +35 -35
  20. package/dist/external-agent-node.d.ts +35 -35
  21. package/dist/external-handoff-browser.d.cts +2 -2
  22. package/dist/external-handoff-browser.d.ts +2 -2
  23. package/dist/index.cjs +4 -2
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +29 -29
  26. package/dist/index.d.ts +29 -29
  27. package/dist/index.js +2 -2
  28. package/package.json +1 -1
  29. package/dist/chunk-CLQ6MIJB.js.map +0 -1
  30. package/dist/chunk-EWJTKNL4.js.map +0 -1
  31. package/dist/{data-flow-runtime-w43iwvGA.d.cts → data-flow-runtime-Bfm5LbHE.d.cts} +8 -8
  32. package/dist/{data-flow-runtime-DhWpQoik.d.ts → data-flow-runtime-tyqGH1OS.d.ts} +8 -8
  33. package/dist/{external-agent-control-DKxQACUv.d.ts → external-agent-control-yC4ToQXg.d.cts} +28 -28
  34. package/dist/{external-agent-control-DKxQACUv.d.cts → external-agent-control-yC4ToQXg.d.ts} +28 -28
  35. package/dist/{external-handoff-5zHu-fz2.d.ts → external-handoff-BpoxbpPk.d.ts} +37 -37
  36. package/dist/{external-handoff-DeiIvR-2.d.cts → external-handoff-D1Ua2jIA.d.cts} +37 -37
@@ -44,19 +44,19 @@ type ExternalHandoffDispatchPhase = (typeof EXTERNAL_HANDOFF_DISPATCH_PHASES)[nu
44
44
  type ExternalHandoffReportableDispatchPhase = (typeof EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES)[number];
45
45
 
46
46
  declare const externalHandoffReportableDispatchPhaseSchema: z.ZodEnum<{
47
- failed: "failed";
48
- dispatched: "dispatched";
49
- completed: "completed";
50
47
  dispatching: "dispatching";
48
+ dispatched: "dispatched";
51
49
  working: "working";
50
+ completed: "completed";
51
+ failed: "failed";
52
52
  "delivery-unknown": "delivery-unknown";
53
53
  }>;
54
54
  declare const externalHandoffSummarySchema: z.ZodObject<{
55
55
  sessionId: z.ZodString;
56
56
  framework: z.ZodEnum<{
57
- astro: "astro";
58
57
  vite: "vite";
59
58
  next: "next";
59
+ astro: "astro";
60
60
  }>;
61
61
  revision: z.ZodNumber;
62
62
  cursor: z.ZodString;
@@ -68,8 +68,8 @@ declare const externalHandoffSummarySchema: z.ZodObject<{
68
68
  publishedAt: z.ZodISODateTime;
69
69
  expiresAt: z.ZodISODateTime;
70
70
  state: z.ZodEnum<{
71
- expired: "expired";
72
71
  available: "available";
72
+ expired: "expired";
73
73
  superseded: "superseded";
74
74
  }>;
75
75
  pickupCount: z.ZodNumber;
@@ -81,9 +81,9 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
81
81
  session: z.ZodObject<{
82
82
  id: z.ZodString;
83
83
  framework: z.ZodEnum<{
84
- astro: "astro";
85
84
  vite: "vite";
86
85
  next: "next";
86
+ astro: "astro";
87
87
  }>;
88
88
  }, z.core.$strict>;
89
89
  revision: z.ZodNumber;
@@ -188,9 +188,9 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
188
188
  code: z.ZodOptional<z.ZodObject<{
189
189
  relativePath: z.ZodString;
190
190
  language: z.ZodEnum<{
191
+ astro: "astro";
191
192
  tsx: "tsx";
192
193
  jsx: "jsx";
193
- astro: "astro";
194
194
  }>;
195
195
  startLine: z.ZodNumber;
196
196
  endLine: z.ZodNumber;
@@ -212,8 +212,8 @@ declare const activeAdapterSummarySchema: z.ZodObject<{
212
212
  }>;
213
213
  state: z.ZodEnum<{
214
214
  ready: "ready";
215
- blocked: "blocked";
216
215
  busy: "busy";
216
+ blocked: "blocked";
217
217
  }>;
218
218
  canDispatch: z.ZodBoolean;
219
219
  connectedAt: z.ZodISODateTime;
@@ -226,13 +226,13 @@ declare const dispatchSummarySchema: z.ZodObject<{
226
226
  }>;
227
227
  revision: z.ZodNumber;
228
228
  phase: z.ZodEnum<{
229
- queued: "queued";
230
- failed: "failed";
231
- dispatched: "dispatched";
232
- completed: "completed";
233
229
  dispatching: "dispatching";
230
+ dispatched: "dispatched";
234
231
  working: "working";
232
+ completed: "completed";
233
+ failed: "failed";
235
234
  "delivery-unknown": "delivery-unknown";
235
+ queued: "queued";
236
236
  }>;
237
237
  updatedAt: z.ZodISODateTime;
238
238
  }, z.core.$strict>;
@@ -338,9 +338,9 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
338
338
  code: z.ZodOptional<z.ZodObject<{
339
339
  relativePath: z.ZodString;
340
340
  language: z.ZodEnum<{
341
+ astro: "astro";
341
342
  tsx: "tsx";
342
343
  jsx: "jsx";
343
- astro: "astro";
344
344
  }>;
345
345
  startLine: z.ZodNumber;
346
346
  endLine: z.ZodNumber;
@@ -375,8 +375,8 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
375
375
  }>;
376
376
  state: z.ZodEnum<{
377
377
  ready: "ready";
378
- blocked: "blocked";
379
378
  busy: "busy";
379
+ blocked: "blocked";
380
380
  }>;
381
381
  canDispatch: z.ZodBoolean;
382
382
  connectedAt: z.ZodISODateTime;
@@ -389,13 +389,13 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
389
389
  }>;
390
390
  revision: z.ZodNumber;
391
391
  phase: z.ZodEnum<{
392
- queued: "queued";
393
- failed: "failed";
394
- dispatched: "dispatched";
395
- completed: "completed";
396
392
  dispatching: "dispatching";
393
+ dispatched: "dispatched";
397
394
  working: "working";
395
+ completed: "completed";
396
+ failed: "failed";
398
397
  "delivery-unknown": "delivery-unknown";
398
+ queued: "queued";
399
399
  }>;
400
400
  updatedAt: z.ZodISODateTime;
401
401
  }, z.core.$strict>>;
@@ -411,8 +411,8 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
411
411
  }>;
412
412
  state: z.ZodEnum<{
413
413
  ready: "ready";
414
- blocked: "blocked";
415
414
  busy: "busy";
415
+ blocked: "blocked";
416
416
  }>;
417
417
  canDispatch: z.ZodBoolean;
418
418
  connectedAt: z.ZodISODateTime;
@@ -425,13 +425,13 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
425
425
  }>;
426
426
  revision: z.ZodNumber;
427
427
  phase: z.ZodEnum<{
428
- queued: "queued";
429
- failed: "failed";
430
- dispatched: "dispatched";
431
- completed: "completed";
432
428
  dispatching: "dispatching";
429
+ dispatched: "dispatched";
433
430
  working: "working";
431
+ completed: "completed";
432
+ failed: "failed";
434
433
  "delivery-unknown": "delivery-unknown";
434
+ queued: "queued";
435
435
  }>;
436
436
  updatedAt: z.ZodISODateTime;
437
437
  }, z.core.$strict>;
@@ -440,9 +440,9 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
440
440
  handoff: z.ZodObject<{
441
441
  sessionId: z.ZodString;
442
442
  framework: z.ZodEnum<{
443
- astro: "astro";
444
443
  vite: "vite";
445
444
  next: "next";
445
+ astro: "astro";
446
446
  }>;
447
447
  revision: z.ZodNumber;
448
448
  cursor: z.ZodString;
@@ -454,8 +454,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
454
454
  publishedAt: z.ZodISODateTime;
455
455
  expiresAt: z.ZodISODateTime;
456
456
  state: z.ZodEnum<{
457
- expired: "expired";
458
457
  available: "available";
458
+ expired: "expired";
459
459
  superseded: "superseded";
460
460
  }>;
461
461
  pickupCount: z.ZodNumber;
@@ -472,8 +472,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
472
472
  }>;
473
473
  state: z.ZodEnum<{
474
474
  ready: "ready";
475
- blocked: "blocked";
476
475
  busy: "busy";
476
+ blocked: "blocked";
477
477
  }>;
478
478
  canDispatch: z.ZodBoolean;
479
479
  connectedAt: z.ZodISODateTime;
@@ -486,13 +486,13 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
486
486
  }>;
487
487
  revision: z.ZodNumber;
488
488
  phase: z.ZodEnum<{
489
- queued: "queued";
490
- failed: "failed";
491
- dispatched: "dispatched";
492
- completed: "completed";
493
489
  dispatching: "dispatching";
490
+ dispatched: "dispatched";
494
491
  working: "working";
492
+ completed: "completed";
493
+ failed: "failed";
495
494
  "delivery-unknown": "delivery-unknown";
495
+ queued: "queued";
496
496
  }>;
497
497
  updatedAt: z.ZodISODateTime;
498
498
  }, z.core.$strict>;
@@ -503,9 +503,9 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
503
503
  handoff: z.ZodObject<{
504
504
  sessionId: z.ZodString;
505
505
  framework: z.ZodEnum<{
506
- astro: "astro";
507
506
  vite: "vite";
508
507
  next: "next";
508
+ astro: "astro";
509
509
  }>;
510
510
  revision: z.ZodNumber;
511
511
  cursor: z.ZodString;
@@ -517,8 +517,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
517
517
  publishedAt: z.ZodISODateTime;
518
518
  expiresAt: z.ZodISODateTime;
519
519
  state: z.ZodEnum<{
520
- expired: "expired";
521
520
  available: "available";
521
+ expired: "expired";
522
522
  superseded: "superseded";
523
523
  }>;
524
524
  pickupCount: z.ZodNumber;
@@ -531,8 +531,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
531
531
  }>;
532
532
  state: z.ZodEnum<{
533
533
  ready: "ready";
534
- blocked: "blocked";
535
534
  busy: "busy";
535
+ blocked: "blocked";
536
536
  }>;
537
537
  canDispatch: z.ZodBoolean;
538
538
  connectedAt: z.ZodISODateTime;
@@ -545,13 +545,13 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
545
545
  }>;
546
546
  revision: z.ZodNumber;
547
547
  phase: z.ZodEnum<{
548
- queued: "queued";
549
- failed: "failed";
550
- dispatched: "dispatched";
551
- completed: "completed";
552
548
  dispatching: "dispatching";
549
+ dispatched: "dispatched";
553
550
  working: "working";
551
+ completed: "completed";
552
+ failed: "failed";
554
553
  "delivery-unknown": "delivery-unknown";
554
+ queued: "queued";
555
555
  }>;
556
556
  updatedAt: z.ZodISODateTime;
557
557
  }, z.core.$strict>>;