@spotpatch/shared 1.15.0 → 1.16.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.
- package/dist/{annotation-Cz-NNgR4.d.cts → annotation-eo_ltNRm.d.cts} +24 -1
- package/dist/{annotation-Cz-NNgR4.d.ts → annotation-eo_ltNRm.d.ts} +24 -1
- package/dist/{chunk-JTZFOTPT.js → chunk-7777QFBJ.js} +2 -2
- package/dist/{chunk-R3BQKCCY.js → chunk-D7R32NFF.js} +2 -2
- package/dist/{chunk-R6QJFNT2.js → chunk-FCY5V76A.js} +31 -1
- package/dist/chunk-FCY5V76A.js.map +1 -0
- package/dist/{contextual-ask-BbmHG3Z8.d.cts → contextual-ask-Dz3Mh9LR.d.cts} +105 -0
- package/dist/{contextual-ask-BbmHG3Z8.d.ts → contextual-ask-Dz3Mh9LR.d.ts} +105 -0
- package/dist/contextual-ask-browser.d.cts +1 -1
- package/dist/contextual-ask-browser.d.ts +1 -1
- package/dist/contextual-ask-node.cjs +24 -0
- package/dist/contextual-ask-node.cjs.map +1 -1
- package/dist/contextual-ask-node.d.cts +3 -3
- package/dist/contextual-ask-node.d.ts +3 -3
- package/dist/contextual-ask-node.js +2 -2
- package/dist/data-flow-runtime.d.cts +1 -1
- package/dist/data-flow-runtime.d.ts +1 -1
- package/dist/external-agent-node.cjs +26 -0
- package/dist/external-agent-node.cjs.map +1 -1
- package/dist/external-agent-node.d.cts +66 -36
- package/dist/external-agent-node.d.ts +66 -36
- package/dist/external-agent-node.js +2 -2
- package/dist/{external-handoff-BpoxbpPk.d.ts → external-handoff-BaPiKnYG.d.ts} +68 -38
- package/dist/{external-handoff-D1Ua2jIA.d.cts → external-handoff-ByHmcwWv.d.cts} +68 -38
- package/dist/external-handoff-browser.d.cts +3 -3
- package/dist/external-handoff-browser.d.ts +3 -3
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +76 -31
- package/dist/index.d.ts +76 -31
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-R6QJFNT2.js.map +0 -1
- package/dist/{chunk-JTZFOTPT.js.map → chunk-7777QFBJ.js.map} +0 -0
- package/dist/{chunk-R3BQKCCY.js.map → chunk-D7R32NFF.js.map} +0 -0
- package/dist/{data-flow-runtime-tyqGH1OS.d.ts → data-flow-runtime-DhWpQoik.d.ts} +8 -8
- package/dist/{data-flow-runtime-Bfm5LbHE.d.cts → data-flow-runtime-w43iwvGA.d.cts} +8 -8
- package/dist/{external-agent-control-yC4ToQXg.d.cts → external-agent-control-DKxQACUv.d.cts} +28 -28
- package/dist/{external-agent-control-yC4ToQXg.d.ts → external-agent-control-DKxQACUv.d.ts} +28 -28
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import './annotation-
|
|
3
|
+
import { E as EXTERNAL_HANDOFF_LIMITS, A as ActiveAdapterSummary, D as DispatchSummary, a as ExternalHandoffSnapshot } from './external-handoff-BaPiKnYG.js';
|
|
4
|
+
import './annotation-eo_ltNRm.js';
|
|
5
5
|
|
|
6
6
|
declare const SPOTPATCH_BRIDGE_TOKEN_HEADER: "X-SpotPatch-Bridge-Token";
|
|
7
7
|
declare const SPOTPATCH_BRIDGE_PATHS: Readonly<{
|
|
@@ -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";
|
|
24
25
|
vite: "vite";
|
|
25
26
|
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
|
-
|
|
59
|
+
failed: "failed";
|
|
60
60
|
dispatched: "dispatched";
|
|
61
|
-
working: "working";
|
|
62
61
|
completed: "completed";
|
|
63
|
-
|
|
62
|
+
dispatching: "dispatching";
|
|
63
|
+
working: "working";
|
|
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";
|
|
75
76
|
vite: "vite";
|
|
76
77
|
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";
|
|
82
83
|
vite: "vite";
|
|
83
84
|
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
|
-
available: "available";
|
|
97
96
|
expired: "expired";
|
|
97
|
+
available: "available";
|
|
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";
|
|
112
113
|
vite: "vite";
|
|
113
114
|
next: "next";
|
|
114
|
-
astro: "astro";
|
|
115
115
|
}>;
|
|
116
116
|
}, z.core.$strict>;
|
|
117
117
|
revision: z.ZodNumber;
|
|
@@ -189,6 +189,21 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
|
|
|
189
189
|
}, z.core.$strict>>;
|
|
190
190
|
}, z.core.$strict>;
|
|
191
191
|
element: z.ZodObject<{
|
|
192
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
state: z.ZodEnum<{
|
|
195
|
+
captured: "captured";
|
|
196
|
+
changed: "changed";
|
|
197
|
+
detached: "detached";
|
|
198
|
+
restored: "restored";
|
|
199
|
+
}>;
|
|
200
|
+
selectorStatus: z.ZodEnum<{
|
|
201
|
+
"unique-at-capture": "unique-at-capture";
|
|
202
|
+
unavailable: "unavailable";
|
|
203
|
+
}>;
|
|
204
|
+
label: z.ZodString;
|
|
205
|
+
context: z.ZodString;
|
|
206
|
+
}, z.core.$strict>>;
|
|
192
207
|
tagName: z.ZodString;
|
|
193
208
|
selector: z.ZodString;
|
|
194
209
|
sanitizedHtml: z.ZodString;
|
|
@@ -216,9 +231,9 @@ declare const bridgeCurrentResultSchema: z.ZodObject<{
|
|
|
216
231
|
code: z.ZodOptional<z.ZodObject<{
|
|
217
232
|
relativePath: z.ZodString;
|
|
218
233
|
language: z.ZodEnum<{
|
|
219
|
-
astro: "astro";
|
|
220
234
|
tsx: "tsx";
|
|
221
235
|
jsx: "jsx";
|
|
236
|
+
astro: "astro";
|
|
222
237
|
}>;
|
|
223
238
|
startLine: z.ZodNumber;
|
|
224
239
|
endLine: z.ZodNumber;
|
|
@@ -242,9 +257,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
242
257
|
session: z.ZodObject<{
|
|
243
258
|
id: z.ZodString;
|
|
244
259
|
framework: z.ZodEnum<{
|
|
260
|
+
astro: "astro";
|
|
245
261
|
vite: "vite";
|
|
246
262
|
next: "next";
|
|
247
|
-
astro: "astro";
|
|
248
263
|
}>;
|
|
249
264
|
}, z.core.$strict>;
|
|
250
265
|
revision: z.ZodNumber;
|
|
@@ -322,6 +337,21 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
322
337
|
}, z.core.$strict>>;
|
|
323
338
|
}, z.core.$strict>;
|
|
324
339
|
element: z.ZodObject<{
|
|
340
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
id: z.ZodString;
|
|
342
|
+
state: z.ZodEnum<{
|
|
343
|
+
captured: "captured";
|
|
344
|
+
changed: "changed";
|
|
345
|
+
detached: "detached";
|
|
346
|
+
restored: "restored";
|
|
347
|
+
}>;
|
|
348
|
+
selectorStatus: z.ZodEnum<{
|
|
349
|
+
"unique-at-capture": "unique-at-capture";
|
|
350
|
+
unavailable: "unavailable";
|
|
351
|
+
}>;
|
|
352
|
+
label: z.ZodString;
|
|
353
|
+
context: z.ZodString;
|
|
354
|
+
}, z.core.$strict>>;
|
|
325
355
|
tagName: z.ZodString;
|
|
326
356
|
selector: z.ZodString;
|
|
327
357
|
sanitizedHtml: z.ZodString;
|
|
@@ -349,9 +379,9 @@ declare const bridgeWaitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
349
379
|
code: z.ZodOptional<z.ZodObject<{
|
|
350
380
|
relativePath: z.ZodString;
|
|
351
381
|
language: z.ZodEnum<{
|
|
352
|
-
astro: "astro";
|
|
353
382
|
tsx: "tsx";
|
|
354
383
|
jsx: "jsx";
|
|
384
|
+
astro: "astro";
|
|
355
385
|
}>;
|
|
356
386
|
startLine: z.ZodNumber;
|
|
357
387
|
endLine: z.ZodNumber;
|
|
@@ -373,9 +403,9 @@ declare const bridgeAckResultSchema: z.ZodObject<{
|
|
|
373
403
|
summary: z.ZodObject<{
|
|
374
404
|
sessionId: z.ZodString;
|
|
375
405
|
framework: z.ZodEnum<{
|
|
406
|
+
astro: "astro";
|
|
376
407
|
vite: "vite";
|
|
377
408
|
next: "next";
|
|
378
|
-
astro: "astro";
|
|
379
409
|
}>;
|
|
380
410
|
revision: z.ZodNumber;
|
|
381
411
|
cursor: z.ZodString;
|
|
@@ -387,8 +417,8 @@ declare const bridgeAckResultSchema: z.ZodObject<{
|
|
|
387
417
|
publishedAt: z.ZodISODateTime;
|
|
388
418
|
expiresAt: z.ZodISODateTime;
|
|
389
419
|
state: z.ZodEnum<{
|
|
390
|
-
available: "available";
|
|
391
420
|
expired: "expired";
|
|
421
|
+
available: "available";
|
|
392
422
|
superseded: "superseded";
|
|
393
423
|
}>;
|
|
394
424
|
pickupCount: z.ZodNumber;
|
|
@@ -406,8 +436,8 @@ declare const bridgeActiveClaimResultSchema: z.ZodObject<{
|
|
|
406
436
|
}>;
|
|
407
437
|
state: z.ZodEnum<{
|
|
408
438
|
ready: "ready";
|
|
409
|
-
busy: "busy";
|
|
410
439
|
blocked: "blocked";
|
|
440
|
+
busy: "busy";
|
|
411
441
|
}>;
|
|
412
442
|
canDispatch: z.ZodBoolean;
|
|
413
443
|
connectedAt: z.ZodISODateTime;
|
|
@@ -422,8 +452,8 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
|
|
|
422
452
|
}>;
|
|
423
453
|
state: z.ZodEnum<{
|
|
424
454
|
ready: "ready";
|
|
425
|
-
busy: "busy";
|
|
426
455
|
blocked: "blocked";
|
|
456
|
+
busy: "busy";
|
|
427
457
|
}>;
|
|
428
458
|
canDispatch: z.ZodBoolean;
|
|
429
459
|
connectedAt: z.ZodISODateTime;
|
|
@@ -436,13 +466,13 @@ declare const bridgeActiveStateResultSchema: z.ZodObject<{
|
|
|
436
466
|
}>;
|
|
437
467
|
revision: z.ZodNumber;
|
|
438
468
|
phase: z.ZodEnum<{
|
|
439
|
-
|
|
469
|
+
queued: "queued";
|
|
470
|
+
failed: "failed";
|
|
440
471
|
dispatched: "dispatched";
|
|
441
|
-
working: "working";
|
|
442
472
|
completed: "completed";
|
|
443
|
-
|
|
473
|
+
dispatching: "dispatching";
|
|
474
|
+
working: "working";
|
|
444
475
|
"delivery-unknown": "delivery-unknown";
|
|
445
|
-
queued: "queued";
|
|
446
476
|
}>;
|
|
447
477
|
updatedAt: z.ZodISODateTime;
|
|
448
478
|
}, z.core.$strict>>;
|
|
@@ -455,8 +485,8 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
|
|
|
455
485
|
}>;
|
|
456
486
|
state: z.ZodEnum<{
|
|
457
487
|
ready: "ready";
|
|
458
|
-
busy: "busy";
|
|
459
488
|
blocked: "blocked";
|
|
489
|
+
busy: "busy";
|
|
460
490
|
}>;
|
|
461
491
|
canDispatch: z.ZodBoolean;
|
|
462
492
|
connectedAt: z.ZodISODateTime;
|
|
@@ -469,13 +499,13 @@ declare const bridgeActiveHeartbeatResultSchema: z.ZodObject<{
|
|
|
469
499
|
}>;
|
|
470
500
|
revision: z.ZodNumber;
|
|
471
501
|
phase: z.ZodEnum<{
|
|
472
|
-
|
|
502
|
+
queued: "queued";
|
|
503
|
+
failed: "failed";
|
|
473
504
|
dispatched: "dispatched";
|
|
474
|
-
working: "working";
|
|
475
505
|
completed: "completed";
|
|
476
|
-
|
|
506
|
+
dispatching: "dispatching";
|
|
507
|
+
working: "working";
|
|
477
508
|
"delivery-unknown": "delivery-unknown";
|
|
478
|
-
queued: "queued";
|
|
479
509
|
}>;
|
|
480
510
|
updatedAt: z.ZodISODateTime;
|
|
481
511
|
}, z.core.$strict>>;
|
|
@@ -488,8 +518,8 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
|
|
|
488
518
|
}>;
|
|
489
519
|
state: z.ZodEnum<{
|
|
490
520
|
ready: "ready";
|
|
491
|
-
busy: "busy";
|
|
492
521
|
blocked: "blocked";
|
|
522
|
+
busy: "busy";
|
|
493
523
|
}>;
|
|
494
524
|
canDispatch: z.ZodBoolean;
|
|
495
525
|
connectedAt: z.ZodISODateTime;
|
|
@@ -502,13 +532,13 @@ declare const bridgeActiveReportResultSchema: z.ZodObject<{
|
|
|
502
532
|
}>;
|
|
503
533
|
revision: z.ZodNumber;
|
|
504
534
|
phase: z.ZodEnum<{
|
|
505
|
-
|
|
535
|
+
queued: "queued";
|
|
536
|
+
failed: "failed";
|
|
506
537
|
dispatched: "dispatched";
|
|
507
|
-
working: "working";
|
|
508
538
|
completed: "completed";
|
|
509
|
-
|
|
539
|
+
dispatching: "dispatching";
|
|
540
|
+
working: "working";
|
|
510
541
|
"delivery-unknown": "delivery-unknown";
|
|
511
|
-
queued: "queued";
|
|
512
542
|
}>;
|
|
513
543
|
updatedAt: z.ZodISODateTime;
|
|
514
544
|
}, z.core.$strict>>;
|
|
@@ -521,8 +551,8 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
|
|
|
521
551
|
}>;
|
|
522
552
|
state: z.ZodEnum<{
|
|
523
553
|
ready: "ready";
|
|
524
|
-
busy: "busy";
|
|
525
554
|
blocked: "blocked";
|
|
555
|
+
busy: "busy";
|
|
526
556
|
}>;
|
|
527
557
|
canDispatch: z.ZodBoolean;
|
|
528
558
|
connectedAt: z.ZodISODateTime;
|
|
@@ -535,13 +565,13 @@ declare const bridgeActiveReleaseResultSchema: z.ZodObject<{
|
|
|
535
565
|
}>;
|
|
536
566
|
revision: z.ZodNumber;
|
|
537
567
|
phase: z.ZodEnum<{
|
|
538
|
-
|
|
568
|
+
queued: "queued";
|
|
569
|
+
failed: "failed";
|
|
539
570
|
dispatched: "dispatched";
|
|
540
|
-
working: "working";
|
|
541
571
|
completed: "completed";
|
|
542
|
-
|
|
572
|
+
dispatching: "dispatching";
|
|
573
|
+
working: "working";
|
|
543
574
|
"delivery-unknown": "delivery-unknown";
|
|
544
|
-
queued: "queued";
|
|
545
575
|
}>;
|
|
546
576
|
updatedAt: z.ZodISODateTime;
|
|
547
577
|
}, z.core.$strict>>;
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
externalHandoffReportableDispatchPhaseSchema,
|
|
6
6
|
externalHandoffSnapshotSchema,
|
|
7
7
|
externalHandoffSummarySchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7777QFBJ.js";
|
|
9
9
|
import {
|
|
10
10
|
ERROR_CODES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FCY5V76A.js";
|
|
12
12
|
import {
|
|
13
13
|
EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS,
|
|
14
14
|
EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { S as SpotAnnotation } from './annotation-
|
|
2
|
+
import { S as SpotAnnotation } from './annotation-eo_ltNRm.js';
|
|
3
3
|
|
|
4
4
|
declare const EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION: 1;
|
|
5
5
|
declare const EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION: 2;
|
|
@@ -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
|
-
|
|
47
|
+
failed: "failed";
|
|
48
48
|
dispatched: "dispatched";
|
|
49
|
-
working: "working";
|
|
50
49
|
completed: "completed";
|
|
51
|
-
|
|
50
|
+
dispatching: "dispatching";
|
|
51
|
+
working: "working";
|
|
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";
|
|
57
58
|
vite: "vite";
|
|
58
59
|
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
|
-
available: "available";
|
|
72
71
|
expired: "expired";
|
|
72
|
+
available: "available";
|
|
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";
|
|
84
85
|
vite: "vite";
|
|
85
86
|
next: "next";
|
|
86
|
-
astro: "astro";
|
|
87
87
|
}>;
|
|
88
88
|
}, z.core.$strict>;
|
|
89
89
|
revision: z.ZodNumber;
|
|
@@ -161,6 +161,21 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
161
161
|
}, z.core.$strict>>;
|
|
162
162
|
}, z.core.$strict>;
|
|
163
163
|
element: z.ZodObject<{
|
|
164
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
state: z.ZodEnum<{
|
|
167
|
+
captured: "captured";
|
|
168
|
+
changed: "changed";
|
|
169
|
+
detached: "detached";
|
|
170
|
+
restored: "restored";
|
|
171
|
+
}>;
|
|
172
|
+
selectorStatus: z.ZodEnum<{
|
|
173
|
+
"unique-at-capture": "unique-at-capture";
|
|
174
|
+
unavailable: "unavailable";
|
|
175
|
+
}>;
|
|
176
|
+
label: z.ZodString;
|
|
177
|
+
context: z.ZodString;
|
|
178
|
+
}, z.core.$strict>>;
|
|
164
179
|
tagName: z.ZodString;
|
|
165
180
|
selector: z.ZodString;
|
|
166
181
|
sanitizedHtml: z.ZodString;
|
|
@@ -188,9 +203,9 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
188
203
|
code: z.ZodOptional<z.ZodObject<{
|
|
189
204
|
relativePath: z.ZodString;
|
|
190
205
|
language: z.ZodEnum<{
|
|
191
|
-
astro: "astro";
|
|
192
206
|
tsx: "tsx";
|
|
193
207
|
jsx: "jsx";
|
|
208
|
+
astro: "astro";
|
|
194
209
|
}>;
|
|
195
210
|
startLine: z.ZodNumber;
|
|
196
211
|
endLine: z.ZodNumber;
|
|
@@ -212,8 +227,8 @@ declare const activeAdapterSummarySchema: z.ZodObject<{
|
|
|
212
227
|
}>;
|
|
213
228
|
state: z.ZodEnum<{
|
|
214
229
|
ready: "ready";
|
|
215
|
-
busy: "busy";
|
|
216
230
|
blocked: "blocked";
|
|
231
|
+
busy: "busy";
|
|
217
232
|
}>;
|
|
218
233
|
canDispatch: z.ZodBoolean;
|
|
219
234
|
connectedAt: z.ZodISODateTime;
|
|
@@ -226,13 +241,13 @@ declare const dispatchSummarySchema: z.ZodObject<{
|
|
|
226
241
|
}>;
|
|
227
242
|
revision: z.ZodNumber;
|
|
228
243
|
phase: z.ZodEnum<{
|
|
229
|
-
|
|
244
|
+
queued: "queued";
|
|
245
|
+
failed: "failed";
|
|
230
246
|
dispatched: "dispatched";
|
|
231
|
-
working: "working";
|
|
232
247
|
completed: "completed";
|
|
233
|
-
|
|
248
|
+
dispatching: "dispatching";
|
|
249
|
+
working: "working";
|
|
234
250
|
"delivery-unknown": "delivery-unknown";
|
|
235
|
-
queued: "queued";
|
|
236
251
|
}>;
|
|
237
252
|
updatedAt: z.ZodISODateTime;
|
|
238
253
|
}, z.core.$strict>;
|
|
@@ -311,6 +326,21 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
|
|
|
311
326
|
}, z.core.$strict>>;
|
|
312
327
|
}, z.core.$strict>;
|
|
313
328
|
element: z.ZodObject<{
|
|
329
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
330
|
+
id: z.ZodString;
|
|
331
|
+
state: z.ZodEnum<{
|
|
332
|
+
captured: "captured";
|
|
333
|
+
changed: "changed";
|
|
334
|
+
detached: "detached";
|
|
335
|
+
restored: "restored";
|
|
336
|
+
}>;
|
|
337
|
+
selectorStatus: z.ZodEnum<{
|
|
338
|
+
"unique-at-capture": "unique-at-capture";
|
|
339
|
+
unavailable: "unavailable";
|
|
340
|
+
}>;
|
|
341
|
+
label: z.ZodString;
|
|
342
|
+
context: z.ZodString;
|
|
343
|
+
}, z.core.$strict>>;
|
|
314
344
|
tagName: z.ZodString;
|
|
315
345
|
selector: z.ZodString;
|
|
316
346
|
sanitizedHtml: z.ZodString;
|
|
@@ -338,9 +368,9 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
|
|
|
338
368
|
code: z.ZodOptional<z.ZodObject<{
|
|
339
369
|
relativePath: z.ZodString;
|
|
340
370
|
language: z.ZodEnum<{
|
|
341
|
-
astro: "astro";
|
|
342
371
|
tsx: "tsx";
|
|
343
372
|
jsx: "jsx";
|
|
373
|
+
astro: "astro";
|
|
344
374
|
}>;
|
|
345
375
|
startLine: z.ZodNumber;
|
|
346
376
|
endLine: z.ZodNumber;
|
|
@@ -375,8 +405,8 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
|
|
|
375
405
|
}>;
|
|
376
406
|
state: z.ZodEnum<{
|
|
377
407
|
ready: "ready";
|
|
378
|
-
busy: "busy";
|
|
379
408
|
blocked: "blocked";
|
|
409
|
+
busy: "busy";
|
|
380
410
|
}>;
|
|
381
411
|
canDispatch: z.ZodBoolean;
|
|
382
412
|
connectedAt: z.ZodISODateTime;
|
|
@@ -389,13 +419,13 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
|
|
|
389
419
|
}>;
|
|
390
420
|
revision: z.ZodNumber;
|
|
391
421
|
phase: z.ZodEnum<{
|
|
392
|
-
|
|
422
|
+
queued: "queued";
|
|
423
|
+
failed: "failed";
|
|
393
424
|
dispatched: "dispatched";
|
|
394
|
-
working: "working";
|
|
395
425
|
completed: "completed";
|
|
396
|
-
|
|
426
|
+
dispatching: "dispatching";
|
|
427
|
+
working: "working";
|
|
397
428
|
"delivery-unknown": "delivery-unknown";
|
|
398
|
-
queued: "queued";
|
|
399
429
|
}>;
|
|
400
430
|
updatedAt: z.ZodISODateTime;
|
|
401
431
|
}, z.core.$strict>>;
|
|
@@ -411,8 +441,8 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
411
441
|
}>;
|
|
412
442
|
state: z.ZodEnum<{
|
|
413
443
|
ready: "ready";
|
|
414
|
-
busy: "busy";
|
|
415
444
|
blocked: "blocked";
|
|
445
|
+
busy: "busy";
|
|
416
446
|
}>;
|
|
417
447
|
canDispatch: z.ZodBoolean;
|
|
418
448
|
connectedAt: z.ZodISODateTime;
|
|
@@ -425,13 +455,13 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
425
455
|
}>;
|
|
426
456
|
revision: z.ZodNumber;
|
|
427
457
|
phase: z.ZodEnum<{
|
|
428
|
-
|
|
458
|
+
queued: "queued";
|
|
459
|
+
failed: "failed";
|
|
429
460
|
dispatched: "dispatched";
|
|
430
|
-
working: "working";
|
|
431
461
|
completed: "completed";
|
|
432
|
-
|
|
462
|
+
dispatching: "dispatching";
|
|
463
|
+
working: "working";
|
|
433
464
|
"delivery-unknown": "delivery-unknown";
|
|
434
|
-
queued: "queued";
|
|
435
465
|
}>;
|
|
436
466
|
updatedAt: z.ZodISODateTime;
|
|
437
467
|
}, z.core.$strict>;
|
|
@@ -440,9 +470,9 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
440
470
|
handoff: z.ZodObject<{
|
|
441
471
|
sessionId: z.ZodString;
|
|
442
472
|
framework: z.ZodEnum<{
|
|
473
|
+
astro: "astro";
|
|
443
474
|
vite: "vite";
|
|
444
475
|
next: "next";
|
|
445
|
-
astro: "astro";
|
|
446
476
|
}>;
|
|
447
477
|
revision: z.ZodNumber;
|
|
448
478
|
cursor: z.ZodString;
|
|
@@ -454,8 +484,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
454
484
|
publishedAt: z.ZodISODateTime;
|
|
455
485
|
expiresAt: z.ZodISODateTime;
|
|
456
486
|
state: z.ZodEnum<{
|
|
457
|
-
available: "available";
|
|
458
487
|
expired: "expired";
|
|
488
|
+
available: "available";
|
|
459
489
|
superseded: "superseded";
|
|
460
490
|
}>;
|
|
461
491
|
pickupCount: z.ZodNumber;
|
|
@@ -472,8 +502,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
472
502
|
}>;
|
|
473
503
|
state: z.ZodEnum<{
|
|
474
504
|
ready: "ready";
|
|
475
|
-
busy: "busy";
|
|
476
505
|
blocked: "blocked";
|
|
506
|
+
busy: "busy";
|
|
477
507
|
}>;
|
|
478
508
|
canDispatch: z.ZodBoolean;
|
|
479
509
|
connectedAt: z.ZodISODateTime;
|
|
@@ -486,13 +516,13 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
486
516
|
}>;
|
|
487
517
|
revision: z.ZodNumber;
|
|
488
518
|
phase: z.ZodEnum<{
|
|
489
|
-
|
|
519
|
+
queued: "queued";
|
|
520
|
+
failed: "failed";
|
|
490
521
|
dispatched: "dispatched";
|
|
491
|
-
working: "working";
|
|
492
522
|
completed: "completed";
|
|
493
|
-
|
|
523
|
+
dispatching: "dispatching";
|
|
524
|
+
working: "working";
|
|
494
525
|
"delivery-unknown": "delivery-unknown";
|
|
495
|
-
queued: "queued";
|
|
496
526
|
}>;
|
|
497
527
|
updatedAt: z.ZodISODateTime;
|
|
498
528
|
}, z.core.$strict>;
|
|
@@ -503,9 +533,9 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
503
533
|
handoff: z.ZodObject<{
|
|
504
534
|
sessionId: z.ZodString;
|
|
505
535
|
framework: z.ZodEnum<{
|
|
536
|
+
astro: "astro";
|
|
506
537
|
vite: "vite";
|
|
507
538
|
next: "next";
|
|
508
|
-
astro: "astro";
|
|
509
539
|
}>;
|
|
510
540
|
revision: z.ZodNumber;
|
|
511
541
|
cursor: z.ZodString;
|
|
@@ -517,8 +547,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
517
547
|
publishedAt: z.ZodISODateTime;
|
|
518
548
|
expiresAt: z.ZodISODateTime;
|
|
519
549
|
state: z.ZodEnum<{
|
|
520
|
-
available: "available";
|
|
521
550
|
expired: "expired";
|
|
551
|
+
available: "available";
|
|
522
552
|
superseded: "superseded";
|
|
523
553
|
}>;
|
|
524
554
|
pickupCount: z.ZodNumber;
|
|
@@ -531,8 +561,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
531
561
|
}>;
|
|
532
562
|
state: z.ZodEnum<{
|
|
533
563
|
ready: "ready";
|
|
534
|
-
busy: "busy";
|
|
535
564
|
blocked: "blocked";
|
|
565
|
+
busy: "busy";
|
|
536
566
|
}>;
|
|
537
567
|
canDispatch: z.ZodBoolean;
|
|
538
568
|
connectedAt: z.ZodISODateTime;
|
|
@@ -545,13 +575,13 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
545
575
|
}>;
|
|
546
576
|
revision: z.ZodNumber;
|
|
547
577
|
phase: z.ZodEnum<{
|
|
548
|
-
|
|
578
|
+
queued: "queued";
|
|
579
|
+
failed: "failed";
|
|
549
580
|
dispatched: "dispatched";
|
|
550
|
-
working: "working";
|
|
551
581
|
completed: "completed";
|
|
552
|
-
|
|
582
|
+
dispatching: "dispatching";
|
|
583
|
+
working: "working";
|
|
553
584
|
"delivery-unknown": "delivery-unknown";
|
|
554
|
-
queued: "queued";
|
|
555
585
|
}>;
|
|
556
586
|
updatedAt: z.ZodISODateTime;
|
|
557
587
|
}, z.core.$strict>>;
|