@prisma/composer-prisma-cloud 0.3.0-dev.8 → 0.3.0
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/compute-main.mjs +4 -20
- package/dist/compute-main.mjs.map +1 -1
- package/dist/control.d.mts +1 -1
- package/dist/control.mjs +17 -28
- package/dist/control.mjs.map +1 -1
- package/dist/cron/index.d.mts +26 -33
- package/dist/cron/index.d.mts.map +1 -1
- package/dist/cron/index.mjs +77 -202
- package/dist/cron/index.mjs.map +1 -1
- package/dist/cron/scheduler-entrypoint.mjs +114 -133
- package/dist/cron/scheduler-entrypoint.mjs.map +1 -1
- package/dist/cron/scheduler-service.mjs +76 -200
- package/dist/cron/scheduler-service.mjs.map +1 -1
- package/dist/email/email-entrypoint.mjs +126 -162
- package/dist/email/email-entrypoint.mjs.map +1 -1
- package/dist/email/email-service.mjs +79 -230
- package/dist/email/email-service.mjs.map +1 -1
- package/dist/email/index.d.mts +29 -33
- package/dist/email/index.d.mts.map +1 -1
- package/dist/email/index.mjs +84 -236
- package/dist/email/index.mjs.map +1 -1
- package/dist/email/testing.mjs +89 -112
- package/dist/email/testing.mjs.map +1 -1
- package/dist/index.d.mts +43 -51
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +51 -47
- package/dist/index.mjs.map +1 -1
- package/dist/local-target.mjs +1 -1
- package/dist/local-target.mjs.map +1 -1
- package/dist/{secret-BVGxqHxY-DYDfiULl.mjs → param-BTzY0ne5-CW6ojZ3E.mjs} +4 -45
- package/dist/param-BTzY0ne5-CW6ojZ3E.mjs.map +1 -0
- package/dist/{preflight-names-CpJUd9ZA-BCU-W3cT.mjs → preflight-names-BPL-qsZF-BfoRgbgb.mjs} +14 -30
- package/dist/{preflight-names-CpJUd9ZA-BCU-W3cT.mjs.map → preflight-names-BPL-qsZF-BfoRgbgb.mjs.map} +1 -1
- package/dist/{provisioned-edges-Cxy18aoh-CUnaY96r.mjs → provisioned-edges-C1wSO3cx-YC5C19f9.mjs} +3 -3
- package/dist/{provisioned-edges-Cxy18aoh-CUnaY96r.mjs.map → provisioned-edges-C1wSO3cx-YC5C19f9.mjs.map} +1 -1
- package/dist/secret-rz_ZqNeq-_xd97Jd9.mjs +47 -0
- package/dist/secret-rz_ZqNeq-_xd97Jd9.mjs.map +1 -0
- package/dist/serializer-CJiOhF2d-DJUjQj1i.mjs +251 -0
- package/dist/serializer-CJiOhF2d-DJUjQj1i.mjs.map +1 -0
- package/dist/{serializer-BD_6nkr4-DWn5NNTC.d.mts → serializer-Cx5slrV4-xJfH6EWS.d.mts} +2 -2
- package/dist/serializer-Cx5slrV4-xJfH6EWS.d.mts.map +1 -0
- package/dist/storage/index.d.mts +26 -31
- package/dist/storage/index.d.mts.map +1 -1
- package/dist/storage/index.mjs +89 -215
- package/dist/storage/index.mjs.map +1 -1
- package/dist/storage/storage-entrypoint.mjs +122 -147
- package/dist/storage/storage-entrypoint.mjs.map +1 -1
- package/dist/storage/storage-service.mjs +87 -212
- package/dist/storage/storage-service.mjs.map +1 -1
- package/dist/streams/index.d.mts +22 -29
- package/dist/streams/index.d.mts.map +1 -1
- package/dist/streams/index.mjs +88 -213
- package/dist/streams/index.mjs.map +1 -1
- package/dist/streams/streams-entrypoint.mjs +118 -139
- package/dist/streams/streams-entrypoint.mjs.map +1 -1
- package/dist/streams/streams-service.mjs +87 -212
- package/dist/streams/streams-service.mjs.map +1 -1
- package/dist/testing.d.mts +5 -19
- package/dist/testing.d.mts.map +1 -1
- package/dist/testing.mjs +3 -11
- package/dist/testing.mjs.map +1 -1
- package/package.json +18 -18
- package/dist/secret-BVGxqHxY-DYDfiULl.mjs.map +0 -1
- package/dist/serializer-BD_6nkr4-DWn5NNTC.d.mts.map +0 -1
- package/dist/serializer-sVE4UAmg-CikRngbR.mjs +0 -475
- package/dist/serializer-sVE4UAmg-CikRngbR.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializer-sVE4UAmg-CikRngbR.mjs","names":["blindCast","blindCast","#value"],"sources":["../../../0-framework/0-foundation/foundation/dist/casts-DpaahrlC.mjs","../../../0-framework/0-foundation/foundation/dist/secret-DoWGmN7m.mjs","../../../1-prisma-cloud/1-extensions/target/dist/serializer-sVE4UAmg.mjs"],"sourcesContent":["//#region src/casts.ts\n/**\n* **Last-resort escape hatch for unsafe type assertions. Not a sanctioned tool to reach for.**\n*\n* Before reaching for `blindCast`, **rewrite the surrounding code so the cast becomes\n* unnecessary**: tighten an input type, add a runtime check that narrows via a type\n* predicate, restructure a generic so the compiler can see the relationship you're\n* asserting, or use {@link castAs} when the value already satisfies the target type.\n* Only when no rewrite is feasible does `blindCast` become the right answer — and at\n* that point, the `Reason` literal you supply must articulate the compromise in\n* language a reviewer can evaluate.\n*\n* The reviewer **will** validate the `Reason`. If it doesn't hold up under scrutiny,\n* that is not a signal to soften the reason; it is a signal to go back and solve the\n* underlying type-system problem properly. An unconvincing justification is rework,\n* not a free pass.\n*\n* `blindCast` is the auditable form of `as Foo` / `as unknown as Foo`: it bypasses\n* the compiler's checks (the input type is `unknown`, the output type is whatever the\n* caller asks for), but it forces the unsafety to be named at the call site instead of\n* smuggled in via a bare `as`. The `Reason` type parameter exists only at compile\n* time — it is not present in the emitted JavaScript — but it is grep-able and\n* visible to future readers.\n*\n* @example\n* ```typescript\n* const stringValue = blindCast<\n* string,\n* \"JSON.parse returns `unknown`; this field is documented to be a string in the API contract\"\n* >(parsed[key]);\n* ```\n*\n* @typeParam TargetType - The type the caller is asserting the input has.\n* @typeParam _Reason - A string literal describing why bypassing the type system is necessary here.\n* Only meaningful at compile time. The reviewer evaluates whether it justifies the unsafety.\n*/\nfunction blindCast(input) {\n\treturn input;\n}\n/**\n* Type-checked, runtime pass-through alternative to a bare `as Type` cast.\n*\n* Use `castAs` when the value already satisfies the target type but you want to make\n* the type assertion explicit at the call site — for example, when an inferred type is\n* wider than the type you want to publish, or when a literal object should be tagged\n* with its nominal interface. Unlike {@link blindCast}, the compiler still checks that\n* the value is assignable to the target type, so this helper cannot smuggle in an\n* unsafe assertion.\n*\n* `castAs` exists alongside `blindCast` so authors pick the right name at the call\n* site: a `castAs` is type-checked and benign; a `blindCast` is the unsafe escape\n* hatch. The split makes review faster — readers know which casts to scrutinize and\n* which are pure annotations.\n*\n* @example\n* ```typescript\n* interface FancyObject {\n* key: string;\n* keyTwo: {\n* subKey: string;\n* subKeyTwo: number;\n* };\n* }\n*\n* const typedObject = castAs<FancyObject>({\n* key: 'Chookede',\n* keyTwo: {\n* subKey: 'Choookeeeee',\n* subKeyTwo: 2,\n* },\n* });\n* ```\n*\n* @typeParam Type - The type to constrain and tag the value with. The value must be assignable to `Type`.\n*/\nfunction castAs(value) {\n\treturn value;\n}\n//#endregion\nexport { castAs as n, blindCast as t };\n\n//# sourceMappingURL=casts-DpaahrlC.mjs.map","import { t as blindCast } from \"./casts-DpaahrlC.mjs\";\n//#region src/secret.ts\n/**\n* A value wrapper that redacts everywhere except the one explicit reader,\n* `expose()`. Sensitivity is carried by the TYPE (`SecretBox<T>`), not a flag a\n* sink must remember to check: `String(box)`, template interpolation,\n* `JSON.stringify`, and `console.log`/`util.inspect` all print `[REDACTED]`, so\n* a secret can't leak through an accidental log or serialization.\n*\n* Every box carries a brand property keyed by the registered symbol\n* `Symbol.for('prisma:secret-box')`, which is what `isSecretString` checks. A\n* symbol key is invisible to `JSON.stringify` and `Object.keys`, so the box's\n* public shape still matches the platform's own `secrecy` type\n* (pdp-control-plane).\n*/\nconst REDACTED = \"[REDACTED]\";\nconst SECRET_BOX = blindCast(Symbol.for(\"prisma:secret-box\"));\nvar SecretBox = class {\n\t[SECRET_BOX] = true;\n\t#value;\n\tconstructor(value) {\n\t\tthis.#value = value;\n\t}\n\t/** The sole explicit door to the wrapped value. */\n\texpose() {\n\t\treturn this.#value;\n\t}\n\ttoString() {\n\t\treturn REDACTED;\n\t}\n\ttoJSON() {\n\t\treturn REDACTED;\n\t}\n\tvalueOf() {\n\t\treturn REDACTED;\n\t}\n\t[Symbol.toPrimitive]() {\n\t\treturn REDACTED;\n\t}\n\t[Symbol.for(\"nodejs.util.inspect.custom\")]() {\n\t\treturn REDACTED;\n\t}\n};\n/**\n* True for a redacting secret box — what a schema's secret leaf checks\n* (ADR-0042). Reads the brand rather than `instanceof`, so a box from a\n* duplicated module copy in a bundle counts and a look-alike does not.\n*/\nfunction isSecretString(value) {\n\treturn typeof value === \"object\" && value !== null && blindCast(value)[SECRET_BOX] === true;\n}\n//#endregion\nexport { isSecretString as n, SecretBox as t };\n\n//# sourceMappingURL=secret-DoWGmN7m.mjs.map","import { i as isEnvParamSource, n as secretName } from \"./secret-BVGxqHxY.mjs\";\nimport { isParamSource, isSecretSource } from \"@internal/core\";\nimport { blindCast } from \"@internal/foundation/casts\";\nimport { type } from \"arktype\";\nimport { SecretBox } from \"@internal/foundation/secret\";\n//#region src/serializer.ts\n/**\n* Walks a node's own params, then each dependency input's connection params —\n* the same enumeration order `configOf` uses, but carrying the raw\n* `ConfigParam` (with its `serialize`/`deserialize`) instead of a pure-data\n* projection.\n*/\nfunction paramEntries(node) {\n\tconst entries = [];\n\tfor (const [input, value] of Object.entries(node.inputs)) {\n\t\tif (typeof value !== \"object\" || value === null) continue;\n\t\tconst params = blindCast(value).connection.params;\n\t\tfor (const [name, param] of Object.entries(params)) entries.push({\n\t\t\towner: { input },\n\t\t\tname,\n\t\t\tparam\n\t\t});\n\t}\n\tfor (const [name, param] of Object.entries(node.params)) entries.push({\n\t\towner: \"service\",\n\t\tname,\n\t\tparam\n\t});\n\treturn entries;\n}\nconst configKey = (address, d) => {\n\tconst segments = address.split(\".\").filter((s) => s.length > 0);\n\tconst owner = d.owner === \"service\" ? [] : [d.owner.input];\n\treturn [\n\t\t\"COMPOSER\",\n\t\t...segments,\n\t\t...owner,\n\t\td.name\n\t].join(\"_\").toUpperCase();\n};\n/**\n* Typed value → its stored string. Service-own literals are JSON-encoded; a\n* dependency-input value is a provisioning ref at deploy (and a resolved\n* string at boot) and passes through untouched — LANDMINE: JSON-encoding it\n* would break the ordering edge Alchemy resolves through it.\n*/\nfunction encode(owner, value) {\n\treturn owner === \"service\" ? JSON.stringify(value) : blindCast(value);\n}\n/** Reverses `encode`: JSON-parse a service-own value, take a dependency-input value raw. */\nfunction decode(owner, raw) {\n\treturn owner === \"service\" ? JSON.parse(raw) : raw;\n}\nconst PARAM_POINTER_PREFIX = \"@composer-param-pointer:\";\n/** True iff `raw` is a param pointer row (as opposed to a JSON-encoded literal). */\nconst isParamPointerRow = (raw) => raw.startsWith(PARAM_POINTER_PREFIX);\n/** Builds a param pointer row's stored value from the platform var NAME it points to. */\nconst encodeParamPointer = (name) => `${PARAM_POINTER_PREFIX}${name}`;\n/** Reverses `encodeParamPointer`: the platform var NAME a pointer row points to. */\nconst decodeParamPointer = (raw) => raw.slice(24);\nfunction coerce(raw, d, key) {\n\tif (!(raw !== void 0 && raw !== \"\")) {\n\t\tif (d.param.default !== void 0) return d.param.default;\n\t\tif (d.param.optional === true) return void 0;\n\t\tthrow new Error(`missing required config param \"${d.name}\" (env ${key})`);\n\t}\n\tif (d.owner === \"service\" && isParamPointerRow(raw)) return coerceEnvSourcedParam(raw, d, key);\n\ttry {\n\t\treturn standardValidateSync(d.param.schema, decode(d.owner, raw));\n\t} catch (cause) {\n\t\tconst message = cause instanceof Error ? cause.message : String(cause);\n\t\tthrow new Error(`invalid value for config param \"${d.name}\" (env ${key}): ${message}`);\n\t}\n}\n/**\n* Boot resolution for an env-sourced param: double-lookup (pointer → platform\n* var), then the param's own schema on the raw string — no JSON decode, and\n* no redaction (it's config, not a secret). An UNSET platform var is a loud\n* boot failure naming both the param and the platform var; an EMPTY string is\n* not special-cased here — it reaches the schema like any other value, so it\n* passes iff the schema accepts it (deliberately unlike a literal param's own\n* \"\"-means-absent rule, and unlike a secret's non-empty requirement).\n*/\nfunction coerceEnvSourcedParam(raw, d, key) {\n\tconst platformVar = decodeParamPointer(raw);\n\tconst value = process.env[platformVar];\n\tif (value === void 0) throw new Error(`env-sourced config param \"${d.name}\" (env ${key} → ${platformVar}) is unset: the platform variable \"${platformVar}\" was not injected — the deploy did not provision it.`);\n\ttry {\n\t\treturn standardValidateSync(d.param.schema, value);\n\t} catch (cause) {\n\t\tconst message = cause instanceof Error ? cause.message : String(cause);\n\t\tthrow new Error(`invalid value for env-sourced config param \"${d.name}\" (env ${key} → ${platformVar}): ${message}`);\n\t}\n}\n/**\n* Boot: read each declared param from env by its key, reverse the param's own\n* serialization (missing/invalid fails loudly), assemble the typed Config.\n* The input document rides its own channel (readInput), not this one.\n*/\nconst deserialize = (node, address) => {\n\tconst service = {};\n\tconst inputs = {};\n\tfor (const d of paramEntries(node)) {\n\t\tconst key = configKey(address, d);\n\t\tconst value = coerce(process.env[key], d, key);\n\t\tif (d.owner === \"service\") service[d.name] = value;\n\t\telse {\n\t\t\tlet bucket = inputs[d.owner.input];\n\t\t\tif (bucket === void 0) {\n\t\t\t\tbucket = {};\n\t\t\t\tinputs[d.owner.input] = bucket;\n\t\t\t}\n\t\t\tbucket[d.name] = value;\n\t\t}\n\t}\n\treturn {\n\t\tservice,\n\t\tinputs\n\t};\n};\n/**\n* run()'s setup step: write the resolved config to the environment under\n* address-free keys (configKey(\"\", d) + each serialize suffix), which load()\n* reads back with no address. Uses env, not a module variable, because a\n* framework may fork worker processes that inherit env but not memory.\n* Writes only these keys; nothing else is touched.\n*/\nconst stash = (node, config) => {\n\tfor (const d of paramEntries(node)) {\n\t\tconst value = d.owner === \"service\" ? config.service[d.name] : config.inputs[d.owner.input]?.[d.name];\n\t\tif (value === void 0) continue;\n\t\tprocess.env[configKey(\"\", d)] = encode(d.owner, value);\n\t}\n};\n/** The input document's own row name; its full key is COMPOSER_<addr>_INPUT. */\nconst INPUT_KEY_NAME = \"INPUT\";\n/** The input document row's key for a service address. */\nconst inputKey = (address) => configKey(address, {\n\towner: \"service\",\n\tname: INPUT_KEY_NAME\n});\nconst SECRET_MARKER = \"$secret\";\nconst ESCAPABLE_KEY = /^\\$+secret$/;\nconst ESCAPED_KEY = /^\\$\\$+secret$/;\n/** True for the framework's secret pointer: `{ \"$secret\": \"<PLATFORM_VAR>\" }` and nothing else. */\nfunction isSecretPointer(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value) && Object.keys(value).length === 1 && SECRET_MARKER in value && typeof value[SECRET_MARKER] === \"string\";\n}\n/** A plain data object (not an array, not a class instance) — the only object shape a binding/document may nest. */\nfunction isPlainObject(value) {\n\tif (typeof value !== \"object\" || value === null || Array.isArray(value)) return false;\n\tconst proto = Object.getPrototypeOf(value);\n\treturn proto === Object.prototype || proto === null;\n}\nconst ABSENT = Symbol(\"composer-input-absent\");\n/**\n* Deploy: recursive descent over the provision-time binding (plain data).\n* `envSecret` leaves become empty sentinel `SecretBox`es (the value never\n* enters the deploy); `envParam` leaves read the deploy shell — unset or\n* empty means the enclosing object key is OMITTED, and the schema arbitrates\n* whether that absence is legal (ADR-0042). Everything non-plain (a class\n* instance, a function, a raw SecretBox holding a value) is rejected loudly.\n*/\nfunction resolveInputBinding(binding, env) {\n\tconst sentinels = /* @__PURE__ */ new Map();\n\tconst absent = [];\n\tconst walk = (value, path) => {\n\t\tif (isSecretSource(value)) {\n\t\t\tconst name = secretName(value, path === \"\" ? \"the input binding root\" : `input key \"${path}\"`);\n\t\t\tconst sentinel = new SecretBox(\"\");\n\t\t\tsentinels.set(sentinel, name);\n\t\t\treturn sentinel;\n\t\t}\n\t\tif (isParamSource(value)) {\n\t\t\tif (!isEnvParamSource(value)) throw new Error(`input binding${path === \"\" ? \"\" : ` key \"${path}\"`} is bound to a param source not created by envParam() — bind env-sourced input values with envParam('NAME') from @prisma/composer-prisma-cloud.`);\n\t\t\tconst raw = env[value.payload.name];\n\t\t\tif (raw === void 0 || raw === \"\") {\n\t\t\t\tabsent.push(path === \"\" ? `(root) → ${value.payload.name}` : `${path} → ${value.payload.name}`);\n\t\t\t\treturn ABSENT;\n\t\t\t}\n\t\t\treturn raw;\n\t\t}\n\t\tif (Array.isArray(value)) return value.map((member, index) => {\n\t\t\tconst resolvedMember = walk(member, path === \"\" ? String(index) : `${path}.${index}`);\n\t\t\tif (resolvedMember === ABSENT) throw new Error(`input binding key \"${path}[${index}]\" is an env-bound array element whose variable is unset — an array position cannot be omitted; bind a literal or provision the variable.`);\n\t\t\treturn resolvedMember;\n\t\t});\n\t\tif (isPlainObject(value)) {\n\t\t\tconst out = {};\n\t\t\tfor (const [key, member] of Object.entries(value)) {\n\t\t\t\tconst resolvedMember = walk(member, path === \"\" ? key : `${path}.${key}`);\n\t\t\t\tif (resolvedMember === ABSENT) continue;\n\t\t\t\tout[key] = resolvedMember;\n\t\t\t}\n\t\t\treturn out;\n\t\t}\n\t\tif (value === null || typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") return value;\n\t\tthrow new Error(`input binding${path === \"\" ? \"\" : ` key \"${path}\"`} holds a value that is not plain data (${typeof value === \"object\" ? \"a non-plain object\" : `a ${typeof value}`}) — a binding's leaves are literals, envParam(...), or envSecret(...) (ADR-0042). A secret VALUE (e.g. a SecretBox) never belongs in a binding — bind envSecret('NAME') instead.`);\n\t};\n\tconst resolved = walk(binding, \"\");\n\treturn {\n\t\tresolved: resolved === ABSENT ? void 0 : resolved,\n\t\tsentinels,\n\t\tabsent\n\t};\n}\n/**\n* Deploy: resolve the binding, judge it with the service's own schema\n* (secrets as opaque sentinel boxes), and serialize the defaults-applied\n* VALIDATED output — pointers substituted back where the sentinels sit — into\n* one JSON row. Returns `undefined` for a service with no input schema.\n* A validation failure that mentions a secret leaf means either a\n* misclassified binding (a literal where the schema wants a `SecretString`,\n* or vice versa) or a schema refining on secret CONTENT — deploy-time\n* validation sees only empty boxes, and the ADR forbids content refinements.\n*/\nfunction serializeInput(node, address, binding, env = process.env) {\n\tconst schema = node.inputSchema;\n\tif (schema === void 0) {\n\t\tif (binding !== void 0) throw new Error(`service \"${address}\" has an input binding but declares no input schema — Load should have rejected it (ADR-0042).`);\n\t\treturn;\n\t}\n\tif (binding === void 0) throw new Error(`service \"${address}\" declares an input schema but has no recorded input binding — Load should have required it (ADR-0042).`);\n\tconst { resolved, sentinels, absent } = resolveInputBinding(binding, env);\n\tlet validated;\n\ttry {\n\t\tvalidated = standardValidateSync(schema, resolved);\n\t} catch (cause) {\n\t\tconst message = cause instanceof Error ? cause.message : String(cause);\n\t\tthrow new Error(`invalid input for service \"${address}\": ${message}\\n(Deploy-time validation sees each envSecret leaf as an opaque, empty SecretString box. A failure naming a secret field means the binding and schema disagree about its secretness, or the schema refines on secret content — which ADR-0042 forbids.)`);\n\t}\n\tconst document = substituteSecretPointers(validated, sentinels, address);\n\treturn {\n\t\tkey: inputKey(address),\n\t\tvalue: JSON.stringify(document),\n\t\tabsent\n\t};\n}\n/**\n* Walks the VALIDATED output, mapping each sentinel box (by identity) back to\n* its `{ \"$secret\": name }` pointer and escaping any user key that matches\n* the reserved marker. A `SecretString` the walk does not recognize came from\n* the schema itself (a default or transform minting a box) — there is no\n* platform var behind it, so it is rejected rather than serialized.\n*/\nfunction substituteSecretPointers(value, sentinels, address) {\n\tconst walk = (v, path) => {\n\t\tif (v instanceof SecretBox) {\n\t\t\tconst name = sentinels.get(v);\n\t\t\tif (name === void 0) throw new Error(`input key \"${path}\" of service \"${address}\" validated to a SecretString the binding did not supply — a schema must not mint secret boxes (a default/transform cannot name a platform variable); bind the field with envSecret('NAME') instead.`);\n\t\t\treturn { [SECRET_MARKER]: name };\n\t\t}\n\t\tif (Array.isArray(v)) return v.map((m, i) => walk(m, `${path}[${i}]`));\n\t\tif (isPlainObject(v)) {\n\t\t\tconst out = {};\n\t\t\tfor (const [key, member] of Object.entries(v)) {\n\t\t\t\tif (member === void 0) continue;\n\t\t\t\tconst written = ESCAPABLE_KEY.test(key) ? `$${key}` : key;\n\t\t\t\tout[written] = walk(member, path === \"\" ? key : `${path}.${key}`);\n\t\t\t}\n\t\t\treturn out;\n\t\t}\n\t\tif (v === null || v === void 0 || typeof v === \"string\" || typeof v === \"number\" || typeof v === \"boolean\") return v;\n\t\tthrow new Error(`input key \"${path}\" of service \"${address}\" validated to a value that cannot be serialized (a ${typeof v === \"object\" ? \"non-plain object\" : typeof v}) — the input document is plain JSON (ADR-0042).`);\n\t};\n\treturn walk(value, \"\");\n}\n/**\n* Boot: read the one input document row (address-free after run()'s\n* re-stash), swap each `$secret` pointer for a redacting box over the named\n* platform var, unescape reserved keys, validate with the service's own\n* schema, and return the typed object. A missing row is a loud failure naming\n* the env var — a deployed environment always writes it; a local harness must\n* supply it (set the row to the serialized input document).\n*/\nfunction readInput(node, address) {\n\tconst schema = node.inputSchema;\n\tif (schema === void 0) throw new Error(`input() called on service \"${node.name}\", which declares no input schema — declare \\`input: <schema>\\` on compute() to use it (ADR-0042).`);\n\tconst key = inputKey(address);\n\tconst raw = process.env[key];\n\tif (raw === void 0 || raw === \"\") throw new Error(`this service's input is not available (env ${key} is unset) — a deployed environment writes it automatically; a local harness must supply it like any other config value (set ${key} to the serialized input document).`);\n\tlet parsed;\n\ttry {\n\t\tparsed = JSON.parse(raw);\n\t} catch (cause) {\n\t\tconst message = cause instanceof Error ? cause.message : String(cause);\n\t\tthrow new Error(`this service's input document is not valid JSON (env ${key}): ${message} — a deployed environment writes it automatically; a local harness must supply the serialized input document (set ${key} to it).`);\n\t}\n\tconst hydrated = hydrateInputDocument(parsed, key);\n\ttry {\n\t\treturn standardValidateSync(schema, hydrated);\n\t} catch (cause) {\n\t\tconst message = cause instanceof Error ? cause.message : String(cause);\n\t\tthrow new Error(`invalid input document (env ${key}): ${message}`);\n\t}\n}\n/** Reverses the document encoding: `$secret` pointers become redacting boxes over the named platform vars; escaped reserved keys drop one \"$\". */\nfunction hydrateInputDocument(value, key) {\n\tif (isSecretPointer(value)) {\n\t\tconst name = value[SECRET_MARKER];\n\t\tconst secret = process.env[name];\n\t\tif (secret === void 0 || secret === \"\") throw new Error(`secret input is not provisioned (env ${key} → ${name}): the platform var \"${name}\" is unset or empty.`);\n\t\treturn new SecretBox(secret);\n\t}\n\tif (Array.isArray(value)) return value.map((member) => hydrateInputDocument(member, key));\n\tif (isPlainObject(value)) {\n\t\tconst out = {};\n\t\tfor (const [k, member] of Object.entries(value)) {\n\t\t\tconst read = ESCAPED_KEY.test(k) ? k.slice(1) : k;\n\t\t\tout[read] = hydrateInputDocument(member, key);\n\t\t}\n\t\treturn out;\n\t}\n\treturn value;\n}\n/**\n* run()'s setup step for the input document: re-emit the row under its\n* address-free key, so the address-free `readInput` reads identically. The\n* document carries pointers, never values — the values stay only in their\n* platform vars.\n*/\nconst stashInput = (node, address) => {\n\tif (node.inputSchema === void 0) return;\n\tconst raw = process.env[inputKey(address)];\n\tif (raw === void 0) return;\n\tprocess.env[inputKey(\"\")] = raw;\n};\n/**\n* Boot: for each reserved provider param, read its address-scoped row through\n* the same `coerce` a declared param uses (JSON-decode, schema-validate), and\n* re-emit it address-free — `stash`'s counterpart for this separate\n* declaration space. A param is declared optional here unconditionally: an\n* absent row means \"never provisioned\" (local dev, tests, a provider with no\n* registered value for this deploy), never a boot failure, so nothing is\n* stashed and the runtime reader that owns this slot falls back to its own\n* pass-through behavior.\n*/\nfunction stashProviderParams(entries, address) {\n\tfor (const entry of entries) {\n\t\tconst d = {\n\t\t\towner: \"service\",\n\t\t\tname: entry.name,\n\t\t\tparam: {\n\t\t\t\tschema: entry.schema,\n\t\t\t\toptional: true\n\t\t\t}\n\t\t};\n\t\tconst key = configKey(address, d);\n\t\tconst value = coerce(process.env[key], d, key);\n\t\tif (value === void 0) continue;\n\t\tprocess.env[configKey(\"\", d)] = encode(\"service\", value);\n\t}\n}\n/** The framework-resolved origin row: COMPOSER_<addr>_ORIGIN. Written per\n* compute service at serialize — the service's own provisioned endpoint URL,\n* riding the reserved-provider-param machinery (`origin-key.ts`'s\n* `ORIGIN_PARAM`); never a declared param, never in config(). A harness with\n* no deploy behind it supplies it by setting `COMPOSER_ORIGIN` to the\n* JSON-encoded origin URL — exactly how the existing entrypoint tests supply\n* their other `COMPOSER_*` rows. */\nconst ORIGIN_KEY_NAME = \"ORIGIN\";\n/**\n* Reads this service's origin back out of the address-free stash\n* `stashProviderParams` wrote for the ORIGIN entry. `COMPOSER_ORIGIN` unset is\n* a loud failure — a deployed environment always writes it, so an unset row\n* means either a local harness that hasn't supplied it or a boot() called\n* before run().\n*/\nfunction readOrigin() {\n\tconst d = {\n\t\towner: \"service\",\n\t\tname: ORIGIN_KEY_NAME,\n\t\tparam: {\n\t\t\tschema: type(\"string\"),\n\t\t\toptional: true\n\t\t}\n\t};\n\tconst key = configKey(\"\", d);\n\tconst value = coerce(process.env[key], d, key);\n\tif (value === void 0) throw new Error(\"this service's origin is not available (env COMPOSER_ORIGIN is unset) — a deployed environment writes it automatically; a local harness must supply it like any other config value (set COMPOSER_ORIGIN to the JSON-encoded origin URL).\");\n\treturn blindCast(value);\n}\n/** Synchronous Standard Schema validation — see the matching note in core's `config.ts`. */\nfunction standardValidateSync(schema, value) {\n\tconst result = schema[\"~standard\"].validate(value);\n\tif (result instanceof Promise) throw new Error(\"config param schema validation must be synchronous — async Standard Schema validators are not supported for config params\");\n\tif (result.issues !== void 0) throw new Error(`config param validation failed: ${result.issues.map((issue) => issue.message).join(\"; \")}`);\n\treturn result.value;\n}\n//#endregion\nexport { encodeParamPointer as a, readOrigin as c, stashInput as d, stashProviderParams as f, encode as i, serializeInput as l, configKey as n, paramEntries as o, deserialize as r, readInput as s, ORIGIN_KEY_NAME as t, stash as u };\n\n//# sourceMappingURL=serializer-sVE4UAmg.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAASA,YAAU,OAAO;CACzB,OAAO;AACR;;;;;;;;;;;;;;;;ACvBA,MAAM,WAAW;AACjB,MAAM,aAAaC,YAAU,OAAO,IAAI,mBAAmB,CAAC;AAC5D,IAAI,YAAY,MAAM;CACrB,CAAC,cAAc;CACf;CACA,YAAY,OAAO;EAClB,KAAKC,SAAS;CACf;;CAEA,SAAS;E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