deepline 0.3.582 → 0.3.583

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 (145) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +14 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +53 -6
  4. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +14 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +69 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +33 -4
  7. package/dist/cli/{agents-UAXDG4FS.mjs → agents-G344SPW2.mjs} +68 -4
  8. package/dist/cli/{agents-2L73CJHH.js → agents-ZPDXVPEE.js} +95 -31
  9. package/dist/cli/{auth-3B2QB4UH.mjs → auth-V66RP2A6.mjs} +5 -5
  10. package/dist/cli/auth-VU6VIPVY.js +44 -0
  11. package/dist/cli/{billing-CPBRWG3M.mjs → billing-BTMGZJCR.mjs} +9 -9
  12. package/dist/cli/{billing-E7FO622G.js → billing-ROYUQF67.js} +105 -105
  13. package/dist/cli/{chunk-V54YQHPV.js → chunk-23LYXVI4.js} +6 -6
  14. package/dist/cli/{chunk-CYZSHD66.js → chunk-2D5YISAL.js} +2 -2
  15. package/dist/cli/{chunk-OUFOJTEJ.mjs → chunk-2QIVGZKS.mjs} +5 -5
  16. package/dist/cli/{chunk-NZR5PBNP.mjs → chunk-43MKV6E4.mjs} +3 -3
  17. package/dist/cli/{chunk-EGH4JNJP.js → chunk-6GYGMWQV.js} +8 -8
  18. package/dist/cli/{chunk-KDITCSPN.mjs → chunk-6S3OAJCJ.mjs} +19 -0
  19. package/dist/cli/{chunk-JD7P73ZW.mjs → chunk-72MEXMSH.mjs} +1 -1
  20. package/dist/cli/{chunk-ISN4F6AY.js → chunk-73IZARR5.js} +13 -13
  21. package/dist/cli/{chunk-NVHICORD.mjs → chunk-7AFTLM74.mjs} +2 -2
  22. package/dist/cli/{chunk-7QX5PCHP.mjs → chunk-ACS6BYE5.mjs} +2 -2
  23. package/dist/cli/{chunk-POYADK77.js → chunk-AHQDUMDM.js} +20 -20
  24. package/dist/cli/{chunk-JF4DUC2F.mjs → chunk-AXKFZIXC.mjs} +2 -2
  25. package/dist/cli/{chunk-LDMCTV2Z.mjs → chunk-AXOQ2FMS.mjs} +1 -1
  26. package/dist/cli/{chunk-HP6A3JCX.js → chunk-BUMCOVBP.js} +5 -5
  27. package/dist/cli/{chunk-SYWLWTWM.mjs → chunk-C233ZRNX.mjs} +4 -4
  28. package/dist/cli/{chunk-EB2YLLZJ.js → chunk-C7UCDL2K.js} +41 -41
  29. package/dist/cli/{chunk-H3KVMALU.js → chunk-CCC3NIYB.js} +9 -9
  30. package/dist/cli/{chunk-4ZAWRCB6.mjs → chunk-DNYFNOWG.mjs} +5 -5
  31. package/dist/cli/{chunk-ZARGHLZZ.mjs → chunk-EHV52KUV.mjs} +1 -1
  32. package/dist/cli/{chunk-6NEMTKTA.mjs → chunk-GFX6CDAB.mjs} +5 -5
  33. package/dist/cli/{chunk-JUZIMW4S.js → chunk-GQHZV7EQ.js} +7 -7
  34. package/dist/cli/{chunk-ZH23XGJO.js → chunk-H4BYWEV5.js} +4 -4
  35. package/dist/cli/{chunk-I5J6HGVR.mjs → chunk-H7F3ROT3.mjs} +2 -2
  36. package/dist/cli/{chunk-2K6EIL2D.mjs → chunk-HOGRT5X6.mjs} +1 -1
  37. package/dist/cli/{chunk-DPLYQITT.js → chunk-HYT5B2NL.js} +2 -2
  38. package/dist/cli/{chunk-G5YU6RJ4.mjs → chunk-J54DMFV5.mjs} +2 -2
  39. package/dist/cli/{chunk-FWB3QR7W.mjs → chunk-JQT3SHXL.mjs} +1 -1
  40. package/dist/cli/{chunk-4TTEAUZV.mjs → chunk-K6GDSCFL.mjs} +3 -3
  41. package/dist/cli/{chunk-XYQMOXP4.mjs → chunk-KSXBLXLV.mjs} +1 -1
  42. package/dist/cli/{chunk-Y36SQMSN.js → chunk-LHD3HOYN.js} +19 -0
  43. package/dist/cli/{chunk-LHA45DNY.mjs → chunk-LVJAHM2I.mjs} +3 -3
  44. package/dist/cli/{chunk-YPP436NM.js → chunk-MEAWK5G7.js} +53 -53
  45. package/dist/cli/{chunk-MRSYC74T.js → chunk-MFPHCUHK.js} +5 -5
  46. package/dist/cli/{chunk-D7J33HTK.mjs → chunk-N5RCXI3M.mjs} +5 -5
  47. package/dist/cli/{chunk-KQEW3EAU.js → chunk-N5XRUZRS.js} +16 -16
  48. package/dist/cli/{chunk-U2QQQNWW.mjs → chunk-P2YNTAGL.mjs} +2 -2
  49. package/dist/cli/{chunk-CPZL6Z7D.js → chunk-PGUK5VPC.js} +2 -2
  50. package/dist/cli/{chunk-VA35T3AF.js → chunk-PULU5YGX.js} +20 -20
  51. package/dist/cli/{chunk-ABJZQHON.mjs → chunk-PVDP3AZY.mjs} +4 -4
  52. package/dist/cli/{chunk-NJGXYYHN.js → chunk-QGOHEJVJ.js} +5 -5
  53. package/dist/cli/{chunk-3EOET5UB.js → chunk-QPN662ZP.js} +100 -100
  54. package/dist/cli/{chunk-Z3IAEHID.js → chunk-RO2LTLJA.js} +48 -48
  55. package/dist/cli/{chunk-3DVWSTAI.mjs → chunk-ROWROMXD.mjs} +1 -1
  56. package/dist/cli/{chunk-ROUNT4NX.mjs → chunk-U6BTY4WS.mjs} +1 -1
  57. package/dist/cli/{chunk-FBSPHBAF.js → chunk-VH45GV3T.js} +1 -1
  58. package/dist/cli/{chunk-5436ZJPH.js → chunk-VXDKL434.js} +3 -3
  59. package/dist/cli/{chunk-PNQVB4UD.mjs → chunk-VXEZKZU4.mjs} +11 -11
  60. package/dist/cli/{chunk-SKKRESFB.js → chunk-W3ECB7GC.js} +3 -3
  61. package/dist/cli/{chunk-RNZXMOA6.mjs → chunk-W5WLWRKL.mjs} +2 -2
  62. package/dist/cli/{chunk-DI5MULNX.js → chunk-WAZR72D5.js} +26 -26
  63. package/dist/cli/{chunk-GZBXN56A.js → chunk-WUVDJSZE.js} +23 -23
  64. package/dist/cli/{chunk-ZL3O7F5J.js → chunk-YRNWA2IL.js} +15 -15
  65. package/dist/cli/{chunk-3HIJNXRB.js → chunk-ZFJNIZHI.js} +10 -10
  66. package/dist/cli/{chunk-DSHIB2XQ.mjs → chunk-ZHIJA4MW.mjs} +1 -1
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/concurrent-runs-help-6WUNDV77.js +22 -0
  70. package/dist/cli/{concurrent-runs-help-UFNYQYU2.mjs → concurrent-runs-help-A2Y33OQ5.mjs} +6 -6
  71. package/dist/cli/{csv-QSDRGLQH.mjs → csv-PS74WVXE.mjs} +4 -4
  72. package/dist/cli/{csv-ZI5LYFHF.js → csv-TKSR2LFV.js} +13 -13
  73. package/dist/cli/{db-WVWXNNMO.mjs → db-EXLBRZ7K.mjs} +6 -6
  74. package/dist/cli/{db-ZDL6Q53U.js → db-R6GOM4VC.js} +27 -27
  75. package/dist/cli/describe-CA2FL2OS.js +50 -0
  76. package/dist/cli/{describe-UUQBKUVL.mjs → describe-JJBXFPVQ.mjs} +18 -18
  77. package/dist/cli/{executions-SCGHTWTC.js → executions-474U7R3Y.js} +8 -8
  78. package/dist/cli/{executions-QN3OYJKT.mjs → executions-5PEODJQG.mjs} +6 -6
  79. package/dist/cli/{feedback-7QPHLXGU.mjs → feedback-QUQVRDBD.mjs} +6 -6
  80. package/dist/cli/{feedback-6QQ7ONLW.js → feedback-URTCAOXP.js} +14 -14
  81. package/dist/cli/{git-HFPJX573.mjs → git-AQF23KKU.mjs} +5 -5
  82. package/dist/cli/git-WJ4V2B4T.js +26 -0
  83. package/dist/cli/index.js +148 -148
  84. package/dist/cli/index.mjs +47 -47
  85. package/dist/cli/{integrations-4SZ5O24P.mjs → integrations-5POBI72U.mjs} +7 -7
  86. package/dist/cli/{integrations-ND2HULSH.js → integrations-NMFOOSS4.js} +29 -29
  87. package/dist/cli/{legacy-noops-WUP3TBR2.mjs → legacy-noops-6YVCOSFO.mjs} +6 -6
  88. package/dist/cli/{legacy-noops-GQF6AYP5.js → legacy-noops-V75T5LHV.js} +9 -9
  89. package/dist/cli/{mcp-3GUFYGCQ.mjs → mcp-7WEYQ5V7.mjs} +4 -4
  90. package/dist/cli/{mcp-L3YYVEU6.js → mcp-N6GYXCUQ.js} +24 -24
  91. package/dist/cli/{monitors-CVZZN5WG.js → monitors-HW4H4PE5.js} +100 -100
  92. package/dist/cli/{monitors-OFCVJSH5.mjs → monitors-TAK4M5Y4.mjs} +7 -7
  93. package/dist/cli/{org-3DTAYA52.mjs → org-3C2RN36N.mjs} +6 -6
  94. package/dist/cli/{org-MQ5AUN7I.js → org-FULXOXNE.js} +121 -121
  95. package/dist/cli/{outcomes-42W24EXG.mjs → outcomes-4KRZL6OL.mjs} +6 -6
  96. package/dist/cli/{outcomes-MGDUYHUD.js → outcomes-O3HDQWGN.js} +14 -14
  97. package/dist/cli/{play-IMAD7QTV.js → play-HA4RGX7T.js} +336 -336
  98. package/dist/cli/{play-PD45RNYZ.mjs → play-ZTRWUODW.mjs} +19 -19
  99. package/dist/cli/{providers-WONHPTRG.js → providers-DXMKWBZN.js} +9 -9
  100. package/dist/cli/{providers-DYKHG7NV.mjs → providers-FAKWWJE2.mjs} +6 -6
  101. package/dist/cli/{quickstart-6AAFULGC.js → quickstart-MA74UPNI.js} +6 -6
  102. package/dist/cli/{quickstart-5QPGHLEX.mjs → quickstart-YWGBTW77.mjs} +4 -4
  103. package/dist/cli/{run-WOW7QO3W.js → run-4DXSGXRB.js} +44 -44
  104. package/dist/cli/{run-4K6ZU7H7.mjs → run-QHCYMSBP.mjs} +23 -23
  105. package/dist/cli/{search-CKVFWVXQ.mjs → search-N4ZOK5XX.mjs} +7 -7
  106. package/dist/cli/search-V765JH2H.js +32 -0
  107. package/dist/cli/{search-output-B5QE7ZNK.js → search-output-D5VAC52B.js} +6 -6
  108. package/dist/cli/{search-output-WWB25JWA.mjs → search-output-F2OYLVK2.mjs} +4 -4
  109. package/dist/cli/{secrets-WKIMR346.js → secrets-3KETOTDS.js} +15 -15
  110. package/dist/cli/{secrets-SVZB6TSW.mjs → secrets-LD4FVAQI.mjs} +6 -6
  111. package/dist/cli/{sessions-P3QENG6T.mjs → sessions-LPLI4Z4O.mjs} +6 -6
  112. package/dist/cli/sessions-XC65OMDS.js +23 -0
  113. package/dist/cli/{settings-V5ABL6D2.mjs → settings-NCGPJG3Z.mjs} +12 -12
  114. package/dist/cli/{settings-UIFRGJW3.js → settings-NFBTCOMB.js} +85 -85
  115. package/dist/cli/{setup-A5MIJU3S.js → setup-ATBSUSH4.js} +49 -49
  116. package/dist/cli/{setup-E67NJTEF.mjs → setup-NH6MRYXZ.mjs} +9 -9
  117. package/dist/cli/skills-4NQBTGOL.js +37 -0
  118. package/dist/cli/{skills-WLHOQ4DO.mjs → skills-ITPBPIXD.mjs} +7 -7
  119. package/dist/cli/{tools-EG4KL3BB.mjs → tools-2XZPR65V.mjs} +17 -17
  120. package/dist/cli/tools-ZVOFATX2.js +57 -0
  121. package/dist/cli/update-QME3KPOP.js +37 -0
  122. package/dist/cli/{update-IPFBE6SA.mjs → update-VFB22FWO.mjs} +9 -9
  123. package/dist/cli/{views-XDN6SEWY.mjs → views-MRN3HWTG.mjs} +6 -6
  124. package/dist/cli/{views-ZIBY2RVB.js → views-WJUZOQM2.js} +21 -21
  125. package/dist/cli/{workflow-O2XPMOVL.mjs → workflow-A6P7YV5W.mjs} +42 -18
  126. package/dist/cli/{workflow-BLKPBRBT.js → workflow-Q4JFBTVH.js} +53 -29
  127. package/dist/index.js +9 -9
  128. package/dist/index.mjs +6 -6
  129. package/dist/install-integrity.json +116 -116
  130. package/dist/release.d.mts +1 -1
  131. package/dist/release.d.ts +1 -1
  132. package/dist/release.js +2 -2
  133. package/dist/release.mjs +1 -1
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-ALBG5LF4.js +0 -44
  138. package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +0 -22
  139. package/dist/cli/describe-QB5T47B3.js +0 -50
  140. package/dist/cli/git-4FXTWHXT.js +0 -26
  141. package/dist/cli/search-YZIJS7QU.js +0 -32
  142. package/dist/cli/sessions-VQPGPXMU.js +0 -23
  143. package/dist/cli/skills-GTBK33MV.js +0 -37
  144. package/dist/cli/tools-GPAIPRPQ.js +0 -57
  145. package/dist/cli/update-QLWS32WR.js +0 -37
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
3
 
4
- var _chunkDI5MULNXjs = require('./chunk-DI5MULNX.js');
4
+ var _chunkWAZR72D5js = require('./chunk-WAZR72D5.js');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunkDI5MULNXjs = require('./chunk-DI5MULNX.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkH3KVMALUjs = require('./chunk-H3KVMALU.js');
12
+ var _chunkCCC3NIYBjs = require('./chunk-CCC3NIYB.js');
13
13
 
14
14
 
15
15
 
@@ -22,10 +22,10 @@ var _chunkH3KVMALUjs = require('./chunk-H3KVMALU.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkJUZIMW4Sjs = require('./chunk-JUZIMW4S.js');
25
+ var _chunkGQHZV7EQjs = require('./chunk-GQHZV7EQ.js');
26
26
 
27
27
 
28
- var _chunk3HIJNXRBjs = require('./chunk-3HIJNXRB.js');
28
+ var _chunkZFJNIZHIjs = require('./chunk-ZFJNIZHI.js');
29
29
  require('./chunk-D3BCSAN7.js');
30
30
 
31
31
 
@@ -51,10 +51,10 @@ var _chunkR6DZ6NQ2js = require('./chunk-R6DZ6NQ2.js');
51
51
 
52
52
 
53
53
 
54
- var _chunkHP6A3JCXjs = require('./chunk-HP6A3JCX.js');
54
+ var _chunkBUMCOVBPjs = require('./chunk-BUMCOVBP.js');
55
55
 
56
56
 
57
- var _chunkMRSYC74Tjs = require('./chunk-MRSYC74T.js');
57
+ var _chunkMFPHCUHKjs = require('./chunk-MFPHCUHK.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkMRSYC74Tjs = require('./chunk-MRSYC74T.js');
67
67
 
68
68
 
69
69
 
70
- var _chunkEGH4JNJPjs = require('./chunk-EGH4JNJP.js');
70
+ var _chunk6GYGMWQVjs = require('./chunk-6GYGMWQV.js');
71
71
  require('./chunk-4WAM6TLD.js');
72
72
 
73
73
 
@@ -90,18 +90,18 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
90
90
 
91
91
 
92
92
 
93
- var _chunkV54YQHPVjs = require('./chunk-V54YQHPV.js');
93
+ var _chunk23LYXVI4js = require('./chunk-23LYXVI4.js');
94
94
 
95
95
 
96
96
 
97
97
 
98
98
 
99
- var _chunkCPZL6Z7Djs = require('./chunk-CPZL6Z7D.js');
100
- require('./chunk-Z3IAEHID.js');
99
+ var _chunkPGUK5VPCjs = require('./chunk-PGUK5VPC.js');
100
+ require('./chunk-RO2LTLJA.js');
101
101
 
102
102
 
103
103
 
104
- var _chunkSKKRESFBjs = require('./chunk-SKKRESFB.js');
104
+ var _chunkW3ECB7GCjs = require('./chunk-W3ECB7GC.js');
105
105
 
106
106
 
107
107
  var _chunkEP3GZAHKjs = require('./chunk-EP3GZAHK.js');
@@ -122,14 +122,14 @@ var _chunk2M3VVGMZjs = require('./chunk-2M3VVGMZ.js');
122
122
 
123
123
 
124
124
 
125
- var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
125
+ var _chunkPULU5YGXjs = require('./chunk-PULU5YGX.js');
126
126
 
127
127
 
128
128
 
129
- var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
129
+ var _chunkVXDKL434js = require('./chunk-VXDKL434.js');
130
130
 
131
131
 
132
- var _chunkZH23XGJOjs = require('./chunk-ZH23XGJO.js');
132
+ var _chunkH4BYWEV5js = require('./chunk-H4BYWEV5.js');
133
133
  require('./chunk-6VLFQZK6.js');
134
134
  require('./chunk-XNYIZMNQ.js');
135
135
 
@@ -139,7 +139,7 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
139
139
 
140
140
 
141
141
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
142
- require('./chunk-FBSPHBAF.js');
142
+ require('./chunk-VH45GV3T.js');
143
143
  require('./chunk-OG64RBAC.js');
144
144
 
145
145
 
@@ -2121,7 +2121,7 @@ function resolveField(key, command) {
2121
2121
  function printSettings(result, json, name) {
2122
2122
  result = { ...result, settings: parsePlaySettings(result.settings) };
2123
2123
  const selected = fields.filter(([key]) => !name || key === name);
2124
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2124
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2125
2125
  {
2126
2126
  ...result,
2127
2127
  settings: Object.fromEntries(
@@ -2165,7 +2165,7 @@ function registerPlaySettingsCommands(plays) {
2165
2165
  valueSyntax: field.cli.valueSyntax,
2166
2166
  examples: field.cli.examples
2167
2167
  }));
2168
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2168
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2169
2169
  {
2170
2170
  fields: descriptions,
2171
2171
  render: {
@@ -2190,7 +2190,7 @@ function registerPlaySettingsCommands(plays) {
2190
2190
  async (options, command) => {
2191
2191
  if (options.name !== void 0) resolveField(options.name, command);
2192
2192
  printSettings(
2193
- await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getPlaySettings(options.play),
2193
+ await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getPlaySettings(options.play),
2194
2194
  options.json,
2195
2195
  options.name
2196
2196
  );
@@ -2221,7 +2221,7 @@ function registerPlaySettingsCommands(plays) {
2221
2221
  );
2222
2222
  }
2223
2223
  if (options.dryRun) {
2224
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2224
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2225
2225
  {
2226
2226
  dryRun: true,
2227
2227
  play,
@@ -2242,7 +2242,7 @@ function registerPlaySettingsCommands(plays) {
2242
2242
  return;
2243
2243
  }
2244
2244
  printSettings(
2245
- await new (0, _chunkMRSYC74Tjs.DeeplineClient)().updatePlaySettings(play, patch),
2245
+ await new (0, _chunkMFPHCUHKjs.DeeplineClient)().updatePlaySettings(play, patch),
2246
2246
  options.json
2247
2247
  );
2248
2248
  };
@@ -2268,13 +2268,13 @@ function registerPlaySettingsCommands(plays) {
2268
2268
  "--root must be person or team; --limit must be 1\u2013100.",
2269
2269
  { exitCode: 2 }
2270
2270
  );
2271
- const page = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().listPlaySettingsPaths({
2271
+ const page = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().listPlaySettingsPaths({
2272
2272
  root: options.root,
2273
2273
  limit,
2274
2274
  cursor: options.cursor
2275
2275
  });
2276
2276
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2277
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2277
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2278
2278
  {
2279
2279
  ...page,
2280
2280
  nextCommand,
@@ -2325,7 +2325,7 @@ function registerPlaySettingsCommands(plays) {
2325
2325
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2326
2326
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2327
2327
  };
2328
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
2328
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
2329
2329
  const paths = [];
2330
2330
  let cursor;
2331
2331
  do {
@@ -2387,7 +2387,7 @@ function registerPlaySettingsCommands(plays) {
2387
2387
  moved.push(move.playName);
2388
2388
  }
2389
2389
  }
2390
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2390
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2391
2391
  {
2392
2392
  dryRun: Boolean(options.dryRun),
2393
2393
  from: options.from,
@@ -2532,7 +2532,7 @@ function triggerLines(view) {
2532
2532
  return lines;
2533
2533
  }
2534
2534
  function printView(view, json) {
2535
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2535
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2536
2536
  {
2537
2537
  ...view,
2538
2538
  render: {
@@ -2545,7 +2545,7 @@ function printView(view, json) {
2545
2545
  );
2546
2546
  }
2547
2547
  function printResult(result, json) {
2548
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2548
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2549
2549
  {
2550
2550
  ...result,
2551
2551
  render: {
@@ -2575,7 +2575,7 @@ async function mutate(command, options, build) {
2575
2575
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2576
2576
  }
2577
2577
  if (options.dryRun) {
2578
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
2578
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
2579
2579
  {
2580
2580
  dryRun: true,
2581
2581
  play: options.play,
@@ -2594,7 +2594,7 @@ async function mutate(command, options, build) {
2594
2594
  return;
2595
2595
  }
2596
2596
  printResult(
2597
- await new (0, _chunkMRSYC74Tjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2597
+ await new (0, _chunkMFPHCUHKjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2598
2598
  options.json
2599
2599
  );
2600
2600
  }
@@ -2627,7 +2627,7 @@ function registerPlayTriggerConfigCommands(plays) {
2627
2627
  }).addHelpText("after", help2);
2628
2628
  trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON").addHelpText("after", help2).action(async (options) => {
2629
2629
  printView(
2630
- await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2630
+ await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2631
2631
  options.json
2632
2632
  );
2633
2633
  });
@@ -2680,7 +2680,7 @@ function registerPlayTriggerConfigCommands(plays) {
2680
2680
  if (options.auth === void 0) {
2681
2681
  if (secrets.length || options.header || options.signaturePrefix)
2682
2682
  usage(setWebhook, "--secret/--header need --auth.");
2683
- const current = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getPlayTriggerConfig(
2683
+ const current = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getPlayTriggerConfig(
2684
2684
  options.play
2685
2685
  );
2686
2686
  return {
@@ -2757,7 +2757,7 @@ var KIND_DESCRIPTIONS = {
2757
2757
  "receipt.skipped": "Saved work result: skipped.",
2758
2758
  "runtime.event": "Other event."
2759
2759
  };
2760
- var RUN_LOGS_KIND_HELP = _chunkEGH4JNJPjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2760
+ var RUN_LOGS_KIND_HELP = _chunk6GYGMWQVjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2761
2761
  kind,
2762
2762
  description: KIND_DESCRIPTIONS[kind]
2763
2763
  }));
@@ -2894,9 +2894,9 @@ function configureRunQueryCommandErrors(command, resource) {
2894
2894
  const args = program.args;
2895
2895
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2896
2896
  error.exitCode = 2;
2897
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2898
- _chunkVA35T3AFjs.printJsonError.call(void 0,
2899
- Object.assign(new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(error.message), {
2897
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2898
+ _chunkPULU5YGXjs.printJsonError.call(void 0,
2899
+ Object.assign(new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(error.message), {
2900
2900
  exitCode: 2,
2901
2901
  retryable: false
2902
2902
  })
@@ -2940,14 +2940,14 @@ function parseQuery(args, resource) {
2940
2940
  if (VALUE_FLAGS.has(flag)) {
2941
2941
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2942
2942
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2943
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2943
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2944
2944
  `${flag} requires a value. Use ${flag} <value>.`
2945
2945
  );
2946
2946
  }
2947
2947
  if (flag === "--sum") sums.push(value);
2948
2948
  else {
2949
2949
  if (values[flag] !== void 0) {
2950
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2950
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2951
2951
  `${flag} may only be supplied once.`
2952
2952
  );
2953
2953
  }
@@ -2961,12 +2961,12 @@ function parseQuery(args, resource) {
2961
2961
  }
2962
2962
  if (arg.startsWith("-")) {
2963
2963
  const correction = flag === "--log-level" ? "Use --level for structured severity filtering." : flag === "--out" || flag === "--failed" || flag === "--all" ? "Use this flag with a plain runs logs <run-id> text read." : "Use --step, --level, --query, --where, --count, --group-by or --fields; see runs logs --help.";
2964
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2964
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2965
2965
  `Unsupported query flag ${flag}. ${correction}`
2966
2966
  );
2967
2967
  }
2968
2968
  if (runId !== void 0) {
2969
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2969
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2970
2970
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2971
2971
  );
2972
2972
  }
@@ -2974,7 +2974,7 @@ function parseQuery(args, resource) {
2974
2974
  }
2975
2975
  if (switches.has("--fields")) {
2976
2976
  if (runId !== void 0) {
2977
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2977
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2978
2978
  "--fields does not use a run ID. Omit the positional run ID."
2979
2979
  );
2980
2980
  }
@@ -2987,18 +2987,18 @@ function parseQuery(args, resource) {
2987
2987
  )
2988
2988
  ];
2989
2989
  if (incompatible.length) {
2990
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2990
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2991
2991
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2992
2992
  );
2993
2993
  }
2994
2994
  }
2995
2995
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2996
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
2996
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
2997
2997
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2998
2998
  );
2999
2999
  }
3000
3000
  if (sums.length && switches.has("--count")) {
3001
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
3001
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
3002
3002
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
3003
3003
  );
3004
3004
  }
@@ -3006,7 +3006,7 @@ function parseQuery(args, resource) {
3006
3006
  if (operation === "count") {
3007
3007
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
3008
3008
  if (values[flag] !== void 0 || switches.has(flag)) {
3009
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
3009
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
3010
3010
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
3011
3011
  );
3012
3012
  }
@@ -3041,16 +3041,16 @@ function parseQuery(args, resource) {
3041
3041
  ];
3042
3042
  }
3043
3043
  }
3044
- const request = _chunkEGH4JNJPjs.normalizeRunEventOperationRequest.call(void 0, body);
3044
+ const request = _chunk6GYGMWQVjs.normalizeRunEventOperationRequest.call(void 0, body);
3045
3045
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3046
3046
  const backend = values["--runtime-backend"];
3047
3047
  if (backend && backend !== "daytona" && backend !== "modal") {
3048
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
3048
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
3049
3049
  "--runtime-backend must be daytona or modal."
3050
3050
  );
3051
3051
  }
3052
3052
  if (backend && !namespace) {
3053
- throw new (0, _chunkEGH4JNJPjs.RunEventQueryInputError)(
3053
+ throw new (0, _chunk6GYGMWQVjs.RunEventQueryInputError)(
3054
3054
  "--runtime-backend requires --runtime-namespace."
3055
3055
  );
3056
3056
  }
@@ -3097,12 +3097,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3097
3097
  const failure = error instanceof Error ? error : new Error(String(error));
3098
3098
  const record5 = failure;
3099
3099
  const status = record5.statusCode;
3100
- const exitCode = error instanceof _chunkEGH4JNJPjs.RunEventQueryInputError || status === 400 || status === 422 || record5.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record5.code === "CONFIG_ERROR" || record5.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3100
+ const exitCode = error instanceof _chunk6GYGMWQVjs.RunEventQueryInputError || status === 400 || status === 422 || record5.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record5.code === "CONFIG_ERROR" || record5.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3101
3101
  const diagnostic = Object.assign(failure, {
3102
3102
  exitCode,
3103
3103
  retryable: exitCode === 5
3104
3104
  });
3105
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) _chunkVA35T3AFjs.printJsonError.call(void 0, diagnostic);
3105
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) _chunkPULU5YGXjs.printJsonError.call(void 0, diagnostic);
3106
3106
  else console.error(`Error: ${diagnostic.message}`);
3107
3107
  return exitCode;
3108
3108
  }
@@ -3117,7 +3117,7 @@ async function executeRunEventQuery(args, resource) {
3117
3117
  ...criteria
3118
3118
  } = request;
3119
3119
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3120
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
3120
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
3121
3121
  let result;
3122
3122
  if (request.operation === "fields") {
3123
3123
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3183,13 +3183,13 @@ async function executeRunEventQuery(args, resource) {
3183
3183
  lines.push(`Next page: ${nextPage}`);
3184
3184
  }
3185
3185
  }
3186
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
3186
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
3187
3187
  {
3188
3188
  ...result,
3189
3189
  ...nextPage ? { next: { page: nextPage } } : {},
3190
3190
  render: { sections: [{ title: `run ${resource}`, lines }] }
3191
3191
  },
3192
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3192
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3193
3193
  ` }
3194
3194
  );
3195
3195
  return 0;
@@ -4936,7 +4936,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4936
4936
  ...text3.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4937
4937
  );
4938
4938
  }
4939
- const response = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.getReceipts(runId, {
4939
+ const response = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.getReceipts(runId, {
4940
4940
  keys
4941
4941
  });
4942
4942
  const failed = response.receipts.filter(
@@ -4948,7 +4948,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4948
4948
  JSON.stringify(response, null, 2) + "\n",
4949
4949
  { flag: "wx", mode: 384 }
4950
4950
  );
4951
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
4951
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
4952
4952
  {
4953
4953
  runId,
4954
4954
  out: options.out,
@@ -4958,7 +4958,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4958
4958
  { json: true }
4959
4959
  );
4960
4960
  } else {
4961
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4961
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4962
4962
  }
4963
4963
  if (failed)
4964
4964
  process.exitCode = response.receipts.some(
@@ -4997,7 +4997,7 @@ includes nextCommand when another page is available.
4997
4997
  { exitCode: 2 }
4998
4998
  );
4999
4999
  }
5000
- const page = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.children(parentRunId, {
5000
+ const page = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.children(parentRunId, {
5001
5001
  launchKey: options.launchKey,
5002
5002
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
5003
5003
  limit
@@ -5012,7 +5012,7 @@ includes nextCommand when another page is available.
5012
5012
  "--limit",
5013
5013
  String(limit)
5014
5014
  ].join(" ") : null;
5015
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
5015
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
5016
5016
  {
5017
5017
  parentRunId,
5018
5018
  launchKey: options.launchKey,
@@ -5048,7 +5048,7 @@ async function handleRunsHistory(options) {
5048
5048
  throw new Error("--limit must be a positive integer.");
5049
5049
  }
5050
5050
  }
5051
- const page = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.history({
5051
+ const page = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.history({
5052
5052
  cursor: options.cursor,
5053
5053
  orgId: options.org,
5054
5054
  search: options.search,
@@ -5064,7 +5064,7 @@ async function handleRunsHistory(options) {
5064
5064
  );
5065
5065
  }
5066
5066
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
5067
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
5067
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
5068
5068
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
5069
5069
  options.json ? { json: true } : {}
5070
5070
  );
@@ -5114,12 +5114,12 @@ async function runRunsRerunCommand(runId, options) {
5114
5114
  }
5115
5115
  }
5116
5116
  if (options.notice) console.error(options.notice);
5117
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.rerun(runId, {
5117
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.rerun(runId, {
5118
5118
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
5119
5119
  ...inputOverrides === void 0 ? {} : { inputOverrides }
5120
5120
  });
5121
- if (_chunkVA35T3AFjs.shouldEmitJson.call(void 0, options.json)) {
5122
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, result, { json: true });
5121
+ if (_chunkPULU5YGXjs.shouldEmitJson.call(void 0, options.json)) {
5122
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, result, { json: true });
5123
5123
  } else if (result.rateLimited) {
5124
5124
  console.log(`
5125
5125
  ${result.rateLimited.message}`);
@@ -5143,7 +5143,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
5143
5143
  // src/cli/operations/runs-resume.ts
5144
5144
  async function runRunsResumeCommand(runId) {
5145
5145
  try {
5146
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.resume(runId);
5146
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.resume(runId);
5147
5147
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
5148
5148
  throw new Error(
5149
5149
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5985,13 +5985,13 @@ var RunDataset = class _RunDataset {
5985
5985
  const absolutePath = _path.resolve.call(void 0, outPath);
5986
5986
  _fs.writeFileSync.call(void 0,
5987
5987
  absolutePath,
5988
- `${JSON.stringify(_chunkJUZIMW4Sjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5988
+ `${JSON.stringify(_chunkGQHZV7EQjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5989
5989
  `,
5990
5990
  "utf-8"
5991
5991
  );
5992
5992
  return absolutePath;
5993
5993
  }
5994
- return _chunkJUZIMW4Sjs.writeRunDatasetCsv.call(void 0, {
5994
+ return _chunkGQHZV7EQjs.writeRunDatasetCsv.call(void 0, {
5995
5995
  rows: this.rows,
5996
5996
  columns: this.#info.columns,
5997
5997
  outPath
@@ -7474,7 +7474,7 @@ function renderOutcome(outcome) {
7474
7474
  function printResult2(input) {
7475
7475
  const failed = input.status === "failed" || input.status === "cancelled";
7476
7476
  if (failed) process.exitCode = 1;
7477
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
7477
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
7478
7478
  {
7479
7479
  deployment: { ...input.deployment, status: input.status },
7480
7480
  plays: input.outcomes,
@@ -7499,7 +7499,7 @@ async function handlePlaysDeploy(directory, options) {
7499
7499
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
7500
7500
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
7501
7501
  });
7502
- const { http, config } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
7502
+ const { http, config } = _chunkPULU5YGXjs.getAuthedHttpClient.call(void 0, );
7503
7503
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
7504
7504
  const startDeployment = () => http.post("/api/v2/deployments", {
7505
7505
  deliveryId,
@@ -7526,7 +7526,7 @@ async function handlePlaysDeploy(directory, options) {
7526
7526
  },
7527
7527
  {
7528
7528
  bundle: bundleDeployPlayFile,
7529
- fetchImpl: _chunkZH23XGJOjs.fetchWithDeploymentProtection,
7529
+ fetchImpl: _chunkH4BYWEV5js.fetchWithDeploymentProtection,
7530
7530
  // The plays are already here: "opening" the source is naming it.
7531
7531
  openSource: async () => ({
7532
7532
  open: async () => ({ repoRoot: root })
@@ -7653,7 +7653,7 @@ async function checkLocalPlayGraph(input) {
7653
7653
  // src/cli/renderers/local-play-execution.ts
7654
7654
  function renderLocalPlayExecutionPlan(plan, options = {}) {
7655
7655
  if (options.dryRun) {
7656
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7656
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7657
7657
  return;
7658
7658
  }
7659
7659
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7825,7 +7825,7 @@ function traceCliSync(phase, fields2, run) {
7825
7825
  const startedAt = Date.now();
7826
7826
  try {
7827
7827
  const result = run();
7828
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
7828
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
7829
7829
  phase,
7830
7830
  ms: Date.now() - startedAt,
7831
7831
  ok: true,
@@ -7833,7 +7833,7 @@ function traceCliSync(phase, fields2, run) {
7833
7833
  });
7834
7834
  return result;
7835
7835
  } catch (error) {
7836
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
7836
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
7837
7837
  phase,
7838
7838
  ms: Date.now() - startedAt,
7839
7839
  ok: false,
@@ -8646,7 +8646,7 @@ function playStatusErrorText(status) {
8646
8646
  function isRetryablePendingStartFailure(status) {
8647
8647
  if (status.status !== "failed") return false;
8648
8648
  if (status.runId && status.runId !== "pending") return false;
8649
- return _chunkEGH4JNJPjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8649
+ return _chunk6GYGMWQVjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8650
8650
  }
8651
8651
  function isAmbiguousPlayStartOutcomeError(error) {
8652
8652
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && typeof error.statusCode === "number") {
@@ -8707,7 +8707,7 @@ async function startPlayRunWithTransientRetry(input) {
8707
8707
  `[play start] response was ambiguous; retrying the same caller intent (${reason})`
8708
8708
  );
8709
8709
  }
8710
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
8710
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
8711
8711
  phase: "cli.play_start_json_retry",
8712
8712
  ms: 0,
8713
8713
  ok: true,
@@ -8765,13 +8765,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkLFQJW4S2js.Deep
8765
8765
  }, _class);
8766
8766
  function watchSurfaceReaches(state, provenance, level) {
8767
8767
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
8768
- if (!_chunkEGH4JNJPjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8768
+ if (!_chunk6GYGMWQVjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8769
8769
  return false;
8770
8770
  }
8771
- if (_chunkEGH4JNJPjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8771
+ if (_chunk6GYGMWQVjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8772
8772
  return true;
8773
8773
  }
8774
- return state.verbose === true && _chunkEGH4JNJPjs.logProvenanceReaches.call(void 0, provenance, "debug");
8774
+ return state.verbose === true && _chunk6GYGMWQVjs.logProvenanceReaches.call(void 0, provenance, "debug");
8775
8775
  }
8776
8776
  function getEventPayload(event) {
8777
8777
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -9281,7 +9281,7 @@ function resolvePlayRunUrl(input) {
9281
9281
  }
9282
9282
  function openPlayDashboard(url, open2) {
9283
9283
  if (open2 && url) {
9284
- _chunkVA35T3AFjs.openInBrowser.call(void 0, url);
9284
+ _chunkPULU5YGXjs.openInBrowser.call(void 0, url);
9285
9285
  }
9286
9286
  }
9287
9287
  function printPlayLogLines(input) {
@@ -9362,7 +9362,7 @@ async function waitForPlayCompletionByWatch(input) {
9362
9362
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
9363
9363
  });
9364
9364
  } catch (error) {
9365
- if (_chunkEGH4JNJPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9365
+ if (_chunk6GYGMWQVjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9366
9366
  return null;
9367
9367
  }
9368
9368
  throw error;
@@ -9443,9 +9443,9 @@ async function waitForPlayCompletionByWatch(input) {
9443
9443
  signal: controller.signal,
9444
9444
  deferLogs: !input.emitLogs,
9445
9445
  omitTerminalLogs: !input.emitLogs,
9446
- ..._chunkCPZL6Z7Djs.isCliTraceEnabled.call(void 0, ) ? {
9446
+ ..._chunkPGUK5VPCjs.isCliTraceEnabled.call(void 0, ) ? {
9447
9447
  onPoll: (observation) => {
9448
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9448
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9449
9449
  phase: "play_watch_poll",
9450
9450
  workflowId: input.workflowId,
9451
9451
  ms: observation.durationMs,
@@ -9459,7 +9459,7 @@ async function waitForPlayCompletionByWatch(input) {
9459
9459
  full: input.fullJson,
9460
9460
  billing: false,
9461
9461
  onStatus: async (status) => {
9462
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9462
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9463
9463
  phase: "play_watch_terminal_status",
9464
9464
  workflowId: input.workflowId,
9465
9465
  full: input.fullJson === true
@@ -9548,7 +9548,7 @@ async function startAndWaitForPlayCompletion(input) {
9548
9548
  signal: controller.signal,
9549
9549
  cliAdmission: useCliAdmission
9550
9550
  });
9551
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9551
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9552
9552
  phase: "cli.play_start_admission_attempt",
9553
9553
  ms: Date.now() - postStartedAt,
9554
9554
  ok: true,
@@ -9560,7 +9560,7 @@ async function startAndWaitForPlayCompletion(input) {
9560
9560
  });
9561
9561
  break;
9562
9562
  } catch (error) {
9563
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9563
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9564
9564
  phase: "cli.play_start_admission_attempt",
9565
9565
  ms: Date.now() - postStartedAt,
9566
9566
  ok: false,
@@ -9611,7 +9611,7 @@ async function startAndWaitForPlayCompletion(input) {
9611
9611
  prepared.workflowId
9612
9612
  );
9613
9613
  }
9614
- await _chunkV54YQHPVjs.checkPlayRunCompatibility.call(void 0,
9614
+ await _chunk23LYXVI4js.checkPlayRunCompatibility.call(void 0,
9615
9615
  input.client.baseUrl,
9616
9616
  input.maintenancePolicy,
9617
9617
  controller.signal
@@ -9630,7 +9630,7 @@ async function startAndWaitForPlayCompletion(input) {
9630
9630
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
9631
9631
  );
9632
9632
  }
9633
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9633
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9634
9634
  phase: "cli.play_start_json_retry",
9635
9635
  ms: 0,
9636
9636
  ok: true,
@@ -9691,7 +9691,7 @@ async function startAndWaitForPlayCompletion(input) {
9691
9691
  const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
9692
9692
  input.client.baseUrl,
9693
9693
  input.playName,
9694
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, input.client.baseUrl)
9694
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, input.client.baseUrl)
9695
9695
  )));
9696
9696
  const rateLimited = _nullishCoalesce(started.rateLimited, () => ( null));
9697
9697
  if (!input.jsonOutput) {
@@ -9714,7 +9714,7 @@ async function startAndWaitForPlayCompletion(input) {
9714
9714
  _nullishCoalesce(input.open, () => ( false))
9715
9715
  );
9716
9716
  input.progress.phase("running");
9717
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9717
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9718
9718
  phase: "cli.play_start_admitted",
9719
9719
  ms: Date.now() - startedAt,
9720
9720
  ok: true,
@@ -9732,7 +9732,7 @@ async function startAndWaitForPlayCompletion(input) {
9732
9732
  startedAt,
9733
9733
  waitTimeoutMs: input.waitTimeoutMs
9734
9734
  });
9735
- const initialStatus = _chunkEGH4JNJPjs.normalizePlayStatus.call(void 0, initialTerminal);
9735
+ const initialStatus = _chunk6GYGMWQVjs.normalizePlayStatus.call(void 0, initialTerminal);
9736
9736
  const status2 = await resolvePlayRunOutputStatus({
9737
9737
  client: input.client,
9738
9738
  status: initialStatus,
@@ -9740,7 +9740,7 @@ async function startAndWaitForPlayCompletion(input) {
9740
9740
  jsonOutput: input.jsonOutput,
9741
9741
  fromDurableStatus: true
9742
9742
  });
9743
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9743
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9744
9744
  phase: "play_watch_terminal_status",
9745
9745
  workflowId,
9746
9746
  full: true,
@@ -9845,7 +9845,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9845
9845
  });
9846
9846
  }
9847
9847
  if (error instanceof _chunkMJTVX4QKjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
9848
- await _chunkV54YQHPVjs.checkPlayRunCompatibility.call(void 0,
9848
+ await _chunk23LYXVI4js.checkPlayRunCompatibility.call(void 0,
9849
9849
  input.client.baseUrl,
9850
9850
  input.maintenancePolicy,
9851
9851
  admissionDeadline.signal
@@ -9886,7 +9886,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9886
9886
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
9887
9887
  );
9888
9888
  }
9889
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9889
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9890
9890
  phase: "cli.play_start_stream_retry",
9891
9891
  ms: 0,
9892
9892
  ok: true,
@@ -9907,7 +9907,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9907
9907
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9908
9908
  );
9909
9909
  }
9910
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9910
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9911
9911
  phase: "cli.play_start_stream_retry",
9912
9912
  ms: 0,
9913
9913
  ok: true,
@@ -9940,7 +9940,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9940
9940
  const dashboardUrl = _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
9941
9941
  input.client.baseUrl,
9942
9942
  input.playName,
9943
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, input.client.baseUrl)
9943
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, input.client.baseUrl)
9944
9944
  );
9945
9945
  const state = {
9946
9946
  emittedRunnerStarted: false,
@@ -9965,7 +9965,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9965
9965
  if (launchConfirmed || !runId || runId === "pending") return;
9966
9966
  launchConfirmed = true;
9967
9967
  await _optionalChain([input, 'access', _366 => _366.onRunAdmitted, 'optionalCall', _367 => _367(runId)]);
9968
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
9968
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
9969
9969
  phase: "cli.play_start_admitted",
9970
9970
  ms: Date.now() - startedAt,
9971
9971
  ok: true,
@@ -9999,7 +9999,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9999
9999
  full: input.fullJson
10000
10000
  });
10001
10001
  } catch (error) {
10002
- if (_chunkEGH4JNJPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10002
+ if (_chunk6GYGMWQVjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10003
10003
  return null;
10004
10004
  }
10005
10005
  throw error;
@@ -10170,7 +10170,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10170
10170
  };
10171
10171
  }
10172
10172
  if (!canonicalTerminal) {
10173
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10173
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10174
10174
  phase: "cli.play_start_stream_stale_terminal_ignored",
10175
10175
  ms: Date.now() - startedAt,
10176
10176
  ok: true,
@@ -10191,14 +10191,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10191
10191
  fromDurableStatus
10192
10192
  }) : canonicalTerminal;
10193
10193
  if (input.fullJson === true) {
10194
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10194
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10195
10195
  phase: "play_watch_terminal_status",
10196
10196
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
10197
10197
  full: true,
10198
10198
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
10199
10199
  });
10200
10200
  }
10201
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10201
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10202
10202
  phase: "cli.play_start_stream_terminal",
10203
10203
  ms: Date.now() - startedAt,
10204
10204
  ok: true,
@@ -10218,7 +10218,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10218
10218
  clearTimeout(timeout);
10219
10219
  }
10220
10220
  controller.abort();
10221
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10221
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10222
10222
  phase: "cli.play_start_stream_handoff_to_tail",
10223
10223
  ms: Date.now() - startedAt,
10224
10224
  ok: true,
@@ -10249,7 +10249,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10249
10249
  if (timedOut) {
10250
10250
  const terminal = await fetchKnownTerminalStatus();
10251
10251
  if (terminal) {
10252
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10252
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10253
10253
  phase: "cli.play_start_stream_timeout_status_reconcile",
10254
10254
  ms: Date.now() - startedAt,
10255
10255
  ok: true,
@@ -10269,7 +10269,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10269
10269
  lastPhase
10270
10270
  });
10271
10271
  }
10272
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkEGH4JNJPjs.isTransientPlayRunReadError.call(void 0, error))) {
10272
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunk6GYGMWQVjs.isTransientPlayRunReadError.call(void 0, error))) {
10273
10273
  if (timeout) {
10274
10274
  clearTimeout(timeout);
10275
10275
  }
@@ -10280,7 +10280,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10280
10280
  `
10281
10281
  );
10282
10282
  }
10283
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10283
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10284
10284
  phase: "cli.play_start_stream_reconnect",
10285
10285
  ms: Date.now() - startedAt,
10286
10286
  ok: true,
@@ -10307,7 +10307,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10307
10307
  });
10308
10308
  }
10309
10309
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
10310
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10310
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10311
10311
  phase: "cli.play_start_stream_transient_failure",
10312
10312
  ms: Date.now() - startedAt,
10313
10313
  ok: false,
@@ -10335,7 +10335,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10335
10335
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
10336
10336
  );
10337
10337
  }
10338
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
10338
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
10339
10339
  phase: "cli.play_start_stream_reconnect",
10340
10340
  ms: Date.now() - startedAt,
10341
10341
  ok: true,
@@ -10415,7 +10415,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
10415
10415
  "logs"
10416
10416
  ]);
10417
10417
  function formatPlayLogLine(rawLine, state) {
10418
- const classified = _chunkEGH4JNJPjs.classifyLogLine.call(void 0, rawLine);
10418
+ const classified = _chunk6GYGMWQVjs.classifyLogLine.call(void 0, rawLine);
10419
10419
  const line = classified.line;
10420
10420
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
10421
10421
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _389 => _389[1]]) ? new Date(timestampMatch[1]) : null;
@@ -10430,14 +10430,14 @@ function formatPlayLogLine(rawLine, state) {
10430
10430
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
10431
10431
  const providerWait = formatProviderCapacityWaitLogLine(line);
10432
10432
  if (providerWait && !state.verbose) {
10433
- return _chunkEGH4JNJPjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10433
+ return _chunk6GYGMWQVjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10434
10434
  }
10435
10435
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
10436
10436
  if (mapProgress && !state.verbose) {
10437
- return _chunkEGH4JNJPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10437
+ return _chunk6GYGMWQVjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10438
10438
  }
10439
10439
  if (/\[worker\] picked up run\b/.test(message)) {
10440
- if (!_chunkEGH4JNJPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10440
+ if (!_chunk6GYGMWQVjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10441
10441
  return null;
10442
10442
  }
10443
10443
  if (state.emittedRunnerStarted) {
@@ -10450,7 +10450,7 @@ function formatPlayLogLine(rawLine, state) {
10450
10450
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
10451
10451
  );
10452
10452
  if (mapStart) {
10453
- if (!_chunkEGH4JNJPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10453
+ if (!_chunk6GYGMWQVjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10454
10454
  return null;
10455
10455
  }
10456
10456
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -10460,7 +10460,7 @@ function formatPlayLogLine(rawLine, state) {
10460
10460
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
10461
10461
  );
10462
10462
  if (mapDone) {
10463
- if (!_chunkEGH4JNJPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10463
+ if (!_chunk6GYGMWQVjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10464
10464
  return null;
10465
10465
  }
10466
10466
  const [, results, executed, cached] = mapDone;
@@ -11782,7 +11782,7 @@ function formatRecentRunLogLines(value) {
11782
11782
  (line) => typeof line === "string"
11783
11783
  );
11784
11784
  if (tail.length === 0) return [];
11785
- const shown = tail.map((line) => _chunkEGH4JNJPjs.classifyLogLine.call(void 0, line)).filter(
11785
+ const shown = tail.map((line) => _chunk6GYGMWQVjs.classifyLogLine.call(void 0, line)).filter(
11786
11786
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
11787
11787
  ).slice(-8);
11788
11788
  const total = readNonNegativeInteger(logs.totalCount);
@@ -12087,11 +12087,11 @@ function buildPlayCompletionTextLines(status) {
12087
12087
  }
12088
12088
  function writePlayResult(status, jsonOutput, options) {
12089
12089
  const packaged = getPlayRunPackage(status);
12090
- if (status.package) _chunkJUZIMW4Sjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
12090
+ if (status.package) _chunkGQHZV7EQjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
12091
12091
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _480 => _480.hits]), () => ( null));
12092
12092
  if (jsonOutput) {
12093
12093
  const payload2 = _optionalChain([options, 'optionalAccess', _481 => _481.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
12094
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
12094
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
12095
12095
  hits ? { ...payload2, hits } : payload2,
12096
12096
  { json: true, fields: _optionalChain([options, 'optionalAccess', _482 => _482.jsonFields]) }
12097
12097
  );
@@ -12107,7 +12107,7 @@ function writePlayResult(status, jsonOutput, options) {
12107
12107
  ...buildPlayCompletionTextLines(status),
12108
12108
  ...formatRunHitsLines(hits)
12109
12109
  ];
12110
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, displayPackage, {
12110
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, displayPackage, {
12111
12111
  json: false,
12112
12112
  text: `${lines2.join("\n")}
12113
12113
  `
@@ -12157,7 +12157,7 @@ function writePlayResult(status, jsonOutput, options) {
12157
12157
  lines.push(...buildBillingRollupTextLines(status));
12158
12158
  const compact = compactPlayStatus(status);
12159
12159
  const payload = _optionalChain([options, 'optionalAccess', _484 => _484.fullJson]) ? status : compact;
12160
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
12160
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
12161
12161
  {
12162
12162
  ...payload,
12163
12163
  render: {
@@ -12381,7 +12381,7 @@ async function fetchBackingDatasetRows(input) {
12381
12381
  }
12382
12382
  offset += page.rows.length;
12383
12383
  }
12384
- const withError = _chunkJUZIMW4Sjs.tableExportHasFailedRows.call(void 0,
12384
+ const withError = _chunkGQHZV7EQjs.tableExportHasFailedRows.call(void 0,
12385
12385
  sheetRows.filter(
12386
12386
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
12387
12387
  )
@@ -12397,7 +12397,7 @@ async function fetchBackingDatasetRows(input) {
12397
12397
  return [
12398
12398
  withError ? {
12399
12399
  ...exported,
12400
- [_chunkJUZIMW4Sjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkJUZIMW4Sjs.tableExportErrorCell.call(void 0,
12400
+ [_chunkGQHZV7EQjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkGQHZV7EQjs.tableExportErrorCell.call(void 0,
12401
12401
  row
12402
12402
  )
12403
12403
  } : exported
@@ -12946,7 +12946,7 @@ function renderServerResultView(value) {
12946
12946
  function writeStartedPlayRun(input) {
12947
12947
  if (input.package && isPlayRunPackageValue(input.package)) {
12948
12948
  const run = input.package.run;
12949
- _chunkJUZIMW4Sjs.recordPlayTermination.call(void 0, {
12949
+ _chunkGQHZV7EQjs.recordPlayTermination.call(void 0, {
12950
12950
  id: run.id,
12951
12951
  status: run.status,
12952
12952
  finishedAt: run.finishedAt
@@ -12959,7 +12959,7 @@ function writeStartedPlayRun(input) {
12959
12959
  dashboardUrl: input.dashboardUrl,
12960
12960
  package: input.package
12961
12961
  };
12962
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12962
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12963
12963
  json: true,
12964
12964
  fields: input.jsonFields
12965
12965
  });
@@ -12981,7 +12981,7 @@ function writeStartedPlayRun(input) {
12981
12981
  input.progress.writeLine(output2, process.stdout);
12982
12982
  return;
12983
12983
  }
12984
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, input.package, {
12984
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, input.package, {
12985
12985
  json: false,
12986
12986
  text: `${output2}
12987
12987
  `
@@ -13016,7 +13016,7 @@ function writeStartedPlayRun(input) {
13016
13016
  ) ? [`Stop: deepline runs stop ${_chunkBVXIGOBZjs.shellQuote.call(void 0, input.runId)}`] : []
13017
13017
  ];
13018
13018
  if (input.jsonOutput) {
13019
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13019
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13020
13020
  return;
13021
13021
  }
13022
13022
  const output = lines.join("\n");
@@ -13024,7 +13024,7 @@ function writeStartedPlayRun(input) {
13024
13024
  input.progress.writeLine(output, process.stdout);
13025
13025
  return;
13026
13026
  }
13027
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
13027
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
13028
13028
  {
13029
13029
  ...payload,
13030
13030
  render: { sections: [{ title: "play run", lines }] }
@@ -13034,7 +13034,7 @@ function writeStartedPlayRun(input) {
13034
13034
  );
13035
13035
  }
13036
13036
  function parsePlayCheckOptions(args) {
13037
- const selection = _chunkVA35T3AFjs.parseJsonFields.call(void 0, args, "check");
13037
+ const selection = _chunkPULU5YGXjs.parseJsonFields.call(void 0, args, "check");
13038
13038
  args = selection.args;
13039
13039
  const target = args[0];
13040
13040
  if (!target || target.startsWith("-")) {
@@ -13046,7 +13046,7 @@ function parsePlayCheckOptions(args) {
13046
13046
  if (arg !== "--json" && arg !== "--full")
13047
13047
  throw new Error(`Unknown plays check option: ${arg}`);
13048
13048
  }
13049
- const jsonOutput = _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
13049
+ const jsonOutput = _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
13050
13050
  return {
13051
13051
  target,
13052
13052
  jsonOutput,
@@ -13122,7 +13122,7 @@ ${PLAY_PUBLISH_USAGE}`
13122
13122
  useLatest,
13123
13123
  expectedArtifactHash,
13124
13124
  dryRun,
13125
- jsonOutput: _chunkVA35T3AFjs.argsWantJson.call(void 0, args)
13125
+ jsonOutput: _chunkPULU5YGXjs.argsWantJson.call(void 0, args)
13126
13126
  };
13127
13127
  }
13128
13128
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--watch-play <play-reference>] [--dry-run] [--json]\nUse --watch-play to show invalid source on your own open working canvas while keeping the last valid diagram.";
@@ -13171,7 +13171,7 @@ ${PLAY_SAVE_USAGE}`);
13171
13171
  expectedArtifactHash,
13172
13172
  watchPlay,
13173
13173
  dryRun,
13174
- jsonOutput: _chunkVA35T3AFjs.argsWantJson.call(void 0, args)
13174
+ jsonOutput: _chunkPULU5YGXjs.argsWantJson.call(void 0, args)
13175
13175
  };
13176
13176
  }
13177
13177
  function printScheduledPlayCapacity(capacity) {
@@ -13360,7 +13360,7 @@ function printBundledRuntimeWarning(bundle) {
13360
13360
  async function handlePlayCheck(args) {
13361
13361
  const options = parsePlayCheckOptions(args);
13362
13362
  if (!isFileTarget(options.target)) {
13363
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
13363
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
13364
13364
  try {
13365
13365
  await assertCanonicalNamedPlayReference(client, options.target, {
13366
13366
  command: "check"
@@ -13389,7 +13389,7 @@ async function handlePlayCheck(args) {
13389
13389
  },
13390
13390
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
13391
13391
  };
13392
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, result, {
13392
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, result, {
13393
13393
  json: options.jsonOutput,
13394
13394
  fields: options.jsonFields,
13395
13395
  text: renderPlayCheckOutput(result) + "\n"
@@ -13399,7 +13399,7 @@ async function handlePlayCheck(args) {
13399
13399
  const resolved = _path.resolve.call(void 0, options.target);
13400
13400
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
13401
13401
  if (options.jsonOutput) {
13402
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
13402
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
13403
13403
  {
13404
13404
  kind: "play_check",
13405
13405
  checked: "named_contract",
@@ -13433,7 +13433,7 @@ async function handlePlayCheck(args) {
13433
13433
  full: options.full,
13434
13434
  publishCommand: _optionalChain([primary, 'optionalAccess', _534 => _534.result, 'access', _535 => _535.artifactHash]) ? `deepline plays publish ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13435
13435
  });
13436
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, output, {
13436
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, output, {
13437
13437
  json: options.jsonOutput,
13438
13438
  fields: options.jsonFields,
13439
13439
  jsonLayout: "readable",
@@ -13505,7 +13505,7 @@ async function checkOneExportedPlay(input) {
13505
13505
  }
13506
13506
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
13507
13507
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
13508
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkMRSYC74Tjs.DeeplineClient)()));
13508
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkMFPHCUHKjs.DeeplineClient)()));
13509
13509
  const integrationMode = resolveEvalIntegrationMode();
13510
13510
  const checked = await checkLocalPlayGraph({
13511
13511
  client,
@@ -13567,8 +13567,8 @@ async function handleFileBackedRun(options, hooks) {
13567
13567
  let prefetchClient;
13568
13568
  let admissionCapability;
13569
13569
  let cancelAdmissionCapability;
13570
- let cliAdmission = _chunkV54YQHPVjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13571
- const progress = _nullishCoalesce(_chunkSKKRESFBjs.getActiveCliProgress.call(void 0, ), () => ( _chunkSKKRESFBjs.createCliProgress.call(void 0, !options.jsonOutput)));
13570
+ let cliAdmission = _chunk23LYXVI4js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13571
+ const progress = _nullishCoalesce(_chunkW3ECB7GCjs.getActiveCliProgress.call(void 0, ), () => ( _chunkW3ECB7GCjs.createCliProgress.call(void 0, !options.jsonOutput)));
13572
13572
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _544 => _544.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
13573
13573
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
13574
13574
  progress.phase("compiling play");
@@ -13585,11 +13585,11 @@ async function handleFileBackedRun(options, hooks) {
13585
13585
  return 1;
13586
13586
  }
13587
13587
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
13588
- const clientForPrefetch = new (0, _chunkMRSYC74Tjs.DeeplineClient)(playRunClientOptions(options));
13588
+ const clientForPrefetch = new (0, _chunkMFPHCUHKjs.DeeplineClient)(playRunClientOptions(options));
13589
13589
  prefetchClient = clientForPrefetch;
13590
13590
  const capabilityController = new AbortController();
13591
13591
  cancelAdmissionCapability = () => capabilityController.abort();
13592
- admissionCapability = _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13592
+ admissionCapability = _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13593
13593
  "cli.play_admission_capability_prefetch",
13594
13594
  { targetKind: "file" },
13595
13595
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -13600,7 +13600,7 @@ async function handleFileBackedRun(options, hooks) {
13600
13600
  }
13601
13601
  let graph;
13602
13602
  try {
13603
- graph = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13603
+ graph = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13604
13604
  "cli.play_file_bundle_graph",
13605
13605
  { targetKind: "file" },
13606
13606
  () => collectBundledPlayGraph(
@@ -13613,7 +13613,7 @@ async function handleFileBackedRun(options, hooks) {
13613
13613
  assertPlayGraphAuthoring(graph);
13614
13614
  if (options.dryRun) {
13615
13615
  progress.complete();
13616
- const plan = _chunkHP6A3JCXjs.planLocalPlayExecution.call(void 0, graph, {
13616
+ const plan = _chunkBUMCOVBPjs.planLocalPlayExecution.call(void 0, graph, {
13617
13617
  runIdFile: options.runIdFile
13618
13618
  });
13619
13619
  if (_optionalChain([hooks, 'optionalAccess', _545 => _545.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -13624,9 +13624,9 @@ async function handleFileBackedRun(options, hooks) {
13624
13624
  });
13625
13625
  return 0;
13626
13626
  }
13627
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkMRSYC74Tjs.DeeplineClient)(playRunClientOptions(options))));
13627
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkMFPHCUHKjs.DeeplineClient)(playRunClientOptions(options))));
13628
13628
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
13629
- await _chunkV54YQHPVjs.checkPlayRunCompatibility.call(void 0,
13629
+ await _chunk23LYXVI4js.checkPlayRunCompatibility.call(void 0,
13630
13630
  client.baseUrl,
13631
13631
  options.maintenancePolicy
13632
13632
  );
@@ -13639,7 +13639,7 @@ async function handleFileBackedRun(options, hooks) {
13639
13639
  });
13640
13640
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
13641
13641
  if (canDeferCompilerManifest) {
13642
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
13642
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
13643
13643
  phase: "cli.play_file_compile_manifests",
13644
13644
  ms: 0,
13645
13645
  ok: true,
@@ -13648,7 +13648,7 @@ async function handleFileBackedRun(options, hooks) {
13648
13648
  reason: "validated_by_run_route"
13649
13649
  });
13650
13650
  } else {
13651
- await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13651
+ await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13652
13652
  "cli.play_file_compile_manifests",
13653
13653
  { targetKind: "file", skipped: false },
13654
13654
  () => compileBundledPlayGraphManifests(client, graph)
@@ -13656,7 +13656,7 @@ async function handleFileBackedRun(options, hooks) {
13656
13656
  }
13657
13657
  progress.phase("compiled play");
13658
13658
  } catch (error) {
13659
- if (error instanceof _chunkJUZIMW4Sjs.ExecutionOutputError) throw error;
13659
+ if (error instanceof _chunkGQHZV7EQjs.ExecutionOutputError) throw error;
13660
13660
  progress.fail();
13661
13661
  reportError(normalizePlayValidationError(error));
13662
13662
  return 1;
@@ -13667,13 +13667,13 @@ async function handleFileBackedRun(options, hooks) {
13667
13667
  if (bundleResult.importedPlayDependencies.length > 0) {
13668
13668
  try {
13669
13669
  renderLocalPlayExecutionPlan(
13670
- _chunkHP6A3JCXjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13670
+ _chunkBUMCOVBPjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13671
13671
  );
13672
13672
  progress.phase("pinning imported plays");
13673
- graph = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13673
+ graph = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13674
13674
  "cli.play_file_pin_imports",
13675
13675
  { targetKind: "file" },
13676
- () => _chunkHP6A3JCXjs.pinLocalPlayImports.call(void 0, client, graph)
13676
+ () => _chunkBUMCOVBPjs.pinLocalPlayImports.call(void 0, client, graph)
13677
13677
  );
13678
13678
  bundleResult = graph.root;
13679
13679
  } catch (error) {
@@ -13690,7 +13690,7 @@ async function handleFileBackedRun(options, hooks) {
13690
13690
  inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _546 => _546.authoringContract, 'optionalAccess', _547 => _547.inputSchema]),
13691
13691
  staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _548 => _548.staticPipeline])
13692
13692
  });
13693
- const stagedFileInputs = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13693
+ const stagedFileInputs = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13694
13694
  "cli.play_stage_inputs",
13695
13695
  {
13696
13696
  targetKind: "file",
@@ -13741,7 +13741,7 @@ async function handleFileBackedRun(options, hooks) {
13741
13741
  };
13742
13742
  if (options.watch) {
13743
13743
  progress.phase("starting run");
13744
- const finalStatus = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13744
+ const finalStatus = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13745
13745
  "cli.play_start_watch",
13746
13746
  { targetKind: "file", playName },
13747
13747
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13803,7 +13803,7 @@ async function handleFileBackedRun(options, hooks) {
13803
13803
  return outputStatus.status === "completed" ? 0 : 1;
13804
13804
  }
13805
13805
  progress.phase("starting run");
13806
- const started = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13806
+ const started = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13807
13807
  "cli.play_start_unwatched",
13808
13808
  { targetKind: "file", playName },
13809
13809
  () => startPlayRunWithTransientRetry({
@@ -13822,7 +13822,7 @@ async function handleFileBackedRun(options, hooks) {
13822
13822
  const resolvedDashboardUrl = _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
13823
13823
  client.baseUrl,
13824
13824
  playName,
13825
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
13825
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
13826
13826
  );
13827
13827
  openPlayDashboard(
13828
13828
  resolvePlayRunUrl({
@@ -13880,9 +13880,9 @@ async function handleNamedRun(options, hooks) {
13880
13880
  if (options.target.kind !== "name") {
13881
13881
  throw new Error("Expected a named play run target.");
13882
13882
  }
13883
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)(playRunClientOptions(options));
13884
- let cliAdmission = _chunkV54YQHPVjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13885
- const progress = _nullishCoalesce(_chunkSKKRESFBjs.getActiveCliProgress.call(void 0, ), () => ( _chunkSKKRESFBjs.createCliProgress.call(void 0, !options.jsonOutput)));
13883
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)(playRunClientOptions(options));
13884
+ let cliAdmission = _chunk23LYXVI4js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13885
+ const progress = _nullishCoalesce(_chunkW3ECB7GCjs.getActiveCliProgress.call(void 0, ), () => ( _chunkW3ECB7GCjs.createCliProgress.call(void 0, !options.jsonOutput)));
13886
13886
  const playName = options.target.name;
13887
13887
  const runtimeInput = options.input ? { ...options.input } : {};
13888
13888
  try {
@@ -13900,7 +13900,7 @@ async function handleNamedRun(options, hooks) {
13900
13900
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13901
13901
  const capabilityController = new AbortController();
13902
13902
  cancelAdmissionCapability = () => capabilityController.abort();
13903
- admissionCapability = _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13903
+ admissionCapability = _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13904
13904
  "cli.play_admission_capability_prefetch",
13905
13905
  { targetKind: "name", playName },
13906
13906
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13911,14 +13911,14 @@ async function handleNamedRun(options, hooks) {
13911
13911
  }
13912
13912
  const playDetail = needsPlayDefinition ? await (async () => {
13913
13913
  progress.phase("loading play definition");
13914
- return _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13914
+ return _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13915
13915
  "cli.play_load_definition",
13916
13916
  { targetKind: "name", playName, skipped: false },
13917
13917
  () => assertCanonicalNamedPlayReference(client, playName, {
13918
13918
  command: "run"
13919
13919
  })
13920
13920
  );
13921
- })() : (_chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
13921
+ })() : (_chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
13922
13922
  phase: "cli.play_load_definition",
13923
13923
  ms: 0,
13924
13924
  ok: true,
@@ -13927,7 +13927,7 @@ async function handleNamedRun(options, hooks) {
13927
13927
  skipped: true
13928
13928
  }), null);
13929
13929
  progress.phase("selecting revision");
13930
- const selectedRevisionId = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13930
+ const selectedRevisionId = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13931
13931
  "cli.play_select_revision",
13932
13932
  {
13933
13933
  targetKind: "name",
@@ -13952,10 +13952,10 @@ async function handleNamedRun(options, hooks) {
13952
13952
  ..._chunkMJTVX4QKjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13953
13953
  ] : [];
13954
13954
  if (cliAdmission && fileInputBindings.length > 0) {
13955
- await _chunkV54YQHPVjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13955
+ await _chunk23LYXVI4js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13956
13956
  cliAdmission = false;
13957
13957
  }
13958
- const stagedFileInputs = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
13958
+ const stagedFileInputs = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
13959
13959
  "cli.play_stage_inputs",
13960
13960
  {
13961
13961
  targetKind: "name",
@@ -14000,7 +14000,7 @@ async function handleNamedRun(options, hooks) {
14000
14000
  });
14001
14001
  if (options.watch) {
14002
14002
  progress.phase("starting run");
14003
- const finalStatus = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
14003
+ const finalStatus = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
14004
14004
  "cli.play_start_watch",
14005
14005
  { targetKind: "name", playName },
14006
14006
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -14065,7 +14065,7 @@ async function handleNamedRun(options, hooks) {
14065
14065
  return outputStatus.status === "completed" ? 0 : 1;
14066
14066
  }
14067
14067
  progress.phase("starting run");
14068
- const started = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
14068
+ const started = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
14069
14069
  "cli.play_start_unwatched",
14070
14070
  { targetKind: "name", playName },
14071
14071
  () => startPlayRunWithTransientRetry({
@@ -14086,7 +14086,7 @@ async function handleNamedRun(options, hooks) {
14086
14086
  const resolvedDashboardUrl = _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
14087
14087
  client.baseUrl,
14088
14088
  playName,
14089
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14089
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14090
14090
  );
14091
14091
  openPlayDashboard(
14092
14092
  resolvePlayRunUrl({
@@ -14136,7 +14136,7 @@ async function writePlayRunReceipt(client, status, output) {
14136
14136
  const next = { status: `deepline runs get ${status.runId}` };
14137
14137
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _576 => _576.exec, 'call', _577 => _577(status.runId), 'optionalAccess', _578 => _578[1]]), () => ( extractRunPlayName(status))), () => ( null));
14138
14138
  if (!terminal) {
14139
- _chunkJUZIMW4Sjs.writeExecutionOutput.call(void 0,
14139
+ _chunkGQHZV7EQjs.writeExecutionOutput.call(void 0,
14140
14140
  {
14141
14141
  id: status.runId,
14142
14142
  status: status.status,
@@ -14145,7 +14145,7 @@ async function writePlayRunReceipt(client, status, output) {
14145
14145
  client.baseUrl,
14146
14146
  playName,
14147
14147
  status.runId,
14148
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14148
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14149
14149
  )
14150
14150
  } : {},
14151
14151
  next
@@ -14223,11 +14223,11 @@ async function writePlayRunReceipt(client, status, output) {
14223
14223
  };
14224
14224
  }
14225
14225
  const byRows = new Map(collections.map((c) => [c.rows, c]));
14226
- const allCollections = _chunkJUZIMW4Sjs.outputCollections.call(void 0, data).map(
14226
+ const allCollections = _chunkGQHZV7EQjs.outputCollections.call(void 0, data).map(
14227
14227
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
14228
14228
  );
14229
14229
  const credits = _nullishCoalesce(_nullishCoalesce(status.billingTotalCreditsRollup, () => ( _optionalChain([status, 'access', _585 => _585.billing, 'optionalAccess', _586 => _586.totalCredits]))), () => ( null));
14230
- _chunkJUZIMW4Sjs.writeExecutionOutput.call(void 0,
14230
+ _chunkGQHZV7EQjs.writeExecutionOutput.call(void 0,
14231
14231
  {
14232
14232
  id: status.runId,
14233
14233
  status: status.status,
@@ -14242,7 +14242,7 @@ async function writePlayRunReceipt(client, status, output) {
14242
14242
  client.baseUrl,
14243
14243
  playName,
14244
14244
  status.runId,
14245
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14245
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14246
14246
  )
14247
14247
  } : {},
14248
14248
  warnings: [
@@ -14259,7 +14259,7 @@ async function writePlayRunReceipt(client, status, output) {
14259
14259
  }
14260
14260
  var TOOL_EXECUTION_ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
14261
14261
  async function handlePlayRun(args, hooks) {
14262
- const parsedOptions = Array.isArray(args) ? _chunkH3KVMALUjs.parsePlayRunOptions.call(void 0, args) : args;
14262
+ const parsedOptions = Array.isArray(args) ? _chunkCCC3NIYBjs.parsePlayRunOptions.call(void 0, args) : args;
14263
14263
  const options = parsedOptions.runIdFile ? {
14264
14264
  ...parsedOptions,
14265
14265
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -14276,7 +14276,7 @@ async function handlePlayRun(args, hooks) {
14276
14276
  JSON.stringify({
14277
14277
  version: 1,
14278
14278
  admissionState: "submitted_unknown",
14279
- baseUrl: new (0, _chunkMRSYC74Tjs.DeeplineClient)().baseUrl,
14279
+ baseUrl: new (0, _chunkMFPHCUHKjs.DeeplineClient)().baseUrl,
14280
14280
  ...intent
14281
14281
  })
14282
14282
  );
@@ -14542,7 +14542,7 @@ function renderRunOverviewText(overview, extras = {}) {
14542
14542
  );
14543
14543
  return `${lines.join("\n")}
14544
14544
 
14545
- ${_chunkVA35T3AFjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14545
+ ${_chunkPULU5YGXjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14546
14546
  }
14547
14547
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
14548
14548
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -14568,14 +14568,14 @@ async function withRunReadTiming(command, stage, enabled, action) {
14568
14568
  async function handleRunGet(args) {
14569
14569
  return explainingRunNotFound(
14570
14570
  () => parseRunIdPositional(
14571
- _chunkVA35T3AFjs.parseJsonFields.call(void 0, args, args.includes("--config") ? "config" : "get").args,
14571
+ _chunkPULU5YGXjs.parseJsonFields.call(void 0, args, args.includes("--config") ? "config" : "get").args,
14572
14572
  ""
14573
14573
  ),
14574
14574
  () => handleRunGetAndPrint(args)
14575
14575
  );
14576
14576
  }
14577
14577
  async function handleRunGetAndPrint(args) {
14578
- const selection = _chunkVA35T3AFjs.parseJsonFields.call(void 0,
14578
+ const selection = _chunkPULU5YGXjs.parseJsonFields.call(void 0,
14579
14579
  args,
14580
14580
  args.includes("--config") ? "config" : "get"
14581
14581
  );
@@ -14588,7 +14588,7 @@ async function handleRunGetAndPrint(args) {
14588
14588
  console.error(error instanceof Error ? error.message : usage2);
14589
14589
  return 1;
14590
14590
  }
14591
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
14591
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
14592
14592
  const timing = args.includes("--timing");
14593
14593
  const web = args.includes("--web");
14594
14594
  if (web || args.includes("--web-url")) {
@@ -14606,17 +14606,17 @@ async function handleRunGetAndPrint(args) {
14606
14606
  const dashboardUrl2 = _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
14607
14607
  client.baseUrl,
14608
14608
  playName2,
14609
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14609
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14610
14610
  );
14611
14611
  const runUrl2 = _chunkMOZDEYQCjs.buildPlayRunUrl.call(void 0,
14612
14612
  client.baseUrl,
14613
14613
  playName2,
14614
14614
  runId,
14615
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14615
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14616
14616
  );
14617
14617
  if (web) {
14618
- const opened = _chunkVA35T3AFjs.openInBrowser.call(void 0, runUrl2);
14619
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14618
+ const opened = _chunkPULU5YGXjs.openInBrowser.call(void 0, runUrl2);
14619
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14620
14620
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
14621
14621
  {
14622
14622
  json: args.includes("--json"),
@@ -14627,7 +14627,7 @@ async function handleRunGetAndPrint(args) {
14627
14627
  );
14628
14628
  return 0;
14629
14629
  }
14630
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14630
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14631
14631
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
14632
14632
  { json: args.includes("--json"), text: `${runUrl2}
14633
14633
  ` }
@@ -14652,7 +14652,7 @@ async function handleRunGetAndPrint(args) {
14652
14652
  "This server does not support recorded configuration reads."
14653
14653
  );
14654
14654
  }
14655
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14655
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14656
14656
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
14657
14657
  { json: true, fields: selection.fields }
14658
14658
  );
@@ -14665,7 +14665,7 @@ async function handleRunGetAndPrint(args) {
14665
14665
  timing,
14666
14666
  () => client.getRunInput(runId)
14667
14667
  );
14668
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, input, { json: true });
14668
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, input, { json: true });
14669
14669
  return 0;
14670
14670
  }
14671
14671
  const full = args.includes("--full");
@@ -14680,7 +14680,7 @@ async function handleRunGetAndPrint(args) {
14680
14680
  failedLogs: args.includes("--log-failed")
14681
14681
  })
14682
14682
  );
14683
- if (status.package) _chunkJUZIMW4Sjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14683
+ if (status.package) _chunkGQHZV7EQjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14684
14684
  if (!status.package) {
14685
14685
  const legacyStatus = full ? await withRunReadTiming(
14686
14686
  "runs get",
@@ -14695,16 +14695,16 @@ async function handleRunGetAndPrint(args) {
14695
14695
  const legacyDashboardUrl = legacyPlayName ? _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
14696
14696
  client.baseUrl,
14697
14697
  legacyPlayName,
14698
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14698
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14699
14699
  ) : null;
14700
14700
  const legacyRunUrl = legacyPlayName ? _chunkMOZDEYQCjs.buildPlayRunUrl.call(void 0,
14701
14701
  client.baseUrl,
14702
14702
  legacyPlayName,
14703
14703
  runId,
14704
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14704
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14705
14705
  ) : null;
14706
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
14707
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14706
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
14707
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14708
14708
  {
14709
14709
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
14710
14710
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -14715,7 +14715,7 @@ async function handleRunGetAndPrint(args) {
14715
14715
  } else {
14716
14716
  writePlayResult(legacyStatus, false, { fullJson: full });
14717
14717
  if (legacyRunUrl)
14718
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14718
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14719
14719
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
14720
14720
  { json: false, text: `run page: ${legacyRunUrl}
14721
14721
  ` }
@@ -14745,20 +14745,20 @@ async function handleRunGetAndPrint(args) {
14745
14745
  )
14746
14746
  ]);
14747
14747
  const hitLines = formatRunHitsLines(hits);
14748
- const json = _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
14748
+ const json = _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
14749
14749
  const playName = resolveRunPlayName(status, runId);
14750
14750
  const dashboardUrl = playName ? _chunkMOZDEYQCjs.buildPlayDashboardUrl.call(void 0,
14751
14751
  client.baseUrl,
14752
14752
  playName,
14753
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14753
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14754
14754
  ) : void 0;
14755
14755
  const runUrl = playName ? _chunkMOZDEYQCjs.buildPlayRunUrl.call(void 0,
14756
14756
  client.baseUrl,
14757
14757
  playName,
14758
14758
  runId,
14759
- _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14759
+ _chunkVXDKL434js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
14760
14760
  ) : void 0;
14761
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
14761
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
14762
14762
  {
14763
14763
  ...overview,
14764
14764
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -14863,9 +14863,9 @@ async function handleRunLifecycleStatus(args) {
14863
14863
  console.error(error instanceof Error ? error.message : usage2);
14864
14864
  return 1;
14865
14865
  }
14866
- const status = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.status(runId);
14867
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
14868
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, status, { json: true });
14866
+ const status = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.status(runId);
14867
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
14868
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, status, { json: true });
14869
14869
  return 0;
14870
14870
  }
14871
14871
  if (!status.available) {
@@ -14931,7 +14931,7 @@ async function handleRunsRerun(args) {
14931
14931
  console.error(error instanceof Error ? error.message : usage2);
14932
14932
  return 1;
14933
14933
  }
14934
- const options = { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) };
14934
+ const options = { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) };
14935
14935
  for (let index = 0; index < args.length; index += 1) {
14936
14936
  if (args[index] === "--idempotency-key") {
14937
14937
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14999,8 +14999,8 @@ ${usage2}
14999
14999
  Discover Plays: ${next.discover}
15000
15000
  Active runs: ${next.running}`
15001
15001
  );
15002
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
15003
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15002
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
15003
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15004
15004
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
15005
15005
  { json: true }
15006
15006
  );
@@ -15029,7 +15029,7 @@ Active runs: ${next.running}`
15029
15029
  console.error("--offset requires --play.");
15030
15030
  return 1;
15031
15031
  }
15032
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15032
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15033
15033
  const page = await withRunReadTiming(
15034
15034
  "runs list",
15035
15035
  "run inventory",
@@ -15110,14 +15110,14 @@ Active runs: ${next.running}`
15110
15110
  return lines2.join("\n");
15111
15111
  });
15112
15112
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
15113
- const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkBVXIGOBZjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkBVXIGOBZjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkVA35T3AFjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
15113
+ const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkBVXIGOBZjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkBVXIGOBZjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkPULU5YGXjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
15114
15114
  if (page.hasMore) {
15115
15115
  lines.push("List truncated \u2014 more runs match this filter.");
15116
15116
  lines.push(
15117
15117
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
15118
15118
  );
15119
15119
  }
15120
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15120
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15121
15121
  {
15122
15122
  runs,
15123
15123
  ...wantsSteps ? {
@@ -15135,7 +15135,7 @@ Active runs: ${next.running}`
15135
15135
  },
15136
15136
  render: { sections: [{ title: "runs", lines }] }
15137
15137
  },
15138
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15138
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15139
15139
  );
15140
15140
  return 0;
15141
15141
  }
@@ -15165,7 +15165,7 @@ async function handleRunTail(args) {
15165
15165
  console.error("--log-level requires one of: debug, info, warn, error.");
15166
15166
  return 1;
15167
15167
  }
15168
- const parsed = _chunkEGH4JNJPjs.parseLogLevel.call(void 0, value);
15168
+ const parsed = _chunk6GYGMWQVjs.parseLogLevel.call(void 0, value);
15169
15169
  if (!parsed) {
15170
15170
  console.error(
15171
15171
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15203,9 +15203,9 @@ async function handleRunTail(args) {
15203
15203
  );
15204
15204
  return 1;
15205
15205
  }
15206
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15206
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15207
15207
  const jsonLines = args.includes("--jsonl");
15208
- const jsonOutput = !jsonLines && _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
15208
+ const jsonOutput = !jsonLines && _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
15209
15209
  const compact = args.includes("--compact");
15210
15210
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
15211
15211
  const compactState = {
@@ -15286,7 +15286,7 @@ async function handleRunLogs(args) {
15286
15286
  ]);
15287
15287
  const cursorIndex = args.indexOf("--cursor");
15288
15288
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
15289
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkEGH4JNJPjs.isRunLogsCursor.call(void 0, cursorValue));
15289
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunk6GYGMWQVjs.isRunLogsCursor.call(void 0, cursorValue));
15290
15290
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
15291
15291
  return handleRunEventSearch(args);
15292
15292
  }
@@ -15320,7 +15320,7 @@ async function handleRunLogs(args) {
15320
15320
  console.error("--log-level requires one of: debug, info, warn, error.");
15321
15321
  return 1;
15322
15322
  }
15323
- const parsed = _chunkEGH4JNJPjs.parseLogLevel.call(void 0, value);
15323
+ const parsed = _chunk6GYGMWQVjs.parseLogLevel.call(void 0, value);
15324
15324
  if (!parsed) {
15325
15325
  console.error(
15326
15326
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15367,12 +15367,12 @@ async function handleRunLogs(args) {
15367
15367
  );
15368
15368
  return 1;
15369
15369
  }
15370
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15370
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15371
15371
  if (outPath) {
15372
15372
  const result2 = await client.runs.logs(runId, { all: true });
15373
- const logs = result2.entries.filter((line) => _chunkEGH4JNJPjs.logLevelReaches.call(void 0, _chunkEGH4JNJPjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkEGH4JNJPjs.classifyLogLine.call(void 0, line).line);
15373
+ const logs = result2.entries.filter((line) => _chunk6GYGMWQVjs.logLevelReaches.call(void 0, _chunk6GYGMWQVjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunk6GYGMWQVjs.classifyLogLine.call(void 0, line).line);
15374
15374
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
15375
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15375
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15376
15376
  {
15377
15377
  runId: result2.runId,
15378
15378
  log_path: outPath,
@@ -15395,7 +15395,7 @@ async function handleRunLogs(args) {
15395
15395
  ]
15396
15396
  }
15397
15397
  },
15398
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15398
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15399
15399
  );
15400
15400
  return 0;
15401
15401
  }
@@ -15426,7 +15426,7 @@ async function handleRunLogs(args) {
15426
15426
  }
15427
15427
  };
15428
15428
  const text3 = buildRunLogsText(filteredResult);
15429
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15429
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15430
15430
  {
15431
15431
  runId: result.runId,
15432
15432
  totalCount: result.totalCount,
@@ -15450,7 +15450,7 @@ async function handleRunLogs(args) {
15450
15450
  render: { sections: [{ title: "run logs", lines: entries }] }
15451
15451
  },
15452
15452
  {
15453
- json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args),
15453
+ json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args),
15454
15454
  text: text3
15455
15455
  }
15456
15456
  );
@@ -15474,7 +15474,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15474
15474
  );
15475
15475
  }
15476
15476
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
15477
- (entry) => _chunkEGH4JNJPjs.logLevelReaches.call(void 0, _chunkEGH4JNJPjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15477
+ (entry) => _chunk6GYGMWQVjs.logLevelReaches.call(void 0, _chunk6GYGMWQVjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15478
15478
  );
15479
15479
  const selected = matching.slice(-limit);
15480
15480
  const olderMatchesExist = matching.length > selected.length;
@@ -15484,7 +15484,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15484
15484
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _611 => _611.at, 'call', _612 => _612(-1), 'optionalAccess', _613 => _613.seq]), () => ( null)),
15485
15485
  truncated: result.truncated || olderMatchesExist,
15486
15486
  hasMore: olderMatchesExist,
15487
- nextCursor: olderMatchesExist ? _chunkEGH4JNJPjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15487
+ nextCursor: olderMatchesExist ? _chunk6GYGMWQVjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15488
15488
  };
15489
15489
  }
15490
15490
  async function handleRunEventSearch(args) {
@@ -15551,7 +15551,7 @@ ${usage2}`);
15551
15551
  namespace,
15552
15552
  ...backend ? { backend } : {}
15553
15553
  } : void 0;
15554
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15554
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15555
15555
  const result = await client.runs.searchEvents({
15556
15556
  ...runId ? { runId } : {},
15557
15557
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -15623,7 +15623,7 @@ ${renderedDetails}` : ""}`;
15623
15623
  "--limit",
15624
15624
  String(limit)
15625
15625
  ].join(" ") : null;
15626
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15626
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15627
15627
  {
15628
15628
  events,
15629
15629
  nextCursor: result.nextCursor,
@@ -15634,14 +15634,14 @@ ${renderedDetails}` : ""}`;
15634
15634
  render: { sections: [{ title: "runtime events", lines }] }
15635
15635
  },
15636
15636
  {
15637
- json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args),
15637
+ json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args),
15638
15638
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
15639
15639
  }
15640
15640
  );
15641
15641
  return 0;
15642
15642
  }
15643
15643
  function buildRunLogsText(result) {
15644
- const lines = result.entries.map((line) => _chunkEGH4JNJPjs.classifyLogLine.call(void 0, line).line);
15644
+ const lines = result.entries.map((line) => _chunk6GYGMWQVjs.classifyLogLine.call(void 0, line).line);
15645
15645
  if (result.warning) {
15646
15646
  if (lines.length > 0) lines.push("");
15647
15647
  lines.push(`warning: ${result.warning}`);
@@ -15675,7 +15675,7 @@ async function handleRunStop(args) {
15675
15675
  reason = args[++index];
15676
15676
  }
15677
15677
  }
15678
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15678
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15679
15679
  const result = await client.runs.stop(runId, { reason });
15680
15680
  const communicationNotes = [
15681
15681
  ...result.communicationCancelledCount ? [
@@ -15699,7 +15699,7 @@ async function handleRunStop(args) {
15699
15699
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
15700
15700
  `inspect: deepline runs get ${runId} --full`
15701
15701
  ];
15702
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15702
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15703
15703
  {
15704
15704
  ...cancelling,
15705
15705
  state,
@@ -15714,7 +15714,7 @@ async function handleRunStop(args) {
15714
15714
  ]
15715
15715
  }
15716
15716
  },
15717
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15717
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15718
15718
  );
15719
15719
  return 0;
15720
15720
  }
@@ -15732,7 +15732,7 @@ async function handleRunStop(args) {
15732
15732
  ];
15733
15733
  process.stderr.write(`${lines2.join("\n")}
15734
15734
  `);
15735
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15735
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15736
15736
  {
15737
15737
  ...result,
15738
15738
  render: {
@@ -15747,7 +15747,7 @@ async function handleRunStop(args) {
15747
15747
  ]
15748
15748
  }
15749
15749
  },
15750
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15750
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15751
15751
  );
15752
15752
  return 1;
15753
15753
  }
@@ -15759,12 +15759,12 @@ async function handleRunStop(args) {
15759
15759
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
15760
15760
  ] : []
15761
15761
  ];
15762
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15762
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15763
15763
  {
15764
15764
  ...result,
15765
15765
  render: { sections: [{ title: "run stop", lines }] }
15766
15766
  },
15767
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15767
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15768
15768
  );
15769
15769
  return 0;
15770
15770
  }
@@ -15814,18 +15814,18 @@ async function handleRunStopAll(args) {
15814
15814
  reason = args[++index];
15815
15815
  }
15816
15816
  }
15817
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15817
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15818
15818
  if (dryRun) {
15819
15819
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
15820
15820
  const lines2 = buildStopAllDryRunTextLines(result2);
15821
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15821
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15822
15822
  {
15823
15823
  ...result2,
15824
15824
  render: {
15825
15825
  sections: [{ title: "org stop-all (dry run)", lines: lines2 }]
15826
15826
  }
15827
15827
  },
15828
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15828
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15829
15829
  ` }
15830
15830
  );
15831
15831
  return 0;
@@ -15838,23 +15838,23 @@ async function handleRunStopAll(args) {
15838
15838
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
15839
15839
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
15840
15840
  ];
15841
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
15841
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
15842
15842
  {
15843
15843
  ...result,
15844
15844
  render: { sections: [{ title: "org stop-all", lines }] }
15845
15845
  },
15846
- { json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args) }
15846
+ { json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args) }
15847
15847
  );
15848
15848
  return result.failed > 0 || result.partial ? 1 : 0;
15849
15849
  }
15850
15850
  async function handleRunExport(args) {
15851
15851
  return explainingRunNotFound(
15852
- () => parseRunIdPositional(_chunkVA35T3AFjs.parseJsonFields.call(void 0, args, "export").args, ""),
15852
+ () => parseRunIdPositional(_chunkPULU5YGXjs.parseJsonFields.call(void 0, args, "export").args, ""),
15853
15853
  () => handleRunExportAndWrite(args)
15854
15854
  );
15855
15855
  }
15856
15856
  async function handleRunExportAndWrite(args) {
15857
- const selection = _chunkVA35T3AFjs.parseJsonFields.call(void 0, args, "export");
15857
+ const selection = _chunkPULU5YGXjs.parseJsonFields.call(void 0, args, "export");
15858
15858
  args = selection.args;
15859
15859
  const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--summary full|counts] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--allow-empty] [--json]";
15860
15860
  let runId;
@@ -15925,17 +15925,17 @@ async function handleRunExportAndWrite(args) {
15925
15925
  "INVALID_ARGUMENT"
15926
15926
  );
15927
15927
  }
15928
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
15928
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
15929
15929
  let status = await client.getPlayStatus(runId, { full: true });
15930
15930
  runId = assertRunExportStatusIdentity(status, runId);
15931
15931
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
15932
- const progress = _chunkSKKRESFBjs.createCliProgress.call(void 0, !_chunkVA35T3AFjs.argsWantJson.call(void 0, args));
15932
+ const progress = _chunkW3ECB7GCjs.createCliProgress.call(void 0, !_chunkPULU5YGXjs.argsWantJson.call(void 0, args));
15933
15933
  try {
15934
15934
  await waitForPlayCompletionByWatch({
15935
15935
  client,
15936
15936
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
15937
15937
  workflowId: runId,
15938
- jsonOutput: _chunkVA35T3AFjs.argsWantJson.call(void 0, args),
15938
+ jsonOutput: _chunkPULU5YGXjs.argsWantJson.call(void 0, args),
15939
15939
  emitLogs: false,
15940
15940
  waitTimeoutMs,
15941
15941
  startedAt: Date.now(),
@@ -16003,7 +16003,7 @@ async function handleRunExportAndWrite(args) {
16003
16003
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _627 => _627.rowsInfo, 'access', _628 => _628.totalRows]), () => ( null)),
16004
16004
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
16005
16005
  ...rowFailures ? { rowFailures } : {},
16006
- columns: _chunkJUZIMW4Sjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _629 => _629.rowsInfo, 'access', _630 => _630.columns]), () => ( []))),
16006
+ columns: _chunkGQHZV7EQjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _629 => _629.rowsInfo, 'access', _630 => _630.columns]), () => ( []))),
16007
16007
  ...currentTableNotice ? { notice: currentTableNotice } : {},
16008
16008
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
16009
16009
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -16037,8 +16037,8 @@ async function handleRunExportAndWrite(args) {
16037
16037
  "utf-8"
16038
16038
  );
16039
16039
  }
16040
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, payload, {
16041
- json: _chunkVA35T3AFjs.argsWantJson.call(void 0, args),
16040
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, payload, {
16041
+ json: _chunkPULU5YGXjs.argsWantJson.call(void 0, args),
16042
16042
  fields: selection.fields,
16043
16043
  text: `${lines.join("\n")}
16044
16044
  `
@@ -16076,10 +16076,10 @@ async function handlePlayGet(args) {
16076
16076
  );
16077
16077
  return 2;
16078
16078
  }
16079
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16079
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16080
16080
  const explicitJson = args.includes("--json");
16081
16081
  const sourceOutput = args.includes("--source");
16082
- const jsonOutput = sourceOutput ? explicitJson : _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
16082
+ const jsonOutput = sourceOutput ? explicitJson : _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
16083
16083
  const requestedRevisionFlags = [
16084
16084
  args.includes("--working"),
16085
16085
  args.includes("--live"),
@@ -16142,7 +16142,7 @@ async function handlePlayGet(args) {
16142
16142
  }
16143
16143
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
16144
16144
  if (jsonOutput) {
16145
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
16145
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
16146
16146
  ...detail,
16147
16147
  ...materializedFile ? {
16148
16148
  message: loadedMessage,
@@ -16234,8 +16234,8 @@ async function handlePlayVersions(args) {
16234
16234
  console.error("Usage: deepline plays versions --name <name> [--json]");
16235
16235
  return 1;
16236
16236
  }
16237
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16238
- const jsonOutput = _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
16237
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16238
+ const jsonOutput = _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
16239
16239
  await assertCanonicalNamedPlayReference(client, playName, {
16240
16240
  command: "versions"
16241
16241
  });
@@ -16243,7 +16243,7 @@ async function handlePlayVersions(args) {
16243
16243
  parseReferencedPlayTarget(playName).playName
16244
16244
  );
16245
16245
  if (jsonOutput) {
16246
- _chunkVA35T3AFjs.printCompactJson.call(void 0, { versions });
16246
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, { versions });
16247
16247
  return 0;
16248
16248
  }
16249
16249
  if (versions.length === 0) {
@@ -16282,8 +16282,8 @@ async function handlePlayCost(args) {
16282
16282
  console.error("Usage: deepline plays cost <play> [--json]");
16283
16283
  return 2;
16284
16284
  }
16285
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getPlayCostEstimate(name);
16286
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16285
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getPlayCostEstimate(name);
16286
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16287
16287
  else
16288
16288
  console.log(
16289
16289
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -16291,9 +16291,9 @@ async function handlePlayCost(args) {
16291
16291
  return 0;
16292
16292
  }
16293
16293
  async function handlePlayList(args) {
16294
- const jsonOutput = _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
16294
+ const jsonOutput = _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
16295
16295
  const showCost = args.includes("--show-cost");
16296
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16296
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16297
16297
  const categoriesIndex = args.indexOf("--categories");
16298
16298
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _649 => _649[categoriesIndex + 1], 'optionalAccess', _650 => _650.trim, 'call', _651 => _651()]) : void 0;
16299
16299
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -16391,7 +16391,7 @@ async function handlePlayList(args) {
16391
16391
  lines.push("List truncated \u2014 more plays are available.");
16392
16392
  lines.push(`Next page: ${nextPage}`);
16393
16393
  }
16394
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
16394
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
16395
16395
  {
16396
16396
  plays,
16397
16397
  count: plays.length,
@@ -16409,7 +16409,7 @@ async function handlePlayList(args) {
16409
16409
  }
16410
16410
  async function handlePlayPin(args, pinned) {
16411
16411
  const target = _optionalChain([args, 'access', _660 => _660.find, 'call', _661 => _661((arg) => !arg.startsWith("-")), 'optionalAccess', _662 => _662.trim, 'call', _663 => _663()]);
16412
- const jsonOutput = _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
16412
+ const jsonOutput = _chunkPULU5YGXjs.argsWantJson.call(void 0, args);
16413
16413
  const dryRun = args.includes("--dry-run");
16414
16414
  if (!target) {
16415
16415
  console.error(
@@ -16427,11 +16427,11 @@ async function handlePlayPin(args, pinned) {
16427
16427
  const name = parsedTarget.playName;
16428
16428
  const plan = { name, pinned, dryRun };
16429
16429
  if (dryRun) {
16430
- _chunkVA35T3AFjs.printCompactJson.call(void 0, plan);
16430
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, plan);
16431
16431
  return 0;
16432
16432
  }
16433
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().setPlayPinned(name, pinned);
16434
- if (jsonOutput) _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
16433
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().setPlayPinned(name, pinned);
16434
+ if (jsonOutput) _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
16435
16435
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
16436
16436
  return 0;
16437
16437
  }
@@ -16557,12 +16557,12 @@ async function handlePlayGrep(args) {
16557
16557
  console.error("Usage: deepline plays grep <query> [--json]");
16558
16558
  return 1;
16559
16559
  }
16560
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16560
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16561
16561
  const results = (await client.listPlays({ grep: query })).map(
16562
16562
  summarizePlayGrepResult
16563
16563
  );
16564
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
16565
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
16564
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
16565
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
16566
16566
  plays: results,
16567
16567
  count: results.length,
16568
16568
  query,
@@ -16585,7 +16585,7 @@ async function handlePlayGrep(args) {
16585
16585
  return 0;
16586
16586
  }
16587
16587
  async function handlePlayDescribe(args) {
16588
- const selection = _chunkVA35T3AFjs.parseJsonFields.call(void 0, args, "describe");
16588
+ const selection = _chunkPULU5YGXjs.parseJsonFields.call(void 0, args, "describe");
16589
16589
  args = selection.args;
16590
16590
  const playName = args[0];
16591
16591
  if (!playName) {
@@ -16619,8 +16619,8 @@ async function handlePlayDescribe(args) {
16619
16619
  `deepline plays check ${playName}`,
16620
16620
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
16621
16621
  ];
16622
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
16623
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
16622
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
16623
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
16624
16624
  ok: false,
16625
16625
  error: { message },
16626
16626
  next
@@ -16634,7 +16634,7 @@ async function handlePlayDescribe(args) {
16634
16634
  }
16635
16635
  return 2;
16636
16636
  }
16637
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16637
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16638
16638
  await assertCanonicalNamedPlayReference(client, playName, {
16639
16639
  command: "describe"
16640
16640
  });
@@ -16644,9 +16644,9 @@ async function handlePlayDescribe(args) {
16644
16644
  compact: args.includes("--compact")
16645
16645
  }
16646
16646
  );
16647
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
16648
- if (selection.fields) _chunkVA35T3AFjs.printJson.call(void 0, play, selection.fields);
16649
- else _chunkVA35T3AFjs.printCompactJson.call(void 0, play);
16647
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
16648
+ if (selection.fields) _chunkPULU5YGXjs.printJson.call(void 0, play, selection.fields);
16649
+ else _chunkPULU5YGXjs.printCompactJson.call(void 0, play);
16650
16650
  return 0;
16651
16651
  }
16652
16652
  printPlayDescription(play);
@@ -16667,7 +16667,7 @@ async function handlePlaySave(args) {
16667
16667
  return 2;
16668
16668
  }
16669
16669
  const watchPlay = options.dryRun ? void 0 : options.watchPlay;
16670
- const client = watchPlay ? new (0, _chunkMRSYC74Tjs.DeeplineClient)() : void 0;
16670
+ const client = watchPlay ? new (0, _chunkMFPHCUHKjs.DeeplineClient)() : void 0;
16671
16671
  let attempt;
16672
16672
  if (watchPlay && client) {
16673
16673
  try {
@@ -16691,7 +16691,7 @@ async function handlePlaySave(args) {
16691
16691
  };
16692
16692
  let graph;
16693
16693
  try {
16694
- graph = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16694
+ graph = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16695
16695
  "cli.play_save_bundle_graph",
16696
16696
  { targetKind: "file" },
16697
16697
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -16720,7 +16720,7 @@ async function handlePlaySave(args) {
16720
16720
  next: `deepline plays check ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)}`
16721
16721
  };
16722
16722
  if (options.jsonOutput) {
16723
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
16723
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
16724
16724
  } else {
16725
16725
  console.error(result.message);
16726
16726
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -16742,7 +16742,7 @@ async function handlePlaySave(args) {
16742
16742
  };
16743
16743
  if (options.dryRun) {
16744
16744
  if (options.jsonOutput) {
16745
- _chunkVA35T3AFjs.printCompactJson.call(void 0, dryRun);
16745
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, dryRun);
16746
16746
  } else {
16747
16747
  console.log(`Dry run: ${playName}`);
16748
16748
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16751,14 +16751,14 @@ async function handlePlaySave(args) {
16751
16751
  }
16752
16752
  return 0;
16753
16753
  }
16754
- const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkMRSYC74Tjs.DeeplineClient)()));
16754
+ const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkMFPHCUHKjs.DeeplineClient)()));
16755
16755
  try {
16756
- await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16756
+ await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16757
16757
  "cli.play_save_compile_manifests",
16758
16758
  { targetKind: "file", nodeCount: graph.nodes.size },
16759
16759
  () => compileBundledPlayGraphManifests(saveClient, graph)
16760
16760
  );
16761
- const saved = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16761
+ const saved = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16762
16762
  "cli.play_save_register_draft",
16763
16763
  { targetKind: "file", playName, artifactHash },
16764
16764
  () => saveClient.registerPlayArtifact({
@@ -16788,7 +16788,7 @@ async function handlePlaySave(args) {
16788
16788
  }
16789
16789
  };
16790
16790
  if (options.jsonOutput) {
16791
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
16791
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
16792
16792
  } else {
16793
16793
  console.log(
16794
16794
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -16808,7 +16808,7 @@ async function handlePlaySave(args) {
16808
16808
  }
16809
16809
  }
16810
16810
  async function enforceOutcomeGuardrail(input) {
16811
- const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-MGDUYHUD.js")));
16811
+ const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-O3HDQWGN.js")));
16812
16812
  try {
16813
16813
  const gate = await requireOutcomeGuardrail({ ...input, phase: "reserve" });
16814
16814
  return {
@@ -16836,7 +16836,7 @@ async function enforceOutcomeGuardrail(input) {
16836
16836
  }
16837
16837
  }
16838
16838
  async function settleOutcomeApproval(input) {
16839
- const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-MGDUYHUD.js")));
16839
+ const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-O3HDQWGN.js")));
16840
16840
  const id = `${input.outcome}/${input.approval.seq}`;
16841
16841
  try {
16842
16842
  await requireOutcomeGuardrail({
@@ -16868,7 +16868,7 @@ async function handlePlayPublish(args) {
16868
16868
  }
16869
16869
  const { target: playName, useLatest } = options;
16870
16870
  let revisionId = options.revisionId;
16871
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
16871
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
16872
16872
  if (isFileTarget(playName)) {
16873
16873
  if (revisionId || useLatest) {
16874
16874
  console.error(
@@ -16878,7 +16878,7 @@ async function handlePlayPublish(args) {
16878
16878
  }
16879
16879
  let graph;
16880
16880
  try {
16881
- graph = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16881
+ graph = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16882
16882
  "cli.play_publish_bundle_graph",
16883
16883
  { targetKind: "file" },
16884
16884
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -16900,7 +16900,7 @@ async function handlePlayPublish(args) {
16900
16900
  next: `deepline plays check ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)}`
16901
16901
  };
16902
16902
  if (options.jsonOutput) {
16903
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result3);
16903
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result3);
16904
16904
  } else {
16905
16905
  console.error(result3.message);
16906
16906
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -16923,7 +16923,7 @@ async function handlePlayPublish(args) {
16923
16923
  };
16924
16924
  if (options.dryRun) {
16925
16925
  if (options.jsonOutput) {
16926
- _chunkVA35T3AFjs.printCompactJson.call(void 0, dryRun);
16926
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, dryRun);
16927
16927
  } else {
16928
16928
  console.log(`Dry run: ${rootPlayName}`);
16929
16929
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16942,12 +16942,12 @@ async function handlePlayPublish(args) {
16942
16942
  }
16943
16943
  }
16944
16944
  try {
16945
- await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16945
+ await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16946
16946
  "cli.play_publish_compile_manifests",
16947
16947
  { targetKind: "file", nodeCount: graph.nodes.size },
16948
16948
  () => compileBundledPlayGraphManifests(client, graph)
16949
16949
  );
16950
- await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16950
+ await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16951
16951
  "cli.play_publish_imports",
16952
16952
  { targetKind: "file", nodeCount: graph.nodes.size },
16953
16953
  () => publishImportedPlayDependencies(client, graph)
@@ -16956,7 +16956,7 @@ async function handlePlayPublish(args) {
16956
16956
  console.error(error instanceof Error ? error.message : String(error));
16957
16957
  return 1;
16958
16958
  }
16959
- const published = await _chunkCPZL6Z7Djs.traceCliSpan.call(void 0,
16959
+ const published = await _chunkPGUK5VPCjs.traceCliSpan.call(void 0,
16960
16960
  "cli.play_publish_register_root",
16961
16961
  {
16962
16962
  targetKind: "file",
@@ -16991,7 +16991,7 @@ async function handlePlayPublish(args) {
16991
16991
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
16992
16992
  };
16993
16993
  if (options.jsonOutput) {
16994
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result2);
16994
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result2);
16995
16995
  } else {
16996
16996
  printPublishReceipt({
16997
16997
  name: rootPlayName,
@@ -17022,7 +17022,7 @@ async function handlePlayPublish(args) {
17022
17022
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
17023
17023
  latest: useLatest
17024
17024
  };
17025
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result2);
17025
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result2);
17026
17026
  return 0;
17027
17027
  }
17028
17028
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -17046,7 +17046,7 @@ async function handlePlayPublish(args) {
17046
17046
  revisionId ? { revisionId } : {}
17047
17047
  );
17048
17048
  if (options.jsonOutput) {
17049
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
17049
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
17050
17050
  } else {
17051
17051
  printPublishReceipt({
17052
17052
  name: result.name,
@@ -17086,7 +17086,7 @@ async function handlePlayDelete(args) {
17086
17086
  );
17087
17087
  return 2;
17088
17088
  }
17089
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
17089
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
17090
17090
  let detail;
17091
17091
  try {
17092
17092
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -17110,8 +17110,8 @@ async function handlePlayDelete(args) {
17110
17110
  name: resolvedName,
17111
17111
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
17112
17112
  };
17113
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
17114
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result2);
17113
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
17114
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result2);
17115
17115
  } else {
17116
17116
  process.stdout.write(
17117
17117
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -17121,8 +17121,8 @@ async function handlePlayDelete(args) {
17121
17121
  return 0;
17122
17122
  }
17123
17123
  const result = await client.deletePlay(resolvedName);
17124
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
17125
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
17124
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
17125
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
17126
17126
  return result.archived || result.alreadyArchived ? 0 : 4;
17127
17127
  }
17128
17128
  if (result.alreadyArchived) {
@@ -17161,13 +17161,13 @@ async function handlePlayRestore(args) {
17161
17161
  );
17162
17162
  return 2;
17163
17163
  }
17164
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
17164
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
17165
17165
  try {
17166
17166
  const result = await client.restorePlay(
17167
17167
  parseReferencedPlayTarget(playName).playName
17168
17168
  );
17169
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
17170
- _chunkVA35T3AFjs.printCompactJson.call(void 0, result);
17169
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
17170
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, result);
17171
17171
  return result.restored || result.alreadyActive ? 0 : 4;
17172
17172
  }
17173
17173
  if (result.alreadyActive) {
@@ -17294,21 +17294,21 @@ Common commands:
17294
17294
  resume: `deepline plays resume-submission ${_chunkBVXIGOBZjs.shellQuote.call(void 0, path)} --json`
17295
17295
  }
17296
17296
  };
17297
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0, result2, {
17297
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0, result2, {
17298
17298
  json: options.json,
17299
17299
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
17300
17300
  `
17301
17301
  });
17302
17302
  return;
17303
17303
  }
17304
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
17304
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
17305
17305
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
17306
17306
  throw new Error(
17307
17307
  "The submission belongs to a different API origin. Select its original host before recovery."
17308
17308
  );
17309
17309
  }
17310
17310
  const result = await client.startPlayRun(saved.request);
17311
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
17311
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
17312
17312
  { ...result },
17313
17313
  {
17314
17314
  json: options.json,
@@ -17344,7 +17344,7 @@ Examples:
17344
17344
  ).action(async (target, options) => {
17345
17345
  process.exitCode = await handlePlayCheck([
17346
17346
  target,
17347
- ..._chunkVA35T3AFjs.jsonFieldArgs.call(void 0, options.json),
17347
+ ..._chunkPULU5YGXjs.jsonFieldArgs.call(void 0, options.json),
17348
17348
  ...options.full ? ["--full"] : []
17349
17349
  ]);
17350
17350
  });
@@ -17391,10 +17391,10 @@ Notes:
17391
17391
  with a changed input is refused with a 409 conflict. Use one stable key per
17392
17392
  exact intent. Without a key, each invocation starts a new run.
17393
17393
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
17394
- resident-work ceiling. Default: ${_chunkH3KVMALUjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkH3KVMALUjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17394
+ resident-work ceiling. Default: ${_chunkCCC3NIYBjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkCCC3NIYBjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17395
17395
  Provider pacing and sandbox memory limits still apply.
17396
17396
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
17397
- resolvers. Accepted range: 1-${_chunkH3KVMALUjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17397
+ resolvers. Accepted range: 1-${_chunkCCC3NIYBjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17398
17398
  may lower it when source-row size exceeds the active-row memory budget.
17399
17399
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
17400
17400
  Before each tool call, its quoted price is added to what the run has
@@ -17526,10 +17526,10 @@ Examples:
17526
17526
  ).hideHelp()
17527
17527
  ).option(
17528
17528
  "--max-concurrent-external-calls <count>",
17529
- `Concurrent provider-tool and deepline.fetch executions (${_chunkH3KVMALUjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkH3KVMALUjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17529
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkCCC3NIYBjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkCCC3NIYBjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17530
17530
  ).option(
17531
17531
  "--max-concurrent-rows <count>",
17532
- `Run-wide dataset map row resolver ceiling (max ${_chunkH3KVMALUjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17532
+ `Run-wide dataset map row resolver ceiling (max ${_chunkCCC3NIYBjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17533
17533
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
17534
17534
  // Internal only: the server refuses it without play_run.cache_reuse_window.
17535
17535
  new (0, _commander.Option)(
@@ -17630,14 +17630,14 @@ JSON field selection:
17630
17630
  passthroughArgs.shift();
17631
17631
  }
17632
17632
  const exitCode = await handlePlayRun(
17633
- _chunkH3KVMALUjs.resolvePlayRunCliOptions.call(void 0,
17633
+ _chunkCCC3NIYBjs.resolvePlayRunCliOptions.call(void 0,
17634
17634
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
17635
17635
  options,
17636
17636
  passthroughArgs,
17637
- _chunkCPZL6Z7Djs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17637
+ _chunkPGUK5VPCjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17638
17638
  )
17639
17639
  );
17640
- _chunkCPZL6Z7Djs.recordCliTrace.call(void 0, {
17640
+ _chunkPGUK5VPCjs.recordCliTrace.call(void 0, {
17641
17641
  phase: "cli.play_command_exit",
17642
17642
  exitCode
17643
17643
  });
@@ -17686,9 +17686,9 @@ Examples:
17686
17686
  const limit = Number(options.historyLimit);
17687
17687
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
17688
17688
  throw new Error("--history-limit must be an integer from 1 to 30.");
17689
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
17689
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
17690
17690
  if (options.binding) {
17691
- _chunkVA35T3AFjs.printCompactJson.call(void 0,
17691
+ _chunkPULU5YGXjs.printCompactJson.call(void 0,
17692
17692
  await client.getPlayTriggerHistory(options.binding, { limit })
17693
17693
  );
17694
17694
  return;
@@ -17696,7 +17696,7 @@ Examples:
17696
17696
  const result = await client.listPlayTriggerInventory({
17697
17697
  cursor: options.cursor
17698
17698
  });
17699
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
17699
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
17700
17700
  ...result,
17701
17701
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
17702
17702
  });
@@ -17753,7 +17753,7 @@ Examples:
17753
17753
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
17754
17754
  throw new Error("--group-by must be kind or trigger_source.");
17755
17755
  }
17756
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getPlaysActivity({
17756
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getPlaysActivity({
17757
17757
  timeZone: options.timeZone,
17758
17758
  days,
17759
17759
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -17767,7 +17767,7 @@ Examples:
17767
17767
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
17768
17768
  );
17769
17769
  }
17770
- _chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
17770
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
17771
17771
  { ...result },
17772
17772
  {
17773
17773
  json: Boolean(options.json),
@@ -17796,7 +17796,7 @@ Examples:
17796
17796
  false
17797
17797
  );
17798
17798
  });
17799
- _chunk3HIJNXRBjs.registerDeprecatedSearchCommand.call(void 0,
17799
+ _chunkZFJNIZHIjs.registerDeprecatedSearchCommand.call(void 0,
17800
17800
  play,
17801
17801
  (options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
17802
17802
  );
@@ -17837,9 +17837,9 @@ Examples:
17837
17837
  "--json [fields]",
17838
17838
  "JSON output; optionally select comma-separated dotted paths"
17839
17839
  );
17840
- _chunkJUZIMW4Sjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17840
+ _chunkGQHZV7EQjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17841
17841
  async (target, options) => {
17842
- const ownView = () => handlePlayDescribe(_chunkVA35T3AFjs.describeArgs.call(void 0, target, options));
17842
+ const ownView = () => handlePlayDescribe(_chunkPULU5YGXjs.describeArgs.call(void 0, target, options));
17843
17843
  const [flagText] = [options.json].filter(
17844
17844
  (value) => typeof value === "string"
17845
17845
  );
@@ -17850,7 +17850,7 @@ Examples:
17850
17850
  process.exitCode = await ownView();
17851
17851
  return;
17852
17852
  }
17853
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QB5T47B3.js")));
17853
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-CA2FL2OS.js")));
17854
17854
  process.exitCode = await describeAnything(
17855
17855
  name,
17856
17856
  {
@@ -17973,7 +17973,7 @@ Examples:
17973
17973
  deepline plays deployments <deployment-id>
17974
17974
  `
17975
17975
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
17976
- async (id, options) => id ? _chunkDI5MULNXjs.handleDeploymentGet.call(void 0, id, options) : _chunkDI5MULNXjs.handleDeploymentsList.call(void 0, options)
17976
+ async (id, options) => id ? _chunkWAZR72D5js.handleDeploymentGet.call(void 0, id, options) : _chunkWAZR72D5js.handleDeploymentsList.call(void 0, options)
17977
17977
  );
17978
17978
  addPublishHelp(
17979
17979
  play.command("publish <target>").description(
@@ -18001,10 +18001,10 @@ Examples:
18001
18001
  new (0, _commander.Option)(
18002
18002
  "--outcome <outcome>",
18003
18003
  "Run under this outcome. Refused (exit 3) when it asks before plays.set-live and no approval exists"
18004
- ).hideHelp(!_chunk5436ZJPHjs.cliFeatureEnabled.call(void 0, "outcomes"))
18004
+ ).hideHelp(!_chunkVXDKL434js.cliFeatureEnabled.call(void 0, "outcomes"))
18005
18005
  ).addOption(
18006
18006
  new (0, _commander.Option)("--as <agent>", "With --outcome: the agent acting").hideHelp(
18007
- !_chunk5436ZJPHjs.cliFeatureEnabled.call(void 0, "outcomes")
18007
+ !_chunkVXDKL434js.cliFeatureEnabled.call(void 0, "outcomes")
18008
18008
  )
18009
18009
  ).option("--json", "Emit JSON output").action(async (target, options) => {
18010
18010
  const guarded = options.outcome && !options.dryRun ? {
@@ -18156,14 +18156,14 @@ Examples:
18156
18156
  const limit = Number(options.limit);
18157
18157
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
18158
18158
  throw new Error("--limit must be an integer from 1 to 1000.");
18159
- const result = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().runs.rowHistory({
18159
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().runs.rowHistory({
18160
18160
  playName: options.play,
18161
18161
  runId,
18162
18162
  tableNamespace: options.dataset,
18163
18163
  limit,
18164
18164
  cursor: options.cursor
18165
18165
  });
18166
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
18166
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
18167
18167
  ...result,
18168
18168
  ...result.nextCursor ? {
18169
18169
  next: `deepline runs rows-history ${_chunkBVXIGOBZjs.shellQuote.call(void 0, runId)} --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkBVXIGOBZjs.shellQuote.call(void 0, result.nextCursor)} --json`
@@ -18241,7 +18241,7 @@ Examples:
18241
18241
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
18242
18242
  ).action(async (runId, options) => {
18243
18243
  if (TOOL_EXECUTION_ID.test(runId)) {
18244
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-GPAIPRPQ.js")));
18244
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-ZVOFATX2.js")));
18245
18245
  process.exitCode = await getToolExecutionReceipt(runId, {
18246
18246
  receiptJson: options.json !== void 0
18247
18247
  });
@@ -18249,7 +18249,7 @@ Examples:
18249
18249
  }
18250
18250
  process.exitCode = await handleRunGet([
18251
18251
  runId,
18252
- ..._chunkVA35T3AFjs.jsonFieldArgs.call(void 0, options.json),
18252
+ ..._chunkPULU5YGXjs.jsonFieldArgs.call(void 0, options.json),
18253
18253
  ...options.web ? ["--web"] : [],
18254
18254
  ...options.webUrl ? ["--web-url"] : [],
18255
18255
  ...options.full ? ["--full"] : [],
@@ -18579,7 +18579,7 @@ Examples:
18579
18579
  ...options.allowEmpty ? ["--allow-empty"] : [],
18580
18580
  ...options.wait ? ["--wait"] : [],
18581
18581
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
18582
- ..._chunkVA35T3AFjs.jsonFieldArgs.call(void 0, options.json)
18582
+ ..._chunkPULU5YGXjs.jsonFieldArgs.call(void 0, options.json)
18583
18583
  ]);
18584
18584
  });
18585
18585
  const share = play.command("share").description(
@@ -18745,10 +18745,10 @@ async function handlePlayShareStatus(args) {
18745
18745
  return 2;
18746
18746
  }
18747
18747
  const name = parseReferencedPlayTarget(target).playName;
18748
- const status = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().getSharePage(name);
18748
+ const status = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getSharePage(name);
18749
18749
  const outputStatus = shareStatusForOutput(status);
18750
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18751
- _chunkVA35T3AFjs.printCompactJson.call(void 0, outputStatus);
18750
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18751
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, outputStatus);
18752
18752
  return 0;
18753
18753
  }
18754
18754
  if (!outputStatus.share) {
@@ -18787,7 +18787,7 @@ async function handlePlaySharePublish(args) {
18787
18787
  return 2;
18788
18788
  }
18789
18789
  const name = parseReferencedPlayTarget(target).playName;
18790
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
18790
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
18791
18791
  let revisionId = shareFlagValue(args, "--revision-id");
18792
18792
  let resolvedVersion;
18793
18793
  if (!revisionId) {
@@ -18818,8 +18818,8 @@ async function handlePlaySharePublish(args) {
18818
18818
  );
18819
18819
  if (!hasCompleted) {
18820
18820
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
18821
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18822
- _chunkVA35T3AFjs.printCompactJson.call(void 0, {
18821
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18822
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, {
18823
18823
  ok: false,
18824
18824
  code: "NO_SUCCESSFUL_RUN",
18825
18825
  message,
@@ -18843,8 +18843,8 @@ async function handlePlaySharePublish(args) {
18843
18843
  };
18844
18844
  if (args.includes("--dry-run")) {
18845
18845
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
18846
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18847
- _chunkVA35T3AFjs.printCompactJson.call(void 0, plan);
18846
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18847
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, plan);
18848
18848
  } else {
18849
18849
  console.log(
18850
18850
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -18854,8 +18854,8 @@ async function handlePlaySharePublish(args) {
18854
18854
  }
18855
18855
  const status = await client.publishSharePage(name, request);
18856
18856
  const outputStatus = shareStatusForOutput(status);
18857
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18858
- _chunkVA35T3AFjs.printCompactJson.call(void 0, outputStatus);
18857
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18858
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, outputStatus);
18859
18859
  return 0;
18860
18860
  }
18861
18861
  const urls = shareUrlFields(outputStatus);
@@ -18886,9 +18886,9 @@ async function handlePlayShareUpdate(args) {
18886
18886
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
18887
18887
  ...seoIndexing ? { seoIndexing } : {}
18888
18888
  };
18889
- const status = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().updateSharePage(name, request);
18890
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18891
- _chunkVA35T3AFjs.printCompactJson.call(void 0, status);
18889
+ const status = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().updateSharePage(name, request);
18890
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18891
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, status);
18892
18892
  return 0;
18893
18893
  }
18894
18894
  console.log(`Updated ${name} share settings.`);
@@ -18903,7 +18903,7 @@ async function handlePlayShareRegenerate(args) {
18903
18903
  return 2;
18904
18904
  }
18905
18905
  const name = parseReferencedPlayTarget(target).playName;
18906
- const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
18906
+ const client = new (0, _chunkMFPHCUHKjs.DeeplineClient)();
18907
18907
  let revisionId = shareFlagValue(args, "--revision-id");
18908
18908
  const versionFlag = shareFlagValue(args, "--version");
18909
18909
  if (!revisionId && versionFlag) {
@@ -18920,8 +18920,8 @@ async function handlePlayShareRegenerate(args) {
18920
18920
  revisionId ? { revisionId } : {}
18921
18921
  );
18922
18922
  const outputStatus = shareStatusForOutput(status);
18923
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18924
- _chunkVA35T3AFjs.printCompactJson.call(void 0, outputStatus);
18923
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18924
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, outputStatus);
18925
18925
  return 0;
18926
18926
  }
18927
18927
  const urls = shareUrlFields(outputStatus);
@@ -18946,9 +18946,9 @@ async function handlePlayShareUnpublish(args) {
18946
18946
  return 2;
18947
18947
  }
18948
18948
  const name = parseReferencedPlayTarget(target).playName;
18949
- const status = await new (0, _chunkMRSYC74Tjs.DeeplineClient)().unpublishSharePage(name);
18950
- if (_chunkVA35T3AFjs.argsWantJson.call(void 0, args)) {
18951
- _chunkVA35T3AFjs.printCompactJson.call(void 0, status);
18949
+ const status = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().unpublishSharePage(name);
18950
+ if (_chunkPULU5YGXjs.argsWantJson.call(void 0, args)) {
18951
+ _chunkPULU5YGXjs.printCompactJson.call(void 0, status);
18952
18952
  return 0;
18953
18953
  }
18954
18954
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -19029,4 +19029,4 @@ async function handlePlayShareUnpublish(args) {
19029
19029
 
19030
19030
 
19031
19031
 
19032
- exports.PLAY_START_TRANSIENT_RETRY_DELAYS_MS = PLAY_START_TRANSIENT_RETRY_DELAYS_MS; exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.assertRunExportStatusIdentity = assertRunExportStatusIdentity; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkH3KVMALUjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkH3KVMALUjs.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; exports.resolvePlayRunUrl = resolvePlayRunUrl; exports.resolveRunStopState = resolveRunStopState; exports.selectRunLogTailPage = selectRunLogTailPage; exports.shouldPrintPlayProgressLine = shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletion = startAndWaitForPlayCompletion; exports.startAndWaitForPlayCompletionByStream = startAndWaitForPlayCompletionByStream; exports.startPlayRunWithTransientRetry = startPlayRunWithTransientRetry; exports.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
19032
+ exports.PLAY_START_TRANSIENT_RETRY_DELAYS_MS = PLAY_START_TRANSIENT_RETRY_DELAYS_MS; exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.assertRunExportStatusIdentity = assertRunExportStatusIdentity; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkCCC3NIYBjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkCCC3NIYBjs.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; exports.resolvePlayRunUrl = resolvePlayRunUrl; exports.resolveRunStopState = resolveRunStopState; exports.selectRunLogTailPage = selectRunLogTailPage; exports.shouldPrintPlayProgressLine = shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletion = startAndWaitForPlayCompletion; exports.startAndWaitForPlayCompletionByStream = startAndWaitForPlayCompletionByStream; exports.startPlayRunWithTransientRetry = startPlayRunWithTransientRetry; exports.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;