effect-browser 0.3.0-beta.23 → 0.3.0-beta.25
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/README.md +437 -142
- package/dist/Action.d.mts +1 -1
- package/dist/Action.mjs +61 -9
- package/dist/Action.mjs.map +1 -1
- package/dist/Browser.d.mts +2 -2
- package/dist/Browser.mjs +2 -2
- package/dist/BrowserError.d.mts +2 -2
- package/dist/BrowserError.mjs +194 -41
- package/dist/BrowserError.mjs.map +1 -1
- package/dist/BrowserEvent.d.mts +2 -2
- package/dist/BrowserEvent.mjs +185 -35
- package/dist/BrowserEvent.mjs.map +1 -1
- package/dist/Cdp.d.mts +15 -0
- package/dist/Cdp.mjs +22 -0
- package/dist/Cdp.mjs.map +1 -0
- package/dist/Change.d.mts +2 -2
- package/dist/Change.mjs +40 -7
- package/dist/Change.mjs.map +1 -1
- package/dist/Frame.d.mts +2 -2
- package/dist/Frame.mjs +132 -14
- package/dist/Frame.mjs.map +1 -1
- package/dist/InputStyle.d.mts +153 -0
- package/dist/InputStyle.mjs +2 -0
- package/dist/Layout.d.mts +2 -0
- package/dist/Layout.mjs +123 -0
- package/dist/Layout.mjs.map +1 -0
- package/dist/Overlay.d.mts +2 -0
- package/dist/Overlay.mjs +58 -0
- package/dist/Overlay.mjs.map +1 -0
- package/dist/Page.d.mts +2 -2
- package/dist/Page.mjs +2 -2
- package/dist/PageTime.d.mts +2 -0
- package/dist/PageTime.mjs +17 -0
- package/dist/PageTime.mjs.map +1 -0
- package/dist/Pose.d.mts +2 -0
- package/dist/Pose.mjs +65 -0
- package/dist/Pose.mjs.map +1 -0
- package/dist/Site.d.mts +984 -0
- package/dist/Site.mjs +110 -0
- package/dist/Site.mjs.map +1 -0
- package/dist/Snapshot.d.mts +2 -2
- package/dist/Snapshot.mjs +87 -6
- package/dist/Snapshot.mjs.map +1 -1
- package/dist/Text.d.mts +2 -0
- package/dist/Text.mjs +45 -0
- package/dist/Text.mjs.map +1 -0
- package/dist/Window.d.mts +2 -2
- package/dist/Window.mjs +31 -6
- package/dist/Window.mjs.map +1 -1
- package/dist/ai/BrowserTools.d.mts +4987 -0
- package/dist/ai/BrowserTools.mjs +3 -0
- package/dist/ai/PageControl.d.mts +286 -0
- package/dist/ai/PageControl.mjs +426 -0
- package/dist/ai/PageControl.mjs.map +1 -0
- package/dist/ai/PromptCache.d.mts +16 -0
- package/dist/ai/PromptCache.mjs +72 -0
- package/dist/ai/PromptCache.mjs.map +1 -0
- package/dist/ai/Tabs.d.mts +2 -0
- package/dist/ai/Tabs.mjs +72 -0
- package/dist/ai/Tabs.mjs.map +1 -0
- package/dist/ai/ToolError.d.mts +34 -0
- package/dist/ai/ToolError.mjs +2 -0
- package/dist/ai/index.d.mts +6 -0
- package/dist/ai/index.mjs +6 -0
- package/dist/index.d.mts +7 -15
- package/dist/index.mjs +9 -8
- package/dist/{Action-24sLOubi.d.mts → internal/Action-CkanNTUw.d.mts} +64 -4
- package/dist/{Browser-wZhwZSlG.d.mts → internal/Browser-DD9Vm1c-.d.mts} +80 -10
- package/dist/{Browser-BKPAbyys.mjs → internal/Browser-vzD7i2oj.mjs} +658 -495
- package/dist/internal/Browser-vzD7i2oj.mjs.map +1 -0
- package/dist/{BrowserError-BlcmLVzn.d.mts → internal/BrowserError-CsuRYcDX.d.mts} +187 -28
- package/dist/{BrowserEvent-lLqJ3GJS.d.mts → internal/BrowserEvent-tGPYYf6R.d.mts} +197 -18
- package/dist/internal/BrowserTools-Yi3lOX4h.mjs +497 -0
- package/dist/internal/BrowserTools-Yi3lOX4h.mjs.map +1 -0
- package/dist/{Style-AO4V7Czt.mjs → internal/InputStyle-CPzxoN4g.mjs} +94 -16
- package/dist/internal/InputStyle-CPzxoN4g.mjs.map +1 -0
- package/dist/{moment/Moment.mjs → internal/Moment-CstaX1mR.mjs} +49 -16
- package/dist/internal/Moment-CstaX1mR.mjs.map +1 -0
- package/dist/{moment/Moment.d.mts → internal/Moment-DOcldBdf.d.mts} +54 -21
- package/dist/internal/Page-BfGxn7oN.d.mts +1553 -0
- package/dist/{Page-BF5izr8R.mjs → internal/Page-DqF-tuTx.mjs} +62 -72
- package/dist/internal/Page-DqF-tuTx.mjs.map +1 -0
- package/dist/internal/Release-CFONkPDP.d.mts +39 -0
- package/dist/internal/Stage-D5ymSXDT.mjs +298 -0
- package/dist/internal/Stage-D5ymSXDT.mjs.map +1 -0
- package/dist/internal/Stillness-DCPeAN1a.mjs +1124 -0
- package/dist/internal/Stillness-DCPeAN1a.mjs.map +1 -0
- package/dist/internal/Supervisor-BcY_QNIY.d.mts +108 -0
- package/dist/internal/Supervisor-BcglY23c.mjs +531 -0
- package/dist/internal/Supervisor-BcglY23c.mjs.map +1 -0
- package/dist/internal/Tabs-dXMscIUQ.d.mts +52 -0
- package/dist/internal/TestPage-CYiYbh63.d.mts +159 -0
- package/dist/internal/ToolError-DArsRS2m.mjs +117 -0
- package/dist/internal/ToolError-DArsRS2m.mjs.map +1 -0
- package/dist/{plan/index.d.mts → internal/Walk-BNXcfZ2z.d.mts} +59 -35
- package/dist/{plan/index.mjs → internal/Walk-C5ky7uSf.mjs} +83 -51
- package/dist/internal/Walk-C5ky7uSf.mjs.map +1 -0
- package/dist/{ActionPort.mjs → internal/action-port-B5EkeGOR.mjs} +6 -12
- package/dist/internal/action-port-B5EkeGOR.mjs.map +1 -0
- package/dist/internal/cdp/workerd.d.mts +13 -0
- package/dist/internal/cdp/workerd.mjs +19 -0
- package/dist/internal/cdp/workerd.mjs.map +1 -0
- package/dist/{Clock.mjs → internal/clock-BKSAEf00.mjs} +13 -13
- package/dist/internal/clock-BKSAEf00.mjs.map +1 -0
- package/dist/{connection-2KHI4_KN.d.mts → internal/connection-BaB0vp1o.d.mts} +6 -6
- package/dist/{connection-CK83pvqP.mjs → internal/connection-C2X4GmXM.mjs} +19 -15
- package/dist/internal/connection-C2X4GmXM.mjs.map +1 -0
- package/dist/internal/events-DzCrww-y.mjs +72 -0
- package/dist/internal/events-DzCrww-y.mjs.map +1 -0
- package/dist/internal/fold.inpage-CyVZQHZL.d.mts +49 -0
- package/dist/internal/fold.inpage-uhrT-dOB.mjs +49 -0
- package/dist/internal/fold.inpage-uhrT-dOB.mjs.map +1 -0
- package/dist/internal/functions-jBOs6GKv.mjs +27 -0
- package/dist/internal/functions-jBOs6GKv.mjs.map +1 -0
- package/dist/{Geometry-DJx9qrYy.d.mts → internal/geometry-Dhj_ztJs.d.mts} +3 -3
- package/dist/{Geometry.mjs → internal/geometry-Lxyflb9J.mjs} +3 -12
- package/dist/internal/geometry-Lxyflb9J.mjs.map +1 -0
- package/dist/{Matching.mjs → internal/matching-Cs-UeOY0.mjs} +24 -19
- package/dist/internal/matching-Cs-UeOY0.mjs.map +1 -0
- package/dist/internal/page-DFQb-YOK.mjs +436 -0
- package/dist/internal/page-DFQb-YOK.mjs.map +1 -0
- package/dist/internal/pose.inpage-CBFeWcVa.mjs +1996 -0
- package/dist/internal/pose.inpage-CBFeWcVa.mjs.map +1 -0
- package/dist/{Url.mjs → internal/url-DB0pQYk6.mjs} +3 -12
- package/dist/internal/url-DB0pQYk6.mjs.map +1 -0
- package/dist/policy/Policy.d.mts +60 -6
- package/dist/policy/Policy.mjs +52 -9
- package/dist/policy/Policy.mjs.map +1 -1
- package/dist/policy/index.d.mts +2 -0
- package/dist/policy/index.mjs +2 -0
- package/dist/presentation/Film.d.mts +332 -0
- package/dist/presentation/Film.mjs +298 -0
- package/dist/presentation/Film.mjs.map +1 -0
- package/dist/presentation/Motion.d.mts +5 -1
- package/dist/presentation/Motion.mjs +16 -2
- package/dist/presentation/Motion.mjs.map +1 -1
- package/dist/presentation/Presentation.d.mts +48 -6
- package/dist/presentation/Presentation.mjs +28 -9
- package/dist/presentation/Presentation.mjs.map +1 -1
- package/dist/presentation/Stage.d.mts +40 -6
- package/dist/presentation/Stage.mjs +1 -262
- package/dist/presentation/index.d.mts +5 -0
- package/dist/presentation/index.mjs +5 -0
- package/dist/supervisor/Release.d.mts +2 -0
- package/dist/supervisor/Release.mjs +40 -0
- package/dist/supervisor/Release.mjs.map +1 -0
- package/dist/supervisor/Supervisor.d.mts +2 -104
- package/dist/supervisor/Supervisor.mjs +2 -515
- package/dist/supervisor/index.d.mts +3 -0
- package/dist/supervisor/index.mjs +3 -0
- package/dist/testing/HttpCassette.d.mts +98 -0
- package/dist/testing/HttpCassette.mjs +146 -0
- package/dist/testing/HttpCassette.mjs.map +1 -0
- package/dist/testing/Story.d.mts +31 -0
- package/dist/testing/Story.mjs +76 -0
- package/dist/testing/Story.mjs.map +1 -0
- package/dist/testing/TestBrowser.d.mts +191 -0
- package/dist/testing/TestBrowser.mjs +105 -0
- package/dist/testing/TestBrowser.mjs.map +1 -0
- package/dist/testing/TestModel.d.mts +133 -0
- package/dist/testing/TestModel.mjs +209 -0
- package/dist/testing/TestModel.mjs.map +1 -0
- package/dist/testing/TestPage.d.mts +2 -0
- package/dist/testing/TestPage.mjs +47 -0
- package/dist/testing/TestPage.mjs.map +1 -0
- package/dist/testing/index.d.mts +6 -337
- package/dist/testing/index.mjs +6 -515
- package/dist/timeline/Moment.d.mts +3 -0
- package/dist/timeline/Moment.mjs +3 -0
- package/dist/timeline/Stillness.d.mts +34 -0
- package/dist/timeline/Stillness.mjs +2 -0
- package/dist/timeline/index.d.mts +3 -0
- package/dist/timeline/index.mjs +3 -0
- package/dist/walk/Walk.d.mts +2 -0
- package/dist/walk/Walk.mjs +2 -0
- package/dist/walk/index.d.mts +2 -0
- package/dist/walk/index.mjs +2 -0
- package/package.json +54 -133
- package/src/Action.ts +73 -8
- package/src/Browser.ts +85 -14
- package/src/BrowserError.ts +258 -63
- package/src/BrowserEvent.ts +264 -48
- package/src/Cdp.ts +42 -0
- package/src/Change.ts +75 -4
- package/src/Frame.ts +247 -14
- package/src/{Style.ts → InputStyle.ts} +130 -18
- package/src/Layout.ts +187 -0
- package/src/Overlay.ts +76 -0
- package/src/Page.ts +144 -275
- package/src/PageTime.ts +72 -0
- package/src/Pose.ts +81 -0
- package/src/Site.ts +136 -0
- package/src/Snapshot.ts +179 -3
- package/src/Text.ts +60 -0
- package/src/Window.ts +53 -3
- package/src/ai/BrowserTools.ts +778 -0
- package/src/ai/PageControl.ts +702 -0
- package/src/ai/PromptCache.ts +87 -0
- package/src/ai/Tabs.ts +84 -0
- package/src/ai/ToolError.ts +50 -0
- package/src/ai/index.ts +36 -0
- package/src/ai/internal/crops.ts +38 -0
- package/src/ai/internal/points.ts +57 -0
- package/src/ai/internal/receipts.ts +107 -0
- package/src/index.ts +87 -6
- package/src/{ActionPort.ts → internal/action-port.ts} +3 -3
- package/src/{providers → internal/cdp}/connection.ts +19 -12
- package/src/internal/cdp/workerd.ts +36 -0
- package/src/{Clock.ts → internal/clock.ts} +20 -0
- package/src/internal/input/actions.ts +1 -1
- package/src/internal/input/dispatch.ts +2 -2
- package/src/internal/input/guard.inpage.ts +1 -1
- package/src/internal/input/guard.ts +1 -1
- package/src/internal/input/perform.ts +35 -7
- package/src/internal/input/pointer.ts +9 -6
- package/src/internal/input/targets.inpage.ts +3 -3
- package/src/internal/input/targets.ts +1 -1
- package/src/{Matching.ts → internal/matching.ts} +28 -19
- package/src/internal/page/bridge.ts +67 -35
- package/src/internal/page/clock.inpage.ts +306 -0
- package/src/internal/page/compose.inpage.ts +101 -0
- package/src/internal/page/context.ts +4 -2
- package/src/internal/page/functions.ts +84 -0
- package/src/internal/page/navigation.ts +1 -1
- package/src/internal/page/openings.ts +2 -2
- package/src/internal/page/overlay.inpage.ts +96 -0
- package/src/internal/page/overlay.ts +89 -0
- package/src/internal/page/page.ts +39 -29
- package/src/internal/page/port.ts +14 -8
- package/src/internal/page/pose.inpage.ts +200 -0
- package/src/internal/page/pose.ts +80 -0
- package/src/internal/page/replies.ts +1 -1
- package/src/internal/page/requests.ts +1 -1
- package/src/internal/page/scripts.ts +1 -1
- package/src/internal/page/time.inpage.ts +49 -0
- package/src/internal/page/time.ts +122 -0
- package/src/internal/page/viewport.ts +3 -2
- package/src/internal/pictures/capture.ts +1 -4
- package/src/internal/pictures/dimensions.ts +1 -1
- package/src/internal/pictures/frame.ts +1 -1
- package/src/internal/pictures/pictures.ts +144 -91
- package/src/internal/reading/context.inpage.ts +2 -2
- package/src/internal/reading/expect.inpage.ts +1 -1
- package/src/internal/reading/layout.inpage.ts +193 -0
- package/src/internal/reading/layout.ts +101 -0
- package/src/internal/reading/names.inpage.ts +15 -0
- package/src/internal/reading/outline.inpage.ts +5 -21
- package/src/internal/reading/reading.ts +33 -21
- package/src/internal/reading/ready.inpage.ts +21 -26
- package/src/internal/reading/ready.ts +26 -5
- package/src/internal/reading/subjects.inpage.ts +3 -3
- package/src/internal/reading/text.inpage.ts +3 -16
- package/src/internal/reading/walk.inpage.ts +1 -1
- package/src/internal/timeline/changes.inpage.ts +7 -15
- package/src/internal/timeline/changes.ts +17 -5
- package/src/internal/timeline/record.inpage.ts +15 -6
- package/src/internal/timeline/sight.inpage.ts +2 -2
- package/src/internal/timeline/window.ts +3 -4
- package/src/policy/Policy.ts +70 -16
- package/src/policy/index.ts +12 -0
- package/src/presentation/Film.ts +451 -0
- package/src/presentation/Motion.ts +45 -3
- package/src/presentation/Presentation.ts +60 -14
- package/src/presentation/Stage.ts +73 -35
- package/src/presentation/index.ts +30 -0
- package/src/presentation/{feed.ts → internal/feed.ts} +1 -1
- package/src/supervisor/Release.ts +45 -0
- package/src/supervisor/Supervisor.ts +80 -5
- package/src/supervisor/index.ts +18 -0
- package/src/supervisor/{contract.ts → internal/contract.ts} +14 -10
- package/src/supervisor/{lifecycle.ts → internal/lifecycle.ts} +7 -7
- package/src/supervisor/{runtime.ts → internal/runtime.ts} +7 -7
- package/src/testing/HttpCassette.ts +260 -0
- package/src/testing/Story.ts +103 -0
- package/src/testing/TestBrowser.ts +14 -4
- package/src/testing/TestModel.ts +297 -0
- package/src/testing/TestPage.ts +92 -4
- package/src/testing/index.ts +35 -1
- package/src/testing/{evidence.ts → internal/evidence.ts} +19 -11
- package/src/testing/{model.ts → internal/model.ts} +14 -8
- package/src/testing/{page.ts → internal/page.ts} +55 -51
- package/src/{moment → timeline}/Moment.ts +79 -29
- package/src/{stillness → timeline}/Stillness.ts +89 -46
- package/src/timeline/index.ts +18 -0
- package/src/{stillness/Pixels.ts → timeline/internal/pixels.ts} +27 -1
- package/src/{moment → timeline/internal}/words.ts +2 -2
- package/src/walk/Walk.ts +165 -0
- package/src/walk/index.ts +12 -0
- package/src/{plan → walk/internal}/choose.ts +23 -14
- package/src/{plan → walk/internal}/data.ts +37 -14
- package/src/{plan → walk/internal}/execute.ts +79 -36
- package/src/{plan → walk/internal}/record.ts +6 -6
- package/src/{plan → walk/internal}/targets.ts +35 -25
- package/dist/ActionPort.d.mts +0 -15
- package/dist/ActionPort.mjs.map +0 -1
- package/dist/Browser-BKPAbyys.mjs.map +0 -1
- package/dist/Change-Ba7INmay.d.mts +0 -69
- package/dist/Clock.d.mts +0 -57
- package/dist/Clock.mjs.map +0 -1
- package/dist/Frame-UEH2hO5T.d.mts +0 -124
- package/dist/Geometry.d.mts +0 -2
- package/dist/Geometry.mjs.map +0 -1
- package/dist/Matching.d.mts +0 -37
- package/dist/Matching.mjs.map +0 -1
- package/dist/Page-BF5izr8R.mjs.map +0 -1
- package/dist/Page-CvsOEorc.d.mts +0 -566
- package/dist/Released-tURbFmal.d.mts +0 -15
- package/dist/Snapshot-CtBVOtuu.d.mts +0 -73
- package/dist/Stillness-CNlvayIo.mjs +0 -136
- package/dist/Stillness-CNlvayIo.mjs.map +0 -1
- package/dist/Style-AO4V7Czt.mjs.map +0 -1
- package/dist/Style.d.mts +0 -72
- package/dist/Style.mjs +0 -2
- package/dist/Url.d.mts +0 -26
- package/dist/Url.mjs.map +0 -1
- package/dist/Window-CMddGMt1.d.mts +0 -34
- package/dist/connection-CK83pvqP.mjs.map +0 -1
- package/dist/moment/Moment.mjs.map +0 -1
- package/dist/plan/index.mjs.map +0 -1
- package/dist/presentation/Stage.mjs.map +0 -1
- package/dist/presentation/feed.d.mts +0 -20
- package/dist/presentation/feed.mjs +0 -18
- package/dist/presentation/feed.mjs.map +0 -1
- package/dist/providers/Cdp.d.mts +0 -9
- package/dist/providers/Cdp.mjs +0 -15
- package/dist/providers/Cdp.mjs.map +0 -1
- package/dist/providers/Chromium.d.mts +0 -32
- package/dist/providers/Chromium.mjs +0 -55
- package/dist/providers/Chromium.mjs.map +0 -1
- package/dist/providers/Released.d.mts +0 -2
- package/dist/providers/Released.mjs +0 -12
- package/dist/providers/Released.mjs.map +0 -1
- package/dist/stillness/Stillness.d.mts +0 -12
- package/dist/stillness/Stillness.mjs +0 -2
- package/dist/supervisor/Supervisor.mjs.map +0 -1
- package/dist/testing/index.mjs.map +0 -1
- package/dist/workerd/Cdp.d.mts +0 -8
- package/dist/workerd/Cdp.mjs +0 -13
- package/dist/workerd/Cdp.mjs.map +0 -1
- package/src/plan/index.ts +0 -36
- package/src/providers/Cdp.ts +0 -16
- package/src/providers/Chromium.ts +0 -99
- package/src/providers/Released.ts +0 -13
- package/src/workerd/Cdp.ts +0 -11
- /package/dist/{rolldown-runtime-D7D4PA-g.mjs → internal/rolldown-runtime-D7D4PA-g.mjs} +0 -0
- /package/src/{Geometry.ts → internal/geometry.ts} +0 -0
- /package/src/{Url.ts → internal/url.ts} +0 -0
- /package/src/{stillness → timeline/internal}/utilsBundle.d.ts +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/** Replay and restore with durable read-back before repeating uncertain consequential input. */
|
|
2
|
-
import { Clock, Duration, Effect, Exit, Option, Schedule, Schema } from "effect";
|
|
2
|
+
import { Clock, Duration, Effect, Exit, Function, Option, Schedule, Schema } from "effect";
|
|
3
3
|
|
|
4
|
-
import { type Action } from "
|
|
5
|
-
import { type BrowserError, InvalidRequest, undispatched } from "
|
|
6
|
-
import type
|
|
7
|
-
import * as
|
|
4
|
+
import { type Action } from "../../Action.ts";
|
|
5
|
+
import { type BrowserError, InvalidRequest, undispatched } from "../../BrowserError.ts";
|
|
6
|
+
import { isPage, type Page, type ReadyOptions, type Target } from "../../Page.ts";
|
|
7
|
+
import * as Snapshot from "../../Snapshot.ts";
|
|
8
|
+
import * as Stillness from "../../timeline/Stillness.ts";
|
|
8
9
|
import { type Ambiguous, Drifted, type Missing } from "./choose.ts";
|
|
9
|
-
import { type
|
|
10
|
+
import { type Walk, Step, Receipt, Stopped, Uncertain, ReplayError } from "./data.ts";
|
|
10
11
|
import { aim, locate } from "./targets.ts";
|
|
11
12
|
|
|
12
13
|
const invalid = (detail: string) => undispatched("replay", new InvalidRequest({ detail }));
|
|
@@ -92,7 +93,7 @@ const dispatch = (
|
|
|
92
93
|
);
|
|
93
94
|
};
|
|
94
95
|
|
|
95
|
-
export interface
|
|
96
|
+
export interface StepOptions {
|
|
96
97
|
/** How each step waits first, except an opening navigation, or false. No final-step wait. */
|
|
97
98
|
readonly settle?: ReadyOptions | false | undefined;
|
|
98
99
|
readonly inputs?: Readonly<Record<string, string>> | undefined;
|
|
@@ -103,12 +104,12 @@ export interface TakeOptions {
|
|
|
103
104
|
readonly arrival?: Duration.Input | undefined;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
export interface ReplayOptions extends
|
|
107
|
+
export interface ReplayOptions extends StepOptions {
|
|
107
108
|
readonly from?: number | Stopped | undefined;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/**
|
|
111
|
-
* Input that can be repeated without repeating a commitment. `
|
|
112
|
+
* Input that can be repeated without repeating a commitment. `step` also validates a Checked
|
|
112
113
|
* target's boolean state before input. Back/reload can resubmit a form.
|
|
113
114
|
*/
|
|
114
115
|
export const repeatable = (step: Step): boolean =>
|
|
@@ -187,7 +188,8 @@ const checkEffect = (
|
|
|
187
188
|
case "Appeared":
|
|
188
189
|
case "Gone":
|
|
189
190
|
return Effect.map(
|
|
190
|
-
|
|
191
|
+
Snapshot.until(
|
|
192
|
+
page,
|
|
191
193
|
{ ...expected.query, scope: "document" },
|
|
192
194
|
expected._tag === "Appeared" ? "some" : "none",
|
|
193
195
|
millis,
|
|
@@ -197,16 +199,11 @@ const checkEffect = (
|
|
|
197
199
|
}
|
|
198
200
|
};
|
|
199
201
|
|
|
200
|
-
|
|
201
|
-
* Take one step. Unknown non-repeatable input is never resent: only positive durable read-back
|
|
202
|
-
* can skip it. An interrupted call remains interrupted; persist begun-before-call in the consumer
|
|
203
|
-
* and treat a missing receipt as Stopped{input: "unknown"}, including after process restart.
|
|
204
|
-
*/
|
|
205
|
-
export const take = Effect.fn("Plan.take")(function* (
|
|
202
|
+
const stepOn = Effect.fn("Walk.step")(function* (
|
|
206
203
|
page: Page,
|
|
207
|
-
plan:
|
|
204
|
+
plan: Walk,
|
|
208
205
|
at: number | Stopped,
|
|
209
|
-
options:
|
|
206
|
+
options: StepOptions = {},
|
|
210
207
|
): Effect.fn.Return<Receipt, ReplayError> {
|
|
211
208
|
const index = typeof at === "number" ? at : at.step;
|
|
212
209
|
let input: Stopped["input"] = typeof at === "number" ? "unsent" : at.input;
|
|
@@ -251,12 +248,12 @@ export const take = Effect.fn("Plan.take")(function* (
|
|
|
251
248
|
options.settle !== false &&
|
|
252
249
|
(index > 0 || !["Goto", "Back", "Reload"].includes(step.action._tag))
|
|
253
250
|
)
|
|
254
|
-
yield* options.settle?.
|
|
251
|
+
yield* options.settle?.quiet === undefined
|
|
255
252
|
? page.ready(options.settle)
|
|
256
253
|
: Stillness.wait(page, {
|
|
257
254
|
...options.settle,
|
|
258
255
|
still: "content",
|
|
259
|
-
|
|
256
|
+
quiet: options.settle.quiet,
|
|
260
257
|
});
|
|
261
258
|
const before = plan.steps[index - 1]?.url;
|
|
262
259
|
|
|
@@ -324,7 +321,7 @@ export const take = Effect.fn("Plan.take")(function* (
|
|
|
324
321
|
});
|
|
325
322
|
|
|
326
323
|
return yield* work.pipe(
|
|
327
|
-
Effect.provideService(Clock.Clock, page.
|
|
324
|
+
Effect.provideService(Clock.Clock, page.hostClock),
|
|
328
325
|
Effect.mapError(
|
|
329
326
|
(reason) =>
|
|
330
327
|
new ReplayError({
|
|
@@ -339,8 +336,8 @@ export const take = Effect.fn("Plan.take")(function* (
|
|
|
339
336
|
|
|
340
337
|
const run = Effect.fnUntraced(function* (
|
|
341
338
|
page: Page,
|
|
342
|
-
plan:
|
|
343
|
-
options:
|
|
339
|
+
plan: Walk,
|
|
340
|
+
options: StepOptions,
|
|
344
341
|
from: number | Stopped,
|
|
345
342
|
until: number,
|
|
346
343
|
restoring: boolean,
|
|
@@ -384,7 +381,7 @@ const run = Effect.fnUntraced(function* (
|
|
|
384
381
|
? from
|
|
385
382
|
: index;
|
|
386
383
|
|
|
387
|
-
const receipt = yield*
|
|
384
|
+
const receipt = yield* stepOn(page, plan, at, options).pipe(
|
|
388
385
|
Effect.mapError((error) => new ReplayError({ ...error, receipts: [...receipts] })),
|
|
389
386
|
);
|
|
390
387
|
|
|
@@ -394,18 +391,64 @@ const run = Effect.fnUntraced(function* (
|
|
|
394
391
|
return receipts;
|
|
395
392
|
});
|
|
396
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Take one step. Unknown non-repeatable input is never resent: only positive durable read-back
|
|
396
|
+
* can skip it. An interrupted call remains interrupted; persist begun-before-call in the consumer
|
|
397
|
+
* and treat a missing receipt as Stopped{input: "unknown"}, including after process restart.
|
|
398
|
+
*/
|
|
399
|
+
export const step: {
|
|
400
|
+
(
|
|
401
|
+
plan: Walk,
|
|
402
|
+
at: number | Stopped,
|
|
403
|
+
options?: StepOptions,
|
|
404
|
+
): (page: Page) => Effect.Effect<Receipt, ReplayError>;
|
|
405
|
+
(
|
|
406
|
+
page: Page,
|
|
407
|
+
plan: Walk,
|
|
408
|
+
at: number | Stopped,
|
|
409
|
+
options?: StepOptions,
|
|
410
|
+
): Effect.Effect<Receipt, ReplayError>;
|
|
411
|
+
} = Function.dual((args) => isPage(args[0]), stepOn);
|
|
412
|
+
|
|
397
413
|
/** Take a plan's steps from a fresh index or durable stopping point, returning completed receipts. */
|
|
398
|
-
export const replay
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
414
|
+
export const replay: {
|
|
415
|
+
(
|
|
416
|
+
plan: Walk,
|
|
417
|
+
options?: ReplayOptions,
|
|
418
|
+
): (page: Page) => Effect.Effect<ReadonlyArray<Receipt>, ReplayError>;
|
|
419
|
+
(
|
|
420
|
+
page: Page,
|
|
421
|
+
plan: Walk,
|
|
422
|
+
options?: ReplayOptions,
|
|
423
|
+
): Effect.Effect<ReadonlyArray<Receipt>, ReplayError>;
|
|
424
|
+
} = Function.dual(
|
|
425
|
+
(args) => isPage(args[0]),
|
|
426
|
+
(page: Page, plan: Walk, options: ReplayOptions = {}) =>
|
|
427
|
+
run(page, plan, options, options.from ?? 0, plan.steps.length, false).pipe(
|
|
428
|
+
Effect.withSpan("Walk.replay"),
|
|
429
|
+
),
|
|
430
|
+
);
|
|
431
|
+
|
|
432
|
+
/** What `restore` takes: how each step waits, its inputs, and how many steps it restores. */
|
|
433
|
+
export interface RestoreOptions extends StepOptions {
|
|
434
|
+
readonly upTo?: number | undefined;
|
|
435
|
+
}
|
|
402
436
|
|
|
403
437
|
/** Restore prior steps on a fresh page; unresolved commitments require positive durable evidence. */
|
|
404
|
-
export const restore
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
) =>
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
438
|
+
export const restore: {
|
|
439
|
+
(
|
|
440
|
+
plan: Walk,
|
|
441
|
+
options?: RestoreOptions,
|
|
442
|
+
): (page: Page) => Effect.Effect<ReadonlyArray<Receipt>, ReplayError>;
|
|
443
|
+
(
|
|
444
|
+
page: Page,
|
|
445
|
+
plan: Walk,
|
|
446
|
+
options?: RestoreOptions,
|
|
447
|
+
): Effect.Effect<ReadonlyArray<Receipt>, ReplayError>;
|
|
448
|
+
} = Function.dual(
|
|
449
|
+
(args) => isPage(args[0]),
|
|
450
|
+
(page: Page, plan: Walk, options: RestoreOptions = {}) =>
|
|
451
|
+
run(page, plan, options, 0, options.upTo ?? plan.steps.length, true).pipe(
|
|
452
|
+
Effect.withSpan("Walk.restore"),
|
|
453
|
+
),
|
|
454
|
+
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Derive replay steps from typed action events without parsing rendered descriptions. */
|
|
2
|
-
import { targetOf } from "
|
|
3
|
-
import { type Action, type BrowserEvent, type Navigated } from "
|
|
4
|
-
import { redacted } from "
|
|
5
|
-
import {
|
|
2
|
+
import { targetOf } from "../../Action.ts";
|
|
3
|
+
import { type Action, type BrowserEvent, type Navigated } from "../../BrowserEvent.ts";
|
|
4
|
+
import { redacted } from "../../Page.ts";
|
|
5
|
+
import { Walk, Step } from "./data.ts";
|
|
6
6
|
|
|
7
7
|
const isStep = (
|
|
8
8
|
event: BrowserEvent,
|
|
@@ -30,7 +30,7 @@ const slotFor = (taken: Set<string>, field: string | undefined) => {
|
|
|
30
30
|
* The walk one page's events record: the completed actions of the page that acted first, in
|
|
31
31
|
* order. `page.recentEvents` gives them, or `browser.events()` read until the walk ends.
|
|
32
32
|
*/
|
|
33
|
-
export const fromEvents = (events: Iterable<BrowserEvent>):
|
|
33
|
+
export const fromEvents = (events: Iterable<BrowserEvent>): Walk => {
|
|
34
34
|
const all = Array.from(events);
|
|
35
35
|
const page = all.find((event) => event._tag === "Action")?.page;
|
|
36
36
|
const mine = all.filter((event) => "page" in event && event.page === page);
|
|
@@ -42,7 +42,7 @@ export const fromEvents = (events: Iterable<BrowserEvent>): Plan => {
|
|
|
42
42
|
// Where the page was just before a time: the last address it reached by then.
|
|
43
43
|
const before = (time: number) => moves.findLast((move) => move.at <= time)?.url ?? opened;
|
|
44
44
|
|
|
45
|
-
return new
|
|
45
|
+
return new Walk({
|
|
46
46
|
version: 3,
|
|
47
47
|
steps: steps.map((action, index) => {
|
|
48
48
|
const value = action.value;
|
|
@@ -1,34 +1,42 @@
|
|
|
1
1
|
/** Find a recorded subject and verify where its point still lands before replay input. */
|
|
2
|
-
import { Clock, Duration, Effect, Schedule } from "effect";
|
|
2
|
+
import { Clock, Duration, Effect, Function, Schedule } from "effect";
|
|
3
3
|
|
|
4
|
-
import { InvalidRequest, undispatched } from "
|
|
5
|
-
import { type Box, type Subject } from "
|
|
6
|
-
import type { Page,
|
|
7
|
-
import
|
|
4
|
+
import { type BrowserError, InvalidRequest, undispatched } from "../../BrowserError.ts";
|
|
5
|
+
import { type Box, type Subject } from "../../BrowserEvent.ts";
|
|
6
|
+
import type { Page, Point, Target } from "../../Page.ts";
|
|
7
|
+
import * as Snapshot from "../../Snapshot.ts";
|
|
8
|
+
import { type Ambiguous, choose, Drifted, type Missing } from "./choose.ts";
|
|
8
9
|
|
|
9
10
|
const invalid = (detail: string) => undispatched("replay", new InvalidRequest({ detail }));
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
|
-
* The one element on the page that a subject names, by role, name and context (see `
|
|
13
|
+
* The one element on the page that a subject names, by role, name and context (see `Walk`),
|
|
13
14
|
* looking again for two seconds while the page may still be drawing it.
|
|
14
15
|
*/
|
|
15
|
-
export const locate
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
export const locate: {
|
|
17
|
+
(
|
|
18
|
+
subject: Subject,
|
|
19
|
+
): (page: Page) => Effect.Effect<Snapshot.Found, Missing | Ambiguous | Drifted | BrowserError>;
|
|
20
|
+
(
|
|
21
|
+
page: Page,
|
|
22
|
+
subject: Subject,
|
|
23
|
+
): Effect.Effect<Snapshot.Found, Missing | Ambiguous | Drifted | BrowserError>;
|
|
24
|
+
} = Function.dual(2, (page: Page, subject: Subject) =>
|
|
25
|
+
Snapshot.find(page, {
|
|
26
|
+
name: subject.name,
|
|
27
|
+
scope: "document",
|
|
28
|
+
...(subject.role === null ? {} : { role: subject.role }),
|
|
29
|
+
}).pipe(
|
|
30
|
+
Effect.flatMap((found) => choose(subject, found)),
|
|
31
|
+
Effect.retry({
|
|
32
|
+
schedule: Schedule.spaced(Duration.millis(250)),
|
|
33
|
+
times: 8,
|
|
34
|
+
while: (error) => error._tag !== "BrowserError",
|
|
35
|
+
}),
|
|
36
|
+
Effect.provideService(Clock.Clock, page.hostClock),
|
|
37
|
+
Effect.withSpan("Walk.locate", { attributes: { role: subject.role ?? "" } }),
|
|
38
|
+
),
|
|
39
|
+
);
|
|
32
40
|
|
|
33
41
|
/**
|
|
34
42
|
* Where the step acts: the element its subject names, or, for a step recorded at a point, the same
|
|
@@ -39,7 +47,7 @@ export const aim = (page: Page, subject: Subject | undefined, point?: Point, rec
|
|
|
39
47
|
if (subject === undefined) return Effect.fail(invalid("the step names no element"));
|
|
40
48
|
if (point === undefined) return Effect.map(locate(page, subject), ({ ref }): Target => ref);
|
|
41
49
|
|
|
42
|
-
const reach = ({ ref, box }: Found) => {
|
|
50
|
+
const reach = ({ ref, box }: Snapshot.Found) => {
|
|
43
51
|
const at =
|
|
44
52
|
recorded === undefined || recorded.width <= 0 || recorded.height <= 0
|
|
45
53
|
? point
|
|
@@ -48,7 +56,9 @@ export const aim = (page: Page, subject: Subject | undefined, point?: Point, rec
|
|
|
48
56
|
y: box.y + ((point.y - recorded.y) / recorded.height) * box.height,
|
|
49
57
|
};
|
|
50
58
|
|
|
51
|
-
return Effect.map(
|
|
59
|
+
return Effect.map(Snapshot.find(page, { at }), ([reached]) =>
|
|
60
|
+
reached?.ref === ref ? at : undefined,
|
|
61
|
+
);
|
|
52
62
|
};
|
|
53
63
|
|
|
54
64
|
const missed = new Drifted({ detail: "a press at the subject's point reaches another element" });
|
package/dist/ActionPort.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as Action } from "./Action-24sLOubi.mjs";
|
|
2
|
-
import { f as Page } from "./Page-CvsOEorc.mjs";
|
|
3
|
-
declare namespace ActionPort_d_exports {
|
|
4
|
-
export { checked, execute, methods };
|
|
5
|
-
}
|
|
6
|
-
type Port = Pick<Page, "click" | "hover" | "drag" | "type" | "press" | "scroll" | "select" | "goto" | "back" | "reload">;
|
|
7
|
-
/** Dispatch a decoded request to a concrete input port. */
|
|
8
|
-
export declare const execute: (port: Port, action: Action) => ReturnType<Page["perform"]>;
|
|
9
|
-
/** Decode once before dispatching the canonical request. */
|
|
10
|
-
export declare const checked: (perform: Page["perform"]) => Page["perform"];
|
|
11
|
-
/** Named entry points are the same typed action path used by replay and tools. */
|
|
12
|
-
export declare const methods: (perform: Page["perform"]) => Port;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { ActionPort_d_exports as t };
|
|
15
|
-
//# sourceMappingURL=ActionPort.d.mts.map
|
package/dist/ActionPort.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionPort.mjs","names":[],"sources":["../src/ActionPort.ts"],"sourcesContent":["/** Assemble named Page methods and canonical action execution over one concrete input port. */\nimport { Effect, Schema, type SchemaIssue } from \"effect\";\n\nimport { Action, nameOf } from \"./Action.ts\";\nimport { InvalidRequest, undispatched } from \"./BrowserError.ts\";\nimport { type Page, ResolvedTarget } from \"./Page.ts\";\n\ntype Port = Pick<\n Page,\n \"click\" | \"hover\" | \"drag\" | \"type\" | \"press\" | \"scroll\" | \"select\" | \"goto\" | \"back\" | \"reload\"\n>;\n\nconst invalid = (detail: string, operation = \"perform\") =>\n undispatched(operation, new InvalidRequest({ detail }));\n\nconst expectedTypes: Readonly<Record<string, string>> = {\n String: \"a string\",\n Number: \"a finite number\",\n Boolean: \"a boolean\",\n Objects: \"an object\",\n Arrays: \"an array\",\n};\n\n// Action has fixed fields and array indices. Paths come from that schema; rejected values,\n// formatter messages and annotations are never rendered. Prefer the most specific union branch.\nconst diagnostic = (\n issue: SchemaIssue.Issue,\n path: ReadonlyArray<PropertyKey> = [],\n): { readonly path: ReadonlyArray<PropertyKey>; readonly expected: string } => {\n if (issue._tag === \"Pointer\") return diagnostic(issue.issue, [...path, ...issue.path]);\n if (issue._tag === \"Encoding\") return diagnostic(issue.issue, path);\n if (issue._tag === \"Composite\" || issue._tag === \"AnyOf\")\n return (\n issue.issues\n .map((child) => diagnostic(child, path))\n .sort((a, b) => b.path.length - a.path.length)[0] ?? { path, expected: \"a supported value\" }\n );\n\n const expected =\n issue._tag === \"Filter\"\n ? issue.filter === Action.cases.Select.fields.ref.ast.checks?.[0]\n ? \"an element ref such as e12\"\n : issue.filter === Schema.Finite.ast.checks?.[0]\n ? \"a finite number\"\n : \"a value satisfying the action's constraints\"\n : issue._tag === \"InvalidType\"\n ? (expectedTypes[issue.ast._tag] ?? \"a supported value\")\n : issue._tag === \"MissingKey\"\n ? \"a required value\"\n : \"a valid value\";\n\n return { path, expected };\n};\n\n/** Dispatch a decoded request to a concrete input port. */\nexport const execute = (port: Port, action: Action): ReturnType<Page[\"perform\"]> => {\n switch (action._tag) {\n case \"Click\":\n return port.click(action.target, action.options);\n case \"Hover\":\n return port.hover(action.target);\n case \"Drag\":\n return port.drag(action.from, action.to);\n case \"Type\":\n return port.type(action.text, action.options);\n case \"Press\":\n return port.press(action.keys, action.options);\n case \"Scroll\":\n return port.scroll(action.options);\n case \"Select\":\n return port.select(action.ref, action.values);\n case \"Goto\":\n return port.goto(action.url);\n case \"Back\":\n return port.back;\n case \"Reload\":\n return port.reload;\n case \"Act\":\n return Effect.fail(invalid(\"call page.act with a script\"));\n default:\n return Effect.fail(invalid(\"invalid action tag\"));\n }\n};\n\n/** Decode once before dispatching the canonical request. */\nexport const checked =\n (perform: Page[\"perform\"]): Page[\"perform\"] =>\n (asked) =>\n Schema.decodeEffect(Action)(asked).pipe(\n Effect.mapError(({ issue }) => {\n if (\n typeof asked !== \"object\" ||\n asked === null ||\n typeof asked._tag !== \"string\" ||\n !Object.hasOwn(Action.cases, asked._tag)\n )\n return invalid(\"_tag: expected a supported action tag\");\n const { path, expected } = diagnostic(issue);\n\n return invalid((path.join(\".\") || \"action\") + \": expected \" + expected, nameOf(asked));\n }),\n Effect.flatMap(perform),\n );\n\n/** Named entry points are the same typed action path used by replay and tools. */\nexport const methods = (perform: Page[\"perform\"]): Port => ({\n goto: (url) => Effect.asVoid(perform({ _tag: \"Goto\", url })),\n back: Effect.asVoid(perform({ _tag: \"Back\" })),\n reload: Effect.asVoid(perform({ _tag: \"Reload\" })),\n click: (target, options) =>\n perform({ _tag: \"Click\", target, options }).pipe(\n Effect.filterOrFail(Schema.is(ResolvedTarget), () =>\n invalid(\"the action produced no target\"),\n ),\n ),\n hover: (target) => Effect.asVoid(perform({ _tag: \"Hover\", target })),\n drag: (from, to) => Effect.asVoid(perform({ _tag: \"Drag\", from, to })),\n type: (text, options) => Effect.asVoid(perform({ _tag: \"Type\", text, options })),\n press: (keys, options) => Effect.asVoid(perform({ _tag: \"Press\", keys, options })),\n scroll: (options) => Effect.asVoid(perform({ _tag: \"Scroll\", options })),\n select: (ref, values) =>\n perform({ _tag: \"Select\", ref, values }).pipe(\n Effect.filterOrFail(\n (value) => typeof value === \"string\",\n () => invalid(\"the action produced no labels\"),\n ),\n ),\n});\n"],"mappings":"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"}
|