deepline 0.3.325 → 0.3.327

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 (128) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -25
  2. package/dist/bundling-sources/sdk/src/compat.ts +11 -6
  3. package/dist/bundling-sources/sdk/src/db/query.ts +172 -0
  4. package/dist/bundling-sources/sdk/src/errors.ts +35 -0
  5. package/dist/bundling-sources/sdk/src/index.ts +13 -0
  6. package/dist/bundling-sources/sdk/src/play.ts +34 -31
  7. package/dist/bundling-sources/sdk/src/plays/authoring-graph-path.ts +13 -0
  8. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +2 -1
  9. package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +189 -0
  10. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/tool-calls.ts +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +11 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +98 -11
  14. package/dist/cli/auth-67YOPQ6M.js +31 -0
  15. package/dist/cli/{auth-PIZESRPC.mjs → auth-EBBDOKNV.mjs} +4 -4
  16. package/dist/cli/{billing-DQKFCQV5.js → billing-6AAB7WPJ.js} +70 -70
  17. package/dist/cli/{billing-HSL6VTCM.mjs → billing-IM2QUFX4.mjs} +4 -4
  18. package/dist/cli/{chunk-WW4XZIVM.mjs → chunk-3ITDKXNC.mjs} +12 -9
  19. package/dist/cli/{chunk-K7FC5IUU.js → chunk-3MXRNPBN.js} +1 -1
  20. package/dist/cli/{chunk-DLW7X2UK.js → chunk-4TO56P22.js} +5928 -5730
  21. package/dist/cli/{chunk-MNKDSR2J.js → chunk-4ZARCCPT.js} +344 -254
  22. package/dist/cli/{chunk-PBNZXZCW.js → chunk-77RAV5XX.js} +48 -48
  23. package/dist/cli/{chunk-HUKWYHBG.js → chunk-7RCJDAJX.js} +2 -2
  24. package/dist/cli/{chunk-5TYU3UIS.mjs → chunk-A5SKM3GL.mjs} +1 -1
  25. package/dist/cli/{chunk-XNL3SEMC.js → chunk-AFNEQ43J.js} +8 -3
  26. package/dist/cli/{chunk-XSEMQ4II.js → chunk-AGH6YP2T.js} +2 -1
  27. package/dist/cli/chunk-AID3OYVJ.js +8 -0
  28. package/dist/cli/{chunk-YE3O2UHM.mjs → chunk-CCRQ2VGJ.mjs} +24 -1
  29. package/dist/cli/{chunk-HPTQEWCF.js → chunk-CISKBOXD.js} +70 -67
  30. package/dist/cli/{chunk-OPERWJR6.mjs → chunk-D6GD5AVN.mjs} +3 -3
  31. package/dist/cli/{chunk-6RMKHN7S.mjs → chunk-DCAU6PND.mjs} +4 -20
  32. package/dist/cli/{chunk-PVDQ55PS.js → chunk-DM3SHV6U.js} +29 -6
  33. package/dist/cli/{chunk-CV5GDCKN.js → chunk-DSDX6EUW.js} +29 -45
  34. package/dist/cli/{chunk-5FHU7TV4.mjs → chunk-DVV4FPS7.mjs} +2 -2
  35. package/dist/cli/{chunk-AQUNQJ5Y.mjs → chunk-F45425TB.mjs} +1 -1
  36. package/dist/cli/{chunk-NWBARG3F.mjs → chunk-G5774EFF.mjs} +1 -1
  37. package/dist/cli/chunk-GVESPYSY.mjs +234 -0
  38. package/dist/cli/{chunk-H5TJBRSC.mjs → chunk-HOWQKN6J.mjs} +98 -113
  39. package/dist/cli/{chunk-UYFWTIKF.js → chunk-HZZJR2GV.js} +26 -26
  40. package/dist/cli/{chunk-76VKBPOC.mjs → chunk-JOA6IKDE.mjs} +7 -2
  41. package/dist/cli/chunk-LVEDPCLJ.js +234 -0
  42. package/dist/cli/{chunk-KZNFYOHX.js → chunk-MOP6D7Z5.js} +6 -6
  43. package/dist/cli/{chunk-YXRPWMGN.js → chunk-NWIJLTRL.js} +147 -162
  44. package/dist/cli/chunk-OVDNJAJN.mjs +8 -0
  45. package/dist/cli/{chunk-XIVUB36F.mjs → chunk-QZAP5VOS.mjs} +104 -14
  46. package/dist/cli/{chunk-6VZDSBK6.mjs → chunk-REP2MYBI.mjs} +2 -2
  47. package/dist/cli/{chunk-PWV2M4LW.mjs → chunk-RSEVBSFE.mjs} +1 -1
  48. package/dist/cli/{chunk-OOPSX57I.js → chunk-TAGHNT5P.js} +6 -6
  49. package/dist/cli/{chunk-QQ2FG5W3.js → chunk-UROXKPND.js} +6 -6
  50. package/dist/cli/{chunk-7PZFGB7L.mjs → chunk-YIY74KUF.mjs} +2 -1
  51. package/dist/cli/{chunk-7MD453WV.mjs → chunk-ZOFARJWH.mjs} +5674 -5476
  52. package/dist/cli/client-7LZCG4VD.js +20 -0
  53. package/dist/cli/{client-57SR4KVM.mjs → client-JCMSACT4.mjs} +3 -3
  54. package/dist/cli/{csv-G2FRMOXL.mjs → csv-NPMWVM5D.mjs} +3 -3
  55. package/dist/cli/{csv-5DJSC6BD.js → csv-OILKDKUX.js} +12 -12
  56. package/dist/cli/{db-WWZEXM3N.mjs → db-AZUAOWPQ.mjs} +214 -137
  57. package/dist/cli/{db-NVO7P4VO.js → db-MNDRYYEX.js} +226 -149
  58. package/dist/cli/{describe-26OMF3A4.mjs → describe-KJWOHMKC.mjs} +12 -11
  59. package/dist/cli/{describe-M26LHDBQ.js → describe-QENLDLM2.js} +28 -27
  60. package/dist/cli/{executions-KI47LPKE.js → executions-P36UHBPG.js} +6 -6
  61. package/dist/cli/{executions-2LLHY3IL.mjs → executions-QZNQWF6F.mjs} +4 -4
  62. package/dist/cli/{feedback-2Y26C2BZ.js → feedback-K4UGTLFD.js} +6 -6
  63. package/dist/cli/{feedback-O26VL2OF.mjs → feedback-RQ6HSZSG.mjs} +3 -3
  64. package/dist/cli/{git-UVPGZN3K.mjs → git-PBRMCBMI.mjs} +4 -4
  65. package/dist/cli/git-RPFH3NJ2.js +23 -0
  66. package/dist/cli/index.js +105 -87
  67. package/dist/cli/index.mjs +65 -47
  68. package/dist/cli/{legacy-noops-IK5CH72U.mjs → legacy-noops-G7GWJ5UC.mjs} +4 -4
  69. package/dist/cli/{legacy-noops-H6Y3SEVB.js → legacy-noops-X74FM35Q.js} +7 -7
  70. package/dist/cli/{monitors-SFVVMAJT.mjs → monitors-KL2MCR57.mjs} +4 -4
  71. package/dist/cli/{monitors-JL6TTQCI.js → monitors-VKURX3YM.js} +85 -85
  72. package/dist/cli/{org-SSDONL57.mjs → org-DT53KTNW.mjs} +4 -4
  73. package/dist/cli/{org-OVMAZCQS.js → org-ZYXJDC44.js} +60 -60
  74. package/dist/cli/play-BUQV47E2.js +153 -0
  75. package/dist/cli/{play-X6NPACUO.mjs → play-WIJGQYTB.mjs} +11 -10
  76. package/dist/cli/{providers-E24JDWSR.js → providers-GRTW4TXX.js} +7 -7
  77. package/dist/cli/{providers-ONUBYYY4.mjs → providers-GYGKGS2J.mjs} +4 -4
  78. package/dist/cli/{quickstart-TB7C3DLG.js → quickstart-WB26543C.js} +5 -5
  79. package/dist/cli/{quickstart-B7NIXACV.mjs → quickstart-XF3M2M2S.mjs} +3 -3
  80. package/dist/cli/{search-N3QUIATW.mjs → search-ANJLTOF2.mjs} +5 -5
  81. package/dist/cli/search-CR2GZLCM.js +26 -0
  82. package/dist/cli/{secrets-CPCVFDYB.js → secrets-5KBUGMTK.js} +13 -13
  83. package/dist/cli/{secrets-V7Z4M67T.mjs → secrets-D6UR5CTW.mjs} +4 -4
  84. package/dist/cli/{sessions-E4FIZLQP.js → sessions-46PXFULL.js} +5 -5
  85. package/dist/cli/{sessions-PDOBKAKO.mjs → sessions-S7N4JEWK.mjs} +4 -4
  86. package/dist/cli/{settings-UVM2WDE4.js → settings-KMNBITSU.js} +74 -74
  87. package/dist/cli/{settings-QYHYHZDI.mjs → settings-V6U3SRTH.mjs} +7 -7
  88. package/dist/cli/{setup-3JFAXQLJ.js → setup-4K5FY6AU.js} +41 -41
  89. package/dist/cli/{setup-4RLAETDW.mjs → setup-OGITSLTN.mjs} +6 -6
  90. package/dist/cli/skills-4FP2MZKL.js +28 -0
  91. package/dist/cli/{skills-ZX2JSWOZ.mjs → skills-AXWAYPBY.mjs} +4 -4
  92. package/dist/cli/tools-7YZPH6WC.js +39 -0
  93. package/dist/cli/{tools-EGXCVIPJ.mjs → tools-LJCY6B23.mjs} +8 -7
  94. package/dist/cli/update-3VUOW6AP.js +28 -0
  95. package/dist/cli/{update-7FEKRQFE.mjs → update-DDR5XIUB.mjs} +6 -6
  96. package/dist/cli/{workflow-54VCKIG2.js → workflow-7CTCDWL3.js} +15 -15
  97. package/dist/cli/{workflow-7V7TTTKK.mjs → workflow-PRNCVANQ.mjs} +5 -5
  98. package/dist/{client-Bb4Jjzmj.d.ts → client-DHq8dJ56.d.ts} +39 -11
  99. package/dist/{client-COa-3GHK.d.mts → client-wiWPZhnI.d.mts} +39 -11
  100. package/dist/{compiler-manifest-CsnWj-AK.d.mts → compiler-manifest-9TkZ_ykI.d.mts} +711 -711
  101. package/dist/{compiler-manifest-CsnWj-AK.d.ts → compiler-manifest-9TkZ_ykI.d.ts} +711 -711
  102. package/dist/index-B-5_Xhud.d.mts +75 -0
  103. package/dist/index-ykksoEyR.d.ts +75 -0
  104. package/dist/index.d.mts +52 -13
  105. package/dist/index.d.ts +52 -13
  106. package/dist/index.js +142 -68
  107. package/dist/index.mjs +102 -28
  108. package/dist/install-integrity.json +91 -84
  109. package/dist/plays/bundle-play-file.d.mts +7 -75
  110. package/dist/plays/bundle-play-file.d.ts +7 -75
  111. package/dist/plays/bundle-play-file.mjs +1 -1
  112. package/dist/plays/run-request.d.mts +2 -2
  113. package/dist/plays/run-request.d.ts +2 -2
  114. package/dist/release.d.mts +1 -1
  115. package/dist/release.d.ts +1 -1
  116. package/dist/release.js +2 -2
  117. package/dist/release.mjs +1 -1
  118. package/package.json +1 -1
  119. package/dist/cli/auth-RXCD4GOV.js +0 -31
  120. package/dist/cli/chunk-OWJZUE3Y.mjs +0 -103
  121. package/dist/cli/chunk-SDK3ZA2C.js +0 -103
  122. package/dist/cli/client-562MULXK.js +0 -20
  123. package/dist/cli/git-KGPX5YPD.js +0 -23
  124. package/dist/cli/play-3DB4MSHN.js +0 -152
  125. package/dist/cli/search-NJ637YGQ.js +0 -26
  126. package/dist/cli/skills-BYRYG64R.js +0 -28
  127. package/dist/cli/tools-TAWOAY5X.js +0 -38
  128. package/dist/cli/update-H24GEBXM.js +0 -28
package/dist/index.mjs CHANGED
@@ -23,16 +23,19 @@ import {
23
23
  formatPlayBootstrapFinderKindsForSentence,
24
24
  formatPlayBootstrapTemplates,
25
25
  isPlayBootstrapFinderKind,
26
- isPlayBootstrapTemplate
27
- } from "./cli/chunk-OWJZUE3Y.mjs";
26
+ isPlayBootstrapTemplate,
27
+ pinLocalPlayImports,
28
+ planLocalPlayExecution
29
+ } from "./cli/chunk-GVESPYSY.mjs";
28
30
  import {
29
31
  DeeplineClient,
30
32
  MONITOR_JOB_PHASES,
31
33
  MONITOR_JOB_RECONCILIATION_STATES,
32
34
  MONITOR_JOB_STATES,
33
35
  RunEventQueryInputError,
34
- isStopAllPlayRunsDryRunResult
35
- } from "./cli/chunk-XIVUB36F.mjs";
36
+ isStopAllPlayRunsDryRunResult,
37
+ planCustomerDbQuery
38
+ } from "./cli/chunk-QZAP5VOS.mjs";
36
39
  import "./cli/chunk-CBVIJSHF.mjs";
37
40
  import {
38
41
  MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG,
@@ -56,15 +59,16 @@ import {
56
59
  import {
57
60
  AuthError,
58
61
  ConfigError,
62
+ CustomerDbQueryOutcomeUnknownError,
59
63
  PROD_URL,
60
64
  RateLimitError,
61
65
  SDK_API_CONTRACT,
62
66
  SDK_VERSION,
63
67
  ToolRateLimitError,
64
68
  resolveConfig
65
- } from "./cli/chunk-YE3O2UHM.mjs";
69
+ } from "./cli/chunk-CCRQ2VGJ.mjs";
66
70
  import "./cli/chunk-DLIRSHV6.mjs";
67
- import "./cli/chunk-NWBARG3F.mjs";
71
+ import "./cli/chunk-G5774EFF.mjs";
68
72
  import {
69
73
  CtxFetchHttpError
70
74
  } from "./cli/chunk-KP7W5NO6.mjs";
@@ -786,10 +790,54 @@ function candidateResultPaths(path) {
786
790
  function normalizeRelativePath(path) {
787
791
  return String(path || "").trim().replace(/^result\./, "").replace(/^\./, "");
788
792
  }
789
- function getFirstMeaningfulValueAtPath(root, path) {
793
+ var PHONE_OBJECT_VALUE_KEYS = [
794
+ "sanitized_number",
795
+ "number",
796
+ "phone",
797
+ "phone_number",
798
+ "phoneNumber",
799
+ "display_international",
800
+ "displayInternational",
801
+ "international",
802
+ "value",
803
+ "raw_number",
804
+ "raw",
805
+ "sanitized"
806
+ ];
807
+ var PHONE_TARGET_MIN_DIGITS = 7;
808
+ function phoneTargetValue(value) {
809
+ if (typeof value === "number" && Number.isFinite(value)) {
810
+ return phoneTargetValue(String(value));
811
+ }
812
+ if (typeof value === "string") {
813
+ const trimmed = value.trim();
814
+ const digits = trimmed.replace(/\D/g, "").length;
815
+ return digits >= PHONE_TARGET_MIN_DIGITS ? trimmed : null;
816
+ }
817
+ if (Array.isArray(value)) {
818
+ for (const entry of value) {
819
+ const phone = phoneTargetValue(entry);
820
+ if (phone) return phone;
821
+ }
822
+ return null;
823
+ }
824
+ if (isRecord(value)) {
825
+ for (const key of PHONE_OBJECT_VALUE_KEYS) {
826
+ const phone = phoneTargetValue(value[key]);
827
+ if (phone) return phone;
828
+ }
829
+ }
830
+ return null;
831
+ }
832
+ function acceptedTargetValue(target, value) {
833
+ if (target === "phone") return phoneTargetValue(value) ?? void 0;
834
+ return isMeaningfulValue(value) ? value : void 0;
835
+ }
836
+ function getFirstMeaningfulValueAtPath(root, path, target) {
790
837
  for (const entry of valuesAtSegments(root, parsePath(path))) {
791
- if (isMeaningfulValue(entry.value)) {
792
- return { value: entry.value, path: entry.path };
838
+ const value = acceptedTargetValue(target, entry.value);
839
+ if (value !== void 0) {
840
+ return { value, path: entry.path };
793
841
  }
794
842
  }
795
843
  return null;
@@ -825,10 +873,10 @@ function normalizeRows(value) {
825
873
  if (!Array.isArray(value)) return null;
826
874
  return value.map((entry) => isRecord(entry) ? entry : { value: entry });
827
875
  }
828
- function findFirstTargetByPath(result, paths) {
876
+ function findFirstTargetByPath(result, paths, target) {
829
877
  for (const path of paths ?? []) {
830
878
  for (const candidate of candidateResultPaths(path)) {
831
- const match = getFirstMeaningfulValueAtPath(result, candidate);
879
+ const match = getFirstMeaningfulValueAtPath(result, candidate, target);
832
880
  if (match) return match;
833
881
  }
834
882
  }
@@ -899,8 +947,10 @@ function findFirstTargetByKey(result, target, depth = 0, path = []) {
899
947
  };
900
948
  for (const [key, value] of Object.entries(result)) {
901
949
  if (rule.reject?.some((pattern) => pattern.test(key))) continue;
902
- if (rule.match.some((pattern) => pattern.test(key)) && isMeaningfulValue(value)) {
903
- return { value, path: pathToString([...path, key]) };
950
+ if (!rule.match.some((pattern) => pattern.test(key))) continue;
951
+ const accepted = acceptedTargetValue(target, value);
952
+ if (accepted !== void 0) {
953
+ return { value: accepted, path: pathToString([...path, key]) };
904
954
  }
905
955
  }
906
956
  for (const [key, value] of Object.entries(result)) {
@@ -936,6 +986,12 @@ function normalizePhoneStatus(value) {
936
986
  }
937
987
  return normalized;
938
988
  }
989
+ function normalizeSearchbugReassignedStatus(value) {
990
+ const normalized = normalizeString(value)?.toUpperCase();
991
+ if (normalized === "NO") return "valid";
992
+ if (normalized === "YES") return "invalid";
993
+ return "unknown";
994
+ }
939
995
  function normalizeJobChangeStatus(value) {
940
996
  if (typeof value === "boolean") return value ? "moved" : "no_change";
941
997
  const normalized = normalizeString(value)?.toLowerCase().replace(/[\s-]+/g, "_");
@@ -988,6 +1044,8 @@ function applyExtractorTransforms(value, descriptor) {
988
1044
  return (descriptor.transforms ?? []).reduce((current, transform) => {
989
1045
  if (transform.endsWith("emailStatus")) return normalizeEmailStatus(current);
990
1046
  if (transform.endsWith("phoneStatus")) return normalizePhoneStatus(current);
1047
+ if (transform === "searchbug.reassignedStatus")
1048
+ return normalizeSearchbugReassignedStatus(current);
991
1049
  if (transform === "jobChange") return normalizeJobChange(current);
992
1050
  if (transform === "jobChangeStatus")
993
1051
  return normalizeJobChangeStatus(current);
@@ -1094,7 +1152,9 @@ function buildTargets(result, extractors, targetGetters) {
1094
1152
  const semanticStatusTargets = /* @__PURE__ */ new Set();
1095
1153
  for (const [target, descriptor] of Object.entries(extractors ?? {})) {
1096
1154
  const isSemanticStatus = descriptor.emailStatus !== void 0 || descriptor.transforms?.some(
1097
- (transform) => /(emailStatus|phoneStatus|jobChange(?:Status)?)$/.test(transform)
1155
+ (transform) => /(emailStatus|phoneStatus|reassignedStatus|jobChange(?:Status)?)$/.test(
1156
+ transform
1157
+ )
1098
1158
  ) === true;
1099
1159
  if (isSemanticStatus) semanticStatusTargets.add(target);
1100
1160
  else declaredTargetPaths.set(target, descriptor.paths);
@@ -1103,7 +1163,11 @@ function buildTargets(result, extractors, targetGetters) {
1103
1163
  targets[target] = emailStatusTarget;
1104
1164
  continue;
1105
1165
  }
1106
- const fromExtractor = findFirstTargetByPath(result, descriptor.paths);
1166
+ const fromExtractor = findFirstTargetByPath(
1167
+ result,
1168
+ descriptor.paths,
1169
+ target
1170
+ );
1107
1171
  if (!fromExtractor) {
1108
1172
  const explicitNull = isSemanticStatus ? null : findFirstExplicitNullTargetByPath(result, descriptor.paths);
1109
1173
  if (explicitNull) targets[target] = explicitNull;
@@ -1126,7 +1190,11 @@ function buildTargets(result, extractors, targetGetters) {
1126
1190
  target,
1127
1191
  targetGetters?.[target] ?? declaredTargetPaths.get(target) ?? []
1128
1192
  );
1129
- const fromMetadata = findFirstTargetByPath(result, targetGetters?.[target]);
1193
+ const fromMetadata = findFirstTargetByPath(
1194
+ result,
1195
+ targetGetters?.[target],
1196
+ target
1197
+ );
1130
1198
  if (fromMetadata) {
1131
1199
  targets[target] = fromMetadata;
1132
1200
  continue;
@@ -1620,23 +1688,25 @@ var DeeplineContext = class {
1620
1688
  * ```
1621
1689
  */
1622
1690
  get tools() {
1691
+ const call = async (toolId, input, options) => {
1692
+ const response = await this.client.executeTool(toolId, input, {
1693
+ includeToolMetadata: true,
1694
+ responseIntent: "dataset",
1695
+ ...options
1696
+ });
1697
+ return toolExecutionEnvelopeToResult(toolId, response, {
1698
+ client: this.client,
1699
+ input
1700
+ });
1701
+ };
1623
1702
  return {
1624
1703
  /** List all available tools. */
1625
1704
  list: () => this.client.listTools(),
1626
1705
  /** Get detailed metadata for a tool. */
1627
1706
  get: (toolId) => this.client.getTool(toolId),
1628
- /** Execute a tool and return the standard execution envelope. */
1629
- execute: async (toolId, input, options) => {
1630
- const response = await this.client.executeTool(toolId, input, {
1631
- includeToolMetadata: true,
1632
- responseIntent: "dataset",
1633
- ...options
1634
- });
1635
- return toolExecutionEnvelopeToResult(toolId, response, {
1636
- client: this.client,
1637
- input
1638
- });
1639
- }
1707
+ call,
1708
+ /** Compatibility spelling for the same tool operation. */
1709
+ execute: call
1640
1710
  };
1641
1711
  }
1642
1712
  /** Durable state for recoverable direct tool executions. */
@@ -2172,6 +2242,7 @@ export {
2172
2242
  AuthError,
2173
2243
  ConfigError,
2174
2244
  CtxFetchHttpError,
2245
+ CustomerDbQueryOutcomeUnknownError,
2175
2246
  DEEPLINE_EXTRACTOR_TARGETS,
2176
2247
  DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS,
2177
2248
  DEEPLINE_TOOL_CATEGORIES,
@@ -2231,6 +2302,9 @@ export {
2231
2302
  lintMonitorBatchInput,
2232
2303
  lintMonitorFleetInput,
2233
2304
  lintMonitorSpecTemplate,
2305
+ pinLocalPlayImports,
2306
+ planCustomerDbQuery,
2307
+ planLocalPlayExecution,
2234
2308
  renderMonitorSpecTemplate,
2235
2309
  resolveConfig,
2236
2310
  runIf,
@@ -8,6 +8,7 @@
8
8
  "dist/bundling-sources/sdk/src/compat.ts",
9
9
  "dist/bundling-sources/sdk/src/config.ts",
10
10
  "dist/bundling-sources/sdk/src/csv-header-matching.ts",
11
+ "dist/bundling-sources/sdk/src/db/query.ts",
11
12
  "dist/bundling-sources/sdk/src/deployment-protection.ts",
12
13
  "dist/bundling-sources/sdk/src/errors.ts",
13
14
  "dist/bundling-sources/sdk/src/gtm.ts",
@@ -20,10 +21,12 @@
20
21
  "dist/bundling-sources/sdk/src/monitors.ts",
21
22
  "dist/bundling-sources/sdk/src/pagination.ts",
22
23
  "dist/bundling-sources/sdk/src/play.ts",
24
+ "dist/bundling-sources/sdk/src/plays/authoring-graph-path.ts",
23
25
  "dist/bundling-sources/sdk/src/plays/bundle-play-file.ts",
24
26
  "dist/bundling-sources/sdk/src/plays/csv-data-input.ts",
25
27
  "dist/bundling-sources/sdk/src/plays/input-example.ts",
26
28
  "dist/bundling-sources/sdk/src/plays/local-file-discovery.ts",
29
+ "dist/bundling-sources/sdk/src/plays/local-play-execution.ts",
27
30
  "dist/bundling-sources/sdk/src/plays/run-request.ts",
28
31
  "dist/bundling-sources/sdk/src/release.ts",
29
32
  "dist/bundling-sources/sdk/src/runs/log-cursor.ts",
@@ -594,143 +597,147 @@
594
597
  "dist/bundling-sources/shared_libs/security/secret-redaction.ts",
595
598
  "dist/bundling-sources/shared_libs/security/slack-sanitize.ts",
596
599
  "dist/bundling-sources/shared_libs/tool-execution-error.ts",
597
- "dist/cli/auth-PIZESRPC.mjs",
598
- "dist/cli/auth-RXCD4GOV.js",
599
- "dist/cli/billing-DQKFCQV5.js",
600
- "dist/cli/billing-HSL6VTCM.mjs",
600
+ "dist/cli/auth-67YOPQ6M.js",
601
+ "dist/cli/auth-EBBDOKNV.mjs",
602
+ "dist/cli/billing-6AAB7WPJ.js",
603
+ "dist/cli/billing-IM2QUFX4.mjs",
601
604
  "dist/cli/chunk-2HKPAZVJ.js",
605
+ "dist/cli/chunk-3ITDKXNC.mjs",
602
606
  "dist/cli/chunk-3KC45UVF.js",
607
+ "dist/cli/chunk-3MXRNPBN.js",
603
608
  "dist/cli/chunk-3XX5TEA4.js",
604
609
  "dist/cli/chunk-4MBOJQPL.mjs",
605
- "dist/cli/chunk-5FHU7TV4.mjs",
610
+ "dist/cli/chunk-4TO56P22.js",
611
+ "dist/cli/chunk-4ZARCCPT.js",
606
612
  "dist/cli/chunk-5JLQPVNX.js",
607
- "dist/cli/chunk-5TYU3UIS.mjs",
608
613
  "dist/cli/chunk-6IKARAYD.mjs",
609
- "dist/cli/chunk-6RMKHN7S.mjs",
610
- "dist/cli/chunk-6VZDSBK6.mjs",
611
- "dist/cli/chunk-76VKBPOC.mjs",
612
- "dist/cli/chunk-7MD453WV.mjs",
614
+ "dist/cli/chunk-77RAV5XX.js",
613
615
  "dist/cli/chunk-7P5AA3SN.js",
614
- "dist/cli/chunk-7PZFGB7L.mjs",
615
- "dist/cli/chunk-AQUNQJ5Y.mjs",
616
+ "dist/cli/chunk-7RCJDAJX.js",
617
+ "dist/cli/chunk-A5SKM3GL.mjs",
618
+ "dist/cli/chunk-AFNEQ43J.js",
619
+ "dist/cli/chunk-AGH6YP2T.js",
620
+ "dist/cli/chunk-AID3OYVJ.js",
616
621
  "dist/cli/chunk-AYHLUHE5.js",
617
622
  "dist/cli/chunk-CBVIJSHF.mjs",
623
+ "dist/cli/chunk-CCRQ2VGJ.mjs",
624
+ "dist/cli/chunk-CISKBOXD.js",
618
625
  "dist/cli/chunk-COGTRVWW.js",
619
- "dist/cli/chunk-CV5GDCKN.js",
626
+ "dist/cli/chunk-D6GD5AVN.mjs",
627
+ "dist/cli/chunk-DCAU6PND.mjs",
620
628
  "dist/cli/chunk-DLIRSHV6.mjs",
621
- "dist/cli/chunk-DLW7X2UK.js",
629
+ "dist/cli/chunk-DM3SHV6U.js",
630
+ "dist/cli/chunk-DSDX6EUW.js",
631
+ "dist/cli/chunk-DVV4FPS7.mjs",
622
632
  "dist/cli/chunk-EDWJY6T4.mjs",
623
633
  "dist/cli/chunk-EXMLR72R.mjs",
634
+ "dist/cli/chunk-F45425TB.mjs",
635
+ "dist/cli/chunk-G5774EFF.mjs",
624
636
  "dist/cli/chunk-GAMFK2ZP.mjs",
625
- "dist/cli/chunk-H5TJBRSC.mjs",
637
+ "dist/cli/chunk-GVESPYSY.mjs",
626
638
  "dist/cli/chunk-H7HIDGZ7.mjs",
627
- "dist/cli/chunk-HPTQEWCF.js",
628
- "dist/cli/chunk-HUKWYHBG.js",
639
+ "dist/cli/chunk-HOWQKN6J.mjs",
629
640
  "dist/cli/chunk-HUZXWOSK.mjs",
641
+ "dist/cli/chunk-HZZJR2GV.js",
630
642
  "dist/cli/chunk-I5YZLGMG.js",
631
643
  "dist/cli/chunk-ITOFSXIU.mjs",
632
644
  "dist/cli/chunk-J5NA2TTX.js",
633
645
  "dist/cli/chunk-JNNOCMQY.js",
634
- "dist/cli/chunk-K7FC5IUU.js",
646
+ "dist/cli/chunk-JOA6IKDE.mjs",
635
647
  "dist/cli/chunk-KP7W5NO6.mjs",
636
648
  "dist/cli/chunk-KRD6H754.mjs",
637
- "dist/cli/chunk-KZNFYOHX.js",
638
649
  "dist/cli/chunk-LA46MMTL.js",
650
+ "dist/cli/chunk-LVEDPCLJ.js",
639
651
  "dist/cli/chunk-MIMASXO4.mjs",
640
- "dist/cli/chunk-MNKDSR2J.js",
641
- "dist/cli/chunk-NWBARG3F.mjs",
652
+ "dist/cli/chunk-MOP6D7Z5.js",
653
+ "dist/cli/chunk-NWIJLTRL.js",
642
654
  "dist/cli/chunk-NXDRDJ4K.js",
643
655
  "dist/cli/chunk-NXGCO4JB.mjs",
644
656
  "dist/cli/chunk-OG64RBAC.js",
645
- "dist/cli/chunk-OOPSX57I.js",
646
- "dist/cli/chunk-OPERWJR6.mjs",
647
- "dist/cli/chunk-OWJZUE3Y.mjs",
648
- "dist/cli/chunk-PBNZXZCW.js",
649
- "dist/cli/chunk-PVDQ55PS.js",
650
- "dist/cli/chunk-PWV2M4LW.mjs",
657
+ "dist/cli/chunk-OVDNJAJN.mjs",
651
658
  "dist/cli/chunk-QJBJZVG6.js",
652
- "dist/cli/chunk-QQ2FG5W3.js",
659
+ "dist/cli/chunk-QZAP5VOS.mjs",
660
+ "dist/cli/chunk-REP2MYBI.mjs",
661
+ "dist/cli/chunk-RSEVBSFE.mjs",
653
662
  "dist/cli/chunk-S6R3OX7B.js",
654
- "dist/cli/chunk-SDK3ZA2C.js",
655
663
  "dist/cli/chunk-SFLARO4Y.mjs",
656
664
  "dist/cli/chunk-TAC3JIFE.mjs",
665
+ "dist/cli/chunk-TAGHNT5P.js",
657
666
  "dist/cli/chunk-UFS752TU.mjs",
658
667
  "dist/cli/chunk-UNEMDKXN.js",
659
- "dist/cli/chunk-UYFWTIKF.js",
668
+ "dist/cli/chunk-UROXKPND.js",
660
669
  "dist/cli/chunk-WJYPBHTE.js",
661
670
  "dist/cli/chunk-WOHBA5PV.js",
662
- "dist/cli/chunk-WW4XZIVM.mjs",
663
671
  "dist/cli/chunk-WXLOW623.mjs",
664
672
  "dist/cli/chunk-WZYKRD7T.mjs",
665
- "dist/cli/chunk-XIVUB36F.mjs",
666
- "dist/cli/chunk-XNL3SEMC.js",
667
673
  "dist/cli/chunk-XNYIZMNQ.js",
668
- "dist/cli/chunk-XSEMQ4II.js",
669
- "dist/cli/chunk-YE3O2UHM.mjs",
670
- "dist/cli/chunk-YXRPWMGN.js",
671
- "dist/cli/client-562MULXK.js",
672
- "dist/cli/client-57SR4KVM.mjs",
673
- "dist/cli/csv-5DJSC6BD.js",
674
- "dist/cli/csv-G2FRMOXL.mjs",
675
- "dist/cli/db-NVO7P4VO.js",
676
- "dist/cli/db-WWZEXM3N.mjs",
677
- "dist/cli/describe-26OMF3A4.mjs",
678
- "dist/cli/describe-M26LHDBQ.js",
679
- "dist/cli/executions-2LLHY3IL.mjs",
680
- "dist/cli/executions-KI47LPKE.js",
681
- "dist/cli/feedback-2Y26C2BZ.js",
682
- "dist/cli/feedback-O26VL2OF.mjs",
674
+ "dist/cli/chunk-YIY74KUF.mjs",
675
+ "dist/cli/chunk-ZOFARJWH.mjs",
676
+ "dist/cli/client-7LZCG4VD.js",
677
+ "dist/cli/client-JCMSACT4.mjs",
678
+ "dist/cli/csv-NPMWVM5D.mjs",
679
+ "dist/cli/csv-OILKDKUX.js",
680
+ "dist/cli/db-AZUAOWPQ.mjs",
681
+ "dist/cli/db-MNDRYYEX.js",
682
+ "dist/cli/describe-KJWOHMKC.mjs",
683
+ "dist/cli/describe-QENLDLM2.js",
684
+ "dist/cli/executions-P36UHBPG.js",
685
+ "dist/cli/executions-QZNQWF6F.mjs",
686
+ "dist/cli/feedback-K4UGTLFD.js",
687
+ "dist/cli/feedback-RQ6HSZSG.mjs",
683
688
  "dist/cli/getting-started.d.mts",
684
689
  "dist/cli/getting-started.d.ts",
685
690
  "dist/cli/getting-started.js",
686
691
  "dist/cli/getting-started.mjs",
687
- "dist/cli/git-KGPX5YPD.js",
688
- "dist/cli/git-UVPGZN3K.mjs",
692
+ "dist/cli/git-PBRMCBMI.mjs",
693
+ "dist/cli/git-RPFH3NJ2.js",
689
694
  "dist/cli/index.d.mts",
690
695
  "dist/cli/index.d.ts",
691
696
  "dist/cli/index.js",
692
697
  "dist/cli/index.mjs",
693
- "dist/cli/legacy-noops-H6Y3SEVB.js",
694
- "dist/cli/legacy-noops-IK5CH72U.mjs",
695
- "dist/cli/monitors-JL6TTQCI.js",
696
- "dist/cli/monitors-SFVVMAJT.mjs",
697
- "dist/cli/org-OVMAZCQS.js",
698
- "dist/cli/org-SSDONL57.mjs",
699
- "dist/cli/play-3DB4MSHN.js",
700
- "dist/cli/play-X6NPACUO.mjs",
701
- "dist/cli/providers-E24JDWSR.js",
702
- "dist/cli/providers-ONUBYYY4.mjs",
698
+ "dist/cli/legacy-noops-G7GWJ5UC.mjs",
699
+ "dist/cli/legacy-noops-X74FM35Q.js",
700
+ "dist/cli/monitors-KL2MCR57.mjs",
701
+ "dist/cli/monitors-VKURX3YM.js",
702
+ "dist/cli/org-DT53KTNW.mjs",
703
+ "dist/cli/org-ZYXJDC44.js",
704
+ "dist/cli/play-BUQV47E2.js",
705
+ "dist/cli/play-WIJGQYTB.mjs",
706
+ "dist/cli/providers-GRTW4TXX.js",
707
+ "dist/cli/providers-GYGKGS2J.mjs",
703
708
  "dist/cli/proxy-env-NWUIGWS3.mjs",
704
709
  "dist/cli/proxy-env-ZV2WZFAT.js",
705
- "dist/cli/quickstart-B7NIXACV.mjs",
706
- "dist/cli/quickstart-TB7C3DLG.js",
707
- "dist/cli/search-N3QUIATW.mjs",
708
- "dist/cli/search-NJ637YGQ.js",
709
- "dist/cli/secrets-CPCVFDYB.js",
710
- "dist/cli/secrets-V7Z4M67T.mjs",
711
- "dist/cli/sessions-E4FIZLQP.js",
712
- "dist/cli/sessions-PDOBKAKO.mjs",
713
- "dist/cli/settings-QYHYHZDI.mjs",
714
- "dist/cli/settings-UVM2WDE4.js",
715
- "dist/cli/setup-3JFAXQLJ.js",
716
- "dist/cli/setup-4RLAETDW.mjs",
717
- "dist/cli/skills-BYRYG64R.js",
718
- "dist/cli/skills-ZX2JSWOZ.mjs",
710
+ "dist/cli/quickstart-WB26543C.js",
711
+ "dist/cli/quickstart-XF3M2M2S.mjs",
712
+ "dist/cli/search-ANJLTOF2.mjs",
713
+ "dist/cli/search-CR2GZLCM.js",
714
+ "dist/cli/secrets-5KBUGMTK.js",
715
+ "dist/cli/secrets-D6UR5CTW.mjs",
716
+ "dist/cli/sessions-46PXFULL.js",
717
+ "dist/cli/sessions-S7N4JEWK.mjs",
718
+ "dist/cli/settings-KMNBITSU.js",
719
+ "dist/cli/settings-V6U3SRTH.mjs",
720
+ "dist/cli/setup-4K5FY6AU.js",
721
+ "dist/cli/setup-OGITSLTN.mjs",
722
+ "dist/cli/skills-4FP2MZKL.js",
723
+ "dist/cli/skills-AXWAYPBY.mjs",
719
724
  "dist/cli/text-imports.d.ts",
720
- "dist/cli/tools-EGXCVIPJ.mjs",
721
- "dist/cli/tools-TAWOAY5X.js",
722
- "dist/cli/update-7FEKRQFE.mjs",
723
- "dist/cli/update-H24GEBXM.js",
724
- "dist/cli/workflow-54VCKIG2.js",
725
- "dist/cli/workflow-7V7TTTKK.mjs",
726
- "dist/client-Bb4Jjzmj.d.ts",
727
- "dist/client-COa-3GHK.d.mts",
728
- "dist/compiler-manifest-CsnWj-AK.d.mts",
729
- "dist/compiler-manifest-CsnWj-AK.d.ts",
725
+ "dist/cli/tools-7YZPH6WC.js",
726
+ "dist/cli/tools-LJCY6B23.mjs",
727
+ "dist/cli/update-3VUOW6AP.js",
728
+ "dist/cli/update-DDR5XIUB.mjs",
729
+ "dist/cli/workflow-7CTCDWL3.js",
730
+ "dist/cli/workflow-PRNCVANQ.mjs",
731
+ "dist/client-DHq8dJ56.d.ts",
732
+ "dist/client-wiWPZhnI.d.mts",
733
+ "dist/compiler-manifest-9TkZ_ykI.d.mts",
734
+ "dist/compiler-manifest-9TkZ_ykI.d.ts",
730
735
  "dist/helpers.d.mts",
731
736
  "dist/helpers.d.ts",
732
737
  "dist/helpers.js",
733
738
  "dist/helpers.mjs",
739
+ "dist/index-B-5_Xhud.d.mts",
740
+ "dist/index-ykksoEyR.d.ts",
734
741
  "dist/index.d.mts",
735
742
  "dist/index.d.ts",
736
743
  "dist/index.js",
@@ -1,81 +1,13 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { P as PlayArtifactKind, a as PlayBundleArtifact, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-CsnWj-AK.mjs';
3
- export { d as PLAY_ARTIFACT_KINDS, e as PlayArtifactCompatibility, f as PlayImportPolicy, g as PlayPackageImport, h as PlayRuntimeFeature } from '../compiler-manifest-CsnWj-AK.mjs';
2
+ import { B as BundledPlayFileResult, a as BundlePlayFileOptions, P as PlayBundlingAdapter } from '../index-B-5_Xhud.mjs';
3
+ export { b as BundledPlayFileSuccess, I as ImportedPlayDependency, c as PlayLocalFileDiscoveryError, d as PlayLocalFileReference, e as extractDefinedPlayName } from '../index-B-5_Xhud.mjs';
4
+ export { P as PLAY_ARTIFACT_KINDS, a as PlayArtifactCompatibility, b as PlayBundleArtifact, c as PlayImportPolicy, d as PlayPackageImport, e as PlayRuntimeFeature } from '../compiler-manifest-9TkZ_ykI.mjs';
4
5
  import '@sinclair/typebox';
5
6
 
6
- type ImportedPlayDependency = {
7
- filePath: string;
8
- playName: string;
9
- };
10
- type PlayLocalFileReference = {
11
- sourceFragment: string;
12
- logicalPath: string;
13
- absolutePath: string;
14
- bytes: number;
15
- contentHash: string;
16
- contentType: string;
17
- };
18
- type PlayLocalFileDiscoveryError = {
19
- sourceFragment: string;
20
- message: string;
21
- };
22
- type PlayLocalFileDiscoveryResult = {
23
- files: PlayLocalFileReference[];
24
- unresolved: PlayLocalFileDiscoveryError[];
25
- };
26
- type PlayBundlingAdapter = {
27
- projectRoot: string;
28
- /**
29
- * Optional root that makes the artifact independent of where it was built:
30
- * source paths in the graph hash and esbuild's working directory (which it
31
- * writes into every module-header comment, and so into `artifactHash`) are
32
- * both taken relative to it instead of to the build's absolute location.
33
- */
34
- sourceIdentityRoot?: string;
35
- nodeModulesDir: string;
36
- /** null disables disk caching (for ephemeral serverless build invocations). */
37
- cacheDir?: string | null;
38
- sdkSourceRoot: string;
39
- sdkPackageJson: string;
40
- sdkEntryFile: string;
41
- sdkTypesEntryFile?: string;
42
- discoverPackagedLocalFiles(filePath: string): Promise<PlayLocalFileDiscoveryResult>;
43
- typecheckPlaySource?(input: {
44
- sourceCode: string;
45
- sourcePath: string;
46
- importedFilePaths: string[];
47
- }): Promise<string[]> | string[];
48
- warnAboutNonDevelopmentBundling?(filePath: string): void;
49
- };
50
- type BundledPlayFileSuccess = {
51
- success: true;
52
- artifact: PlayBundleArtifact;
53
- sourceCode: string;
54
- sourceFiles: Record<string, string>;
55
- filePath: string;
56
- playName: string | null;
57
- playDescription: string | null;
58
- sandboxRuntimeDeclaration: PlaySandboxRuntimeDeclaration | null;
59
- compilerManifest?: PlayCompilerManifest;
60
- packagedFiles: PlayLocalFileReference[];
61
- unresolvedFileReferences: PlayLocalFileDiscoveryError[];
62
- importedPlayDependencies: ImportedPlayDependency[];
63
- };
64
- type BundledPlayFileFailure = {
65
- success: false;
66
- errors: string[];
67
- filePath: string;
68
- };
69
- type BundledPlayFileResult = BundledPlayFileSuccess | BundledPlayFileFailure;
70
- declare function extractDefinedPlayName(sourceCode: string): string | null;
71
- type BundlePlayFileOptions = {
72
- /** Must be `cjs_node20`; retained as an explicit compile-contract assertion. */
73
- target?: PlayArtifactKind;
74
- exportName?: string;
75
- };
76
-
77
7
  declare function createSdkPlayBundlingAdapter(): PlayBundlingAdapter;
78
- declare function bundlePlayFile(filePath: string, options?: BundlePlayFileOptions): Promise<BundledPlayFileResult>;
8
+ declare function bundlePlayFile(filePath: string, options?: BundlePlayFileOptions & {
9
+ cache?: boolean;
10
+ }): Promise<BundledPlayFileResult>;
79
11
  /**
80
12
  * One play of a directory deploy (`deepline plays deploy`), bundled exactly
81
13
  * as the managed deploy worker bundles it: the Node 20 CJS target, file
@@ -87,4 +19,4 @@ declare function bundleDeployPlayFile(entryFile: string, options: {
87
19
  sourceIdentityRoot: string;
88
20
  }): Promise<BundledPlayFileResult>;
89
21
 
90
- export { type BundlePlayFileOptions, type BundledPlayFileResult, type BundledPlayFileSuccess, type ImportedPlayDependency, PlayBundleArtifact, type PlayLocalFileDiscoveryError, type PlayLocalFileReference, bundleDeployPlayFile, bundlePlayFile, createSdkPlayBundlingAdapter, extractDefinedPlayName };
22
+ export { BundlePlayFileOptions, BundledPlayFileResult, bundleDeployPlayFile, bundlePlayFile, createSdkPlayBundlingAdapter };