@prisma/composer 0.36.0-dev.5 → 0.36.0-dev.6

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 (57) hide show
  1. package/dist/{app-config-BvxeTt2h-CcVmwsq6.d.mts → app-config-RX-7kHbF-BroG2yMY.d.mts} +4 -4
  2. package/dist/{app-config-BvxeTt2h-CcVmwsq6.d.mts.map → app-config-RX-7kHbF-BroG2yMY.d.mts.map} +1 -1
  3. package/dist/config-Dp3ZVNnN.d.mts +1 -0
  4. package/dist/config.d.mts +2 -2
  5. package/dist/control.d.mts +6 -6
  6. package/dist/control.mjs +3 -3
  7. package/dist/deploy-Dp3ZVNnN.d.mts +1 -0
  8. package/dist/deploy.d.mts +2 -2
  9. package/dist/deploy.mjs +1 -1
  10. package/dist/deploy.mjs.map +1 -1
  11. package/dist/{deployment-summary-Cm4lN6w9-Dc69sCgo.d.mts → deployment-summary-Cm4lN6w9-CGdGdlFC.d.mts} +4 -4
  12. package/dist/{deployment-summary-Cm4lN6w9-Dc69sCgo.d.mts.map → deployment-summary-Cm4lN6w9-CGdGdlFC.d.mts.map} +1 -1
  13. package/dist/{dev-current-BurA9uhA-C7E-BpRH.mjs → dev-current-BurA9uhA-DixUKm8W.mjs} +4 -4
  14. package/dist/{dev-current-BurA9uhA-C7E-BpRH.mjs.map → dev-current-BurA9uhA-DixUKm8W.mjs.map} +1 -1
  15. package/dist/{dist-0Iux8Khv.mjs → dist-DLOn1x6Z.mjs} +2 -2
  16. package/dist/{dist-0Iux8Khv.mjs.map → dist-DLOn1x6Z.mjs.map} +1 -1
  17. package/dist/{execute-deploy-destroy-Cww6zOSC-CIPx-m4I.mjs → execute-deploy-destroy-Cww6zOSC-D8eKSdMX.mjs} +3 -3
  18. package/dist/{execute-deploy-destroy-Cww6zOSC-CIPx-m4I.mjs.map → execute-deploy-destroy-Cww6zOSC-D8eKSdMX.mjs.map} +1 -1
  19. package/dist/{execute-dev-4KYkqSMh-BP9S193k.mjs → execute-dev-4KYkqSMh-Ny8ATEfU.mjs} +3 -3
  20. package/dist/{execute-dev-4KYkqSMh-BP9S193k.mjs.map → execute-dev-4KYkqSMh-Ny8ATEfU.mjs.map} +1 -1
  21. package/dist/{execute-dev-current-Cd4YEUZk-C6bs4ONa.mjs → execute-dev-current-Cd4YEUZk-DBj9y27X.mjs} +3 -3
  22. package/dist/{execute-dev-current-Cd4YEUZk-C6bs4ONa.mjs.map → execute-dev-current-Cd4YEUZk-DBj9y27X.mjs.map} +1 -1
  23. package/dist/{execute-log-BC5o35wQ-C8QWELlP.mjs → execute-log-BC5o35wQ-photDb2l.mjs} +3 -3
  24. package/dist/{execute-log-BC5o35wQ-C8QWELlP.mjs.map → execute-log-BC5o35wQ-photDb2l.mjs.map} +1 -1
  25. package/dist/{graph-CN8VuVZN-Ck2y98XZ.d.mts → graph-B_szUZs6--jpigkBW.d.mts} +3 -3
  26. package/dist/graph-B_szUZs6--jpigkBW.d.mts.map +1 -0
  27. package/dist/{graph-gE31_ToO-BouKBfIS.mjs → graph-nazLWyK2-BBciBJje.mjs} +17 -7
  28. package/dist/graph-nazLWyK2-BBciBJje.mjs.map +1 -0
  29. package/dist/{graph-types-R38xjBnN-cDTIX_rZ.d.mts → graph-types-CViux_yr-CVV2nQ0l.d.mts} +82 -57
  30. package/dist/graph-types-CViux_yr-CVV2nQ0l.d.mts.map +1 -0
  31. package/dist/http.d.mts +2 -2
  32. package/dist/http.mjs +2 -2
  33. package/dist/{index-BHdm4Q39.d.mts → index-BNYl6MsF.d.mts} +3 -3
  34. package/dist/{index-BHdm4Q39.d.mts.map → index-BNYl6MsF.d.mts.map} +1 -1
  35. package/dist/index.d.mts +4 -4
  36. package/dist/index.mjs +2 -2
  37. package/dist/internal-pools.d.mts +2 -2
  38. package/dist/local-target.d.mts +1 -1
  39. package/dist/{nextjs-DLyeRR7M-CuGngjU4.d.mts → nextjs-DLyeRR7M-C9O2M7Z4.d.mts} +3 -3
  40. package/dist/{nextjs-DLyeRR7M-CuGngjU4.d.mts.map → nextjs-DLyeRR7M-C9O2M7Z4.d.mts.map} +1 -1
  41. package/dist/nextjs-control.d.mts +4 -4
  42. package/dist/nextjs.d.mts +1 -1
  43. package/dist/node-control.d.mts +3 -3
  44. package/dist/node.d.mts +2 -2
  45. package/dist/report.d.mts +3 -3
  46. package/dist/service-rpc.d.mts +2 -2
  47. package/dist/service-rpc.mjs +2 -2
  48. package/dist/testing.d.mts +1 -1
  49. package/dist/{validate-environment-BNZC6W46-B0ESzFBn.mjs → validate-environment-BNZC6W46-CNGrBiHh.mjs} +3 -3
  50. package/dist/{validate-environment-BNZC6W46-B0ESzFBn.mjs.map → validate-environment-BNZC6W46-CNGrBiHh.mjs.map} +1 -1
  51. package/package.json +11 -11
  52. package/skills/prisma-composer-core-concepts/SKILL.md +7 -24
  53. package/dist/config-Cn9vjklJ.d.mts +0 -1
  54. package/dist/deploy-Cn9vjklJ.d.mts +0 -1
  55. package/dist/graph-CN8VuVZN-Ck2y98XZ.d.mts.map +0 -1
  56. package/dist/graph-gE31_ToO-BouKBfIS.mjs.map +0 -1
  57. package/dist/graph-types-R38xjBnN-cDTIX_rZ.d.mts.map +0 -1
@@ -78,7 +78,7 @@ declare class CliStructuredError extends Error implements StructuredError {
78
78
  static is(error: unknown): error is CliStructuredError;
79
79
  }
80
80
  //#endregion
81
- //#region ../../0-framework/1-core/core/dist/graph-types-R38xjBnN.d.mts
81
+ //#region ../../0-framework/1-core/core/dist/graph-types-CViux_yr.d.mts
82
82
  //#region src/contract.d.ts
83
83
  /**
84
84
  * A Contract is the declared interface of a service-to-service dependency: a
@@ -179,7 +179,7 @@ declare function configOf(root: ServiceNode): readonly ConfigDeclaration[];
179
179
  * verifies each `envSecret` leaf's platform var exists before deploy; the
180
180
  * values are provisioned out-of-band).
181
181
  */
182
- declare function inputManifest(graph: Graph): readonly ServiceInputBinding[];
182
+ declare function inputManifest(graph: Graph): readonly InputBindingUse[];
183
183
  /**
184
184
  * The app's param-binding manifest: every param a `provision()` call bound —
185
185
  * literal or an opaque, target-defined `ParamSource` — at the address that
@@ -224,7 +224,7 @@ type ValueOrigin<T> = {
224
224
  readonly kind: 'input';
225
225
  /** The address of the module whose input this field is. */
226
226
  readonly module: string;
227
- /** The key path inside that module's input; `[]` is the whole input. */
227
+ /** The key path inside that module's input; `[]` is the whole input, which Load refuses wherever it is passed on. */
228
228
  readonly path: readonly string[];
229
229
  } | {
230
230
  readonly kind: 'source';
@@ -250,7 +250,7 @@ interface Value<T> {
250
250
  /** A value known only at boot (ADR-0062): its real value at deploy is a `Pointer<T>`, which names the platform variable the service reads at boot. */
251
251
  type RuntimeValue<T> = Value<Pointer<T>>;
252
252
  /** The tuple of real-value types a dependency tuple stands for: what `resolve()`'s `fn` receives. */
253
- type RealValuesOf<D extends readonly Value<unknown>[]> = { readonly [K in keyof D]: D[K] extends Value<infer T> ? T : never; };
253
+ type RealValuesOf<D extends readonly unknown[]> = { readonly [K in keyof D]: D[K] extends Value<infer T> ? T : never; };
254
254
  /**
255
255
  * `true` when `T` is a `Pointer` or holds one, through arrays and plain object types.
256
256
  * It looks eight levels deep, so a recursive type such as `PlainData` ends; Load checks deeper.
@@ -260,8 +260,10 @@ type HoldsPointer<T, Depth extends readonly unknown[] = []> = Depth['length'] ex
260
260
  type IsDeployTime<T> = 0 extends 1 & T ? true : true extends HoldsPointer<T> ? false : true;
261
261
  /** The type error an author sees for a dependency that is not a deploy-time value. */
262
262
  type NotDeployTime = 'a resolve() dependency must be a deploy-time value, never a value known only at boot or a field wrapped with field(); to compute with an input field, declare it plain';
263
+ /** A dependency `resolve()` accepts only to refuse it with a message: a module body's whole `input`. */
264
+ type RefusedDependency = ModuleInput<StandardSchemaV1>;
263
265
  /** `D` with each dependency that is not a deploy-time value replaced by the message saying so. */
264
- type DeployTimeDependencies<D extends readonly Value<unknown>[]> = { readonly [K in keyof D]: D[K] extends Value<infer T> ? IsDeployTime<T> extends true ? D[K] : NotDeployTime : D[K]; };
266
+ type DeployTimeDependencies<D extends readonly (Value<unknown> | RefusedDependency)[]> = { readonly [K in keyof D]: D[K] extends Value<infer T> ? IsDeployTime<T> extends true ? D[K] : NotDeployTime : D[K] extends RefusedDependency ? ModuleInputIsNotAValue : D[K]; };
265
267
  /** Plain data: what a `resolve()` function may return. */
266
268
  type PlainData = string | number | boolean | null | readonly PlainData[] | {
267
269
  readonly [key: string]: PlainData;
@@ -275,7 +277,7 @@ type PlainData = string | number | boolean | null | readonly PlainData[] | {
275
277
  * disabled (ADR-0062). `fn` must be a pure function of its dependencies: a
276
278
  * deploy runs it in two processes.
277
279
  */
278
- declare function resolve<const D extends readonly Value<unknown>[], T>(dependencies: DeployTimeDependencies<D>, fn: (values: RealValuesOf<D>) => T): Value<T>;
280
+ declare function resolve<const D extends readonly (Value<unknown> | RefusedDependency)[], T>(dependencies: DeployTimeDependencies<D>, fn: (values: RealValuesOf<D>) => T): Value<T>;
279
281
  /** True if `value` is a `Value`, a source included (checks the brand only, never a prototype). */
280
282
  declare function isValue(value: unknown): value is Value<unknown>;
281
283
  /** The deploy-time facts a module body receives, each as a value (ADR-0062). */
@@ -287,6 +289,7 @@ interface EnvironmentFacts {
287
289
  type EnvironmentRealValues = { readonly [K in keyof EnvironmentFacts]: EnvironmentFacts[K] extends Value<infer T> ? T : never; };
288
290
  //#endregion
289
291
  //#region src/module-input.d.ts
292
+ declare const MODULE_INPUT: unique symbol;
290
293
  type PlainObject = {
291
294
  readonly [key: string]: unknown;
292
295
  };
@@ -298,8 +301,24 @@ type ModuleInputField<T> = Value<T> & FieldsOf<T>;
298
301
  type FieldsOf<T> = [NonNullable<T>] extends [never] ? unknown : [NonNullable<T>] extends [readonly unknown[]] ? unknown : [NonNullable<T>] extends [PlainObject] ? Fields<NonNullable<T>, undefined extends T ? undefined : never> : unknown;
299
302
  type Fields<O, Absent> = { readonly [K in keyof O & string]-?: ModuleInputField<FieldType<O, K> | Absent>; };
300
303
  type FieldType<O, K extends keyof O> = Record<never, never> extends Pick<O, K> ? O[K] | undefined : O[K];
301
- /** The `input` a module body receives for its input schema `S`: one value per field, typed from the schema's output (ADR-0061). */
302
- type ModuleInput<S extends StandardSchemaV1> = ModuleInputField<StandardSchemaV1.InferOutput<S>>;
304
+ /**
305
+ * The `input` a module body receives for its input schema `S`: a dictionary
306
+ * with one value per field, typed from the schema's output (ADR-0061). It is
307
+ * not itself a value, and no binding accepts it: pass its fields on by name.
308
+ */
309
+ type ModuleInput<S extends StandardSchemaV1> = {
310
+ readonly [MODULE_INPUT]: true;
311
+ } & FieldsOf<StandardSchemaV1.InferOutput<S>>;
312
+ /** The type error an author sees for a module body's whole input passed where a value is accepted. */
313
+ type ModuleInputIsNotAValue = 'the whole input of a module is not a value; pass its fields on by name';
314
+ /**
315
+ * Required of every object a binding accepts, so a module body's whole `input`
316
+ * fits none. Unlike `NotDeployTime`, a message string, it is an object
317
+ * constraint: its property's type is the message.
318
+ */
319
+ type NotModuleInput = {
320
+ readonly [MODULE_INPUT]?: ModuleInputIsNotAValue;
321
+ };
303
322
  //#endregion
304
323
  //#region src/node.d.ts
305
324
  declare const NODE: unique symbol;
@@ -352,32 +371,18 @@ declare function paramSource<P, T = unknown>(payload: P, options?: ParamSourceOp
352
371
  declare function isParamSource(value: unknown): value is ParamSource;
353
372
  /** What `provision(service, { params })` accepts per declared param: a literal (schema-validated when config is built) or an opaque `ParamSource`, taking precedence over `param.default`. Every entry is optional — an unbound param falls back to its `default`. */
354
373
  type ParamBindings<P extends Params> = { readonly [K in keyof P]?: StandardSchemaV1.InferOutput<P[K]['schema']> | ParamSource | (StandardSchemaV1.InferOutput<P[K]['schema']> extends PlainData ? Value<StandardSchemaV1.InferOutput<P[K]['schema']>> : never); };
355
- /** What a value in a service's input binding may stand for: plain data, a `SecretString` at any depth (a forwarded secret field), a pointer (a forwarded wrapped field), and `undefined` (an optional field the binding left out). */
356
- type InputBindingData = string | number | boolean | null | undefined | SecretString | Pointer<unknown> | readonly InputBindingData[] | {
357
- readonly [key: string]: InputBindingData;
358
- };
359
374
  /**
360
- * What `provision(service, { input })` accepts (ADR-0042): a plain object
361
- * mirroring the service's input schema, whose leaves are literals,
362
- * `envParam(...)` sources, or `envSecret(...)` sources. Deliberately a
363
- * best-effort structural type: the framework never introspects a Standard
364
- * Schema, so the binding's exact shape cannot be derived from it — deploy-time
365
- * validation of the resolved binding is the real check.
375
+ * What `provision(node, { input })` accepts, for a module or a service, where
376
+ * the node's input schema expects `T` (its Standard Schema input type): the
377
+ * data, a value standing for it, or, for a `SecretString` field, a secret
378
+ * source. A `SecretString` or a `Pointer` is never written as a literal. An
379
+ * optional key also takes a value that may stand for `undefined`.
366
380
  */
367
- type InputBinding = string | number | boolean | null | ParamSource | SecretSource | Value<InputBindingData> | readonly InputBinding[] | {
368
- readonly [key: string]: InputBinding;
369
- };
370
- /**
371
- * What `provision(module, { input })` accepts where the module's input schema
372
- * expects `T` (its Standard Schema input type): the data, a value standing for
373
- * it, or, for a `SecretString` field, a secret source. An optional key also
374
- * takes a value that may stand for `undefined`.
375
- */
376
- type ModuleInputBinding<T> = Value<T> | (T extends SecretString ? SecretSource : T extends readonly (infer E)[] ? T | readonly ModuleInputBinding<E>[] : T extends {
381
+ type InputBinding<T> = Value<T> | (T extends Pointer<unknown> ? never : T extends SecretString ? SecretSource : T extends readonly (infer E)[] ? readonly InputBinding<E>[] : T extends {
377
382
  readonly [key: string]: unknown;
378
- } ? { readonly [K in keyof T]: ModuleInputBinding<T[K]> | (Record<never, never> extends Pick<T, K> ? Value<T[K] | undefined> : never); } : T);
379
- /** A module input schema's Standard Schema input type. */
380
- type ModuleInputOf<I extends StandardSchemaV1 | undefined> = StandardSchemaV1.InferInput<NonNullable<I>>;
383
+ } ? { readonly [K in keyof T]: InputBinding<T[K]> | (Record<never, never> extends Pick<T, K> ? Value<T[K] | undefined> : never); } & NotModuleInput : T);
384
+ /** What `provision()` accepts as the `input` of a node whose input schema is `I`. */
385
+ type InputBindingOf<I extends StandardSchemaV1 | undefined> = InputBinding<StandardSchemaV1.InferInput<NonNullable<I>>>;
381
386
  /**
382
387
  * `T` with every pointer removed, at any depth: what a service reads at boot,
383
388
  * when each pointer has been replaced by the text of the variable it names.
@@ -426,10 +431,10 @@ interface ResourceNode<C extends AnyContract | undefined = AnyContract, D extend
426
431
  /** A resource's configuration: plain data and values, nested in objects and arrays. */
427
432
  type ResourceProps = {
428
433
  readonly [key: string]: ResourcePropsMember;
429
- };
430
- type ResourcePropsMember = string | number | boolean | null | Value<PlainData> | readonly ResourcePropsMember[] | {
434
+ } & NotModuleInput;
435
+ type ResourcePropsMember = string | number | boolean | null | Value<PlainData> | readonly ResourcePropsMember[] | ({
431
436
  readonly [key: string]: ResourcePropsMember;
432
- };
437
+ } & NotModuleInput);
433
438
  /**
434
439
  * A Service: inputs + its own declared params + how it is built. Inspectable,
435
440
  * inert until run, and carries NO runtime behavior — an extension's factory
@@ -498,7 +503,7 @@ interface ModuleNode<D extends Deps = Deps, E extends Expose = Expose, I extends
498
503
  interface ModuleContext<D extends Deps, I extends StandardSchemaV1 | undefined = StandardSchemaV1 | undefined> {
499
504
  /** The module's declared dependencies as wiring values — pass them into provision(). */
500
505
  readonly deps: { [K in keyof D]: InputRef<D[K]>; };
501
- /** The module's input: one value per field, typed from its input schema's output (ADR-0061); `undefined` when it declares none. A root's input is the config pool, validated by its schema; a root passes on its fields one by one, never its whole input. Pass a field into a provision() binding or list it as a resolve() dependency. */
506
+ /** The module's input: a dictionary with one value per field, typed from its input schema's output (ADR-0061); `undefined` when it declares none. It is not itself a value: pass its fields on by name, into a provision() binding or, for a plain field, as a resolve() dependency. A root's input is the config pool, validated by its schema. */
502
507
  readonly input: I extends StandardSchemaV1 ? ModuleInput<I> : undefined;
503
508
  /** The deploy-time facts of the environment, each a value (ADR-0062). List `environment.name` as a `resolve()` dependency. Never environment variables: user code never reads those. */
504
509
  readonly environment: EnvironmentFacts;
@@ -551,7 +556,7 @@ type ServiceProvisionArgs<D extends Deps, I extends StandardSchemaV1 | undefined
551
556
  params?: PB;
552
557
  }] : [opts: {
553
558
  id?: string;
554
- input: InputBinding;
559
+ input: InputBindingOf<I>;
555
560
  params?: PB;
556
561
  }] : I extends undefined ? [opts: {
557
562
  id?: string;
@@ -560,7 +565,7 @@ type ServiceProvisionArgs<D extends Deps, I extends StandardSchemaV1 | undefined
560
565
  }] : [opts: {
561
566
  id?: string;
562
567
  deps: DepBindings<D>;
563
- input: InputBinding;
568
+ input: InputBindingOf<I>;
564
569
  params?: PB;
565
570
  }];
566
571
  /**
@@ -571,11 +576,15 @@ type ModuleProvisionOptions<D extends Deps, I extends StandardSchemaV1 | undefin
571
576
  id?: string;
572
577
  } & ([keyof D] extends [never] ? unknown : {
573
578
  deps: DepBindings<D>;
574
- }) & ([I] extends [StandardSchemaV1] ? {
575
- input: ModuleInputBinding<ModuleInputOf<I>>;
579
+ }) & (I extends StandardSchemaV1 ? {
580
+ input: InputBindingOf<I>;
576
581
  } : unknown);
577
582
  /** The options are optional exactly when nothing is required. */
578
- type ModuleProvisionArgs<D extends Deps, I extends StandardSchemaV1 | undefined> = [keyof D] extends [never] ? [I] extends [StandardSchemaV1] ? [opts: ModuleProvisionOptions<D, I>] : [opts?: ModuleProvisionOptions<D, I>] : [opts: ModuleProvisionOptions<D, I>];
583
+ type ModuleProvisionArgs<D extends Deps, I extends StandardSchemaV1 | undefined> = I extends StandardSchemaV1 ? [opts: ModuleProvisionOptions<D, I>] : [keyof D] extends [never] ? [opts?: ModuleProvisionOptions<D, I>] : [opts: ModuleProvisionOptions<D, I>];
584
+ /** The options `provision()` takes after a service or module node `N`. */
585
+ type ProvisionArgs<N> = N extends ServiceNode<infer D, infer P, Expose, infer I> ? ServiceProvisionArgs<D, I, ParamBindings<P>> : N extends ModuleNode<infer D, Expose, infer I> ? ModuleProvisionArgs<D, I> : never;
586
+ /** The contracts a service or module node `N` exposes. */
587
+ type ExposeOf<N> = N extends ServiceNode<Deps, Params, infer E, StandardSchemaV1 | undefined> ? E : N extends ModuleNode<Deps, infer E, StandardSchemaV1 | undefined> ? E : never;
579
588
  interface ModuleBuilder {
580
589
  /** Provisions an owned resource; its id defaults to the node's `name`. */
581
590
  provision<C extends AnyContract | undefined>(resource: ResourceNode<C>, opts?: {
@@ -585,26 +594,44 @@ interface ModuleBuilder {
585
594
  } & (C extends AnyContract ? RefPort<C> : Record<never, never>);
586
595
  /** Registers an owned service; its id defaults to the node's `name`; `deps`/`input` are required iff it declares them; a reserved param may be bound (literal or `ParamSource`), overriding its default. */
587
596
  provision<D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, ...args: ServiceProvisionArgs<D, I, ParamBindings<P>>): ProvisionedRef<E>;
597
+ /** Registers an owned child module; its id defaults to the node's `name`; `deps` and `input` are required iff it declares them. */
598
+ provision<D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, ...args: ModuleProvisionArgs<D, I>): ProvisionedRef<E>;
588
599
  /**
589
- * The service call with `deps`/`input` spelled out. `ServiceProvisionArgs`
590
- * above cannot resolve while `D`/`I` are still unbound type parameters — a
600
+ * The service call with `deps` written out. `ServiceProvisionArgs` above
601
+ * cannot resolve while `D` or `I` is still an unbound type parameter — a
591
602
  * generic wrapper like `cron()` provisioning a caller-supplied service — so
592
- * that call site resolves to this concrete overload instead.
603
+ * that call site resolves to this overload, or to the next one for a
604
+ * service without an input schema.
593
605
  */
594
606
  provision<D extends Deps, P extends Params, E extends Expose, I extends StandardSchemaV1 | undefined>(service: ServiceNode<D, P, E, I>, opts: {
595
607
  id?: string;
596
608
  deps: DepBindings<D>;
597
- input?: InputBinding;
609
+ input: InputBindingOf<I>;
598
610
  params?: ParamBindings<P>;
599
611
  }): ProvisionedRef<E>;
600
- /** Registers an owned child module; its id defaults to the node's `name`; `deps` and `input` are required iff it declares them. */
601
- provision<D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, ...args: ModuleProvisionArgs<D, I>): ProvisionedRef<E>;
602
- /** The child-module call with `deps` spelled out — the same generic-wrapper escape as the service overload above. */
612
+ provision<D extends Deps, P extends Params, E extends Expose>(service: ServiceNode<D, P, E, undefined>, opts: {
613
+ id?: string;
614
+ deps: DepBindings<D>;
615
+ input?: never;
616
+ params?: ParamBindings<P>;
617
+ }): ProvisionedRef<E>;
618
+ /** The child-module call with `deps` written out — the same generic-wrapper escape as the two service overloads above. */
603
619
  provision<D extends Deps, E extends Expose, I extends StandardSchemaV1 | undefined>(child: ModuleNode<D, E, I>, opts: {
604
620
  id?: string;
605
621
  deps: DepBindings<D>;
606
- input?: ModuleInputBinding<ModuleInputOf<I>>;
622
+ input: InputBindingOf<I>;
607
623
  }): ProvisionedRef<E>;
624
+ provision<D extends Deps, E extends Expose>(child: ModuleNode<D, E, undefined>, opts: {
625
+ id?: string;
626
+ deps: DepBindings<D>;
627
+ input?: never;
628
+ }): ProvisionedRef<E>;
629
+ /**
630
+ * Any service or child module. Declared last, so a call no overload accepts
631
+ * reports this overload's error, which names the binding key that does not
632
+ * fit, or says a module's whole input is not a value.
633
+ */
634
+ provision<N extends ServiceNode | ModuleNode>(node: N, ...args: ProvisionArgs<N>): ProvisionedRef<ExposeOf<N>>;
608
635
  }
609
636
  /** Dependency map: name → the slot the service declares. Only declarations are admitted, never a concrete ResourceNode. */
610
637
  type Deps = Record<string, DependencyEnd<any, any>>;
@@ -778,16 +805,14 @@ interface Edge {
778
805
  readonly kind: 'input' | 'dependency';
779
806
  }
780
807
  /**
781
- * A service's provision-time input binding (ADR-0042): the plain object a
782
- * `provision(service, { input })` call supplied, recorded at that service's
783
- * address. Core never walks it beyond usage tracking; the deploy target's
784
- * recursive descent classifies its leaves (literals, `envParam`, `envSecret`).
808
+ * The binding a `provision()` call supplied as a service's input (ADR-0042),
809
+ * recorded at the service's address. The deploy target resolves its leaves.
785
810
  */
786
- interface ServiceInputBinding {
811
+ interface InputBindingUse {
787
812
  /** The graph address of the service that declares the input schema. */
788
813
  readonly serviceAddress: NodeId;
789
814
  /** The binding object supplied at provision. */
790
- readonly binding: InputBinding;
815
+ readonly binding: unknown;
791
816
  }
792
817
  /**
793
818
  * A resolved param binding: a `provision()` call bound a service's param
@@ -824,7 +849,7 @@ interface Graph {
824
849
  /** The authored (pre-dereference) edges between boundary ports, in declaration order. */
825
850
  readonly authoredEdges: readonly AuthoredEdge[];
826
851
  /** Every service input binding a `provision()` call supplied (ADR-0042). */
827
- readonly inputBindings: readonly ServiceInputBinding[];
852
+ readonly inputBindings: readonly InputBindingUse[];
828
853
  /** Every service param bound at provision — literal or source; unbound params are absent here and fall back to their `default` (see `buildConfig`). */
829
854
  readonly params: readonly ParamBinding[];
830
855
  /** Every secret source a binding names, once each, in the order Load met them (ADR-0029). */
@@ -842,5 +867,5 @@ declare class LoadError extends CliStructuredError {
842
867
  });
843
868
  }
844
869
  //#endregion
845
- export { SecretSource as $, ModuleInputField as A, PlainData as B, InputValueOf as C, secretSource as Ct, ModuleContext as D, string as Dt, ModuleBuilder as E, slotsOf as Et, ParamBinding as F, RealValuesOf as G, ProvisionNeed as H, ParamBindings as I, ResourceNodeBase as J, RefPort as K, ParamSource as L, ModuleOutputs as M, NODE as N, ModuleInput as O, CliStructuredError as Ot, NodeId as P, RuntimeValue as Q, ParamSourceOptions as R, InputRef as S, resource as St, LoadOptions as T, service as Tt, ProvisionedRef as U, PortEndpoint as V, RESOURCE_OUT_PORT as W, ResourcePropsMember as X, ResourceProps as Y, RunnableServiceNode as Z, GraphNode as _, param as _t, ConfigDeclaration as a, Values as at, InputBinding as b, provisionNeed as bt, Contract as c, freezeNode as ct, DependencyEnd as d, isParamSource as dt, SecretSourceUse as et, Deps as f, isProvisionNeed as ft, Graph as g, number as gt, Expose as h, module as ht, Config as i, Value as it, ModuleNode as j, ModuleInputBinding as k, ContractStyle as l, inputManifest as lt, EnvironmentFacts as m, isValue as mt, BoundaryPort as n, ServiceNode as nt, ConfigParam as o, configOf as ot, Edge as p, isSecretSource as pt, ResourceNode as q, BuildAdapter as r, SourceOptions as rt, Connection as s, dependency as st, AuthoredEdge as t, ServiceInputBinding as tt, DepBindings as u, isNode as ut, Hydrated as v, paramManifest as vt, LoadError as w, secretSourceManifest as wt, InputBindingData as x, resolve as xt, HydratedDeps as y, paramSource as yt, Params as z };
846
- //# sourceMappingURL=graph-types-R38xjBnN-cDTIX_rZ.d.mts.map
870
+ export { SecretSource as $, ModuleInputField as A, PlainData as B, InputRef as C, secretSourceManifest as Ct, ModuleBuilder as D, CliStructuredError as Dt, LoadOptions as E, string as Et, ParamBinding as F, RealValuesOf as G, ProvisionNeed as H, ParamBindings as I, ResourceNodeBase as J, RefPort as K, ParamSource as L, ModuleOutputs as M, NODE as N, ModuleContext as O, NodeId as P, RuntimeValue as Q, ParamSourceOptions as R, InputBindingUse as S, secretSource as St, LoadError as T, slotsOf as Tt, ProvisionedRef as U, PortEndpoint as V, RESOURCE_OUT_PORT as W, ResourcePropsMember as X, ResourceProps as Y, RunnableServiceNode as Z, GraphNode as _, paramManifest as _t, ConfigDeclaration as a, configOf as at, InputBinding as b, resolve as bt, Contract as c, inputManifest as ct, DependencyEnd as d, isProvisionNeed as dt, SecretSourceUse as et, Deps as f, isSecretSource as ft, Graph as g, param as gt, Expose as h, number as ht, Config as i, Values as it, ModuleNode as j, ModuleInput as k, ContractStyle as l, isNode as lt, EnvironmentFacts as m, module as mt, BoundaryPort as n, SourceOptions as nt, ConfigParam as o, dependency as ot, Edge as p, isValue as pt, ResourceNode as q, BuildAdapter as r, Value as rt, Connection as s, freezeNode as st, AuthoredEdge as t, ServiceNode as tt, DepBindings as u, isParamSource as ut, Hydrated as v, paramSource as vt, InputValueOf as w, service as wt, InputBindingOf as x, resource as xt, HydratedDeps as y, provisionNeed as yt, Params as z };
871
+ //# sourceMappingURL=graph-types-CViux_yr-CVV2nQ0l.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-types-CViux_yr-CVV2nQ0l.d.mts","names":[],"sources":["../../../0-framework/0-foundation/foundation/dist/errors.d.mts","../../../0-framework/1-core/core/dist/graph-types-CViux_yr.d.mts"],"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;;;;;;;;;;;;;;UCpF5B,SAAS,qBAAqB;WAC7B,MAAM;WACN,OAAO;;WAEP,QAAQ;EACjB,UAAU,UAAU,SAAS;;;KAG1B;;;;;;;;;;;UAWK,YAAY,UAAU,mBAAmB;WACxC,QAAQ;WACR;WACA,UAAU,iBAAiB,YAAY;;;;;;;WAOvC,YAAY;;KAElB,SAAS,eAAe;;KAExB,OAAO,UAAU,sBAAsB,WAAW,IAAI,EAAE,gDAAgD,EAAE,gBAAgB,iBAAiB,YAAY,EAAE,4BAA4B,iBAAiB,YAAY,EAAE,gBAAgB,iBAAiB,YAAY,EAAE;;;;;;;UAO9P,WAAW,UAAU,SAAS,QAAQ;WACrC,QAAQ;EACjB,QAAQ,QAAQ,OAAO,KAAK,IAAI,QAAQ;;;;;;;;;;UAUhC;WACC;aACE;;WAEF;WACA,QAAQ,SAAS;WACjB;WACA;;;;;;;;;;UAUD;WACC,SAAS,SAAS;WAClB,QAAQ,SAAS,eAAe,SAAS;;;;;;;;;;;iBAWnC,SAAS,MAAM,uBAAuB;;;;;;;;iBAQtC,cAAc,OAAO,iBAAiB;;;;;;;;;iBAStC,cAAc,OAAO,iBAAiB;;;;;;iBAMtC,qBAAqB,OAAO,iBAAiB;UACpD,aAAa;WACZ;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wBAAwB;;WAExB,wBAAwB;;WAExB,iBAAiB;;WAEjB,wBAAwB;;;;;;;;cAQrB,kBAAkB;EAC9B,YAAY,iBAAiB;aAClB"}
package/dist/http.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { c as Contract, d as DependencyEnd } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
2
- import "./index-BHdm4Q39.mjs";
1
+ import { c as Contract, d as DependencyEnd } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
+ import "./index-BNYl6MsF.mjs";
3
3
  //#region ../../0-framework/2-authoring/http/dist/index.d.mts
4
4
  //#region src/raw-http.d.ts
5
5
  /** What a `rawHttp()` dependency hydrates to: the provider's URL and a fetch that resolves `path` against it, refuses any path that leaves the provider's origin, and returns redirects instead of following them unless `init.redirect` says otherwise. */
package/dist/http.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { o as dependency } from "./graph-gE31_ToO-BouKBfIS.mjs";
2
- import { l as string } from "./dist-0Iux8Khv.mjs";
1
+ import { o as dependency } from "./graph-nazLWyK2-BBciBJje.mjs";
2
+ import { l as string } from "./dist-DLOn1x6Z.mjs";
3
3
  //#region ../../0-framework/2-authoring/http/dist/index.mjs
4
4
  /**
5
5
  * A port that answers HTTP. It promises nothing about routes, methods or
@@ -1,5 +1,5 @@
1
- import { f as Deps, i as Config, nt as ServiceNode, y as HydratedDeps } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
2
- import "./graph-CN8VuVZN-Ck2y98XZ.mjs";
1
+ import { f as Deps, i as Config, tt as ServiceNode, y as HydratedDeps } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
+ import "./graph-B_szUZs6--jpigkBW.mjs";
3
3
  //#region ../../0-framework/1-core/core/dist/index.d.mts
4
4
  //#region src/hydrate.d.ts
5
5
  /**
@@ -19,4 +19,4 @@ declare function hydrate(root: ServiceNode, config: Config): Promise<HydratedDep
19
19
  declare function hydrateSync(root: ServiceNode, config: Config): HydratedDeps<Deps>;
20
20
  //#endregion
21
21
  export { hydrateSync as n, hydrate as t };
22
- //# sourceMappingURL=index-BHdm4Q39.d.mts.map
22
+ //# sourceMappingURL=index-BNYl6MsF.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BHdm4Q39.d.mts","names":[],"sources":["../../../0-framework/1-core/core/dist/index.d.mts"],"mappings":";;;;;;;;;;;iBAYiB,QAAQ,MAAM,aAAa,QAAQ,SAAS,QAAQ,aAAa;;;;;;;iBAOjE,YAAY,MAAM,aAAa,QAAQ,SAAS,aAAa"}
1
+ {"version":3,"file":"index-BNYl6MsF.d.mts","names":[],"sources":["../../../0-framework/1-core/core/dist/index.d.mts"],"mappings":";;;;;;;;;;;iBAYiB,QAAQ,MAAM,aAAa,QAAQ,SAAS,QAAQ,aAAa;;;;;;;iBAOjE,YAAY,MAAM,aAAa,QAAQ,SAAS,aAAa"}
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as SecretString, i as SecretBox, n as isPlainPointer, o as isSecretString, r as isSecretPointer, t as Pointer } from "./pointer-CyQZZugO-D7k3vibs.mjs";
2
- import { $ as SecretSource, A as ModuleInputField, B as PlainData, C as InputValueOf, Ct as secretSource, D as ModuleContext, Dt as string, E as ModuleBuilder, Et as slotsOf, F as ParamBinding, G as RealValuesOf, H as ProvisionNeed, I as ParamBindings, J as ResourceNodeBase, K as RefPort, L as ParamSource, M as ModuleOutputs, N as NODE, O as ModuleInput, P as NodeId, Q as RuntimeValue, R as ParamSourceOptions, S as InputRef, St as resource, T as LoadOptions, Tt as service, U as ProvisionedRef, V as PortEndpoint, W as RESOURCE_OUT_PORT, X as ResourcePropsMember, Y as ResourceProps, Z as RunnableServiceNode, _ as GraphNode, _t as param, a as ConfigDeclaration, at as Values, b as InputBinding, bt as provisionNeed, c as Contract, ct as freezeNode, d as DependencyEnd, dt as isParamSource, et as SecretSourceUse, f as Deps, ft as isProvisionNeed, g as Graph, gt as number, h as Expose, ht as module, i as Config, it as Value, j as ModuleNode, k as ModuleInputBinding, l as ContractStyle, lt as inputManifest, m as EnvironmentFacts, mt as isValue, n as BoundaryPort, nt as ServiceNode, o as ConfigParam, ot as configOf, p as Edge, pt as isSecretSource, q as ResourceNode, r as BuildAdapter, rt as SourceOptions, s as Connection, st as dependency, t as AuthoredEdge, tt as ServiceInputBinding, u as DepBindings, ut as isNode, v as Hydrated, vt as paramManifest, w as LoadError, wt as secretSourceManifest, x as InputBindingData, xt as resolve, y as HydratedDeps, yt as paramSource, z as Params } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
3
- import { n as assertAppName, t as Load } from "./graph-CN8VuVZN-Ck2y98XZ.mjs";
4
- import { n as hydrateSync, t as hydrate } from "./index-BHdm4Q39.mjs";
5
- export { type AuthoredEdge, type BoundaryPort, type BuildAdapter, type Config, type ConfigDeclaration, type ConfigParam, type Connection, type Contract, type ContractStyle, type DepBindings, type DependencyEnd, type Deps, type Edge, type EnvironmentFacts, type Expose, type Graph, type GraphNode, type Hydrated, type HydratedDeps, type InputBinding, type InputBindingData, type InputRef, type InputValueOf, Load, LoadError, type LoadOptions, type ModuleBuilder, type ModuleContext, type ModuleInput, type ModuleInputBinding, type ModuleInputField, type ModuleNode, type ModuleOutputs, type NODE, type NodeId, type ParamBinding, type ParamBindings, type ParamSource, type ParamSourceOptions, type Params, type PlainData, type Pointer, type PortEndpoint, type ProvisionNeed, type ProvisionedRef, RESOURCE_OUT_PORT, type RealValuesOf, type RefPort, type ResourceNode, ResourceNodeBase, type ResourceProps, type ResourcePropsMember, type RunnableServiceNode, type RuntimeValue, SecretBox, type SecretSource, type SecretSourceUse, type SecretString, type ServiceInputBinding, type ServiceNode, type SourceOptions, type Value, type Values, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, module, number, param, paramManifest, paramSource, provisionNeed, resolve, resource, secretSource, secretSourceManifest, service, slotsOf, string };
2
+ import { $ as SecretSource, A as ModuleInputField, B as PlainData, C as InputRef, Ct as secretSourceManifest, D as ModuleBuilder, E as LoadOptions, Et as string, F as ParamBinding, G as RealValuesOf, H as ProvisionNeed, I as ParamBindings, J as ResourceNodeBase, K as RefPort, L as ParamSource, M as ModuleOutputs, N as NODE, O as ModuleContext, P as NodeId, Q as RuntimeValue, R as ParamSourceOptions, S as InputBindingUse, St as secretSource, T as LoadError, Tt as slotsOf, U as ProvisionedRef, V as PortEndpoint, W as RESOURCE_OUT_PORT, X as ResourcePropsMember, Y as ResourceProps, Z as RunnableServiceNode, _ as GraphNode, _t as paramManifest, a as ConfigDeclaration, at as configOf, b as InputBinding, bt as resolve, c as Contract, ct as inputManifest, d as DependencyEnd, dt as isProvisionNeed, et as SecretSourceUse, f as Deps, ft as isSecretSource, g as Graph, gt as param, h as Expose, ht as number, i as Config, it as Values, j as ModuleNode, k as ModuleInput, l as ContractStyle, lt as isNode, m as EnvironmentFacts, mt as module, n as BoundaryPort, nt as SourceOptions, o as ConfigParam, ot as dependency, p as Edge, pt as isValue, q as ResourceNode, r as BuildAdapter, rt as Value, s as Connection, st as freezeNode, t as AuthoredEdge, tt as ServiceNode, u as DepBindings, ut as isParamSource, v as Hydrated, vt as paramSource, w as InputValueOf, wt as service, x as InputBindingOf, xt as resource, y as HydratedDeps, yt as provisionNeed, z as Params } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
3
+ import { n as assertAppName, t as Load } from "./graph-B_szUZs6--jpigkBW.mjs";
4
+ import { n as hydrateSync, t as hydrate } from "./index-BNYl6MsF.mjs";
5
+ export { type AuthoredEdge, type BoundaryPort, type BuildAdapter, type Config, type ConfigDeclaration, type ConfigParam, type Connection, type Contract, type ContractStyle, type DepBindings, type DependencyEnd, type Deps, type Edge, type EnvironmentFacts, type Expose, type Graph, type GraphNode, type Hydrated, type HydratedDeps, type InputBinding, type InputBindingOf, type InputBindingUse, type InputRef, type InputValueOf, Load, LoadError, type LoadOptions, type ModuleBuilder, type ModuleContext, type ModuleInput, type ModuleInputField, type ModuleNode, type ModuleOutputs, type NODE, type NodeId, type ParamBinding, type ParamBindings, type ParamSource, type ParamSourceOptions, type Params, type PlainData, type Pointer, type PortEndpoint, type ProvisionNeed, type ProvisionedRef, RESOURCE_OUT_PORT, type RealValuesOf, type RefPort, type ResourceNode, ResourceNodeBase, type ResourceProps, type ResourcePropsMember, type RunnableServiceNode, type RuntimeValue, SecretBox, type SecretSource, type SecretSourceUse, type SecretString, type ServiceNode, type SourceOptions, type Value, type Values, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, module, number, param, paramManifest, paramSource, provisionNeed, resolve, resource, secretSource, secretSourceManifest, service, slotsOf, string };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as isSecretPointer, i as isPlainPointer, n as isSecretString, t as SecretBox } from "./secret-DoWGmN7m-CI5Yrldp.mjs";
2
- import { _ as resource, a as assertAppName, b as slotsOf, c as isNode, d as isSecretSource, f as isValue, g as resolve, h as provisionNeed, i as ResourceNodeBase, l as isParamSource, m as paramSource, n as LoadError, o as dependency, p as module, r as RESOURCE_OUT_PORT, s as freezeNode, t as Load, u as isProvisionNeed, v as secretSource, y as service } from "./graph-gE31_ToO-BouKBfIS.mjs";
3
- import { a as number, c as secretSourceManifest, i as inputManifest, l as string, n as hydrate, o as param, r as hydrateSync, s as paramManifest, t as configOf } from "./dist-0Iux8Khv.mjs";
2
+ import { _ as resource, a as assertAppName, b as slotsOf, c as isNode, d as isSecretSource, f as isValue, g as resolve, h as provisionNeed, i as ResourceNodeBase, l as isParamSource, m as paramSource, n as LoadError, o as dependency, p as module, r as RESOURCE_OUT_PORT, s as freezeNode, t as Load, u as isProvisionNeed, v as secretSource, y as service } from "./graph-nazLWyK2-BBciBJje.mjs";
3
+ import { a as number, c as secretSourceManifest, i as inputManifest, l as string, n as hydrate, o as param, r as hydrateSync, s as paramManifest, t as configOf } from "./dist-DLOn1x6Z.mjs";
4
4
  export { Load, LoadError, RESOURCE_OUT_PORT, ResourceNodeBase, SecretBox, assertAppName, configOf, dependency, freezeNode, hydrate, hydrateSync, inputManifest, isNode, isParamSource, isPlainPointer, isProvisionNeed, isSecretPointer, isSecretSource, isSecretString, isValue, module, number, param, paramManifest, paramSource, provisionNeed, resolve, resource, secretSource, secretSourceManifest, service, slotsOf, string };
@@ -1,5 +1,5 @@
1
- import { H as PrismaAppConfig, X as SecretsPool, c as ConfigPool } from "./app-config-BvxeTt2h-CcVmwsq6.mjs";
2
- import "./config-Cn9vjklJ.mjs";
1
+ import { H as PrismaAppConfig, X as SecretsPool, c as ConfigPool } from "./app-config-RX-7kHbF-BroG2yMY.mjs";
2
+ import "./config-Dp3ZVNnN.mjs";
3
3
  //#region ../../0-framework/3-tooling/cli/dist/pools.d.mts
4
4
  //#region src/config-pools.d.ts
5
5
  /** Where a pool is read for. */
@@ -1,4 +1,4 @@
1
- import { A as LocalTargetProvidersInput, C as LocalNodeStopped, D as LocalTargetCurrentInput, E as LocalTargetCurrentApp, H as PrismaAppConfig, O as LocalTargetDescriptor, S as LocalNodeLocation, T as LocalTargetAttachment, h as DEV_ENVIRONMENT_NAME_FILE, k as LocalTargetEmulatorsInput, l as ConfigPools, m as DEV_DIR, p as ContainerInstance, st as devEnvironmentDir, t as AlchemyStateLayer, w as LocalTargetAttachInput, x as LocalNodeCondition } from "./app-config-BvxeTt2h-CcVmwsq6.mjs";
1
+ import { A as LocalTargetProvidersInput, C as LocalNodeStopped, D as LocalTargetCurrentInput, E as LocalTargetCurrentApp, H as PrismaAppConfig, O as LocalTargetDescriptor, S as LocalNodeLocation, T as LocalTargetAttachment, h as DEV_ENVIRONMENT_NAME_FILE, k as LocalTargetEmulatorsInput, l as ConfigPools, m as DEV_DIR, p as ContainerInstance, st as devEnvironmentDir, t as AlchemyStateLayer, w as LocalTargetAttachInput, x as LocalNodeCondition } from "./app-config-RX-7kHbF-BroG2yMY.mjs";
2
2
  import * as Layer from "effect/Layer";
3
3
  //#region ../../0-framework/1-core/core/dist/local-target.d.mts
4
4
  //#region src/control/local-target.d.ts
@@ -1,5 +1,5 @@
1
- import { r as BuildAdapter } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
2
- import "./index-BHdm4Q39.mjs";
1
+ import { r as BuildAdapter } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
+ import "./index-BNYl6MsF.mjs";
3
3
  //#region ../../0-framework/2-authoring/nextjs/dist/nextjs-DLyeRR7M.d.mts
4
4
  //#region src/nextjs.d.ts
5
5
  /** The nextjs build adapter's descriptor — `appDir` is this kind's own extra path input (the Next app root), beyond the shared `{ extension, type, module, entry }`. `entry` is a placeholder; the assembler locates `server.js` in the standalone tree. */
@@ -13,4 +13,4 @@ declare const nextjsBuild: (opts: {
13
13
  }) => NextjsBuildAdapter;
14
14
  //#endregion
15
15
  export { nextjsBuild as n, NextjsBuildAdapter as t };
16
- //# sourceMappingURL=nextjs-DLyeRR7M-CuGngjU4.d.mts.map
16
+ //# sourceMappingURL=nextjs-DLyeRR7M-C9O2M7Z4.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextjs-DLyeRR7M-CuGngjU4.d.mts","names":[],"sources":["../../../0-framework/2-authoring/nextjs/dist/nextjs-DLyeRR7M.d.mts"],"mappings":";;;;;UAGU,2BAA2B;WAC1B;WACA;;cAEG,cAAc;EAC1B;EACA;MACI"}
1
+ {"version":3,"file":"nextjs-DLyeRR7M-C9O2M7Z4.d.mts","names":[],"sources":["../../../0-framework/2-authoring/nextjs/dist/nextjs-DLyeRR7M.d.mts"],"mappings":";;;;;UAGU,2BAA2B;WAC1B;WACA;;cAEG,cAAc;EAC1B;EACA;MACI"}
@@ -1,7 +1,7 @@
1
- import { Z as ServeInput, a as Bundle, b as ExtensionDescriptor, i as AssembleInput, y as DevServer } from "./app-config-BvxeTt2h-CcVmwsq6.mjs";
2
- import "./config-Cn9vjklJ.mjs";
3
- import "./deploy-Cn9vjklJ.mjs";
4
- import { t as NextjsBuildAdapter } from "./nextjs-DLyeRR7M-CuGngjU4.mjs";
1
+ import { Z as ServeInput, a as Bundle, b as ExtensionDescriptor, i as AssembleInput, y as DevServer } from "./app-config-RX-7kHbF-BroG2yMY.mjs";
2
+ import "./config-Dp3ZVNnN.mjs";
3
+ import "./deploy-Dp3ZVNnN.mjs";
4
+ import { t as NextjsBuildAdapter } from "./nextjs-DLyeRR7M-C9O2M7Z4.mjs";
5
5
  //#region ../../0-framework/2-authoring/nextjs/dist/control.d.mts
6
6
  //#region src/control/build.d.ts
7
7
  /** The built standalone server.js for a nextjs build — `appDir`'s standalone root plus the app subpath Next recorded. Single-sourced so `assemble()` (deploy) and the integration-test seam can't drift. */
package/dist/nextjs.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as nextjsBuild, t as NextjsBuildAdapter } from "./nextjs-DLyeRR7M-CuGngjU4.mjs";
1
+ import { n as nextjsBuild, t as NextjsBuildAdapter } from "./nextjs-DLyeRR7M-C9O2M7Z4.mjs";
2
2
  export { type NextjsBuildAdapter, nextjsBuild as default };
@@ -1,6 +1,6 @@
1
- import { Z as ServeInput, a as Bundle, b as ExtensionDescriptor, i as AssembleInput, y as DevServer } from "./app-config-BvxeTt2h-CcVmwsq6.mjs";
2
- import "./config-Cn9vjklJ.mjs";
3
- import "./deploy-Cn9vjklJ.mjs";
1
+ import { Z as ServeInput, a as Bundle, b as ExtensionDescriptor, i as AssembleInput, y as DevServer } from "./app-config-RX-7kHbF-BroG2yMY.mjs";
2
+ import "./config-Dp3ZVNnN.mjs";
3
+ import "./deploy-Dp3ZVNnN.mjs";
4
4
  //#region ../../0-framework/2-authoring/node/dist/control.d.mts
5
5
  //#region src/control/build.d.ts
6
6
  declare function assemble(input: AssembleInput): Promise<Bundle>;
package/dist/node.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { r as BuildAdapter } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
2
- import "./index-BHdm4Q39.mjs";
1
+ import { r as BuildAdapter } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
+ import "./index-BNYl6MsF.mjs";
3
3
  //#region ../../0-framework/2-authoring/node/dist/index.d.mts
4
4
  //#region src/node.d.ts
5
5
  /** The node build adapter's descriptor. `dir` is the directory form's own extra path input (the built tree to copy verbatim), beyond the shared `{ extension, type, module, entry }`; absent, `entry` is the whole built runnable. */
package/dist/report.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { v as DeploymentResult } from "./app-config-BvxeTt2h-CcVmwsq6.mjs";
2
- import "./deploy-Cn9vjklJ.mjs";
3
- import { r as captureEngineFailure } from "./deployment-summary-Cm4lN6w9-Dc69sCgo.mjs";
1
+ import { v as DeploymentResult } from "./app-config-RX-7kHbF-BroG2yMY.mjs";
2
+ import "./deploy-Dp3ZVNnN.mjs";
3
+ import { r as captureEngineFailure } from "./deployment-summary-Cm4lN6w9-CGdGdlFC.mjs";
4
4
  //#region ../../0-framework/3-tooling/cli/dist/report.d.mts
5
5
  //#region src/render-deployment.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { H as ProvisionNeed, Z as RunnableServiceNode, c as Contract, d as DependencyEnd } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
2
- import "./index-BHdm4Q39.mjs";
1
+ import { H as ProvisionNeed, Z as RunnableServiceNode, c as Contract, d as DependencyEnd } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
+ import "./index-BNYl6MsF.mjs";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  //#region ../../0-framework/2-authoring/service-rpc/dist/index.d.mts
5
5
  //#region src/rpc.d.ts
@@ -1,6 +1,6 @@
1
1
  import { t as blindCast } from "./casts-DpaahrlC-C5XMnP9S.mjs";
2
- import { h as provisionNeed, o as dependency } from "./graph-gE31_ToO-BouKBfIS.mjs";
3
- import { l as string } from "./dist-0Iux8Khv.mjs";
2
+ import { h as provisionNeed, o as dependency } from "./graph-nazLWyK2-BBciBJje.mjs";
3
+ import { l as string } from "./dist-DLOn1x6Z.mjs";
4
4
  //#region ../../0-framework/2-authoring/service-rpc/dist/index.mjs
5
5
  /** Bounded jittered backoff for retrying a dropped call. `maxRetries` is retries after the first attempt. */
6
6
  const RETRY = {
@@ -1,4 +1,4 @@
1
- import { C as InputValueOf, Z as RunnableServiceNode, f as Deps, h as Expose, y as HydratedDeps, z as Params } from "./graph-types-R38xjBnN-cDTIX_rZ.mjs";
1
+ import { Z as RunnableServiceNode, f as Deps, h as Expose, w as InputValueOf, y as HydratedDeps, z as Params } from "./graph-types-CViux_yr-CVV2nQ0l.mjs";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  //#region ../../0-framework/1-core/core/dist/testing.d.mts
4
4
  //#region src/testing.d.ts
@@ -1,7 +1,7 @@
1
1
  import { t as blindCast } from "./casts-DpaahrlC-C5XMnP9S.mjs";
2
- import { a as assertAppName, c as isNode, t as Load } from "./graph-gE31_ToO-BouKBfIS.mjs";
2
+ import { a as assertAppName, c as isNode, t as Load } from "./graph-nazLWyK2-BBciBJje.mjs";
3
3
  import { t as CliStructuredError } from "./errors-0e8IVwzi.mjs";
4
- import "./dist-0Iux8Khv.mjs";
4
+ import "./dist-DLOn1x6Z.mjs";
5
5
  import { n as readSecretsPool, t as readConfigPool } from "./config-pools-DiYw7wMu-DzeWrJdm.mjs";
6
6
  import * as mod from "node:module";
7
7
  import * as fs$1 from "node:fs";
@@ -661,4 +661,4 @@ function validateEnvironmentName(environment, spawn = spawnSync) {
661
661
  //#endregion
662
662
  export { noComposerExportMessage as a, validateEnvironmentName as i, resolveAppIdentity as n, runPipeline as r, checkConfigSource as t };
663
663
 
664
- //# sourceMappingURL=validate-environment-BNZC6W46-B0ESzFBn.mjs.map
664
+ //# sourceMappingURL=validate-environment-BNZC6W46-CNGrBiHh.mjs.map