@effect-agent/platform-cloudflare 0.1.0-beta.121 → 0.1.0-beta.123
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/dist/BrowserCredentials.d.mts +91 -0
- package/dist/BrowserCredentials.mjs +120 -0
- package/dist/BrowserCredentials.mjs.map +1 -0
- package/dist/BrowserSession-DuOUcC6G.mjs +442 -0
- package/dist/BrowserSession-DuOUcC6G.mjs.map +1 -0
- package/dist/BrowserSession-DxCN-5F9.d.mts +109 -0
- package/dist/BrowserSession.d.mts +3 -0
- package/dist/BrowserSession.mjs +4 -0
- package/dist/CloudflareThreadClient.d.mts +50 -50
- package/dist/{InteractiveBrowser-Cm4xgiGy.d.mts → InteractiveBrowser-BnqY_Y-F.d.mts} +2 -2
- package/dist/{InteractiveBrowser-DhOkdUx9.mjs → InteractiveBrowser-DeOlcu-2.mjs} +190 -50
- package/dist/InteractiveBrowser-DeOlcu-2.mjs.map +1 -0
- package/dist/InteractiveBrowser.d.mts +1 -1
- package/dist/InteractiveBrowser.mjs +1 -1
- package/dist/{ThreadObject-mt0uxvZZ.d.mts → ThreadObject-BTo1jqab.d.mts} +33 -33
- package/dist/ThreadObject.d.mts +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
- package/src/BrowserCredentials.ts +146 -0
- package/src/BrowserSession.ts +589 -0
- package/src/InteractiveBrowser.ts +1 -1
- package/src/index.ts +2 -0
- package/src/internal/browser-binding.ts +245 -57
- package/src/internal/browser-credentials.ts +362 -0
- package/dist/InteractiveBrowser-DhOkdUx9.mjs.map +0 -1
- package/dist/ProtectedBrowser.d.mts +0 -128
- package/dist/ProtectedBrowser.mjs +0 -1201
- package/dist/ProtectedBrowser.mjs.map +0 -1
- package/src/ProtectedBrowser.ts +0 -9
- package/src/protected-browser/binding.ts +0 -366
- package/src/protected-browser/host.ts +0 -382
- package/src/protected-browser/inspect-frame.ts +0 -140
- package/src/protected-browser/native.ts +0 -483
- package/src/protected-browser/policy.ts +0 -872
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Context, Effect, Schema } from "effect";
|
|
2
|
+
declare namespace BrowserCredentials_d_exports {
|
|
3
|
+
export { BrowserCredentialAccess, BrowserCredentialMaterial, CardCredential, CredentialAccessError, CredentialAccessRequest, CredentialDispatch, CredentialFieldRole, CredentialFillError, CredentialFillResult, CredentialKind, CredentialOrigin, CredentialTarget, FillCredentialRequest, LoginCredential };
|
|
4
|
+
}
|
|
5
|
+
export declare const CredentialKind: Schema.Literals<readonly ["login", "card"]>;
|
|
6
|
+
export declare const CredentialFieldRole: Schema.Literals<readonly ["username", "password", "card-name", "card-number", "card-expiry", "card-expiry-month", "card-expiry-year", "card-security-code"]>;
|
|
7
|
+
/** Canonical HTTPS origins, including non-default ports. Grants must match exactly. */
|
|
8
|
+
export declare const CredentialOrigin: Schema.String;
|
|
9
|
+
declare const CredentialTarget_base: Schema.Class<CredentialTarget, Schema.Struct<{
|
|
10
|
+
readonly topOrigin: Schema.String;
|
|
11
|
+
readonly frameOrigin: Schema.String;
|
|
12
|
+
readonly recipientOrigin: Schema.String;
|
|
13
|
+
}>, {}>;
|
|
14
|
+
export declare class CredentialTarget extends CredentialTarget_base {}
|
|
15
|
+
declare const FillCredentialRequest_base: Schema.Class<FillCredentialRequest, Schema.Struct<{
|
|
16
|
+
readonly credential: Schema.NonEmptyString;
|
|
17
|
+
readonly kind: Schema.Literals<readonly ["login", "card"]>;
|
|
18
|
+
readonly frame: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
19
|
+
readonly fields: Schema.$Array<Schema.Struct<{
|
|
20
|
+
readonly selector: Schema.NonEmptyString;
|
|
21
|
+
readonly role: Schema.Literals<readonly ["username", "password", "card-name", "card-number", "card-expiry", "card-expiry-month", "card-expiry-year", "card-security-code"]>;
|
|
22
|
+
}>>;
|
|
23
|
+
}>, {}>;
|
|
24
|
+
/** Selectors identify one native form. Roles explicitly select material; no field inference occurs. */
|
|
25
|
+
export declare class FillCredentialRequest extends FillCredentialRequest_base {}
|
|
26
|
+
/** Host-only material. Never return or encode it through a Tool, log, trace, or checkpoint. */
|
|
27
|
+
export declare const LoginCredential: Schema.TaggedStruct<"LoginCredential", {
|
|
28
|
+
readonly username: Schema.Redacted<Schema.NonEmptyString>;
|
|
29
|
+
readonly password: Schema.Redacted<Schema.NonEmptyString>;
|
|
30
|
+
}>;
|
|
31
|
+
/** Security codes are transient; the host must not persist them. */
|
|
32
|
+
export declare const CardCredential: Schema.TaggedStruct<"CardCredential", {
|
|
33
|
+
readonly name: Schema.Redacted<Schema.NonEmptyString>;
|
|
34
|
+
readonly number: Schema.Redacted<Schema.String>;
|
|
35
|
+
readonly expiry: Schema.Redacted<Schema.NonEmptyString>;
|
|
36
|
+
readonly expiryMonth: Schema.Redacted<Schema.String>;
|
|
37
|
+
readonly expiryYear: Schema.Redacted<Schema.String>;
|
|
38
|
+
readonly securityCode: Schema.optionalKey<Schema.Redacted<Schema.String>>;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const BrowserCredentialMaterial: Schema.Union<readonly [Schema.TaggedStruct<"LoginCredential", {
|
|
41
|
+
readonly username: Schema.Redacted<Schema.NonEmptyString>;
|
|
42
|
+
readonly password: Schema.Redacted<Schema.NonEmptyString>;
|
|
43
|
+
}>, Schema.TaggedStruct<"CardCredential", {
|
|
44
|
+
readonly name: Schema.Redacted<Schema.NonEmptyString>;
|
|
45
|
+
readonly number: Schema.Redacted<Schema.String>;
|
|
46
|
+
readonly expiry: Schema.Redacted<Schema.NonEmptyString>;
|
|
47
|
+
readonly expiryMonth: Schema.Redacted<Schema.String>;
|
|
48
|
+
readonly expiryYear: Schema.Redacted<Schema.String>;
|
|
49
|
+
readonly securityCode: Schema.optionalKey<Schema.Redacted<Schema.String>>;
|
|
50
|
+
}>]>;
|
|
51
|
+
export type BrowserCredentialMaterial = typeof BrowserCredentialMaterial.Type;
|
|
52
|
+
declare const CredentialAccessError_base: Schema.Class<CredentialAccessError, Schema.TaggedStruct<"CredentialAccessError", {
|
|
53
|
+
readonly reason: Schema.Literals<readonly ["denied", "missing-credential", "needs-attention", "busy", "resolver"]>;
|
|
54
|
+
}>, import("effect/Cause").YieldableError>;
|
|
55
|
+
export declare class CredentialAccessError extends CredentialAccessError_base {}
|
|
56
|
+
export interface CredentialAccessRequest {
|
|
57
|
+
readonly credential: string;
|
|
58
|
+
readonly kind: typeof CredentialKind.Type;
|
|
59
|
+
readonly target: CredentialTarget;
|
|
60
|
+
readonly roles: ReadonlyArray<typeof CredentialFieldRole.Type>;
|
|
61
|
+
}
|
|
62
|
+
declare const BrowserCredentialAccess_base: Context.ServiceClass<BrowserCredentialAccess, "@effect-agent/platform-cloudflare/BrowserCredentialAccess", {
|
|
63
|
+
readonly authorize: (request: CredentialAccessRequest) => Effect.Effect<void, CredentialAccessError>;
|
|
64
|
+
readonly resolve: (request: CredentialAccessRequest) => Effect.Effect<BrowserCredentialMaterial, CredentialAccessError>;
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* Invocation-owned authority. Derive caller/ownership from the host, not the public credential
|
|
68
|
+
* identifier. Authorize the actual merchant, frame, recipient, roles, and side effects of filling.
|
|
69
|
+
* Repeated checks must consult current grants. Never log or trace resolved material.
|
|
70
|
+
* Bind caller identity and identifier-to-vault-item selection for the whole invocation; an alias
|
|
71
|
+
* changing between resolve and authorize must never authorize different material.
|
|
72
|
+
*/
|
|
73
|
+
export declare class BrowserCredentialAccess extends BrowserCredentialAccess_base {}
|
|
74
|
+
export declare const CredentialDispatch: Schema.Literals<readonly ["not-dispatched", "possibly-dispatched", "dispatched"]>;
|
|
75
|
+
declare const CredentialFillResult_base: Schema.Class<CredentialFillResult, Schema.Struct<{
|
|
76
|
+
readonly dispatch: Schema.Literal<"dispatched">;
|
|
77
|
+
readonly filled: Schema.Natural;
|
|
78
|
+
}>, {}>;
|
|
79
|
+
/** Filled counts acknowledged assignments, not authentication, submission, or website acceptance. */
|
|
80
|
+
export declare class CredentialFillResult extends CredentialFillResult_base {}
|
|
81
|
+
declare const CredentialFillError_base: Schema.Class<CredentialFillError, Schema.TaggedStruct<"CredentialFillError", {
|
|
82
|
+
readonly reason: Schema.Literals<readonly ["denied", "missing-credential", "stale-target", "unsupported", "needs-attention", "busy", "provider", "resolver", "timeout"]>;
|
|
83
|
+
readonly dispatch: Schema.Literals<readonly ["not-dispatched", "possibly-dispatched", "dispatched"]>;
|
|
84
|
+
readonly filled: Schema.Natural;
|
|
85
|
+
readonly cleanup: Schema.Literals<readonly ["not-requested", "confirmed", "unconfirmed"]>;
|
|
86
|
+
}>, import("effect/Cause").YieldableError>;
|
|
87
|
+
/** Content-free evidence. A lost reply never authorizes a retry or proves that no write occurred. */
|
|
88
|
+
export declare class CredentialFillError extends CredentialFillError_base {}
|
|
89
|
+
//#endregion
|
|
90
|
+
export { BrowserCredentials_d_exports as t };
|
|
91
|
+
//# sourceMappingURL=BrowserCredentials.d.mts.map
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
+
import { Context, Schema } from "effect";
|
|
3
|
+
//#region src/BrowserCredentials.ts
|
|
4
|
+
var BrowserCredentials_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
BrowserCredentialAccess: () => BrowserCredentialAccess,
|
|
6
|
+
BrowserCredentialMaterial: () => BrowserCredentialMaterial,
|
|
7
|
+
CardCredential: () => CardCredential,
|
|
8
|
+
CredentialAccessError: () => CredentialAccessError,
|
|
9
|
+
CredentialDispatch: () => CredentialDispatch,
|
|
10
|
+
CredentialFieldRole: () => CredentialFieldRole,
|
|
11
|
+
CredentialFillError: () => CredentialFillError,
|
|
12
|
+
CredentialFillResult: () => CredentialFillResult,
|
|
13
|
+
CredentialKind: () => CredentialKind,
|
|
14
|
+
CredentialOrigin: () => CredentialOrigin,
|
|
15
|
+
CredentialTarget: () => CredentialTarget,
|
|
16
|
+
FillCredentialRequest: () => FillCredentialRequest,
|
|
17
|
+
LoginCredential: () => LoginCredential
|
|
18
|
+
});
|
|
19
|
+
const Selector = Schema.NonEmptyString.check(Schema.isMaxLength(2048));
|
|
20
|
+
const CredentialKind = Schema.Literals(["login", "card"]);
|
|
21
|
+
const CredentialFieldRole = Schema.Literals([
|
|
22
|
+
"username",
|
|
23
|
+
"password",
|
|
24
|
+
"card-name",
|
|
25
|
+
"card-number",
|
|
26
|
+
"card-expiry",
|
|
27
|
+
"card-expiry-month",
|
|
28
|
+
"card-expiry-year",
|
|
29
|
+
"card-security-code"
|
|
30
|
+
]);
|
|
31
|
+
/** Canonical HTTPS origins, including non-default ports. Grants must match exactly. */
|
|
32
|
+
const CredentialOrigin = Schema.String.check(Schema.isMaxLength(2048), Schema.makeFilter((value) => {
|
|
33
|
+
try {
|
|
34
|
+
const url = new URL(value);
|
|
35
|
+
return url.protocol === "https:" && url.origin === value && !url.username && !url.password;
|
|
36
|
+
} catch {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}));
|
|
40
|
+
var CredentialTarget = class extends Schema.Class("CredentialTarget")({
|
|
41
|
+
topOrigin: CredentialOrigin,
|
|
42
|
+
frameOrigin: CredentialOrigin,
|
|
43
|
+
recipientOrigin: CredentialOrigin
|
|
44
|
+
}) {};
|
|
45
|
+
/** Selectors identify one native form. Roles explicitly select material; no field inference occurs. */
|
|
46
|
+
var FillCredentialRequest = class extends Schema.Class("FillCredentialRequest")({
|
|
47
|
+
credential: Schema.NonEmptyString.check(Schema.isMaxLength(256)),
|
|
48
|
+
kind: CredentialKind,
|
|
49
|
+
frame: Schema.optionalKey(Schema.Array(Selector).check(Schema.isMaxLength(8))),
|
|
50
|
+
fields: Schema.Array(Schema.Struct({
|
|
51
|
+
selector: Selector,
|
|
52
|
+
role: CredentialFieldRole
|
|
53
|
+
})).check(Schema.isMinLength(1), Schema.isMaxLength(8))
|
|
54
|
+
}) {};
|
|
55
|
+
const SecretText = Schema.Redacted(Schema.NonEmptyString.check(Schema.isMaxLength(1024)));
|
|
56
|
+
/** Host-only material. Never return or encode it through a Tool, log, trace, or checkpoint. */
|
|
57
|
+
const LoginCredential = Schema.TaggedStruct("LoginCredential", {
|
|
58
|
+
username: SecretText,
|
|
59
|
+
password: SecretText
|
|
60
|
+
});
|
|
61
|
+
/** Security codes are transient; the host must not persist them. */
|
|
62
|
+
const CardCredential = Schema.TaggedStruct("CardCredential", {
|
|
63
|
+
name: SecretText,
|
|
64
|
+
number: Schema.Redacted(Schema.String.check(Schema.isPattern(/^\d{12,19}$/))),
|
|
65
|
+
expiry: SecretText,
|
|
66
|
+
expiryMonth: Schema.Redacted(Schema.String.check(Schema.isPattern(/^(0[1-9]|1[0-2])$/))),
|
|
67
|
+
expiryYear: Schema.Redacted(Schema.String.check(Schema.isPattern(/^\d{4}$/))),
|
|
68
|
+
securityCode: Schema.optionalKey(Schema.Redacted(Schema.String.check(Schema.isPattern(/^\d{3,4}$/))))
|
|
69
|
+
});
|
|
70
|
+
const BrowserCredentialMaterial = Schema.Union([LoginCredential, CardCredential]);
|
|
71
|
+
var CredentialAccessError = class extends Schema.TaggedError()("CredentialAccessError", { reason: Schema.Literals([
|
|
72
|
+
"denied",
|
|
73
|
+
"missing-credential",
|
|
74
|
+
"needs-attention",
|
|
75
|
+
"busy",
|
|
76
|
+
"resolver"
|
|
77
|
+
]) }) {};
|
|
78
|
+
/**
|
|
79
|
+
* Invocation-owned authority. Derive caller/ownership from the host, not the public credential
|
|
80
|
+
* identifier. Authorize the actual merchant, frame, recipient, roles, and side effects of filling.
|
|
81
|
+
* Repeated checks must consult current grants. Never log or trace resolved material.
|
|
82
|
+
* Bind caller identity and identifier-to-vault-item selection for the whole invocation; an alias
|
|
83
|
+
* changing between resolve and authorize must never authorize different material.
|
|
84
|
+
*/
|
|
85
|
+
var BrowserCredentialAccess = class extends Context.Service()("@effect-agent/platform-cloudflare/BrowserCredentialAccess") {};
|
|
86
|
+
const CredentialDispatch = Schema.Literals([
|
|
87
|
+
"not-dispatched",
|
|
88
|
+
"possibly-dispatched",
|
|
89
|
+
"dispatched"
|
|
90
|
+
]);
|
|
91
|
+
/** Filled counts acknowledged assignments, not authentication, submission, or website acceptance. */
|
|
92
|
+
var CredentialFillResult = class extends Schema.Class("CredentialFillResult")({
|
|
93
|
+
dispatch: Schema.Literal("dispatched"),
|
|
94
|
+
filled: Schema.Natural.check(Schema.isLessThanOrEqualTo(8))
|
|
95
|
+
}) {};
|
|
96
|
+
/** Content-free evidence. A lost reply never authorizes a retry or proves that no write occurred. */
|
|
97
|
+
var CredentialFillError = class extends Schema.TaggedError()("CredentialFillError", {
|
|
98
|
+
reason: Schema.Literals([
|
|
99
|
+
"denied",
|
|
100
|
+
"missing-credential",
|
|
101
|
+
"stale-target",
|
|
102
|
+
"unsupported",
|
|
103
|
+
"needs-attention",
|
|
104
|
+
"busy",
|
|
105
|
+
"provider",
|
|
106
|
+
"resolver",
|
|
107
|
+
"timeout"
|
|
108
|
+
]),
|
|
109
|
+
dispatch: CredentialDispatch,
|
|
110
|
+
filled: Schema.Natural.check(Schema.isLessThanOrEqualTo(8)),
|
|
111
|
+
cleanup: Schema.Literals([
|
|
112
|
+
"not-requested",
|
|
113
|
+
"confirmed",
|
|
114
|
+
"unconfirmed"
|
|
115
|
+
])
|
|
116
|
+
}) {};
|
|
117
|
+
//#endregion
|
|
118
|
+
export { BrowserCredentialAccess, BrowserCredentialMaterial, CardCredential, CredentialAccessError, CredentialDispatch, CredentialFieldRole, CredentialFillError, CredentialFillResult, CredentialKind, CredentialOrigin, CredentialTarget, FillCredentialRequest, LoginCredential, BrowserCredentials_exports as t };
|
|
119
|
+
|
|
120
|
+
//# sourceMappingURL=BrowserCredentials.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserCredentials.mjs","names":[],"sources":["../src/BrowserCredentials.ts"],"sourcesContent":["import { Context, type Effect, Schema } from \"effect\";\n\nconst Selector = Schema.NonEmptyString.check(Schema.isMaxLength(2048));\n\nexport const CredentialKind = Schema.Literals([\"login\", \"card\"]);\n\nexport const CredentialFieldRole = Schema.Literals([\n \"username\",\n \"password\",\n \"card-name\",\n \"card-number\",\n \"card-expiry\",\n \"card-expiry-month\",\n \"card-expiry-year\",\n \"card-security-code\",\n]);\n\n/** Canonical HTTPS origins, including non-default ports. Grants must match exactly. */\nexport const CredentialOrigin = Schema.String.check(\n Schema.isMaxLength(2048),\n Schema.makeFilter((value) => {\n try {\n const url = new URL(value);\n\n return url.protocol === \"https:\" && url.origin === value && !url.username && !url.password;\n } catch {\n return false;\n }\n }),\n);\n\nexport class CredentialTarget extends Schema.Class<CredentialTarget>(\"CredentialTarget\")({\n topOrigin: CredentialOrigin,\n frameOrigin: CredentialOrigin,\n recipientOrigin: CredentialOrigin,\n}) {}\n\n/** Selectors identify one native form. Roles explicitly select material; no field inference occurs. */\nexport class FillCredentialRequest extends Schema.Class<FillCredentialRequest>(\n \"FillCredentialRequest\",\n)({\n credential: Schema.NonEmptyString.check(Schema.isMaxLength(256)),\n kind: CredentialKind,\n frame: Schema.optionalKey(Schema.Array(Selector).check(Schema.isMaxLength(8))),\n fields: Schema.Array(Schema.Struct({ selector: Selector, role: CredentialFieldRole })).check(\n Schema.isMinLength(1),\n Schema.isMaxLength(8),\n ),\n}) {}\n\nconst SecretText = Schema.Redacted(Schema.NonEmptyString.check(Schema.isMaxLength(1024)));\n\n/** Host-only material. Never return or encode it through a Tool, log, trace, or checkpoint. */\nexport const LoginCredential = Schema.TaggedStruct(\"LoginCredential\", {\n username: SecretText,\n password: SecretText,\n});\n\n/** Security codes are transient; the host must not persist them. */\nexport const CardCredential = Schema.TaggedStruct(\"CardCredential\", {\n name: SecretText,\n number: Schema.Redacted(Schema.String.check(Schema.isPattern(/^\\d{12,19}$/))),\n expiry: SecretText,\n expiryMonth: Schema.Redacted(Schema.String.check(Schema.isPattern(/^(0[1-9]|1[0-2])$/))),\n expiryYear: Schema.Redacted(Schema.String.check(Schema.isPattern(/^\\d{4}$/))),\n securityCode: Schema.optionalKey(\n Schema.Redacted(Schema.String.check(Schema.isPattern(/^\\d{3,4}$/))),\n ),\n});\n\nexport const BrowserCredentialMaterial = Schema.Union([LoginCredential, CardCredential]);\nexport type BrowserCredentialMaterial = typeof BrowserCredentialMaterial.Type;\n\nexport class CredentialAccessError extends Schema.TaggedError<CredentialAccessError>()(\n \"CredentialAccessError\",\n {\n reason: Schema.Literals([\n \"denied\",\n \"missing-credential\",\n \"needs-attention\",\n \"busy\",\n \"resolver\",\n ]),\n },\n) {}\n\nexport interface CredentialAccessRequest {\n readonly credential: string;\n readonly kind: typeof CredentialKind.Type;\n readonly target: CredentialTarget;\n readonly roles: ReadonlyArray<typeof CredentialFieldRole.Type>;\n}\n\n/**\n * Invocation-owned authority. Derive caller/ownership from the host, not the public credential\n * identifier. Authorize the actual merchant, frame, recipient, roles, and side effects of filling.\n * Repeated checks must consult current grants. Never log or trace resolved material.\n * Bind caller identity and identifier-to-vault-item selection for the whole invocation; an alias\n * changing between resolve and authorize must never authorize different material.\n */\nexport class BrowserCredentialAccess extends Context.Service<\n BrowserCredentialAccess,\n {\n readonly authorize: (\n request: CredentialAccessRequest,\n ) => Effect.Effect<void, CredentialAccessError>;\n readonly resolve: (\n request: CredentialAccessRequest,\n ) => Effect.Effect<BrowserCredentialMaterial, CredentialAccessError>;\n }\n>()(\"@effect-agent/platform-cloudflare/BrowserCredentialAccess\") {}\n\nexport const CredentialDispatch = Schema.Literals([\n \"not-dispatched\",\n \"possibly-dispatched\",\n \"dispatched\",\n]);\n\n/** Filled counts acknowledged assignments, not authentication, submission, or website acceptance. */\nexport class CredentialFillResult extends Schema.Class<CredentialFillResult>(\n \"CredentialFillResult\",\n)({\n dispatch: Schema.Literal(\"dispatched\"),\n filled: Schema.Natural.check(Schema.isLessThanOrEqualTo(8)),\n}) {}\n\n/** Content-free evidence. A lost reply never authorizes a retry or proves that no write occurred. */\nexport class CredentialFillError extends Schema.TaggedError<CredentialFillError>()(\n \"CredentialFillError\",\n {\n reason: Schema.Literals([\n \"denied\",\n \"missing-credential\",\n \"stale-target\",\n \"unsupported\",\n \"needs-attention\",\n \"busy\",\n \"provider\",\n \"resolver\",\n \"timeout\",\n ]),\n dispatch: CredentialDispatch,\n filled: Schema.Natural.check(Schema.isLessThanOrEqualTo(8)),\n cleanup: Schema.Literals([\"not-requested\", \"confirmed\", \"unconfirmed\"]),\n },\n) {}\n"],"mappings":"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"}
|