@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
@@ -1,6 +1,6 @@
1
1
  import { Stats } from 'node:fs';
2
2
  import { z } from 'zod';
3
- import { E as EXTERNAL_HANDOFF_LIMITS, A as ActiveAdapterSummary, D as DispatchSummary, a as ExternalHandoffSnapshot } from './external-handoff-DeiIvR-2.cjs';
3
+ import { E as EXTERNAL_HANDOFF_LIMITS, A as ActiveAdapterSummary, D as DispatchSummary, a as ExternalHandoffSnapshot } from './external-handoff-D1Ua2jIA.cjs';
4
4
  import './annotation-Cz-NNgR4.cjs';
5
5
 
6
6
  declare const SPOTPATCH_BRIDGE_TOKEN_HEADER: "X-SpotPatch-Bridge-Token";
@@ -21,9 +21,9 @@ declare const externalHandoffDescriptorSchema: z.ZodObject<{
21
21
  projectKey: z.ZodString;
22
22
  sessionId: z.ZodString;
23
23
  framework: z.ZodEnum<{
24
- astro: "astro";
25
24
  vite: "vite";
26
25
  next: "next";
26
+ astro: "astro";
27
27
  }>;
28
28
  endpoint: z.ZodURL;
29
29
  bridgeToken: z.ZodString;
@@ -56,11 +56,11 @@ declare const bridgeActiveReportRequestSchema: z.ZodObject<{
56
56
  leaseToken: z.ZodString;
57
57
  cursor: z.ZodString;
58
58
  phase: z.ZodEnum<{
59
- failed: "failed";
60
- dispatched: "dispatched";
61
- completed: "completed";
62
59
  dispatching: "dispatching";
60
+ dispatched: "dispatched";
63
61
  working: "working";
62
+ completed: "completed";
63
+ failed: "failed";
64
64
  "delivery-unknown": "delivery-unknown";
65
65
  }>;
66
66
  }, z.core.$strict>;
@@ -72,16 +72,16 @@ declare const bridgeStatusSchema: z.ZodObject<{
72
72
  projectKey: z.ZodString;
73
73
  sessionId: z.ZodString;
74
74
  framework: z.ZodEnum<{
75
- astro: "astro";
76
75
  vite: "vite";
77
76
  next: "next";
77
+ astro: "astro";
78
78
  }>;
79
79
  current: z.ZodNullable<z.ZodObject<{
80
80
  sessionId: z.ZodString;
81
81
  framework: z.ZodEnum<{
82
- astro: "astro";
83
82
  vite: "vite";
84
83
  next: "next";
84
+ astro: "astro";
85
85
  }>;
86
86
  revision: z.ZodNumber;
87
87
  cursor: z.ZodString;
@@ -93,8 +93,8 @@ declare const bridgeStatusSchema: z.ZodObject<{
93
93
  publishedAt: z.ZodISODateTime;
94
94
  expiresAt: z.ZodISODateTime;
95
95
  state: z.ZodEnum<{
96
- expired: "expired";
97
96
  available: "available";
97
+ expired: "expired";
98
98
  superseded: "superseded";
99
99
  }>;
100
100
  pickupCount: z.ZodNumber;
@@ -109,9 +109,9 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
109
109
  session: z.ZodObject<{
110
110
  id: z.ZodString;
111
111
  framework: z.ZodEnum<{
112
- astro: "astro";
113
112
  vite: "vite";
114
113
  next: "next";
114
+ astro: "astro";
115
115
  }>;
116
116
  }, z.core.$strict>;
117
117
  revision: z.ZodNumber;
@@ -216,9 +216,9 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
216
216
  code: z.ZodOptional<z.ZodObject<{
217
217
  relativePath: z.ZodString;
218
218
  language: z.ZodEnum<{
219
+ astro: "astro";
219
220
  tsx: "tsx";
220
221
  jsx: "jsx";
221
- astro: "astro";
222
222
  }>;
223
223
  startLine: z.ZodNumber;
224
224
  endLine: z.ZodNumber;
@@ -242,9 +242,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
242
242
  session: z.ZodObject<{
243
243
  id: z.ZodString;
244
244
  framework: z.ZodEnum<{
245
- astro: "astro";
246
245
  vite: "vite";
247
246
  next: "next";
247
+ astro: "astro";
248
248
  }>;
249
249
  }, z.core.$strict>;
250
250
  revision: z.ZodNumber;
@@ -349,9 +349,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
349
349
  code: z.ZodOptional<z.ZodObject<{
350
350
  relativePath: z.ZodString;
351
351
  language: z.ZodEnum<{
352
+ astro: "astro";
352
353
  tsx: "tsx";
353
354
  jsx: "jsx";
354
- astro: "astro";
355
355
  }>;
356
356
  startLine: z.ZodNumber;
357
357
  endLine: z.ZodNumber;
@@ -373,9 +373,9 @@ declare const bridgeAckResultSchema: z.ZodObject<{
373
373
  summary: z.ZodObject<{
374
374
  sessionId: z.ZodString;
375
375
  framework: z.ZodEnum<{
376
- astro: "astro";
377
376
  vite: "vite";
378
377
  next: "next";
378
+ astro: "astro";
379
379
  }>;
380
380
  revision: z.ZodNumber;
381
381
  cursor: z.ZodString;
@@ -387,8 +387,8 @@ declare const bridgeAckResultSchema: z.ZodObject<{
387
387
  publishedAt: z.ZodISODateTime;
388
388
  expiresAt: z.ZodISODateTime;
389
389
  state: z.ZodEnum<{
390
- expired: "expired";
391
390
  available: "available";
391
+ expired: "expired";
392
392
  superseded: "superseded";
393
393
  }>;
394
394
  pickupCount: z.ZodNumber;
@@ -406,8 +406,8 @@ declare const bridgeActiveClaimResultSchema: z.ZodObject<{
406
406
  }>;
407
407
  state: z.ZodEnum<{
408
408
  ready: "ready";
409
- blocked: "blocked";
410
409
  busy: "busy";
410
+ blocked: "blocked";
411
411
  }>;
412
412
  canDispatch: z.ZodBoolean;
413
413
  connectedAt: z.ZodISODateTime;
@@ -422,8 +422,8 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
422
422
  }>;
423
423
  state: z.ZodEnum<{
424
424
  ready: "ready";
425
- blocked: "blocked";
426
425
  busy: "busy";
426
+ blocked: "blocked";
427
427
  }>;
428
428
  canDispatch: z.ZodBoolean;
429
429
  connectedAt: z.ZodISODateTime;
@@ -436,13 +436,13 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
436
436
  }>;
437
437
  revision: z.ZodNumber;
438
438
  phase: z.ZodEnum<{
439
- queued: "queued";
440
- failed: "failed";
441
- dispatched: "dispatched";
442
- completed: "completed";
443
439
  dispatching: "dispatching";
440
+ dispatched: "dispatched";
444
441
  working: "working";
442
+ completed: "completed";
443
+ failed: "failed";
445
444
  "delivery-unknown": "delivery-unknown";
445
+ queued: "queued";
446
446
  }>;
447
447
  updatedAt: z.ZodISODateTime;
448
448
  }, z.core.$strict>>;
@@ -455,8 +455,8 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
455
455
  }>;
456
456
  state: z.ZodEnum<{
457
457
  ready: "ready";
458
- blocked: "blocked";
459
458
  busy: "busy";
459
+ blocked: "blocked";
460
460
  }>;
461
461
  canDispatch: z.ZodBoolean;
462
462
  connectedAt: z.ZodISODateTime;
@@ -469,13 +469,13 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
469
469
  }>;
470
470
  revision: z.ZodNumber;
471
471
  phase: z.ZodEnum<{
472
- queued: "queued";
473
- failed: "failed";
474
- dispatched: "dispatched";
475
- completed: "completed";
476
472
  dispatching: "dispatching";
473
+ dispatched: "dispatched";
477
474
  working: "working";
475
+ completed: "completed";
476
+ failed: "failed";
478
477
  "delivery-unknown": "delivery-unknown";
478
+ queued: "queued";
479
479
  }>;
480
480
  updatedAt: z.ZodISODateTime;
481
481
  }, z.core.$strict>>;
@@ -488,8 +488,8 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
488
488
  }>;
489
489
  state: z.ZodEnum<{
490
490
  ready: "ready";
491
- blocked: "blocked";
492
491
  busy: "busy";
492
+ blocked: "blocked";
493
493
  }>;
494
494
  canDispatch: z.ZodBoolean;
495
495
  connectedAt: z.ZodISODateTime;
@@ -502,13 +502,13 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
502
502
  }>;
503
503
  revision: z.ZodNumber;
504
504
  phase: z.ZodEnum<{
505
- queued: "queued";
506
- failed: "failed";
507
- dispatched: "dispatched";
508
- completed: "completed";
509
505
  dispatching: "dispatching";
506
+ dispatched: "dispatched";
510
507
  working: "working";
508
+ completed: "completed";
509
+ failed: "failed";
511
510
  "delivery-unknown": "delivery-unknown";
511
+ queued: "queued";
512
512
  }>;
513
513
  updatedAt: z.ZodISODateTime;
514
514
  }, z.core.$strict>>;
@@ -521,8 +521,8 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
521
521
  }>;
522
522
  state: z.ZodEnum<{
523
523
  ready: "ready";
524
- blocked: "blocked";
525
524
  busy: "busy";
525
+ blocked: "blocked";
526
526
  }>;
527
527
  canDispatch: z.ZodBoolean;
528
528
  connectedAt: z.ZodISODateTime;
@@ -535,13 +535,13 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
535
535
  }>;
536
536
  revision: z.ZodNumber;
537
537
  phase: z.ZodEnum<{
538
- queued: "queued";
539
- failed: "failed";
540
- dispatched: "dispatched";
541
- completed: "completed";
542
538
  dispatching: "dispatching";
539
+ dispatched: "dispatched";
543
540
  working: "working";
541
+ completed: "completed";
542
+ failed: "failed";
544
543
  "delivery-unknown": "delivery-unknown";
544
+ queued: "queued";
545
545
  }>;
546
546
  updatedAt: z.ZodISODateTime;
547
547
  }, z.core.$strict>>;
@@ -1,6 +1,6 @@
1
1
  import { Stats } from 'node:fs';
2
2
  import { z } from 'zod';
3
- import { E as EXTERNAL_HANDOFF_LIMITS, A as ActiveAdapterSummary, D as DispatchSummary, a as ExternalHandoffSnapshot } from './external-handoff-5zHu-fz2.js';
3
+ import { E as EXTERNAL_HANDOFF_LIMITS, A as ActiveAdapterSummary, D as DispatchSummary, a as ExternalHandoffSnapshot } from './external-handoff-BpoxbpPk.js';
4
4
  import './annotation-Cz-NNgR4.js';
5
5
 
6
6
  declare const SPOTPATCH_BRIDGE_TOKEN_HEADER: "X-SpotPatch-Bridge-Token";
@@ -21,9 +21,9 @@ declare const externalHandoffDescriptorSchema: z.ZodObject<{
21
21
  projectKey: z.ZodString;
22
22
  sessionId: z.ZodString;
23
23
  framework: z.ZodEnum<{
24
- astro: "astro";
25
24
  vite: "vite";
26
25
  next: "next";
26
+ astro: "astro";
27
27
  }>;
28
28
  endpoint: z.ZodURL;
29
29
  bridgeToken: z.ZodString;
@@ -56,11 +56,11 @@ declare const bridgeActiveReportRequestSchema: z.ZodObject<{
56
56
  leaseToken: z.ZodString;
57
57
  cursor: z.ZodString;
58
58
  phase: z.ZodEnum<{
59
- failed: "failed";
60
- dispatched: "dispatched";
61
- completed: "completed";
62
59
  dispatching: "dispatching";
60
+ dispatched: "dispatched";
63
61
  working: "working";
62
+ completed: "completed";
63
+ failed: "failed";
64
64
  "delivery-unknown": "delivery-unknown";
65
65
  }>;
66
66
  }, z.core.$strict>;
@@ -72,16 +72,16 @@ declare const bridgeStatusSchema: z.ZodObject<{
72
72
  projectKey: z.ZodString;
73
73
  sessionId: z.ZodString;
74
74
  framework: z.ZodEnum<{
75
- astro: "astro";
76
75
  vite: "vite";
77
76
  next: "next";
77
+ astro: "astro";
78
78
  }>;
79
79
  current: z.ZodNullable<z.ZodObject<{
80
80
  sessionId: z.ZodString;
81
81
  framework: z.ZodEnum<{
82
- astro: "astro";
83
82
  vite: "vite";
84
83
  next: "next";
84
+ astro: "astro";
85
85
  }>;
86
86
  revision: z.ZodNumber;
87
87
  cursor: z.ZodString;
@@ -93,8 +93,8 @@ declare const bridgeStatusSchema: z.ZodObject<{
93
93
  publishedAt: z.ZodISODateTime;
94
94
  expiresAt: z.ZodISODateTime;
95
95
  state: z.ZodEnum<{
96
- expired: "expired";
97
96
  available: "available";
97
+ expired: "expired";
98
98
  superseded: "superseded";
99
99
  }>;
100
100
  pickupCount: z.ZodNumber;
@@ -109,9 +109,9 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
109
109
  session: z.ZodObject<{
110
110
  id: z.ZodString;
111
111
  framework: z.ZodEnum<{
112
- astro: "astro";
113
112
  vite: "vite";
114
113
  next: "next";
114
+ astro: "astro";
115
115
  }>;
116
116
  }, z.core.$strict>;
117
117
  revision: z.ZodNumber;
@@ -216,9 +216,9 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
216
216
  code: z.ZodOptional<z.ZodObject<{
217
217
  relativePath: z.ZodString;
218
218
  language: z.ZodEnum<{
219
+ astro: "astro";
219
220
  tsx: "tsx";
220
221
  jsx: "jsx";
221
- astro: "astro";
222
222
  }>;
223
223
  startLine: z.ZodNumber;
224
224
  endLine: z.ZodNumber;
@@ -242,9 +242,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
242
242
  session: z.ZodObject<{
243
243
  id: z.ZodString;
244
244
  framework: z.ZodEnum<{
245
- astro: "astro";
246
245
  vite: "vite";
247
246
  next: "next";
247
+ astro: "astro";
248
248
  }>;
249
249
  }, z.core.$strict>;
250
250
  revision: z.ZodNumber;
@@ -349,9 +349,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
349
349
  code: z.ZodOptional<z.ZodObject<{
350
350
  relativePath: z.ZodString;
351
351
  language: z.ZodEnum<{
352
+ astro: "astro";
352
353
  tsx: "tsx";
353
354
  jsx: "jsx";
354
- astro: "astro";
355
355
  }>;
356
356
  startLine: z.ZodNumber;
357
357
  endLine: z.ZodNumber;
@@ -373,9 +373,9 @@ declare const bridgeAckResultSchema: z.ZodObject<{
373
373
  summary: z.ZodObject<{
374
374
  sessionId: z.ZodString;
375
375
  framework: z.ZodEnum<{
376
- astro: "astro";
377
376
  vite: "vite";
378
377
  next: "next";
378
+ astro: "astro";
379
379
  }>;
380
380
  revision: z.ZodNumber;
381
381
  cursor: z.ZodString;
@@ -387,8 +387,8 @@ declare const bridgeAckResultSchema: z.ZodObject<{
387
387
  publishedAt: z.ZodISODateTime;
388
388
  expiresAt: z.ZodISODateTime;
389
389
  state: z.ZodEnum<{
390
- expired: "expired";
391
390
  available: "available";
391
+ expired: "expired";
392
392
  superseded: "superseded";
393
393
  }>;
394
394
  pickupCount: z.ZodNumber;
@@ -406,8 +406,8 @@ declare const bridgeActiveClaimResultSchema: z.ZodObject<{
406
406
  }>;
407
407
  state: z.ZodEnum<{
408
408
  ready: "ready";
409
- blocked: "blocked";
410
409
  busy: "busy";
410
+ blocked: "blocked";
411
411
  }>;
412
412
  canDispatch: z.ZodBoolean;
413
413
  connectedAt: z.ZodISODateTime;
@@ -422,8 +422,8 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
422
422
  }>;
423
423
  state: z.ZodEnum<{
424
424
  ready: "ready";
425
- blocked: "blocked";
426
425
  busy: "busy";
426
+ blocked: "blocked";
427
427
  }>;
428
428
  canDispatch: z.ZodBoolean;
429
429
  connectedAt: z.ZodISODateTime;
@@ -436,13 +436,13 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
436
436
  }>;
437
437
  revision: z.ZodNumber;
438
438
  phase: z.ZodEnum<{
439
- queued: "queued";
440
- failed: "failed";
441
- dispatched: "dispatched";
442
- completed: "completed";
443
439
  dispatching: "dispatching";
440
+ dispatched: "dispatched";
444
441
  working: "working";
442
+ completed: "completed";
443
+ failed: "failed";
445
444
  "delivery-unknown": "delivery-unknown";
445
+ queued: "queued";
446
446
  }>;
447
447
  updatedAt: z.ZodISODateTime;
448
448
  }, z.core.$strict>>;
@@ -455,8 +455,8 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
455
455
  }>;
456
456
  state: z.ZodEnum<{
457
457
  ready: "ready";
458
- blocked: "blocked";
459
458
  busy: "busy";
459
+ blocked: "blocked";
460
460
  }>;
461
461
  canDispatch: z.ZodBoolean;
462
462
  connectedAt: z.ZodISODateTime;
@@ -469,13 +469,13 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
469
469
  }>;
470
470
  revision: z.ZodNumber;
471
471
  phase: z.ZodEnum<{
472
- queued: "queued";
473
- failed: "failed";
474
- dispatched: "dispatched";
475
- completed: "completed";
476
472
  dispatching: "dispatching";
473
+ dispatched: "dispatched";
477
474
  working: "working";
475
+ completed: "completed";
476
+ failed: "failed";
478
477
  "delivery-unknown": "delivery-unknown";
478
+ queued: "queued";
479
479
  }>;
480
480
  updatedAt: z.ZodISODateTime;
481
481
  }, z.core.$strict>>;
@@ -488,8 +488,8 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
488
488
  }>;
489
489
  state: z.ZodEnum<{
490
490
  ready: "ready";
491
- blocked: "blocked";
492
491
  busy: "busy";
492
+ blocked: "blocked";
493
493
  }>;
494
494
  canDispatch: z.ZodBoolean;
495
495
  connectedAt: z.ZodISODateTime;
@@ -502,13 +502,13 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
502
502
  }>;
503
503
  revision: z.ZodNumber;
504
504
  phase: z.ZodEnum<{
505
- queued: "queued";
506
- failed: "failed";
507
- dispatched: "dispatched";
508
- completed: "completed";
509
505
  dispatching: "dispatching";
506
+ dispatched: "dispatched";
510
507
  working: "working";
508
+ completed: "completed";
509
+ failed: "failed";
511
510
  "delivery-unknown": "delivery-unknown";
511
+ queued: "queued";
512
512
  }>;
513
513
  updatedAt: z.ZodISODateTime;
514
514
  }, z.core.$strict>>;
@@ -521,8 +521,8 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
521
521
  }>;
522
522
  state: z.ZodEnum<{
523
523
  ready: "ready";
524
- blocked: "blocked";
525
524
  busy: "busy";
525
+ blocked: "blocked";
526
526
  }>;
527
527
  canDispatch: z.ZodBoolean;
528
528
  connectedAt: z.ZodISODateTime;
@@ -535,13 +535,13 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
535
535
  }>;
536
536
  revision: z.ZodNumber;
537
537
  phase: z.ZodEnum<{
538
- queued: "queued";
539
- failed: "failed";
540
- dispatched: "dispatched";
541
- completed: "completed";
542
538
  dispatching: "dispatching";
539
+ dispatched: "dispatched";
543
540
  working: "working";
541
+ completed: "completed";
542
+ failed: "failed";
544
543
  "delivery-unknown": "delivery-unknown";
544
+ queued: "queued";
545
545
  }>;
546
546
  updatedAt: z.ZodISODateTime;
547
547
  }, z.core.$strict>>;
@@ -1,6 +1,6 @@
1
- export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary } from './external-handoff-DeiIvR-2.cjs';
1
+ export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary } from './external-handoff-D1Ua2jIA.cjs';
2
2
  export { S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER } from './endpoints-O3ohYyAo.cjs';
3
- export { E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest } from './external-agent-control-DKxQACUv.cjs';
3
+ export { E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest } from './external-agent-control-yC4ToQXg.cjs';
4
4
  export { S as SpotAnnotation, a as SpotPatchLocale } from './annotation-Cz-NNgR4.cjs';
5
5
  import 'zod';
6
6
 
@@ -1,6 +1,6 @@
1
- export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary } from './external-handoff-5zHu-fz2.js';
1
+ export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary } from './external-handoff-BpoxbpPk.js';
2
2
  export { S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER } from './endpoints-O3ohYyAo.js';
3
- export { E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest } from './external-agent-control-DKxQACUv.js';
3
+ export { E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest } from './external-agent-control-yC4ToQXg.js';
4
4
  export { S as SpotAnnotation, a as SpotPatchLocale } from './annotation-Cz-NNgR4.js';
5
5
  import 'zod';
6
6
 
package/dist/index.cjs CHANGED
@@ -393,7 +393,8 @@ var CONTEXTUAL_ASK_LIMITS = Object.freeze({
393
393
  });
394
394
  var CONTEXTUAL_ASK_EXECUTOR_KINDS = Object.freeze([
395
395
  "configured-key",
396
- "managed-codex"
396
+ "managed-codex",
397
+ "claude-code"
397
398
  ]);
398
399
  var CONTEXTUAL_ASK_EXECUTOR_STATES = Object.freeze([
399
400
  "ready",
@@ -541,7 +542,8 @@ var contextualAskExecutorPreferenceSchema = import_zod2.z.discriminatedUnion("ki
541
542
  providerProfileId: profileIdSchema,
542
543
  modelProfileId: profileIdSchema
543
544
  }),
544
- import_zod2.z.strictObject({ kind: import_zod2.z.literal("managed-codex") })
545
+ import_zod2.z.strictObject({ kind: import_zod2.z.literal("managed-codex") }),
546
+ import_zod2.z.strictObject({ kind: import_zod2.z.literal("claude-code") })
545
547
  ]);
546
548
  var contextualAskOptionsSchema = import_zod2.z.union([
547
549
  import_zod2.z.boolean(),