@spotpatch/shared 1.12.0 → 1.14.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 +102 -0
- package/dist/annotation-Cz-NNgR4.d.ts +102 -0
- package/dist/chunk-CLQ6MIJB.js +586 -0
- package/dist/chunk-CLQ6MIJB.js.map +1 -0
- package/dist/chunk-EWJTKNL4.js +90 -0
- package/dist/chunk-EWJTKNL4.js.map +1 -0
- package/dist/{chunk-JGOIBOFI.js → chunk-FPDSZDP2.js} +16 -2
- package/dist/chunk-FPDSZDP2.js.map +1 -0
- package/dist/{chunk-2LVIH7OA.js → chunk-IX6MSCK6.js} +6 -2
- package/dist/chunk-IX6MSCK6.js.map +1 -0
- package/dist/{chunk-JU5HIWX7.js → chunk-JTZFOTPT.js} +9 -174
- package/dist/chunk-JTZFOTPT.js.map +1 -0
- package/dist/chunk-R6QJFNT2.js +195 -0
- package/dist/chunk-R6QJFNT2.js.map +1 -0
- package/dist/contextual-ask-BpbkpFFf.d.cts +1476 -0
- package/dist/contextual-ask-BpbkpFFf.d.ts +1476 -0
- package/dist/contextual-ask-browser.cjs +201 -0
- package/dist/contextual-ask-browser.cjs.map +1 -0
- package/dist/contextual-ask-browser.d.cts +31 -0
- package/dist/contextual-ask-browser.d.ts +31 -0
- package/dist/contextual-ask-browser.js +66 -0
- package/dist/contextual-ask-browser.js.map +1 -0
- package/dist/contextual-ask-node.cjs +971 -0
- package/dist/contextual-ask-node.cjs.map +1 -0
- package/dist/contextual-ask-node.d.cts +14 -0
- package/dist/contextual-ask-node.d.ts +14 -0
- package/dist/contextual-ask-node.js +122 -0
- package/dist/contextual-ask-node.js.map +1 -0
- package/dist/{data-flow-runtime-BelOgo8s.d.ts → data-flow-runtime-DhWpQoik.d.ts} +26 -13
- package/dist/{data-flow-runtime-oq9m21IP.d.cts → data-flow-runtime-w43iwvGA.d.cts} +26 -13
- package/dist/data-flow-runtime.cjs +2 -0
- package/dist/data-flow-runtime.cjs.map +1 -1
- package/dist/data-flow-runtime.d.cts +2 -2
- package/dist/data-flow-runtime.d.ts +2 -2
- package/dist/data-flow-runtime.js +1 -1
- package/dist/{endpoints-GedF44M2.d.cts → endpoints-O3ohYyAo.d.cts} +7 -1
- package/dist/{endpoints-GedF44M2.d.ts → endpoints-O3ohYyAo.d.ts} +7 -1
- package/dist/error-code-DRz2eqcB.d.cts +63 -0
- package/dist/error-code-DRz2eqcB.d.ts +63 -0
- package/dist/external-agent-node.cjs +320 -141
- package/dist/external-agent-node.cjs.map +1 -1
- package/dist/external-agent-node.d.cts +43 -27
- package/dist/external-agent-node.d.ts +43 -27
- package/dist/external-agent-node.js +174 -20
- package/dist/external-agent-node.js.map +1 -1
- package/dist/{external-handoff-BNUyMfNb.d.ts → external-handoff-5zHu-fz2.d.ts} +41 -131
- package/dist/{external-handoff-BNUyMfNb.d.cts → external-handoff-DeiIvR-2.d.cts} +41 -131
- package/dist/external-handoff-browser.cjs +7 -1
- package/dist/external-handoff-browser.cjs.map +1 -1
- package/dist/external-handoff-browser.d.cts +4 -3
- package/dist/external-handoff-browser.d.ts +4 -3
- package/dist/external-handoff-browser.js +2 -2
- package/dist/index.cjs +1170 -426
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +138 -178
- package/dist/index.d.ts +138 -178
- package/dist/index.js +116 -20
- package/dist/index.js.map +1 -1
- package/package.json +29 -2
- package/dist/chunk-2LVIH7OA.js.map +0 -1
- package/dist/chunk-JGOIBOFI.js.map +0 -1
- package/dist/chunk-JU5HIWX7.js.map +0 -1
- package/dist/{external-agent-control-BMoSq_xI.d.cts → external-agent-control-C79Nl85y.d.cts} +49 -49
- package/dist/{external-agent-control-BMoSq_xI.d.ts → external-agent-control-C79Nl85y.d.ts} +49 -49
|
@@ -1,110 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
interface ContextBudget {
|
|
4
|
-
readonly totalCharacters: number;
|
|
5
|
-
readonly domCharacters: number;
|
|
6
|
-
readonly cssCharacters: number;
|
|
7
|
-
readonly codeCharacters: number;
|
|
8
|
-
readonly maxCodeLines: number;
|
|
9
|
-
readonly maxComponentDepth: number;
|
|
10
|
-
}
|
|
11
|
-
interface CodeContext {
|
|
12
|
-
readonly relativePath: string;
|
|
13
|
-
readonly language: "tsx" | "jsx";
|
|
14
|
-
readonly startLine: number;
|
|
15
|
-
readonly endLine: number;
|
|
16
|
-
readonly excerpt: string;
|
|
17
|
-
readonly boundary: "component" | "nearby-lines";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
type SourceConfidence = "exact" | "probable" | "approximate" | "unknown";
|
|
21
|
-
type SourceOrigin = "jsx-host" | "react-fiber" | "dom-ancestor" | "none";
|
|
22
|
-
interface SourceRef {
|
|
23
|
-
readonly fileId?: string;
|
|
24
|
-
readonly relativePath?: string;
|
|
25
|
-
readonly line?: number;
|
|
26
|
-
readonly column?: number;
|
|
27
|
-
readonly origin: SourceOrigin;
|
|
28
|
-
readonly confidence: SourceConfidence;
|
|
29
|
-
}
|
|
30
|
-
interface ReactContext {
|
|
31
|
-
readonly supported: boolean;
|
|
32
|
-
readonly version?: string;
|
|
33
|
-
readonly componentName?: string;
|
|
34
|
-
readonly componentSourceId?: string;
|
|
35
|
-
readonly sourceVersion?: string;
|
|
36
|
-
readonly componentStack: readonly string[];
|
|
37
|
-
readonly source?: SourceRef;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface MatchedStyleRule {
|
|
41
|
-
readonly selector: string;
|
|
42
|
-
readonly declarations: string;
|
|
43
|
-
readonly source?: string;
|
|
44
|
-
readonly media?: string;
|
|
45
|
-
}
|
|
46
|
-
interface StyleContext {
|
|
47
|
-
readonly classNames: readonly string[];
|
|
48
|
-
readonly inlineStyle?: string;
|
|
49
|
-
readonly matchedRules: readonly MatchedStyleRule[];
|
|
50
|
-
readonly computed: Readonly<Record<string, string>>;
|
|
51
|
-
readonly warnings: readonly string[];
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface PageContext {
|
|
55
|
-
readonly url: string;
|
|
56
|
-
readonly pathname: string;
|
|
57
|
-
readonly title: string;
|
|
58
|
-
readonly viewportWidth: number;
|
|
59
|
-
readonly viewportHeight: number;
|
|
60
|
-
readonly devicePixelRatio: number;
|
|
61
|
-
}
|
|
62
|
-
interface ElementContext {
|
|
63
|
-
readonly tagName: string;
|
|
64
|
-
readonly selector: string;
|
|
65
|
-
readonly sanitizedHtml: string;
|
|
66
|
-
readonly textPreview?: string;
|
|
67
|
-
readonly role?: string;
|
|
68
|
-
readonly rect: Readonly<{
|
|
69
|
-
x: number;
|
|
70
|
-
y: number;
|
|
71
|
-
width: number;
|
|
72
|
-
height: number;
|
|
73
|
-
}>;
|
|
74
|
-
}
|
|
75
|
-
/** Protocol hard limit. Runtime configuration may choose a smaller limit. */
|
|
76
|
-
declare const MAX_ANNOTATION_TARGETS = 20;
|
|
77
|
-
/** Each target owns its requested change; the UI enforces the same bound. */
|
|
78
|
-
declare const MAX_TARGET_INSTRUCTION_CHARACTERS = 2000;
|
|
79
|
-
/** Keeps the complete, atomic user intent within the prompt and request budgets. */
|
|
80
|
-
declare const MAX_ANNOTATION_INSTRUCTION_CHARACTERS = 4000;
|
|
81
|
-
declare const SPOTPATCH_LOCALES: readonly ["en-US", "zh-CN"];
|
|
82
|
-
type SpotPatchLocale = (typeof SPOTPATCH_LOCALES)[number];
|
|
83
|
-
declare const SPOTPATCH_LOCALE_PREFERENCES: readonly ["auto", "en-US", "zh-CN"];
|
|
84
|
-
type SpotPatchLocalePreference = (typeof SPOTPATCH_LOCALE_PREFERENCES)[number];
|
|
85
|
-
interface SpotTargetContext {
|
|
86
|
-
readonly instruction: string;
|
|
87
|
-
readonly page?: Readonly<PageContext>;
|
|
88
|
-
readonly source: SourceRef;
|
|
89
|
-
readonly react: ReactContext;
|
|
90
|
-
readonly element: ElementContext;
|
|
91
|
-
readonly styles: StyleContext;
|
|
92
|
-
readonly code?: CodeContext;
|
|
93
|
-
readonly warnings: readonly string[];
|
|
94
|
-
}
|
|
95
|
-
interface SpotAnnotation {
|
|
96
|
-
readonly schemaVersion: 3;
|
|
97
|
-
readonly id: string;
|
|
98
|
-
readonly locale: SpotPatchLocale;
|
|
99
|
-
readonly page: Readonly<PageContext>;
|
|
100
|
-
readonly targets: readonly SpotTargetContext[];
|
|
101
|
-
readonly createdAt: string;
|
|
102
|
-
}
|
|
2
|
+
import { S as SpotAnnotation } from './annotation-Cz-NNgR4.js';
|
|
103
3
|
|
|
104
4
|
declare const EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION: 1;
|
|
105
5
|
declare const EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION: 2;
|
|
106
6
|
declare const EXTERNAL_HANDOFF_STATES: readonly ["available", "expired", "superseded"];
|
|
107
|
-
declare const EXTERNAL_HANDOFF_FRAMEWORKS: readonly ["vite", "next"];
|
|
7
|
+
declare const EXTERNAL_HANDOFF_FRAMEWORKS: readonly ["vite", "next", "astro"];
|
|
108
8
|
declare const EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS: readonly ["claude-channel", "codex-app-server"];
|
|
109
9
|
declare const EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES: readonly ["ready", "busy", "blocked"];
|
|
110
10
|
declare const EXTERNAL_HANDOFF_DISPATCH_PHASES: readonly ["queued", "dispatching", "dispatched", "working", "completed", "failed", "delivery-unknown"];
|
|
@@ -144,16 +44,17 @@ type ExternalHandoffDispatchPhase = (typeof EXTERNAL_HANDOFF_DISPATCH_PHASES)[nu
|
|
|
144
44
|
type ExternalHandoffReportableDispatchPhase = (typeof EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES)[number];
|
|
145
45
|
|
|
146
46
|
declare const externalHandoffReportableDispatchPhaseSchema: z.ZodEnum<{
|
|
147
|
-
dispatching: "dispatching";
|
|
148
|
-
completed: "completed";
|
|
149
47
|
failed: "failed";
|
|
150
48
|
dispatched: "dispatched";
|
|
49
|
+
completed: "completed";
|
|
50
|
+
dispatching: "dispatching";
|
|
151
51
|
working: "working";
|
|
152
52
|
"delivery-unknown": "delivery-unknown";
|
|
153
53
|
}>;
|
|
154
54
|
declare const externalHandoffSummarySchema: z.ZodObject<{
|
|
155
55
|
sessionId: z.ZodString;
|
|
156
56
|
framework: z.ZodEnum<{
|
|
57
|
+
astro: "astro";
|
|
157
58
|
vite: "vite";
|
|
158
59
|
next: "next";
|
|
159
60
|
}>;
|
|
@@ -167,8 +68,8 @@ declare const externalHandoffSummarySchema: z.ZodObject<{
|
|
|
167
68
|
publishedAt: z.ZodISODateTime;
|
|
168
69
|
expiresAt: z.ZodISODateTime;
|
|
169
70
|
state: z.ZodEnum<{
|
|
170
|
-
available: "available";
|
|
171
71
|
expired: "expired";
|
|
72
|
+
available: "available";
|
|
172
73
|
superseded: "superseded";
|
|
173
74
|
}>;
|
|
174
75
|
pickupCount: z.ZodNumber;
|
|
@@ -180,6 +81,7 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
180
81
|
session: z.ZodObject<{
|
|
181
82
|
id: z.ZodString;
|
|
182
83
|
framework: z.ZodEnum<{
|
|
84
|
+
astro: "astro";
|
|
183
85
|
vite: "vite";
|
|
184
86
|
next: "next";
|
|
185
87
|
}>;
|
|
@@ -218,16 +120,17 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
218
120
|
line: z.ZodOptional<z.ZodNumber>;
|
|
219
121
|
column: z.ZodOptional<z.ZodNumber>;
|
|
220
122
|
origin: z.ZodEnum<{
|
|
221
|
-
none: "none";
|
|
222
123
|
"jsx-host": "jsx-host";
|
|
124
|
+
"astro-host": "astro-host";
|
|
223
125
|
"react-fiber": "react-fiber";
|
|
224
126
|
"dom-ancestor": "dom-ancestor";
|
|
127
|
+
none: "none";
|
|
225
128
|
}>;
|
|
226
129
|
confidence: z.ZodEnum<{
|
|
227
|
-
unknown: "unknown";
|
|
228
130
|
exact: "exact";
|
|
229
131
|
probable: "probable";
|
|
230
132
|
approximate: "approximate";
|
|
133
|
+
unknown: "unknown";
|
|
231
134
|
}>;
|
|
232
135
|
}, z.core.$strict>;
|
|
233
136
|
react: z.ZodObject<{
|
|
@@ -243,16 +146,17 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
243
146
|
line: z.ZodOptional<z.ZodNumber>;
|
|
244
147
|
column: z.ZodOptional<z.ZodNumber>;
|
|
245
148
|
origin: z.ZodEnum<{
|
|
246
|
-
none: "none";
|
|
247
149
|
"jsx-host": "jsx-host";
|
|
150
|
+
"astro-host": "astro-host";
|
|
248
151
|
"react-fiber": "react-fiber";
|
|
249
152
|
"dom-ancestor": "dom-ancestor";
|
|
153
|
+
none: "none";
|
|
250
154
|
}>;
|
|
251
155
|
confidence: z.ZodEnum<{
|
|
252
|
-
unknown: "unknown";
|
|
253
156
|
exact: "exact";
|
|
254
157
|
probable: "probable";
|
|
255
158
|
approximate: "approximate";
|
|
159
|
+
unknown: "unknown";
|
|
256
160
|
}>;
|
|
257
161
|
}, z.core.$strict>>;
|
|
258
162
|
}, z.core.$strict>;
|
|
@@ -286,6 +190,7 @@ declare const externalHandoffSnapshotSchema: z.ZodObject<{
|
|
|
286
190
|
language: z.ZodEnum<{
|
|
287
191
|
tsx: "tsx";
|
|
288
192
|
jsx: "jsx";
|
|
193
|
+
astro: "astro";
|
|
289
194
|
}>;
|
|
290
195
|
startLine: z.ZodNumber;
|
|
291
196
|
endLine: z.ZodNumber;
|
|
@@ -307,8 +212,8 @@ declare const activeAdapterSummarySchema: z.ZodObject<{
|
|
|
307
212
|
}>;
|
|
308
213
|
state: z.ZodEnum<{
|
|
309
214
|
ready: "ready";
|
|
310
|
-
busy: "busy";
|
|
311
215
|
blocked: "blocked";
|
|
216
|
+
busy: "busy";
|
|
312
217
|
}>;
|
|
313
218
|
canDispatch: z.ZodBoolean;
|
|
314
219
|
connectedAt: z.ZodISODateTime;
|
|
@@ -322,10 +227,10 @@ declare const dispatchSummarySchema: z.ZodObject<{
|
|
|
322
227
|
revision: z.ZodNumber;
|
|
323
228
|
phase: z.ZodEnum<{
|
|
324
229
|
queued: "queued";
|
|
325
|
-
dispatching: "dispatching";
|
|
326
|
-
completed: "completed";
|
|
327
230
|
failed: "failed";
|
|
328
231
|
dispatched: "dispatched";
|
|
232
|
+
completed: "completed";
|
|
233
|
+
dispatching: "dispatching";
|
|
329
234
|
working: "working";
|
|
330
235
|
"delivery-unknown": "delivery-unknown";
|
|
331
236
|
}>;
|
|
@@ -365,16 +270,17 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
|
|
|
365
270
|
line: z.ZodOptional<z.ZodNumber>;
|
|
366
271
|
column: z.ZodOptional<z.ZodNumber>;
|
|
367
272
|
origin: z.ZodEnum<{
|
|
368
|
-
none: "none";
|
|
369
273
|
"jsx-host": "jsx-host";
|
|
274
|
+
"astro-host": "astro-host";
|
|
370
275
|
"react-fiber": "react-fiber";
|
|
371
276
|
"dom-ancestor": "dom-ancestor";
|
|
277
|
+
none: "none";
|
|
372
278
|
}>;
|
|
373
279
|
confidence: z.ZodEnum<{
|
|
374
|
-
unknown: "unknown";
|
|
375
280
|
exact: "exact";
|
|
376
281
|
probable: "probable";
|
|
377
282
|
approximate: "approximate";
|
|
283
|
+
unknown: "unknown";
|
|
378
284
|
}>;
|
|
379
285
|
}, z.core.$strict>;
|
|
380
286
|
react: z.ZodObject<{
|
|
@@ -390,16 +296,17 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
|
|
|
390
296
|
line: z.ZodOptional<z.ZodNumber>;
|
|
391
297
|
column: z.ZodOptional<z.ZodNumber>;
|
|
392
298
|
origin: z.ZodEnum<{
|
|
393
|
-
none: "none";
|
|
394
299
|
"jsx-host": "jsx-host";
|
|
300
|
+
"astro-host": "astro-host";
|
|
395
301
|
"react-fiber": "react-fiber";
|
|
396
302
|
"dom-ancestor": "dom-ancestor";
|
|
303
|
+
none: "none";
|
|
397
304
|
}>;
|
|
398
305
|
confidence: z.ZodEnum<{
|
|
399
|
-
unknown: "unknown";
|
|
400
306
|
exact: "exact";
|
|
401
307
|
probable: "probable";
|
|
402
308
|
approximate: "approximate";
|
|
309
|
+
unknown: "unknown";
|
|
403
310
|
}>;
|
|
404
311
|
}, z.core.$strict>>;
|
|
405
312
|
}, z.core.$strict>;
|
|
@@ -433,6 +340,7 @@ declare const externalHandoffPublishRequestSchema: z.ZodObject<{
|
|
|
433
340
|
language: z.ZodEnum<{
|
|
434
341
|
tsx: "tsx";
|
|
435
342
|
jsx: "jsx";
|
|
343
|
+
astro: "astro";
|
|
436
344
|
}>;
|
|
437
345
|
startLine: z.ZodNumber;
|
|
438
346
|
endLine: z.ZodNumber;
|
|
@@ -467,8 +375,8 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
|
|
|
467
375
|
}>;
|
|
468
376
|
state: z.ZodEnum<{
|
|
469
377
|
ready: "ready";
|
|
470
|
-
busy: "busy";
|
|
471
378
|
blocked: "blocked";
|
|
379
|
+
busy: "busy";
|
|
472
380
|
}>;
|
|
473
381
|
canDispatch: z.ZodBoolean;
|
|
474
382
|
connectedAt: z.ZodISODateTime;
|
|
@@ -482,10 +390,10 @@ declare const externalHandoffCapabilitySchema: z.ZodObject<{
|
|
|
482
390
|
revision: z.ZodNumber;
|
|
483
391
|
phase: z.ZodEnum<{
|
|
484
392
|
queued: "queued";
|
|
485
|
-
dispatching: "dispatching";
|
|
486
|
-
completed: "completed";
|
|
487
393
|
failed: "failed";
|
|
488
394
|
dispatched: "dispatched";
|
|
395
|
+
completed: "completed";
|
|
396
|
+
dispatching: "dispatching";
|
|
489
397
|
working: "working";
|
|
490
398
|
"delivery-unknown": "delivery-unknown";
|
|
491
399
|
}>;
|
|
@@ -503,8 +411,8 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
503
411
|
}>;
|
|
504
412
|
state: z.ZodEnum<{
|
|
505
413
|
ready: "ready";
|
|
506
|
-
busy: "busy";
|
|
507
414
|
blocked: "blocked";
|
|
415
|
+
busy: "busy";
|
|
508
416
|
}>;
|
|
509
417
|
canDispatch: z.ZodBoolean;
|
|
510
418
|
connectedAt: z.ZodISODateTime;
|
|
@@ -518,10 +426,10 @@ declare const externalHandoffPublishDeliverySchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
518
426
|
revision: z.ZodNumber;
|
|
519
427
|
phase: z.ZodEnum<{
|
|
520
428
|
queued: "queued";
|
|
521
|
-
dispatching: "dispatching";
|
|
522
|
-
completed: "completed";
|
|
523
429
|
failed: "failed";
|
|
524
430
|
dispatched: "dispatched";
|
|
431
|
+
completed: "completed";
|
|
432
|
+
dispatching: "dispatching";
|
|
525
433
|
working: "working";
|
|
526
434
|
"delivery-unknown": "delivery-unknown";
|
|
527
435
|
}>;
|
|
@@ -532,6 +440,7 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
532
440
|
handoff: z.ZodObject<{
|
|
533
441
|
sessionId: z.ZodString;
|
|
534
442
|
framework: z.ZodEnum<{
|
|
443
|
+
astro: "astro";
|
|
535
444
|
vite: "vite";
|
|
536
445
|
next: "next";
|
|
537
446
|
}>;
|
|
@@ -545,8 +454,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
545
454
|
publishedAt: z.ZodISODateTime;
|
|
546
455
|
expiresAt: z.ZodISODateTime;
|
|
547
456
|
state: z.ZodEnum<{
|
|
548
|
-
available: "available";
|
|
549
457
|
expired: "expired";
|
|
458
|
+
available: "available";
|
|
550
459
|
superseded: "superseded";
|
|
551
460
|
}>;
|
|
552
461
|
pickupCount: z.ZodNumber;
|
|
@@ -563,8 +472,8 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
563
472
|
}>;
|
|
564
473
|
state: z.ZodEnum<{
|
|
565
474
|
ready: "ready";
|
|
566
|
-
busy: "busy";
|
|
567
475
|
blocked: "blocked";
|
|
476
|
+
busy: "busy";
|
|
568
477
|
}>;
|
|
569
478
|
canDispatch: z.ZodBoolean;
|
|
570
479
|
connectedAt: z.ZodISODateTime;
|
|
@@ -578,10 +487,10 @@ declare const externalHandoffPublishResultSchema: z.ZodObject<{
|
|
|
578
487
|
revision: z.ZodNumber;
|
|
579
488
|
phase: z.ZodEnum<{
|
|
580
489
|
queued: "queued";
|
|
581
|
-
dispatching: "dispatching";
|
|
582
|
-
completed: "completed";
|
|
583
490
|
failed: "failed";
|
|
584
491
|
dispatched: "dispatched";
|
|
492
|
+
completed: "completed";
|
|
493
|
+
dispatching: "dispatching";
|
|
585
494
|
working: "working";
|
|
586
495
|
"delivery-unknown": "delivery-unknown";
|
|
587
496
|
}>;
|
|
@@ -594,6 +503,7 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
594
503
|
handoff: z.ZodObject<{
|
|
595
504
|
sessionId: z.ZodString;
|
|
596
505
|
framework: z.ZodEnum<{
|
|
506
|
+
astro: "astro";
|
|
597
507
|
vite: "vite";
|
|
598
508
|
next: "next";
|
|
599
509
|
}>;
|
|
@@ -607,8 +517,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
607
517
|
publishedAt: z.ZodISODateTime;
|
|
608
518
|
expiresAt: z.ZodISODateTime;
|
|
609
519
|
state: z.ZodEnum<{
|
|
610
|
-
available: "available";
|
|
611
520
|
expired: "expired";
|
|
521
|
+
available: "available";
|
|
612
522
|
superseded: "superseded";
|
|
613
523
|
}>;
|
|
614
524
|
pickupCount: z.ZodNumber;
|
|
@@ -621,8 +531,8 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
621
531
|
}>;
|
|
622
532
|
state: z.ZodEnum<{
|
|
623
533
|
ready: "ready";
|
|
624
|
-
busy: "busy";
|
|
625
534
|
blocked: "blocked";
|
|
535
|
+
busy: "busy";
|
|
626
536
|
}>;
|
|
627
537
|
canDispatch: z.ZodBoolean;
|
|
628
538
|
connectedAt: z.ZodISODateTime;
|
|
@@ -636,10 +546,10 @@ declare const externalHandoffStatusResultSchema: z.ZodObject<{
|
|
|
636
546
|
revision: z.ZodNumber;
|
|
637
547
|
phase: z.ZodEnum<{
|
|
638
548
|
queued: "queued";
|
|
639
|
-
dispatching: "dispatching";
|
|
640
|
-
completed: "completed";
|
|
641
549
|
failed: "failed";
|
|
642
550
|
dispatched: "dispatched";
|
|
551
|
+
completed: "completed";
|
|
552
|
+
dispatching: "dispatching";
|
|
643
553
|
working: "working";
|
|
644
554
|
"delivery-unknown": "delivery-unknown";
|
|
645
555
|
}>;
|
|
@@ -717,4 +627,4 @@ type ExternalHandoffPublishRequest = z.infer<typeof externalHandoffPublishReques
|
|
|
717
627
|
type ExternalHandoffStatusRequest = z.infer<typeof externalHandoffStatusRequestSchema>;
|
|
718
628
|
type ExternalHandoffResolveDeliveryRequest = z.infer<typeof externalHandoffResolveDeliveryRequestSchema>;
|
|
719
629
|
|
|
720
|
-
export {
|
|
630
|
+
export { type ActiveAdapterSummary as A, externalHandoffCapabilitySchema as B, externalHandoffPublishDeliverySchema as C, type DispatchSummary as D, EXTERNAL_HANDOFF_LIMITS as E, externalHandoffPublishRequestSchema as F, externalHandoffPublishResultSchema as G, externalHandoffReportableDispatchPhaseSchema as H, externalHandoffResolveDeliveryRequestSchema as I, externalHandoffSnapshotSchema as J, externalHandoffStatusRequestSchema as K, externalHandoffStatusResultSchema as L, externalHandoffSummarySchema as M, type ExternalHandoffSnapshot as a, EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS as b, EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES as c, EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION as d, EXTERNAL_HANDOFF_DISPATCH_PHASES as e, EXTERNAL_HANDOFF_FRAMEWORKS as f, EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES as g, EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION as h, EXTERNAL_HANDOFF_STATES as i, type ExternalHandoffActiveAdapterKind as j, type ExternalHandoffActiveAdapterState as k, type ExternalHandoffCapability as l, type ExternalHandoffDispatchPhase as m, type ExternalHandoffFramework as n, type ExternalHandoffPublishDelivery as o, type ExternalHandoffPublishRequest as p, type ExternalHandoffPublishResult as q, type ExternalHandoffReportableDispatchPhase as r, type ExternalHandoffResolveDeliveryRequest as s, type ExternalHandoffState as t, type ExternalHandoffStatusRequest as u, type ExternalHandoffStatusResult as v, type ExternalHandoffSummary as w, activeAdapterSummarySchema as x, dispatchSummarySchema as y, externalHandoffCapabilityRequestSchema as z };
|