@prisma/composer-cli 0.39.0-dev.2 → 0.39.0-dev.4

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 (43) hide show
  1. package/dist/{app-configuration-file-Cw9autUL-CPnePaG6.mjs → app-configuration-file-Bbfq5PR3-CYdGtitc.mjs} +39 -39
  2. package/dist/app-configuration-file-Bbfq5PR3-CYdGtitc.mjs.map +1 -0
  3. package/dist/{dev-current-D8GwJQex-D4xWpddG.mjs → dev-current-Ce4Zhfiy-ByQvXWUK.mjs} +5 -5
  4. package/dist/{dev-current-D8GwJQex-D4xWpddG.mjs.map → dev-current-Ce4Zhfiy-ByQvXWUK.mjs.map} +1 -1
  5. package/dist/{dev-environment-name-6eEr5PW8-DuiDkcM6.mjs → dev-environment-name-6eEr5PW8-kDiScOL8.mjs} +2 -2
  6. package/dist/{dev-environment-name-6eEr5PW8-DuiDkcM6.mjs.map → dev-environment-name-6eEr5PW8-kDiScOL8.mjs.map} +1 -1
  7. package/dist/{dist-qqNor5kl.mjs → dist-BDdABTj4.mjs} +2 -2
  8. package/dist/{dist-qqNor5kl.mjs.map → dist-BDdABTj4.mjs.map} +1 -1
  9. package/dist/{execute-deploy-destroy-1SIH5uAu-SJMSVJ-C.mjs → execute-deploy-destroy-D2Ok1xun-BLyo7m2y.mjs} +302 -71
  10. package/dist/execute-deploy-destroy-D2Ok1xun-BLyo7m2y.mjs.map +1 -0
  11. package/dist/{execute-dev-xPaS5SAl-Pf5LvC3G.mjs → execute-dev-BBPgDWzf-Bfdb50dv.mjs} +11 -13
  12. package/dist/{execute-dev-xPaS5SAl-Pf5LvC3G.mjs.map → execute-dev-BBPgDWzf-Bfdb50dv.mjs.map} +1 -1
  13. package/dist/{execute-dev-current-DsAsDBB1-C_Pqg6lv.mjs → execute-dev-current-DNIwPfcW-By0ZtP6w.mjs} +6 -6
  14. package/dist/{execute-dev-current-DsAsDBB1-C_Pqg6lv.mjs.map → execute-dev-current-DNIwPfcW-By0ZtP6w.mjs.map} +1 -1
  15. package/dist/{redaction-CqdeMBKw-aZd7lPFP.d.mts → family-D52hWFMF-Cj-y7XrD.d.mts} +203 -95
  16. package/dist/family-D52hWFMF-Cj-y7XrD.d.mts.map +1 -0
  17. package/dist/family.d.mts +1 -1
  18. package/dist/family.mjs +221 -197
  19. package/dist/family.mjs.map +1 -1
  20. package/dist/{generate-dev-stack-BEpqJ3AH-BwP97FIX.mjs → generate-dev-stack-BEpqJ3AH-B7o7JyER.mjs} +2 -2
  21. package/dist/{generate-dev-stack-BEpqJ3AH-BwP97FIX.mjs.map → generate-dev-stack-BEpqJ3AH-B7o7JyER.mjs.map} +1 -1
  22. package/dist/{list-deployed-B_HjWxgs.mjs → list-deployed-DTcOsqFB.mjs} +4 -4
  23. package/dist/list-deployed-DTcOsqFB.mjs.map +1 -0
  24. package/dist/{redaction-C-NnlVUh-xg-a8RGt.mjs → redaction-CjMYXtGp-CYefSG9A.mjs} +17 -6
  25. package/dist/redaction-CjMYXtGp-CYefSG9A.mjs.map +1 -0
  26. package/dist/{run-alchemy-CyciV8i0-Djfa6x3a.mjs → run-alchemy-BlYyc4Oh-BnFv0AaY.mjs} +70 -4
  27. package/dist/run-alchemy-BlYyc4Oh-BnFv0AaY.mjs.map +1 -0
  28. package/dist/testing.d.mts +4 -4
  29. package/dist/testing.d.mts.map +1 -1
  30. package/dist/testing.mjs +4 -74
  31. package/dist/testing.mjs.map +1 -1
  32. package/dist/{validate-environment-DyW59rJ7-B1PoUO20.mjs → validate-environment-XwVDifWN-BtzIWXJF.mjs} +9 -6
  33. package/dist/validate-environment-XwVDifWN-BtzIWXJF.mjs.map +1 -0
  34. package/package.json +9 -9
  35. package/dist/app-configuration-file-Cw9autUL-CPnePaG6.mjs.map +0 -1
  36. package/dist/execute-deploy-destroy-1SIH5uAu-SJMSVJ-C.mjs.map +0 -1
  37. package/dist/list-deployed-B_HjWxgs.mjs.map +0 -1
  38. package/dist/preflight-transport-DJjTWvyH-C98XN-K2.mjs +0 -76
  39. package/dist/preflight-transport-DJjTWvyH-C98XN-K2.mjs.map +0 -1
  40. package/dist/redaction-C-NnlVUh-xg-a8RGt.mjs.map +0 -1
  41. package/dist/redaction-CqdeMBKw-aZd7lPFP.d.mts.map +0 -1
  42. package/dist/run-alchemy-CyciV8i0-Djfa6x3a.mjs.map +0 -1
  43. package/dist/validate-environment-DyW59rJ7-B1PoUO20.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
- import { i as validateEnvironmentName, n as resolveAppIdentity, t as checkConfigSource } from "./validate-environment-DyW59rJ7-B1PoUO20.mjs";
2
- import { r as devEnvironmentDir } from "./app-config-CErnR6NK-DnKH4Kqc.mjs";
1
+ import { i as validateEnvironmentName, n as resolveAppIdentity, t as checkConfigSource } from "./validate-environment-XwVDifWN-BtzIWXJF.mjs";
3
2
  import { i as CliStructuredError, n as ok, o as InternalError, t as notOk } from "./result-DlBttLS8.mjs";
4
- import { c as toStructured } from "./dev-current-D8GwJQex-D4xWpddG.mjs";
5
- import { n as requireDevEnvironmentName, r as resolveLocalTargets } from "./dev-environment-name-6eEr5PW8-DuiDkcM6.mjs";
3
+ import { r as devEnvironmentDir } from "./app-config-CErnR6NK-DnKH4Kqc.mjs";
4
+ import { c as toStructured } from "./dev-current-Ce4Zhfiy-ByQvXWUK.mjs";
5
+ import { n as requireDevEnvironmentName, r as resolveLocalTargets } from "./dev-environment-name-6eEr5PW8-kDiScOL8.mjs";
6
6
  import * as path from "node:path";
7
- //#region ../../0-framework/3-tooling/cli/dist/execute-dev-current-DsAsDBB1.mjs
7
+ //#region ../../0-framework/3-tooling/cli/dist/execute-dev-current-DNIwPfcW.mjs
8
8
  /**
9
9
  * The `devUrl` and `devStop` executor: config → each extension's local
10
10
  * target → the app's local copy in the environment, read from that
@@ -161,4 +161,4 @@ async function executeDevStop(input, cwd) {
161
161
  //#endregion
162
162
  export { executeDevStop, executeDevUrl };
163
163
 
164
- //# sourceMappingURL=execute-dev-current-DsAsDBB1-C_Pqg6lv.mjs.map
164
+ //# sourceMappingURL=execute-dev-current-DNIwPfcW-By0ZtP6w.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"execute-dev-current-DsAsDBB1-C_Pqg6lv.mjs","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/execute-dev-current-DsAsDBB1.mjs"],"sourcesContent":["import { n as checkConfigSource, r as resolveAppIdentity, t as validateEnvironmentName } from \"./validate-environment-DyW59rJ7.mjs\";\nimport { d as toStructured } from \"./dev-current-D8GwJQex.mjs\";\nimport { n as requireDevEnvironmentName } from \"./dev-environment-name-6eEr5PW8.mjs\";\nimport * as path from \"node:path\";\nimport { CliStructuredError, InternalError } from \"@internal/foundation/errors\";\nimport { notOk, ok } from \"@internal/foundation/result\";\nimport { devEnvironmentDir, resolveLocalTargets } from \"@internal/core/local-target\";\n//#region src/operations/execute-dev-current.ts\n/**\n* The `devUrl` and `devStop` executor: config → each extension's local\n* target → the app's local copy in the environment, read from that\n* environment's dev state. Reached only by lazy import from dev-current.ts —\n* resolving the local targets loads their descriptors, whose graphs reach\n* alchemy's provider tree.\n*/\nfunction platformUnsupported() {\n\treturn new CliStructuredError(\"DEV.PLATFORM_UNSUPPORTED\", \"local dev is not supported on Windows yet.\");\n}\n/** The `prisma dev` command that runs `environment`. */\nfunction runDev(environment) {\n\treturn environment === \"dev\" ? \"`prisma dev`\" : `\\`prisma dev --environment ${environment}\\``;\n}\n/** A call into an extension's local target; its failures that carry no code are the emulator's. */\nasync function fromTarget(call) {\n\ttry {\n\t\treturn await call();\n\t} catch (error) {\n\t\tthrow toStructured(\"DEV.EMULATOR_FAILED\", error);\n\t}\n}\n/** Every extension's record of the app in the environment; fails when none recorded it. */\nasync function currentApps(copy, cwd) {\n\tconst { app, environment } = copy;\n\tconst { value } = checkConfigSource(copy.config, cwd);\n\tconst devDir = path.join(cwd, devEnvironmentDir(environment));\n\trequireDevEnvironmentName(devDir, environment);\n\tconst apps = [];\n\tfor (const target of (await resolveLocalTargets(value)).values()) {\n\t\tconst current = await fromTarget(async () => target.current?.({\n\t\t\tdevDir,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}));\n\t\tif (current !== void 0) apps.push(current);\n\t}\n\tif (apps.length === 0) throw new CliStructuredError(\"DEV.NOT_STARTED_HERE\", `\\`prisma dev\\` has not run ${app} in the environment ${environment} in ${cwd}.`, {\n\t\twhy: `The local services, databases and buckets of an app are recorded in ${devDir} when \\`prisma dev\\` runs it in the environment ${environment}, and ${app} has no such record.`,\n\t\tfix: `Run ${runDev(environment)} for ${app} in this directory.`,\n\t\tmeta: {\n\t\t\tcwd,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}\n\t});\n\treturn apps;\n}\n/** The app a full address starts with: `shop.api` belongs to `shop`. */\nfunction appOfAddress(address) {\n\tconst dot = address.indexOf(\".\");\n\treturn dot === -1 ? address : address.slice(0, dot);\n}\nasync function locate(input, cwd) {\n\tconst environment = input.environment ?? \"dev\";\n\tvalidateEnvironmentName(environment);\n\tconst app = appOfAddress(input.address);\n\tconst apps = await currentApps({\n\t\tconfig: input.config,\n\t\tapp,\n\t\tenvironment\n\t}, cwd);\n\tconst recorded = apps.find((candidate) => candidate.addresses.includes(input.address));\n\tif (recorded === void 0) {\n\t\tconst known = apps.flatMap((candidate) => candidate.addresses).sort();\n\t\tthrow new CliStructuredError(\"DEV.ADDRESS_UNKNOWN\", `\"${app}\" has no node at \"${input.address}\" in the environment ${environment}.`, {\n\t\t\twhy: `The addresses recorded for ${app} in the environment ${environment} are: ${known.join(\", \")}.`,\n\t\t\tfix: \"Pass one of those addresses. A nested node has a dotted address, such as `shop.catalog.database`.\",\n\t\t\tmeta: {\n\t\t\t\taddress: input.address,\n\t\t\t\tknown\n\t\t\t}\n\t\t});\n\t}\n\tconst location = await fromTarget(() => recorded.locate(input.address));\n\tif (location === void 0) throw new InternalError(`the local target recorded \"${input.address}\" but cannot locate it`);\n\tif (location.emulator === \"not-running\") throw new CliStructuredError(\"DEV.EMULATOR_UNREACHABLE\", `The local ${location.kind} emulator that runs \"${input.address}\" is not running.`, {\n\t\twhy: \"The local emulators run your services, databases and buckets on this machine; `prisma dev` starts the ones an app needs.\",\n\t\tfix: `Run ${runDev(environment)} in this directory.`,\n\t\tmeta: {\n\t\t\taddress: input.address,\n\t\t\tkind: location.kind\n\t\t}\n\t});\n\tif (location.condition !== \"running\") throw notRunning(input.address, environment, location);\n\tif (location.url === void 0) throw new InternalError(`the local target reports \"${input.address}\" running with no URL`);\n\tconst runs = location.command !== void 0 ? \"dev-server\" : location.kind === \"service\" ? \"artifact\" : void 0;\n\treturn {\n\t\taddress: input.address,\n\t\tkind: location.kind,\n\t\turl: location.url,\n\t\tstate: location.state,\n\t\t...runs !== void 0 ? { runs } : {}\n\t};\n}\nfunction notRunning(address, environment, location) {\n\tconst rerun = `Run ${runDev(environment)} in this directory.`;\n\tconst { kind, state, condition, logPath } = location;\n\tconst meta = {\n\t\taddress,\n\t\tkind,\n\t\tstate,\n\t\t...logPath === void 0 ? {} : { logPath }\n\t};\n\tconst message = `The ${kind} \"${address}\" is not running (${state}).`;\n\tif (condition === \"crashing\") return new CliStructuredError(\"DEV.NOT_RUNNING\", message, {\n\t\twhy: \"It exited after it started, and it is being restarted or was held after repeated crashes.\",\n\t\tfix: logPath === void 0 ? \"Read its output in the `prisma dev` terminal, fix the cause, and rebuild.\" : `Read its log at ${logPath}, fix the cause, and rebuild.`,\n\t\tmeta\n\t});\n\tif (condition === \"missing\") return new CliStructuredError(\"DEV.NOT_RUNNING\", message, {\n\t\twhy: \"The local emulator no longer has it, for example because a Composer upgrade discarded the emulator’s state.\",\n\t\tfix: `${rerun} It creates the ${kind} again, empty.`,\n\t\tmeta\n\t});\n\treturn new CliStructuredError(\"DEV.NOT_RUNNING\", `The ${kind} \"${address}\" is stopped.`, {\n\t\twhy: \"`prisma dev stop` and `prisma dev` ending both stop an app's services and database servers, and a stopped node has no URL that answers.\",\n\t\tfix: rerun,\n\t\tmeta\n\t});\n}\nasync function executeDevUrl(input, cwd) {\n\tif (process.platform === \"win32\") return notOk(platformUnsupported());\n\ttry {\n\t\treturn ok(await locate(input, cwd));\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n}\nasync function executeDevStop(input, cwd) {\n\tif (process.platform === \"win32\") return notOk(platformUnsupported());\n\ttry {\n\t\tconst environment = input.environment ?? \"dev\";\n\t\tvalidateEnvironmentName(environment);\n\t\tconst { name: app } = await resolveAppIdentity(input.entry, input.name, cwd, input.config);\n\t\tconst apps = await currentApps({\n\t\t\tconfig: input.config,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}, cwd);\n\t\tconst stopped = [];\n\t\tfor (const recorded of apps) stopped.push(...await fromTarget(() => recorded.stop()));\n\t\treturn ok({\n\t\t\tapp,\n\t\t\tenvironment,\n\t\t\tstopped\n\t\t});\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n}\n//#endregion\nexport { executeDevStop, executeDevUrl };\n\n//# sourceMappingURL=execute-dev-current-DsAsDBB1.mjs.map"],"mappings":";;;;;;;;;;;;;;AAeA,SAAS,sBAAsB;CAC9B,OAAO,IAAI,mBAAmB,4BAA4B,4CAA4C;AACvG;;AAEA,SAAS,OAAO,aAAa;CAC5B,OAAO,gBAAgB,QAAQ,iBAAiB,8BAA8B,YAAY;AAC3F;;AAEA,eAAe,WAAW,MAAM;CAC/B,IAAI;EACH,OAAO,MAAM,KAAK;CACnB,SAAS,OAAO;EACf,MAAM,aAAa,uBAAuB,KAAK;CAChD;AACD;;AAEA,eAAe,YAAY,MAAM,KAAK;CACrC,MAAM,EAAE,KAAK,gBAAgB;CAC7B,MAAM,EAAE,UAAU,kBAAkB,KAAK,QAAQ,GAAG;CACpD,MAAM,SAAS,KAAK,KAAK,KAAK,kBAAkB,WAAW,CAAC;CAC5D,0BAA0B,QAAQ,WAAW;CAC7C,MAAM,OAAO,CAAC;CACd,K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AI,mBAAmB,mBAAmB,OAAO,KAAK,IAAI,QAAQ,gBAAgB;EACxF,KAAK;EACL,KAAK;EACL;CACD,CAAC;AACF;AACA,eAAe,cAAc,OAAO,KAAK;CACxC,IAAI,QAAQ,aAAa,SAAS,OAAO,MAAM,oBAAoB,CAAC;CACpE,IAAI;EACH,OAAO,GAAG,MAAM,OAAO,OAAO,GAAG,CAAC;CACnC,SAAS,OAAO;EACf,IAAI,mBAAmB,GAAG,KAAK,GAAG,OAAO,MAAM,KAAK;EACpD,MAAM;CACP;AACD;AACA,eAAe,eAAe,OAAO,KAAK;CACzC,IAAI,QAAQ,aAAa,SAAS,OAAO,MAAM,oBAAoB,CAAC;CACpE,IAAI;EACH,MAAM,cAAc,MAAM,eAAe;EACzC,wBAAwB,WAAW;EACnC,MAAM,EAAE,MAAM,QAAQ,MAAM,mBAAmB,MAAM,OAAO,MAAM,MAAM,KAAK,MAAM,MAAM;EACzF,MAAM,OAAO,MAAM,YAAY;GAC9B,QAAQ,MAAM;GACd;GACA;EACD,GAAG,GAAG;EACN,MAAM,UAAU,CAAC;EACjB,KAAK,MAAM,YAAY,MAAM,QAAQ,KAAK,GAAG,MAAM,iBAAiB,SAAS,KAAK,CAAC,CAAC;EACpF,OAAO,GAAG;GACT;GACA;GACA;EACD,CAAC;CACF,SAAS,OAAO;EACf,IAAI,mBAAmB,GAAG,KAAK,GAAG,OAAO,MAAM,KAAK;EACpD,MAAM;CACP;AACD"}
1
+ {"version":3,"file":"execute-dev-current-DNIwPfcW-By0ZtP6w.mjs","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/execute-dev-current-DNIwPfcW.mjs"],"sourcesContent":["import { n as checkConfigSource, r as resolveAppIdentity, t as validateEnvironmentName } from \"./validate-environment-XwVDifWN.mjs\";\nimport { d as toStructured } from \"./dev-current-Ce4Zhfiy.mjs\";\nimport { n as requireDevEnvironmentName } from \"./dev-environment-name-6eEr5PW8.mjs\";\nimport * as path from \"node:path\";\nimport { CliStructuredError, InternalError } from \"@internal/foundation/errors\";\nimport { notOk, ok } from \"@internal/foundation/result\";\nimport { devEnvironmentDir, resolveLocalTargets } from \"@internal/core/local-target\";\n//#region src/operations/execute-dev-current.ts\n/**\n* The `devUrl` and `devStop` executor: config → each extension's local\n* target → the app's local copy in the environment, read from that\n* environment's dev state. Reached only by lazy import from dev-current.ts —\n* resolving the local targets loads their descriptors, whose graphs reach\n* alchemy's provider tree.\n*/\nfunction platformUnsupported() {\n\treturn new CliStructuredError(\"DEV.PLATFORM_UNSUPPORTED\", \"local dev is not supported on Windows yet.\");\n}\n/** The `prisma dev` command that runs `environment`. */\nfunction runDev(environment) {\n\treturn environment === \"dev\" ? \"`prisma dev`\" : `\\`prisma dev --environment ${environment}\\``;\n}\n/** A call into an extension's local target; its failures that carry no code are the emulator's. */\nasync function fromTarget(call) {\n\ttry {\n\t\treturn await call();\n\t} catch (error) {\n\t\tthrow toStructured(\"DEV.EMULATOR_FAILED\", error);\n\t}\n}\n/** Every extension's record of the app in the environment; fails when none recorded it. */\nasync function currentApps(copy, cwd) {\n\tconst { app, environment } = copy;\n\tconst { value } = checkConfigSource(copy.config, cwd);\n\tconst devDir = path.join(cwd, devEnvironmentDir(environment));\n\trequireDevEnvironmentName(devDir, environment);\n\tconst apps = [];\n\tfor (const target of (await resolveLocalTargets(value)).values()) {\n\t\tconst current = await fromTarget(async () => target.current?.({\n\t\t\tdevDir,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}));\n\t\tif (current !== void 0) apps.push(current);\n\t}\n\tif (apps.length === 0) throw new CliStructuredError(\"DEV.NOT_STARTED_HERE\", `\\`prisma dev\\` has not run ${app} in the environment ${environment} in ${cwd}.`, {\n\t\twhy: `The local services, databases and buckets of an app are recorded in ${devDir} when \\`prisma dev\\` runs it in the environment ${environment}, and ${app} has no such record.`,\n\t\tfix: `Run ${runDev(environment)} for ${app} in this directory.`,\n\t\tmeta: {\n\t\t\tcwd,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}\n\t});\n\treturn apps;\n}\n/** The app a full address starts with: `shop.api` belongs to `shop`. */\nfunction appOfAddress(address) {\n\tconst dot = address.indexOf(\".\");\n\treturn dot === -1 ? address : address.slice(0, dot);\n}\nasync function locate(input, cwd) {\n\tconst environment = input.environment ?? \"dev\";\n\tvalidateEnvironmentName(environment);\n\tconst app = appOfAddress(input.address);\n\tconst apps = await currentApps({\n\t\tconfig: input.config,\n\t\tapp,\n\t\tenvironment\n\t}, cwd);\n\tconst recorded = apps.find((candidate) => candidate.addresses.includes(input.address));\n\tif (recorded === void 0) {\n\t\tconst known = apps.flatMap((candidate) => candidate.addresses).sort();\n\t\tthrow new CliStructuredError(\"DEV.ADDRESS_UNKNOWN\", `\"${app}\" has no node at \"${input.address}\" in the environment ${environment}.`, {\n\t\t\twhy: `The addresses recorded for ${app} in the environment ${environment} are: ${known.join(\", \")}.`,\n\t\t\tfix: \"Pass one of those addresses. A nested node has a dotted address, such as `shop.catalog.database`.\",\n\t\t\tmeta: {\n\t\t\t\taddress: input.address,\n\t\t\t\tknown\n\t\t\t}\n\t\t});\n\t}\n\tconst location = await fromTarget(() => recorded.locate(input.address));\n\tif (location === void 0) throw new InternalError(`the local target recorded \"${input.address}\" but cannot locate it`);\n\tif (location.emulator === \"not-running\") throw new CliStructuredError(\"DEV.EMULATOR_UNREACHABLE\", `The local ${location.kind} emulator that runs \"${input.address}\" is not running.`, {\n\t\twhy: \"The local emulators run your services, databases and buckets on this machine; `prisma dev` starts the ones an app needs.\",\n\t\tfix: `Run ${runDev(environment)} in this directory.`,\n\t\tmeta: {\n\t\t\taddress: input.address,\n\t\t\tkind: location.kind\n\t\t}\n\t});\n\tif (location.condition !== \"running\") throw notRunning(input.address, environment, location);\n\tif (location.url === void 0) throw new InternalError(`the local target reports \"${input.address}\" running with no URL`);\n\tconst runs = location.command !== void 0 ? \"dev-server\" : location.kind === \"service\" ? \"artifact\" : void 0;\n\treturn {\n\t\taddress: input.address,\n\t\tkind: location.kind,\n\t\turl: location.url,\n\t\tstate: location.state,\n\t\t...runs !== void 0 ? { runs } : {}\n\t};\n}\nfunction notRunning(address, environment, location) {\n\tconst rerun = `Run ${runDev(environment)} in this directory.`;\n\tconst { kind, state, condition, logPath } = location;\n\tconst meta = {\n\t\taddress,\n\t\tkind,\n\t\tstate,\n\t\t...logPath === void 0 ? {} : { logPath }\n\t};\n\tconst message = `The ${kind} \"${address}\" is not running (${state}).`;\n\tif (condition === \"crashing\") return new CliStructuredError(\"DEV.NOT_RUNNING\", message, {\n\t\twhy: \"It exited after it started, and it is being restarted or was held after repeated crashes.\",\n\t\tfix: logPath === void 0 ? \"Read its output in the `prisma dev` terminal, fix the cause, and rebuild.\" : `Read its log at ${logPath}, fix the cause, and rebuild.`,\n\t\tmeta\n\t});\n\tif (condition === \"missing\") return new CliStructuredError(\"DEV.NOT_RUNNING\", message, {\n\t\twhy: \"The local emulator no longer has it, for example because a Composer upgrade discarded the emulator’s state.\",\n\t\tfix: `${rerun} It creates the ${kind} again, empty.`,\n\t\tmeta\n\t});\n\treturn new CliStructuredError(\"DEV.NOT_RUNNING\", `The ${kind} \"${address}\" is stopped.`, {\n\t\twhy: \"`prisma dev stop` and `prisma dev` ending both stop an app's services and database servers, and a stopped node has no URL that answers.\",\n\t\tfix: rerun,\n\t\tmeta\n\t});\n}\nasync function executeDevUrl(input, cwd) {\n\tif (process.platform === \"win32\") return notOk(platformUnsupported());\n\ttry {\n\t\treturn ok(await locate(input, cwd));\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n}\nasync function executeDevStop(input, cwd) {\n\tif (process.platform === \"win32\") return notOk(platformUnsupported());\n\ttry {\n\t\tconst environment = input.environment ?? \"dev\";\n\t\tvalidateEnvironmentName(environment);\n\t\tconst { name: app } = await resolveAppIdentity(input.entry, input.name, cwd, input.config);\n\t\tconst apps = await currentApps({\n\t\t\tconfig: input.config,\n\t\t\tapp,\n\t\t\tenvironment\n\t\t}, cwd);\n\t\tconst stopped = [];\n\t\tfor (const recorded of apps) stopped.push(...await fromTarget(() => recorded.stop()));\n\t\treturn ok({\n\t\t\tapp,\n\t\t\tenvironment,\n\t\t\tstopped\n\t\t});\n\t} catch (error) {\n\t\tif (CliStructuredError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n}\n//#endregion\nexport { executeDevStop, executeDevUrl };\n\n//# sourceMappingURL=execute-dev-current-DNIwPfcW.mjs.map"],"mappings":";;;;;;;;;;;;;;AAeA,SAAS,sBAAsB;CAC9B,OAAO,IAAI,mBAAmB,4BAA4B,4CAA4C;AACvG;;AAEA,SAAS,OAAO,aAAa;CAC5B,OAAO,gBAAgB,QAAQ,iBAAiB,8BAA8B,YAAY;AAC3F;;AAEA,eAAe,WAAW,MAAM;CAC/B,IAAI;EACH,OAAO,MAAM,KAAK;CACnB,SAAS,OAAO;EACf,MAAM,aAAa,uBAAuB,KAAK;CAChD;AACD;;AAEA,eAAe,YAAY,MAAM,KAAK;CACrC,MAAM,EAAE,KAAK,gBAAgB;CAC7B,MAAM,EAAE,UAAU,kBAAkB,KAAK,QAAQ,GAAG;CACpD,MAAM,SAAS,KAAK,KAAK,KAAK,kBAAkB,WAAW,CAAC;CAC5D,0BAA0B,QAAQ,WAAW;CAC7C,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,WAAW,MAAM,oBAAoB,KAAK,EAAA,CAAG,OAAO,GAAG;EACjE,MAAM,UAAU,MAAM,WAAW,YAAY,OAAO,UAAU;GAC7D;GACA;GACA;EACD,CAAC,CAAC;EACF,IAAI,YAAY,KAAK,GAAG,KAAK,KAAK,OAAO;CAC1C;CACA,IAAI,KAAK,WAAW,GAAG,MAAM,IAAI,mBAAmB,wBAAwB,8BAA8B,IAAI,sBAAsB,YAAY,MAAM,IAAI,IAAI;EAC7J,KAAK,uEAAuE,OAAO,kDAAkD,YAAY,QAAQ,IAAI;EAC7J,KAAK,OAAO,OAAO,WAAW,EAAE,OAAO,IAAI;EAC3C,MAAM;GACL;G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ACpE,IAAI;EACH,MAAM,cAAc,MAAM,eAAe;EACzC,wBAAwB,WAAW;EACnC,MAAM,EAAE,MAAM,QAAQ,MAAM,mBAAmB,MAAM,OAAO,MAAM,MAAM,KAAK,MAAM,MAAM;EACzF,MAAM,OAAO,MAAM,YAAY;GAC9B,QAAQ,MAAM;GACd;GACA;EACD,GAAG,GAAG;EACN,MAAM,UAAU,CAAC;EACjB,KAAK,MAAM,YAAY,MAAM,QAAQ,KAAK,GAAG,MAAM,iBAAiB,SAAS,KAAK,CAAC,CAAC;EACpF,OAAO,GAAG;GACT;GACA;GACA;EACD,CAAC;CACF,SAAS,OAAO;EACf,IAAI,mBAAmB,GAAG,KAAK,GAAG,OAAO,MAAM,KAAK;EACpD,MAAM;CACP;AACD"}
@@ -1,8 +1,12 @@
1
1
  import { CommandFamily, RedirectSpec } from "@prisma/cli-engine";
2
+ import * as Alchemy from "alchemy";
2
3
  import { Input, StackServices } from "alchemy";
3
4
  import * as Effect from "effect/Effect";
4
5
  import * as Layer from "effect/Layer";
5
6
  import { State } from "alchemy/State/State";
7
+ import "alchemy/Provider";
8
+ import "alchemy/Alchemist";
9
+ import "effect/Cause";
6
10
  //#region ../../0-framework/0-foundation/foundation/dist/errors.d.mts
7
11
  //#region src/structured-error.d.ts
8
12
  interface StructuredError extends Error {
@@ -793,18 +797,21 @@ interface Graph {
793
797
  readonly appConfigurationRead: AppConfigurationRead;
794
798
  }
795
799
  //#endregion
796
- //#region ../../0-framework/1-core/core/dist/app-config-_XNdvjus.d.mts
797
- //#region src/container-transport.d.ts
800
+ //#region ../../0-framework/1-core/core/dist/app-config-Ubi4CftJ.d.mts
801
+ //#region src/caller-credentials.d.ts
798
802
  /**
799
- * Carries resolved containers from the CLI process into the alchemy process
800
- * (ADR-0037). A deploy runs as two processes: the CLI resolves each
801
- * extension's containers, then spawns `alchemy`, which re-imports the config
802
- * from scratch and needs those containers back — and env vars are the only
803
- * channel between the two. So the CLI writes each instance's `serialize()`
804
- * output into one env var per extension, and in the alchemy process
805
- * `deserializeContainers` reads each var back through the same extension's
806
- * descriptor. The framework owns the vars; it never reads their contents.
803
+ * What the caller has already authenticated, handed unchanged to every
804
+ * extension hook that talks to the platform. `C` is the extension's own client
805
+ * type: this module cannot import a platform SDK.
807
806
  */
807
+ interface CallerCredentials<C = unknown> {
808
+ /** The workspace the caller acts in. `undefined` when the caller has no workspace to name — the extension decides whether it can proceed. */
809
+ readonly workspaceId: string | undefined;
810
+ /** An already-authenticated platform API client. Present means the extension must not build its own from the environment. */
811
+ readonly client?: C | undefined;
812
+ }
813
+ //#endregion
814
+ //#region src/container-transport.d.ts
808
815
  /** The key an extension resolves a container from: which app, which environment. */
809
816
  interface LocateContainerInput {
810
817
  /** The application name (root node's name, or `--name`). */
@@ -824,25 +831,6 @@ interface ContainerInstance {
824
831
  /** Serialize to a non-empty string for the process transport above. The format is the extension's own; only its `deserialize` reads it. */
825
832
  serialize(): string;
826
833
  }
827
- /**
828
- * What the caller has already authenticated, handed to one container
829
- * lifecycle call. A caller that holds neither omits the argument, and the
830
- * extension falls back to whatever credential protocol it defines for
831
- * itself (for Prisma Cloud, its env vars — which is how the alchemy child
832
- * process still resolves containers).
833
- *
834
- * `C` is the extension's own platform-client type, left as a type parameter
835
- * because this shared-plane module must not import a platform SDK; the
836
- * framework only carries the value, never calls it. The framework stores the
837
- * erased `C = unknown` form and the extension recovers its concrete client
838
- * through the same method bivariance that erases `I` below.
839
- */
840
- interface ContainerCredentials<C = unknown> {
841
- /** The workspace the container lives in. `undefined` when the caller has no workspace to name — the extension decides whether it can proceed. */
842
- readonly workspaceId: string | undefined;
843
- /** An already-authenticated platform API client. Present means the extension must not build its own from the environment. */
844
- readonly client?: C | undefined;
845
- }
846
834
  /**
847
835
  * The platform containers an app deploys into, as one lifecycle. `I` is
848
836
  * the extension's own instance type — the same descriptor produces and
@@ -855,11 +843,11 @@ interface ContainerCredentials<C = unknown> {
855
843
  */
856
844
  interface ContainerDescriptor<I extends ContainerInstance = ContainerInstance, C = unknown> {
857
845
  /** Resolve the container for (appName, environment), creating anything absent. Called by `deploy`. */
858
- ensure(input: LocateContainerInput, credentials?: ContainerCredentials<C>): Promise<I>;
846
+ ensure(input: LocateContainerInput, credentials?: CallerCredentials<C>): Promise<I>;
859
847
  /** Find the container for (appName, environment); `undefined` when nothing exists. Called by `destroy` — never creates. */
860
- locate(input: LocateContainerInput, credentials?: ContainerCredentials<C>): Promise<I | undefined>;
848
+ locate(input: LocateContainerInput, credentials?: CallerCredentials<C>): Promise<I | undefined>;
861
849
  /** Remove the container after a successful destroy, after every extension's `teardown` has run. Failure policy is the extension's. */
862
- remove(instance: I, credentials?: ContainerCredentials<C>): Promise<void>;
850
+ remove(instance: I, credentials?: CallerCredentials<C>): Promise<void>;
863
851
  /** Reconstruct an instance from its own `serialize()` output — the far end of the framework's parent→child transport. */
864
852
  deserialize(serialized: string): I;
865
853
  }
@@ -923,7 +911,7 @@ interface ProvisionerDescriptor {
923
911
  /**
924
912
  * The phased service SPI. `P` and `S` are the descriptor's OWN intra-node
925
913
  * handoff types — provision's product consumed by serialize/deploy, and
926
- * serialize's product consumed by deploy. Core threads them through without
914
+ * serialize's product consumed by package/deploy. Core threads them through without
927
915
  * inspection; only the descriptor that writes them reads them.
928
916
  *
929
917
  * Method syntax (not property-arrow) is required: the heterogeneous
@@ -947,9 +935,10 @@ interface ServiceLowering<P = unknown, S = unknown> {
947
935
  /**
948
936
  * Prints the bootstrap and assembles the deployable artifact from the
949
937
  * app-built bundle. Must be byte-deterministic: an unchanged service noops
950
- * on redeploy.
938
+ * on redeploy. `serialized` is this service's `serialize` product. It must
939
+ * not write a secret, or a value the deploy has not resolved, into the artifact.
951
940
  */
952
- package(ctx: LowerContext, input: PackageInput): Effect.Effect<Artifact, unknown, unknown>;
941
+ package(ctx: LowerContext, input: PackageInput, serialized: S): Effect.Effect<Artifact, unknown, unknown>;
953
942
  /** Ships the packaged artifact into the provisioned thing and runs it. Returns the node's outputs for dependents, plus the entities it became on the deployment target. */
954
943
  deploy(ctx: LowerContext, provisioned: P, artifact: Artifact, serialized: S): Effect.Effect<LoweredResult, unknown, unknown>;
955
944
  /**
@@ -986,12 +975,13 @@ interface LowerContext {
986
975
  */
987
976
  readonly application: unknown;
988
977
  /**
989
- * The owning extension's resolved container, deserialized from the
990
- * framework transport; core never reads it — the extension narrows it
991
- * with its own type guard. `undefined` when the extension declares no
992
- * container descriptor.
978
+ * The owning extension's resolved container; core never reads it — the
979
+ * extension narrows it with its own type guard. `undefined` when the
980
+ * extension declares no container descriptor.
993
981
  */
994
982
  readonly container: ContainerInstance | undefined;
983
+ /** What the owning extension's preflight handed back this run; `undefined` when it returned nothing or ran no preflight. Core never reads it. */
984
+ readonly preflight: PreflightPayload;
995
985
  /** Already-lowered deps (topo order). */
996
986
  readonly lowered: ReadonlyMap<NodeId, Outputs>;
997
987
  /** Every provisioned param value minted this lowering, keyed by edge id (ADR-0031). */
@@ -1059,9 +1049,9 @@ interface LowerOptions {
1059
1049
  readonly name: string;
1060
1050
  /** The environment being deployed, as `--environment` gave it. Required by any value over `environment.name`; the generated stack files always pass it. */
1061
1051
  readonly environment?: string;
1062
- /** What the first process's Load read from the app configuration (ADR-0062), from the app configuration file. Load takes the root's input from it. The generated stack files pass it. */
1052
+ /** What the caller's Load read from the app configuration (ADR-0062). Load takes the root's input from it. */
1063
1053
  readonly appConfigurationRead?: AppConfigurationRead;
1064
- /** The node addresses of the graph the first process built. When given, lowering refuses a graph whose addresses differ. The generated stack files pass them. */
1054
+ /** The node addresses of the graph the caller built. When given, lowering refuses a graph whose addresses differ. */
1065
1055
  readonly firstProcessNodeAddresses?: readonly string[];
1066
1056
  readonly bundles: Record<string, Bundle>;
1067
1057
  /** Alchemy state store for the stack. Defaults to the config's own state layer. */
@@ -1078,6 +1068,14 @@ interface LowerOptions {
1078
1068
  readonly report?: (result: DeploymentResult) => void;
1079
1069
  /** Addresses lowered without an artifact: `package` and `deploy` are skipped and `reserve` runs instead (ADR-0056). Only the dev stack file sets it. */
1080
1070
  readonly unassembled?: readonly string[];
1071
+ /** Each extension's resolved container, by extension id. Pass both `containers` and `preflightPayloads`, or neither. When both are absent, `lower()` reads both from the environment transports through `transportedLowerInputs(config)`. When exactly one is passed, `lower()` throws. */
1072
+ readonly containers?: ReadonlyMap<string, ContainerInstance> | undefined;
1073
+ /** What each extension's preflight returned, by extension id. Each lowering context gets its own extension's entry as `LowerContext.preflight`. */
1074
+ readonly preflightPayloads?: ReadonlyMap<string, string> | undefined;
1075
+ /** The platform variables with no value that the deploy preflight found. The deploy report carries them. Absent means none. */
1076
+ readonly findings?: PreflightFindings;
1077
+ /** What the caller already authenticated, handed to every extension's `providers()` and to the state descriptor's `create()`. Absent means each extension falls back to its own credential protocol. */
1078
+ readonly credentials?: CallerCredentials | undefined;
1081
1079
  }
1082
1080
  /** A build descriptor's normalized output: the produced bundle dir plus the app's runnable entry within it. */
1083
1081
  interface Bundle {
@@ -1129,6 +1127,12 @@ interface Artifact {
1129
1127
  readonly path: string;
1130
1128
  readonly sha256: string;
1131
1129
  }
1130
+ /**
1131
+ * The whole-stack wrapper: Load → route each node through the config's
1132
+ * extension registries → an Alchemy Stack, which `deploy` hands to
1133
+ * `Alchemist.plan` and a generated stack file exports for the alchemy CLI.
1134
+ */
1135
+ declare function lower(root: ModuleNode | AppRootNode, config: PrismaAppConfig, opts: LowerOptions): Alchemy.ConfiguredStack<undefined, never>;
1132
1136
  //#endregion
1133
1137
  //#region src/control/app-config.d.ts
1134
1138
  /**
@@ -1145,8 +1149,11 @@ interface ExtensionDescriptor {
1145
1149
  readonly provisions?: ReadonlyMap<symbol, ProvisionerDescriptor>;
1146
1150
  /** Once-per-lowering hook — the application's shared infrastructure (e.g. prisma-cloud's Project). */
1147
1151
  readonly application?: ApplicationDescriptor;
1148
- /** The extension's Alchemy providers — merged across all configured extensions (config order). */
1149
- readonly providers?: () => Layer.Layer<never>;
1152
+ /**
1153
+ * The extension's Alchemy providers — merged across all configured extensions (config order).
1154
+ * METHOD SYNTAX REQUIRED, like `preflight`: an extension types `input` against its own client, which assigns here only through method bivariance.
1155
+ */
1156
+ providers?(input: ProvidersInput): Layer.Layer<never>;
1150
1157
  /** Refuses a loaded graph this extension cannot deploy by throwing `GraphCheckError`. The CLI calls it right after Load in every command that runs Load. Any other throw is a bug. */
1151
1158
  readonly checkGraph?: (graph: Graph) => void;
1152
1159
  /**
@@ -1214,10 +1221,15 @@ interface ExtensionDescriptor {
1214
1221
  interface StateDescriptor {
1215
1222
  /** The owning extension's id — matched against `ExtensionDescriptor.id`. */
1216
1223
  readonly extension: string;
1217
- /** Build the state layer. `container` is the owning extension's resolved instance; `undefined` when it declared no container descriptor. */
1218
- create(container: ContainerInstance | undefined): AlchemyStateLayer;
1224
+ /** Build the state layer. `container` is the owning extension's resolved instance; `undefined` when it declared no container descriptor. `credentials` is as `ExtensionDescriptor.providers` receives it. */
1225
+ create(container: ContainerInstance | undefined, credentials?: CallerCredentials): AlchemyStateLayer;
1219
1226
  }
1220
- /** The resolved deploy context handed to an extension's `preflight` hook. `C` erases to `unknown` at the framework boundary — see ContainerCredentials. */
1227
+ /** What `ExtensionDescriptor.providers` receives. `C` erases to `unknown` at the framework boundary, exactly as on `PreflightInput`. */
1228
+ interface ProvidersInput<C = unknown> {
1229
+ /** What the caller already authenticated (`LowerOptions.credentials`). Absent means the extension falls back to its own credential protocol. */
1230
+ readonly credentials?: CallerCredentials<C> | undefined;
1231
+ }
1232
+ /** The resolved deploy context handed to an extension's `preflight` hook. `C` erases to `unknown` at the framework boundary — see CallerCredentials. */
1221
1233
  interface PreflightInput<C = unknown> {
1222
1234
  /** The loaded application graph — the manifest of prerequisites is read from it (`provisionManifest`). */
1223
1235
  readonly graph: Graph;
@@ -1230,7 +1242,7 @@ interface PreflightInput<C = unknown> {
1230
1242
  /** The app secrets the command read for this environment. */
1231
1243
  readonly secrets: AppSecrets;
1232
1244
  /** What the caller has already authenticated, for the platform calls preflight makes. Absent means the extension falls back to its own credential protocol. */
1233
- readonly credentials?: ContainerCredentials<C> | undefined;
1245
+ readonly credentials?: CallerCredentials<C> | undefined;
1234
1246
  /** Hands the deploy how many platform variables the check read and which have no value. */
1235
1247
  readonly report?: ((check: PlatformVariableCheck) => void) | undefined;
1236
1248
  /** Shows the user a warning that does not stop the run. Only `prisma dev` passes it and shows the warnings; deploy passes none. */
@@ -1275,7 +1287,7 @@ interface ReportBeginInput<C = unknown> {
1275
1287
  */
1276
1288
  readonly reportId: string | undefined;
1277
1289
  /** What the caller has already authenticated, exactly as `preflight` and the container lifecycle receive it. Present means the reporter must not build a client from the environment. */
1278
- readonly credentials?: ContainerCredentials<C> | undefined;
1290
+ readonly credentials?: CallerCredentials<C> | undefined;
1279
1291
  }
1280
1292
  /** The deploy context handed to `RunReporter.attach`, once containers exist. */
1281
1293
  interface ReportAttachInput {
@@ -1527,6 +1539,74 @@ interface PrismaAppConfig {
1527
1539
  readonly secrets?: readonly ConfigAdapter[];
1528
1540
  }
1529
1541
  //#endregion
1542
+ //#region ../../0-framework/3-tooling/cli/dist/deployment-summary-6LgQDUuu.d.mts
1543
+ //#region src/deployment-summary.d.ts
1544
+ /** The serializable projection of DeploymentResult — what CAN cross the process
1545
+ * boundary. Writer (report hook) and reader (deploy operation) share this shape. */
1546
+ interface DeployedNodeSummary {
1547
+ readonly address: string;
1548
+ readonly entities: readonly DeployedEntity[];
1549
+ }
1550
+ interface DeploymentSummary {
1551
+ readonly app: string;
1552
+ readonly nodes: readonly DeployedNodeSummary[];
1553
+ /** The platform variables with no value that the deploy preflight found. */
1554
+ readonly findings: PreflightFindings;
1555
+ }
1556
+ //#endregion
1557
+ //#region ../../0-framework/3-tooling/cli/dist/converge-in-process-BBBeood8.d.mts
1558
+ //#region src/converge-in-process.d.ts
1559
+ /** What `lower()` returns: the stack value `Alchemist.plan` takes. */
1560
+ type LoweredStack = ReturnType<typeof lower>;
1561
+ /** Where a resource is in its apply. `pending` is planned but not yet touched. */
1562
+ type ResourcePhase = 'pending' | 'running' | 'done' | 'failed';
1563
+ type ConvergeEvent = {
1564
+ readonly kind: 'resource';
1565
+ readonly fqn: string;
1566
+ readonly resourceType: string;
1567
+ /** Alchemy's own status word, such as `creating` or `updated`. */
1568
+ readonly status: string;
1569
+ readonly phase: ResourcePhase;
1570
+ readonly message?: string | undefined;
1571
+ } | {
1572
+ readonly kind: 'log';
1573
+ readonly severity: 'info' | 'warn' | 'verbose';
1574
+ readonly text: string;
1575
+ };
1576
+ interface ConvergeRequest {
1577
+ readonly operation: 'deploy';
1578
+ readonly stack: LoweredStack;
1579
+ readonly stage: string;
1580
+ /** The directory Alchemy runs in: where it reads `.env` and keeps `.alchemy`. */
1581
+ readonly cwd: string;
1582
+ /** Set in `process.env` while Alchemy plans and applies, and restored after; `undefined` removes the variable for that time. Alchemy reads its configuration only from there. */
1583
+ readonly env: Readonly<Record<string, string | undefined>>;
1584
+ readonly signal?: AbortSignal | undefined;
1585
+ readonly onEvent?: ((event: ConvergeEvent) => void) | undefined;
1586
+ /** Receives what Alchemy writes to the terminal itself. A throw from it is ignored. Absent means stderr. */
1587
+ readonly output?: ((text: string) => void) | undefined;
1588
+ }
1589
+ /** One error a failed converge ended with: the error's tag or class name, and its message. */
1590
+ interface ConvergeFailureReason {
1591
+ readonly tag: string;
1592
+ readonly message: string;
1593
+ }
1594
+ type ConvergeOutcome = {
1595
+ readonly kind: 'applied';
1596
+ } | {
1597
+ readonly kind: 'interrupted';
1598
+ } | {
1599
+ readonly kind: 'failed';
1600
+ readonly reasons: readonly ConvergeFailureReason[];
1601
+ } |
1602
+ /** Nothing ran: another converge holds this process's environment and working directory, or this is a worker thread that cannot change directory. */
1603
+ {
1604
+ readonly kind: 'refused';
1605
+ readonly reason: 'already-running' | 'worker-thread';
1606
+ };
1607
+ /** Plans and applies a lowered stack. The deploy executor's default is {@link convergeInProcess}. */
1608
+ type Converge = (request: ConvergeRequest) => Promise<ConvergeOutcome>;
1609
+ //#endregion
1530
1610
  //#region ../../0-framework/3-tooling/assemble/dist/index.d.mts
1531
1611
  //#endregion
1532
1612
  //#region src/assemble-services.d.ts
@@ -1569,7 +1649,7 @@ interface NotOk<F> {
1569
1649
  */
1570
1650
  type Result$1<T, F> = Ok<T> | NotOk<F>;
1571
1651
  //#endregion
1572
- //#region ../../0-framework/3-tooling/cli/dist/dev-DDe8SH4o.d.mts
1652
+ //#region ../../0-framework/3-tooling/cli/dist/redaction-CIaE4m9U.d.mts
1573
1653
  //#region src/composer-config.d.ts
1574
1654
  /** Composer's configuration and the `prisma.config.ts` that declares it. */
1575
1655
  interface ComposerConfigSource {
@@ -1579,6 +1659,13 @@ interface ComposerConfigSource {
1579
1659
  readonly file: string;
1580
1660
  }
1581
1661
  //#endregion
1662
+ //#region src/app-converge.d.ts
1663
+ /** The app install's `lower` and its converge, `convergeInProcess`. */
1664
+ interface AppConvergeEntry {
1665
+ readonly lower: typeof lower;
1666
+ readonly converge: Converge;
1667
+ }
1668
+ //#endregion
1582
1669
  //#region src/dev/watch.d.ts
1583
1670
  interface WatchTarget {
1584
1671
  readonly address: string;
@@ -1671,11 +1758,15 @@ interface ServiceEndpoint {
1671
1758
  interface OperationDeps {
1672
1759
  readonly runAssembler?: RunAssembler | undefined;
1673
1760
  /**
1674
- * Starts the converge child. The CLI passes one backed by the engine's
1675
- * `ctx.spawn`, so the terminal reaches the child natively and the engine
1676
- * owns signal policy; hosts get the default `spawnAlchemy`.
1761
+ * Starts the converge child for `destroy` and `dev`. The CLI passes one
1762
+ * backed by the engine's `ctx.spawn`, so the terminal reaches the child
1763
+ * natively and the engine owns signal policy; hosts get the default `spawnAlchemy`.
1677
1764
  */
1678
1765
  readonly alchemy?: RunAlchemy | undefined;
1766
+ /** The `lower` and converge `deploy` runs; defaults to the app's own install (`loadAppConvergeEntry`). Tests substitute it. */
1767
+ readonly appConvergeEntry?: AppConvergeEntry | undefined;
1768
+ /** What `deploy` redacts from everything it reports. Defaults to one built from `process.env`; the CLI passes its own so its console redirect redacts the same values. */
1769
+ readonly redaction?: SecretRedaction | undefined;
1679
1770
  /** Starts a file watch for `dev`; defaults to chokidar-backed `startWatch`. Tests substitute it to drive changes directly. */
1680
1771
  readonly watch?: typeof startWatch | undefined;
1681
1772
  /**
@@ -1692,7 +1783,7 @@ interface OperationDeps {
1692
1783
  * call", and both commands are credential-free by contract: there is no
1693
1784
  * authenticated call on those paths for this to reach.
1694
1785
  */
1695
- readonly credentials?: ContainerCredentials | undefined;
1786
+ readonly credentials?: CallerCredentials | undefined;
1696
1787
  }
1697
1788
  //#endregion
1698
1789
  //#region src/operations/dev.d.ts
@@ -1807,31 +1898,72 @@ interface DevSession {
1807
1898
  * internal types and is not part of the published surface. */
1808
1899
  declare function devWithDeps(input: DevInput, deps: OperationDeps): Promise<Result$1<DevSession, CliStructuredError>>;
1809
1900
  //#endregion
1810
- //#region ../../0-framework/3-tooling/cli/dist/deployment-summary-p88NV5m5.d.mts
1811
- //#region src/deployment-summary.d.ts
1812
- /** The serializable projection of DeploymentResult — what CAN cross the process
1813
- * boundary. Writer (report hook) and reader (deploy operation) share this shape. */
1814
- interface DeployedNodeSummary {
1815
- readonly address: string;
1816
- readonly entities: readonly DeployedEntity[];
1901
+ //#region src/redaction.d.ts
1902
+ /** A value under a secrets key, with that key. */
1903
+ interface KnownSecret {
1904
+ readonly name: string;
1905
+ readonly value: string;
1817
1906
  }
1818
- interface DeploymentSummary {
1819
- readonly app: string;
1820
- readonly nodes: readonly DeployedNodeSummary[];
1907
+ /**
1908
+ * The known secrets of one command: the values under the secrets keys the graph names, in the app
1909
+ * secrets and the app configuration (ADR-0062). The app configuration file must not hold any of them.
1910
+ */
1911
+ declare class KnownSecrets {
1912
+ #private;
1913
+ constructor(secrets?: Iterable<KnownSecret>);
1914
+ /** Adds each secret whose value is not empty. A value already known keeps its first name. */
1915
+ add(secrets: Iterable<KnownSecret>): void;
1916
+ values(): ReadonlySet<string>;
1917
+ /**
1918
+ * The name of a known secret `text` holds, or undefined. A secret of
1919
+ * `MIN_SECRET_LENGTH_INSIDE_A_VALUE` characters or more is found anywhere in `text`; a shorter
1920
+ * one only when it is all of `text`.
1921
+ */
1922
+ nameIn(text: string): string | undefined;
1923
+ }
1924
+ /**
1925
+ * What one command hides from everything it prints, returns or reports (ADR-0062): its known
1926
+ * secrets, and the credential-looking values, which only look like secrets by the name of the
1927
+ * variable they are under. It starts with the credential-looking values of the process
1928
+ * environment.
1929
+ */
1930
+ declare class SecretRedaction {
1931
+ readonly knownSecrets: KnownSecrets;
1932
+ private readonly credentialLooking;
1933
+ private matcher;
1934
+ constructor(env: Readonly<Record<string, string | undefined>>);
1935
+ addKnownSecrets(secrets: Iterable<KnownSecret>): void;
1936
+ addCredentialLookingValues(values: Iterable<string>): void;
1937
+ /** The known secrets and the credential-looking values, longest first. */
1938
+ allValues(): readonly string[];
1939
+ /** `text` with every known secret and credential-looking value replaced by `[redacted]` at any length, then bearer tokens, JWTs, URL passwords and `token=…` pairs. */
1940
+ redact(text: string): string;
1821
1941
  }
1822
1942
  //#endregion
1823
- //#region ../../0-framework/3-tooling/cli/dist/dev-current-BuX95QnN.d.mts
1943
+ //#region ../../0-framework/3-tooling/cli/dist/dev-current-BUfC8loc.d.mts
1824
1944
  //#region src/operations/deploy.d.ts
1825
- /** A deploy step. `assemble-service` steps run inside `assemble`, one per service. */
1945
+ /** A deploy step. `assemble-service` steps run inside `assemble`, one per service, and `apply-resource` steps inside `apply`, one per resource Alchemy touches. */
1826
1946
  type DeployStep = {
1827
1947
  readonly name: 'prepare' | 'assemble' | 'connect' | 'preflight' | 'apply' | 'record';
1828
1948
  } | {
1829
1949
  readonly name: 'assemble-service';
1830
1950
  readonly address: string;
1951
+ } | {
1952
+ readonly name: 'apply-resource';
1953
+ /** The resource's ID (ADR-0057): its node's address, or the address and the resource's role in that node. */
1954
+ readonly resourceId: string;
1955
+ readonly resourceType: string;
1956
+ /** Alchemy's word for what is happening to the resource, such as `creating` or `created`, for people to read. It changes between a step's start and finish, and its values are Alchemy's, so do not branch on it. */
1957
+ readonly status: string;
1831
1958
  };
1832
1959
  type DeployEvent = {
1833
1960
  readonly kind: 'step-started';
1834
1961
  readonly step: DeployStep;
1962
+ } | {
1963
+ readonly kind: 'message';
1964
+ readonly severity: 'info' | 'warn' | 'verbose';
1965
+ /** A line Alchemy logged while it planned or applied. */
1966
+ readonly text: string;
1835
1967
  } | {
1836
1968
  readonly kind: 'step-finished';
1837
1969
  readonly step: DeployStep;
@@ -1876,10 +2008,11 @@ interface DeployInput {
1876
2008
  readonly reportId?: string | undefined;
1877
2009
  /** Each step as it starts and finishes, in real time. Rendering is the host's. */
1878
2010
  readonly onEvent?: ((event: DeployEvent) => void) | undefined;
2011
+ /** Interrupts the plan or apply when it aborts. The deploy then fails with `DEPLOY.INTERRUPTED`, after releasing the environment's state lease. */
2012
+ readonly signal?: AbortSignal | undefined;
1879
2013
  }
1880
2014
  interface DeploySuccess {
1881
- /** Parsed from the alchemy child's result file. Undefined when the child
1882
- * did not write one (injected fake alchemy, or a report-less apply). */
2015
+ /** What the apply deployed. Undefined when the apply produced no report. */
1883
2016
  readonly summary: DeploymentSummary | undefined;
1884
2017
  /** How long the whole deploy took, from the call to its result. */
1885
2018
  readonly durationMs: number;
@@ -1938,7 +2071,7 @@ declare function devUrl(input: DevUrlInput): Promise<Result$1<DevUrl, CliStructu
1938
2071
  /** Stops the app's local copy in the environment: its service processes and database servers. Data and ports stay. */
1939
2072
  declare function devStop(input: DevStopInput): Promise<Result$1<DevStopped, CliStructuredError>>;
1940
2073
  //#endregion
1941
- //#region ../../0-framework/3-tooling/cli/dist/family-CUPY2qjp.d.mts
2074
+ //#region ../../0-framework/3-tooling/cli/dist/family-D52hWFMF.d.mts
1942
2075
  //#region src/family/family.d.ts
1943
2076
  /**
1944
2077
  * The control-plane operations the family's handlers call. These are the
@@ -1964,30 +2097,5 @@ interface CreateComposerFamilyOptions {
1964
2097
  readonly redirects?: readonly RedirectSpec[] | undefined;
1965
2098
  }
1966
2099
  //#endregion
1967
- //#region ../../0-framework/3-tooling/cli/dist/redaction-CqdeMBKw.d.mts
1968
- //#region src/redaction.d.ts
1969
- /** A value under a secrets key, with that key. */
1970
- interface KnownSecret {
1971
- readonly name: string;
1972
- readonly value: string;
1973
- }
1974
- /**
1975
- * The known secrets of one command: the values under the secrets keys the graph names, in the app
1976
- * secrets and the app configuration (ADR-0062). The app configuration file must not hold any of them.
1977
- */
1978
- declare class KnownSecrets {
1979
- #private;
1980
- constructor(secrets?: Iterable<KnownSecret>);
1981
- /** Adds each secret whose value is not empty. A value already known keeps its first name. */
1982
- add(secrets: Iterable<KnownSecret>): void;
1983
- values(): ReadonlySet<string>;
1984
- /**
1985
- * The name of a known secret `text` holds, or undefined. A secret of
1986
- * `MIN_SECRET_LENGTH_INSIDE_A_VALUE` characters or more is found anywhere in `text`; a shorter
1987
- * one only when it is all of `text`.
1988
- */
1989
- nameIn(text: string): string | undefined;
1990
- }
1991
- //#endregion
1992
- export { CliStructuredError as C, AppConfigurationRead as S, OperationDeps as _, DEFAULT_DEPLOY_ENVIRONMENT as a, AssembledServices as b, DeploySuccess as c, DevUrl as d, DevUrlInput as f, DevSession as g, DevInput as h, realOperations as i, DevStopInput as l, DevEvent as m, ComposerOperations as n, DeployEvent as o, ComposerConfigSource as p, CreateComposerFamilyOptions as r, DeployInput as s, KnownSecrets as t, DevStopped as u, ServiceEndpoint as v, AppSecrets as x, Result$1 as y };
1993
- //# sourceMappingURL=redaction-CqdeMBKw-aZd7lPFP.d.mts.map
2100
+ export { CliStructuredError as C, AppConfigurationRead as S, OperationDeps as _, DeployEvent as a, AssembledServices as b, DevStopInput as c, DevUrlInput as d, ComposerConfigSource as f, KnownSecrets as g, DevSession as h, DEFAULT_DEPLOY_ENVIRONMENT as i, DevStopped as l, DevInput as m, CreateComposerFamilyOptions as n, DeployInput as o, DevEvent as p, realOperations as r, DeploySuccess as s, ComposerOperations as t, DevUrl as u, ServiceEndpoint as v, AppSecrets as x, Result$1 as y };
2101
+ //# sourceMappingURL=family-D52hWFMF-Cj-y7XrD.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"family-D52hWFMF-Cj-y7XrD.d.mts","names":[],"sources":["../../../0-framework/0-foundation/foundation/dist/errors.d.mts","../../../0-framework/0-foundation/foundation/dist/secret-CHOw4LBU.d.mts","../../../0-framework/0-foundation/foundation/dist/pointer-DclJZFQi.d.mts","../../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../0-framework/1-core/core/dist/graph-types-Bzj1fahC.d.mts","../../../0-framework/1-core/core/dist/app-config-Ubi4CftJ.d.mts","../../../0-framework/3-tooling/cli/dist/deployment-summary-6LgQDUuu.d.mts","../../../0-framework/3-tooling/cli/dist/converge-in-process-BBBeood8.d.mts","../../../0-framework/3-tooling/assemble/dist/index.d.mts","../../../0-framework/0-foundation/foundation/dist/result.d.mts","../../../0-framework/3-tooling/cli/dist/redaction-CIaE4m9U.d.mts","../../../0-framework/3-tooling/cli/dist/dev-current-BUfC8loc.d.mts","../../../0-framework/3-tooling/cli/dist/family-D52hWFMF.d.mts"],"x_google_ignoreList":[3],"mappings":";;;;;;;;;;;UACU,wBAAwB;WACvB;WACA;WACA;WACA;aACE;aACA;;WAEF;WACA,OAAO;WACP;;;;;;;;UAwBD;WACC;WACA;WACA;WACA;WACA;WACA;WACA;aACE;aACA;;WAEF,OAAO;WACP;;;;;;;;;;;;cAoBG,2BAA2B,iBAAiB;WAC/C;WACA;WACA;WACA;WACA;aACE;aACA;;WAEF,OAAO;WACP;EACT,YAAY,6BAA6B,iBAAiB;aAC/C;aACA;aACA;aACA;eACE;eACA;;aAEF,OAAO;aACP;aACA;;;;;EAKX,cAAc;;;;;SAKP,GAAG,iBAAiB,SAAS;;;;;cCjGxB;cACA,UAAU;;YAEZ;EACV,YAAY,OAAO;;EAEnB,UAAU;EACV;EACA;EACA;GACC,OAAO;;;KAGL,eAAe;;;;cCZN;cACA;;KAET;UACK,gBAAgB,GAAG,UAAU;YAC3B,UAAU;YACV,gBAAgB;;;KAGvB,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, p as ComposerConfigSource, r as CreateComposerFamilyOptions$1, y as Result } from "./redaction-CqdeMBKw-aZd7lPFP.mjs";
1
+ import { C as CliStructuredError$1, f as ComposerConfigSource, i as DEFAULT_DEPLOY_ENVIRONMENT, n as CreateComposerFamilyOptions$1, r as realOperations, t as ComposerOperations, y as Result } from "./family-D52hWFMF-Cj-y7XrD.mjs";
2
2
  import { CommandFamily, ConfigSection, ManagementApiClient } from "@prisma/cli-engine";
3
3
  import { CliStructuredError } from "@prisma/cli-engine/protocol";
4
4
  import "effect/Effect";