@burdenoff/ui-engine 0.0.0-stage → 2026.1127.2
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/LICENSE +25 -0
- package/README.md +97 -2
- package/dist/capture.d.ts +118 -0
- package/dist/capture.js +14 -0
- package/dist/index-3v887c75.js +52 -0
- package/dist/index-c6pmt2rg.js +213 -0
- package/dist/index-n5amgh31.js +210 -0
- package/dist/index-phd8yhyg.js +224 -0
- package/dist/index-tqffkt91.js +1986 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +234 -0
- package/dist/recording.d.ts +214 -0
- package/dist/recording.js +28 -0
- package/dist/redact-credentials.d.ts +39 -0
- package/dist/replay.d.ts +144 -0
- package/dist/replay.js +20 -0
- package/dist/resolve.d.ts +43 -0
- package/dist/resolve.js +10 -0
- package/dist/script/adapters/browser-action-contract.d.ts +22 -0
- package/dist/script/adapters/from-browser-action.d.ts +7 -0
- package/dist/script/adapters/from-remote-browser.d.ts +7 -0
- package/dist/script/adapters/recording.d.ts +25 -0
- package/dist/script/adapters/to-browser-action.d.ts +8 -0
- package/dist/script/canonical.d.ts +6 -0
- package/dist/script/capabilities.d.ts +29 -0
- package/dist/script/describe.d.ts +83 -0
- package/dist/script/fingerprint.d.ts +9 -0
- package/dist/script/hash.d.ts +3 -0
- package/dist/script/index.d.ts +22 -0
- package/dist/script/json-schema.d.ts +4 -0
- package/dist/script/limits.d.ts +61 -0
- package/dist/script/parse.d.ts +31 -0
- package/dist/script/schema.d.ts +87 -0
- package/dist/script/types.d.ts +489 -0
- package/dist/script/walk.d.ts +29 -0
- package/dist/script.d.ts +2 -0
- package/dist/script.js +175 -0
- package/package.json +101 -4
- package/schema/ui-script-v1.schema.json +8199 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @burdenoff/ui-engine: the shared, browser-safe UI automation engine.
|
|
3
|
+
*
|
|
4
|
+
* Each module is also published as its own subpath (`@burdenoff/ui-engine/recording`,
|
|
5
|
+
* `/capture`, `/resolve`, `/replay`), so a consumer can load only what it uses.
|
|
6
|
+
*/
|
|
7
|
+
export { MAX_RECORDED_STEPS, RECORDING_VERSION, REPLAYABLE_ACTIONS, type RecordedStep, type RecordedTarget, type Recording, RecordingError, type ReplayableAction, SAVED_STEP_AUTHORS, type SavedStepAuthor, isSavedStepAuthor, parseRecording, recordedStepSchema, recordedTargetSchema, recordingSchema, sha256Hex, targetFingerprint, } from './recording.js';
|
|
8
|
+
export { type CaptureResult, REDACTED, type RecorderElement, type RecorderEvent, type RecorderScreenshot, captureRecording, maskUrl, redactCredentials, } from './capture.js';
|
|
9
|
+
export { MAX_SNAPSHOT_NODES, type ResolveOutcome, type SnapshotNode, readSnapshotNodes, resolveTarget, } from './resolve.js';
|
|
10
|
+
export { type FallbackReason, type ReplayCallKind, type ReplayCallOutcome, type ReplayChatMessage, type ReplayFunctionCall, type ReplayOptions, type ReplayPlan, type ReplaySource, type ReplayState, afterReplayCall, finishFallback, markFallbackAsked, planReplay, readReplayState, replayReasons, replayStateFrom, } from './replay.js';
|
|
11
|
+
export * from './script.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import {
|
|
2
|
+
REDACTED2,
|
|
3
|
+
redactCredentials2,
|
|
4
|
+
sha256Hex2,
|
|
5
|
+
RECORDING_VERSION2,
|
|
6
|
+
MAX_RECORDED_STEPS2,
|
|
7
|
+
SAVED_STEP_AUTHORS2,
|
|
8
|
+
REPLAYABLE_ACTIONS2,
|
|
9
|
+
recordedTargetSchema2,
|
|
10
|
+
recordedStepSchema2,
|
|
11
|
+
recordingSchema2,
|
|
12
|
+
targetFingerprint2,
|
|
13
|
+
RecordingError2,
|
|
14
|
+
parseRecording2,
|
|
15
|
+
isSavedStepAuthor2
|
|
16
|
+
} from "./index-c6pmt2rg.js";
|
|
17
|
+
import {
|
|
18
|
+
maskUrl2,
|
|
19
|
+
captureRecording2
|
|
20
|
+
} from "./index-phd8yhyg.js";
|
|
21
|
+
import {
|
|
22
|
+
MAX_SNAPSHOT_NODES2,
|
|
23
|
+
readSnapshotNodes2,
|
|
24
|
+
resolveTarget2
|
|
25
|
+
} from "./index-3v887c75.js";
|
|
26
|
+
import {
|
|
27
|
+
replayStateFrom2,
|
|
28
|
+
readReplayState2,
|
|
29
|
+
planReplay2,
|
|
30
|
+
afterReplayCall2,
|
|
31
|
+
finishFallback2,
|
|
32
|
+
markFallbackAsked2,
|
|
33
|
+
replayReasons2
|
|
34
|
+
} from "./index-n5amgh31.js";
|
|
35
|
+
import {
|
|
36
|
+
UI_EXPRESSION_OPS2,
|
|
37
|
+
UI_ANCHOR_RELATIONS2,
|
|
38
|
+
UI_TARGET_METHOD_KINDS2,
|
|
39
|
+
UI_WEB_ACTIONS2,
|
|
40
|
+
UI_DESKTOP_ACTIONS2,
|
|
41
|
+
UI_FLOW_ACTIONS2,
|
|
42
|
+
UI_STEP_ACTIONS2,
|
|
43
|
+
UI_VALUE_TYPES2,
|
|
44
|
+
UI_SCRIPT_VERSION2,
|
|
45
|
+
MAX_SCRIPT_STEPS2,
|
|
46
|
+
MAX_SCRIPT_BYTES2,
|
|
47
|
+
MAX_FLOW_DEPTH2,
|
|
48
|
+
MAX_EXPRESSION_DEPTH2,
|
|
49
|
+
MAX_EXPRESSION_ITEMS2,
|
|
50
|
+
MAX_OPERATOR_ARGS2,
|
|
51
|
+
MAX_SCRIPT_INPUTS2,
|
|
52
|
+
MAX_SCRIPT_OUTPUTS2,
|
|
53
|
+
MAX_SCRIPT_VARIABLES2,
|
|
54
|
+
MAX_SCRIPT_ELEMENTS2,
|
|
55
|
+
MAX_TARGET_METHODS2,
|
|
56
|
+
MAX_FRAME_DEPTH2,
|
|
57
|
+
MAX_EXTRACT_FIELDS2,
|
|
58
|
+
MAX_LIST_ITEMS2,
|
|
59
|
+
MAX_LIST_PAGES2,
|
|
60
|
+
MAX_LOOP_ITERATIONS2,
|
|
61
|
+
MAX_RETRY_ATTEMPTS2,
|
|
62
|
+
MAX_STEP_TIMEOUT_MS2,
|
|
63
|
+
MAX_DELAY_MS2,
|
|
64
|
+
MAX_KEYS2,
|
|
65
|
+
MAX_SELECT_VALUES2,
|
|
66
|
+
MAX_SELECTOR_LENGTH2,
|
|
67
|
+
MAX_URL_LENGTH2,
|
|
68
|
+
MAX_LABEL_LENGTH2,
|
|
69
|
+
MAX_TEXT_LENGTH2,
|
|
70
|
+
MAX_INTENT_LENGTH2,
|
|
71
|
+
MAX_NAME_LENGTH2,
|
|
72
|
+
LEGACY_MAX_BROWSER_STEPS2,
|
|
73
|
+
LEGACY_MAX_STEPS_BYTES2,
|
|
74
|
+
jsonByteLength2,
|
|
75
|
+
uiScriptRegistry2,
|
|
76
|
+
NAME_PATTERN2,
|
|
77
|
+
STEP_ID_PATTERN2,
|
|
78
|
+
ELEMENT_KEY_PATTERN2,
|
|
79
|
+
uiExpressionSchema2,
|
|
80
|
+
uiTargetMethodSchema2,
|
|
81
|
+
uiTargetSchema2,
|
|
82
|
+
uiTargetRefSchema2,
|
|
83
|
+
uiStepSchema2,
|
|
84
|
+
uiScriptSchema2,
|
|
85
|
+
canonicalJson2,
|
|
86
|
+
childBlocks2,
|
|
87
|
+
walkSteps2,
|
|
88
|
+
countSteps2,
|
|
89
|
+
stepAtPath2,
|
|
90
|
+
stepTargets2,
|
|
91
|
+
stepExpressions2,
|
|
92
|
+
visitExpression2,
|
|
93
|
+
RECORDING_ACTION_OF2,
|
|
94
|
+
uiStepFingerprint2,
|
|
95
|
+
withFingerprint2,
|
|
96
|
+
UiScriptError2,
|
|
97
|
+
UI_EXPRESSION_ARITY2,
|
|
98
|
+
parseUiScript2,
|
|
99
|
+
safeParseUiScript2,
|
|
100
|
+
UI_SCRIPT_SCHEMA_HASH2,
|
|
101
|
+
schemaHashOf2,
|
|
102
|
+
UI_SCRIPT_SCHEMA_TITLE2,
|
|
103
|
+
uiScriptJsonSchema2,
|
|
104
|
+
CAPABILITY_IDS2,
|
|
105
|
+
SCRIPT_CAPABILITY2,
|
|
106
|
+
requiredCapabilities2,
|
|
107
|
+
missingCapabilities2,
|
|
108
|
+
UI_SCRIPT_STEP_KEY_PREFIX2,
|
|
109
|
+
UI_SCRIPT_STEP_MESSAGES2,
|
|
110
|
+
stepMessageKey2,
|
|
111
|
+
describeTarget2,
|
|
112
|
+
describeExpression2,
|
|
113
|
+
describeStep2,
|
|
114
|
+
BROWSER_STEP_ACTIONS2,
|
|
115
|
+
fromBrowserActionSteps2,
|
|
116
|
+
toBrowserActionSteps2,
|
|
117
|
+
targetFromPlaywrightSelector2,
|
|
118
|
+
fromRemoteBrowserSteps2,
|
|
119
|
+
fromRecording2,
|
|
120
|
+
toRecording2
|
|
121
|
+
} from "./index-tqffkt91.js";
|
|
122
|
+
export {
|
|
123
|
+
BROWSER_STEP_ACTIONS2 as BROWSER_STEP_ACTIONS,
|
|
124
|
+
CAPABILITY_IDS2 as CAPABILITY_IDS,
|
|
125
|
+
ELEMENT_KEY_PATTERN2 as ELEMENT_KEY_PATTERN,
|
|
126
|
+
LEGACY_MAX_BROWSER_STEPS2 as LEGACY_MAX_BROWSER_STEPS,
|
|
127
|
+
LEGACY_MAX_STEPS_BYTES2 as LEGACY_MAX_STEPS_BYTES,
|
|
128
|
+
MAX_DELAY_MS2 as MAX_DELAY_MS,
|
|
129
|
+
MAX_EXPRESSION_DEPTH2 as MAX_EXPRESSION_DEPTH,
|
|
130
|
+
MAX_EXPRESSION_ITEMS2 as MAX_EXPRESSION_ITEMS,
|
|
131
|
+
MAX_EXTRACT_FIELDS2 as MAX_EXTRACT_FIELDS,
|
|
132
|
+
MAX_FLOW_DEPTH2 as MAX_FLOW_DEPTH,
|
|
133
|
+
MAX_FRAME_DEPTH2 as MAX_FRAME_DEPTH,
|
|
134
|
+
MAX_INTENT_LENGTH2 as MAX_INTENT_LENGTH,
|
|
135
|
+
MAX_KEYS2 as MAX_KEYS,
|
|
136
|
+
MAX_LABEL_LENGTH2 as MAX_LABEL_LENGTH,
|
|
137
|
+
MAX_LIST_ITEMS2 as MAX_LIST_ITEMS,
|
|
138
|
+
MAX_LIST_PAGES2 as MAX_LIST_PAGES,
|
|
139
|
+
MAX_LOOP_ITERATIONS2 as MAX_LOOP_ITERATIONS,
|
|
140
|
+
MAX_NAME_LENGTH2 as MAX_NAME_LENGTH,
|
|
141
|
+
MAX_OPERATOR_ARGS2 as MAX_OPERATOR_ARGS,
|
|
142
|
+
MAX_RECORDED_STEPS2 as MAX_RECORDED_STEPS,
|
|
143
|
+
MAX_RETRY_ATTEMPTS2 as MAX_RETRY_ATTEMPTS,
|
|
144
|
+
MAX_SCRIPT_BYTES2 as MAX_SCRIPT_BYTES,
|
|
145
|
+
MAX_SCRIPT_ELEMENTS2 as MAX_SCRIPT_ELEMENTS,
|
|
146
|
+
MAX_SCRIPT_INPUTS2 as MAX_SCRIPT_INPUTS,
|
|
147
|
+
MAX_SCRIPT_OUTPUTS2 as MAX_SCRIPT_OUTPUTS,
|
|
148
|
+
MAX_SCRIPT_STEPS2 as MAX_SCRIPT_STEPS,
|
|
149
|
+
MAX_SCRIPT_VARIABLES2 as MAX_SCRIPT_VARIABLES,
|
|
150
|
+
MAX_SELECTOR_LENGTH2 as MAX_SELECTOR_LENGTH,
|
|
151
|
+
MAX_SELECT_VALUES2 as MAX_SELECT_VALUES,
|
|
152
|
+
MAX_SNAPSHOT_NODES2 as MAX_SNAPSHOT_NODES,
|
|
153
|
+
MAX_STEP_TIMEOUT_MS2 as MAX_STEP_TIMEOUT_MS,
|
|
154
|
+
MAX_TARGET_METHODS2 as MAX_TARGET_METHODS,
|
|
155
|
+
MAX_TEXT_LENGTH2 as MAX_TEXT_LENGTH,
|
|
156
|
+
MAX_URL_LENGTH2 as MAX_URL_LENGTH,
|
|
157
|
+
NAME_PATTERN2 as NAME_PATTERN,
|
|
158
|
+
RECORDING_ACTION_OF2 as RECORDING_ACTION_OF,
|
|
159
|
+
RECORDING_VERSION2 as RECORDING_VERSION,
|
|
160
|
+
REDACTED2 as REDACTED,
|
|
161
|
+
REPLAYABLE_ACTIONS2 as REPLAYABLE_ACTIONS,
|
|
162
|
+
RecordingError2 as RecordingError,
|
|
163
|
+
SAVED_STEP_AUTHORS2 as SAVED_STEP_AUTHORS,
|
|
164
|
+
SCRIPT_CAPABILITY2 as SCRIPT_CAPABILITY,
|
|
165
|
+
STEP_ID_PATTERN2 as STEP_ID_PATTERN,
|
|
166
|
+
UI_ANCHOR_RELATIONS2 as UI_ANCHOR_RELATIONS,
|
|
167
|
+
UI_DESKTOP_ACTIONS2 as UI_DESKTOP_ACTIONS,
|
|
168
|
+
UI_EXPRESSION_ARITY2 as UI_EXPRESSION_ARITY,
|
|
169
|
+
UI_EXPRESSION_OPS2 as UI_EXPRESSION_OPS,
|
|
170
|
+
UI_FLOW_ACTIONS2 as UI_FLOW_ACTIONS,
|
|
171
|
+
UI_SCRIPT_SCHEMA_HASH2 as UI_SCRIPT_SCHEMA_HASH,
|
|
172
|
+
UI_SCRIPT_SCHEMA_TITLE2 as UI_SCRIPT_SCHEMA_TITLE,
|
|
173
|
+
UI_SCRIPT_STEP_KEY_PREFIX2 as UI_SCRIPT_STEP_KEY_PREFIX,
|
|
174
|
+
UI_SCRIPT_STEP_MESSAGES2 as UI_SCRIPT_STEP_MESSAGES,
|
|
175
|
+
UI_SCRIPT_VERSION2 as UI_SCRIPT_VERSION,
|
|
176
|
+
UI_STEP_ACTIONS2 as UI_STEP_ACTIONS,
|
|
177
|
+
UI_TARGET_METHOD_KINDS2 as UI_TARGET_METHOD_KINDS,
|
|
178
|
+
UI_VALUE_TYPES2 as UI_VALUE_TYPES,
|
|
179
|
+
UI_WEB_ACTIONS2 as UI_WEB_ACTIONS,
|
|
180
|
+
UiScriptError2 as UiScriptError,
|
|
181
|
+
afterReplayCall2 as afterReplayCall,
|
|
182
|
+
canonicalJson2 as canonicalJson,
|
|
183
|
+
captureRecording2 as captureRecording,
|
|
184
|
+
childBlocks2 as childBlocks,
|
|
185
|
+
countSteps2 as countSteps,
|
|
186
|
+
describeExpression2 as describeExpression,
|
|
187
|
+
describeStep2 as describeStep,
|
|
188
|
+
describeTarget2 as describeTarget,
|
|
189
|
+
finishFallback2 as finishFallback,
|
|
190
|
+
fromBrowserActionSteps2 as fromBrowserActionSteps,
|
|
191
|
+
fromRecording2 as fromRecording,
|
|
192
|
+
fromRemoteBrowserSteps2 as fromRemoteBrowserSteps,
|
|
193
|
+
isSavedStepAuthor2 as isSavedStepAuthor,
|
|
194
|
+
jsonByteLength2 as jsonByteLength,
|
|
195
|
+
markFallbackAsked2 as markFallbackAsked,
|
|
196
|
+
maskUrl2 as maskUrl,
|
|
197
|
+
missingCapabilities2 as missingCapabilities,
|
|
198
|
+
parseRecording2 as parseRecording,
|
|
199
|
+
parseUiScript2 as parseUiScript,
|
|
200
|
+
planReplay2 as planReplay,
|
|
201
|
+
readReplayState2 as readReplayState,
|
|
202
|
+
readSnapshotNodes2 as readSnapshotNodes,
|
|
203
|
+
recordedStepSchema2 as recordedStepSchema,
|
|
204
|
+
recordedTargetSchema2 as recordedTargetSchema,
|
|
205
|
+
recordingSchema2 as recordingSchema,
|
|
206
|
+
redactCredentials2 as redactCredentials,
|
|
207
|
+
replayReasons2 as replayReasons,
|
|
208
|
+
replayStateFrom2 as replayStateFrom,
|
|
209
|
+
requiredCapabilities2 as requiredCapabilities,
|
|
210
|
+
resolveTarget2 as resolveTarget,
|
|
211
|
+
safeParseUiScript2 as safeParseUiScript,
|
|
212
|
+
schemaHashOf2 as schemaHashOf,
|
|
213
|
+
sha256Hex2 as sha256Hex,
|
|
214
|
+
stepAtPath2 as stepAtPath,
|
|
215
|
+
stepExpressions2 as stepExpressions,
|
|
216
|
+
stepMessageKey2 as stepMessageKey,
|
|
217
|
+
stepTargets2 as stepTargets,
|
|
218
|
+
targetFingerprint2 as targetFingerprint,
|
|
219
|
+
targetFromPlaywrightSelector2 as targetFromPlaywrightSelector,
|
|
220
|
+
toBrowserActionSteps2 as toBrowserActionSteps,
|
|
221
|
+
toRecording2 as toRecording,
|
|
222
|
+
uiExpressionSchema2 as uiExpressionSchema,
|
|
223
|
+
uiScriptJsonSchema2 as uiScriptJsonSchema,
|
|
224
|
+
uiScriptRegistry2 as uiScriptRegistry,
|
|
225
|
+
uiScriptSchema2 as uiScriptSchema,
|
|
226
|
+
uiStepFingerprint2 as uiStepFingerprint,
|
|
227
|
+
uiStepSchema2 as uiStepSchema,
|
|
228
|
+
uiTargetMethodSchema2 as uiTargetMethodSchema,
|
|
229
|
+
uiTargetRefSchema2 as uiTargetRefSchema,
|
|
230
|
+
uiTargetSchema2 as uiTargetSchema,
|
|
231
|
+
visitExpression2 as visitExpression,
|
|
232
|
+
walkSteps2 as walkSteps,
|
|
233
|
+
withFingerprint2 as withFingerprint
|
|
234
|
+
};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Lower-case hex sha256 of the UTF-8 bytes of `text` (same output as node:crypto). */
|
|
3
|
+
export declare function sha256Hex(text: string): string;
|
|
4
|
+
export declare const RECORDING_VERSION = 1;
|
|
5
|
+
export declare const MAX_RECORDED_STEPS = 200;
|
|
6
|
+
/** Who wrote a playbook version's saved steps (spec 10 section 3.11). There is no STEWARD value, by design. */
|
|
7
|
+
export declare const SAVED_STEP_AUTHORS: readonly ["PERSON", "TEACH_MODE", "IMPORT"];
|
|
8
|
+
export type SavedStepAuthor = (typeof SAVED_STEP_AUTHORS)[number];
|
|
9
|
+
/** Desk actions a recording may replay. Shell and file actions are never replayed without the model. */
|
|
10
|
+
export declare const REPLAYABLE_ACTIONS: readonly ["click", "type", "secret_fill", "key", "scroll", "navigate", "focus_window"];
|
|
11
|
+
export type ReplayableAction = (typeof REPLAYABLE_ACTIONS)[number];
|
|
12
|
+
export declare const recordedTargetSchema: z.ZodObject<{
|
|
13
|
+
app: z.ZodOptional<z.ZodString>;
|
|
14
|
+
window: z.ZodOptional<z.ZodString>;
|
|
15
|
+
role: z.ZodString;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export type RecordedTarget = z.infer<typeof recordedTargetSchema>;
|
|
20
|
+
export declare const recordedStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21
|
+
action: z.ZodLiteral<"click">;
|
|
22
|
+
button: z.ZodDefault<z.ZodEnum<{
|
|
23
|
+
left: "left";
|
|
24
|
+
right: "right";
|
|
25
|
+
}>>;
|
|
26
|
+
count: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
27
|
+
target: z.ZodObject<{
|
|
28
|
+
app: z.ZodOptional<z.ZodString>;
|
|
29
|
+
window: z.ZodOptional<z.ZodString>;
|
|
30
|
+
role: z.ZodString;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
intent: z.ZodString;
|
|
36
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
37
|
+
fingerprint: z.ZodString;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
action: z.ZodLiteral<"type">;
|
|
40
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
app: z.ZodOptional<z.ZodString>;
|
|
42
|
+
window: z.ZodOptional<z.ZodString>;
|
|
43
|
+
role: z.ZodString;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
46
|
+
}, z.core.$strict>>;
|
|
47
|
+
text: z.ZodOptional<z.ZodString>;
|
|
48
|
+
masked: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
id: z.ZodString;
|
|
50
|
+
intent: z.ZodString;
|
|
51
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
52
|
+
fingerprint: z.ZodString;
|
|
53
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
54
|
+
action: z.ZodLiteral<"secret_fill">;
|
|
55
|
+
secretRef: z.ZodString;
|
|
56
|
+
expectedOrigin: z.ZodURL;
|
|
57
|
+
target: z.ZodObject<{
|
|
58
|
+
app: z.ZodOptional<z.ZodString>;
|
|
59
|
+
window: z.ZodOptional<z.ZodString>;
|
|
60
|
+
role: z.ZodString;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
intent: z.ZodString;
|
|
66
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
67
|
+
fingerprint: z.ZodString;
|
|
68
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
69
|
+
action: z.ZodLiteral<"key">;
|
|
70
|
+
keys: z.ZodArray<z.ZodString>;
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
intent: z.ZodString;
|
|
73
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
74
|
+
fingerprint: z.ZodString;
|
|
75
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
76
|
+
action: z.ZodLiteral<"scroll">;
|
|
77
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
app: z.ZodOptional<z.ZodString>;
|
|
79
|
+
window: z.ZodOptional<z.ZodString>;
|
|
80
|
+
role: z.ZodString;
|
|
81
|
+
name: z.ZodString;
|
|
82
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
dx: z.ZodInt;
|
|
85
|
+
dy: z.ZodInt;
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
intent: z.ZodString;
|
|
88
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
89
|
+
fingerprint: z.ZodString;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
action: z.ZodLiteral<"navigate">;
|
|
92
|
+
url: z.ZodURL;
|
|
93
|
+
id: z.ZodString;
|
|
94
|
+
intent: z.ZodString;
|
|
95
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
96
|
+
fingerprint: z.ZodString;
|
|
97
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
98
|
+
action: z.ZodLiteral<"focus_window">;
|
|
99
|
+
app: z.ZodString;
|
|
100
|
+
title: z.ZodOptional<z.ZodString>;
|
|
101
|
+
id: z.ZodString;
|
|
102
|
+
intent: z.ZodString;
|
|
103
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
104
|
+
fingerprint: z.ZodString;
|
|
105
|
+
}, z.core.$strict>], "action">;
|
|
106
|
+
export type RecordedStep = z.infer<typeof recordedStepSchema>;
|
|
107
|
+
export declare const recordingSchema: z.ZodObject<{
|
|
108
|
+
version: z.ZodLiteral<1>;
|
|
109
|
+
steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
|
+
action: z.ZodLiteral<"click">;
|
|
111
|
+
button: z.ZodDefault<z.ZodEnum<{
|
|
112
|
+
left: "left";
|
|
113
|
+
right: "right";
|
|
114
|
+
}>>;
|
|
115
|
+
count: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
116
|
+
target: z.ZodObject<{
|
|
117
|
+
app: z.ZodOptional<z.ZodString>;
|
|
118
|
+
window: z.ZodOptional<z.ZodString>;
|
|
119
|
+
role: z.ZodString;
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
intent: z.ZodString;
|
|
125
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
126
|
+
fingerprint: z.ZodString;
|
|
127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
128
|
+
action: z.ZodLiteral<"type">;
|
|
129
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
app: z.ZodOptional<z.ZodString>;
|
|
131
|
+
window: z.ZodOptional<z.ZodString>;
|
|
132
|
+
role: z.ZodString;
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
135
|
+
}, z.core.$strict>>;
|
|
136
|
+
text: z.ZodOptional<z.ZodString>;
|
|
137
|
+
masked: z.ZodDefault<z.ZodBoolean>;
|
|
138
|
+
id: z.ZodString;
|
|
139
|
+
intent: z.ZodString;
|
|
140
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
141
|
+
fingerprint: z.ZodString;
|
|
142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
143
|
+
action: z.ZodLiteral<"secret_fill">;
|
|
144
|
+
secretRef: z.ZodString;
|
|
145
|
+
expectedOrigin: z.ZodURL;
|
|
146
|
+
target: z.ZodObject<{
|
|
147
|
+
app: z.ZodOptional<z.ZodString>;
|
|
148
|
+
window: z.ZodOptional<z.ZodString>;
|
|
149
|
+
role: z.ZodString;
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
intent: z.ZodString;
|
|
155
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
156
|
+
fingerprint: z.ZodString;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
action: z.ZodLiteral<"key">;
|
|
159
|
+
keys: z.ZodArray<z.ZodString>;
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
intent: z.ZodString;
|
|
162
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
163
|
+
fingerprint: z.ZodString;
|
|
164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
+
action: z.ZodLiteral<"scroll">;
|
|
166
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
app: z.ZodOptional<z.ZodString>;
|
|
168
|
+
window: z.ZodOptional<z.ZodString>;
|
|
169
|
+
role: z.ZodString;
|
|
170
|
+
name: z.ZodString;
|
|
171
|
+
nth: z.ZodDefault<z.ZodInt>;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
dx: z.ZodInt;
|
|
174
|
+
dy: z.ZodInt;
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
intent: z.ZodString;
|
|
177
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
178
|
+
fingerprint: z.ZodString;
|
|
179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
180
|
+
action: z.ZodLiteral<"navigate">;
|
|
181
|
+
url: z.ZodURL;
|
|
182
|
+
id: z.ZodString;
|
|
183
|
+
intent: z.ZodString;
|
|
184
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
185
|
+
fingerprint: z.ZodString;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
action: z.ZodLiteral<"focus_window">;
|
|
188
|
+
app: z.ZodString;
|
|
189
|
+
title: z.ZodOptional<z.ZodString>;
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
intent: z.ZodString;
|
|
192
|
+
screenshotRef: z.ZodOptional<z.ZodString>;
|
|
193
|
+
fingerprint: z.ZodString;
|
|
194
|
+
}, z.core.$strict>], "action">>;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
export type Recording = z.infer<typeof recordingSchema>;
|
|
197
|
+
/** The parts of a step that say where it acts. */
|
|
198
|
+
type FingerprintSource = {
|
|
199
|
+
action: string;
|
|
200
|
+
target?: RecordedTarget;
|
|
201
|
+
url?: string;
|
|
202
|
+
app?: string;
|
|
203
|
+
title?: string;
|
|
204
|
+
} | RecordedStep;
|
|
205
|
+
/** sha256 over the step's action and target, so a stored step cannot be silently retargeted. */
|
|
206
|
+
export declare function targetFingerprint(step: FingerprintSource): string;
|
|
207
|
+
export declare class RecordingError extends Error {
|
|
208
|
+
readonly code: 'INVALID_RECORDING' | 'FINGERPRINT_MISMATCH' | 'DUPLICATE_STEP_ID' | 'CREDENTIAL_IN_RECORDING';
|
|
209
|
+
constructor(code: 'INVALID_RECORDING' | 'FINGERPRINT_MISMATCH' | 'DUPLICATE_STEP_ID' | 'CREDENTIAL_IN_RECORDING', message: string);
|
|
210
|
+
}
|
|
211
|
+
/** A stored recording, validated: shape, unique step ids, and every fingerprint. Throws RecordingError. */
|
|
212
|
+
export declare function parseRecording(value: unknown): Recording;
|
|
213
|
+
export declare function isSavedStepAuthor(value: unknown): value is SavedStepAuthor;
|
|
214
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sha256Hex2,
|
|
3
|
+
RECORDING_VERSION2,
|
|
4
|
+
MAX_RECORDED_STEPS2,
|
|
5
|
+
SAVED_STEP_AUTHORS2,
|
|
6
|
+
REPLAYABLE_ACTIONS2,
|
|
7
|
+
recordedTargetSchema2,
|
|
8
|
+
recordedStepSchema2,
|
|
9
|
+
recordingSchema2,
|
|
10
|
+
targetFingerprint2,
|
|
11
|
+
RecordingError2,
|
|
12
|
+
parseRecording2,
|
|
13
|
+
isSavedStepAuthor2
|
|
14
|
+
} from "./index-c6pmt2rg.js";
|
|
15
|
+
export {
|
|
16
|
+
MAX_RECORDED_STEPS2 as MAX_RECORDED_STEPS,
|
|
17
|
+
RECORDING_VERSION2 as RECORDING_VERSION,
|
|
18
|
+
REPLAYABLE_ACTIONS2 as REPLAYABLE_ACTIONS,
|
|
19
|
+
RecordingError2 as RecordingError,
|
|
20
|
+
SAVED_STEP_AUTHORS2 as SAVED_STEP_AUTHORS,
|
|
21
|
+
isSavedStepAuthor2 as isSavedStepAuthor,
|
|
22
|
+
parseRecording2 as parseRecording,
|
|
23
|
+
recordedStepSchema2 as recordedStepSchema,
|
|
24
|
+
recordedTargetSchema2 as recordedTargetSchema,
|
|
25
|
+
recordingSchema2 as recordingSchema,
|
|
26
|
+
sha256Hex2 as sha256Hex,
|
|
27
|
+
targetFingerprint2 as targetFingerprint
|
|
28
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Credential redaction for provider error text (BOFF-15376).
|
|
3
|
+
*
|
|
4
|
+
* Copied from wspace-botmanor-svc `src/utils/redact-credentials.ts` at
|
|
5
|
+
* 6558d8b (BOFF-16873). Keep the patterns in step with that file until
|
|
6
|
+
* Stewards adopts this package.
|
|
7
|
+
*
|
|
8
|
+
* LLM providers echo part of the rejected key in their error bodies (for
|
|
9
|
+
* example OpenAI's "Incorrect API key provided: sk-abc***xyz"). That text is
|
|
10
|
+
* stored on execution runs, activity rows and fallback records and returned
|
|
11
|
+
* to callers, so every credential-like fragment is replaced before the text
|
|
12
|
+
* leaves the adapter. Over-redaction is acceptable; a leaked fragment is not.
|
|
13
|
+
*
|
|
14
|
+
* Added in this package: `containsCredential` and `containsCredentialInUrl`,
|
|
15
|
+
* the checks `parseRecording` uses to refuse stored text that still holds a
|
|
16
|
+
* recognisable credential, and `decodeUriText`, the lenient URL decoding that
|
|
17
|
+
* capture and parsing share.
|
|
18
|
+
*/
|
|
19
|
+
/** Same marker `LLMProvider` uses when it strips a known key from a message. */
|
|
20
|
+
export declare const REDACTED = "[REDACTED]";
|
|
21
|
+
/**
|
|
22
|
+
* Replace credential-like fragments in `text` with "[REDACTED]".
|
|
23
|
+
* Returns the input unchanged when nothing matches.
|
|
24
|
+
*/
|
|
25
|
+
export declare function redactCredentials(text: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* True when `text` still holds a fragment that `redactCredentials` would
|
|
28
|
+
* replace. Markers already in the text are allowed, so text that went through
|
|
29
|
+
* `redactCredentials` once is never reported.
|
|
30
|
+
*/
|
|
31
|
+
export declare function containsCredential(text: string): boolean;
|
|
32
|
+
/** URL text decoded for checks (`+` as a space); text that does not decode is returned as written. */
|
|
33
|
+
export declare function decodeUriText(text: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* `containsCredential` for a URL or a part of one: the text is decoded and its
|
|
36
|
+
* path and query delimiters become spaces, so `/api_key=abc/` and
|
|
37
|
+
* `?token=abc&x=1` are read as words.
|
|
38
|
+
*/
|
|
39
|
+
export declare function containsCredentialInUrl(text: string): boolean;
|
package/dist/replay.d.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Saved-step replay for steward runs (BOFF-16214, plan 5.7 and phase 6).
|
|
3
|
+
*
|
|
4
|
+
* Copied from wspace-botmanor-svc `src/modules/stewards/teach/replay.ts` at
|
|
5
|
+
* 6558d8b (BOFF-16873). Changes from that file:
|
|
6
|
+
* - the tool-call and chat-message types are local structural copies of
|
|
7
|
+
* Stewards' `ToolLoopFunctionCall` and `ToolLoopMessage`, so the package has
|
|
8
|
+
* no service imports and Stewards still type-checks against it unchanged;
|
|
9
|
+
* - `replayStateFrom` takes `unknown` instead of `Prisma.JsonValue`;
|
|
10
|
+
* - `planReplay`, `afterReplayCall` and `replayReasons` take optional
|
|
11
|
+
* `ReplayOptions` (tool names and call-id prefix). The defaults produce
|
|
12
|
+
* exactly the Stewards calls: `desk_snapshot`, `desk_<action>` and ids that
|
|
13
|
+
* start with `replay-`.
|
|
14
|
+
*
|
|
15
|
+
* A run that starts with a recording replays it step by step with no model
|
|
16
|
+
* call. Each step goes through the Action Gateway exactly like a call the
|
|
17
|
+
* model proposed, so the charter, the TOOL policy, egress, trust, taint,
|
|
18
|
+
* approvals and the effect guard all apply unchanged:
|
|
19
|
+
*
|
|
20
|
+
* 1. A step with a target first takes a desk snapshot (`desk_snapshot`).
|
|
21
|
+
* 2. The target is found again by app, window, role and label (`resolve.ts`),
|
|
22
|
+
* and the action is issued with the ref it has on this screen.
|
|
23
|
+
* 3. When the target is not on the screen, the snapshot fails or the action
|
|
24
|
+
* fails or is refused, that one step falls back to the model: it gets the
|
|
25
|
+
* step's recorded intent and the current transcript, and its calls go
|
|
26
|
+
* through the gateway too. When the model's calls for the step are done,
|
|
27
|
+
* replay goes on with the next step.
|
|
28
|
+
* 4. After the last step the run completes. With no fallback there was no
|
|
29
|
+
* model call at all.
|
|
30
|
+
*
|
|
31
|
+
* The recording in the checkpoint is the copy the run started with. The run
|
|
32
|
+
* only moves its cursor; it never edits, adds or removes saved steps, and no
|
|
33
|
+
* steward tool can write a recording.
|
|
34
|
+
*
|
|
35
|
+
* Every step row says where it came from in `verdictReasons`:
|
|
36
|
+
* `replay:snapshot:<step>`, `replay:step:<step>` and `replay:fallback:<step>:<why>`.
|
|
37
|
+
*/
|
|
38
|
+
import { type RecordedStep, type Recording } from './recording.js';
|
|
39
|
+
import { type SnapshotNode } from './resolve.js';
|
|
40
|
+
/** A function call in the OpenAI tool-calling shape (structurally Stewards' `ToolLoopFunctionCall`). */
|
|
41
|
+
export interface ReplayFunctionCall {
|
|
42
|
+
id: string;
|
|
43
|
+
type: 'function';
|
|
44
|
+
function: {
|
|
45
|
+
name: string;
|
|
46
|
+
arguments: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/** A chat message in the OpenAI tool-calling shape (structurally Stewards' `ToolLoopMessage`). */
|
|
50
|
+
export type ReplayChatMessage = {
|
|
51
|
+
role: 'system';
|
|
52
|
+
content: string;
|
|
53
|
+
} | {
|
|
54
|
+
role: 'user';
|
|
55
|
+
content: string;
|
|
56
|
+
} | {
|
|
57
|
+
role: 'assistant';
|
|
58
|
+
content: string | null;
|
|
59
|
+
tool_calls?: ReplayFunctionCall[];
|
|
60
|
+
} | {
|
|
61
|
+
role: 'tool';
|
|
62
|
+
tool_call_id: string;
|
|
63
|
+
content: string;
|
|
64
|
+
};
|
|
65
|
+
/** The kinds of call replay issues: one per saved-step action, plus the snapshot before a targeted step. */
|
|
66
|
+
export type ReplayCallKind = RecordedStep['action'] | 'snapshot';
|
|
67
|
+
/** How replay names its calls. The defaults are the Stewards desk tools. */
|
|
68
|
+
export interface ReplayOptions {
|
|
69
|
+
/** The tool a call kind maps to. Default: `desk_<kind>` (`desk_snapshot`, `desk_click`, ...). */
|
|
70
|
+
toolName?: (kind: ReplayCallKind) => string;
|
|
71
|
+
/** The prefix of every call id replay issues. Default: `replay-`. */
|
|
72
|
+
callPrefix?: string;
|
|
73
|
+
}
|
|
74
|
+
/** Where the recording came from, for the ledger. */
|
|
75
|
+
export interface ReplaySource {
|
|
76
|
+
playbookId: string | null;
|
|
77
|
+
version: number | null;
|
|
78
|
+
}
|
|
79
|
+
export interface ReplayState {
|
|
80
|
+
recording: Recording;
|
|
81
|
+
source: ReplaySource;
|
|
82
|
+
/** Index of the next saved step. */
|
|
83
|
+
cursor: number;
|
|
84
|
+
/** The last snapshot, taken for the step at `snapshotFor`. */
|
|
85
|
+
snapshot: SnapshotNode[] | null;
|
|
86
|
+
snapshotFor: number | null;
|
|
87
|
+
/** The model is handling this step; `asked` once the model has been called for it. */
|
|
88
|
+
fallback: {
|
|
89
|
+
index: number;
|
|
90
|
+
reason: string;
|
|
91
|
+
asked: boolean;
|
|
92
|
+
} | null;
|
|
93
|
+
replayed: number;
|
|
94
|
+
fallbacks: number;
|
|
95
|
+
/** The id of the call replay issued and is waiting for; only that call advances replay. */
|
|
96
|
+
awaiting: string | null;
|
|
97
|
+
}
|
|
98
|
+
export type FallbackReason = 'masked-input' | 'not-found' | 'fewer-matches' | 'no-snapshot' | 'snapshot-failed' | 'action-failed' | 'action-refused';
|
|
99
|
+
/** What the engine does next for a replaying run. */
|
|
100
|
+
export type ReplayPlan = {
|
|
101
|
+
kind: 'call';
|
|
102
|
+
state: ReplayState;
|
|
103
|
+
call: ReplayFunctionCall;
|
|
104
|
+
reasons: string[];
|
|
105
|
+
} | {
|
|
106
|
+
kind: 'fallback';
|
|
107
|
+
state: ReplayState;
|
|
108
|
+
message: ReplayChatMessage;
|
|
109
|
+
reasons: string[];
|
|
110
|
+
} | {
|
|
111
|
+
kind: 'done';
|
|
112
|
+
state: ReplayState;
|
|
113
|
+
output: string;
|
|
114
|
+
};
|
|
115
|
+
/** The run's replay state from its context (`run.context.replay`), or null when it has none. Throws RecordingError. */
|
|
116
|
+
export declare function replayStateFrom(context: unknown): ReplayState | null;
|
|
117
|
+
/** A checkpoint's replay state, read back; null when absent or unreadable (the run then works without it). */
|
|
118
|
+
export declare function readReplayState(value: unknown): ReplayState | null;
|
|
119
|
+
/** The next thing a replaying run does. Pure: the engine applies the returned state. */
|
|
120
|
+
export declare function planReplay(state: ReplayState, options?: ReplayOptions): ReplayPlan;
|
|
121
|
+
/** The outcome of a replayed call, as far as replay cares. */
|
|
122
|
+
export interface ReplayCallOutcome {
|
|
123
|
+
verdict: string;
|
|
124
|
+
data?: unknown;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Advance after a replayed call ran through the gateway. Returns the new state,
|
|
128
|
+
* or a fallback plan when the step has to go to the model. An ASKED call is
|
|
129
|
+
* not reported here: it stays pending and re-enters the gateway on resume.
|
|
130
|
+
*/
|
|
131
|
+
export declare function afterReplayCall(state: ReplayState, callId: string, outcome: ReplayCallOutcome, options?: ReplayOptions): {
|
|
132
|
+
state: ReplayState;
|
|
133
|
+
} | Extract<ReplayPlan, {
|
|
134
|
+
kind: 'fallback';
|
|
135
|
+
}>;
|
|
136
|
+
/** The model finished its fallback step (no calls left): move on to the next saved step. */
|
|
137
|
+
export declare function finishFallback(state: ReplayState): ReplayState;
|
|
138
|
+
/** The model has been called for the fallback step. */
|
|
139
|
+
export declare function markFallbackAsked(state: ReplayState): ReplayState;
|
|
140
|
+
/**
|
|
141
|
+
* What a step row records about replay: the saved step a replayed call came
|
|
142
|
+
* from, or the step a model call (or the model's tool call) stood in for.
|
|
143
|
+
*/
|
|
144
|
+
export declare function replayReasons(state: ReplayState | null | undefined, callId: string | null): string[];
|
package/dist/replay.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
replayStateFrom2,
|
|
3
|
+
readReplayState2,
|
|
4
|
+
planReplay2,
|
|
5
|
+
afterReplayCall2,
|
|
6
|
+
finishFallback2,
|
|
7
|
+
markFallbackAsked2,
|
|
8
|
+
replayReasons2
|
|
9
|
+
} from "./index-n5amgh31.js";
|
|
10
|
+
import"./index-3v887c75.js";
|
|
11
|
+
import"./index-c6pmt2rg.js";
|
|
12
|
+
export {
|
|
13
|
+
afterReplayCall2 as afterReplayCall,
|
|
14
|
+
finishFallback2 as finishFallback,
|
|
15
|
+
markFallbackAsked2 as markFallbackAsked,
|
|
16
|
+
planReplay2 as planReplay,
|
|
17
|
+
readReplayState2 as readReplayState,
|
|
18
|
+
replayReasons2 as replayReasons,
|
|
19
|
+
replayStateFrom2 as replayStateFrom
|
|
20
|
+
};
|