effect-browser 0.3.0-beta.23 → 0.3.0-beta.24
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 +124 -5
- package/dist/ActionPort.d.mts +1 -1
- package/dist/ActionPort.mjs +1 -1
- package/dist/{Browser-BKPAbyys.mjs → Browser-CAQFhTkM.mjs} +559 -333
- package/dist/Browser-CAQFhTkM.mjs.map +1 -0
- package/dist/{Browser-wZhwZSlG.d.mts → Browser-DGR6ZEYo.d.mts} +9 -3
- package/dist/Browser.d.mts +1 -1
- package/dist/Browser.mjs +1 -1
- package/dist/{BrowserEvent-lLqJ3GJS.d.mts → BrowserEvent-C2p-NwuU.d.mts} +30 -6
- package/dist/BrowserEvent.d.mts +2 -2
- package/dist/BrowserEvent.mjs +20 -1
- package/dist/BrowserEvent.mjs.map +1 -1
- package/dist/{Change-Ba7INmay.d.mts → Change-CxT1mp2e.d.mts} +13 -2
- package/dist/Change.d.mts +1 -1
- package/dist/Change.mjs +7 -1
- package/dist/Change.mjs.map +1 -1
- package/dist/Clock-Du5nP-nK.d.mts +57 -0
- package/dist/Clock.d.mts +2 -57
- package/dist/Layout.d.mts +2 -0
- package/dist/Layout.mjs +81 -0
- package/dist/Layout.mjs.map +1 -0
- package/dist/Matching-MtcWZ_hA.d.mts +266 -0
- package/dist/Matching.d.mts +2 -37
- package/dist/Matching.mjs +22 -17
- package/dist/Matching.mjs.map +1 -1
- package/dist/Overlay-CoGw5tL_.d.mts +27 -0
- package/dist/Overlay.d.mts +2 -0
- package/dist/Overlay.mjs +30 -0
- package/dist/Overlay.mjs.map +1 -0
- package/dist/{Page-BF5izr8R.mjs → Page-BaAOshxo.mjs} +3 -1
- package/dist/Page-BaAOshxo.mjs.map +1 -0
- package/dist/{Page-CvsOEorc.d.mts → Page-CLzh5E9w.d.mts} +158 -6
- package/dist/Page.d.mts +2 -2
- package/dist/Page.mjs +1 -1
- package/dist/PageTime-68UPUZpZ.d.mts +29 -0
- package/dist/PageTime.d.mts +2 -0
- package/dist/PageTime.mjs +7 -0
- package/dist/PageTime.mjs.map +1 -0
- package/dist/Pose-2qqGzPvb.d.mts +32 -0
- package/dist/Pose.d.mts +2 -0
- package/dist/Pose.mjs +44 -0
- package/dist/Pose.mjs.map +1 -0
- package/dist/Site.d.mts +714 -0
- package/dist/Site.mjs +102 -0
- package/dist/Site.mjs.map +1 -0
- package/dist/{Stillness-CNlvayIo.mjs → Stillness-BwP0RdI4.mjs} +27 -6
- package/dist/Stillness-BwP0RdI4.mjs.map +1 -0
- package/dist/{Style-AO4V7Czt.mjs → Style-T3ezDYLI.mjs} +25 -2
- package/dist/{Style-AO4V7Czt.mjs.map → Style-T3ezDYLI.mjs.map} +1 -1
- package/dist/Style.d.mts +15 -2
- package/dist/Style.mjs +2 -2
- package/dist/Url-B7P-TWwL.d.mts +26 -0
- package/dist/Url.d.mts +2 -26
- package/dist/{Window-CMddGMt1.d.mts → Window-BDa8MtNP.d.mts} +4 -4
- package/dist/Window.d.mts +1 -1
- package/dist/{connection-CK83pvqP.mjs → connection-C_jWYIwe.mjs} +2 -2
- package/dist/{connection-CK83pvqP.mjs.map → connection-C_jWYIwe.mjs.map} +1 -1
- package/dist/{connection-2KHI4_KN.d.mts → connection-Db-YtlbE.d.mts} +2 -2
- package/dist/film/Film.d.mts +265 -0
- package/dist/film/Film.mjs +246 -0
- package/dist/film/Film.mjs.map +1 -0
- package/dist/fold.inpage-CyVZQHZL.d.mts +49 -0
- package/dist/index.d.mts +11 -8
- package/dist/index.mjs +8 -4
- package/dist/moment/Moment.d.mts +5 -5
- package/dist/plan/index.d.mts +2 -2
- package/dist/plan/index.mjs +2 -2
- package/dist/policy/Policy.d.mts +1 -1
- package/dist/policy/Policy.mjs +1 -1
- package/dist/pose.inpage-CLq7Mfdr.mjs +2042 -0
- package/dist/pose.inpage-CLq7Mfdr.mjs.map +1 -0
- package/dist/presentation/Presentation.d.mts +8 -1
- package/dist/presentation/Presentation.mjs +3 -1
- package/dist/presentation/Presentation.mjs.map +1 -1
- package/dist/presentation/Stage.d.mts +1 -1
- package/dist/providers/Cdp.d.mts +2 -2
- package/dist/providers/Cdp.mjs +1 -1
- package/dist/providers/Chromium.d.mts +1 -1
- package/dist/providers/Chromium.mjs +1 -1
- package/dist/stillness/Stillness.d.mts +1 -1
- package/dist/stillness/Stillness.mjs +1 -1
- package/dist/testing/index.d.mts +4 -30
- package/dist/testing/index.mjs +8 -2
- package/dist/testing/index.mjs.map +1 -1
- package/dist/workerd/Cdp.d.mts +2 -2
- package/dist/workerd/Cdp.mjs +1 -1
- package/package.json +32 -2
- package/src/Browser.ts +11 -6
- package/src/BrowserEvent.ts +19 -0
- package/src/Change.ts +7 -1
- package/src/Layout.ts +116 -0
- package/src/Matching.ts +24 -15
- package/src/Overlay.ts +37 -0
- package/src/Page.ts +45 -0
- package/src/PageTime.ts +47 -0
- package/src/Pose.ts +50 -0
- package/src/Site.ts +124 -0
- package/src/Style.ts +36 -0
- package/src/film/Film.ts +384 -0
- package/src/index.ts +4 -0
- package/src/internal/input/perform.ts +31 -3
- package/src/internal/input/pointer.ts +7 -4
- package/src/internal/input/targets.ts +1 -1
- package/src/internal/page/bridge.ts +65 -33
- package/src/internal/page/clock.inpage.ts +306 -0
- package/src/internal/page/compose.inpage.ts +101 -0
- package/src/internal/page/context.ts +2 -0
- package/src/internal/page/overlay.inpage.ts +96 -0
- package/src/internal/page/overlay.ts +89 -0
- package/src/internal/page/page.ts +12 -0
- package/src/internal/page/pose.inpage.ts +200 -0
- package/src/internal/page/pose.ts +80 -0
- 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/pictures.ts +93 -32
- 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 +2 -18
- package/src/internal/reading/reading.ts +22 -2
- package/src/internal/reading/ready.inpage.ts +18 -23
- package/src/internal/reading/ready.ts +23 -3
- package/src/internal/reading/text.inpage.ts +1 -14
- package/src/internal/timeline/changes.inpage.ts +7 -15
- package/src/internal/timeline/changes.ts +14 -1
- package/src/internal/timeline/record.inpage.ts +15 -6
- package/src/presentation/Presentation.ts +13 -0
- package/src/stillness/Pixels.ts +26 -0
- package/src/stillness/Stillness.ts +30 -5
- package/src/testing/page.ts +5 -0
- package/dist/Browser-BKPAbyys.mjs.map +0 -1
- package/dist/Page-BF5izr8R.mjs.map +0 -1
- package/dist/Stillness-CNlvayIo.mjs.map +0 -1
package/dist/moment/Moment.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as BrowserError } from "../BrowserError-BlcmLVzn.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { r as Changes, t as Change } from "../Change-
|
|
2
|
+
import { C as TextInserted, D as WheelScrolled, E as TrackPlanned, T as TrackPerformed, _ as PointerReleased, b as SessionEnding, d as Navigated, f as PageClosed, g as PointerPressed, h as PageUntracked, l as Disconnected, m as PageOpened, n as ActionAnnounced, o as CursorChanged, p as PageLoaded, s as DialogShown, t as Action, u as KeyChanged, y as RequestRefused } from "../BrowserEvent-C2p-NwuU.mjs";
|
|
3
|
+
import { r as Changes, t as Change } from "../Change-CxT1mp2e.mjs";
|
|
4
4
|
import { r as Frame } from "../Frame-UEH2hO5T.mjs";
|
|
5
|
+
import { A as WindowOptions, f as Page, p as Page_d_exports } from "../Page-CLzh5E9w.mjs";
|
|
5
6
|
import { n as Snapshot, r as SnapshotOptions } from "../Snapshot-CtBVOtuu.mjs";
|
|
6
|
-
import { t as Window } from "../Window-
|
|
7
|
-
import { f as Page, k as WindowOptions, p as Page_d_exports } from "../Page-CvsOEorc.mjs";
|
|
7
|
+
import { t as Window } from "../Window-BDa8MtNP.mjs";
|
|
8
8
|
import { Effect, Schema } from "effect";
|
|
9
9
|
import { Prompt } from "effect/ai";
|
|
10
10
|
//#region src/moment/words.d.ts
|
|
@@ -16,7 +16,7 @@ declare const Moment_base: Schema.Class<Moment, Schema.Struct<{
|
|
|
16
16
|
readonly page: Schema.String;
|
|
17
17
|
readonly since: Schema.Finite;
|
|
18
18
|
readonly until: Schema.Finite;
|
|
19
|
-
readonly events: Schema.$Array<Schema.Union<readonly [typeof RequestRefused, typeof PageOpened, typeof PageClosed, typeof PageUntracked, typeof Navigated, typeof PageLoaded, typeof Action, typeof TrackPlanned, typeof TrackPerformed, typeof PointerPressed, typeof PointerReleased, typeof WheelScrolled, typeof KeyChanged, typeof TextInserted, typeof CursorChanged, typeof DialogShown, typeof Disconnected, typeof SessionEnding]>>;
|
|
19
|
+
readonly events: Schema.$Array<Schema.Union<readonly [typeof RequestRefused, typeof PageOpened, typeof PageClosed, typeof PageUntracked, typeof Navigated, typeof PageLoaded, typeof Action, typeof ActionAnnounced, typeof TrackPlanned, typeof TrackPerformed, typeof PointerPressed, typeof PointerReleased, typeof WheelScrolled, typeof KeyChanged, typeof TextInserted, typeof CursorChanged, typeof DialogShown, typeof Disconnected, typeof SessionEnding]>>;
|
|
20
20
|
readonly changes: Schema.optional<typeof Changes>;
|
|
21
21
|
readonly frames: Schema.$Array<typeof Frame>;
|
|
22
22
|
readonly missing: Schema.$Array<typeof BrowserError>;
|
package/dist/plan/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BrowserError } from "../BrowserError-BlcmLVzn.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as BrowserEvent, x as Subject } from "../BrowserEvent-C2p-NwuU.mjs";
|
|
3
|
+
import { _ as ReadyOptions, c as Found, f as Page } from "../Page-CLzh5E9w.mjs";
|
|
4
4
|
import { Duration, Effect, Schema } from "effect";
|
|
5
5
|
//#region src/plan/choose.d.ts
|
|
6
6
|
declare const Missing_base: Schema.Class<Missing, Schema.TaggedStruct<"Missing", {}>, import("effect/Cause").YieldableError>;
|
package/dist/plan/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Action, targetOf } from "../Action.mjs";
|
|
2
2
|
import { Box, Subject } from "../BrowserEvent.mjs";
|
|
3
3
|
import { BrowserError, InvalidRequest, undispatched } from "../BrowserError.mjs";
|
|
4
|
-
import { p as redacted } from "../Page-
|
|
4
|
+
import { p as redacted } from "../Page-BaAOshxo.mjs";
|
|
5
5
|
import { match } from "../Matching.mjs";
|
|
6
|
-
import { t as wait } from "../Stillness-
|
|
6
|
+
import { t as wait } from "../Stillness-BwP0RdI4.mjs";
|
|
7
7
|
import { Clock, Duration, Effect, Exit, Option, Schedule, Schema } from "effect";
|
|
8
8
|
//#region src/plan/choose.ts
|
|
9
9
|
/**
|
package/dist/policy/Policy.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as InputRequest, o as Fact, u as InputGuard } from "../Page-
|
|
1
|
+
import { d as InputRequest, o as Fact, u as InputGuard } from "../Page-CLzh5E9w.mjs";
|
|
2
2
|
import { Context, Duration, Effect, Schema } from "effect";
|
|
3
3
|
import { AiError, DecisionModel, LanguageModel } from "effect/ai";
|
|
4
4
|
//#region src/policy/Policy.d.ts
|
package/dist/policy/Policy.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PolicyDenied } from "../BrowserError.mjs";
|
|
2
|
-
import { i as InputRequest, n as Fact } from "../Page-
|
|
2
|
+
import { i as InputRequest, n as Fact } from "../Page-BaAOshxo.mjs";
|
|
3
3
|
import { Cause, Context, Duration, Effect, Record, Result, Schema } from "effect";
|
|
4
4
|
import { Decision, DecisionModel, LanguageModel, Prompt } from "effect/ai";
|
|
5
5
|
//#region src/policy/Policy.ts
|