effect-browser 0.2.0-beta.6 → 0.2.0-beta.8

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.
Files changed (68) hide show
  1. package/README.md +507 -130
  2. package/dist/Browser-n-bKgBNN.d.mts +372 -0
  3. package/dist/Browser.d.mts +3 -189
  4. package/dist/Browser.mjs +9 -1
  5. package/dist/Browser.mjs.map +1 -1
  6. package/dist/{BrowserData-DPh3Oaof.d.mts → BrowserData-CPIIIHol.d.mts} +84 -10
  7. package/dist/BrowserData.d.mts +2 -2
  8. package/dist/BrowserData.mjs +106 -7
  9. package/dist/BrowserData.mjs.map +1 -1
  10. package/dist/{BrowserRuntime-BBAjpVFa.d.mts → BrowserRuntime-CFe9uUTv.d.mts} +16 -11
  11. package/dist/{BrowserRuntime-DImn_Oe_.mjs → BrowserRuntime-HJ1yYlFS.mjs} +4977 -4134
  12. package/dist/BrowserRuntime-HJ1yYlFS.mjs.map +1 -0
  13. package/dist/BrowserRuntime.d.mts +2 -2
  14. package/dist/BrowserRuntime.mjs +2 -1
  15. package/dist/Capture.d.mts +9 -7
  16. package/dist/Capture.mjs +157 -32
  17. package/dist/Capture.mjs.map +1 -1
  18. package/dist/{CaptureData-Dys0Ko9d.mjs → CaptureData-CYriZHX1.mjs} +25 -6
  19. package/dist/CaptureData-CYriZHX1.mjs.map +1 -0
  20. package/dist/CaptureData.d.mts +62 -3
  21. package/dist/CaptureData.mjs +2 -2
  22. package/dist/Chromium.d.mts +2 -2
  23. package/dist/Chromium.mjs +19 -10
  24. package/dist/Chromium.mjs.map +1 -1
  25. package/dist/Errors.d.mts +69 -17
  26. package/dist/Errors.mjs +57 -6
  27. package/dist/Errors.mjs.map +1 -1
  28. package/dist/Images-CaaPNeed.mjs +76 -0
  29. package/dist/Images-CaaPNeed.mjs.map +1 -0
  30. package/dist/OperationOptions-DAeRS6O9.mjs +55 -0
  31. package/dist/OperationOptions-DAeRS6O9.mjs.map +1 -0
  32. package/dist/PageControl.d.mts +6 -6
  33. package/dist/PageControl.mjs +16 -10
  34. package/dist/PageControl.mjs.map +1 -1
  35. package/dist/PageRegistry-B3q9DS3g.mjs +164 -0
  36. package/dist/PageRegistry-B3q9DS3g.mjs.map +1 -0
  37. package/dist/Plan-D8qQ48Ic.mjs +512 -0
  38. package/dist/Plan-D8qQ48Ic.mjs.map +1 -0
  39. package/dist/Plan.d.mts +3 -0
  40. package/dist/Plan.mjs +2 -0
  41. package/dist/PlanData-B668RxbQ.d.mts +4831 -0
  42. package/dist/PlanData.d.mts +3 -0
  43. package/dist/PlanData.mjs +268 -0
  44. package/dist/PlanData.mjs.map +1 -0
  45. package/dist/PlanInput-BJcPPncs.mjs +75 -0
  46. package/dist/PlanInput-BJcPPncs.mjs.map +1 -0
  47. package/dist/PublicSession-Bs61Eal8.mjs +5601 -0
  48. package/dist/PublicSession-Bs61Eal8.mjs.map +1 -0
  49. package/dist/Testing.d.mts +48 -6
  50. package/dist/Testing.mjs +675 -123
  51. package/dist/Testing.mjs.map +1 -1
  52. package/dist/Timeline-fV22Xk-S.d.mts +29 -0
  53. package/dist/Timeline.d.mts +4 -0
  54. package/dist/Timeline.mjs +20 -0
  55. package/dist/Timeline.mjs.map +1 -0
  56. package/dist/TimelineData-BsOn-YGZ.d.mts +3818 -0
  57. package/dist/TimelineData.d.mts +3 -0
  58. package/dist/TimelineData.mjs +482 -0
  59. package/dist/TimelineData.mjs.map +1 -0
  60. package/dist/index.d.mts +5 -1
  61. package/dist/index.mjs +5 -1
  62. package/package.json +17 -1
  63. package/dist/Association-BsSfBYVx.mjs +0 -138
  64. package/dist/Association-BsSfBYVx.mjs.map +0 -1
  65. package/dist/BrowserRuntime-DImn_Oe_.mjs.map +0 -1
  66. package/dist/CaptureData-Dys0Ko9d.mjs.map +0 -1
  67. package/dist/PageControlAssociation-DabEg5AR.mjs +0 -10
  68. package/dist/PageControlAssociation-DabEg5AR.mjs.map +0 -1
@@ -1,138 +0,0 @@
1
- import { BrowserError, BrowserOutcome, Reasons } from "./Errors.mjs";
2
- import { Exit, Schema } from "effect";
3
- //#region src/internal/browser/NativeCalls.ts
4
- /**
5
- * A native step failed. It names no operation: the owner stamps the one the caller asked for
6
- * when it admits the work, so a step's own vocabulary can never become public API.
7
- */
8
- var NativeFailure = class extends Schema.TaggedError()("NativeFailure", {
9
- reason: BrowserError.fields.reason,
10
- outcome: Schema.optionalKey(BrowserOutcome)
11
- }) {};
12
- /**
13
- * The only way a native failure becomes public. A fenced ticket already speaks publicly and
14
- * passes through with the operation the owner gave it; a native failure keeps its reason and
15
- * takes the caller's operation; anything else is the caller's fallback.
16
- */
17
- const publicError = (error, operation, fallback) => {
18
- if (Schema.is(BrowserError)(error)) return error;
19
- const known = Schema.is(NativeFailure)(error) ? error : fallback;
20
- return BrowserError.make({
21
- operation,
22
- reason: known.reason,
23
- outcome: known.outcome ?? fallback.outcome
24
- });
25
- };
26
- /** Shared by the Playwright driver's seams, so every native call fails in the same vocabulary. */
27
- const failure = (reason, outcome) => NativeFailure.make({
28
- reason,
29
- ...outcome === void 0 ? {} : { outcome }
30
- });
31
- const safeDecode = (codec, raw) => {
32
- const decoded = Schema.decodeUnknownExit(codec)(raw);
33
- if (Exit.isFailure(decoded)) throw failure(Reasons.Malformed.make({}));
34
- return decoded.value;
35
- };
36
- /**
37
- * No raw exception from Playwright crosses this private boundary. A ticket's own fence is
38
- * already a public error and passes through with the operation the owner gave it.
39
- */
40
- const sanitize = (action) => Promise.resolve().then(action).catch((error) => {
41
- throw Schema.is(BrowserError)(error) || Schema.is(NativeFailure)(error) ? error : failure(Reasons.Provider.make({}));
42
- });
43
- const closeWithin = async (action, milliseconds = 2e3) => {
44
- let timer;
45
- try {
46
- await Promise.race([Promise.resolve().then(action), new Promise((_, reject) => {
47
- timer = setTimeout(() => reject(failure(Reasons.Timeout.make({}))), milliseconds);
48
- })]);
49
- } finally {
50
- clearTimeout(timer);
51
- }
52
- };
53
- const timeout = (ticket) => {
54
- ticket.check();
55
- return ticket.remainingMillis();
56
- };
57
- //#endregion
58
- //#region src/internal/browser/Images.ts
59
- const malformed = () => failure(Reasons.Malformed.make({}));
60
- /** A checked read: a truncated segment is malformed framing, never `undefined` arithmetic. */
61
- const byteAt = (bytes, index) => {
62
- const byte = bytes[index];
63
- if (byte === void 0) throw malformed();
64
- return byte;
65
- };
66
- /** Parse framing only; a caller decoding media must still validate its complete bitstream. */
67
- const pngGeometry = (bytes) => {
68
- if (bytes.length < 33 || [
69
- 137,
70
- 80,
71
- 78,
72
- 71,
73
- 13,
74
- 10,
75
- 26,
76
- 10
77
- ].some((b, i) => bytes[i] !== b) || bytes[12] !== 73 || bytes[13] !== 72 || bytes[14] !== 68 || bytes[15] !== 82) throw malformed();
78
- const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
79
- if (view.getUint32(8) !== 13) throw malformed();
80
- const width = view.getUint32(16), height = view.getUint32(20);
81
- if (width === 0 || height === 0) throw malformed();
82
- return {
83
- width,
84
- height
85
- };
86
- };
87
- /** JPEG SOF dimensions avoid trusting the requested size or CSS viewport dimensions. */
88
- const jpegGeometry = (bytes) => {
89
- if (bytes.length < 4 || bytes[0] !== 255 || bytes[1] !== 216) throw malformed();
90
- let offset = 2;
91
- while (offset + 3 < bytes.length) {
92
- if (bytes[offset++] !== 255) throw malformed();
93
- while (bytes[offset] === 255) offset++;
94
- const marker = bytes[offset++];
95
- if (marker === void 0 || marker === 217 || marker === 218) break;
96
- if (marker === 1 || marker >= 208 && marker <= 215) continue;
97
- if (offset + 1 >= bytes.length) throw malformed();
98
- const size = byteAt(bytes, offset) * 256 + byteAt(bytes, offset + 1);
99
- if (size < 2 || offset + size > bytes.length) throw malformed();
100
- if ([
101
- 192,
102
- 193,
103
- 194,
104
- 195,
105
- 197,
106
- 198,
107
- 199,
108
- 201,
109
- 202,
110
- 203,
111
- 205,
112
- 206,
113
- 207
114
- ].includes(marker)) {
115
- if (size < 8) throw malformed();
116
- const height = byteAt(bytes, offset + 3) * 256 + byteAt(bytes, offset + 4);
117
- const width = byteAt(bytes, offset + 5) * 256 + byteAt(bytes, offset + 6);
118
- if (width === 0 || height === 0) throw malformed();
119
- return {
120
- width,
121
- height
122
- };
123
- }
124
- offset += size;
125
- }
126
- throw malformed();
127
- };
128
- //#endregion
129
- //#region src/internal/browser/Association.ts
130
- const parents = /* @__PURE__ */ new WeakMap();
131
- const associate = (session, parent) => {
132
- parents.set(session, parent);
133
- };
134
- const captureParent = (session) => parents.get(session);
135
- //#endregion
136
- export { NativeFailure as a, publicError as c, timeout as d, pngGeometry as i, safeDecode as l, captureParent as n, closeWithin as o, jpegGeometry as r, failure as s, associate as t, sanitize as u };
137
-
138
- //# sourceMappingURL=Association-BsSfBYVx.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Association-BsSfBYVx.mjs","names":[],"sources":["../src/internal/browser/NativeCalls.ts","../src/internal/browser/Images.ts","../src/internal/browser/Association.ts"],"sourcesContent":["import { Exit, Schema } from \"effect\";\n\nimport {\n BrowserError,\n BrowserOutcome,\n Reasons,\n type BrowserOperation,\n type BrowserReason,\n} from \"../../Errors.ts\";\nimport type { ReadTicket } from \"./Owner.ts\";\n\n/**\n * A native step failed. It names no operation: the owner stamps the one the caller asked for\n * when it admits the work, so a step's own vocabulary can never become public API.\n */\nexport class NativeFailure extends Schema.TaggedError<NativeFailure>()(\"NativeFailure\", {\n reason: BrowserError.fields.reason,\n // Some native helpers run both before and after dispatch. Only their owner has that evidence.\n outcome: Schema.optionalKey(BrowserOutcome),\n}) {}\n\n/**\n * The only way a native failure becomes public. A fenced ticket already speaks publicly and\n * passes through with the operation the owner gave it; a native failure keeps its reason and\n * takes the caller's operation; anything else is the caller's fallback.\n */\nexport const publicError = (\n error: unknown,\n operation: BrowserOperation,\n fallback: Pick<BrowserError, \"reason\" | \"outcome\">,\n): BrowserError => {\n if (Schema.is(BrowserError)(error)) return error;\n const known = Schema.is(NativeFailure)(error) ? error : fallback;\n\n return BrowserError.make({\n operation,\n reason: known.reason,\n outcome: known.outcome ?? fallback.outcome,\n });\n};\n\n/** Shared by the Playwright driver's seams, so every native call fails in the same vocabulary. */\nexport const failure = (reason: BrowserReason, outcome?: BrowserOutcome) =>\n NativeFailure.make({ reason, ...(outcome === undefined ? {} : { outcome }) });\n\nexport const safeDecode = <A>(codec: Schema.Codec<A, unknown, never, never>, raw: unknown): A => {\n const decoded = Schema.decodeUnknownExit(codec)(raw);\n\n // A schema issue and a throw while reading the reply are both a malformed reply.\n if (Exit.isFailure(decoded)) throw failure(Reasons.Malformed.make({}));\n\n return decoded.value;\n};\n\n/**\n * No raw exception from Playwright crosses this private boundary. A ticket's own fence is\n * already a public error and passes through with the operation the owner gave it.\n */\nexport const sanitize = <A>(action: () => Promise<A>): Promise<A> =>\n Promise.resolve()\n .then(action)\n .catch((error: unknown) => {\n throw Schema.is(BrowserError)(error) || Schema.is(NativeFailure)(error)\n ? error\n : failure(Reasons.Provider.make({}));\n });\n\nexport const closeWithin = async (\n action: () => Promise<unknown>,\n milliseconds = 2000,\n): Promise<void> => {\n let timer: ReturnType<typeof setTimeout> | undefined;\n\n try {\n await Promise.race([\n Promise.resolve().then(action),\n new Promise<never>((_, reject) => {\n timer = setTimeout(() => reject(failure(Reasons.Timeout.make({}))), milliseconds);\n }),\n ]);\n } finally {\n clearTimeout(timer);\n }\n};\n\n// The native timeout is finite as well as Effect's authoritative deadline. It cannot undo dispatch.\nexport const timeout = (ticket: ReadTicket) => {\n ticket.check();\n\n return ticket.remainingMillis();\n};\n","import { Reasons } from \"../../Errors.ts\";\nimport { failure } from \"./NativeCalls.ts\";\n\nconst malformed = () => failure(Reasons.Malformed.make({}));\n\n/** A checked read: a truncated segment is malformed framing, never `undefined` arithmetic. */\nconst byteAt = (bytes: Uint8Array, index: number): number => {\n const byte = bytes[index];\n\n if (byte === undefined) throw malformed();\n\n return byte;\n};\n\n/** Parse framing only; a caller decoding media must still validate its complete bitstream. */\nexport const pngGeometry = (bytes: Uint8Array): { width: number; height: number } => {\n const signature = [137, 80, 78, 71, 13, 10, 26, 10];\n\n if (\n bytes.length < 33 ||\n signature.some((b, i) => bytes[i] !== b) ||\n bytes[12] !== 73 ||\n bytes[13] !== 72 ||\n bytes[14] !== 68 ||\n bytes[15] !== 82\n )\n throw malformed();\n const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);\n\n if (view.getUint32(8) !== 13) throw malformed();\n\n const width = view.getUint32(16),\n height = view.getUint32(20);\n\n if (width === 0 || height === 0) throw malformed();\n\n return { width, height };\n};\n\n/** JPEG SOF dimensions avoid trusting the requested size or CSS viewport dimensions. */\nexport const jpegGeometry = (bytes: Uint8Array): { width: number; height: number } => {\n if (bytes.length < 4 || bytes[0] !== 255 || bytes[1] !== 216) throw malformed();\n let offset = 2;\n\n while (offset + 3 < bytes.length) {\n if (bytes[offset++] !== 255) throw malformed();\n while (bytes[offset] === 255) offset++;\n const marker = bytes[offset++];\n\n if (marker === undefined || marker === 217 || marker === 218) break;\n if (marker === 1 || (marker >= 208 && marker <= 215)) continue;\n if (offset + 1 >= bytes.length) throw malformed();\n const size = byteAt(bytes, offset) * 256 + byteAt(bytes, offset + 1);\n\n if (size < 2 || offset + size > bytes.length) throw malformed();\n if ([192, 193, 194, 195, 197, 198, 199, 201, 202, 203, 205, 206, 207].includes(marker)) {\n if (size < 8) throw malformed();\n const height = byteAt(bytes, offset + 3) * 256 + byteAt(bytes, offset + 4);\n const width = byteAt(bytes, offset + 5) * 256 + byteAt(bytes, offset + 6);\n\n if (width === 0 || height === 0) throw malformed();\n\n return { width, height };\n }\n offset += size;\n }\n throw malformed();\n};\n","import type { Effect } from \"effect\";\n\nimport type { PageInfo, Target } from \"../../BrowserData.ts\";\nimport type { BrowserError } from \"../../Errors.ts\";\nimport type { CaptureSource } from \"./Driver.ts\";\nimport type { Owner, Ticket } from \"./Owner.ts\";\n\nexport interface CaptureLease {\n readonly stop: Effect.Effect<void>;\n readonly invalidate: (reason: string) => void;\n readonly reservedBytes: number;\n}\n\nexport interface CaptureResolution {\n /** Stable native page identity used to quarantine an unconfirmed screencast across reconnects. */\n readonly key: string;\n readonly target: Target;\n readonly source: CaptureSource;\n}\n\nexport interface CaptureParent {\n readonly owner: Owner;\n readonly resolve: (\n ticket: Ticket,\n target?: PageInfo,\n ) => Effect.Effect<CaptureResolution, BrowserError>;\n readonly target: () => Target;\n readonly captureLeases: Map<string, CaptureLease>;\n captureReservedBytes: number;\n}\n\n// This is a private capability registry, not stored domain data. Exact live session identity is\n// required: spreading/cloning a session must not copy authority to mutate its capture owner,\n// leases or reservations. A public/enumerable parent field would weaken that boundary.\n// Keep this access centralized here; schemas describe data, never this mutable ownership state.\nconst parents = new WeakMap<object, CaptureParent>();\n\nexport const associate = (session: object, parent: CaptureParent): void => {\n parents.set(session, parent);\n};\n\nexport const captureParent = (session: object): CaptureParent | undefined => parents.get(session);\n"],"mappings":";;;;;;;AAeA,IAAa,gBAAb,cAAmC,OAAO,YAA2B,CAAC,CAAC,iBAAiB;CACtF,QAAQ,aAAa,OAAO;CAE5B,SAAS,OAAO,YAAY,cAAc;AAC5C,CAAC,CAAC,CAAC,CAAC;;;;;;AAOJ,MAAa,eACX,OACA,WACA,aACiB;CACjB,IAAI,OAAO,GAAG,YAAY,CAAC,CAAC,KAAK,GAAG,OAAO;CAC3C,MAAM,QAAQ,OAAO,GAAG,aAAa,CAAC,CAAC,KAAK,IAAI,QAAQ;CAExD,OAAO,aAAa,KAAK;EACvB;EACA,QAAQ,MAAM;EACd,SAAS,MAAM,WAAW,SAAS;CACrC,CAAC;AACH;;AAGA,MAAa,WAAW,QAAuB,YAC7C,cAAc,KAAK;CAAE;CAAQ,GAAI,YAAY,KAAA,IAAY,CAAC,IAAI,EAAE,QAAQ;AAAG,CAAC;AAE9E,MAAa,cAAiB,OAA+C,QAAoB;CAC/F,MAAM,UAAU,OAAO,kBAAkB,KAAK,CAAC,CAAC,GAAG;CAGnD,IAAI,KAAK,UAAU,OAAO,GAAG,MAAM,QAA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