@reticlehq/core 3.7.0 → 3.8.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/activation-entry.d.ts +9 -0
- package/dist/activation-entry.js +9 -0
- package/dist/artifacts/drive-script.d.ts +64 -64
- package/dist/artifacts/flow-constants.d.ts +15 -0
- package/dist/artifacts/flow-constants.js +15 -0
- package/dist/artifacts/flow-expect-flat.d.ts +8 -8
- package/dist/artifacts/flow-results.d.ts +11 -0
- package/dist/artifacts/flow-types.d.ts +164 -118
- package/dist/artifacts/flow-types.js +12 -0
- package/dist/artifacts/harness-credits.d.ts +6 -3
- package/dist/artifacts/harness-credits.js +9 -6
- package/dist/artifacts/harness-map.d.ts +6 -6
- package/dist/artifacts/impact.d.ts +77 -80
- package/dist/artifacts/impact.js +34 -17
- package/dist/artifacts/journal.d.ts +25 -6
- package/dist/artifacts/journal.js +13 -0
- package/dist/artifacts/prompt-context.d.ts +12 -0
- package/dist/artifacts/prompt-context.js +14 -3
- package/dist/graph/app-graph.d.ts +137 -0
- package/dist/graph/app-graph.js +498 -0
- package/dist/hooks/hook-events.d.ts +22 -22
- package/dist/hud-entry.js +1 -1
- package/dist/identity/checkout.d.ts +41 -0
- package/dist/identity/checkout.js +118 -0
- package/dist/identity/state-dir.d.ts +23 -0
- package/dist/identity/state-dir.js +43 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/onboarding.d.ts +22 -1
- package/dist/onboarding.js +19 -0
- package/dist/registry/dev-server-registry.d.ts +2 -2
- package/dist/schema/event-message.json +3 -1
- package/dist/schema/event-payloads.json +116 -1
- package/dist/schema/event-type.json +3 -1
- package/dist/schema/hello-message.json +21 -0
- package/dist/schema/reticle-event.json +3 -1
- package/dist/schema/reticle-message.json +24 -1
- package/dist/telemetry-bug.d.ts +6 -6
- package/dist/telemetry-entry.d.ts +1 -1
- package/dist/telemetry-entry.js +1 -1
- package/dist/telemetry-feedback.d.ts +14 -0
- package/dist/telemetry-feedback.js +19 -0
- package/dist/telemetry-refusal.d.ts +2 -2
- package/dist/telemetry-session.d.ts +23 -8
- package/dist/telemetry-session.js +15 -4
- package/dist/telemetry-signals.d.ts +227 -9
- package/dist/telemetry-signals.js +88 -1
- package/dist/telemetry.d.ts +379 -72
- package/dist/telemetry.js +71 -5
- package/dist/verdict/check-sentence.d.ts +34 -0
- package/dist/verdict/check-sentence.js +228 -0
- package/dist/verdict/consequence.d.ts +15 -0
- package/dist/verdict/consequence.js +11 -0
- package/dist/verdict/findings.d.ts +10 -0
- package/dist/verdict/findings.js +13 -0
- package/dist/verdict/instrumentation-coverage.d.ts +3 -34
- package/dist/verdict/instrumentation-coverage.js +14 -58
- package/dist/verdict/instrumentation-gap.d.ts +79 -0
- package/dist/verdict/instrumentation-gap.js +64 -0
- package/dist/verdict/predicate-tree.d.ts +2 -0
- package/dist/verdict/predicate-tree.js +16 -0
- package/dist/verdict/predicate.d.ts +2 -1
- package/dist/verdict/predicate.js +103 -12
- package/dist/verdict/property-assertion.d.ts +2 -2
- package/dist/verdict/run-report.d.ts +166 -0
- package/dist/verdict/run-report.js +53 -0
- package/dist/verdict/security.d.ts +36 -2
- package/dist/verdict/security.js +94 -14
- package/dist/verdict/verification-run.d.ts +95 -38
- package/dist/verdict/verification-run.js +33 -2
- package/dist/verdict/verify-progress.d.ts +6 -6
- package/dist/wire/constants/constants.d.ts +56 -141
- package/dist/wire/constants/constants.js +64 -144
- package/dist/wire/constants/discovery.d.ts +4 -4
- package/dist/wire/constants/discovery.js +4 -4
- package/dist/wire/constants/event-types.d.ts +35 -1
- package/dist/wire/constants/event-types.js +33 -1
- package/dist/wire/constants/hud-controls.js +0 -2
- package/dist/wire/constants/hud-use.d.ts +4 -0
- package/dist/wire/constants/hud-use.js +4 -0
- package/dist/wire/constants/mcp-wire.d.ts +16 -0
- package/dist/wire/constants/mcp-wire.js +16 -0
- package/dist/wire/constants/response-body-reason.d.ts +19 -0
- package/dist/wire/constants/response-body-reason.js +18 -0
- package/dist/wire/constants/reticle-env.d.ts +138 -0
- package/dist/wire/constants/reticle-env.js +138 -0
- package/dist/wire/constants/session-constants.d.ts +11 -0
- package/dist/wire/constants/session-constants.js +11 -0
- package/dist/wire/event-payloads.d.ts +150 -36
- package/dist/wire/event-payloads.js +83 -16
- package/dist/wire/messages.d.ts +102 -36
- package/dist/wire/messages.js +16 -0
- package/dist/wire/narrow.d.ts +6 -0
- package/dist/wire/narrow.js +26 -0
- package/dist/wire/next-step.d.ts +90 -0
- package/dist/wire/next-step.js +37 -0
- package/dist/wire/platform-link.d.ts +7 -0
- package/dist/wire/platform-link.js +12 -6
- package/dist/wire/production/activation-ticket.d.ts +64 -0
- package/dist/wire/production/activation-ticket.js +148 -0
- package/dist/wire/production/hello-mode.d.ts +35 -0
- package/dist/wire/production/hello-mode.js +32 -0
- package/dist/wire/production/production-policy.d.ts +138 -0
- package/dist/wire/production/production-policy.js +133 -0
- package/dist/wire/tool-names.d.ts +2 -0
- package/dist/wire/tool-names.js +2 -0
- package/dist/wire/types.d.ts +73 -48
- package/package.json +5 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@reticlehq/core/activation` — the activation ticket, for the page loader that checks it and the
|
|
3
|
+
* service that signs it.
|
|
4
|
+
*
|
|
5
|
+
* A subpath for the reason `./hud` is one: the loader runs on every page load of a live site, and
|
|
6
|
+
* core's root entry would put the whole wire contract into it.
|
|
7
|
+
*/
|
|
8
|
+
export * from './wire/production/activation-ticket.js';
|
|
9
|
+
export * from './wire/production/hello-mode.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@reticlehq/core/activation` — the activation ticket, for the page loader that checks it and the
|
|
3
|
+
* service that signs it.
|
|
4
|
+
*
|
|
5
|
+
* A subpath for the reason `./hud` is one: the loader runs on every page load of a live site, and
|
|
6
|
+
* core's root entry would put the whole wire contract into it.
|
|
7
|
+
*/
|
|
8
|
+
export * from './wire/production/activation-ticket.js';
|
|
9
|
+
export * from './wire/production/hello-mode.js';
|
|
@@ -67,33 +67,33 @@ declare const LeafStep: z.ZodUnion<[z.ZodObject<{
|
|
|
67
67
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
kind: "act";
|
|
70
|
+
action?: string | undefined;
|
|
70
71
|
goal?: string | undefined;
|
|
71
72
|
target?: Record<string, unknown> | undefined;
|
|
72
|
-
action?: string | undefined;
|
|
73
73
|
args?: Record<string, unknown> | undefined;
|
|
74
74
|
until?: import("../index.js").Predicate | undefined;
|
|
75
75
|
maxSteps?: number | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
kind: "act";
|
|
78
|
+
action?: string | undefined;
|
|
78
79
|
goal?: string | undefined;
|
|
79
80
|
target?: Record<string, unknown> | undefined;
|
|
80
|
-
action?: string | undefined;
|
|
81
81
|
args?: Record<string, unknown> | undefined;
|
|
82
82
|
until?: import("../index.js").Predicate | undefined;
|
|
83
83
|
maxSteps?: number | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
kind: "act";
|
|
86
|
+
action?: string | undefined;
|
|
86
87
|
goal?: string | undefined;
|
|
87
88
|
target?: Record<string, unknown> | undefined;
|
|
88
|
-
action?: string | undefined;
|
|
89
89
|
args?: Record<string, unknown> | undefined;
|
|
90
90
|
until?: import("../index.js").Predicate | undefined;
|
|
91
91
|
maxSteps?: number | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
kind: "act";
|
|
94
|
+
action?: string | undefined;
|
|
94
95
|
goal?: string | undefined;
|
|
95
96
|
target?: Record<string, unknown> | undefined;
|
|
96
|
-
action?: string | undefined;
|
|
97
97
|
args?: Record<string, unknown> | undefined;
|
|
98
98
|
until?: import("../index.js").Predicate | undefined;
|
|
99
99
|
maxSteps?: number | undefined;
|
|
@@ -136,33 +136,33 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
136
136
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
kind: "act";
|
|
139
|
+
action?: string | undefined;
|
|
139
140
|
goal?: string | undefined;
|
|
140
141
|
target?: Record<string, unknown> | undefined;
|
|
141
|
-
action?: string | undefined;
|
|
142
142
|
args?: Record<string, unknown> | undefined;
|
|
143
143
|
until?: import("../index.js").Predicate | undefined;
|
|
144
144
|
maxSteps?: number | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
kind: "act";
|
|
147
|
+
action?: string | undefined;
|
|
147
148
|
goal?: string | undefined;
|
|
148
149
|
target?: Record<string, unknown> | undefined;
|
|
149
|
-
action?: string | undefined;
|
|
150
150
|
args?: Record<string, unknown> | undefined;
|
|
151
151
|
until?: import("../index.js").Predicate | undefined;
|
|
152
152
|
maxSteps?: number | undefined;
|
|
153
153
|
}>, {
|
|
154
154
|
kind: "act";
|
|
155
|
+
action?: string | undefined;
|
|
155
156
|
goal?: string | undefined;
|
|
156
157
|
target?: Record<string, unknown> | undefined;
|
|
157
|
-
action?: string | undefined;
|
|
158
158
|
args?: Record<string, unknown> | undefined;
|
|
159
159
|
until?: import("../index.js").Predicate | undefined;
|
|
160
160
|
maxSteps?: number | undefined;
|
|
161
161
|
}, {
|
|
162
162
|
kind: "act";
|
|
163
|
+
action?: string | undefined;
|
|
163
164
|
goal?: string | undefined;
|
|
164
165
|
target?: Record<string, unknown> | undefined;
|
|
165
|
-
action?: string | undefined;
|
|
166
166
|
args?: Record<string, unknown> | undefined;
|
|
167
167
|
until?: import("../index.js").Predicate | undefined;
|
|
168
168
|
maxSteps?: number | undefined;
|
|
@@ -240,33 +240,33 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
240
240
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
kind: "act";
|
|
243
|
+
action?: string | undefined;
|
|
243
244
|
goal?: string | undefined;
|
|
244
245
|
target?: Record<string, unknown> | undefined;
|
|
245
|
-
action?: string | undefined;
|
|
246
246
|
args?: Record<string, unknown> | undefined;
|
|
247
247
|
until?: import("../index.js").Predicate | undefined;
|
|
248
248
|
maxSteps?: number | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
kind: "act";
|
|
251
|
+
action?: string | undefined;
|
|
251
252
|
goal?: string | undefined;
|
|
252
253
|
target?: Record<string, unknown> | undefined;
|
|
253
|
-
action?: string | undefined;
|
|
254
254
|
args?: Record<string, unknown> | undefined;
|
|
255
255
|
until?: import("../index.js").Predicate | undefined;
|
|
256
256
|
maxSteps?: number | undefined;
|
|
257
257
|
}>, {
|
|
258
258
|
kind: "act";
|
|
259
|
+
action?: string | undefined;
|
|
259
260
|
goal?: string | undefined;
|
|
260
261
|
target?: Record<string, unknown> | undefined;
|
|
261
|
-
action?: string | undefined;
|
|
262
262
|
args?: Record<string, unknown> | undefined;
|
|
263
263
|
until?: import("../index.js").Predicate | undefined;
|
|
264
264
|
maxSteps?: number | undefined;
|
|
265
265
|
}, {
|
|
266
266
|
kind: "act";
|
|
267
|
+
action?: string | undefined;
|
|
267
268
|
goal?: string | undefined;
|
|
268
269
|
target?: Record<string, unknown> | undefined;
|
|
269
|
-
action?: string | undefined;
|
|
270
270
|
args?: Record<string, unknown> | undefined;
|
|
271
271
|
until?: import("../index.js").Predicate | undefined;
|
|
272
272
|
maxSteps?: number | undefined;
|
|
@@ -289,9 +289,9 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
289
289
|
to?: number | undefined;
|
|
290
290
|
} | {
|
|
291
291
|
kind: "act";
|
|
292
|
+
action?: string | undefined;
|
|
292
293
|
goal?: string | undefined;
|
|
293
294
|
target?: Record<string, unknown> | undefined;
|
|
294
|
-
action?: string | undefined;
|
|
295
295
|
args?: Record<string, unknown> | undefined;
|
|
296
296
|
until?: import("../index.js").Predicate | undefined;
|
|
297
297
|
maxSteps?: number | undefined;
|
|
@@ -309,9 +309,9 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
309
309
|
to?: number | undefined;
|
|
310
310
|
} | {
|
|
311
311
|
kind: "act";
|
|
312
|
+
action?: string | undefined;
|
|
312
313
|
goal?: string | undefined;
|
|
313
314
|
target?: Record<string, unknown> | undefined;
|
|
314
|
-
action?: string | undefined;
|
|
315
315
|
args?: Record<string, unknown> | undefined;
|
|
316
316
|
until?: import("../index.js").Predicate | undefined;
|
|
317
317
|
maxSteps?: number | undefined;
|
|
@@ -322,8 +322,8 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
322
322
|
when?: import("../index.js").Predicate | undefined;
|
|
323
323
|
}>, "many">;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
kind: "branch";
|
|
326
325
|
at: string;
|
|
326
|
+
kind: "branch";
|
|
327
327
|
cases: {
|
|
328
328
|
label: string;
|
|
329
329
|
steps: ({
|
|
@@ -333,9 +333,9 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
333
333
|
to?: number | undefined;
|
|
334
334
|
} | {
|
|
335
335
|
kind: "act";
|
|
336
|
+
action?: string | undefined;
|
|
336
337
|
goal?: string | undefined;
|
|
337
338
|
target?: Record<string, unknown> | undefined;
|
|
338
|
-
action?: string | undefined;
|
|
339
339
|
args?: Record<string, unknown> | undefined;
|
|
340
340
|
until?: import("../index.js").Predicate | undefined;
|
|
341
341
|
maxSteps?: number | undefined;
|
|
@@ -346,8 +346,8 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
346
346
|
when?: import("../index.js").Predicate | undefined;
|
|
347
347
|
}[];
|
|
348
348
|
}, {
|
|
349
|
-
kind: "branch";
|
|
350
349
|
at: string;
|
|
350
|
+
kind: "branch";
|
|
351
351
|
cases: {
|
|
352
352
|
label: string;
|
|
353
353
|
steps: ({
|
|
@@ -357,9 +357,9 @@ export declare const ScriptStepSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
357
357
|
to?: number | undefined;
|
|
358
358
|
} | {
|
|
359
359
|
kind: "act";
|
|
360
|
+
action?: string | undefined;
|
|
360
361
|
goal?: string | undefined;
|
|
361
362
|
target?: Record<string, unknown> | undefined;
|
|
362
|
-
action?: string | undefined;
|
|
363
363
|
args?: Record<string, unknown> | undefined;
|
|
364
364
|
until?: import("../index.js").Predicate | undefined;
|
|
365
365
|
maxSteps?: number | undefined;
|
|
@@ -418,33 +418,33 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
418
418
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
420
|
kind: "act";
|
|
421
|
+
action?: string | undefined;
|
|
421
422
|
goal?: string | undefined;
|
|
422
423
|
target?: Record<string, unknown> | undefined;
|
|
423
|
-
action?: string | undefined;
|
|
424
424
|
args?: Record<string, unknown> | undefined;
|
|
425
425
|
until?: import("../index.js").Predicate | undefined;
|
|
426
426
|
maxSteps?: number | undefined;
|
|
427
427
|
}, {
|
|
428
428
|
kind: "act";
|
|
429
|
+
action?: string | undefined;
|
|
429
430
|
goal?: string | undefined;
|
|
430
431
|
target?: Record<string, unknown> | undefined;
|
|
431
|
-
action?: string | undefined;
|
|
432
432
|
args?: Record<string, unknown> | undefined;
|
|
433
433
|
until?: import("../index.js").Predicate | undefined;
|
|
434
434
|
maxSteps?: number | undefined;
|
|
435
435
|
}>, {
|
|
436
436
|
kind: "act";
|
|
437
|
+
action?: string | undefined;
|
|
437
438
|
goal?: string | undefined;
|
|
438
439
|
target?: Record<string, unknown> | undefined;
|
|
439
|
-
action?: string | undefined;
|
|
440
440
|
args?: Record<string, unknown> | undefined;
|
|
441
441
|
until?: import("../index.js").Predicate | undefined;
|
|
442
442
|
maxSteps?: number | undefined;
|
|
443
443
|
}, {
|
|
444
444
|
kind: "act";
|
|
445
|
+
action?: string | undefined;
|
|
445
446
|
goal?: string | undefined;
|
|
446
447
|
target?: Record<string, unknown> | undefined;
|
|
447
|
-
action?: string | undefined;
|
|
448
448
|
args?: Record<string, unknown> | undefined;
|
|
449
449
|
until?: import("../index.js").Predicate | undefined;
|
|
450
450
|
maxSteps?: number | undefined;
|
|
@@ -522,33 +522,33 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
522
522
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
524
|
kind: "act";
|
|
525
|
+
action?: string | undefined;
|
|
525
526
|
goal?: string | undefined;
|
|
526
527
|
target?: Record<string, unknown> | undefined;
|
|
527
|
-
action?: string | undefined;
|
|
528
528
|
args?: Record<string, unknown> | undefined;
|
|
529
529
|
until?: import("../index.js").Predicate | undefined;
|
|
530
530
|
maxSteps?: number | undefined;
|
|
531
531
|
}, {
|
|
532
532
|
kind: "act";
|
|
533
|
+
action?: string | undefined;
|
|
533
534
|
goal?: string | undefined;
|
|
534
535
|
target?: Record<string, unknown> | undefined;
|
|
535
|
-
action?: string | undefined;
|
|
536
536
|
args?: Record<string, unknown> | undefined;
|
|
537
537
|
until?: import("../index.js").Predicate | undefined;
|
|
538
538
|
maxSteps?: number | undefined;
|
|
539
539
|
}>, {
|
|
540
540
|
kind: "act";
|
|
541
|
+
action?: string | undefined;
|
|
541
542
|
goal?: string | undefined;
|
|
542
543
|
target?: Record<string, unknown> | undefined;
|
|
543
|
-
action?: string | undefined;
|
|
544
544
|
args?: Record<string, unknown> | undefined;
|
|
545
545
|
until?: import("../index.js").Predicate | undefined;
|
|
546
546
|
maxSteps?: number | undefined;
|
|
547
547
|
}, {
|
|
548
548
|
kind: "act";
|
|
549
|
+
action?: string | undefined;
|
|
549
550
|
goal?: string | undefined;
|
|
550
551
|
target?: Record<string, unknown> | undefined;
|
|
551
|
-
action?: string | undefined;
|
|
552
552
|
args?: Record<string, unknown> | undefined;
|
|
553
553
|
until?: import("../index.js").Predicate | undefined;
|
|
554
554
|
maxSteps?: number | undefined;
|
|
@@ -571,9 +571,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
571
571
|
to?: number | undefined;
|
|
572
572
|
} | {
|
|
573
573
|
kind: "act";
|
|
574
|
+
action?: string | undefined;
|
|
574
575
|
goal?: string | undefined;
|
|
575
576
|
target?: Record<string, unknown> | undefined;
|
|
576
|
-
action?: string | undefined;
|
|
577
577
|
args?: Record<string, unknown> | undefined;
|
|
578
578
|
until?: import("../index.js").Predicate | undefined;
|
|
579
579
|
maxSteps?: number | undefined;
|
|
@@ -591,9 +591,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
591
591
|
to?: number | undefined;
|
|
592
592
|
} | {
|
|
593
593
|
kind: "act";
|
|
594
|
+
action?: string | undefined;
|
|
594
595
|
goal?: string | undefined;
|
|
595
596
|
target?: Record<string, unknown> | undefined;
|
|
596
|
-
action?: string | undefined;
|
|
597
597
|
args?: Record<string, unknown> | undefined;
|
|
598
598
|
until?: import("../index.js").Predicate | undefined;
|
|
599
599
|
maxSteps?: number | undefined;
|
|
@@ -604,8 +604,8 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
604
604
|
when?: import("../index.js").Predicate | undefined;
|
|
605
605
|
}>, "many">;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
kind: "branch";
|
|
608
607
|
at: string;
|
|
608
|
+
kind: "branch";
|
|
609
609
|
cases: {
|
|
610
610
|
label: string;
|
|
611
611
|
steps: ({
|
|
@@ -615,9 +615,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
615
615
|
to?: number | undefined;
|
|
616
616
|
} | {
|
|
617
617
|
kind: "act";
|
|
618
|
+
action?: string | undefined;
|
|
618
619
|
goal?: string | undefined;
|
|
619
620
|
target?: Record<string, unknown> | undefined;
|
|
620
|
-
action?: string | undefined;
|
|
621
621
|
args?: Record<string, unknown> | undefined;
|
|
622
622
|
until?: import("../index.js").Predicate | undefined;
|
|
623
623
|
maxSteps?: number | undefined;
|
|
@@ -628,8 +628,8 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
628
628
|
when?: import("../index.js").Predicate | undefined;
|
|
629
629
|
}[];
|
|
630
630
|
}, {
|
|
631
|
-
kind: "branch";
|
|
632
631
|
at: string;
|
|
632
|
+
kind: "branch";
|
|
633
633
|
cases: {
|
|
634
634
|
label: string;
|
|
635
635
|
steps: ({
|
|
@@ -639,9 +639,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
639
639
|
to?: number | undefined;
|
|
640
640
|
} | {
|
|
641
641
|
kind: "act";
|
|
642
|
+
action?: string | undefined;
|
|
642
643
|
goal?: string | undefined;
|
|
643
644
|
target?: Record<string, unknown> | undefined;
|
|
644
|
-
action?: string | undefined;
|
|
645
645
|
args?: Record<string, unknown> | undefined;
|
|
646
646
|
until?: import("../index.js").Predicate | undefined;
|
|
647
647
|
maxSteps?: number | undefined;
|
|
@@ -672,9 +672,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
672
672
|
to?: number | undefined;
|
|
673
673
|
} | {
|
|
674
674
|
kind: "act";
|
|
675
|
+
action?: string | undefined;
|
|
675
676
|
goal?: string | undefined;
|
|
676
677
|
target?: Record<string, unknown> | undefined;
|
|
677
|
-
action?: string | undefined;
|
|
678
678
|
args?: Record<string, unknown> | undefined;
|
|
679
679
|
until?: import("../index.js").Predicate | undefined;
|
|
680
680
|
maxSteps?: number | undefined;
|
|
@@ -689,8 +689,8 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
689
689
|
to: number;
|
|
690
690
|
};
|
|
691
691
|
} | {
|
|
692
|
-
kind: "branch";
|
|
693
692
|
at: string;
|
|
693
|
+
kind: "branch";
|
|
694
694
|
cases: {
|
|
695
695
|
label: string;
|
|
696
696
|
steps: ({
|
|
@@ -700,9 +700,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
700
700
|
to?: number | undefined;
|
|
701
701
|
} | {
|
|
702
702
|
kind: "act";
|
|
703
|
+
action?: string | undefined;
|
|
703
704
|
goal?: string | undefined;
|
|
704
705
|
target?: Record<string, unknown> | undefined;
|
|
705
|
-
action?: string | undefined;
|
|
706
706
|
args?: Record<string, unknown> | undefined;
|
|
707
707
|
until?: import("../index.js").Predicate | undefined;
|
|
708
708
|
maxSteps?: number | undefined;
|
|
@@ -732,9 +732,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
732
732
|
to?: number | undefined;
|
|
733
733
|
} | {
|
|
734
734
|
kind: "act";
|
|
735
|
+
action?: string | undefined;
|
|
735
736
|
goal?: string | undefined;
|
|
736
737
|
target?: Record<string, unknown> | undefined;
|
|
737
|
-
action?: string | undefined;
|
|
738
738
|
args?: Record<string, unknown> | undefined;
|
|
739
739
|
until?: import("../index.js").Predicate | undefined;
|
|
740
740
|
maxSteps?: number | undefined;
|
|
@@ -749,8 +749,8 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
749
749
|
to: number;
|
|
750
750
|
};
|
|
751
751
|
} | {
|
|
752
|
-
kind: "branch";
|
|
753
752
|
at: string;
|
|
753
|
+
kind: "branch";
|
|
754
754
|
cases: {
|
|
755
755
|
label: string;
|
|
756
756
|
steps: ({
|
|
@@ -760,9 +760,9 @@ export declare const JourneySchema: z.ZodObject<{
|
|
|
760
760
|
to?: number | undefined;
|
|
761
761
|
} | {
|
|
762
762
|
kind: "act";
|
|
763
|
+
action?: string | undefined;
|
|
763
764
|
goal?: string | undefined;
|
|
764
765
|
target?: Record<string, unknown> | undefined;
|
|
765
|
-
action?: string | undefined;
|
|
766
766
|
args?: Record<string, unknown> | undefined;
|
|
767
767
|
until?: import("../index.js").Predicate | undefined;
|
|
768
768
|
maxSteps?: number | undefined;
|
|
@@ -857,33 +857,33 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
857
857
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
859
|
kind: "act";
|
|
860
|
+
action?: string | undefined;
|
|
860
861
|
goal?: string | undefined;
|
|
861
862
|
target?: Record<string, unknown> | undefined;
|
|
862
|
-
action?: string | undefined;
|
|
863
863
|
args?: Record<string, unknown> | undefined;
|
|
864
864
|
until?: import("../index.js").Predicate | undefined;
|
|
865
865
|
maxSteps?: number | undefined;
|
|
866
866
|
}, {
|
|
867
867
|
kind: "act";
|
|
868
|
+
action?: string | undefined;
|
|
868
869
|
goal?: string | undefined;
|
|
869
870
|
target?: Record<string, unknown> | undefined;
|
|
870
|
-
action?: string | undefined;
|
|
871
871
|
args?: Record<string, unknown> | undefined;
|
|
872
872
|
until?: import("../index.js").Predicate | undefined;
|
|
873
873
|
maxSteps?: number | undefined;
|
|
874
874
|
}>, {
|
|
875
875
|
kind: "act";
|
|
876
|
+
action?: string | undefined;
|
|
876
877
|
goal?: string | undefined;
|
|
877
878
|
target?: Record<string, unknown> | undefined;
|
|
878
|
-
action?: string | undefined;
|
|
879
879
|
args?: Record<string, unknown> | undefined;
|
|
880
880
|
until?: import("../index.js").Predicate | undefined;
|
|
881
881
|
maxSteps?: number | undefined;
|
|
882
882
|
}, {
|
|
883
883
|
kind: "act";
|
|
884
|
+
action?: string | undefined;
|
|
884
885
|
goal?: string | undefined;
|
|
885
886
|
target?: Record<string, unknown> | undefined;
|
|
886
|
-
action?: string | undefined;
|
|
887
887
|
args?: Record<string, unknown> | undefined;
|
|
888
888
|
until?: import("../index.js").Predicate | undefined;
|
|
889
889
|
maxSteps?: number | undefined;
|
|
@@ -961,33 +961,33 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
961
961
|
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
962
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
963
|
kind: "act";
|
|
964
|
+
action?: string | undefined;
|
|
964
965
|
goal?: string | undefined;
|
|
965
966
|
target?: Record<string, unknown> | undefined;
|
|
966
|
-
action?: string | undefined;
|
|
967
967
|
args?: Record<string, unknown> | undefined;
|
|
968
968
|
until?: import("../index.js").Predicate | undefined;
|
|
969
969
|
maxSteps?: number | undefined;
|
|
970
970
|
}, {
|
|
971
971
|
kind: "act";
|
|
972
|
+
action?: string | undefined;
|
|
972
973
|
goal?: string | undefined;
|
|
973
974
|
target?: Record<string, unknown> | undefined;
|
|
974
|
-
action?: string | undefined;
|
|
975
975
|
args?: Record<string, unknown> | undefined;
|
|
976
976
|
until?: import("../index.js").Predicate | undefined;
|
|
977
977
|
maxSteps?: number | undefined;
|
|
978
978
|
}>, {
|
|
979
979
|
kind: "act";
|
|
980
|
+
action?: string | undefined;
|
|
980
981
|
goal?: string | undefined;
|
|
981
982
|
target?: Record<string, unknown> | undefined;
|
|
982
|
-
action?: string | undefined;
|
|
983
983
|
args?: Record<string, unknown> | undefined;
|
|
984
984
|
until?: import("../index.js").Predicate | undefined;
|
|
985
985
|
maxSteps?: number | undefined;
|
|
986
986
|
}, {
|
|
987
987
|
kind: "act";
|
|
988
|
+
action?: string | undefined;
|
|
988
989
|
goal?: string | undefined;
|
|
989
990
|
target?: Record<string, unknown> | undefined;
|
|
990
|
-
action?: string | undefined;
|
|
991
991
|
args?: Record<string, unknown> | undefined;
|
|
992
992
|
until?: import("../index.js").Predicate | undefined;
|
|
993
993
|
maxSteps?: number | undefined;
|
|
@@ -1010,9 +1010,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1010
1010
|
to?: number | undefined;
|
|
1011
1011
|
} | {
|
|
1012
1012
|
kind: "act";
|
|
1013
|
+
action?: string | undefined;
|
|
1013
1014
|
goal?: string | undefined;
|
|
1014
1015
|
target?: Record<string, unknown> | undefined;
|
|
1015
|
-
action?: string | undefined;
|
|
1016
1016
|
args?: Record<string, unknown> | undefined;
|
|
1017
1017
|
until?: import("../index.js").Predicate | undefined;
|
|
1018
1018
|
maxSteps?: number | undefined;
|
|
@@ -1030,9 +1030,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1030
1030
|
to?: number | undefined;
|
|
1031
1031
|
} | {
|
|
1032
1032
|
kind: "act";
|
|
1033
|
+
action?: string | undefined;
|
|
1033
1034
|
goal?: string | undefined;
|
|
1034
1035
|
target?: Record<string, unknown> | undefined;
|
|
1035
|
-
action?: string | undefined;
|
|
1036
1036
|
args?: Record<string, unknown> | undefined;
|
|
1037
1037
|
until?: import("../index.js").Predicate | undefined;
|
|
1038
1038
|
maxSteps?: number | undefined;
|
|
@@ -1043,8 +1043,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1043
1043
|
when?: import("../index.js").Predicate | undefined;
|
|
1044
1044
|
}>, "many">;
|
|
1045
1045
|
}, "strip", z.ZodTypeAny, {
|
|
1046
|
-
kind: "branch";
|
|
1047
1046
|
at: string;
|
|
1047
|
+
kind: "branch";
|
|
1048
1048
|
cases: {
|
|
1049
1049
|
label: string;
|
|
1050
1050
|
steps: ({
|
|
@@ -1054,9 +1054,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1054
1054
|
to?: number | undefined;
|
|
1055
1055
|
} | {
|
|
1056
1056
|
kind: "act";
|
|
1057
|
+
action?: string | undefined;
|
|
1057
1058
|
goal?: string | undefined;
|
|
1058
1059
|
target?: Record<string, unknown> | undefined;
|
|
1059
|
-
action?: string | undefined;
|
|
1060
1060
|
args?: Record<string, unknown> | undefined;
|
|
1061
1061
|
until?: import("../index.js").Predicate | undefined;
|
|
1062
1062
|
maxSteps?: number | undefined;
|
|
@@ -1067,8 +1067,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1067
1067
|
when?: import("../index.js").Predicate | undefined;
|
|
1068
1068
|
}[];
|
|
1069
1069
|
}, {
|
|
1070
|
-
kind: "branch";
|
|
1071
1070
|
at: string;
|
|
1071
|
+
kind: "branch";
|
|
1072
1072
|
cases: {
|
|
1073
1073
|
label: string;
|
|
1074
1074
|
steps: ({
|
|
@@ -1078,9 +1078,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1078
1078
|
to?: number | undefined;
|
|
1079
1079
|
} | {
|
|
1080
1080
|
kind: "act";
|
|
1081
|
+
action?: string | undefined;
|
|
1081
1082
|
goal?: string | undefined;
|
|
1082
1083
|
target?: Record<string, unknown> | undefined;
|
|
1083
|
-
action?: string | undefined;
|
|
1084
1084
|
args?: Record<string, unknown> | undefined;
|
|
1085
1085
|
until?: import("../index.js").Predicate | undefined;
|
|
1086
1086
|
maxSteps?: number | undefined;
|
|
@@ -1111,9 +1111,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1111
1111
|
to?: number | undefined;
|
|
1112
1112
|
} | {
|
|
1113
1113
|
kind: "act";
|
|
1114
|
+
action?: string | undefined;
|
|
1114
1115
|
goal?: string | undefined;
|
|
1115
1116
|
target?: Record<string, unknown> | undefined;
|
|
1116
|
-
action?: string | undefined;
|
|
1117
1117
|
args?: Record<string, unknown> | undefined;
|
|
1118
1118
|
until?: import("../index.js").Predicate | undefined;
|
|
1119
1119
|
maxSteps?: number | undefined;
|
|
@@ -1128,8 +1128,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1128
1128
|
to: number;
|
|
1129
1129
|
};
|
|
1130
1130
|
} | {
|
|
1131
|
-
kind: "branch";
|
|
1132
1131
|
at: string;
|
|
1132
|
+
kind: "branch";
|
|
1133
1133
|
cases: {
|
|
1134
1134
|
label: string;
|
|
1135
1135
|
steps: ({
|
|
@@ -1139,9 +1139,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1139
1139
|
to?: number | undefined;
|
|
1140
1140
|
} | {
|
|
1141
1141
|
kind: "act";
|
|
1142
|
+
action?: string | undefined;
|
|
1142
1143
|
goal?: string | undefined;
|
|
1143
1144
|
target?: Record<string, unknown> | undefined;
|
|
1144
|
-
action?: string | undefined;
|
|
1145
1145
|
args?: Record<string, unknown> | undefined;
|
|
1146
1146
|
until?: import("../index.js").Predicate | undefined;
|
|
1147
1147
|
maxSteps?: number | undefined;
|
|
@@ -1171,9 +1171,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1171
1171
|
to?: number | undefined;
|
|
1172
1172
|
} | {
|
|
1173
1173
|
kind: "act";
|
|
1174
|
+
action?: string | undefined;
|
|
1174
1175
|
goal?: string | undefined;
|
|
1175
1176
|
target?: Record<string, unknown> | undefined;
|
|
1176
|
-
action?: string | undefined;
|
|
1177
1177
|
args?: Record<string, unknown> | undefined;
|
|
1178
1178
|
until?: import("../index.js").Predicate | undefined;
|
|
1179
1179
|
maxSteps?: number | undefined;
|
|
@@ -1188,8 +1188,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1188
1188
|
to: number;
|
|
1189
1189
|
};
|
|
1190
1190
|
} | {
|
|
1191
|
-
kind: "branch";
|
|
1192
1191
|
at: string;
|
|
1192
|
+
kind: "branch";
|
|
1193
1193
|
cases: {
|
|
1194
1194
|
label: string;
|
|
1195
1195
|
steps: ({
|
|
@@ -1199,9 +1199,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1199
1199
|
to?: number | undefined;
|
|
1200
1200
|
} | {
|
|
1201
1201
|
kind: "act";
|
|
1202
|
+
action?: string | undefined;
|
|
1202
1203
|
goal?: string | undefined;
|
|
1203
1204
|
target?: Record<string, unknown> | undefined;
|
|
1204
|
-
action?: string | undefined;
|
|
1205
1205
|
args?: Record<string, unknown> | undefined;
|
|
1206
1206
|
until?: import("../index.js").Predicate | undefined;
|
|
1207
1207
|
maxSteps?: number | undefined;
|
|
@@ -1248,9 +1248,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1248
1248
|
to?: number | undefined;
|
|
1249
1249
|
} | {
|
|
1250
1250
|
kind: "act";
|
|
1251
|
+
action?: string | undefined;
|
|
1251
1252
|
goal?: string | undefined;
|
|
1252
1253
|
target?: Record<string, unknown> | undefined;
|
|
1253
|
-
action?: string | undefined;
|
|
1254
1254
|
args?: Record<string, unknown> | undefined;
|
|
1255
1255
|
until?: import("../index.js").Predicate | undefined;
|
|
1256
1256
|
maxSteps?: number | undefined;
|
|
@@ -1265,8 +1265,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1265
1265
|
to: number;
|
|
1266
1266
|
};
|
|
1267
1267
|
} | {
|
|
1268
|
-
kind: "branch";
|
|
1269
1268
|
at: string;
|
|
1269
|
+
kind: "branch";
|
|
1270
1270
|
cases: {
|
|
1271
1271
|
label: string;
|
|
1272
1272
|
steps: ({
|
|
@@ -1276,9 +1276,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1276
1276
|
to?: number | undefined;
|
|
1277
1277
|
} | {
|
|
1278
1278
|
kind: "act";
|
|
1279
|
+
action?: string | undefined;
|
|
1279
1280
|
goal?: string | undefined;
|
|
1280
1281
|
target?: Record<string, unknown> | undefined;
|
|
1281
|
-
action?: string | undefined;
|
|
1282
1282
|
args?: Record<string, unknown> | undefined;
|
|
1283
1283
|
until?: import("../index.js").Predicate | undefined;
|
|
1284
1284
|
maxSteps?: number | undefined;
|
|
@@ -1321,9 +1321,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1321
1321
|
to?: number | undefined;
|
|
1322
1322
|
} | {
|
|
1323
1323
|
kind: "act";
|
|
1324
|
+
action?: string | undefined;
|
|
1324
1325
|
goal?: string | undefined;
|
|
1325
1326
|
target?: Record<string, unknown> | undefined;
|
|
1326
|
-
action?: string | undefined;
|
|
1327
1327
|
args?: Record<string, unknown> | undefined;
|
|
1328
1328
|
until?: import("../index.js").Predicate | undefined;
|
|
1329
1329
|
maxSteps?: number | undefined;
|
|
@@ -1338,8 +1338,8 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1338
1338
|
to: number;
|
|
1339
1339
|
};
|
|
1340
1340
|
} | {
|
|
1341
|
-
kind: "branch";
|
|
1342
1341
|
at: string;
|
|
1342
|
+
kind: "branch";
|
|
1343
1343
|
cases: {
|
|
1344
1344
|
label: string;
|
|
1345
1345
|
steps: ({
|
|
@@ -1349,9 +1349,9 @@ export declare const DriveScriptSchema: z.ZodObject<{
|
|
|
1349
1349
|
to?: number | undefined;
|
|
1350
1350
|
} | {
|
|
1351
1351
|
kind: "act";
|
|
1352
|
+
action?: string | undefined;
|
|
1352
1353
|
goal?: string | undefined;
|
|
1353
1354
|
target?: Record<string, unknown> | undefined;
|
|
1354
|
-
action?: string | undefined;
|
|
1355
1355
|
args?: Record<string, unknown> | undefined;
|
|
1356
1356
|
until?: import("../index.js").Predicate | undefined;
|
|
1357
1357
|
maxSteps?: number | undefined;
|
|
@@ -104,6 +104,15 @@ export type AnchorKind = (typeof AnchorKind)[keyof typeof AnchorKind];
|
|
|
104
104
|
* here" marker that a human/self-healing pass re-binds. Satisfies the anchor min(1).
|
|
105
105
|
*/
|
|
106
106
|
export declare const DEGRADED_ANCHOR_ROLE = "unresolved";
|
|
107
|
+
/**
|
|
108
|
+
* The role a document-key press (Escape, Tab, a modifier shortcut) is saved under (#1559).
|
|
109
|
+
*
|
|
110
|
+
* Such a press ran live against no element: `act` resolves it to the document and dispatches it with
|
|
111
|
+
* no ref. It has nothing to anchor to, and it needs nothing, so the saved step carries this nameless
|
|
112
|
+
* ROLE anchor, not the degraded placeholder, and replay dispatches it exactly as it ran. Only a press
|
|
113
|
+
* of a document key is read this way; on any other action the anchor addresses nothing.
|
|
114
|
+
*/
|
|
115
|
+
export declare const DOCUMENT_ANCHOR_ROLE = "document";
|
|
107
116
|
/**
|
|
108
117
|
* The JSON replacer every flow is written and sent with: a predicate flag at its default is left
|
|
109
118
|
* out. An older platform's schema rejects a key it does not know (`ignoreCase` on a text check was
|
|
@@ -234,6 +243,12 @@ export declare const DriftReason: {
|
|
|
234
243
|
* faster endpoint; the fix for SIGNAL_NOT_OBSERVED is the handler behind the action.
|
|
235
244
|
*/
|
|
236
245
|
readonly NET_STILL_IN_FLIGHT: "net_still_in_flight";
|
|
246
|
+
/**
|
|
247
|
+
* The step's action reached a target no person could have clicked: covered, of no size, or off
|
|
248
|
+
* screen after scrolling. Synthetic dispatch reaches it all the same, so the consequence can hold.
|
|
249
|
+
* Undecided, as the live act answers it, never a pass and never the app's failure.
|
|
250
|
+
*/
|
|
251
|
+
readonly TARGET_UNREACHABLE: "target_unreachable";
|
|
237
252
|
};
|
|
238
253
|
export type DriftReason = (typeof DriftReason)[keyof typeof DriftReason];
|
|
239
254
|
/**
|