effect-browserbase 0.1.0-beta.102

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 (136) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +441 -0
  3. package/dist/Account.d.mts +34 -0
  4. package/dist/Account.mjs +41 -0
  5. package/dist/Account.mjs.map +1 -0
  6. package/dist/Acquisition-WBafHwXH.mjs +280 -0
  7. package/dist/Acquisition-WBafHwXH.mjs.map +1 -0
  8. package/dist/Agents.d.mts +156 -0
  9. package/dist/Agents.mjs +307 -0
  10. package/dist/Agents.mjs.map +1 -0
  11. package/dist/Allocation.d.mts +99 -0
  12. package/dist/Allocation.mjs +29 -0
  13. package/dist/Allocation.mjs.map +1 -0
  14. package/dist/Association-CEps4hYP.mjs +10 -0
  15. package/dist/Association-CEps4hYP.mjs.map +1 -0
  16. package/dist/Authorization-Ll5f_XNM.mjs +12 -0
  17. package/dist/Authorization-Ll5f_XNM.mjs.map +1 -0
  18. package/dist/Bootstrap-BXuzZojd.mjs +194 -0
  19. package/dist/Bootstrap-BXuzZojd.mjs.map +1 -0
  20. package/dist/Bootstrap-m7lHgj0D.d.mts +177 -0
  21. package/dist/Bootstrap.d.mts +2 -0
  22. package/dist/Bootstrap.mjs +2 -0
  23. package/dist/Browser-joE4Zgys.mjs +1557 -0
  24. package/dist/Browser-joE4Zgys.mjs.map +1 -0
  25. package/dist/Browser.d.mts +195 -0
  26. package/dist/Browser.mjs +2 -0
  27. package/dist/BrowserBinding-qbQA6JhH.mjs +2452 -0
  28. package/dist/BrowserBinding-qbQA6JhH.mjs.map +1 -0
  29. package/dist/BrowserBinding.d.mts +40 -0
  30. package/dist/BrowserBinding.mjs +2 -0
  31. package/dist/BrowserData-LpcAuAub.d.mts +369 -0
  32. package/dist/BrowserData.d.mts +2 -0
  33. package/dist/BrowserData.mjs +442 -0
  34. package/dist/BrowserData.mjs.map +1 -0
  35. package/dist/Capture-CZJPuD7b.mjs +532 -0
  36. package/dist/Capture-CZJPuD7b.mjs.map +1 -0
  37. package/dist/Capture-Dr5MkIJb.d.mts +125 -0
  38. package/dist/Capture.d.mts +2 -0
  39. package/dist/Capture.mjs +2 -0
  40. package/dist/Certificates.d.mts +35 -0
  41. package/dist/Certificates.mjs +90 -0
  42. package/dist/Certificates.mjs.map +1 -0
  43. package/dist/Cleanup-G2YpTCuU.d.mts +24 -0
  44. package/dist/Cleanup.d.mts +2 -0
  45. package/dist/Cleanup.mjs +48 -0
  46. package/dist/Cleanup.mjs.map +1 -0
  47. package/dist/Client-Ca0zSg1n.d.mts +53 -0
  48. package/dist/Client-D1_xYM9o.mjs +424 -0
  49. package/dist/Client-D1_xYM9o.mjs.map +1 -0
  50. package/dist/Client.d.mts +2 -0
  51. package/dist/Client.mjs +2 -0
  52. package/dist/ContextCoordination.d.mts +16 -0
  53. package/dist/ContextCoordination.mjs +67 -0
  54. package/dist/ContextCoordination.mjs.map +1 -0
  55. package/dist/ContextWriter-BrQmoXRg.mjs +187 -0
  56. package/dist/ContextWriter-BrQmoXRg.mjs.map +1 -0
  57. package/dist/Contexts.d.mts +32 -0
  58. package/dist/Contexts.mjs +103 -0
  59. package/dist/Contexts.mjs.map +1 -0
  60. package/dist/Deadline-CrViaogr.mjs +13 -0
  61. package/dist/Deadline-CrViaogr.mjs.map +1 -0
  62. package/dist/Downloads.d.mts +44 -0
  63. package/dist/Downloads.mjs +142 -0
  64. package/dist/Downloads.mjs.map +1 -0
  65. package/dist/Errors.d.mts +123 -0
  66. package/dist/Errors.mjs +329 -0
  67. package/dist/Errors.mjs.map +1 -0
  68. package/dist/Extensions-ClZbYb1H.mjs +237 -0
  69. package/dist/Extensions-ClZbYb1H.mjs.map +1 -0
  70. package/dist/Extensions.d.mts +44 -0
  71. package/dist/Extensions.mjs +2 -0
  72. package/dist/Functions.d.mts +227 -0
  73. package/dist/Functions.mjs +332 -0
  74. package/dist/Functions.mjs.map +1 -0
  75. package/dist/Images-DgscEfSf.mjs +127 -0
  76. package/dist/Images-DgscEfSf.mjs.map +1 -0
  77. package/dist/Issued-DejqoMYL.mjs +15 -0
  78. package/dist/Issued-DejqoMYL.mjs.map +1 -0
  79. package/dist/Launch-BHcAEq05.mjs +111 -0
  80. package/dist/Launch-BHcAEq05.mjs.map +1 -0
  81. package/dist/Launch-C8CfaYxb.d.mts +132 -0
  82. package/dist/Launch.d.mts +2 -0
  83. package/dist/Launch.mjs +105 -0
  84. package/dist/Launch.mjs.map +1 -0
  85. package/dist/PageControl.d.mts +16 -0
  86. package/dist/PageControl.mjs +36 -0
  87. package/dist/PageControl.mjs.map +1 -0
  88. package/dist/PageControlAssociation-DabEg5AR.mjs +10 -0
  89. package/dist/PageControlAssociation-DabEg5AR.mjs.map +1 -0
  90. package/dist/PageFetch.d.mts +40 -0
  91. package/dist/PageFetch.mjs +64 -0
  92. package/dist/PageFetch.mjs.map +1 -0
  93. package/dist/Projects.d.mts +39 -0
  94. package/dist/Projects.mjs +71 -0
  95. package/dist/Projects.mjs.map +1 -0
  96. package/dist/Recordings.d.mts +28 -0
  97. package/dist/Recordings.mjs +131 -0
  98. package/dist/Recordings.mjs.map +1 -0
  99. package/dist/References-URDAtapt.d.mts +35 -0
  100. package/dist/References.d.mts +2 -0
  101. package/dist/References.mjs +41 -0
  102. package/dist/References.mjs.map +1 -0
  103. package/dist/Replays.d.mts +28 -0
  104. package/dist/Replays.mjs +109 -0
  105. package/dist/Replays.mjs.map +1 -0
  106. package/dist/Resource-DBksC4zB.mjs +50 -0
  107. package/dist/Resource-DBksC4zB.mjs.map +1 -0
  108. package/dist/Search.d.mts +38 -0
  109. package/dist/Search.mjs +53 -0
  110. package/dist/Search.mjs.map +1 -0
  111. package/dist/SessionData-DRKcKCqw.d.mts +39 -0
  112. package/dist/SessionData.d.mts +2 -0
  113. package/dist/SessionData.mjs +55 -0
  114. package/dist/SessionData.mjs.map +1 -0
  115. package/dist/Sessions-B8E4kMxo.d.mts +68 -0
  116. package/dist/Sessions-CtbseWEh.mjs +244 -0
  117. package/dist/Sessions-CtbseWEh.mjs.map +1 -0
  118. package/dist/Sessions.d.mts +3 -0
  119. package/dist/Sessions.mjs +3 -0
  120. package/dist/TransferPolicy-DQ06i7SZ.mjs +25 -0
  121. package/dist/TransferPolicy-DQ06i7SZ.mjs.map +1 -0
  122. package/dist/Transfers-Czv5IZzJ.d.mts +76 -0
  123. package/dist/Transfers.d.mts +2 -0
  124. package/dist/Transfers.mjs +101 -0
  125. package/dist/Transfers.mjs.map +1 -0
  126. package/dist/Uploads.d.mts +29 -0
  127. package/dist/Uploads.mjs +107 -0
  128. package/dist/Uploads.mjs.map +1 -0
  129. package/dist/Webhooks.d.mts +60 -0
  130. package/dist/Webhooks.mjs +143 -0
  131. package/dist/Webhooks.mjs.map +1 -0
  132. package/dist/WriterFacts-osvYAsIx.d.mts +61 -0
  133. package/dist/index.d.mts +30 -0
  134. package/dist/index.mjs +30 -0
  135. package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
  136. package/package.json +163 -0
@@ -0,0 +1,123 @@
1
+ import { o as SessionReference, t as AllocationAttempt } from "./References-URDAtapt.mjs";
2
+ import { Schema } from "effect";
3
+ declare namespace Errors_d_exports {
4
+ export { AllocationError, ArtifactError, BrowserError, BrowserOperation, CertificateError, ClientError, ContextError, ExtensionError, FileError, InitializationError, PlatformError, ProjectError, SessionError };
5
+ }
6
+ /**
7
+ * What a caller asked the owned browser to do. The vocabulary is closed: the owner stamps it
8
+ * when it admits an operation, so a native step's own name can never become API, and a new
9
+ * spelling is a deliberate edit here rather than a string that merely compiles.
10
+ */
11
+ export declare const BrowserOperation: Schema.Literals<readonly ["configure", "launch", "connect", "reconnect", "detach", "disconnect", "close", "handoff", "resume", "live-view", "target", "handle", "list-pages", "list-frames", "select-page", "select-frame", "new-page", "close-page", "resize", "ready", "observe", "checkpoint", "control-facts", "revalidate", "read-text", "screenshot", "wait", "navigate", "navigate-stop", "click", "fill", "scroll", "click-and-wait", "download-action", "select-files", "file-chooser", "action-result", "pointer-move", "hover", "wheel", "press", "type", "page-control", "page-state", "page-suspend", "page-resume", "capture", "capture-start", "capture-stop", "capture-consume"]>;
12
+ export type BrowserOperation = typeof BrowserOperation.Type;
13
+ declare const BrowserError_base: Schema.Class<BrowserError, Schema.TaggedStruct<"BrowserError", {
14
+ readonly operation: Schema.Literals<readonly ["configure", "launch", "connect", "reconnect", "detach", "disconnect", "close", "handoff", "resume", "live-view", "target", "handle", "list-pages", "list-frames", "select-page", "select-frame", "new-page", "close-page", "resize", "ready", "observe", "checkpoint", "control-facts", "revalidate", "read-text", "screenshot", "wait", "navigate", "navigate-stop", "click", "fill", "scroll", "click-and-wait", "download-action", "select-files", "file-chooser", "action-result", "pointer-move", "hover", "wheel", "press", "type", "page-control", "page-state", "page-suspend", "page-resume", "capture", "capture-start", "capture-stop", "capture-consume"]>;
15
+ readonly reason: Schema.Literals<readonly ["configuration", "unsupported", "busy", "closed", "stale", "not-found", "ambiguous", "malformed", "limit", "timeout", "transport", "provider", "authorization", "rate-limited", "disconnected", "active", "disabled", "expired", "failed", "unsafe-url", "content-type", "timestamp", "resized", "target-changed", "interrupted", "context-lease", "not-visible", "denied", "not-focused"]>;
16
+ readonly outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
17
+ readonly status: Schema.optionalKey<Schema.Int>;
18
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
19
+ }>, import("effect/Cause").YieldableError>;
20
+ export declare class BrowserError extends BrowserError_base {}
21
+ declare const ClientError_base: Schema.Class<ClientError, Schema.TaggedStruct<"ClientError", {
22
+ operation: Schema.Literals<readonly ["configure", "provider-read", "provider-mutation", "provider-upload", "media-download"]>;
23
+ reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
24
+ outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
25
+ status: Schema.optionalKey<Schema.Int>;
26
+ retryAfterMillis: Schema.optionalKey<Schema.Natural>;
27
+ }>, import("effect/Cause").YieldableError>;
28
+ /** Credential-free control-plane failures; response bodies and native causes never escape. */
29
+ export declare class ClientError extends ClientError_base {}
30
+ declare const SessionError_base: Schema.Class<SessionError, Schema.TaggedStruct<"SessionError", {
31
+ operation: Schema.Literals<readonly ["session-retrieve", "session-list", "session-release", "session-wait", "session-logs", "session-live-view", "session-connect", "session-attach"]>;
32
+ reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
33
+ outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
34
+ status: Schema.optionalKey<Schema.Int>;
35
+ retryAfterMillis: Schema.optionalKey<Schema.Natural>;
36
+ }>, import("effect/Cause").YieldableError>;
37
+ export declare class SessionError extends SessionError_base {}
38
+ declare const ContextError_base: Schema.Class<ContextError, Schema.TaggedStruct<"ContextError", {
39
+ operation: Schema.Literals<readonly ["context-create", "context-retrieve", "context-delete", "writer", "writer-admit", "writer-authority", "writer-readback", "writer-settle"]>;
40
+ reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
41
+ outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
42
+ status: Schema.optionalKey<Schema.Int>;
43
+ retryAfterMillis: Schema.optionalKey<Schema.Natural>;
44
+ }>, import("effect/Cause").YieldableError>;
45
+ export declare class ContextError extends ContextError_base {}
46
+ declare const ExtensionError_base: Schema.Class<ExtensionError, Schema.TaggedStruct<"ExtensionError", {
47
+ readonly operation: Schema.Literals<readonly ["extension-archive", "extension-register", "extension-retrieve", "extension-delete"]>;
48
+ readonly outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
49
+ readonly status: Schema.optionalKey<Schema.Int>;
50
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
51
+ readonly reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type", "unsafe-filename"]>;
52
+ }>, import("effect/Cause").YieldableError>;
53
+ /**
54
+ * `extension-archive` is the local inspection of the bytes a caller supplied, before any
55
+ * request. Why an archive was refused is its reason, never a second operation.
56
+ */
57
+ export declare class ExtensionError extends ExtensionError_base {}
58
+ declare const ProjectError_base: Schema.Class<ProjectError, Schema.TaggedStruct<"ProjectError", {
59
+ operation: Schema.Literals<readonly ["project-list", "project-retrieve", "project-usage"]>;
60
+ reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
61
+ outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
62
+ status: Schema.optionalKey<Schema.Int>;
63
+ retryAfterMillis: Schema.optionalKey<Schema.Natural>;
64
+ }>, import("effect/Cause").YieldableError>;
65
+ /** Project inspection and usage. */
66
+ export declare class ProjectError extends ProjectError_base {}
67
+ declare const CertificateError_base: Schema.Class<CertificateError, Schema.TaggedStruct<"CertificateError", {
68
+ operation: Schema.Literals<readonly ["certificate-create", "certificate-list", "certificate-retrieve", "certificate-delete"]>;
69
+ reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
70
+ outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
71
+ status: Schema.optionalKey<Schema.Int>;
72
+ retryAfterMillis: Schema.optionalKey<Schema.Natural>;
73
+ }>, import("effect/Cause").YieldableError>;
74
+ /** Proxy CA certificate administration. */
75
+ export declare class CertificateError extends CertificateError_base {}
76
+ declare const PlatformError_base: Schema.Class<PlatformError, Schema.TaggedStruct<"PlatformError", {
77
+ readonly operation: Schema.Literals<readonly ["search-web", "fetch", "agent-create", "agent-list", "agent-retrieve", "agent-update", "agent-delete", "agent-run", "agent-run-list", "agent-run-retrieve", "agent-run-messages", "agent-run-stop", "agent-run-wait", "function-list", "function-retrieve", "function-versions", "function-version", "function-builds", "function-build", "function-build-logs", "function-invoke", "function-invocations", "function-invocation", "function-invocation-logs", "function-wait", "webhook-create", "webhook-list", "webhook-retrieve", "webhook-update", "webhook-delete", "webhook-rotate-secret"]>;
78
+ readonly reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type"]>;
79
+ readonly outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
80
+ readonly status: Schema.optionalKey<Schema.Int>;
81
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
82
+ readonly service: Schema.Literals<readonly ["search", "fetch", "agents", "functions", "webhooks"]>;
83
+ }>, import("effect/Cause").YieldableError>;
84
+ /**
85
+ * Browserbase platform services outside a browser session: Search, Fetch, Agents, Functions
86
+ * and Webhooks. `service` names which one; these are host APIs, never model-facing tools.
87
+ */
88
+ export declare class PlatformError extends PlatformError_base {}
89
+ declare const FileError_base: Schema.Class<FileError, Schema.TaggedStruct<"FileError", {
90
+ readonly operation: Schema.Literals<readonly ["upload", "downloads-list", "download-metadata", "download", "download-wait", "download-delete"]>;
91
+ readonly outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
92
+ readonly status: Schema.optionalKey<Schema.Int>;
93
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
94
+ readonly reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type", "unsafe-filename", "ambiguous", "checksum", "unsupported"]>;
95
+ }>, import("effect/Cause").YieldableError>;
96
+ export declare class FileError extends FileError_base {}
97
+ declare const ArtifactError_base: Schema.Class<ArtifactError, Schema.TaggedStruct<"ArtifactError", {
98
+ readonly operation: Schema.Literals<readonly ["recording-request", "recording-status", "recording-wait", "recording", "recording-download", "replay-metadata", "replay", "replay-playlist", "replay-media"]>;
99
+ readonly outcome: Schema.optionalKey<Schema.Literals<readonly ["undispatched", "rejected", "unknown"]>>;
100
+ readonly status: Schema.optionalKey<Schema.Int>;
101
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
102
+ readonly reason: Schema.Literals<readonly ["configuration", "authorization", "rate-limited", "not-found", "active", "disabled", "expired", "provider", "transport", "timeout", "malformed", "limit", "unsafe-url", "content-type", "failed", "byos", "assembly-unknown", "unsupported", "ambiguous"]>;
103
+ }>, import("effect/Cause").YieldableError>;
104
+ export declare class ArtifactError extends ArtifactError_base {}
105
+ declare const InitializationError_base: Schema.Class<InitializationError, Schema.TaggedStruct<"InitializationError", {
106
+ readonly operation: Schema.Literals<readonly ["configure", "register", "ready", "callback", "dispose"]>;
107
+ readonly step: Schema.String;
108
+ readonly reason: Schema.Literals<readonly ["configuration", "unsupported", "origin", "stale", "busy", "closed", "timeout", "input", "output", "native"]>;
109
+ }>, import("effect/Cause").YieldableError>;
110
+ export declare class InitializationError extends InitializationError_base {}
111
+ declare const AllocationError_base: Schema.Class<AllocationError, Schema.TaggedStruct<"AllocationError", {
112
+ readonly attempt: typeof AllocationAttempt;
113
+ readonly reference: Schema.optionalKey<typeof SessionReference>;
114
+ readonly outcome: Schema.Literals<readonly ["rejected", "unknown"]>;
115
+ readonly reason: Schema.Literals<readonly ["authorization", "rate-limited", "configuration", "provider", "transport", "timeout", "malformed"]>;
116
+ readonly status: Schema.optionalKey<Schema.Int>;
117
+ readonly retryAfterMillis: Schema.optionalKey<Schema.Natural>;
118
+ }>, import("effect/Cause").YieldableError>;
119
+ /** Creation has a known rejection or an uncertain effect; absence of a reply is not a rejection. */
120
+ export declare class AllocationError extends AllocationError_base {}
121
+ //#endregion
122
+ export { Errors_d_exports as t };
123
+ //# sourceMappingURL=Errors.d.mts.map
@@ -0,0 +1,329 @@
1
+ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
2
+ import { AllocationAttempt, SessionReference } from "./References.mjs";
3
+ import { Schema } from "effect";
4
+ //#region src/Errors.ts
5
+ var Errors_exports = /* @__PURE__ */ __exportAll({
6
+ AllocationError: () => AllocationError,
7
+ ArtifactError: () => ArtifactError,
8
+ BrowserError: () => BrowserError,
9
+ BrowserOperation: () => BrowserOperation,
10
+ CertificateError: () => CertificateError,
11
+ ClientError: () => ClientError,
12
+ ContextError: () => ContextError,
13
+ ExtensionError: () => ExtensionError,
14
+ FileError: () => FileError,
15
+ InitializationError: () => InitializationError,
16
+ PlatformError: () => PlatformError,
17
+ ProjectError: () => ProjectError,
18
+ SessionError: () => SessionError
19
+ });
20
+ /**
21
+ * What a caller asked the owned browser to do. The vocabulary is closed: the owner stamps it
22
+ * when it admits an operation, so a native step's own name can never become API, and a new
23
+ * spelling is a deliberate edit here rather than a string that merely compiles.
24
+ */
25
+ const BrowserOperation = Schema.Literals([
26
+ "configure",
27
+ "launch",
28
+ "connect",
29
+ "reconnect",
30
+ "detach",
31
+ "disconnect",
32
+ "close",
33
+ "handoff",
34
+ "resume",
35
+ "live-view",
36
+ "target",
37
+ "handle",
38
+ "list-pages",
39
+ "list-frames",
40
+ "select-page",
41
+ "select-frame",
42
+ "new-page",
43
+ "close-page",
44
+ "resize",
45
+ "ready",
46
+ "observe",
47
+ "checkpoint",
48
+ "control-facts",
49
+ "revalidate",
50
+ "read-text",
51
+ "screenshot",
52
+ "wait",
53
+ "navigate",
54
+ "navigate-stop",
55
+ "click",
56
+ "fill",
57
+ "scroll",
58
+ "click-and-wait",
59
+ "download-action",
60
+ "select-files",
61
+ "file-chooser",
62
+ "action-result",
63
+ "pointer-move",
64
+ "hover",
65
+ "wheel",
66
+ "press",
67
+ "type",
68
+ "page-control",
69
+ "page-state",
70
+ "page-suspend",
71
+ "page-resume",
72
+ "capture",
73
+ "capture-start",
74
+ "capture-stop",
75
+ "capture-consume"
76
+ ]);
77
+ var BrowserError = class extends Schema.TaggedError()("BrowserError", {
78
+ operation: BrowserOperation,
79
+ reason: Schema.Literals([
80
+ "configuration",
81
+ "unsupported",
82
+ "busy",
83
+ "closed",
84
+ "stale",
85
+ "not-found",
86
+ "ambiguous",
87
+ "malformed",
88
+ "limit",
89
+ "timeout",
90
+ "transport",
91
+ "provider",
92
+ "authorization",
93
+ "rate-limited",
94
+ "disconnected",
95
+ "active",
96
+ "disabled",
97
+ "expired",
98
+ "failed",
99
+ "unsafe-url",
100
+ "content-type",
101
+ "timestamp",
102
+ "resized",
103
+ "target-changed",
104
+ "interrupted",
105
+ "context-lease",
106
+ "not-visible",
107
+ "denied",
108
+ "not-focused"
109
+ ]),
110
+ outcome: Schema.optionalKey(Schema.Literals([
111
+ "undispatched",
112
+ "rejected",
113
+ "unknown"
114
+ ])),
115
+ status: Schema.optionalKey(Schema.Int),
116
+ retryAfterMillis: Schema.optionalKey(Schema.Natural)
117
+ }) {};
118
+ const RequestReason = Schema.Literals([
119
+ "configuration",
120
+ "authorization",
121
+ "rate-limited",
122
+ "not-found",
123
+ "active",
124
+ "disabled",
125
+ "expired",
126
+ "provider",
127
+ "transport",
128
+ "timeout",
129
+ "malformed",
130
+ "limit",
131
+ "unsafe-url",
132
+ "content-type"
133
+ ]);
134
+ /**
135
+ * Every control-plane error shares these fields, but never a vocabulary: each names only the
136
+ * operations its own service performs, so a caller can match on them exhaustively.
137
+ */
138
+ const requestFields = (operations) => ({
139
+ operation: Schema.Literals(operations),
140
+ reason: RequestReason,
141
+ outcome: Schema.optionalKey(Schema.Literals([
142
+ "undispatched",
143
+ "rejected",
144
+ "unknown"
145
+ ])),
146
+ status: Schema.optionalKey(Schema.Int),
147
+ retryAfterMillis: Schema.optionalKey(Schema.Natural)
148
+ });
149
+ /** Credential-free control-plane failures; response bodies and native causes never escape. */
150
+ var ClientError = class extends Schema.TaggedError()("ClientError", requestFields([
151
+ "configure",
152
+ "provider-read",
153
+ "provider-mutation",
154
+ "provider-upload",
155
+ "media-download"
156
+ ])) {};
157
+ var SessionError = class extends Schema.TaggedError()("SessionError", requestFields([
158
+ "session-retrieve",
159
+ "session-list",
160
+ "session-release",
161
+ "session-wait",
162
+ "session-logs",
163
+ "session-live-view",
164
+ "session-connect",
165
+ "session-attach"
166
+ ])) {};
167
+ var ContextError = class extends Schema.TaggedError()("ContextError", requestFields([
168
+ "context-create",
169
+ "context-retrieve",
170
+ "context-delete",
171
+ "writer",
172
+ "writer-admit",
173
+ "writer-authority",
174
+ "writer-readback",
175
+ "writer-settle"
176
+ ])) {};
177
+ /**
178
+ * `extension-archive` is the local inspection of the bytes a caller supplied, before any
179
+ * request. Why an archive was refused is its reason, never a second operation.
180
+ */
181
+ var ExtensionError = class extends Schema.TaggedError()("ExtensionError", {
182
+ ...requestFields([
183
+ "extension-archive",
184
+ "extension-register",
185
+ "extension-retrieve",
186
+ "extension-delete"
187
+ ]),
188
+ reason: Schema.Literals([...RequestReason.literals, "unsafe-filename"])
189
+ }) {};
190
+ /** Project inspection and usage. */
191
+ var ProjectError = class extends Schema.TaggedError()("ProjectError", requestFields([
192
+ "project-list",
193
+ "project-retrieve",
194
+ "project-usage"
195
+ ])) {};
196
+ /** Proxy CA certificate administration. */
197
+ var CertificateError = class extends Schema.TaggedError()("CertificateError", requestFields([
198
+ "certificate-create",
199
+ "certificate-list",
200
+ "certificate-retrieve",
201
+ "certificate-delete"
202
+ ])) {};
203
+ /**
204
+ * Browserbase platform services outside a browser session: Search, Fetch, Agents, Functions
205
+ * and Webhooks. `service` names which one; these are host APIs, never model-facing tools.
206
+ */
207
+ var PlatformError = class extends Schema.TaggedError()("PlatformError", {
208
+ ...requestFields([
209
+ "search-web",
210
+ "fetch",
211
+ "agent-create",
212
+ "agent-list",
213
+ "agent-retrieve",
214
+ "agent-update",
215
+ "agent-delete",
216
+ "agent-run",
217
+ "agent-run-list",
218
+ "agent-run-retrieve",
219
+ "agent-run-messages",
220
+ "agent-run-stop",
221
+ "agent-run-wait",
222
+ "function-list",
223
+ "function-retrieve",
224
+ "function-versions",
225
+ "function-version",
226
+ "function-builds",
227
+ "function-build",
228
+ "function-build-logs",
229
+ "function-invoke",
230
+ "function-invocations",
231
+ "function-invocation",
232
+ "function-invocation-logs",
233
+ "function-wait",
234
+ "webhook-create",
235
+ "webhook-list",
236
+ "webhook-retrieve",
237
+ "webhook-update",
238
+ "webhook-delete",
239
+ "webhook-rotate-secret"
240
+ ]),
241
+ service: Schema.Literals([
242
+ "search",
243
+ "fetch",
244
+ "agents",
245
+ "functions",
246
+ "webhooks"
247
+ ])
248
+ }) {};
249
+ var FileError = class extends Schema.TaggedError()("FileError", {
250
+ ...requestFields([
251
+ "upload",
252
+ "downloads-list",
253
+ "download-metadata",
254
+ "download",
255
+ "download-wait",
256
+ "download-delete"
257
+ ]),
258
+ reason: Schema.Literals([
259
+ ...RequestReason.literals,
260
+ "unsafe-filename",
261
+ "ambiguous",
262
+ "checksum",
263
+ "unsupported"
264
+ ])
265
+ }) {};
266
+ var ArtifactError = class extends Schema.TaggedError()("ArtifactError", {
267
+ ...requestFields([
268
+ "recording-request",
269
+ "recording-status",
270
+ "recording-wait",
271
+ "recording",
272
+ "recording-download",
273
+ "replay-metadata",
274
+ "replay",
275
+ "replay-playlist",
276
+ "replay-media"
277
+ ]),
278
+ reason: Schema.Literals([
279
+ ...RequestReason.literals,
280
+ "failed",
281
+ "byos",
282
+ "assembly-unknown",
283
+ "unsupported",
284
+ "ambiguous"
285
+ ])
286
+ }) {};
287
+ var InitializationError = class extends Schema.TaggedError()("InitializationError", {
288
+ operation: Schema.Literals([
289
+ "configure",
290
+ "register",
291
+ "ready",
292
+ "callback",
293
+ "dispose"
294
+ ]),
295
+ step: Schema.String.check(Schema.isMaxLength(128)),
296
+ reason: Schema.Literals([
297
+ "configuration",
298
+ "unsupported",
299
+ "origin",
300
+ "stale",
301
+ "busy",
302
+ "closed",
303
+ "timeout",
304
+ "input",
305
+ "output",
306
+ "native"
307
+ ])
308
+ }) {};
309
+ /** Creation has a known rejection or an uncertain effect; absence of a reply is not a rejection. */
310
+ var AllocationError = class extends Schema.TaggedError()("AllocationError", {
311
+ attempt: AllocationAttempt,
312
+ reference: Schema.optionalKey(SessionReference),
313
+ outcome: Schema.Literals(["rejected", "unknown"]),
314
+ reason: Schema.Literals([
315
+ "authorization",
316
+ "rate-limited",
317
+ "configuration",
318
+ "provider",
319
+ "transport",
320
+ "timeout",
321
+ "malformed"
322
+ ]),
323
+ status: Schema.optionalKey(Schema.Int),
324
+ retryAfterMillis: Schema.optionalKey(Schema.Natural)
325
+ }) {};
326
+ //#endregion
327
+ export { AllocationError, ArtifactError, BrowserError, BrowserOperation, CertificateError, ClientError, ContextError, ExtensionError, FileError, InitializationError, PlatformError, ProjectError, SessionError, Errors_exports as t };
328
+
329
+ //# sourceMappingURL=Errors.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.mjs","names":[],"sources":["../src/Errors.ts"],"sourcesContent":["import { Schema } from \"effect\";\n\nimport { AllocationAttempt, SessionReference } from \"./References.ts\";\n\n/**\n * What a caller asked the owned browser to do. The vocabulary is closed: the owner stamps it\n * when it admits an operation, so a native step's own name can never become API, and a new\n * spelling is a deliberate edit here rather than a string that merely compiles.\n */\nexport const BrowserOperation = Schema.Literals([\n // configuration and lifetime\n \"configure\",\n \"launch\",\n \"connect\",\n \"reconnect\",\n \"detach\",\n \"disconnect\",\n \"close\",\n \"handoff\",\n \"resume\",\n \"live-view\",\n // targets\n \"target\",\n \"handle\",\n \"list-pages\",\n \"list-frames\",\n \"select-page\",\n \"select-frame\",\n \"new-page\",\n \"close-page\",\n \"resize\",\n // reading\n \"ready\",\n \"observe\",\n \"checkpoint\",\n \"control-facts\",\n \"revalidate\",\n \"read-text\",\n \"screenshot\",\n \"wait\",\n // input\n \"navigate\",\n \"navigate-stop\",\n \"click\",\n \"fill\",\n \"scroll\",\n \"click-and-wait\",\n \"download-action\",\n \"select-files\",\n \"file-chooser\",\n \"action-result\",\n // native pointer input\n \"pointer-move\",\n \"hover\",\n \"wheel\",\n // native key input\n \"press\",\n \"type\",\n // page control\n \"page-control\",\n \"page-state\",\n \"page-suspend\",\n \"page-resume\",\n // capture\n \"capture\",\n \"capture-start\",\n \"capture-stop\",\n \"capture-consume\",\n]);\n\nexport type BrowserOperation = typeof BrowserOperation.Type;\n\nexport class BrowserError extends Schema.TaggedError<BrowserError>()(\"BrowserError\", {\n operation: BrowserOperation,\n reason: Schema.Literals([\n \"configuration\",\n \"unsupported\",\n \"busy\",\n \"closed\",\n \"stale\",\n \"not-found\",\n \"ambiguous\",\n \"malformed\",\n \"limit\",\n \"timeout\",\n \"transport\",\n \"provider\",\n \"authorization\",\n \"rate-limited\",\n \"disconnected\",\n \"active\",\n \"disabled\",\n \"expired\",\n \"failed\",\n \"unsafe-url\",\n \"content-type\",\n \"timestamp\",\n \"resized\",\n \"target-changed\",\n \"interrupted\",\n \"context-lease\",\n // The pointer cannot be placed on it: outside the viewport, without area, or covered.\n \"not-visible\",\n // The host's own admission policy refused it, on facts read just before any input.\n \"denied\",\n // Keys would not reach it: neither it nor anything inside it has focus.\n \"not-focused\",\n ]),\n outcome: Schema.optionalKey(Schema.Literals([\"undispatched\", \"rejected\", \"unknown\"])),\n status: Schema.optionalKey(Schema.Int),\n retryAfterMillis: Schema.optionalKey(Schema.Natural),\n}) {}\n\nconst RequestReason = Schema.Literals([\n \"configuration\",\n \"authorization\",\n \"rate-limited\",\n \"not-found\",\n \"active\",\n \"disabled\",\n \"expired\",\n \"provider\",\n \"transport\",\n \"timeout\",\n \"malformed\",\n \"limit\",\n \"unsafe-url\",\n \"content-type\",\n]);\n\n/**\n * Every control-plane error shares these fields, but never a vocabulary: each names only the\n * operations its own service performs, so a caller can match on them exhaustively.\n */\nconst requestFields = <const Operations extends ReadonlyArray<string>>(operations: Operations) => ({\n operation: Schema.Literals(operations),\n reason: RequestReason,\n outcome: Schema.optionalKey(Schema.Literals([\"undispatched\", \"rejected\", \"unknown\"])),\n status: Schema.optionalKey(Schema.Int),\n retryAfterMillis: Schema.optionalKey(Schema.Natural),\n});\n\n/** Credential-free control-plane failures; response bodies and native causes never escape. */\nexport class ClientError extends Schema.TaggedError<ClientError>()(\n \"ClientError\",\n requestFields([\n \"configure\",\n \"provider-read\",\n \"provider-mutation\",\n \"provider-upload\",\n \"media-download\",\n ]),\n) {}\n\nexport class SessionError extends Schema.TaggedError<SessionError>()(\n \"SessionError\",\n requestFields([\n \"session-retrieve\",\n \"session-list\",\n \"session-release\",\n \"session-wait\",\n \"session-logs\",\n \"session-live-view\",\n \"session-connect\",\n \"session-attach\",\n ]),\n) {}\n\nexport class ContextError extends Schema.TaggedError<ContextError>()(\n \"ContextError\",\n requestFields([\n \"context-create\",\n \"context-retrieve\",\n \"context-delete\",\n \"writer\",\n \"writer-admit\",\n \"writer-authority\",\n \"writer-readback\",\n \"writer-settle\",\n ]),\n) {}\n\n/**\n * `extension-archive` is the local inspection of the bytes a caller supplied, before any\n * request. Why an archive was refused is its reason, never a second operation.\n */\nexport class ExtensionError extends Schema.TaggedError<ExtensionError>()(\"ExtensionError\", {\n ...requestFields([\n \"extension-archive\",\n \"extension-register\",\n \"extension-retrieve\",\n \"extension-delete\",\n ]),\n reason: Schema.Literals([...RequestReason.literals, \"unsafe-filename\"]),\n}) {}\n\n/** Project inspection and usage. */\nexport class ProjectError extends Schema.TaggedError<ProjectError>()(\n \"ProjectError\",\n requestFields([\"project-list\", \"project-retrieve\", \"project-usage\"]),\n) {}\n\n/** Proxy CA certificate administration. */\nexport class CertificateError extends Schema.TaggedError<CertificateError>()(\n \"CertificateError\",\n requestFields([\n \"certificate-create\",\n \"certificate-list\",\n \"certificate-retrieve\",\n \"certificate-delete\",\n ]),\n) {}\n\n/**\n * Browserbase platform services outside a browser session: Search, Fetch, Agents, Functions\n * and Webhooks. `service` names which one; these are host APIs, never model-facing tools.\n */\nexport class PlatformError extends Schema.TaggedError<PlatformError>()(\"PlatformError\", {\n ...requestFields([\n \"search-web\",\n \"fetch\",\n \"agent-create\",\n \"agent-list\",\n \"agent-retrieve\",\n \"agent-update\",\n \"agent-delete\",\n \"agent-run\",\n \"agent-run-list\",\n \"agent-run-retrieve\",\n \"agent-run-messages\",\n \"agent-run-stop\",\n \"agent-run-wait\",\n \"function-list\",\n \"function-retrieve\",\n \"function-versions\",\n \"function-version\",\n \"function-builds\",\n \"function-build\",\n \"function-build-logs\",\n \"function-invoke\",\n \"function-invocations\",\n \"function-invocation\",\n \"function-invocation-logs\",\n \"function-wait\",\n \"webhook-create\",\n \"webhook-list\",\n \"webhook-retrieve\",\n \"webhook-update\",\n \"webhook-delete\",\n \"webhook-rotate-secret\",\n ]),\n service: Schema.Literals([\"search\", \"fetch\", \"agents\", \"functions\", \"webhooks\"]),\n}) {}\n\nexport class FileError extends Schema.TaggedError<FileError>()(\"FileError\", {\n ...requestFields([\n \"upload\",\n \"downloads-list\",\n \"download-metadata\",\n \"download\",\n \"download-wait\",\n \"download-delete\",\n ]),\n reason: Schema.Literals([\n ...RequestReason.literals,\n \"unsafe-filename\",\n \"ambiguous\",\n \"checksum\",\n \"unsupported\",\n ]),\n}) {}\n\nexport class ArtifactError extends Schema.TaggedError<ArtifactError>()(\"ArtifactError\", {\n ...requestFields([\n \"recording-request\",\n \"recording-status\",\n \"recording-wait\",\n \"recording\",\n \"recording-download\",\n \"replay-metadata\",\n \"replay\",\n \"replay-playlist\",\n \"replay-media\",\n ]),\n reason: Schema.Literals([\n ...RequestReason.literals,\n \"failed\",\n \"byos\",\n \"assembly-unknown\",\n \"unsupported\",\n \"ambiguous\",\n ]),\n}) {}\n\nexport class InitializationError extends Schema.TaggedError<InitializationError>()(\n \"InitializationError\",\n {\n operation: Schema.Literals([\"configure\", \"register\", \"ready\", \"callback\", \"dispose\"]),\n step: Schema.String.check(Schema.isMaxLength(128)),\n reason: Schema.Literals([\n \"configuration\",\n \"unsupported\",\n \"origin\",\n \"stale\",\n \"busy\",\n \"closed\",\n \"timeout\",\n \"input\",\n \"output\",\n \"native\",\n ]),\n },\n) {}\n\n/** Creation has a known rejection or an uncertain effect; absence of a reply is not a rejection. */\nexport class AllocationError extends Schema.TaggedError<AllocationError>()(\"AllocationError\", {\n attempt: AllocationAttempt,\n reference: Schema.optionalKey(SessionReference),\n outcome: Schema.Literals([\"rejected\", \"unknown\"]),\n reason: Schema.Literals([\n \"authorization\",\n \"rate-limited\",\n \"configuration\",\n \"provider\",\n \"transport\",\n \"timeout\",\n \"malformed\",\n ]),\n status: Schema.optionalKey(Schema.Int),\n retryAfterMillis: Schema.optionalKey(Schema.Natural),\n}) {}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAa,mBAAmB,OAAO,SAAS;CAE9C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;AACF,CAAC;AAID,IAAa,eAAb,cAAkC,OAAO,YAA0B,CAAC,CAAC,gBAAgB;CACnF,WAAW;CACX,QAAQ,OAAO,SAAS;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EAEA;CACF,CAAC;CACD,SAAS,OAAO,YAAY,OAAO,SAAS;EAAC;EAAgB;EAAY;CAAS,CAAC,CAAC;CACpF,QAAQ,OAAO,YAAY,OAAO,GAAG;CACrC,kBAAkB,OAAO,YAAY,OAA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