deepline 0.3.44 → 0.3.46

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +2 -3
  2. package/dist/bundling-sources/sdk/src/errors.ts +2 -2
  3. package/dist/bundling-sources/sdk/src/http.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/play.ts +7 -10
  5. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +3 -3
  6. package/dist/bundling-sources/sdk/src/release.ts +3 -3
  7. package/dist/bundling-sources/sdk/src/version.ts +2 -2
  8. package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +25 -0
  9. package/dist/bundling-sources/shared_libs/play-data-plane/index.ts +1 -0
  10. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +1 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +19 -19
  12. package/dist/bundling-sources/shared_libs/play-runtime/backend.ts +5 -6
  13. package/dist/bundling-sources/shared_libs/play-runtime/cell-staleness.ts +1 -66
  14. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +1551 -276
  15. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +14 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/dataset-id.ts +4 -3
  17. package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -4
  18. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +2 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/email-status.ts +1 -275
  20. package/dist/bundling-sources/shared_libs/play-runtime/execution-ledger-store.ts +1 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/extractor-targets.ts +1 -106
  22. package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +1 -2
  23. package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +13 -4
  24. package/dist/bundling-sources/shared_libs/play-runtime/live-events.ts +1 -5
  25. package/dist/bundling-sources/shared_libs/play-runtime/map-row-identity.ts +2 -3
  26. package/dist/bundling-sources/shared_libs/play-runtime/map-row-outcome.ts +2 -1
  27. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +1 -1
  28. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +1 -1
  29. package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +5 -5
  30. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -3
  31. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +1 -1
  32. package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +1 -1
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +4 -4
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +3 -3
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +8 -8
  36. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +11 -1
  37. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +26 -8
  38. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +7 -7
  39. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +23 -11
  40. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/bundle.ts +13 -2
  41. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/index.ts +2 -2
  42. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runner-events.ts +1 -1
  43. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +1 -1
  44. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +58 -2
  45. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +1 -1
  46. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +6 -3
  47. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +1 -1
  48. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constraints.ts +1 -2
  49. package/dist/bundling-sources/shared_libs/play-runtime/runtime-env.ts +55 -0
  50. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +418 -0
  51. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +452 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +304 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/testkit.ts +83 -0
  54. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runtime-limits.ts +1 -109
  55. package/dist/bundling-sources/shared_libs/play-runtime/step-program-dataset-builder.ts +1 -1
  56. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +1 -1
  57. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/always-fresh-adapter.ts +50 -0
  58. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/contract.ts +135 -0
  59. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/index.ts +291 -0
  60. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/native-batch.ts +335 -0
  61. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +904 -0
  62. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +522 -0
  63. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/testkit.ts +165 -0
  64. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +1 -1
  65. package/dist/bundling-sources/shared_libs/play-runtime/tool-execution-outcome.ts +6 -5
  66. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +1 -1
  67. package/dist/bundling-sources/shared_libs/play-runtime/tool-result-types.ts +1 -206
  68. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +10 -7
  69. package/dist/bundling-sources/shared_libs/play-runtime/work-receipts.ts +1 -1
  70. package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +8 -3
  71. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +4 -4
  72. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +3 -6
  73. package/dist/bundling-sources/shared_libs/plays/cell-staleness.ts +66 -0
  74. package/dist/bundling-sources/shared_libs/plays/compiler-manifest.ts +1 -1
  75. package/dist/bundling-sources/shared_libs/plays/contracts.ts +2 -2
  76. package/dist/bundling-sources/shared_libs/plays/core.ts +466 -0
  77. package/dist/bundling-sources/shared_libs/plays/email-status.ts +287 -0
  78. package/dist/bundling-sources/shared_libs/plays/extractor-targets.ts +106 -0
  79. package/dist/bundling-sources/shared_libs/plays/row-identity.ts +1 -3
  80. package/dist/bundling-sources/shared_libs/plays/runtime-constraints.ts +2 -0
  81. package/dist/bundling-sources/shared_libs/plays/runtime-validation.ts +4 -2
  82. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +109 -0
  83. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +624 -0
  84. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +206 -0
  85. package/dist/bundling-sources/shared_libs/security/safe-outbound-fetch.ts +1 -1
  86. package/dist/cli/index.js +174 -168
  87. package/dist/cli/index.mjs +182 -169
  88. package/dist/{compiler-manifest-DwYe2C2S.d.mts → compiler-manifest-BuoqasqI.d.mts} +585 -540
  89. package/dist/{compiler-manifest-DwYe2C2S.d.ts → compiler-manifest-BuoqasqI.d.ts} +585 -540
  90. package/dist/index.d.mts +9 -2
  91. package/dist/index.d.ts +9 -2
  92. package/dist/index.js +47 -40
  93. package/dist/index.mjs +47 -40
  94. package/dist/install-integrity.json +24 -3
  95. package/dist/plays/bundle-play-file.d.mts +4 -61
  96. package/dist/plays/bundle-play-file.d.ts +4 -61
  97. package/dist/plays/bundle-play-file.mjs +157 -155
  98. package/package.json +9 -6
  99. /package/dist/bundling-sources/shared_libs/{play-runtime → plays}/tool-response-contract.ts +0 -0
@@ -11,7 +11,7 @@ import { fileURLToPath } from "url";
11
11
  import { existsSync as existsSync2 } from "fs";
12
12
  import { realpath as realpath2 } from "fs/promises";
13
13
 
14
- // ../shared_libs/plays/bundling/index.ts
14
+ // ../plays/bundling/index.ts
15
15
  import { createHash } from "crypto";
16
16
  import { existsSync, readFileSync } from "fs";
17
17
  import { mkdir, readFile, realpath, stat, writeFile } from "fs/promises";
@@ -33,34 +33,12 @@ import {
33
33
  transformSync
34
34
  } from "esbuild";
35
35
 
36
- // ../shared_libs/play-runtime/backend.ts
37
- var PLAY_RUNTIME_BACKENDS = {
38
- localProcess: "local_process",
39
- daytona: "daytona",
40
- modal: "modal"
41
- };
36
+ // ../plays/artifact-types.ts
42
37
  var PLAY_ARTIFACT_KINDS = {
43
38
  cjsNode20: "cjs_node20"
44
39
  };
45
- var PLAY_BACKEND_DESCRIPTORS = {
46
- [PLAY_RUNTIME_BACKENDS.localProcess]: {
47
- id: PLAY_RUNTIME_BACKENDS.localProcess,
48
- artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
49
- label: "Local node subprocess"
50
- },
51
- [PLAY_RUNTIME_BACKENDS.daytona]: {
52
- id: PLAY_RUNTIME_BACKENDS.daytona,
53
- artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
54
- label: "Daytona sandbox"
55
- },
56
- [PLAY_RUNTIME_BACKENDS.modal]: {
57
- id: PLAY_RUNTIME_BACKENDS.modal,
58
- artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
59
- label: "Modal sandbox"
60
- }
61
- };
62
40
 
63
- // ../shared_libs/tool-execution-error.ts
41
+ // ../plays/tool-execution-error.ts
64
42
  var DEEPLINE_ERROR_BRAND = Symbol.for("deepline.error.v1");
65
43
  var TOOL_EXECUTION_ERROR_BRAND = Symbol.for(
66
44
  "deepline.tool-execution-error.v1"
@@ -70,10 +48,10 @@ var PROVIDER_TRANSIENT_ERROR_BRAND = Symbol.for(
70
48
  );
71
49
  var TOOL_EXECUTION_ERROR_SCHEMA_VERSION = 1;
72
50
 
73
- // ../shared_libs/plays/artifact-contract-version.ts
51
+ // ../plays/artifact-contract-version.ts
74
52
  var CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION = 2;
75
53
 
76
- // ../node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
54
+ // ../../node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
77
55
  var value_exports = {};
78
56
  __export(value_exports, {
79
57
  HasPropertyKey: () => HasPropertyKey,
@@ -142,7 +120,7 @@ function IsUndefined(value) {
142
120
  return value === void 0;
143
121
  }
144
122
 
145
- // ../node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
123
+ // ../../node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
146
124
  function ArrayType(value) {
147
125
  return value.map((value2) => Visit(value2));
148
126
  }
@@ -172,12 +150,12 @@ function Clone(value) {
172
150
  return Visit(value);
173
151
  }
174
152
 
175
- // ../node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
153
+ // ../../node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
176
154
  function CloneType(schema, options) {
177
155
  return options === void 0 ? Clone(schema) : Clone({ ...options, ...schema });
178
156
  }
179
157
 
180
- // ../node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
158
+ // ../../node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
181
159
  function IsObject2(value) {
182
160
  return value !== null && typeof value === "object";
183
161
  }
@@ -191,7 +169,7 @@ function IsNumber2(value) {
191
169
  return typeof value === "number";
192
170
  }
193
171
 
194
- // ../node_modules/@sinclair/typebox/build/esm/system/policy.mjs
172
+ // ../../node_modules/@sinclair/typebox/build/esm/system/policy.mjs
195
173
  var TypeSystemPolicy;
196
174
  (function(TypeSystemPolicy2) {
197
175
  TypeSystemPolicy2.InstanceMode = "default";
@@ -223,7 +201,7 @@ var TypeSystemPolicy;
223
201
  TypeSystemPolicy2.IsVoidLike = IsVoidLike;
224
202
  })(TypeSystemPolicy || (TypeSystemPolicy = {}));
225
203
 
226
- // ../node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
204
+ // ../../node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
227
205
  function ImmutableArray(value) {
228
206
  return globalThis.Object.freeze(value).map((value2) => Immutable(value2));
229
207
  }
@@ -250,7 +228,7 @@ function Immutable(value) {
250
228
  return IsArray(value) ? ImmutableArray(value) : IsDate(value) ? ImmutableDate(value) : IsUint8Array(value) ? ImmutableUint8Array(value) : IsRegExp(value) ? ImmutableRegExp(value) : IsObject(value) ? ImmutableObject(value) : value;
251
229
  }
252
230
 
253
- // ../node_modules/@sinclair/typebox/build/esm/type/create/type.mjs
231
+ // ../../node_modules/@sinclair/typebox/build/esm/type/create/type.mjs
254
232
  function CreateType(schema, options) {
255
233
  const result = options !== void 0 ? { ...options, ...schema } : schema;
256
234
  switch (TypeSystemPolicy.InstanceMode) {
@@ -263,21 +241,21 @@ function CreateType(schema, options) {
263
241
  }
264
242
  }
265
243
 
266
- // ../node_modules/@sinclair/typebox/build/esm/type/error/error.mjs
244
+ // ../../node_modules/@sinclair/typebox/build/esm/type/error/error.mjs
267
245
  var TypeBoxError = class extends Error {
268
246
  constructor(message) {
269
247
  super(message);
270
248
  }
271
249
  };
272
250
 
273
- // ../node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs
251
+ // ../../node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs
274
252
  var TransformKind = Symbol.for("TypeBox.Transform");
275
253
  var ReadonlyKind = Symbol.for("TypeBox.Readonly");
276
254
  var OptionalKind = Symbol.for("TypeBox.Optional");
277
255
  var Hint = Symbol.for("TypeBox.Hint");
278
256
  var Kind = Symbol.for("TypeBox.Kind");
279
257
 
280
- // ../node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs
258
+ // ../../node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs
281
259
  function IsReadonly(value) {
282
260
  return IsObject(value) && value[ReadonlyKind] === "Readonly";
283
261
  }
@@ -408,7 +386,7 @@ function IsSchema(value) {
408
386
  return IsAny(value) || IsArgument(value) || IsArray3(value) || IsBoolean2(value) || IsBigInt2(value) || IsAsyncIterator2(value) || IsComputed(value) || IsConstructor(value) || IsDate2(value) || IsFunction2(value) || IsInteger(value) || IsIntersect(value) || IsIterator2(value) || IsLiteral(value) || IsMappedKey(value) || IsMappedResult(value) || IsNever(value) || IsNot(value) || IsNull2(value) || IsNumber3(value) || IsObject3(value) || IsPromise(value) || IsRecord(value) || IsRef(value) || IsRegExp2(value) || IsString2(value) || IsSymbol2(value) || IsTemplateLiteral(value) || IsThis(value) || IsTuple(value) || IsUndefined3(value) || IsUnion(value) || IsUint8Array2(value) || IsUnknown(value) || IsUnsafe(value) || IsVoid(value) || IsKind(value);
409
387
  }
410
388
 
411
- // ../node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
389
+ // ../../node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
412
390
  var type_exports = {};
413
391
  __export(type_exports, {
414
392
  IsAny: () => IsAny2,
@@ -700,7 +678,7 @@ function IsSchema2(value) {
700
678
  return IsObject(value) && (IsAny2(value) || IsArgument2(value) || IsArray4(value) || IsBoolean3(value) || IsBigInt3(value) || IsAsyncIterator3(value) || IsComputed2(value) || IsConstructor2(value) || IsDate3(value) || IsFunction3(value) || IsInteger2(value) || IsIntersect2(value) || IsIterator3(value) || IsLiteral2(value) || IsMappedKey2(value) || IsMappedResult2(value) || IsNever2(value) || IsNot2(value) || IsNull3(value) || IsNumber4(value) || IsObject4(value) || IsPromise2(value) || IsRecord2(value) || IsRef2(value) || IsRegExp3(value) || IsString3(value) || IsSymbol3(value) || IsTemplateLiteral2(value) || IsThis2(value) || IsTuple2(value) || IsUndefined4(value) || IsUnion2(value) || IsUint8Array3(value) || IsUnknown2(value) || IsUnsafe2(value) || IsVoid2(value) || IsKind2(value));
701
679
  }
702
680
 
703
- // ../node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs
681
+ // ../../node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs
704
682
  var PatternBoolean = "(true|false)";
705
683
  var PatternNumber = "(0|[1-9][0-9]*)";
706
684
  var PatternString = "(.*)";
@@ -710,7 +688,7 @@ var PatternNumberExact = `^${PatternNumber}$`;
710
688
  var PatternStringExact = `^${PatternString}$`;
711
689
  var PatternNeverExact = `^${PatternNever}$`;
712
690
 
713
- // ../node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs
691
+ // ../../node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs
714
692
  function SetIncludes(T, S) {
715
693
  return T.includes(S);
716
694
  }
@@ -735,32 +713,32 @@ function SetUnionMany(T) {
735
713
  return Acc;
736
714
  }
737
715
 
738
- // ../node_modules/@sinclair/typebox/build/esm/type/any/any.mjs
716
+ // ../../node_modules/@sinclair/typebox/build/esm/type/any/any.mjs
739
717
  function Any(options) {
740
718
  return CreateType({ [Kind]: "Any" }, options);
741
719
  }
742
720
 
743
- // ../node_modules/@sinclair/typebox/build/esm/type/array/array.mjs
721
+ // ../../node_modules/@sinclair/typebox/build/esm/type/array/array.mjs
744
722
  function Array2(items, options) {
745
723
  return CreateType({ [Kind]: "Array", type: "array", items }, options);
746
724
  }
747
725
 
748
- // ../node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs
726
+ // ../../node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs
749
727
  function Argument(index) {
750
728
  return CreateType({ [Kind]: "Argument", index });
751
729
  }
752
730
 
753
- // ../node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs
731
+ // ../../node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs
754
732
  function AsyncIterator(items, options) {
755
733
  return CreateType({ [Kind]: "AsyncIterator", type: "AsyncIterator", items }, options);
756
734
  }
757
735
 
758
- // ../node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs
736
+ // ../../node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs
759
737
  function Computed(target, parameters, options) {
760
738
  return CreateType({ [Kind]: "Computed", target, parameters }, options);
761
739
  }
762
740
 
763
- // ../node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs
741
+ // ../../node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs
764
742
  function DiscardKey(value, key) {
765
743
  const { [key]: _, ...rest } = value;
766
744
  return rest;
@@ -769,12 +747,12 @@ function Discard(value, keys) {
769
747
  return keys.reduce((acc, key) => DiscardKey(acc, key), value);
770
748
  }
771
749
 
772
- // ../node_modules/@sinclair/typebox/build/esm/type/never/never.mjs
750
+ // ../../node_modules/@sinclair/typebox/build/esm/type/never/never.mjs
773
751
  function Never(options) {
774
752
  return CreateType({ [Kind]: "Never", not: {} }, options);
775
753
  }
776
754
 
777
- // ../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs
755
+ // ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs
778
756
  function MappedResult(properties) {
779
757
  return CreateType({
780
758
  [Kind]: "MappedResult",
@@ -782,22 +760,22 @@ function MappedResult(properties) {
782
760
  });
783
761
  }
784
762
 
785
- // ../node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs
763
+ // ../../node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs
786
764
  function Constructor(parameters, returns, options) {
787
765
  return CreateType({ [Kind]: "Constructor", type: "Constructor", parameters, returns }, options);
788
766
  }
789
767
 
790
- // ../node_modules/@sinclair/typebox/build/esm/type/function/function.mjs
768
+ // ../../node_modules/@sinclair/typebox/build/esm/type/function/function.mjs
791
769
  function Function2(parameters, returns, options) {
792
770
  return CreateType({ [Kind]: "Function", type: "Function", parameters, returns }, options);
793
771
  }
794
772
 
795
- // ../node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs
773
+ // ../../node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs
796
774
  function UnionCreate(T, options) {
797
775
  return CreateType({ [Kind]: "Union", anyOf: T }, options);
798
776
  }
799
777
 
800
- // ../node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs
778
+ // ../../node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs
801
779
  function IsUnionOptional(types) {
802
780
  return types.some((type) => IsOptional(type));
803
781
  }
@@ -815,12 +793,12 @@ function UnionEvaluated(T, options) {
815
793
  return T.length === 1 ? CreateType(T[0], options) : T.length === 0 ? Never(options) : ResolveUnion(T, options);
816
794
  }
817
795
 
818
- // ../node_modules/@sinclair/typebox/build/esm/type/union/union.mjs
796
+ // ../../node_modules/@sinclair/typebox/build/esm/type/union/union.mjs
819
797
  function Union(types, options) {
820
798
  return types.length === 0 ? Never(options) : types.length === 1 ? CreateType(types[0], options) : UnionCreate(types, options);
821
799
  }
822
800
 
823
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs
801
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs
824
802
  var TemplateLiteralParserError = class extends TypeBoxError {
825
803
  };
826
804
  function Unescape(pattern) {
@@ -944,7 +922,7 @@ function TemplateLiteralParseExact(pattern) {
944
922
  return TemplateLiteralParse(pattern.slice(1, pattern.length - 1));
945
923
  }
946
924
 
947
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs
925
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs
948
926
  var TemplateLiteralFiniteError = class extends TypeBoxError {
949
927
  };
950
928
  function IsNumberExpression(expression) {
@@ -966,7 +944,7 @@ function IsTemplateLiteralFinite(schema) {
966
944
  return IsTemplateLiteralExpressionFinite(expression);
967
945
  }
968
946
 
969
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs
947
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs
970
948
  var TemplateLiteralGenerateError = class extends TypeBoxError {
971
949
  };
972
950
  function* GenerateReduce(buffer) {
@@ -998,7 +976,7 @@ function TemplateLiteralGenerate(schema) {
998
976
  return IsTemplateLiteralExpressionFinite(expression) ? [...TemplateLiteralExpressionGenerate(expression)] : [];
999
977
  }
1000
978
 
1001
- // ../node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs
979
+ // ../../node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs
1002
980
  function Literal(value, options) {
1003
981
  return CreateType({
1004
982
  [Kind]: "Literal",
@@ -1007,27 +985,27 @@ function Literal(value, options) {
1007
985
  }, options);
1008
986
  }
1009
987
 
1010
- // ../node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs
988
+ // ../../node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs
1011
989
  function Boolean2(options) {
1012
990
  return CreateType({ [Kind]: "Boolean", type: "boolean" }, options);
1013
991
  }
1014
992
 
1015
- // ../node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs
993
+ // ../../node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs
1016
994
  function BigInt(options) {
1017
995
  return CreateType({ [Kind]: "BigInt", type: "bigint" }, options);
1018
996
  }
1019
997
 
1020
- // ../node_modules/@sinclair/typebox/build/esm/type/number/number.mjs
998
+ // ../../node_modules/@sinclair/typebox/build/esm/type/number/number.mjs
1021
999
  function Number2(options) {
1022
1000
  return CreateType({ [Kind]: "Number", type: "number" }, options);
1023
1001
  }
1024
1002
 
1025
- // ../node_modules/@sinclair/typebox/build/esm/type/string/string.mjs
1003
+ // ../../node_modules/@sinclair/typebox/build/esm/type/string/string.mjs
1026
1004
  function String2(options) {
1027
1005
  return CreateType({ [Kind]: "String", type: "string" }, options);
1028
1006
  }
1029
1007
 
1030
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs
1008
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs
1031
1009
  function* FromUnion(syntax) {
1032
1010
  const trim = syntax.trim().replace(/"|'/g, "");
1033
1011
  return trim === "boolean" ? yield Boolean2() : trim === "number" ? yield Number2() : trim === "bigint" ? yield BigInt() : trim === "string" ? yield String2() : yield (() => {
@@ -1064,7 +1042,7 @@ function TemplateLiteralSyntax(syntax) {
1064
1042
  return [...FromSyntax(syntax)];
1065
1043
  }
1066
1044
 
1067
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs
1045
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs
1068
1046
  var TemplateLiteralPatternError = class extends TypeBoxError {
1069
1047
  };
1070
1048
  function Escape(value) {
@@ -1079,20 +1057,20 @@ function TemplateLiteralPattern(kinds) {
1079
1057
  return `^${kinds.map((schema) => Visit2(schema, "")).join("")}$`;
1080
1058
  }
1081
1059
 
1082
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs
1060
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs
1083
1061
  function TemplateLiteralToUnion(schema) {
1084
1062
  const R = TemplateLiteralGenerate(schema);
1085
1063
  const L = R.map((S) => Literal(S));
1086
1064
  return UnionEvaluated(L);
1087
1065
  }
1088
1066
 
1089
- // ../node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs
1067
+ // ../../node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs
1090
1068
  function TemplateLiteral(unresolved, options) {
1091
1069
  const pattern = IsString(unresolved) ? TemplateLiteralPattern(TemplateLiteralSyntax(unresolved)) : TemplateLiteralPattern(unresolved);
1092
1070
  return CreateType({ [Kind]: "TemplateLiteral", type: "string", pattern }, options);
1093
1071
  }
1094
1072
 
1095
- // ../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs
1073
+ // ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs
1096
1074
  function FromTemplateLiteral(templateLiteral) {
1097
1075
  const keys = TemplateLiteralGenerate(templateLiteral);
1098
1076
  return keys.map((key) => key.toString());
@@ -1110,7 +1088,7 @@ function IndexPropertyKeys(type) {
1110
1088
  return [...new Set(IsTemplateLiteral(type) ? FromTemplateLiteral(type) : IsUnion(type) ? FromUnion2(type.anyOf) : IsLiteral(type) ? FromLiteral(type.const) : IsNumber3(type) ? ["[number]"] : IsInteger(type) ? ["[number]"] : [])];
1111
1089
  }
1112
1090
 
1113
- // ../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs
1091
+ // ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs
1114
1092
  function FromProperties(type, properties, options) {
1115
1093
  const result = {};
1116
1094
  for (const K2 of Object.getOwnPropertyNames(properties)) {
@@ -1126,7 +1104,7 @@ function IndexFromMappedResult(type, mappedResult, options) {
1126
1104
  return MappedResult(properties);
1127
1105
  }
1128
1106
 
1129
- // ../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs
1107
+ // ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs
1130
1108
  function FromRest(types, key) {
1131
1109
  return types.map((type) => IndexFromPropertyKey(type, key));
1132
1110
  }
@@ -1174,7 +1152,7 @@ function Index(type, key, options) {
1174
1152
  return CreateType(IsSchema(key) ? FromSchema(type, IndexPropertyKeys(key)) : FromSchema(type, key), options);
1175
1153
  }
1176
1154
 
1177
- // ../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs
1155
+ // ../../node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs
1178
1156
  function MappedIndexPropertyKey(type, key, options) {
1179
1157
  return { [key]: Index(type, [key], Clone(options)) };
1180
1158
  }
@@ -1191,12 +1169,12 @@ function IndexFromMappedKey(type, mappedKey, options) {
1191
1169
  return MappedResult(properties);
1192
1170
  }
1193
1171
 
1194
- // ../node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs
1172
+ // ../../node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs
1195
1173
  function Iterator(items, options) {
1196
1174
  return CreateType({ [Kind]: "Iterator", type: "Iterator", items }, options);
1197
1175
  }
1198
1176
 
1199
- // ../node_modules/@sinclair/typebox/build/esm/type/object/object.mjs
1177
+ // ../../node_modules/@sinclair/typebox/build/esm/type/object/object.mjs
1200
1178
  function RequiredArray(properties) {
1201
1179
  return globalThis.Object.keys(properties).filter((key) => !IsOptional(properties[key]));
1202
1180
  }
@@ -1207,12 +1185,12 @@ function _Object(properties, options) {
1207
1185
  }
1208
1186
  var Object2 = _Object;
1209
1187
 
1210
- // ../node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs
1188
+ // ../../node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs
1211
1189
  function Promise2(item, options) {
1212
1190
  return CreateType({ [Kind]: "Promise", type: "Promise", item }, options);
1213
1191
  }
1214
1192
 
1215
- // ../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs
1193
+ // ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs
1216
1194
  function RemoveReadonly(schema) {
1217
1195
  return CreateType(Discard(schema, [ReadonlyKind]));
1218
1196
  }
@@ -1227,7 +1205,7 @@ function Readonly(schema, enable) {
1227
1205
  return IsMappedResult(schema) ? ReadonlyFromMappedResult(schema, F) : ReadonlyWithFlag(schema, F);
1228
1206
  }
1229
1207
 
1230
- // ../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs
1208
+ // ../../node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs
1231
1209
  function FromProperties2(K, F) {
1232
1210
  const Acc = {};
1233
1211
  for (const K2 of globalThis.Object.getOwnPropertyNames(K))
@@ -1242,12 +1220,12 @@ function ReadonlyFromMappedResult(R, F) {
1242
1220
  return MappedResult(P);
1243
1221
  }
1244
1222
 
1245
- // ../node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs
1223
+ // ../../node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs
1246
1224
  function Tuple(types, options) {
1247
1225
  return CreateType(types.length > 0 ? { [Kind]: "Tuple", type: "array", items: types, additionalItems: false, minItems: types.length, maxItems: types.length } : { [Kind]: "Tuple", type: "array", minItems: types.length, maxItems: types.length }, options);
1248
1226
  }
1249
1227
 
1250
- // ../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs
1228
+ // ../../node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs
1251
1229
  function FromMappedResult3(K, P) {
1252
1230
  return K in P ? FromSchemaType(K, P[K]) : MappedResult(P);
1253
1231
  }
@@ -1302,7 +1280,7 @@ function Mapped(key, map, options) {
1302
1280
  return Object2(R, options);
1303
1281
  }
1304
1282
 
1305
- // ../node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs
1283
+ // ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs
1306
1284
  function RemoveOptional(schema) {
1307
1285
  return CreateType(Discard(schema, [OptionalKind]));
1308
1286
  }
@@ -1317,7 +1295,7 @@ function Optional(schema, enable) {
1317
1295
  return IsMappedResult(schema) ? OptionalFromMappedResult(schema, F) : OptionalWithFlag(schema, F);
1318
1296
  }
1319
1297
 
1320
- // ../node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs
1298
+ // ../../node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs
1321
1299
  function FromProperties4(P, F) {
1322
1300
  const Acc = {};
1323
1301
  for (const K2 of globalThis.Object.getOwnPropertyNames(P))
@@ -1332,14 +1310,14 @@ function OptionalFromMappedResult(R, F) {
1332
1310
  return MappedResult(P);
1333
1311
  }
1334
1312
 
1335
- // ../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs
1313
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs
1336
1314
  function IntersectCreate(T, options = {}) {
1337
1315
  const allObjects = T.every((schema) => IsObject3(schema));
1338
1316
  const clonedUnevaluatedProperties = IsSchema(options.unevaluatedProperties) ? { unevaluatedProperties: options.unevaluatedProperties } : {};
1339
1317
  return CreateType(options.unevaluatedProperties === false || IsSchema(options.unevaluatedProperties) || allObjects ? { ...clonedUnevaluatedProperties, [Kind]: "Intersect", type: "object", allOf: T } : { ...clonedUnevaluatedProperties, [Kind]: "Intersect", allOf: T }, options);
1340
1318
  }
1341
1319
 
1342
- // ../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs
1320
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs
1343
1321
  function IsIntersectOptional(types) {
1344
1322
  return types.every((left) => IsOptional(left));
1345
1323
  }
@@ -1362,7 +1340,7 @@ function IntersectEvaluated(types, options = {}) {
1362
1340
  return ResolveIntersect(types, options);
1363
1341
  }
1364
1342
 
1365
- // ../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs
1343
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs
1366
1344
  function Intersect(types, options) {
1367
1345
  if (types.length === 1)
1368
1346
  return CreateType(types[0], options);
@@ -1373,7 +1351,7 @@ function Intersect(types, options) {
1373
1351
  return IntersectCreate(types, options);
1374
1352
  }
1375
1353
 
1376
- // ../node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs
1354
+ // ../../node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs
1377
1355
  function Ref(...args) {
1378
1356
  const [$ref, options] = typeof args[0] === "string" ? [args[0], args[1]] : [args[0].$id, args[1]];
1379
1357
  if (typeof $ref !== "string")
@@ -1381,7 +1359,7 @@ function Ref(...args) {
1381
1359
  return CreateType({ [Kind]: "Ref", $ref }, options);
1382
1360
  }
1383
1361
 
1384
- // ../node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs
1362
+ // ../../node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs
1385
1363
  function FromComputed(target, parameters) {
1386
1364
  return Computed("Awaited", [Computed(target, parameters)]);
1387
1365
  }
@@ -1404,7 +1382,7 @@ function Awaited(type, options) {
1404
1382
  return CreateType(IsComputed(type) ? FromComputed(type.target, type.parameters) : IsIntersect(type) ? FromIntersect2(type.allOf) : IsUnion(type) ? FromUnion4(type.anyOf) : IsPromise(type) ? FromPromise(type.item) : IsRef(type) ? FromRef(type.$ref) : type, options);
1405
1383
  }
1406
1384
 
1407
- // ../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs
1385
+ // ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs
1408
1386
  function FromRest4(types) {
1409
1387
  const result = [];
1410
1388
  for (const L of types)
@@ -1443,7 +1421,7 @@ function KeyOfPropertyKeys(type) {
1443
1421
  }
1444
1422
  var includePatternProperties = false;
1445
1423
 
1446
- // ../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
1424
+ // ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
1447
1425
  function FromComputed2(target, parameters) {
1448
1426
  return Computed("KeyOf", [Computed(target, parameters)]);
1449
1427
  }
@@ -1463,7 +1441,7 @@ function KeyOf(type, options) {
1463
1441
  return IsComputed(type) ? FromComputed2(type.target, type.parameters) : IsRef(type) ? FromRef2(type.$ref) : IsMappedResult(type) ? KeyOfFromMappedResult(type, options) : KeyOfFromType(type, options);
1464
1442
  }
1465
1443
 
1466
- // ../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs
1444
+ // ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs
1467
1445
  function FromProperties6(properties, options) {
1468
1446
  const result = {};
1469
1447
  for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
@@ -1478,7 +1456,7 @@ function KeyOfFromMappedResult(mappedResult, options) {
1478
1456
  return MappedResult(properties);
1479
1457
  }
1480
1458
 
1481
- // ../node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs
1459
+ // ../../node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs
1482
1460
  function CompositeKeys(T) {
1483
1461
  const Acc = [];
1484
1462
  for (const L of T)
@@ -1508,37 +1486,37 @@ function Composite(T, options) {
1508
1486
  return R;
1509
1487
  }
1510
1488
 
1511
- // ../node_modules/@sinclair/typebox/build/esm/type/date/date.mjs
1489
+ // ../../node_modules/@sinclair/typebox/build/esm/type/date/date.mjs
1512
1490
  function Date2(options) {
1513
1491
  return CreateType({ [Kind]: "Date", type: "Date" }, options);
1514
1492
  }
1515
1493
 
1516
- // ../node_modules/@sinclair/typebox/build/esm/type/null/null.mjs
1494
+ // ../../node_modules/@sinclair/typebox/build/esm/type/null/null.mjs
1517
1495
  function Null(options) {
1518
1496
  return CreateType({ [Kind]: "Null", type: "null" }, options);
1519
1497
  }
1520
1498
 
1521
- // ../node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs
1499
+ // ../../node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs
1522
1500
  function Symbol2(options) {
1523
1501
  return CreateType({ [Kind]: "Symbol", type: "symbol" }, options);
1524
1502
  }
1525
1503
 
1526
- // ../node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs
1504
+ // ../../node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs
1527
1505
  function Undefined(options) {
1528
1506
  return CreateType({ [Kind]: "Undefined", type: "undefined" }, options);
1529
1507
  }
1530
1508
 
1531
- // ../node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs
1509
+ // ../../node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs
1532
1510
  function Uint8Array2(options) {
1533
1511
  return CreateType({ [Kind]: "Uint8Array", type: "Uint8Array" }, options);
1534
1512
  }
1535
1513
 
1536
- // ../node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs
1514
+ // ../../node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs
1537
1515
  function Unknown(options) {
1538
1516
  return CreateType({ [Kind]: "Unknown" }, options);
1539
1517
  }
1540
1518
 
1541
- // ../node_modules/@sinclair/typebox/build/esm/type/const/const.mjs
1519
+ // ../../node_modules/@sinclair/typebox/build/esm/type/const/const.mjs
1542
1520
  function FromArray3(T) {
1543
1521
  return T.map((L) => FromValue(L, false));
1544
1522
  }
@@ -1558,12 +1536,12 @@ function Const(T, options) {
1558
1536
  return CreateType(FromValue(T, true), options);
1559
1537
  }
1560
1538
 
1561
- // ../node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs
1539
+ // ../../node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs
1562
1540
  function ConstructorParameters(schema, options) {
1563
1541
  return IsConstructor(schema) ? Tuple(schema.parameters, options) : Never(options);
1564
1542
  }
1565
1543
 
1566
- // ../node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs
1544
+ // ../../node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs
1567
1545
  function Enum(item, options) {
1568
1546
  if (IsUndefined(item))
1569
1547
  throw new Error("Enum undefined or empty");
@@ -1573,7 +1551,7 @@ function Enum(item, options) {
1573
1551
  return Union(anyOf, { ...options, [Hint]: "Enum" });
1574
1552
  }
1575
1553
 
1576
- // ../node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs
1554
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs
1577
1555
  var ExtendsResolverError = class extends TypeBoxError {
1578
1556
  };
1579
1557
  var ExtendsResult;
@@ -1824,7 +1802,7 @@ function ExtendsCheck(left, right) {
1824
1802
  return Visit3(left, right);
1825
1803
  }
1826
1804
 
1827
- // ../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs
1805
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs
1828
1806
  function FromProperties8(P, Right, True, False, options) {
1829
1807
  const Acc = {};
1830
1808
  for (const K2 of globalThis.Object.getOwnPropertyNames(P))
@@ -1839,7 +1817,7 @@ function ExtendsFromMappedResult(Left, Right, True, False, options) {
1839
1817
  return MappedResult(P);
1840
1818
  }
1841
1819
 
1842
- // ../node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs
1820
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs
1843
1821
  function ExtendsResolve(left, right, trueType, falseType) {
1844
1822
  const R = ExtendsCheck(left, right);
1845
1823
  return R === ExtendsResult.Union ? Union([trueType, falseType]) : R === ExtendsResult.True ? trueType : falseType;
@@ -1848,7 +1826,7 @@ function Extends(L, R, T, F, options) {
1848
1826
  return IsMappedResult(L) ? ExtendsFromMappedResult(L, R, T, F, options) : IsMappedKey(L) ? CreateType(ExtendsFromMappedKey(L, R, T, F, options)) : CreateType(ExtendsResolve(L, R, T, F), options);
1849
1827
  }
1850
1828
 
1851
- // ../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs
1829
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs
1852
1830
  function FromPropertyKey(K, U, L, R, options) {
1853
1831
  return {
1854
1832
  [K]: Extends(Literal(K), U, L, R, Clone(options))
@@ -1867,12 +1845,12 @@ function ExtendsFromMappedKey(T, U, L, R, options) {
1867
1845
  return MappedResult(P);
1868
1846
  }
1869
1847
 
1870
- // ../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs
1848
+ // ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs
1871
1849
  function ExcludeFromTemplateLiteral(L, R) {
1872
1850
  return Exclude(TemplateLiteralToUnion(L), R);
1873
1851
  }
1874
1852
 
1875
- // ../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs
1853
+ // ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs
1876
1854
  function ExcludeRest(L, R) {
1877
1855
  const excluded = L.filter((inner) => ExtendsCheck(inner, R) === ExtendsResult.False);
1878
1856
  return excluded.length === 1 ? excluded[0] : Union(excluded);
@@ -1885,7 +1863,7 @@ function Exclude(L, R, options = {}) {
1885
1863
  return CreateType(IsUnion(L) ? ExcludeRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? Never() : L, options);
1886
1864
  }
1887
1865
 
1888
- // ../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs
1866
+ // ../../node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs
1889
1867
  function FromProperties9(P, U) {
1890
1868
  const Acc = {};
1891
1869
  for (const K2 of globalThis.Object.getOwnPropertyNames(P))
@@ -1900,12 +1878,12 @@ function ExcludeFromMappedResult(R, T) {
1900
1878
  return MappedResult(P);
1901
1879
  }
1902
1880
 
1903
- // ../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs
1881
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs
1904
1882
  function ExtractFromTemplateLiteral(L, R) {
1905
1883
  return Extract(TemplateLiteralToUnion(L), R);
1906
1884
  }
1907
1885
 
1908
- // ../node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs
1886
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs
1909
1887
  function ExtractRest(L, R) {
1910
1888
  const extracted = L.filter((inner) => ExtendsCheck(inner, R) !== ExtendsResult.False);
1911
1889
  return extracted.length === 1 ? extracted[0] : Union(extracted);
@@ -1918,7 +1896,7 @@ function Extract(L, R, options) {
1918
1896
  return CreateType(IsUnion(L) ? ExtractRest(L.anyOf, R) : ExtendsCheck(L, R) !== ExtendsResult.False ? L : Never(), options);
1919
1897
  }
1920
1898
 
1921
- // ../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs
1899
+ // ../../node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs
1922
1900
  function FromProperties10(P, T) {
1923
1901
  const Acc = {};
1924
1902
  for (const K2 of globalThis.Object.getOwnPropertyNames(P))
@@ -1933,17 +1911,17 @@ function ExtractFromMappedResult(R, T) {
1933
1911
  return MappedResult(P);
1934
1912
  }
1935
1913
 
1936
- // ../node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs
1914
+ // ../../node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs
1937
1915
  function InstanceType(schema, options) {
1938
1916
  return IsConstructor(schema) ? CreateType(schema.returns, options) : Never(options);
1939
1917
  }
1940
1918
 
1941
- // ../node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs
1919
+ // ../../node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs
1942
1920
  function ReadonlyOptional(schema) {
1943
1921
  return Readonly(Optional(schema));
1944
1922
  }
1945
1923
 
1946
- // ../node_modules/@sinclair/typebox/build/esm/type/record/record.mjs
1924
+ // ../../node_modules/@sinclair/typebox/build/esm/type/record/record.mjs
1947
1925
  function RecordCreateFromPattern(pattern, T, options) {
1948
1926
  return CreateType({ [Kind]: "Record", type: "object", patternProperties: { [pattern]: T } }, options);
1949
1927
  }
@@ -1998,7 +1976,7 @@ function RecordValue2(type) {
1998
1976
  return type.patternProperties[RecordPattern(type)];
1999
1977
  }
2000
1978
 
2001
- // ../node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs
1979
+ // ../../node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs
2002
1980
  function FromConstructor2(args, type) {
2003
1981
  type.parameters = FromTypes(args, type.parameters);
2004
1982
  type.returns = FromType(args, type.returns);
@@ -2073,12 +2051,12 @@ function Instantiate(type, args) {
2073
2051
  return FromType(args, CloneType(type));
2074
2052
  }
2075
2053
 
2076
- // ../node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs
2054
+ // ../../node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs
2077
2055
  function Integer(options) {
2078
2056
  return CreateType({ [Kind]: "Integer", type: "integer" }, options);
2079
2057
  }
2080
2058
 
2081
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs
2059
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs
2082
2060
  function MappedIntrinsicPropertyKey(K, M, options) {
2083
2061
  return {
2084
2062
  [K]: Intrinsic(Literal(K), M, Clone(options))
@@ -2098,7 +2076,7 @@ function IntrinsicFromMappedKey(T, M, options) {
2098
2076
  return MappedResult(P);
2099
2077
  }
2100
2078
 
2101
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs
2079
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs
2102
2080
  function ApplyUncapitalize(value) {
2103
2081
  const [first, rest] = [value.slice(0, 1), value.slice(1)];
2104
2082
  return [first.toLowerCase(), rest].join("");
@@ -2143,27 +2121,27 @@ function Intrinsic(schema, mode, options = {}) {
2143
2121
  );
2144
2122
  }
2145
2123
 
2146
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs
2124
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs
2147
2125
  function Capitalize(T, options = {}) {
2148
2126
  return Intrinsic(T, "Capitalize", options);
2149
2127
  }
2150
2128
 
2151
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs
2129
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs
2152
2130
  function Lowercase(T, options = {}) {
2153
2131
  return Intrinsic(T, "Lowercase", options);
2154
2132
  }
2155
2133
 
2156
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs
2134
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs
2157
2135
  function Uncapitalize(T, options = {}) {
2158
2136
  return Intrinsic(T, "Uncapitalize", options);
2159
2137
  }
2160
2138
 
2161
- // ../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs
2139
+ // ../../node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs
2162
2140
  function Uppercase(T, options = {}) {
2163
2141
  return Intrinsic(T, "Uppercase", options);
2164
2142
  }
2165
2143
 
2166
- // ../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs
2144
+ // ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs
2167
2145
  function FromProperties12(properties, propertyKeys, options) {
2168
2146
  const result = {};
2169
2147
  for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
@@ -2178,7 +2156,7 @@ function OmitFromMappedResult(mappedResult, propertyKeys, options) {
2178
2156
  return MappedResult(properties);
2179
2157
  }
2180
2158
 
2181
- // ../node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs
2159
+ // ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs
2182
2160
  function FromIntersect6(types, propertyKeys) {
2183
2161
  return types.map((type) => OmitResolve(type, propertyKeys));
2184
2162
  }
@@ -2212,7 +2190,7 @@ function Omit(type, key, options) {
2212
2190
  return IsMappedResult(type) ? OmitFromMappedResult(type, propertyKeys, options) : IsMappedKey(key) ? OmitFromMappedKey(type, key, options) : isTypeRef && isKeyRef ? Computed("Omit", [type, typeKey], options) : !isTypeRef && isKeyRef ? Computed("Omit", [type, typeKey], options) : isTypeRef && !isKeyRef ? Computed("Omit", [type, typeKey], options) : CreateType({ ...OmitResolve(type, propertyKeys), ...options });
2213
2191
  }
2214
2192
 
2215
- // ../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs
2193
+ // ../../node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs
2216
2194
  function FromPropertyKey2(type, key, options) {
2217
2195
  return { [key]: Omit(type, [key], Clone(options)) };
2218
2196
  }
@@ -2229,7 +2207,7 @@ function OmitFromMappedKey(type, mappedKey, options) {
2229
2207
  return MappedResult(properties);
2230
2208
  }
2231
2209
 
2232
- // ../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs
2210
+ // ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs
2233
2211
  function FromProperties14(properties, propertyKeys, options) {
2234
2212
  const result = {};
2235
2213
  for (const K2 of globalThis.Object.getOwnPropertyNames(properties))
@@ -2244,7 +2222,7 @@ function PickFromMappedResult(mappedResult, propertyKeys, options) {
2244
2222
  return MappedResult(properties);
2245
2223
  }
2246
2224
 
2247
- // ../node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs
2225
+ // ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs
2248
2226
  function FromIntersect7(types, propertyKeys) {
2249
2227
  return types.map((type) => PickResolve(type, propertyKeys));
2250
2228
  }
@@ -2278,7 +2256,7 @@ function Pick(type, key, options) {
2278
2256
  return IsMappedResult(type) ? PickFromMappedResult(type, propertyKeys, options) : IsMappedKey(key) ? PickFromMappedKey(type, key, options) : isTypeRef && isKeyRef ? Computed("Pick", [type, typeKey], options) : !isTypeRef && isKeyRef ? Computed("Pick", [type, typeKey], options) : isTypeRef && !isKeyRef ? Computed("Pick", [type, typeKey], options) : CreateType({ ...PickResolve(type, propertyKeys), ...options });
2279
2257
  }
2280
2258
 
2281
- // ../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs
2259
+ // ../../node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs
2282
2260
  function FromPropertyKey3(type, key, options) {
2283
2261
  return {
2284
2262
  [key]: Pick(type, [key], Clone(options))
@@ -2297,7 +2275,7 @@ function PickFromMappedKey(type, mappedKey, options) {
2297
2275
  return MappedResult(properties);
2298
2276
  }
2299
2277
 
2300
- // ../node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs
2278
+ // ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs
2301
2279
  function FromComputed3(target, parameters) {
2302
2280
  return Computed("Partial", [Computed(target, parameters)]);
2303
2281
  }
@@ -2338,7 +2316,7 @@ function Partial(type, options) {
2338
2316
  }
2339
2317
  }
2340
2318
 
2341
- // ../node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs
2319
+ // ../../node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs
2342
2320
  function FromProperties17(K, options) {
2343
2321
  const Acc = {};
2344
2322
  for (const K2 of globalThis.Object.getOwnPropertyNames(K))
@@ -2353,7 +2331,7 @@ function PartialFromMappedResult(R, options) {
2353
2331
  return MappedResult(P);
2354
2332
  }
2355
2333
 
2356
- // ../node_modules/@sinclair/typebox/build/esm/type/required/required.mjs
2334
+ // ../../node_modules/@sinclair/typebox/build/esm/type/required/required.mjs
2357
2335
  function FromComputed4(target, parameters) {
2358
2336
  return Computed("Required", [Computed(target, parameters)]);
2359
2337
  }
@@ -2394,7 +2372,7 @@ function Required(type, options) {
2394
2372
  }
2395
2373
  }
2396
2374
 
2397
- // ../node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs
2375
+ // ../../node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs
2398
2376
  function FromProperties19(P, options) {
2399
2377
  const Acc = {};
2400
2378
  for (const K2 of globalThis.Object.getOwnPropertyNames(P))
@@ -2409,7 +2387,7 @@ function RequiredFromMappedResult(R, options) {
2409
2387
  return MappedResult(P);
2410
2388
  }
2411
2389
 
2412
- // ../node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs
2390
+ // ../../node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs
2413
2391
  function DereferenceParameters(moduleProperties, types) {
2414
2392
  return types.map((type) => {
2415
2393
  return IsRef(type) ? Dereference(moduleProperties, type.$ref) : FromType2(moduleProperties, type);
@@ -2505,7 +2483,7 @@ function ComputeModuleProperties(moduleProperties) {
2505
2483
  }, {});
2506
2484
  }
2507
2485
 
2508
- // ../node_modules/@sinclair/typebox/build/esm/type/module/module.mjs
2486
+ // ../../node_modules/@sinclair/typebox/build/esm/type/module/module.mjs
2509
2487
  var TModule = class {
2510
2488
  constructor($defs) {
2511
2489
  const computed = ComputeModuleProperties($defs);
@@ -2528,17 +2506,17 @@ function Module(properties) {
2528
2506
  return new TModule(properties);
2529
2507
  }
2530
2508
 
2531
- // ../node_modules/@sinclair/typebox/build/esm/type/not/not.mjs
2509
+ // ../../node_modules/@sinclair/typebox/build/esm/type/not/not.mjs
2532
2510
  function Not(type, options) {
2533
2511
  return CreateType({ [Kind]: "Not", not: type }, options);
2534
2512
  }
2535
2513
 
2536
- // ../node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs
2514
+ // ../../node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs
2537
2515
  function Parameters(schema, options) {
2538
2516
  return IsFunction2(schema) ? Tuple(schema.parameters, options) : Never();
2539
2517
  }
2540
2518
 
2541
- // ../node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs
2519
+ // ../../node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs
2542
2520
  var Ordinal = 0;
2543
2521
  function Recursive(callback, options = {}) {
2544
2522
  if (IsUndefined(options.$id))
@@ -2548,13 +2526,13 @@ function Recursive(callback, options = {}) {
2548
2526
  return CreateType({ [Hint]: "Recursive", ...thisType }, options);
2549
2527
  }
2550
2528
 
2551
- // ../node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs
2529
+ // ../../node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs
2552
2530
  function RegExp2(unresolved, options) {
2553
2531
  const expr = IsString(unresolved) ? new globalThis.RegExp(unresolved) : unresolved;
2554
2532
  return CreateType({ [Kind]: "RegExp", type: "RegExp", source: expr.source, flags: expr.flags }, options);
2555
2533
  }
2556
2534
 
2557
- // ../node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs
2535
+ // ../../node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs
2558
2536
  function RestResolve(T) {
2559
2537
  return IsIntersect(T) ? T.allOf : IsUnion(T) ? T.anyOf : IsTuple(T) ? T.items ?? [] : [];
2560
2538
  }
@@ -2562,12 +2540,12 @@ function Rest(T) {
2562
2540
  return RestResolve(T);
2563
2541
  }
2564
2542
 
2565
- // ../node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs
2543
+ // ../../node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs
2566
2544
  function ReturnType(schema, options) {
2567
2545
  return IsFunction2(schema) ? CreateType(schema.returns, options) : Never(options);
2568
2546
  }
2569
2547
 
2570
- // ../node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs
2548
+ // ../../node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs
2571
2549
  var TransformDecodeBuilder = class {
2572
2550
  constructor(schema) {
2573
2551
  this.schema = schema;
@@ -2599,17 +2577,17 @@ function Transform(schema) {
2599
2577
  return new TransformDecodeBuilder(schema);
2600
2578
  }
2601
2579
 
2602
- // ../node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs
2580
+ // ../../node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs
2603
2581
  function Unsafe(options = {}) {
2604
2582
  return CreateType({ [Kind]: options[Kind] ?? "Unsafe" }, options);
2605
2583
  }
2606
2584
 
2607
- // ../node_modules/@sinclair/typebox/build/esm/type/void/void.mjs
2585
+ // ../../node_modules/@sinclair/typebox/build/esm/type/void/void.mjs
2608
2586
  function Void(options) {
2609
2587
  return CreateType({ [Kind]: "Void", type: "void" }, options);
2610
2588
  }
2611
2589
 
2612
- // ../node_modules/@sinclair/typebox/build/esm/type/type/type.mjs
2590
+ // ../../node_modules/@sinclair/typebox/build/esm/type/type/type.mjs
2613
2591
  var type_exports2 = {};
2614
2592
  __export(type_exports2, {
2615
2593
  Any: () => Any,
@@ -2676,10 +2654,10 @@ __export(type_exports2, {
2676
2654
  Void: () => Void
2677
2655
  });
2678
2656
 
2679
- // ../node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
2657
+ // ../../node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
2680
2658
  var Type = type_exports2;
2681
2659
 
2682
- // ../shared_libs/plays/authoring-contract.ts
2660
+ // ../plays/authoring-contract.ts
2683
2661
  var PLAY_AUTHORING_CONTRACT_EDITION = 4;
2684
2662
  var PLAY_SQL_LISTENER_WHERE_OPERATORS = [
2685
2663
  "eq",
@@ -4035,7 +4013,7 @@ var PLAY_AUTHORING_CLOUD_TYPE_DECLARATIONS = [
4035
4013
  "export type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlayRuntimeContext, input: TInput) => Promise<TOutput>) & { readonly name: string; readonly __inputType?: TInput; readonly __outputType?: TOutput; readonly runtime?: PlayBindings['runtime']; readonly compatibility?: PlayBindings['compatibility'] };"
4036
4014
  ];
4037
4015
 
4038
- // ../shared_libs/play-runtime/tool-response-contract.ts
4016
+ // ../plays/tool-response-contract.ts
4039
4017
  var RAW_V2_TOOL_RESPONSE_CONTRACT = "raw-v2";
4040
4018
  var RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION = "raw-v2-receipt-v1";
4041
4019
  var TOOL_RESPONSE_RECEIPT_REVISION_PATTERN = /^[A-Za-z0-9](?:[A-Za-z0-9._-]{0,63})$/;
@@ -4055,7 +4033,7 @@ function normalizeToolResponseReceiptRevision(value) {
4055
4033
  throw new InvalidToolResponseReceiptRevisionError(value);
4056
4034
  }
4057
4035
 
4058
- // ../shared_libs/plays/contracts.ts
4036
+ // ../plays/contracts.ts
4059
4037
  var PLAY_PUBLIC_API_VERSION = 1;
4060
4038
  var PLAY_ARTIFACT_VERSION = CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION;
4061
4039
  var PLAY_MIN_RUNNER_VERSION = 1;
@@ -4081,7 +4059,7 @@ function buildPlayContractCompatibility(input) {
4081
4059
  };
4082
4060
  }
4083
4061
 
4084
- // ../shared_libs/plays/ts-ast.ts
4062
+ // ../plays/ts-ast.ts
4085
4063
  import { Parser } from "acorn";
4086
4064
  import { tsPlugin } from "acorn-typescript";
4087
4065
  var TypeScriptParser = Parser.extend(
@@ -4111,7 +4089,7 @@ function parsePlaySourceForAnalysis(sourceCode) {
4111
4089
  }
4112
4090
  }
4113
4091
 
4114
- // ../shared_libs/plays/play-exports.ts
4092
+ // ../plays/play-exports.ts
4115
4093
  var PLAY_DEFAULT_EXPORT = "default";
4116
4094
  function getIdentifierName(node) {
4117
4095
  return isAstNode(node) && node.type === "Identifier" ? typeof node.name === "string" ? node.name : null : null;
@@ -4232,7 +4210,7 @@ function playExportNamesForMessage(exports) {
4232
4210
  ]);
4233
4211
  }
4234
4212
 
4235
- // ../shared_libs/plays/docflow.ts
4213
+ // ../plays/docflow.ts
4236
4214
  var PLAY_DOCFLOW_NODE_KINDS = [
4237
4215
  "action",
4238
4216
  "decision",
@@ -4983,7 +4961,7 @@ function parseDocflowBindings(sourceCode, errors, rejectedNodeIds) {
4983
4961
  return bindings;
4984
4962
  }
4985
4963
 
4986
- // ../shared_libs/plays/docflow-binding.ts
4964
+ // ../plays/docflow-binding.ts
4987
4965
  function sourceLineStarts(sourceCode) {
4988
4966
  const starts = [0];
4989
4967
  for (let index = 0; index < sourceCode.length; index += 1) {
@@ -5236,7 +5214,7 @@ function resolveDocflowBinding(ast, binding, lineStarts, parents) {
5236
5214
  return { binding, statement: positional, symbolKind: null, drift: null };
5237
5215
  }
5238
5216
 
5239
- // ../shared_libs/plays/secret-guardrails.ts
5217
+ // ../plays/secret-guardrails.ts
5240
5218
  var SECRET_ENV_PATTERN = /\bprocess(?:\.env|\[['"]env['"]\])(?:\.|\[['"])([A-Z0-9_]*(?:API[_-]?KEY|TOKEN|SECRET|PASSWORD|PRIVATE[_-]?KEY|ACCESS[_-]?KEY)[A-Z0-9_]*)(?:['"]\])?/g;
5241
5219
  var PRIVATE_KEY_PATTERN = /-----BEGIN (?:RSA |EC |OPENSSH |PGP )?PRIVATE KEY-----/;
5242
5220
  var BEARER_LITERAL_PATTERN = /\bBearer\s+[A-Za-z0-9._~+/=-]{16,}/i;
@@ -5382,10 +5360,10 @@ function validatePlaySourceFilesHaveNoInlineSecrets(sourceFiles) {
5382
5360
  }
5383
5361
  }
5384
5362
 
5385
- // ../shared_libs/plays/bundling/limits.ts
5363
+ // ../plays/bundling/limits.ts
5386
5364
  var MAX_PLAY_BUNDLE_BYTES = 30 * 1024 * 1024;
5387
5365
 
5388
- // ../shared_libs/plays/bundling/index.ts
5366
+ // ../plays/bundling/index.ts
5389
5367
  var PLAY_BUNDLE_CACHE_VERSION = 36;
5390
5368
  var PLAY_ARTIFACT_CACHE_DIR = join(
5391
5369
  tmpdir(),
@@ -6933,7 +6911,31 @@ authoring-contract-edition:${PLAY_AUTHORING_CONTRACT_EDITION}`
6933
6911
  }
6934
6912
  }
6935
6913
 
6936
- // ../shared_libs/play-runtime/scheduler-backend.ts
6914
+ // ../play-runtime/backend.ts
6915
+ var PLAY_RUNTIME_BACKENDS = {
6916
+ localProcess: "local_process",
6917
+ daytona: "daytona",
6918
+ modal: "modal"
6919
+ };
6920
+ var PLAY_BACKEND_DESCRIPTORS = {
6921
+ [PLAY_RUNTIME_BACKENDS.localProcess]: {
6922
+ id: PLAY_RUNTIME_BACKENDS.localProcess,
6923
+ artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
6924
+ label: "Local node subprocess"
6925
+ },
6926
+ [PLAY_RUNTIME_BACKENDS.daytona]: {
6927
+ id: PLAY_RUNTIME_BACKENDS.daytona,
6928
+ artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
6929
+ label: "Daytona sandbox"
6930
+ },
6931
+ [PLAY_RUNTIME_BACKENDS.modal]: {
6932
+ id: PLAY_RUNTIME_BACKENDS.modal,
6933
+ artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
6934
+ label: "Modal sandbox"
6935
+ }
6936
+ };
6937
+
6938
+ // ../play-runtime/scheduler-backend.ts
6937
6939
  var PLAY_SCHEDULER_BACKENDS = {
6938
6940
  /**
6939
6941
  * Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
@@ -6944,7 +6946,7 @@ var PLAY_SCHEDULER_BACKENDS = {
6944
6946
  inProcess: "in-process"
6945
6947
  };
6946
6948
 
6947
- // ../shared_libs/play-runtime/providers.ts
6949
+ // ../play-runtime/providers.ts
6948
6950
  var PLAY_RUNTIME_PROVIDER_IDS = {
6949
6951
  absurd: "absurd"
6950
6952
  };
@@ -6978,7 +6980,7 @@ function resolvePlayRuntimeProvider(override) {
6978
6980
  return defaultPlayRuntimeProvider();
6979
6981
  }
6980
6982
 
6981
- // ../shared_libs/play-runtime/profiles.ts
6983
+ // ../play-runtime/profiles.ts
6982
6984
  var PLAY_EXECUTION_PROFILE_IDS = {
6983
6985
  ...PLAY_RUNTIME_PROVIDER_IDS
6984
6986
  };
@@ -7345,9 +7347,9 @@ async function discoverPackagedLocalFiles(entryFile) {
7345
7347
  var PLAY_BUNDLE_CACHE_VERSION2 = 35;
7346
7348
  var MODULE_DIR = dirname3(fileURLToPath(import.meta.url));
7347
7349
  var SDK_PACKAGE_ROOT = resolve3(MODULE_DIR, "..", "..");
7348
- var SOURCE_REPO_ROOT = resolve3(SDK_PACKAGE_ROOT, "..");
7350
+ var SOURCE_REPO_ROOT = resolve3(SDK_PACKAGE_ROOT, "..", "..");
7349
7351
  var HAS_SOURCE_BUNDLING_SOURCES = existsSync2(
7350
- resolve3(SOURCE_REPO_ROOT, "shared_libs", "plays", "bundling", "index.ts")
7352
+ resolve3(SOURCE_REPO_ROOT, "packages", "plays", "bundling", "index.ts")
7351
7353
  );
7352
7354
  var PACKAGED_BUNDLING_SOURCE_ROOT = resolve3(
7353
7355
  SDK_PACKAGE_ROOT,
@@ -7364,7 +7366,7 @@ var HAS_PACKAGED_BUNDLING_SOURCES = existsSync2(
7364
7366
  )
7365
7367
  );
7366
7368
  var PROJECT_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? SOURCE_REPO_ROOT : HAS_PACKAGED_BUNDLING_SOURCES ? PACKAGED_BUNDLING_SOURCE_ROOT : resolve3(SDK_PACKAGE_ROOT, "..");
7367
- var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? resolve3(SOURCE_REPO_ROOT, "sdk", "src") : HAS_PACKAGED_BUNDLING_SOURCES ? resolve3(PACKAGED_BUNDLING_SOURCE_ROOT, "sdk", "src") : resolve3(SDK_PACKAGE_ROOT, "src");
7369
+ var SDK_SOURCE_ROOT = HAS_SOURCE_BUNDLING_SOURCES ? resolve3(SDK_PACKAGE_ROOT, "src") : HAS_PACKAGED_BUNDLING_SOURCES ? resolve3(PACKAGED_BUNDLING_SOURCE_ROOT, "sdk", "src") : resolve3(SDK_PACKAGE_ROOT, "src");
7368
7370
  var SDK_PACKAGE_JSON = resolve3(SDK_PACKAGE_ROOT, "package.json");
7369
7371
  var SDK_ENTRY_FILE = resolve3(SDK_SOURCE_ROOT, "index.ts");
7370
7372
  var SDK_TYPES_ENTRY_FILE = HAS_SOURCE_BUNDLING_SOURCES ? SDK_ENTRY_FILE : resolve3(SDK_PACKAGE_ROOT, "dist", "index.d.ts");