deepline 0.3.508 → 0.3.510

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +7 -2
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
  5. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +94 -43
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +111 -27
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +79 -6
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +80 -6
  9. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-transient-retry.ts +571 -0
  10. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
  11. package/dist/cli/auth-S2Z5YMU3.js +43 -0
  12. package/dist/cli/{auth-2URIN52G.mjs → auth-USS2W3UV.mjs} +5 -5
  13. package/dist/cli/{billing-IW23GSR5.mjs → billing-JCUWM5XB.mjs} +7 -7
  14. package/dist/cli/{billing-R2HY2ZVJ.js → billing-LQQHU443.js} +82 -82
  15. package/dist/cli/{chunk-7PELFO3C.js → chunk-2JXEZAJF.js} +21 -21
  16. package/dist/cli/chunk-3LXU22UZ.js +77 -0
  17. package/dist/cli/{chunk-74UO7THC.js → chunk-4NJK6P5T.js} +4 -4
  18. package/dist/cli/{chunk-FXKKFM7J.js → chunk-4ZIIS6KG.js} +9 -9
  19. package/dist/cli/{chunk-63MCLOR2.mjs → chunk-563HM4D2.mjs} +6 -6
  20. package/dist/cli/{chunk-XSOLA2ED.mjs → chunk-5DU7RXDW.mjs} +4 -4
  21. package/dist/cli/{chunk-OWH7SSBO.mjs → chunk-5MYXW6M6.mjs} +2 -2
  22. package/dist/cli/{chunk-3BZ74K27.js → chunk-5N2HFB3G.js} +16 -16
  23. package/dist/cli/{chunk-2YOM5J3G.js → chunk-63DHG7BM.js} +26 -26
  24. package/dist/cli/{chunk-P7GOQTUN.js → chunk-6AL2VF3E.js} +14 -14
  25. package/dist/cli/{chunk-QBZECLNG.mjs → chunk-7BF4R26M.mjs} +3 -3
  26. package/dist/cli/{chunk-JRHMPZJX.js → chunk-7VQKU6MS.js} +7 -7
  27. package/dist/cli/{chunk-3C6VBHNW.mjs → chunk-7VT7RMZ2.mjs} +2 -2
  28. package/dist/cli/{chunk-M37I4A2Z.js → chunk-ASBWPRBN.js} +16 -16
  29. package/dist/cli/{chunk-3ZNPIJX6.js → chunk-B2T7PBS6.js} +41 -41
  30. package/dist/cli/{chunk-NC2FIUPX.mjs → chunk-B2U3LVSO.mjs} +1 -1
  31. package/dist/cli/{chunk-RNZQ7RDW.mjs → chunk-B6Q6BHSY.mjs} +2 -2
  32. package/dist/cli/{chunk-IZZ7FFWP.js → chunk-BPGFNVH2.js} +44 -44
  33. package/dist/cli/{chunk-2PYFXXYA.mjs → chunk-CLV4T5FN.mjs} +2 -2
  34. package/dist/cli/{chunk-JEB6BNIU.mjs → chunk-DEPBCRKG.mjs} +15 -4
  35. package/dist/cli/{chunk-DZ7JCRAL.mjs → chunk-DMF56C6D.mjs} +2 -2
  36. package/dist/cli/{chunk-RWXHMG6F.js → chunk-EEQ2QQOH.js} +21 -10
  37. package/dist/cli/{chunk-UDH3YMBI.mjs → chunk-EJ57CA2L.mjs} +1 -1
  38. package/dist/cli/{chunk-JYNHHO3J.js → chunk-F6IXWFPF.js} +6 -6
  39. package/dist/cli/{chunk-DWV7KM6H.mjs → chunk-FFPLCSTZ.mjs} +10 -10
  40. package/dist/cli/{chunk-VXNL4HLE.mjs → chunk-FND6GZZ4.mjs} +5 -5
  41. package/dist/cli/{chunk-D73YB5NQ.js → chunk-HC27PYJM.js} +2 -2
  42. package/dist/cli/{chunk-FRT5MFLF.mjs → chunk-HOKOJGQW.mjs} +1 -1
  43. package/dist/cli/{chunk-AYNO4VFW.js → chunk-JNECQ5QF.js} +11 -11
  44. package/dist/cli/chunk-JVEU6MXD.mjs +77 -0
  45. package/dist/cli/{chunk-ZLIAUR2E.js → chunk-JY73USD7.js} +2 -2
  46. package/dist/cli/{chunk-K4RME7AV.mjs → chunk-KXSOZYCS.mjs} +1 -1
  47. package/dist/cli/{chunk-ESVK4Z7S.js → chunk-LF3FF2B2.js} +1 -1
  48. package/dist/cli/{chunk-63BGKU3A.js → chunk-N7FV7OM3.js} +96 -96
  49. package/dist/cli/{chunk-Q4I5YKN4.mjs → chunk-OEG6VCK4.mjs} +1 -1
  50. package/dist/cli/{chunk-2LY42EZJ.mjs → chunk-PQ56GE55.mjs} +1 -1
  51. package/dist/cli/{chunk-GRGZKXLL.mjs → chunk-Q5EJO4TE.mjs} +5 -5
  52. package/dist/cli/{chunk-N5HRBS4K.js → chunk-QRQBKLOM.js} +3 -3
  53. package/dist/cli/{chunk-4DAR2GYV.mjs → chunk-RHKFNEV2.mjs} +2 -2
  54. package/dist/cli/{chunk-C6TP4DR3.mjs → chunk-UV524JZ5.mjs} +1 -1
  55. package/dist/cli/{chunk-KSQO32L5.mjs → chunk-V6DLYRSO.mjs} +1 -1
  56. package/dist/cli/{chunk-J3LJ37WD.js → chunk-VPJSQMWQ.js} +3 -3
  57. package/dist/cli/{chunk-3XBI4KZM.mjs → chunk-WAOLTP6R.mjs} +2 -2
  58. package/dist/cli/{chunk-JXYVBF5L.mjs → chunk-WC5754QJ.mjs} +5 -5
  59. package/dist/cli/{chunk-RUD77W2Y.js → chunk-XJZU7KO4.js} +5 -5
  60. package/dist/cli/{chunk-GDHLL5EQ.js → chunk-XK3AJFYQ.js} +35 -10
  61. package/dist/cli/{chunk-JUYW6TSU.js → chunk-XL4FFVWL.js} +7 -7
  62. package/dist/cli/{chunk-ZL2ME3UT.js → chunk-XRLE2FPE.js} +6 -6
  63. package/dist/cli/{chunk-R4S2AK3Q.js → chunk-YDALHHUC.js} +53 -53
  64. package/dist/cli/{chunk-IF242BIJ.mjs → chunk-YYUVOUEH.mjs} +5 -5
  65. package/dist/cli/{chunk-TVADI7K5.js → chunk-ZCYV6MZH.js} +5 -5
  66. package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-ZRACZKEE.mjs} +35 -10
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/{csv-CMJSMC2I.mjs → csv-MTFVEDPU.mjs} +4 -4
  70. package/dist/cli/{csv-DPDO6BU6.js → csv-UXFQZLZM.js} +13 -13
  71. package/dist/cli/{db-SL3EFN6V.mjs → db-3WPUYCCI.mjs} +6 -6
  72. package/dist/cli/{db-PPPKNTT5.js → db-RGWT6B7K.js} +27 -27
  73. package/dist/cli/describe-LNCLA2LA.js +50 -0
  74. package/dist/cli/{describe-XLN33FJX.mjs → describe-XJY5654F.mjs} +18 -18
  75. package/dist/cli/{executions-6YDTV2J6.js → executions-IWTALFNB.js} +8 -8
  76. package/dist/cli/{executions-O6Z5B5NY.mjs → executions-PDE4V5YH.mjs} +6 -6
  77. package/dist/cli/{feedback-DP7LPWAD.mjs → feedback-BMOVTPC4.mjs} +11 -7
  78. package/dist/cli/{feedback-BZ434BN4.js → feedback-I72P4XZS.js} +15 -11
  79. package/dist/cli/{git-MI7E5WGL.mjs → git-QJG3EF4P.mjs} +5 -5
  80. package/dist/cli/git-QWH7SPGF.js +25 -0
  81. package/dist/cli/index.js +173 -156
  82. package/dist/cli/index.mjs +76 -59
  83. package/dist/cli/{legacy-noops-65WNPQVZ.js → legacy-noops-5P75CQC7.js} +9 -8
  84. package/dist/cli/{legacy-noops-6VYXF2MG.mjs → legacy-noops-MZ45GDMK.mjs} +6 -5
  85. package/dist/cli/{monitors-BYUCTVSC.js → monitors-5PHQZDZM.js} +100 -100
  86. package/dist/cli/{monitors-Y7I5ZVCN.mjs → monitors-VIOBUG2X.mjs} +7 -7
  87. package/dist/cli/{org-F2ASWTFY.js → org-B5LDVP2P.js} +72 -72
  88. package/dist/cli/{org-IW3YD6JZ.mjs → org-D5RTFJNY.mjs} +6 -6
  89. package/dist/cli/{pages-X6HLRQNV.js → pages-BUJYG3JL.js} +18 -18
  90. package/dist/cli/{pages-H2CXNIDB.mjs → pages-XWZL3YV2.mjs} +6 -6
  91. package/dist/cli/{play-LLEEDXRX.mjs → play-OSXLGCLZ.mjs} +93 -54
  92. package/dist/cli/{play-H2EM7DTI.js → play-SEC3EE7H.js} +468 -429
  93. package/dist/cli/{providers-BZR5JONN.mjs → providers-ENSURIW6.mjs} +6 -6
  94. package/dist/cli/{providers-6R2SPOEV.js → providers-RQPUASLI.js} +9 -9
  95. package/dist/cli/{quickstart-KVES7R6D.mjs → quickstart-HJTK6XWI.mjs} +4 -4
  96. package/dist/cli/{quickstart-PW7ONQUH.js → quickstart-XDTU4MAT.js} +6 -6
  97. package/dist/cli/{run-HVUQROBE.js → run-GX2SU5AT.js} +41 -41
  98. package/dist/cli/{run-RDI3Q6GO.mjs → run-ZMWSQAR2.mjs} +23 -23
  99. package/dist/cli/search-7WPABWYO.js +33 -0
  100. package/dist/cli/{search-3TJ24CUF.mjs → search-DZHZBHWT.mjs} +8 -8
  101. package/dist/cli/{search-output-JHT553SL.js → search-output-3JVZERNV.js} +6 -6
  102. package/dist/cli/{search-output-Y57OBQXX.mjs → search-output-MNHAR754.mjs} +4 -4
  103. package/dist/cli/{secrets-OZK7GRD5.mjs → secrets-VALVNVXB.mjs} +6 -6
  104. package/dist/cli/{secrets-U5JHWAXU.js → secrets-WO2LMDQ2.js} +15 -15
  105. package/dist/cli/sessions-2IA2DGWO.js +18 -0
  106. package/dist/cli/{sessions-D6DSEQ2T.mjs → sessions-EPYCH3AY.mjs} +6 -5
  107. package/dist/cli/{settings-DLPEHYGS.js → settings-OSF4O5HM.js} +109 -82
  108. package/dist/cli/{settings-ITLSLT2R.mjs → settings-W2ABZUD4.mjs} +39 -12
  109. package/dist/cli/{setup-Y5ZYEC6U.js → setup-DCXNQG6R.js} +50 -50
  110. package/dist/cli/{setup-XTYLF2CF.mjs → setup-XI2ERSMQ.mjs} +10 -10
  111. package/dist/cli/skills-QMD2WARJ.js +37 -0
  112. package/dist/cli/{skills-C4WCAVII.mjs → skills-ZO4AH2YR.mjs} +8 -8
  113. package/dist/cli/tools-53E6GBQU.js +57 -0
  114. package/dist/cli/{tools-ZESAPVOW.mjs → tools-FTECXZYA.mjs} +17 -17
  115. package/dist/cli/update-PPPNR6J5.js +35 -0
  116. package/dist/cli/{update-4PCKVDCS.mjs → update-WPFZO2JE.mjs} +10 -10
  117. package/dist/cli/{workflow-42CL4TVR.mjs → workflow-7X75IP3D.mjs} +7 -7
  118. package/dist/cli/{workflow-XXKXMPTI.js → workflow-PKMU33LV.js} +17 -17
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +105 -102
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.js +5 -5
  127. package/dist/server.mjs +3 -3
  128. package/package.json +1 -1
  129. package/dist/cli/auth-LFU77QDI.js +0 -43
  130. package/dist/cli/describe-JKZ67X3E.js +0 -50
  131. package/dist/cli/git-U5N6CTML.js +0 -25
  132. package/dist/cli/search-NKEEGLY6.js +0 -33
  133. package/dist/cli/sessions-PNMYAJNB.js +0 -17
  134. package/dist/cli/skills-K6FVG3BX.js +0 -37
  135. package/dist/cli/tools-LSALTN7I.js +0 -57
  136. package/dist/cli/update-P5KGNFNL.js +0 -35
@@ -5,7 +5,7 @@ import {
5
5
  parsePlayRunHeaderFlag,
6
6
  parsePlayRunOptions,
7
7
  resolvePlayRunCliOptions
8
- } from "./chunk-4DAR2GYV.mjs";
8
+ } from "./chunk-RHKFNEV2.mjs";
9
9
  import {
10
10
  ExecutionOutputError,
11
11
  TABLE_EXPORT_ERROR_COLUMN,
@@ -18,15 +18,15 @@ import {
18
18
  underscoreKeysLast,
19
19
  writeExecutionOutput,
20
20
  writeRunDatasetCsv
21
- } from "./chunk-C6TP4DR3.mjs";
21
+ } from "./chunk-UV524JZ5.mjs";
22
22
  import {
23
23
  registerDeprecatedSearchCommand
24
- } from "./chunk-JXYVBF5L.mjs";
24
+ } from "./chunk-WC5754QJ.mjs";
25
25
  import "./chunk-5AEDYVB6.mjs";
26
26
  import {
27
27
  handleDeploymentGet,
28
28
  handleDeploymentsList
29
- } from "./chunk-2PYFXXYA.mjs";
29
+ } from "./chunk-CLV4T5FN.mjs";
30
30
  import {
31
31
  buildPlayDashboardUrl,
32
32
  buildPlayRunUrl
@@ -51,10 +51,10 @@ import {
51
51
  import {
52
52
  pinLocalPlayImports,
53
53
  planLocalPlayExecution
54
- } from "./chunk-3C6VBHNW.mjs";
54
+ } from "./chunk-7VT7RMZ2.mjs";
55
55
  import {
56
56
  DeeplineClient
57
- } from "./chunk-OWH7SSBO.mjs";
57
+ } from "./chunk-5MYXW6M6.mjs";
58
58
  import {
59
59
  RUN_EVENT_SEARCH_KIND_VALUES,
60
60
  RunEventQueryInputError,
@@ -67,7 +67,7 @@ import {
67
67
  normalizePlayStatus,
68
68
  normalizeRunEventOperationRequest,
69
69
  parseLogLevel
70
- } from "./chunk-Q4I5YKN4.mjs";
70
+ } from "./chunk-OEG6VCK4.mjs";
71
71
  import "./chunk-L2VKAASU.mjs";
72
72
  import {
73
73
  CSV_DATA_INPUT_KEY,
@@ -78,6 +78,7 @@ import {
78
78
  fileInputBindingsFromPlaySchema,
79
79
  fileInputBindingsFromStaticPipeline,
80
80
  isPlayRunPackage,
81
+ playRunFileInputBindings,
81
82
  sqlSafePlayColumnName,
82
83
  stageFileInputs,
83
84
  stagedFileContentType
@@ -90,19 +91,19 @@ import "./chunk-BMCRTI6Z.mjs";
90
91
  import {
91
92
  checkPlayRunCompatibility,
92
93
  usesCliPlayAdmission
93
- } from "./chunk-RNZQ7RDW.mjs";
94
+ } from "./chunk-B6Q6BHSY.mjs";
94
95
  import {
95
96
  isCliTraceEnabled,
96
97
  recordCliTrace,
97
98
  resolveCliMaintenancePolicy,
98
99
  traceCliSpan
99
- } from "./chunk-UDH3YMBI.mjs";
100
- import "./chunk-GRGZKXLL.mjs";
100
+ } from "./chunk-EJ57CA2L.mjs";
101
+ import "./chunk-Q5EJO4TE.mjs";
101
102
  import {
102
103
  createCliProgress,
103
104
  getActiveCliProgress
104
- } from "./chunk-NC2FIUPX.mjs";
105
- import "./chunk-3XBI4KZM.mjs";
105
+ } from "./chunk-B2U3LVSO.mjs";
106
+ import "./chunk-WAOLTP6R.mjs";
106
107
  import {
107
108
  formatNonStandardSandboxRuntimeWarning
108
109
  } from "./chunk-5LUF4LAR.mjs";
@@ -122,17 +123,17 @@ import {
122
123
  printJsonError,
123
124
  renderCommandEnvelopeText,
124
125
  shouldEmitJson
125
- } from "./chunk-DZ7JCRAL.mjs";
126
- import "./chunk-FRT5MFLF.mjs";
126
+ } from "./chunk-DMF56C6D.mjs";
127
+ import "./chunk-HOKOJGQW.mjs";
127
128
  import {
128
129
  fetchWithDeploymentProtection
129
- } from "./chunk-2LY42EZJ.mjs";
130
+ } from "./chunk-PQ56GE55.mjs";
130
131
  import "./chunk-4QF2K7TM.mjs";
131
132
  import "./chunk-DLIRSHV6.mjs";
132
133
  import {
133
134
  DeeplineError
134
135
  } from "./chunk-HBL4PM5Q.mjs";
135
- import "./chunk-KSQO32L5.mjs";
136
+ import "./chunk-V6DLYRSO.mjs";
136
137
  import "./chunk-WZYKRD7T.mjs";
137
138
  import {
138
139
  __commonJS,
@@ -334,8 +335,8 @@ var require_constants = __commonJS({
334
335
  /**
335
336
  * Create GLOB_CHARS
336
337
  */
337
- globChars(win32) {
338
- return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
338
+ globChars(win322) {
339
+ return win322 === true ? WINDOWS_CHARS : POSIX_CHARS;
339
340
  }
340
341
  };
341
342
  }
@@ -1257,9 +1258,9 @@ var require_parse = __commonJS({
1257
1258
  const idx = prev.value.lastIndexOf("[");
1258
1259
  const pre = prev.value.slice(0, idx);
1259
1260
  const rest2 = prev.value.slice(idx + 2);
1260
- const posix = POSIX_REGEX_SOURCE[rest2];
1261
- if (posix) {
1262
- prev.value = pre + posix;
1261
+ const posix2 = POSIX_REGEX_SOURCE[rest2];
1262
+ if (posix2) {
1263
+ prev.value = pre + posix2;
1263
1264
  state.backtrack = true;
1264
1265
  advance();
1265
1266
  if (!bos.output && tokens.indexOf(prev) === 1) {
@@ -1775,7 +1776,7 @@ var require_picomatch = __commonJS({
1775
1776
  throw new TypeError("Expected pattern to be a non-empty string");
1776
1777
  }
1777
1778
  const opts = options || {};
1778
- const posix = opts.windows;
1779
+ const posix2 = opts.windows;
1779
1780
  const regex = isState ? picomatch2.compileRe(glob, options) : picomatch2.makeRe(glob, options, false, true);
1780
1781
  const state = regex.state;
1781
1782
  delete regex.state;
@@ -1785,8 +1786,8 @@ var require_picomatch = __commonJS({
1785
1786
  isIgnored = picomatch2(opts.ignore, ignoreOpts, returnState);
1786
1787
  }
1787
1788
  const matcher = (input, returnObject = false) => {
1788
- const { isMatch, match, output } = picomatch2.test(input, regex, options, { glob, posix });
1789
- const result = { glob, state, regex, posix, input, output, match, isMatch };
1789
+ const { isMatch, match, output } = picomatch2.test(input, regex, options, { glob, posix: posix2 });
1790
+ const result = { glob, state, regex, posix: posix2, input, output, match, isMatch };
1790
1791
  if (typeof opts.onResult === "function") {
1791
1792
  opts.onResult(result);
1792
1793
  }
@@ -1811,7 +1812,7 @@ var require_picomatch = __commonJS({
1811
1812
  }
1812
1813
  return matcher;
1813
1814
  };
1814
- picomatch2.test = (input, regex, options, { glob, posix } = {}) => {
1815
+ picomatch2.test = (input, regex, options, { glob, posix: posix2 } = {}) => {
1815
1816
  if (typeof input !== "string") {
1816
1817
  throw new TypeError("Expected input to be a string");
1817
1818
  }
@@ -1819,7 +1820,7 @@ var require_picomatch = __commonJS({
1819
1820
  return { isMatch: false, output: "" };
1820
1821
  }
1821
1822
  const opts = options || {};
1822
- const format = opts.format || (posix ? utils.toPosixSlashes : null);
1823
+ const format = opts.format || (posix2 ? utils.toPosixSlashes : null);
1823
1824
  let match = input === glob;
1824
1825
  let output = match && format ? format(input) : input;
1825
1826
  if (match === false) {
@@ -1828,16 +1829,16 @@ var require_picomatch = __commonJS({
1828
1829
  }
1829
1830
  if (match === false || opts.capture === true) {
1830
1831
  if (opts.matchBase === true || opts.basename === true) {
1831
- match = picomatch2.matchBase(input, regex, options, posix);
1832
+ match = picomatch2.matchBase(input, regex, options, posix2);
1832
1833
  } else {
1833
1834
  match = regex.exec(output);
1834
1835
  }
1835
1836
  }
1836
1837
  return { isMatch: Boolean(match), match, output };
1837
1838
  };
1838
- picomatch2.matchBase = (input, glob, options, posix = options && options.windows) => {
1839
+ picomatch2.matchBase = (input, glob, options, posix2 = options && options.windows) => {
1839
1840
  const regex = glob instanceof RegExp ? glob : picomatch2.makeRe(glob, options);
1840
- return regex.test(utils.basename(input, { windows: posix }));
1841
+ return regex.test(utils.basename(input, { windows: posix2 }));
1841
1842
  };
1842
1843
  picomatch2.isMatch = (str, patterns, options) => picomatch2(patterns, options)(str);
1843
1844
  picomatch2.parse = (pattern, options) => {
@@ -4013,11 +4014,11 @@ ${JSON.stringify(value, null, 2)}` : `${key}: ${String(value)}`
4013
4014
  import {
4014
4015
  existsSync,
4015
4016
  mkdirSync,
4016
- readFileSync,
4017
+ readFileSync as readFileSync2,
4017
4018
  readdirSync,
4018
4019
  realpathSync,
4019
4020
  rmSync,
4020
- statSync,
4021
+ statSync as statSync2,
4021
4022
  writeFileSync as writeFileSync2
4022
4023
  } from "fs";
4023
4024
  import {
@@ -4302,6 +4303,50 @@ async function runRunsResumeCommand(runId) {
4302
4303
  }
4303
4304
  }
4304
4305
 
4306
+ // src/cli/play-file-input-paths.ts
4307
+ import { readFileSync, statSync } from "fs";
4308
+ import * as nodePath from "path";
4309
+ function hostFileInputPathEnvironment() {
4310
+ return {
4311
+ path: nodePath,
4312
+ cwd: process.cwd(),
4313
+ isFile: (absolutePath) => {
4314
+ try {
4315
+ return statSync(absolutePath).isFile();
4316
+ } catch {
4317
+ return false;
4318
+ }
4319
+ },
4320
+ readFile: (absolutePath) => readFileSync(absolutePath)
4321
+ };
4322
+ }
4323
+ var URL_VALUE = /^[a-z][a-z0-9+.-]*:\/\//i;
4324
+ function isUnambiguousLocalFilePath(value) {
4325
+ const trimmed = value.trim();
4326
+ return nodePath.posix.isAbsolute(trimmed) || nodePath.win32.isAbsolute(trimmed) || /^\.\.?[\\/]/.test(trimmed) || trimmed.includes("\\");
4327
+ }
4328
+ function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvironment()) {
4329
+ if (typeof value !== "string") return null;
4330
+ const trimmed = value.trim();
4331
+ if (!trimmed || URL_VALUE.test(trimmed)) return null;
4332
+ const absolutePath = environment.path.resolve(environment.cwd, trimmed);
4333
+ if (environment.isFile(absolutePath)) {
4334
+ return {
4335
+ logicalPath: environment.path.basename(absolutePath),
4336
+ read: async () => environment.readFile(absolutePath)
4337
+ };
4338
+ }
4339
+ if (isUnambiguousLocalFilePath(trimmed)) {
4340
+ throw new DeeplineError(
4341
+ `Input ${binding.inputPath} is a local file path that is not a readable file: ${trimmed} (resolved to ${absolutePath}). Pass a readable file path or an https:// URL. No run was created.`,
4342
+ void 0,
4343
+ "PLAY_INPUT_FILE_PREFLIGHT",
4344
+ { inputPath: binding.inputPath, path: trimmed, resolved: absolutePath }
4345
+ );
4346
+ }
4347
+ return null;
4348
+ }
4349
+
4305
4350
  // ../plays/cascade-falloff.ts
4306
4351
  function cascadeFalloff(input) {
4307
4352
  const order = new Map(input.legs.map((leg, index) => [leg, index]));
@@ -7268,7 +7313,7 @@ function materializeRemotePlaySource(input) {
7268
7313
  if (!existsSync(outputPath2)) {
7269
7314
  writeFileSync2(outputPath2, sourceCode, "utf-8");
7270
7315
  created += 1;
7271
- } else if (readFileSync(outputPath2, "utf-8") !== sourceCode) {
7316
+ } else if (readFileSync2(outputPath2, "utf-8") !== sourceCode) {
7272
7317
  writeFileSync2(outputPath2, sourceCode, "utf-8");
7273
7318
  updated += 1;
7274
7319
  }
@@ -7282,7 +7327,7 @@ function materializeRemotePlaySource(input) {
7282
7327
  }
7283
7328
  const outputPath = input.outPath ?? defaultMaterializedPlayPath(input.playName);
7284
7329
  if (existsSync(outputPath)) {
7285
- const existingSource = readFileSync(outputPath, "utf-8");
7330
+ const existingSource = readFileSync2(outputPath, "utf-8");
7286
7331
  if (existingSource === entrySource) {
7287
7332
  return { path: outputPath, status: "unchanged", created: false };
7288
7333
  }
@@ -7381,7 +7426,7 @@ function parsePositiveInteger(value, flagName) {
7381
7426
  function isLocalFilePathValue(value) {
7382
7427
  if (typeof value !== "string" || !value.trim()) return false;
7383
7428
  if (/^[a-z][a-z0-9+.-]*:\/\//i.test(value.trim())) return false;
7384
- return existsSync(resolve3(value));
7429
+ return isUnambiguousLocalFilePath(value) || existsSync(resolve3(value));
7385
7430
  }
7386
7431
  function inputContainsLocalFilePath(value) {
7387
7432
  if (isLocalFilePathValue(value)) {
@@ -7480,7 +7525,7 @@ function preflightLocalFileInputs(runtimeInput) {
7480
7525
  }
7481
7526
  let stat2;
7482
7527
  try {
7483
- stat2 = statSync(absolutePath);
7528
+ stat2 = statSync2(absolutePath);
7484
7529
  } catch (error) {
7485
7530
  throw new DeeplineError(
7486
7531
  `Input ${ref.inputPath} references a local file that is not readable: ${ref.value} (${error instanceof Error ? error.message : String(error)}). No run was created.`,
@@ -7506,7 +7551,7 @@ function preflightLocalFileInputs(runtimeInput) {
7506
7551
  function preflightCsvDataInput(ref, absolutePath) {
7507
7552
  let content;
7508
7553
  try {
7509
- content = readFileSync(absolutePath, "utf-8");
7554
+ content = readFileSync2(absolutePath, "utf-8");
7510
7555
  } catch (error) {
7511
7556
  throw new DeeplineError(
7512
7557
  `Input ${ref.inputPath} CSV ${ref.value} is not readable: ${error instanceof Error ? error.message : String(error)}. No run was created.`,
@@ -7532,21 +7577,14 @@ async function stageFileInputArgs(input) {
7532
7577
  runtimeInput: input.runtimeInput,
7533
7578
  bindings: input.bindings,
7534
7579
  codec: NODE_STAGED_FILE_CODEC,
7535
- resolveLocalFile: (value) => {
7536
- if (!isLocalFilePathValue(value)) return null;
7537
- const absolutePath = resolve3(value);
7538
- return {
7539
- logicalPath: basename(absolutePath),
7540
- read: async () => readFileSync(absolutePath)
7541
- };
7542
- },
7580
+ resolveLocalFile: (value, binding) => resolveCliFileInput(value, binding),
7543
7581
  onStaging: (fileCount) => input.progress.phase(
7544
7582
  fileCount === 1 ? "staging input file" : "staging input files"
7545
7583
  )
7546
7584
  });
7547
7585
  }
7548
7586
  function stageFile(logicalPath, absolutePath) {
7549
- const buffer = readFileSync(absolutePath);
7587
+ const buffer = readFileSync2(absolutePath);
7550
7588
  return {
7551
7589
  logicalPath,
7552
7590
  contentBase64: buffer.toString("base64"),
@@ -12419,7 +12457,7 @@ async function handlePlayCheck(args) {
12419
12457
  }
12420
12458
  }
12421
12459
  const absolutePlayPath = resolve3(options.target);
12422
- const sourceCode = readFileSync(absolutePlayPath, "utf-8");
12460
+ const sourceCode = readFileSync2(absolutePlayPath, "utf-8");
12423
12461
  const outcomes = await checkPlayFileExports({ absolutePlayPath, sourceCode });
12424
12462
  const primary = outcomes.find(
12425
12463
  (outcome) => outcome.exportName === PLAY_DEFAULT_EXPORT
@@ -12563,7 +12601,7 @@ async function handleFileBackedRun(options, hooks) {
12563
12601
  const sourceCode = traceCliSync(
12564
12602
  "cli.play_file_read_source",
12565
12603
  { targetKind: "file" },
12566
- () => readFileSync(absolutePlayPath, "utf-8")
12604
+ () => readFileSync2(absolutePlayPath, "utf-8")
12567
12605
  );
12568
12606
  const runtimeInput = options.input ? { ...options.input } : {};
12569
12607
  try {
@@ -12674,9 +12712,10 @@ async function handleFileBackedRun(options, hooks) {
12674
12712
  (file) => stageFile(file.logicalPath, file.absolutePath)
12675
12713
  );
12676
12714
  const compilerManifest = bundleResult.compilerManifest ?? null;
12677
- const fileInputBindings = fileInputBindingsFromStaticPipeline(
12678
- compilerManifest?.staticPipeline
12679
- );
12715
+ const fileInputBindings = playRunFileInputBindings({
12716
+ inputSchema: compilerManifest?.authoringContract?.inputSchema,
12717
+ staticPipeline: compilerManifest?.staticPipeline
12718
+ });
12680
12719
  const stagedFileInputs = await traceCliSpan(
12681
12720
  "cli.play_stage_inputs",
12682
12721
  {
@@ -14913,7 +14952,7 @@ async function handlePlayGet(args) {
14913
14952
  return 2;
14914
14953
  }
14915
14954
  const playName = isFileTarget(target) ? await extractPlayName(
14916
- readFileSync(resolve3(target), "utf-8"),
14955
+ readFileSync2(resolve3(target), "utf-8"),
14917
14956
  resolve3(target)
14918
14957
  ) : parseReferencedPlayTarget(target).playName;
14919
14958
  const includeSource = sourceOutput || outPath !== null;
@@ -15405,7 +15444,7 @@ async function handlePlayDescribe(args) {
15405
15444
  const definedName = isFileTarget(playName) ? await (async () => {
15406
15445
  try {
15407
15446
  return await extractPlayName(
15408
- readFileSync(resolve3(playName), "utf-8"),
15447
+ readFileSync2(resolve3(playName), "utf-8"),
15409
15448
  playName
15410
15449
  );
15411
15450
  } catch {
@@ -16538,7 +16577,7 @@ Examples:
16538
16577
  process.exitCode = await ownView();
16539
16578
  return;
16540
16579
  }
16541
- const { describeAnything } = await import("./describe-XLN33FJX.mjs");
16580
+ const { describeAnything } = await import("./describe-XJY5654F.mjs");
16542
16581
  process.exitCode = await describeAnything(
16543
16582
  name,
16544
16583
  {
@@ -16876,7 +16915,7 @@ Examples:
16876
16915
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
16877
16916
  ).action(async (runId, options) => {
16878
16917
  if (TOOL_EXECUTION_ID.test(runId)) {
16879
- const { getToolExecutionReceipt } = await import("./tools-ZESAPVOW.mjs");
16918
+ const { getToolExecutionReceipt } = await import("./tools-FTECXZYA.mjs");
16880
16919
  process.exitCode = await getToolExecutionReceipt(runId, {
16881
16920
  receiptJson: options.json !== void 0
16882
16921
  });