deepline 0.3.547 → 0.3.548

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +47 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +89 -0
  4. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
  5. package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
  6. package/dist/cli/auth-7UJFY5BY.js +43 -0
  7. package/dist/cli/{auth-WJEY4IDX.mjs → auth-YOOVLLUL.mjs} +5 -5
  8. package/dist/cli/{billing-PHJUDYF3.mjs → billing-2NCNX6L2.mjs} +8 -8
  9. package/dist/cli/{billing-IJITDDRQ.js → billing-HETIOUD6.js} +92 -92
  10. package/dist/cli/{chunk-FFBXLFKV.js → chunk-2OG2KBYJ.js} +1 -1
  11. package/dist/cli/{chunk-ECUD4QPD.mjs → chunk-3QRU6RY7.mjs} +3 -3
  12. package/dist/cli/{chunk-DJI5CLLW.mjs → chunk-53QLWPZK.mjs} +1 -1
  13. package/dist/cli/{chunk-IVFFCAV2.js → chunk-5OJOFUMO.js} +44 -44
  14. package/dist/cli/{chunk-MO7TGNXB.js → chunk-5XFJBIQT.js} +13 -13
  15. package/dist/cli/{chunk-E2OIYPB4.js → chunk-5XXPP3PR.js} +10 -10
  16. package/dist/cli/{chunk-Z2YGQZWV.mjs → chunk-64BFUBXX.mjs} +2 -2
  17. package/dist/cli/{chunk-QU3K3IY6.js → chunk-6GIZNOXQ.js} +12 -12
  18. package/dist/cli/{chunk-XNTDTAKC.mjs → chunk-7AJ5V3BK.mjs} +1 -1
  19. package/dist/cli/{chunk-HFIFKP3A.js → chunk-7H6TQ6W2.js} +5 -5
  20. package/dist/cli/{chunk-VNOQEDVC.js → chunk-7JIOJLTS.js} +7 -7
  21. package/dist/cli/{chunk-GIGAYLY6.js → chunk-7UJZWI5Z.js} +9 -9
  22. package/dist/cli/{chunk-L6QE2XVM.mjs → chunk-ATTURFOV.mjs} +1 -1
  23. package/dist/cli/{chunk-LMLSOHTU.js → chunk-AUYBBFPT.js} +53 -53
  24. package/dist/cli/{chunk-MBQELFL7.js → chunk-BDBEEV6X.js} +22 -22
  25. package/dist/cli/{chunk-L5J6UJ2X.js → chunk-BWJZ4NQJ.js} +15 -15
  26. package/dist/cli/{chunk-SAJWYN4B.js → chunk-CXZLHBNK.js} +4 -4
  27. package/dist/cli/{chunk-PBMO36BP.mjs → chunk-F4ON5COB.mjs} +2 -2
  28. package/dist/cli/{chunk-DIUNDLSX.mjs → chunk-FMQA7UZZ.mjs} +2 -2
  29. package/dist/cli/{chunk-ITLZBDSR.mjs → chunk-FUUYWEF4.mjs} +2 -2
  30. package/dist/cli/{chunk-G6KW764N.mjs → chunk-GCEGQ7TQ.mjs} +1 -1
  31. package/dist/cli/{chunk-2AHY47SI.js → chunk-GUIYFOG2.js} +3 -3
  32. package/dist/cli/{chunk-OVYXYTEP.js → chunk-HDLMX7SG.js} +16 -16
  33. package/dist/cli/{chunk-IKYN6PLO.mjs → chunk-HIMZ57QD.mjs} +5 -5
  34. package/dist/cli/{chunk-REAFIEV5.js → chunk-HTZIJORU.js} +99 -99
  35. package/dist/cli/{chunk-ESCVHDNY.mjs → chunk-HU3DDLGD.mjs} +5 -5
  36. package/dist/cli/{chunk-GJOGFWX3.js → chunk-I2JIWKCQ.js} +19 -19
  37. package/dist/cli/{chunk-2HPTLBNB.js → chunk-IIWXBRDK.js} +3 -3
  38. package/dist/cli/{chunk-CKIRKYW7.mjs → chunk-IQBXX54G.mjs} +3 -3
  39. package/dist/cli/{chunk-K3GMDSUX.js → chunk-JQWX377P.js} +5 -5
  40. package/dist/cli/{chunk-ABLTVG3J.js → chunk-LAVPP6WD.js} +41 -41
  41. package/dist/cli/{chunk-NBYFQZ6O.js → chunk-M2OZORIH.js} +2 -2
  42. package/dist/cli/{chunk-MOZEAGSR.mjs → chunk-MQSKSISW.mjs} +1 -1
  43. package/dist/cli/{chunk-56MEAGWA.mjs → chunk-MWQ4WWZF.mjs} +2 -2
  44. package/dist/cli/{chunk-G6XTCG3J.mjs → chunk-NFMX7BRF.mjs} +2 -2
  45. package/dist/cli/{chunk-TNJG4ZPN.mjs → chunk-OGDQFVCP.mjs} +2 -2
  46. package/dist/cli/{chunk-FMQXAOVE.mjs → chunk-OQCYSLML.mjs} +4 -4
  47. package/dist/cli/{chunk-GZFZZQL4.js → chunk-PVE3A2BO.js} +8 -8
  48. package/dist/cli/{chunk-5SFHPMBY.mjs → chunk-QQBRXMZM.mjs} +11 -11
  49. package/dist/cli/{chunk-GPAWLXW3.mjs → chunk-QZ74ZC55.mjs} +1 -1
  50. package/dist/cli/{chunk-YURGAKI3.js → chunk-T3RDWG5J.js} +2 -2
  51. package/dist/cli/{chunk-XMBVHJPR.mjs → chunk-TKGFHRHE.mjs} +1 -1
  52. package/dist/cli/{chunk-RXRC2COC.mjs → chunk-U35ZLVBA.mjs} +2 -2
  53. package/dist/cli/{chunk-YVKLF7RW.js → chunk-U7HJXE6Y.js} +2 -2
  54. package/dist/cli/{chunk-AEQ5VWZ5.mjs → chunk-UBQQR56I.mjs} +4 -4
  55. package/dist/cli/{chunk-N63U5CRG.js → chunk-VK2GSTRN.js} +26 -26
  56. package/dist/cli/{chunk-QLE3QKJ2.mjs → chunk-VSACOMIA.mjs} +5 -5
  57. package/dist/cli/{chunk-D6OIEH47.js → chunk-WI4MCR7M.js} +5 -5
  58. package/dist/cli/{chunk-DZC7LMYM.js → chunk-WIHQAZPV.js} +6 -6
  59. package/dist/cli/{chunk-IGAK22XO.mjs → chunk-WVZF4DU7.mjs} +1 -1
  60. package/dist/cli/{chunk-VPF54TXQ.mjs → chunk-XKEBQVCP.mjs} +5 -5
  61. package/dist/cli/{chunk-HARZ4AAX.mjs → chunk-XU3D2KFR.mjs} +1 -1
  62. package/dist/cli/concurrent-runs-help-A2IQVZRJ.js +21 -0
  63. package/dist/cli/{concurrent-runs-help-ZNGP563R.mjs → concurrent-runs-help-FDCCZ45D.mjs} +6 -6
  64. package/dist/cli/{csv-VAHQHYYV.mjs → csv-GJYLQ52D.mjs} +4 -4
  65. package/dist/cli/{csv-X6D4ZELE.js → csv-OCEQWZO3.js} +13 -13
  66. package/dist/cli/{db-4G4S2VOV.mjs → db-5MA2UUHQ.mjs} +6 -6
  67. package/dist/cli/{db-YA5ZGVEX.js → db-G5QGXFAX.js} +27 -27
  68. package/dist/cli/{describe-EVXEM2S6.mjs → describe-4DOJ4DHA.mjs} +18 -18
  69. package/dist/cli/describe-SD7DRTBW.js +50 -0
  70. package/dist/cli/{executions-HR6CTN5M.mjs → executions-C7SMBHHB.mjs} +6 -6
  71. package/dist/cli/{executions-5YC7ABF6.js → executions-IYEVUPJI.js} +8 -8
  72. package/dist/cli/{feedback-MJHSYLFF.js → feedback-GYAF46GA.js} +14 -14
  73. package/dist/cli/{feedback-GEU5SPLR.mjs → feedback-XUU2UKM6.mjs} +6 -6
  74. package/dist/cli/git-7YYVMY6L.js +25 -0
  75. package/dist/cli/{git-NPFF6QUS.mjs → git-WVCMK5AH.mjs} +5 -5
  76. package/dist/cli/index.js +142 -142
  77. package/dist/cli/index.mjs +44 -44
  78. package/dist/cli/{integrations-Z7EGVBHF.mjs → integrations-FXADGAX2.mjs} +7 -7
  79. package/dist/cli/{integrations-YPHFI77G.js → integrations-YYBJJFVX.js} +15 -15
  80. package/dist/cli/{legacy-noops-5IYCFWWX.mjs → legacy-noops-LJY7LDUE.mjs} +6 -6
  81. package/dist/cli/{legacy-noops-246E3KKG.js → legacy-noops-REZCYES2.js} +9 -9
  82. package/dist/cli/{mcp-YTYTW67G.js → mcp-L5PURE5S.js} +24 -24
  83. package/dist/cli/{mcp-WUYGZXPI.mjs → mcp-XSB3ZJFR.mjs} +4 -4
  84. package/dist/cli/{monitors-SA6ILD6Z.js → monitors-I5EIHSGV.js} +100 -100
  85. package/dist/cli/{monitors-73DQKCU7.mjs → monitors-UBPF2OLO.mjs} +7 -7
  86. package/dist/cli/{org-WVQRB2KX.mjs → org-PHHIN2ER.mjs} +6 -6
  87. package/dist/cli/{org-X7ELDV7B.js → org-SGSTGGUD.js} +88 -88
  88. package/dist/cli/{play-QI6V2EUQ.mjs → play-LEJNJLWY.mjs} +17 -17
  89. package/dist/cli/{play-QTYOAJPE.js → play-WQEKMANL.js} +317 -317
  90. package/dist/cli/{providers-DPVMVDS4.mjs → providers-3W26ZDAV.mjs} +6 -6
  91. package/dist/cli/{providers-XXFLVREV.js → providers-RSDXBXIS.js} +9 -9
  92. package/dist/cli/{quickstart-YWGNHULM.mjs → quickstart-LGJD2M36.mjs} +4 -4
  93. package/dist/cli/{quickstart-33ISXQJU.js → quickstart-U3QX4EMI.js} +6 -6
  94. package/dist/cli/{run-BWHZXLTD.js → run-F2UPZUJS.js} +43 -43
  95. package/dist/cli/{run-J6FCAKQC.mjs → run-YWZ3W5HK.mjs} +23 -23
  96. package/dist/cli/search-K6ANAXLF.js +32 -0
  97. package/dist/cli/{search-Z3UU3WBB.mjs → search-O2OJH3PY.mjs} +7 -7
  98. package/dist/cli/{search-output-OJYY4J7E.mjs → search-output-H5BF6SJ3.mjs} +4 -4
  99. package/dist/cli/{search-output-YIPV74ME.js → search-output-W7OCBYBU.js} +6 -6
  100. package/dist/cli/{secrets-YZZN2WST.mjs → secrets-65XCAA7U.mjs} +6 -6
  101. package/dist/cli/{secrets-UXRJCEN4.js → secrets-BN4GYVRI.js} +15 -15
  102. package/dist/cli/sessions-M52QWLA6.js +22 -0
  103. package/dist/cli/{sessions-ITCGPD7Z.mjs → sessions-SVEVESCQ.mjs} +6 -6
  104. package/dist/cli/{settings-LAFYMILP.js → settings-7YMDAFCN.js} +85 -85
  105. package/dist/cli/{settings-ZP2LSVNM.mjs → settings-HAU2NP2H.mjs} +12 -12
  106. package/dist/cli/{setup-WEQAQSYC.mjs → setup-5RXHZ6YI.mjs} +9 -9
  107. package/dist/cli/{setup-4AL3XYM5.js → setup-G37QXQGM.js} +49 -49
  108. package/dist/cli/{skills-NQH4HFW2.mjs → skills-Q7A3XFAU.mjs} +7 -7
  109. package/dist/cli/skills-ZK4D5BJW.js +36 -0
  110. package/dist/cli/tools-DBZTLYFM.js +57 -0
  111. package/dist/cli/{tools-CXK2GSI4.mjs → tools-ZG4NYRGB.mjs} +17 -17
  112. package/dist/cli/{update-3ROF3Z75.mjs → update-2CMZTZCL.mjs} +9 -9
  113. package/dist/cli/update-LC5HGEEH.js +34 -0
  114. package/dist/cli/{views-AOUHVGV2.mjs → views-A6IIY4OQ.mjs} +6 -6
  115. package/dist/cli/{views-XJFO5CEH.js → views-XUMDMDIE.js} +21 -21
  116. package/dist/cli/{workflow-GY3DBHXX.js → workflow-4EEW6MCD.js} +17 -17
  117. package/dist/cli/{workflow-KBS2QJK6.mjs → workflow-74MYISHU.mjs} +7 -7
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +110 -110
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-AC5277PI.js +0 -43
  129. package/dist/cli/concurrent-runs-help-ZYISYOQA.js +0 -21
  130. package/dist/cli/describe-GYYSLZLV.js +0 -50
  131. package/dist/cli/git-FZIQZNI4.js +0 -25
  132. package/dist/cli/search-JCWJX2XD.js +0 -32
  133. package/dist/cli/sessions-NA4SJH6Q.js +0 -22
  134. package/dist/cli/skills-XZ4Y6SZ7.js +0 -36
  135. package/dist/cli/tools-WJQ6Y7E4.js +0 -57
  136. package/dist/cli/update-ZLRLTBRD.js +0 -34
@@ -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 _chunkN63U5CRGjs = require('./chunk-N63U5CRG.js');
4
+ var _chunkVK2GSTRNjs = require('./chunk-VK2GSTRN.js');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunkN63U5CRGjs = require('./chunk-N63U5CRG.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkGIGAYLY6js = require('./chunk-GIGAYLY6.js');
12
+ var _chunk7UJZWI5Zjs = require('./chunk-7UJZWI5Z.js');
13
13
 
14
14
 
15
15
 
@@ -22,10 +22,10 @@ var _chunkGIGAYLY6js = require('./chunk-GIGAYLY6.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkVNOQEDVCjs = require('./chunk-VNOQEDVC.js');
25
+ var _chunk7JIOJLTSjs = require('./chunk-7JIOJLTS.js');
26
26
 
27
27
 
28
- var _chunkE2OIYPB4js = require('./chunk-E2OIYPB4.js');
28
+ var _chunk5XXPP3PRjs = require('./chunk-5XXPP3PR.js');
29
29
  require('./chunk-D3BCSAN7.js');
30
30
 
31
31
 
@@ -51,10 +51,10 @@ var _chunkCBV7AKWMjs = require('./chunk-CBV7AKWM.js');
51
51
 
52
52
 
53
53
 
54
- var _chunkD6OIEH47js = require('./chunk-D6OIEH47.js');
54
+ var _chunkWI4MCR7Mjs = require('./chunk-WI4MCR7M.js');
55
55
 
56
56
 
57
- var _chunkK3GMDSUXjs = require('./chunk-K3GMDSUX.js');
57
+ var _chunkJQWX377Pjs = require('./chunk-JQWX377P.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkK3GMDSUXjs = require('./chunk-K3GMDSUX.js');
67
67
 
68
68
 
69
69
 
70
- var _chunkGZFZZQL4js = require('./chunk-GZFZZQL4.js');
70
+ var _chunkPVE3A2BOjs = require('./chunk-PVE3A2BO.js');
71
71
  require('./chunk-4WAM6TLD.js');
72
72
 
73
73
 
@@ -91,18 +91,18 @@ require('./chunk-XDVT3GOM.js');
91
91
 
92
92
 
93
93
 
94
- var _chunkDZC7LMYMjs = require('./chunk-DZC7LMYM.js');
94
+ var _chunkWIHQAZPVjs = require('./chunk-WIHQAZPV.js');
95
95
 
96
96
 
97
97
 
98
98
 
99
99
 
100
- var _chunkYVKLF7RWjs = require('./chunk-YVKLF7RW.js');
101
- require('./chunk-IVFFCAV2.js');
100
+ var _chunkU7HJXE6Yjs = require('./chunk-U7HJXE6Y.js');
101
+ require('./chunk-5OJOFUMO.js');
102
102
 
103
103
 
104
104
 
105
- var _chunk2AHY47SIjs = require('./chunk-2AHY47SI.js');
105
+ var _chunkGUIYFOG2js = require('./chunk-GUIYFOG2.js');
106
106
 
107
107
 
108
108
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -122,17 +122,17 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
122
122
 
123
123
 
124
124
 
125
- var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
126
- require('./chunk-2HPTLBNB.js');
125
+ var _chunkI2JIWKCQjs = require('./chunk-I2JIWKCQ.js');
126
+ require('./chunk-IIWXBRDK.js');
127
127
 
128
128
 
129
- var _chunkSAJWYN4Bjs = require('./chunk-SAJWYN4B.js');
129
+ var _chunkCXZLHBNKjs = require('./chunk-CXZLHBNK.js');
130
130
  require('./chunk-EITMD3A5.js');
131
131
  require('./chunk-XNYIZMNQ.js');
132
132
 
133
133
 
134
134
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
135
- require('./chunk-FFBXLFKV.js');
135
+ require('./chunk-2OG2KBYJ.js');
136
136
  require('./chunk-OG64RBAC.js');
137
137
 
138
138
 
@@ -2114,7 +2114,7 @@ function resolveField(key, command) {
2114
2114
  function printSettings(result, json, name) {
2115
2115
  result = { ...result, settings: parsePlaySettings(result.settings) };
2116
2116
  const selected = fields.filter(([key]) => !name || key === name);
2117
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2117
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2118
2118
  {
2119
2119
  ...result,
2120
2120
  settings: Object.fromEntries(
@@ -2158,7 +2158,7 @@ function registerPlaySettingsCommands(plays) {
2158
2158
  valueSyntax: field.cli.valueSyntax,
2159
2159
  examples: field.cli.examples
2160
2160
  }));
2161
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2161
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2162
2162
  {
2163
2163
  fields: descriptions,
2164
2164
  render: {
@@ -2183,7 +2183,7 @@ function registerPlaySettingsCommands(plays) {
2183
2183
  async (options, command) => {
2184
2184
  if (options.name !== void 0) resolveField(options.name, command);
2185
2185
  printSettings(
2186
- await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getPlaySettings(options.play),
2186
+ await new (0, _chunkJQWX377Pjs.DeeplineClient)().getPlaySettings(options.play),
2187
2187
  options.json,
2188
2188
  options.name
2189
2189
  );
@@ -2214,7 +2214,7 @@ function registerPlaySettingsCommands(plays) {
2214
2214
  );
2215
2215
  }
2216
2216
  if (options.dryRun) {
2217
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2217
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2218
2218
  {
2219
2219
  dryRun: true,
2220
2220
  play,
@@ -2235,7 +2235,7 @@ function registerPlaySettingsCommands(plays) {
2235
2235
  return;
2236
2236
  }
2237
2237
  printSettings(
2238
- await new (0, _chunkK3GMDSUXjs.DeeplineClient)().updatePlaySettings(play, patch),
2238
+ await new (0, _chunkJQWX377Pjs.DeeplineClient)().updatePlaySettings(play, patch),
2239
2239
  options.json
2240
2240
  );
2241
2241
  };
@@ -2261,13 +2261,13 @@ function registerPlaySettingsCommands(plays) {
2261
2261
  "--root must be person or team; --limit must be 1\u2013100.",
2262
2262
  { exitCode: 2 }
2263
2263
  );
2264
- const page = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().listPlaySettingsPaths({
2264
+ const page = await new (0, _chunkJQWX377Pjs.DeeplineClient)().listPlaySettingsPaths({
2265
2265
  root: options.root,
2266
2266
  limit,
2267
2267
  cursor: options.cursor
2268
2268
  });
2269
2269
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2270
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2270
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2271
2271
  {
2272
2272
  ...page,
2273
2273
  nextCommand,
@@ -2318,7 +2318,7 @@ function registerPlaySettingsCommands(plays) {
2318
2318
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2319
2319
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2320
2320
  };
2321
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
2321
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
2322
2322
  const paths = [];
2323
2323
  let cursor;
2324
2324
  do {
@@ -2380,7 +2380,7 @@ function registerPlaySettingsCommands(plays) {
2380
2380
  moved.push(move.playName);
2381
2381
  }
2382
2382
  }
2383
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2383
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2384
2384
  {
2385
2385
  dryRun: Boolean(options.dryRun),
2386
2386
  from: options.from,
@@ -2514,7 +2514,7 @@ function triggerLines(view) {
2514
2514
  return lines;
2515
2515
  }
2516
2516
  function printView(view, json) {
2517
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2517
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2518
2518
  {
2519
2519
  ...view,
2520
2520
  render: {
@@ -2527,7 +2527,7 @@ function printView(view, json) {
2527
2527
  );
2528
2528
  }
2529
2529
  function printResult(result, json) {
2530
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2530
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2531
2531
  {
2532
2532
  ...result,
2533
2533
  render: {
@@ -2557,7 +2557,7 @@ async function mutate(command, options, build) {
2557
2557
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2558
2558
  }
2559
2559
  if (options.dryRun) {
2560
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
2560
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
2561
2561
  {
2562
2562
  dryRun: true,
2563
2563
  play: options.play,
@@ -2576,7 +2576,7 @@ async function mutate(command, options, build) {
2576
2576
  return;
2577
2577
  }
2578
2578
  printResult(
2579
- await new (0, _chunkK3GMDSUXjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2579
+ await new (0, _chunkJQWX377Pjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2580
2580
  options.json
2581
2581
  );
2582
2582
  }
@@ -2609,7 +2609,7 @@ function registerPlayTriggerConfigCommands(plays) {
2609
2609
  }).addHelpText("after", help2);
2610
2610
  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) => {
2611
2611
  printView(
2612
- await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2612
+ await new (0, _chunkJQWX377Pjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2613
2613
  options.json
2614
2614
  );
2615
2615
  });
@@ -2653,7 +2653,7 @@ function registerPlayTriggerConfigCommands(plays) {
2653
2653
  if (options.auth === void 0) {
2654
2654
  if (secrets.length || options.header || options.signaturePrefix)
2655
2655
  usage(setWebhook, "--secret/--header need --auth.");
2656
- const current = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getPlayTriggerConfig(
2656
+ const current = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getPlayTriggerConfig(
2657
2657
  options.play
2658
2658
  );
2659
2659
  return {
@@ -2730,7 +2730,7 @@ var KIND_DESCRIPTIONS = {
2730
2730
  "receipt.skipped": "Saved work result: skipped.",
2731
2731
  "runtime.event": "Other event."
2732
2732
  };
2733
- var RUN_LOGS_KIND_HELP = _chunkGZFZZQL4js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2733
+ var RUN_LOGS_KIND_HELP = _chunkPVE3A2BOjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2734
2734
  kind,
2735
2735
  description: KIND_DESCRIPTIONS[kind]
2736
2736
  }));
@@ -2867,9 +2867,9 @@ function configureRunQueryCommandErrors(command, resource) {
2867
2867
  const args = program.args;
2868
2868
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2869
2869
  error.exitCode = 2;
2870
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2871
- _chunkGJOGFWX3js.printJsonError.call(void 0,
2872
- Object.assign(new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(error.message), {
2870
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2871
+ _chunkI2JIWKCQjs.printJsonError.call(void 0,
2872
+ Object.assign(new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(error.message), {
2873
2873
  exitCode: 2,
2874
2874
  retryable: false
2875
2875
  })
@@ -2913,14 +2913,14 @@ function parseQuery(args, resource) {
2913
2913
  if (VALUE_FLAGS.has(flag)) {
2914
2914
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2915
2915
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2916
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2916
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2917
2917
  `${flag} requires a value. Use ${flag} <value>.`
2918
2918
  );
2919
2919
  }
2920
2920
  if (flag === "--sum") sums.push(value);
2921
2921
  else {
2922
2922
  if (values[flag] !== void 0) {
2923
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2923
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2924
2924
  `${flag} may only be supplied once.`
2925
2925
  );
2926
2926
  }
@@ -2934,12 +2934,12 @@ function parseQuery(args, resource) {
2934
2934
  }
2935
2935
  if (arg.startsWith("-")) {
2936
2936
  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.";
2937
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2937
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2938
2938
  `Unsupported query flag ${flag}. ${correction}`
2939
2939
  );
2940
2940
  }
2941
2941
  if (runId !== void 0) {
2942
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2942
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2943
2943
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2944
2944
  );
2945
2945
  }
@@ -2947,7 +2947,7 @@ function parseQuery(args, resource) {
2947
2947
  }
2948
2948
  if (switches.has("--fields")) {
2949
2949
  if (runId !== void 0) {
2950
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2950
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2951
2951
  "--fields does not use a run ID. Omit the positional run ID."
2952
2952
  );
2953
2953
  }
@@ -2960,18 +2960,18 @@ function parseQuery(args, resource) {
2960
2960
  )
2961
2961
  ];
2962
2962
  if (incompatible.length) {
2963
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2963
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2964
2964
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2965
2965
  );
2966
2966
  }
2967
2967
  }
2968
2968
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2969
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2969
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2970
2970
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2971
2971
  );
2972
2972
  }
2973
2973
  if (sums.length && switches.has("--count")) {
2974
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2974
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2975
2975
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2976
2976
  );
2977
2977
  }
@@ -2979,7 +2979,7 @@ function parseQuery(args, resource) {
2979
2979
  if (operation === "count") {
2980
2980
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2981
2981
  if (values[flag] !== void 0 || switches.has(flag)) {
2982
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
2982
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
2983
2983
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2984
2984
  );
2985
2985
  }
@@ -3014,16 +3014,16 @@ function parseQuery(args, resource) {
3014
3014
  ];
3015
3015
  }
3016
3016
  }
3017
- const request = _chunkGZFZZQL4js.normalizeRunEventOperationRequest.call(void 0, body);
3017
+ const request = _chunkPVE3A2BOjs.normalizeRunEventOperationRequest.call(void 0, body);
3018
3018
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3019
3019
  const backend = values["--runtime-backend"];
3020
3020
  if (backend && backend !== "daytona" && backend !== "modal") {
3021
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
3021
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
3022
3022
  "--runtime-backend must be daytona or modal."
3023
3023
  );
3024
3024
  }
3025
3025
  if (backend && !namespace) {
3026
- throw new (0, _chunkGZFZZQL4js.RunEventQueryInputError)(
3026
+ throw new (0, _chunkPVE3A2BOjs.RunEventQueryInputError)(
3027
3027
  "--runtime-backend requires --runtime-namespace."
3028
3028
  );
3029
3029
  }
@@ -3070,12 +3070,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3070
3070
  const failure = error instanceof Error ? error : new Error(String(error));
3071
3071
  const record4 = failure;
3072
3072
  const status = record4.statusCode;
3073
- const exitCode = error instanceof _chunkGZFZZQL4js.RunEventQueryInputError || status === 400 || status === 422 || record4.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record4.code === "CONFIG_ERROR" || record4.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3073
+ const exitCode = error instanceof _chunkPVE3A2BOjs.RunEventQueryInputError || status === 400 || status === 422 || record4.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record4.code === "CONFIG_ERROR" || record4.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3074
3074
  const diagnostic = Object.assign(failure, {
3075
3075
  exitCode,
3076
3076
  retryable: exitCode === 5
3077
3077
  });
3078
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) _chunkGJOGFWX3js.printJsonError.call(void 0, diagnostic);
3078
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) _chunkI2JIWKCQjs.printJsonError.call(void 0, diagnostic);
3079
3079
  else console.error(`Error: ${diagnostic.message}`);
3080
3080
  return exitCode;
3081
3081
  }
@@ -3090,7 +3090,7 @@ async function executeRunEventQuery(args, resource) {
3090
3090
  ...criteria
3091
3091
  } = request;
3092
3092
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3093
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
3093
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
3094
3094
  let result;
3095
3095
  if (request.operation === "fields") {
3096
3096
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3156,13 +3156,13 @@ async function executeRunEventQuery(args, resource) {
3156
3156
  lines.push(`Next page: ${nextPage}`);
3157
3157
  }
3158
3158
  }
3159
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
3159
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
3160
3160
  {
3161
3161
  ...result,
3162
3162
  ...nextPage ? { next: { page: nextPage } } : {},
3163
3163
  render: { sections: [{ title: `run ${resource}`, lines }] }
3164
3164
  },
3165
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3165
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3166
3166
  ` }
3167
3167
  );
3168
3168
  return 0;
@@ -4304,7 +4304,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4304
4304
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4305
4305
  );
4306
4306
  }
4307
- const response = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.getReceipts(runId, {
4307
+ const response = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.getReceipts(runId, {
4308
4308
  keys
4309
4309
  });
4310
4310
  const failed = response.receipts.filter(
@@ -4316,7 +4316,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4316
4316
  JSON.stringify(response, null, 2) + "\n",
4317
4317
  { flag: "wx", mode: 384 }
4318
4318
  );
4319
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
4319
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
4320
4320
  {
4321
4321
  runId,
4322
4322
  out: options.out,
@@ -4326,7 +4326,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4326
4326
  { json: true }
4327
4327
  );
4328
4328
  } else {
4329
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4329
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4330
4330
  }
4331
4331
  if (failed)
4332
4332
  process.exitCode = response.receipts.some(
@@ -4365,7 +4365,7 @@ includes nextCommand when another page is available.
4365
4365
  { exitCode: 2 }
4366
4366
  );
4367
4367
  }
4368
- const page = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.children(parentRunId, {
4368
+ const page = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.children(parentRunId, {
4369
4369
  launchKey: options.launchKey,
4370
4370
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4371
4371
  limit
@@ -4380,7 +4380,7 @@ includes nextCommand when another page is available.
4380
4380
  "--limit",
4381
4381
  String(limit)
4382
4382
  ].join(" ") : null;
4383
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
4383
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
4384
4384
  {
4385
4385
  parentRunId,
4386
4386
  launchKey: options.launchKey,
@@ -4416,7 +4416,7 @@ async function handleRunsHistory(options) {
4416
4416
  throw new Error("--limit must be a positive integer.");
4417
4417
  }
4418
4418
  }
4419
- const page = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.history({
4419
+ const page = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.history({
4420
4420
  cursor: options.cursor,
4421
4421
  orgId: options.org,
4422
4422
  search: options.search,
@@ -4432,7 +4432,7 @@ async function handleRunsHistory(options) {
4432
4432
  );
4433
4433
  }
4434
4434
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4435
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
4435
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
4436
4436
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4437
4437
  options.json ? { json: true } : {}
4438
4438
  );
@@ -4485,12 +4485,12 @@ async function runRunsRerunCommand(runId, options) {
4485
4485
  }
4486
4486
  }
4487
4487
  if (options.notice) console.error(options.notice);
4488
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.rerun(runId, {
4488
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.rerun(runId, {
4489
4489
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4490
4490
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4491
4491
  });
4492
- if (_chunkGJOGFWX3js.shouldEmitJson.call(void 0, options.json)) {
4493
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, result, { json: true });
4492
+ if (_chunkI2JIWKCQjs.shouldEmitJson.call(void 0, options.json)) {
4493
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, result, { json: true });
4494
4494
  } else if (result.rateLimited) {
4495
4495
  console.log(`
4496
4496
  ${result.rateLimited.message}`);
@@ -4514,7 +4514,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
4514
4514
  // src/cli/operations/runs-resume.ts
4515
4515
  async function runRunsResumeCommand(runId) {
4516
4516
  try {
4517
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.resume(runId);
4517
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.resume(runId);
4518
4518
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
4519
4519
  throw new Error(
4520
4520
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5356,13 +5356,13 @@ var RunDataset = class _RunDataset {
5356
5356
  const absolutePath = _path.resolve.call(void 0, outPath);
5357
5357
  _fs.writeFileSync.call(void 0,
5358
5358
  absolutePath,
5359
- `${JSON.stringify(_chunkVNOQEDVCjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5359
+ `${JSON.stringify(_chunk7JIOJLTSjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5360
5360
  `,
5361
5361
  "utf-8"
5362
5362
  );
5363
5363
  return absolutePath;
5364
5364
  }
5365
- return _chunkVNOQEDVCjs.writeRunDatasetCsv.call(void 0, {
5365
+ return _chunk7JIOJLTSjs.writeRunDatasetCsv.call(void 0, {
5366
5366
  rows: this.rows,
5367
5367
  columns: this.#info.columns,
5368
5368
  outPath
@@ -6867,7 +6867,7 @@ function renderOutcome(outcome) {
6867
6867
  function printResult2(input) {
6868
6868
  const failed = input.status === "failed" || input.status === "cancelled";
6869
6869
  if (failed) process.exitCode = 1;
6870
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
6870
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
6871
6871
  {
6872
6872
  deployment: { ...input.deployment, status: input.status },
6873
6873
  plays: input.outcomes,
@@ -6892,7 +6892,7 @@ async function handlePlaysDeploy(directory, options) {
6892
6892
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6893
6893
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6894
6894
  });
6895
- const { http, config } = _chunkGJOGFWX3js.getAuthedHttpClient.call(void 0, );
6895
+ const { http, config } = _chunkI2JIWKCQjs.getAuthedHttpClient.call(void 0, );
6896
6896
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6897
6897
  const startDeployment = () => http.post("/api/v2/deployments", {
6898
6898
  deliveryId,
@@ -6919,7 +6919,7 @@ async function handlePlaysDeploy(directory, options) {
6919
6919
  },
6920
6920
  {
6921
6921
  bundle: bundleDeployPlayFile,
6922
- fetchImpl: _chunkSAJWYN4Bjs.fetchWithDeploymentProtection,
6922
+ fetchImpl: _chunkCXZLHBNKjs.fetchWithDeploymentProtection,
6923
6923
  // The plays are already here: "opening" the source is naming it.
6924
6924
  openSource: async () => ({
6925
6925
  open: async () => ({ repoRoot: root })
@@ -7045,7 +7045,7 @@ async function checkLocalPlayGraph(input) {
7045
7045
  // src/cli/renderers/local-play-execution.ts
7046
7046
  function renderLocalPlayExecutionPlan(plan, options = {}) {
7047
7047
  if (options.dryRun) {
7048
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7048
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7049
7049
  return;
7050
7050
  }
7051
7051
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7217,7 +7217,7 @@ function traceCliSync(phase, fields2, run) {
7217
7217
  const startedAt = Date.now();
7218
7218
  try {
7219
7219
  const result = run();
7220
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
7220
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
7221
7221
  phase,
7222
7222
  ms: Date.now() - startedAt,
7223
7223
  ok: true,
@@ -7225,7 +7225,7 @@ function traceCliSync(phase, fields2, run) {
7225
7225
  });
7226
7226
  return result;
7227
7227
  } catch (error) {
7228
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
7228
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
7229
7229
  phase,
7230
7230
  ms: Date.now() - startedAt,
7231
7231
  ok: false,
@@ -8038,7 +8038,7 @@ function playStatusErrorText(status) {
8038
8038
  function isRetryablePendingStartFailure(status) {
8039
8039
  if (status.status !== "failed") return false;
8040
8040
  if (status.runId && status.runId !== "pending") return false;
8041
- return _chunkGZFZZQL4js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8041
+ return _chunkPVE3A2BOjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8042
8042
  }
8043
8043
  function isAmbiguousPlayStartOutcomeError(error) {
8044
8044
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && typeof error.statusCode === "number") {
@@ -8088,13 +8088,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkBBTKAASQjs.Deep
8088
8088
  }, _class);
8089
8089
  function watchSurfaceReaches(state, provenance, level) {
8090
8090
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
8091
- if (!_chunkGZFZZQL4js.logLevelReaches.call(void 0, level, minimumLevel)) {
8091
+ if (!_chunkPVE3A2BOjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8092
8092
  return false;
8093
8093
  }
8094
- if (_chunkGZFZZQL4js.logProvenanceReaches.call(void 0, provenance, "watch")) {
8094
+ if (_chunkPVE3A2BOjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8095
8095
  return true;
8096
8096
  }
8097
- return state.verbose === true && _chunkGZFZZQL4js.logProvenanceReaches.call(void 0, provenance, "debug");
8097
+ return state.verbose === true && _chunkPVE3A2BOjs.logProvenanceReaches.call(void 0, provenance, "debug");
8098
8098
  }
8099
8099
  function getEventPayload(event) {
8100
8100
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8604,7 +8604,7 @@ function resolvePlayRunUrl(input) {
8604
8604
  }
8605
8605
  function openPlayDashboard(url, open2) {
8606
8606
  if (open2 && url) {
8607
- _chunkGJOGFWX3js.openInBrowser.call(void 0, url);
8607
+ _chunkI2JIWKCQjs.openInBrowser.call(void 0, url);
8608
8608
  }
8609
8609
  }
8610
8610
  function printPlayLogLines(input) {
@@ -8685,7 +8685,7 @@ async function waitForPlayCompletionByWatch(input) {
8685
8685
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8686
8686
  });
8687
8687
  } catch (error) {
8688
- if (_chunkGZFZZQL4js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8688
+ if (_chunkPVE3A2BOjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8689
8689
  return null;
8690
8690
  }
8691
8691
  throw error;
@@ -8766,9 +8766,9 @@ async function waitForPlayCompletionByWatch(input) {
8766
8766
  signal: controller.signal,
8767
8767
  deferLogs: !input.emitLogs,
8768
8768
  omitTerminalLogs: !input.emitLogs,
8769
- ..._chunkYVKLF7RWjs.isCliTraceEnabled.call(void 0, ) ? {
8769
+ ..._chunkU7HJXE6Yjs.isCliTraceEnabled.call(void 0, ) ? {
8770
8770
  onPoll: (observation) => {
8771
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
8771
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
8772
8772
  phase: "play_watch_poll",
8773
8773
  workflowId: input.workflowId,
8774
8774
  ms: observation.durationMs,
@@ -8782,7 +8782,7 @@ async function waitForPlayCompletionByWatch(input) {
8782
8782
  full: input.fullJson,
8783
8783
  billing: false,
8784
8784
  onStatus: async (status) => {
8785
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
8785
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
8786
8786
  phase: "play_watch_terminal_status",
8787
8787
  workflowId: input.workflowId,
8788
8788
  full: input.fullJson === true
@@ -8871,7 +8871,7 @@ async function startAndWaitForPlayCompletion(input) {
8871
8871
  signal: controller.signal,
8872
8872
  cliAdmission: useCliAdmission
8873
8873
  });
8874
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
8874
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
8875
8875
  phase: "cli.play_start_admission_attempt",
8876
8876
  ms: Date.now() - postStartedAt,
8877
8877
  ok: true,
@@ -8883,7 +8883,7 @@ async function startAndWaitForPlayCompletion(input) {
8883
8883
  });
8884
8884
  break;
8885
8885
  } catch (error) {
8886
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
8886
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
8887
8887
  phase: "cli.play_start_admission_attempt",
8888
8888
  ms: Date.now() - postStartedAt,
8889
8889
  ok: false,
@@ -8934,7 +8934,7 @@ async function startAndWaitForPlayCompletion(input) {
8934
8934
  prepared.workflowId
8935
8935
  );
8936
8936
  }
8937
- await _chunkDZC7LMYMjs.checkPlayRunCompatibility.call(void 0,
8937
+ await _chunkWIHQAZPVjs.checkPlayRunCompatibility.call(void 0,
8938
8938
  input.client.baseUrl,
8939
8939
  input.maintenancePolicy
8940
8940
  );
@@ -8952,7 +8952,7 @@ async function startAndWaitForPlayCompletion(input) {
8952
8952
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
8953
8953
  );
8954
8954
  }
8955
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
8955
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
8956
8956
  phase: "cli.play_start_json_retry",
8957
8957
  ms: 0,
8958
8958
  ok: true,
@@ -9032,7 +9032,7 @@ async function startAndWaitForPlayCompletion(input) {
9032
9032
  _nullishCoalesce(input.open, () => ( false))
9033
9033
  );
9034
9034
  input.progress.phase("running");
9035
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9035
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9036
9036
  phase: "cli.play_start_admitted",
9037
9037
  ms: Date.now() - startedAt,
9038
9038
  ok: true,
@@ -9050,7 +9050,7 @@ async function startAndWaitForPlayCompletion(input) {
9050
9050
  startedAt,
9051
9051
  waitTimeoutMs: input.waitTimeoutMs
9052
9052
  });
9053
- const initialStatus = _chunkGZFZZQL4js.normalizePlayStatus.call(void 0, initialTerminal);
9053
+ const initialStatus = _chunkPVE3A2BOjs.normalizePlayStatus.call(void 0, initialTerminal);
9054
9054
  const status2 = await resolvePlayRunOutputStatus({
9055
9055
  client: input.client,
9056
9056
  status: initialStatus,
@@ -9058,7 +9058,7 @@ async function startAndWaitForPlayCompletion(input) {
9058
9058
  jsonOutput: input.jsonOutput,
9059
9059
  fromDurableStatus: true
9060
9060
  });
9061
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9061
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9062
9062
  phase: "play_watch_terminal_status",
9063
9063
  workflowId,
9064
9064
  full: true,
@@ -9163,7 +9163,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9163
9163
  });
9164
9164
  }
9165
9165
  if (error instanceof _chunkSL6MYJYMjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
9166
- await _chunkDZC7LMYMjs.checkPlayRunCompatibility.call(void 0,
9166
+ await _chunkWIHQAZPVjs.checkPlayRunCompatibility.call(void 0,
9167
9167
  input.client.baseUrl,
9168
9168
  input.maintenancePolicy,
9169
9169
  admissionDeadline.signal
@@ -9204,7 +9204,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9204
9204
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
9205
9205
  );
9206
9206
  }
9207
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9207
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9208
9208
  phase: "cli.play_start_stream_retry",
9209
9209
  ms: 0,
9210
9210
  ok: true,
@@ -9225,7 +9225,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9225
9225
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9226
9226
  );
9227
9227
  }
9228
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9228
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9229
9229
  phase: "cli.play_start_stream_retry",
9230
9230
  ms: 0,
9231
9231
  ok: true,
@@ -9282,7 +9282,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9282
9282
  if (launchConfirmed || !runId || runId === "pending") return;
9283
9283
  launchConfirmed = true;
9284
9284
  await _optionalChain([input, 'access', _333 => _333.onRunAdmitted, 'optionalCall', _334 => _334(runId)]);
9285
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9285
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9286
9286
  phase: "cli.play_start_admitted",
9287
9287
  ms: Date.now() - startedAt,
9288
9288
  ok: true,
@@ -9316,7 +9316,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9316
9316
  full: input.fullJson
9317
9317
  });
9318
9318
  } catch (error) {
9319
- if (_chunkGZFZZQL4js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9319
+ if (_chunkPVE3A2BOjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9320
9320
  return null;
9321
9321
  }
9322
9322
  throw error;
@@ -9487,7 +9487,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9487
9487
  };
9488
9488
  }
9489
9489
  if (!canonicalTerminal) {
9490
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9490
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9491
9491
  phase: "cli.play_start_stream_stale_terminal_ignored",
9492
9492
  ms: Date.now() - startedAt,
9493
9493
  ok: true,
@@ -9508,14 +9508,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9508
9508
  fromDurableStatus
9509
9509
  }) : canonicalTerminal;
9510
9510
  if (input.fullJson === true) {
9511
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9511
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9512
9512
  phase: "play_watch_terminal_status",
9513
9513
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9514
9514
  full: true,
9515
9515
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9516
9516
  });
9517
9517
  }
9518
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9518
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9519
9519
  phase: "cli.play_start_stream_terminal",
9520
9520
  ms: Date.now() - startedAt,
9521
9521
  ok: true,
@@ -9535,7 +9535,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9535
9535
  clearTimeout(timeout);
9536
9536
  }
9537
9537
  controller.abort();
9538
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9538
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9539
9539
  phase: "cli.play_start_stream_handoff_to_tail",
9540
9540
  ms: Date.now() - startedAt,
9541
9541
  ok: true,
@@ -9566,7 +9566,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9566
9566
  if (timedOut) {
9567
9567
  const terminal = await fetchKnownTerminalStatus();
9568
9568
  if (terminal) {
9569
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9569
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9570
9570
  phase: "cli.play_start_stream_timeout_status_reconcile",
9571
9571
  ms: Date.now() - startedAt,
9572
9572
  ok: true,
@@ -9586,7 +9586,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9586
9586
  lastPhase
9587
9587
  });
9588
9588
  }
9589
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkGZFZZQL4js.isTransientPlayRunReadError.call(void 0, error))) {
9589
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkPVE3A2BOjs.isTransientPlayRunReadError.call(void 0, error))) {
9590
9590
  if (timeout) {
9591
9591
  clearTimeout(timeout);
9592
9592
  }
@@ -9597,7 +9597,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9597
9597
  `
9598
9598
  );
9599
9599
  }
9600
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9600
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9601
9601
  phase: "cli.play_start_stream_reconnect",
9602
9602
  ms: Date.now() - startedAt,
9603
9603
  ok: true,
@@ -9624,7 +9624,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9624
9624
  });
9625
9625
  }
9626
9626
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9627
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9627
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9628
9628
  phase: "cli.play_start_stream_transient_failure",
9629
9629
  ms: Date.now() - startedAt,
9630
9630
  ok: false,
@@ -9652,7 +9652,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9652
9652
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9653
9653
  );
9654
9654
  }
9655
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
9655
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
9656
9656
  phase: "cli.play_start_stream_reconnect",
9657
9657
  ms: Date.now() - startedAt,
9658
9658
  ok: true,
@@ -9732,7 +9732,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9732
9732
  "logs"
9733
9733
  ]);
9734
9734
  function formatPlayLogLine(rawLine, state) {
9735
- const classified = _chunkGZFZZQL4js.classifyLogLine.call(void 0, rawLine);
9735
+ const classified = _chunkPVE3A2BOjs.classifyLogLine.call(void 0, rawLine);
9736
9736
  const line = classified.line;
9737
9737
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9738
9738
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _356 => _356[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9747,14 +9747,14 @@ function formatPlayLogLine(rawLine, state) {
9747
9747
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9748
9748
  const providerWait = formatProviderCapacityWaitLogLine(line);
9749
9749
  if (providerWait && !state.verbose) {
9750
- return _chunkGZFZZQL4js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9750
+ return _chunkPVE3A2BOjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9751
9751
  }
9752
9752
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9753
9753
  if (mapProgress && !state.verbose) {
9754
- return _chunkGZFZZQL4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9754
+ return _chunkPVE3A2BOjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9755
9755
  }
9756
9756
  if (/\[worker\] picked up run\b/.test(message)) {
9757
- if (!_chunkGZFZZQL4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9757
+ if (!_chunkPVE3A2BOjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9758
9758
  return null;
9759
9759
  }
9760
9760
  if (state.emittedRunnerStarted) {
@@ -9767,7 +9767,7 @@ function formatPlayLogLine(rawLine, state) {
9767
9767
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9768
9768
  );
9769
9769
  if (mapStart) {
9770
- if (!_chunkGZFZZQL4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9770
+ if (!_chunkPVE3A2BOjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9771
9771
  return null;
9772
9772
  }
9773
9773
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9777,7 +9777,7 @@ function formatPlayLogLine(rawLine, state) {
9777
9777
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9778
9778
  );
9779
9779
  if (mapDone) {
9780
- if (!_chunkGZFZZQL4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9780
+ if (!_chunkPVE3A2BOjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9781
9781
  return null;
9782
9782
  }
9783
9783
  const [, results, executed, cached] = mapDone;
@@ -11099,7 +11099,7 @@ function formatRecentRunLogLines(value) {
11099
11099
  (line) => typeof line === "string"
11100
11100
  );
11101
11101
  if (tail.length === 0) return [];
11102
- const shown = tail.map((line) => _chunkGZFZZQL4js.classifyLogLine.call(void 0, line)).filter(
11102
+ const shown = tail.map((line) => _chunkPVE3A2BOjs.classifyLogLine.call(void 0, line)).filter(
11103
11103
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
11104
11104
  ).slice(-8);
11105
11105
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11404,11 +11404,11 @@ function buildPlayCompletionTextLines(status) {
11404
11404
  }
11405
11405
  function writePlayResult(status, jsonOutput, options) {
11406
11406
  const packaged = getPlayRunPackage(status);
11407
- if (status.package) _chunkVNOQEDVCjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11407
+ if (status.package) _chunk7JIOJLTSjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11408
11408
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _447 => _447.hits]), () => ( null));
11409
11409
  if (jsonOutput) {
11410
11410
  const payload2 = _optionalChain([options, 'optionalAccess', _448 => _448.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11411
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
11411
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
11412
11412
  hits ? { ...payload2, hits } : payload2,
11413
11413
  { json: true, fields: _optionalChain([options, 'optionalAccess', _449 => _449.jsonFields]) }
11414
11414
  );
@@ -11424,7 +11424,7 @@ function writePlayResult(status, jsonOutput, options) {
11424
11424
  ...buildPlayCompletionTextLines(status),
11425
11425
  ...formatRunHitsLines(hits)
11426
11426
  ];
11427
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, displayPackage, {
11427
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, displayPackage, {
11428
11428
  json: false,
11429
11429
  text: `${lines2.join("\n")}
11430
11430
  `
@@ -11474,7 +11474,7 @@ function writePlayResult(status, jsonOutput, options) {
11474
11474
  lines.push(...buildBillingRollupTextLines(status));
11475
11475
  const compact = compactPlayStatus(status);
11476
11476
  const payload = _optionalChain([options, 'optionalAccess', _451 => _451.fullJson]) ? status : compact;
11477
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
11477
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
11478
11478
  {
11479
11479
  ...payload,
11480
11480
  render: {
@@ -11698,7 +11698,7 @@ async function fetchBackingDatasetRows(input) {
11698
11698
  }
11699
11699
  offset += page.rows.length;
11700
11700
  }
11701
- const withError = _chunkVNOQEDVCjs.tableExportHasFailedRows.call(void 0,
11701
+ const withError = _chunk7JIOJLTSjs.tableExportHasFailedRows.call(void 0,
11702
11702
  sheetRows.filter(
11703
11703
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11704
11704
  )
@@ -11714,7 +11714,7 @@ async function fetchBackingDatasetRows(input) {
11714
11714
  return [
11715
11715
  withError ? {
11716
11716
  ...exported,
11717
- [_chunkVNOQEDVCjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkVNOQEDVCjs.tableExportErrorCell.call(void 0,
11717
+ [_chunk7JIOJLTSjs.TABLE_EXPORT_ERROR_COLUMN]: _chunk7JIOJLTSjs.tableExportErrorCell.call(void 0,
11718
11718
  row
11719
11719
  )
11720
11720
  } : exported
@@ -12249,7 +12249,7 @@ function renderServerResultView(value) {
12249
12249
  function writeStartedPlayRun(input) {
12250
12250
  if (input.package && isPlayRunPackageValue(input.package)) {
12251
12251
  const run = input.package.run;
12252
- _chunkVNOQEDVCjs.recordPlayTermination.call(void 0, {
12252
+ _chunk7JIOJLTSjs.recordPlayTermination.call(void 0, {
12253
12253
  id: run.id,
12254
12254
  status: run.status,
12255
12255
  finishedAt: run.finishedAt
@@ -12262,7 +12262,7 @@ function writeStartedPlayRun(input) {
12262
12262
  dashboardUrl: input.dashboardUrl,
12263
12263
  package: input.package
12264
12264
  };
12265
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12265
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12266
12266
  json: true,
12267
12267
  fields: input.jsonFields
12268
12268
  });
@@ -12284,7 +12284,7 @@ function writeStartedPlayRun(input) {
12284
12284
  input.progress.writeLine(output2, process.stdout);
12285
12285
  return;
12286
12286
  }
12287
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, input.package, {
12287
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, input.package, {
12288
12288
  json: false,
12289
12289
  text: `${output2}
12290
12290
  `
@@ -12319,7 +12319,7 @@ function writeStartedPlayRun(input) {
12319
12319
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12320
12320
  ];
12321
12321
  if (input.jsonOutput) {
12322
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12322
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12323
12323
  return;
12324
12324
  }
12325
12325
  const output = lines.join("\n");
@@ -12327,7 +12327,7 @@ function writeStartedPlayRun(input) {
12327
12327
  input.progress.writeLine(output, process.stdout);
12328
12328
  return;
12329
12329
  }
12330
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
12330
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
12331
12331
  {
12332
12332
  ...payload,
12333
12333
  render: { sections: [{ title: "play run", lines }] }
@@ -12337,7 +12337,7 @@ function writeStartedPlayRun(input) {
12337
12337
  );
12338
12338
  }
12339
12339
  function parsePlayCheckOptions(args) {
12340
- const selection = _chunkGJOGFWX3js.parseJsonFields.call(void 0, args, "check");
12340
+ const selection = _chunkI2JIWKCQjs.parseJsonFields.call(void 0, args, "check");
12341
12341
  args = selection.args;
12342
12342
  const target = args[0];
12343
12343
  if (!target || target.startsWith("-")) {
@@ -12349,7 +12349,7 @@ function parsePlayCheckOptions(args) {
12349
12349
  if (arg !== "--json" && arg !== "--full")
12350
12350
  throw new Error(`Unknown plays check option: ${arg}`);
12351
12351
  }
12352
- const jsonOutput = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
12352
+ const jsonOutput = _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
12353
12353
  return {
12354
12354
  target,
12355
12355
  jsonOutput,
@@ -12425,7 +12425,7 @@ ${PLAY_PUBLISH_USAGE}`
12425
12425
  useLatest,
12426
12426
  expectedArtifactHash,
12427
12427
  dryRun,
12428
- jsonOutput: _chunkGJOGFWX3js.argsWantJson.call(void 0, args)
12428
+ jsonOutput: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args)
12429
12429
  };
12430
12430
  }
12431
12431
  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.";
@@ -12474,7 +12474,7 @@ ${PLAY_SAVE_USAGE}`);
12474
12474
  expectedArtifactHash,
12475
12475
  watchPlay,
12476
12476
  dryRun,
12477
- jsonOutput: _chunkGJOGFWX3js.argsWantJson.call(void 0, args)
12477
+ jsonOutput: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args)
12478
12478
  };
12479
12479
  }
12480
12480
  function printScheduledPlayCapacity(capacity) {
@@ -12685,7 +12685,7 @@ function printBundledRuntimeWarning(bundle) {
12685
12685
  async function handlePlayCheck(args) {
12686
12686
  const options = parsePlayCheckOptions(args);
12687
12687
  if (!isFileTarget(options.target)) {
12688
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
12688
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
12689
12689
  try {
12690
12690
  await assertCanonicalNamedPlayReference(client, options.target, {
12691
12691
  command: "check"
@@ -12714,7 +12714,7 @@ async function handlePlayCheck(args) {
12714
12714
  },
12715
12715
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12716
12716
  };
12717
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, result, {
12717
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, result, {
12718
12718
  json: options.jsonOutput,
12719
12719
  fields: options.jsonFields,
12720
12720
  text: renderPlayCheckOutput(result) + "\n"
@@ -12724,7 +12724,7 @@ async function handlePlayCheck(args) {
12724
12724
  const resolved = _path.resolve.call(void 0, options.target);
12725
12725
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12726
12726
  if (options.jsonOutput) {
12727
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
12727
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
12728
12728
  {
12729
12729
  kind: "play_check",
12730
12730
  checked: "named_contract",
@@ -12755,7 +12755,7 @@ async function handlePlayCheck(args) {
12755
12755
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12756
12756
  publishCommand: _optionalChain([primary, 'optionalAccess', _501 => _501.result, 'access', _502 => _502.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12757
12757
  });
12758
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, output, {
12758
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, output, {
12759
12759
  json: options.jsonOutput,
12760
12760
  fields: options.jsonFields,
12761
12761
  text: renderPlayCheckOutput(output, checkedDocflows(outcomes)) + "\n"
@@ -12823,7 +12823,7 @@ async function checkOneExportedPlay(input) {
12823
12823
  }
12824
12824
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12825
12825
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12826
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkK3GMDSUXjs.DeeplineClient)()));
12826
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkJQWX377Pjs.DeeplineClient)()));
12827
12827
  const integrationMode = resolveEvalIntegrationMode();
12828
12828
  const checked = await checkLocalPlayGraph({
12829
12829
  client,
@@ -12879,8 +12879,8 @@ async function handleFileBackedRun(options, hooks) {
12879
12879
  let prefetchClient;
12880
12880
  let admissionCapability;
12881
12881
  let cancelAdmissionCapability;
12882
- let cliAdmission = _chunkDZC7LMYMjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12883
- const progress = _nullishCoalesce(_chunk2AHY47SIjs.getActiveCliProgress.call(void 0, ), () => ( _chunk2AHY47SIjs.createCliProgress.call(void 0, !options.jsonOutput)));
12882
+ let cliAdmission = _chunkWIHQAZPVjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12883
+ const progress = _nullishCoalesce(_chunkGUIYFOG2js.getActiveCliProgress.call(void 0, ), () => ( _chunkGUIYFOG2js.createCliProgress.call(void 0, !options.jsonOutput)));
12884
12884
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _511 => _511.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
12885
12885
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12886
12886
  progress.phase("compiling play");
@@ -12897,11 +12897,11 @@ async function handleFileBackedRun(options, hooks) {
12897
12897
  return 1;
12898
12898
  }
12899
12899
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12900
- const clientForPrefetch = new (0, _chunkK3GMDSUXjs.DeeplineClient)(playRunClientOptions(options));
12900
+ const clientForPrefetch = new (0, _chunkJQWX377Pjs.DeeplineClient)(playRunClientOptions(options));
12901
12901
  prefetchClient = clientForPrefetch;
12902
12902
  const capabilityController = new AbortController();
12903
12903
  cancelAdmissionCapability = () => capabilityController.abort();
12904
- admissionCapability = _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
12904
+ admissionCapability = _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
12905
12905
  "cli.play_admission_capability_prefetch",
12906
12906
  { targetKind: "file" },
12907
12907
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -12912,7 +12912,7 @@ async function handleFileBackedRun(options, hooks) {
12912
12912
  }
12913
12913
  let graph;
12914
12914
  try {
12915
- graph = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
12915
+ graph = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
12916
12916
  "cli.play_file_bundle_graph",
12917
12917
  { targetKind: "file" },
12918
12918
  () => collectBundledPlayGraph(
@@ -12925,7 +12925,7 @@ async function handleFileBackedRun(options, hooks) {
12925
12925
  assertPlayGraphAuthoring(graph);
12926
12926
  if (options.dryRun) {
12927
12927
  progress.complete();
12928
- const plan = _chunkD6OIEH47js.planLocalPlayExecution.call(void 0, graph, {
12928
+ const plan = _chunkWI4MCR7Mjs.planLocalPlayExecution.call(void 0, graph, {
12929
12929
  runIdFile: options.runIdFile
12930
12930
  });
12931
12931
  if (_optionalChain([hooks, 'optionalAccess', _512 => _512.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -12936,9 +12936,9 @@ async function handleFileBackedRun(options, hooks) {
12936
12936
  });
12937
12937
  return 0;
12938
12938
  }
12939
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkK3GMDSUXjs.DeeplineClient)(playRunClientOptions(options))));
12939
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkJQWX377Pjs.DeeplineClient)(playRunClientOptions(options))));
12940
12940
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12941
- await _chunkDZC7LMYMjs.checkPlayRunCompatibility.call(void 0,
12941
+ await _chunkWIHQAZPVjs.checkPlayRunCompatibility.call(void 0,
12942
12942
  client.baseUrl,
12943
12943
  options.maintenancePolicy
12944
12944
  );
@@ -12951,7 +12951,7 @@ async function handleFileBackedRun(options, hooks) {
12951
12951
  });
12952
12952
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
12953
12953
  if (canDeferCompilerManifest) {
12954
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
12954
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
12955
12955
  phase: "cli.play_file_compile_manifests",
12956
12956
  ms: 0,
12957
12957
  ok: true,
@@ -12960,7 +12960,7 @@ async function handleFileBackedRun(options, hooks) {
12960
12960
  reason: "validated_by_run_route"
12961
12961
  });
12962
12962
  } else {
12963
- await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
12963
+ await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
12964
12964
  "cli.play_file_compile_manifests",
12965
12965
  { targetKind: "file", skipped: false },
12966
12966
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12968,7 +12968,7 @@ async function handleFileBackedRun(options, hooks) {
12968
12968
  }
12969
12969
  progress.phase("compiled play");
12970
12970
  } catch (error) {
12971
- if (error instanceof _chunkVNOQEDVCjs.ExecutionOutputError) throw error;
12971
+ if (error instanceof _chunk7JIOJLTSjs.ExecutionOutputError) throw error;
12972
12972
  progress.fail();
12973
12973
  reportError(normalizePlayValidationError(error));
12974
12974
  return 1;
@@ -12979,13 +12979,13 @@ async function handleFileBackedRun(options, hooks) {
12979
12979
  if (bundleResult.importedPlayDependencies.length > 0) {
12980
12980
  try {
12981
12981
  renderLocalPlayExecutionPlan(
12982
- _chunkD6OIEH47js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12982
+ _chunkWI4MCR7Mjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12983
12983
  );
12984
12984
  progress.phase("pinning imported plays");
12985
- graph = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
12985
+ graph = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
12986
12986
  "cli.play_file_pin_imports",
12987
12987
  { targetKind: "file" },
12988
- () => _chunkD6OIEH47js.pinLocalPlayImports.call(void 0, client, graph)
12988
+ () => _chunkWI4MCR7Mjs.pinLocalPlayImports.call(void 0, client, graph)
12989
12989
  );
12990
12990
  bundleResult = graph.root;
12991
12991
  } catch (error) {
@@ -13002,7 +13002,7 @@ async function handleFileBackedRun(options, hooks) {
13002
13002
  inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _513 => _513.authoringContract, 'optionalAccess', _514 => _514.inputSchema]),
13003
13003
  staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _515 => _515.staticPipeline])
13004
13004
  });
13005
- const stagedFileInputs = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13005
+ const stagedFileInputs = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13006
13006
  "cli.play_stage_inputs",
13007
13007
  {
13008
13008
  targetKind: "file",
@@ -13053,7 +13053,7 @@ async function handleFileBackedRun(options, hooks) {
13053
13053
  };
13054
13054
  if (options.watch) {
13055
13055
  progress.phase("starting run");
13056
- const finalStatus = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13056
+ const finalStatus = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13057
13057
  "cli.play_start_watch",
13058
13058
  { targetKind: "file", playName },
13059
13059
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13115,7 +13115,7 @@ async function handleFileBackedRun(options, hooks) {
13115
13115
  return outputStatus.status === "completed" ? 0 : 1;
13116
13116
  }
13117
13117
  progress.phase("starting run");
13118
- const started = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13118
+ const started = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13119
13119
  "cli.play_start_unwatched",
13120
13120
  { targetKind: "file", playName },
13121
13121
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _522 => _522.onSubmission]) }).catch(async (error) => {
@@ -13181,9 +13181,9 @@ async function handleNamedRun(options, hooks) {
13181
13181
  if (options.target.kind !== "name") {
13182
13182
  throw new Error("Expected a named play run target.");
13183
13183
  }
13184
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)(playRunClientOptions(options));
13185
- let cliAdmission = _chunkDZC7LMYMjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13186
- const progress = _nullishCoalesce(_chunk2AHY47SIjs.getActiveCliProgress.call(void 0, ), () => ( _chunk2AHY47SIjs.createCliProgress.call(void 0, !options.jsonOutput)));
13184
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)(playRunClientOptions(options));
13185
+ let cliAdmission = _chunkWIHQAZPVjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13186
+ const progress = _nullishCoalesce(_chunkGUIYFOG2js.getActiveCliProgress.call(void 0, ), () => ( _chunkGUIYFOG2js.createCliProgress.call(void 0, !options.jsonOutput)));
13187
13187
  const playName = options.target.name;
13188
13188
  const runtimeInput = options.input ? { ...options.input } : {};
13189
13189
  try {
@@ -13201,7 +13201,7 @@ async function handleNamedRun(options, hooks) {
13201
13201
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13202
13202
  const capabilityController = new AbortController();
13203
13203
  cancelAdmissionCapability = () => capabilityController.abort();
13204
- admissionCapability = _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13204
+ admissionCapability = _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13205
13205
  "cli.play_admission_capability_prefetch",
13206
13206
  { targetKind: "name", playName },
13207
13207
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13212,14 +13212,14 @@ async function handleNamedRun(options, hooks) {
13212
13212
  }
13213
13213
  const playDetail = needsPlayDefinition ? await (async () => {
13214
13214
  progress.phase("loading play definition");
13215
- return _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13215
+ return _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13216
13216
  "cli.play_load_definition",
13217
13217
  { targetKind: "name", playName, skipped: false },
13218
13218
  () => assertCanonicalNamedPlayReference(client, playName, {
13219
13219
  command: "run"
13220
13220
  })
13221
13221
  );
13222
- })() : (_chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
13222
+ })() : (_chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
13223
13223
  phase: "cli.play_load_definition",
13224
13224
  ms: 0,
13225
13225
  ok: true,
@@ -13228,7 +13228,7 @@ async function handleNamedRun(options, hooks) {
13228
13228
  skipped: true
13229
13229
  }), null);
13230
13230
  progress.phase("selecting revision");
13231
- const selectedRevisionId = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13231
+ const selectedRevisionId = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13232
13232
  "cli.play_select_revision",
13233
13233
  {
13234
13234
  targetKind: "name",
@@ -13253,10 +13253,10 @@ async function handleNamedRun(options, hooks) {
13253
13253
  ..._chunkSL6MYJYMjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13254
13254
  ] : [];
13255
13255
  if (cliAdmission && fileInputBindings.length > 0) {
13256
- await _chunkDZC7LMYMjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13256
+ await _chunkWIHQAZPVjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13257
13257
  cliAdmission = false;
13258
13258
  }
13259
- const stagedFileInputs = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13259
+ const stagedFileInputs = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13260
13260
  "cli.play_stage_inputs",
13261
13261
  {
13262
13262
  targetKind: "name",
@@ -13301,7 +13301,7 @@ async function handleNamedRun(options, hooks) {
13301
13301
  });
13302
13302
  if (options.watch) {
13303
13303
  progress.phase("starting run");
13304
- const finalStatus = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13304
+ const finalStatus = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13305
13305
  "cli.play_start_watch",
13306
13306
  { targetKind: "name", playName },
13307
13307
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13366,7 +13366,7 @@ async function handleNamedRun(options, hooks) {
13366
13366
  return outputStatus.status === "completed" ? 0 : 1;
13367
13367
  }
13368
13368
  progress.phase("starting run");
13369
- const started = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
13369
+ const started = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
13370
13370
  "cli.play_start_unwatched",
13371
13371
  { targetKind: "name", playName },
13372
13372
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _535 => _535.onSubmission]) }).catch(async (error) => {
@@ -13426,7 +13426,7 @@ async function writePlayRunReceipt(client, status, output) {
13426
13426
  const next = { status: `deepline runs get ${status.runId}` };
13427
13427
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _543 => _543.exec, 'call', _544 => _544(status.runId), 'optionalAccess', _545 => _545[1]]), () => ( extractRunPlayName(status))), () => ( null));
13428
13428
  if (!terminal) {
13429
- _chunkVNOQEDVCjs.writeExecutionOutput.call(void 0,
13429
+ _chunk7JIOJLTSjs.writeExecutionOutput.call(void 0,
13430
13430
  {
13431
13431
  id: status.runId,
13432
13432
  status: status.status,
@@ -13506,10 +13506,10 @@ async function writePlayRunReceipt(client, status, output) {
13506
13506
  };
13507
13507
  }
13508
13508
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13509
- const allCollections = _chunkVNOQEDVCjs.outputCollections.call(void 0, data).map(
13509
+ const allCollections = _chunk7JIOJLTSjs.outputCollections.call(void 0, data).map(
13510
13510
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13511
13511
  );
13512
- _chunkVNOQEDVCjs.writeExecutionOutput.call(void 0,
13512
+ _chunk7JIOJLTSjs.writeExecutionOutput.call(void 0,
13513
13513
  {
13514
13514
  id: status.runId,
13515
13515
  status: status.status,
@@ -13530,7 +13530,7 @@ async function writePlayRunReceipt(client, status, output) {
13530
13530
  }
13531
13531
  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;
13532
13532
  async function handlePlayRun(args, hooks) {
13533
- const parsedOptions = Array.isArray(args) ? _chunkGIGAYLY6js.parsePlayRunOptions.call(void 0, args) : args;
13533
+ const parsedOptions = Array.isArray(args) ? _chunk7UJZWI5Zjs.parsePlayRunOptions.call(void 0, args) : args;
13534
13534
  const options = parsedOptions.runIdFile ? {
13535
13535
  ...parsedOptions,
13536
13536
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13547,7 +13547,7 @@ async function handlePlayRun(args, hooks) {
13547
13547
  JSON.stringify({
13548
13548
  version: 1,
13549
13549
  admissionState: "submitted_unknown",
13550
- baseUrl: new (0, _chunkK3GMDSUXjs.DeeplineClient)().baseUrl,
13550
+ baseUrl: new (0, _chunkJQWX377Pjs.DeeplineClient)().baseUrl,
13551
13551
  ...intent
13552
13552
  })
13553
13553
  );
@@ -13800,7 +13800,7 @@ function renderRunOverviewText(overview, extras = {}) {
13800
13800
  );
13801
13801
  return `${lines.join("\n")}
13802
13802
 
13803
- ${_chunkGJOGFWX3js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13803
+ ${_chunkI2JIWKCQjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13804
13804
  }
13805
13805
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13806
13806
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13824,7 +13824,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13824
13824
  }
13825
13825
  }
13826
13826
  async function handleRunGet(args) {
13827
- const selection = _chunkGJOGFWX3js.parseJsonFields.call(void 0,
13827
+ const selection = _chunkI2JIWKCQjs.parseJsonFields.call(void 0,
13828
13828
  args,
13829
13829
  args.includes("--config") ? "config" : "get"
13830
13830
  );
@@ -13837,7 +13837,7 @@ async function handleRunGet(args) {
13837
13837
  console.error(error instanceof Error ? error.message : usage2);
13838
13838
  return 1;
13839
13839
  }
13840
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
13840
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
13841
13841
  const timing = args.includes("--timing");
13842
13842
  const web = args.includes("--web");
13843
13843
  if (web || args.includes("--web-url")) {
@@ -13855,8 +13855,8 @@ async function handleRunGet(args) {
13855
13855
  const dashboardUrl2 = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13856
13856
  const runUrl2 = _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
13857
13857
  if (web) {
13858
- const opened = _chunkGJOGFWX3js.openInBrowser.call(void 0, runUrl2);
13859
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13858
+ const opened = _chunkI2JIWKCQjs.openInBrowser.call(void 0, runUrl2);
13859
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13860
13860
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
13861
13861
  {
13862
13862
  json: args.includes("--json"),
@@ -13867,7 +13867,7 @@ async function handleRunGet(args) {
13867
13867
  );
13868
13868
  return 0;
13869
13869
  }
13870
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13870
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13871
13871
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
13872
13872
  { json: args.includes("--json"), text: `${runUrl2}
13873
13873
  ` }
@@ -13892,7 +13892,7 @@ async function handleRunGet(args) {
13892
13892
  "This server does not support recorded configuration reads."
13893
13893
  );
13894
13894
  }
13895
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13895
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13896
13896
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13897
13897
  { json: true, fields: selection.fields }
13898
13898
  );
@@ -13905,7 +13905,7 @@ async function handleRunGet(args) {
13905
13905
  timing,
13906
13906
  () => client.getRunInput(runId)
13907
13907
  );
13908
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, input, { json: true });
13908
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, input, { json: true });
13909
13909
  return 0;
13910
13910
  }
13911
13911
  const full = args.includes("--full");
@@ -13920,7 +13920,7 @@ async function handleRunGet(args) {
13920
13920
  failedLogs: args.includes("--log-failed")
13921
13921
  })
13922
13922
  );
13923
- if (status.package) _chunkVNOQEDVCjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13923
+ if (status.package) _chunk7JIOJLTSjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13924
13924
  if (!status.package) {
13925
13925
  const legacyStatus = full ? await withRunReadTiming(
13926
13926
  "runs get",
@@ -13934,8 +13934,8 @@ async function handleRunGet(args) {
13934
13934
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13935
13935
  const legacyDashboardUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13936
13936
  const legacyRunUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
13937
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
13938
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13937
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
13938
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13939
13939
  {
13940
13940
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13941
13941
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -13946,7 +13946,7 @@ async function handleRunGet(args) {
13946
13946
  } else {
13947
13947
  writePlayResult(legacyStatus, false, { fullJson: full });
13948
13948
  if (legacyRunUrl)
13949
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13949
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13950
13950
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
13951
13951
  { json: false, text: `run page: ${legacyRunUrl}
13952
13952
  ` }
@@ -13976,11 +13976,11 @@ async function handleRunGet(args) {
13976
13976
  )
13977
13977
  ]);
13978
13978
  const hitLines = formatRunHitsLines(hits);
13979
- const json = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
13979
+ const json = _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
13980
13980
  const playName = resolveRunPlayName(status, runId);
13981
13981
  const dashboardUrl = playName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13982
13982
  const runUrl = playName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
13983
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
13983
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
13984
13984
  {
13985
13985
  ...overview,
13986
13986
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -14085,9 +14085,9 @@ async function handleRunLifecycleStatus(args) {
14085
14085
  console.error(error instanceof Error ? error.message : usage2);
14086
14086
  return 1;
14087
14087
  }
14088
- const status = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.status(runId);
14089
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
14090
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, status, { json: true });
14088
+ const status = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.status(runId);
14089
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
14090
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, status, { json: true });
14091
14091
  return 0;
14092
14092
  }
14093
14093
  if (!status.available) {
@@ -14153,7 +14153,7 @@ async function handleRunsRerun(args) {
14153
14153
  console.error(error instanceof Error ? error.message : usage2);
14154
14154
  return 1;
14155
14155
  }
14156
- const options = { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) };
14156
+ const options = { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) };
14157
14157
  for (let index = 0; index < args.length; index += 1) {
14158
14158
  if (args[index] === "--idempotency-key") {
14159
14159
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14221,8 +14221,8 @@ ${usage2}
14221
14221
  Discover Plays: ${next.discover}
14222
14222
  Active runs: ${next.running}`
14223
14223
  );
14224
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
14225
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14224
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
14225
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14226
14226
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14227
14227
  { json: true }
14228
14228
  );
@@ -14251,7 +14251,7 @@ Active runs: ${next.running}`
14251
14251
  console.error("--offset requires --play.");
14252
14252
  return 1;
14253
14253
  }
14254
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
14254
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
14255
14255
  const page = await withRunReadTiming(
14256
14256
  "runs list",
14257
14257
  "run inventory",
@@ -14332,14 +14332,14 @@ Active runs: ${next.running}`
14332
14332
  return lines2.join("\n");
14333
14333
  });
14334
14334
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
14335
- const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkGJOGFWX3js.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14335
+ const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkI2JIWKCQjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14336
14336
  if (page.hasMore) {
14337
14337
  lines.push("List truncated \u2014 more runs match this filter.");
14338
14338
  lines.push(
14339
14339
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14340
14340
  );
14341
14341
  }
14342
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14342
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14343
14343
  {
14344
14344
  runs,
14345
14345
  ...wantsSteps ? {
@@ -14357,7 +14357,7 @@ Active runs: ${next.running}`
14357
14357
  },
14358
14358
  render: { sections: [{ title: "runs", lines }] }
14359
14359
  },
14360
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
14360
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
14361
14361
  );
14362
14362
  return 0;
14363
14363
  }
@@ -14387,7 +14387,7 @@ async function handleRunTail(args) {
14387
14387
  console.error("--log-level requires one of: debug, info, warn, error.");
14388
14388
  return 1;
14389
14389
  }
14390
- const parsed = _chunkGZFZZQL4js.parseLogLevel.call(void 0, value);
14390
+ const parsed = _chunkPVE3A2BOjs.parseLogLevel.call(void 0, value);
14391
14391
  if (!parsed) {
14392
14392
  console.error(
14393
14393
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14425,9 +14425,9 @@ async function handleRunTail(args) {
14425
14425
  );
14426
14426
  return 1;
14427
14427
  }
14428
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
14428
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
14429
14429
  const jsonLines = args.includes("--jsonl");
14430
- const jsonOutput = !jsonLines && _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
14430
+ const jsonOutput = !jsonLines && _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
14431
14431
  const compact = args.includes("--compact");
14432
14432
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14433
14433
  const compactState = {
@@ -14508,7 +14508,7 @@ async function handleRunLogs(args) {
14508
14508
  ]);
14509
14509
  const cursorIndex = args.indexOf("--cursor");
14510
14510
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14511
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkGZFZZQL4js.isRunLogsCursor.call(void 0, cursorValue));
14511
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkPVE3A2BOjs.isRunLogsCursor.call(void 0, cursorValue));
14512
14512
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14513
14513
  return handleRunEventSearch(args);
14514
14514
  }
@@ -14542,7 +14542,7 @@ async function handleRunLogs(args) {
14542
14542
  console.error("--log-level requires one of: debug, info, warn, error.");
14543
14543
  return 1;
14544
14544
  }
14545
- const parsed = _chunkGZFZZQL4js.parseLogLevel.call(void 0, value);
14545
+ const parsed = _chunkPVE3A2BOjs.parseLogLevel.call(void 0, value);
14546
14546
  if (!parsed) {
14547
14547
  console.error(
14548
14548
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14589,12 +14589,12 @@ async function handleRunLogs(args) {
14589
14589
  );
14590
14590
  return 1;
14591
14591
  }
14592
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
14592
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
14593
14593
  if (outPath) {
14594
14594
  const result2 = await client.runs.logs(runId, { all: true });
14595
- const logs = result2.entries.filter((line) => _chunkGZFZZQL4js.logLevelReaches.call(void 0, _chunkGZFZZQL4js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkGZFZZQL4js.classifyLogLine.call(void 0, line).line);
14595
+ const logs = result2.entries.filter((line) => _chunkPVE3A2BOjs.logLevelReaches.call(void 0, _chunkPVE3A2BOjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkPVE3A2BOjs.classifyLogLine.call(void 0, line).line);
14596
14596
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14597
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14597
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14598
14598
  {
14599
14599
  runId: result2.runId,
14600
14600
  log_path: outPath,
@@ -14617,7 +14617,7 @@ async function handleRunLogs(args) {
14617
14617
  ]
14618
14618
  }
14619
14619
  },
14620
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
14620
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
14621
14621
  );
14622
14622
  return 0;
14623
14623
  }
@@ -14648,7 +14648,7 @@ async function handleRunLogs(args) {
14648
14648
  }
14649
14649
  };
14650
14650
  const text = buildRunLogsText(filteredResult);
14651
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14651
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14652
14652
  {
14653
14653
  runId: result.runId,
14654
14654
  totalCount: result.totalCount,
@@ -14672,7 +14672,7 @@ async function handleRunLogs(args) {
14672
14672
  render: { sections: [{ title: "run logs", lines: entries }] }
14673
14673
  },
14674
14674
  {
14675
- json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args),
14675
+ json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args),
14676
14676
  text
14677
14677
  }
14678
14678
  );
@@ -14696,7 +14696,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14696
14696
  );
14697
14697
  }
14698
14698
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14699
- (entry) => _chunkGZFZZQL4js.logLevelReaches.call(void 0, _chunkGZFZZQL4js.classifyLogLine.call(void 0, entry.line).level, logLevel)
14699
+ (entry) => _chunkPVE3A2BOjs.logLevelReaches.call(void 0, _chunkPVE3A2BOjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14700
14700
  );
14701
14701
  const selected = matching.slice(-limit);
14702
14702
  const olderMatchesExist = matching.length > selected.length;
@@ -14706,7 +14706,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14706
14706
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _578 => _578.at, 'call', _579 => _579(-1), 'optionalAccess', _580 => _580.seq]), () => ( null)),
14707
14707
  truncated: result.truncated || olderMatchesExist,
14708
14708
  hasMore: olderMatchesExist,
14709
- nextCursor: olderMatchesExist ? _chunkGZFZZQL4js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14709
+ nextCursor: olderMatchesExist ? _chunkPVE3A2BOjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14710
14710
  };
14711
14711
  }
14712
14712
  async function handleRunEventSearch(args) {
@@ -14773,7 +14773,7 @@ ${usage2}`);
14773
14773
  namespace,
14774
14774
  ...backend ? { backend } : {}
14775
14775
  } : void 0;
14776
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
14776
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
14777
14777
  const result = await client.runs.searchEvents({
14778
14778
  ...runId ? { runId } : {},
14779
14779
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14845,7 +14845,7 @@ ${renderedDetails}` : ""}`;
14845
14845
  "--limit",
14846
14846
  String(limit)
14847
14847
  ].join(" ") : null;
14848
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14848
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14849
14849
  {
14850
14850
  events,
14851
14851
  nextCursor: result.nextCursor,
@@ -14856,14 +14856,14 @@ ${renderedDetails}` : ""}`;
14856
14856
  render: { sections: [{ title: "runtime events", lines }] }
14857
14857
  },
14858
14858
  {
14859
- json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args),
14859
+ json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args),
14860
14860
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14861
14861
  }
14862
14862
  );
14863
14863
  return 0;
14864
14864
  }
14865
14865
  function buildRunLogsText(result) {
14866
- const lines = result.entries.map((line) => _chunkGZFZZQL4js.classifyLogLine.call(void 0, line).line);
14866
+ const lines = result.entries.map((line) => _chunkPVE3A2BOjs.classifyLogLine.call(void 0, line).line);
14867
14867
  if (result.warning) {
14868
14868
  if (lines.length > 0) lines.push("");
14869
14869
  lines.push(`warning: ${result.warning}`);
@@ -14897,7 +14897,7 @@ async function handleRunStop(args) {
14897
14897
  reason = args[++index];
14898
14898
  }
14899
14899
  }
14900
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
14900
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
14901
14901
  const result = await client.runs.stop(runId, { reason });
14902
14902
  const communicationNotes = [
14903
14903
  ...result.communicationCancelledCount ? [
@@ -14921,7 +14921,7 @@ async function handleRunStop(args) {
14921
14921
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14922
14922
  `inspect: deepline runs get ${runId} --full`
14923
14923
  ];
14924
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14924
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14925
14925
  {
14926
14926
  ...cancelling,
14927
14927
  state,
@@ -14936,7 +14936,7 @@ async function handleRunStop(args) {
14936
14936
  ]
14937
14937
  }
14938
14938
  },
14939
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
14939
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
14940
14940
  );
14941
14941
  return 0;
14942
14942
  }
@@ -14954,7 +14954,7 @@ async function handleRunStop(args) {
14954
14954
  ];
14955
14955
  process.stderr.write(`${lines2.join("\n")}
14956
14956
  `);
14957
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14957
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14958
14958
  {
14959
14959
  ...result,
14960
14960
  render: {
@@ -14969,7 +14969,7 @@ async function handleRunStop(args) {
14969
14969
  ]
14970
14970
  }
14971
14971
  },
14972
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
14972
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
14973
14973
  );
14974
14974
  return 1;
14975
14975
  }
@@ -14981,12 +14981,12 @@ async function handleRunStop(args) {
14981
14981
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14982
14982
  ] : []
14983
14983
  ];
14984
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
14984
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
14985
14985
  {
14986
14986
  ...result,
14987
14987
  render: { sections: [{ title: "run stop", lines }] }
14988
14988
  },
14989
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
14989
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
14990
14990
  );
14991
14991
  return 0;
14992
14992
  }
@@ -15036,18 +15036,18 @@ async function handleRunStopAll(args) {
15036
15036
  reason = args[++index];
15037
15037
  }
15038
15038
  }
15039
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15039
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15040
15040
  if (dryRun) {
15041
15041
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
15042
15042
  const lines2 = buildStopAllDryRunTextLines(result2);
15043
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
15043
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
15044
15044
  {
15045
15045
  ...result2,
15046
15046
  render: {
15047
15047
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
15048
15048
  }
15049
15049
  },
15050
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15050
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15051
15051
  ` }
15052
15052
  );
15053
15053
  return 0;
@@ -15060,17 +15060,17 @@ async function handleRunStopAll(args) {
15060
15060
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
15061
15061
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
15062
15062
  ];
15063
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
15063
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
15064
15064
  {
15065
15065
  ...result,
15066
15066
  render: { sections: [{ title: "workspace stop-all", lines }] }
15067
15067
  },
15068
- { json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args) }
15068
+ { json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args) }
15069
15069
  );
15070
15070
  return result.failed > 0 || result.partial ? 1 : 0;
15071
15071
  }
15072
15072
  async function handleRunExport(args) {
15073
- const selection = _chunkGJOGFWX3js.parseJsonFields.call(void 0, args, "export");
15073
+ const selection = _chunkI2JIWKCQjs.parseJsonFields.call(void 0, args, "export");
15074
15074
  args = selection.args;
15075
15075
  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]";
15076
15076
  let runId;
@@ -15141,17 +15141,17 @@ async function handleRunExport(args) {
15141
15141
  "INVALID_ARGUMENT"
15142
15142
  );
15143
15143
  }
15144
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15144
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15145
15145
  let status = await client.getPlayStatus(runId, { full: true });
15146
15146
  assertRunExportStatusIdentity(status, runId);
15147
15147
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
15148
- const progress = _chunk2AHY47SIjs.createCliProgress.call(void 0, !_chunkGJOGFWX3js.argsWantJson.call(void 0, args));
15148
+ const progress = _chunkGUIYFOG2js.createCliProgress.call(void 0, !_chunkI2JIWKCQjs.argsWantJson.call(void 0, args));
15149
15149
  try {
15150
15150
  await waitForPlayCompletionByWatch({
15151
15151
  client,
15152
15152
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
15153
15153
  workflowId: runId,
15154
- jsonOutput: _chunkGJOGFWX3js.argsWantJson.call(void 0, args),
15154
+ jsonOutput: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args),
15155
15155
  emitLogs: false,
15156
15156
  waitTimeoutMs,
15157
15157
  startedAt: Date.now(),
@@ -15219,7 +15219,7 @@ async function handleRunExport(args) {
15219
15219
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _594 => _594.rowsInfo, 'access', _595 => _595.totalRows]), () => ( null)),
15220
15220
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
15221
15221
  ...rowFailures ? { rowFailures } : {},
15222
- columns: _chunkVNOQEDVCjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _596 => _596.rowsInfo, 'access', _597 => _597.columns]), () => ( []))),
15222
+ columns: _chunk7JIOJLTSjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _596 => _596.rowsInfo, 'access', _597 => _597.columns]), () => ( []))),
15223
15223
  ...currentTableNotice ? { notice: currentTableNotice } : {},
15224
15224
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
15225
15225
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -15253,8 +15253,8 @@ async function handleRunExport(args) {
15253
15253
  "utf-8"
15254
15254
  );
15255
15255
  }
15256
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, payload, {
15257
- json: _chunkGJOGFWX3js.argsWantJson.call(void 0, args),
15256
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, payload, {
15257
+ json: _chunkI2JIWKCQjs.argsWantJson.call(void 0, args),
15258
15258
  fields: selection.fields,
15259
15259
  text: `${lines.join("\n")}
15260
15260
  `
@@ -15288,10 +15288,10 @@ async function handlePlayGet(args) {
15288
15288
  );
15289
15289
  return 2;
15290
15290
  }
15291
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15291
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15292
15292
  const explicitJson = args.includes("--json");
15293
15293
  const sourceOutput = args.includes("--source");
15294
- const jsonOutput = sourceOutput ? explicitJson : _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
15294
+ const jsonOutput = sourceOutput ? explicitJson : _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
15295
15295
  const requestedRevisionFlags = [
15296
15296
  args.includes("--working"),
15297
15297
  args.includes("--live"),
@@ -15354,7 +15354,7 @@ async function handlePlayGet(args) {
15354
15354
  }
15355
15355
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15356
15356
  if (jsonOutput) {
15357
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
15357
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
15358
15358
  ...detail,
15359
15359
  ...materializedFile ? {
15360
15360
  message: loadedMessage,
@@ -15446,8 +15446,8 @@ async function handlePlayVersions(args) {
15446
15446
  console.error("Usage: deepline plays versions --name <name> [--json]");
15447
15447
  return 1;
15448
15448
  }
15449
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15450
- const jsonOutput = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
15449
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15450
+ const jsonOutput = _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
15451
15451
  await assertCanonicalNamedPlayReference(client, playName, {
15452
15452
  command: "versions"
15453
15453
  });
@@ -15455,7 +15455,7 @@ async function handlePlayVersions(args) {
15455
15455
  parseReferencedPlayTarget(playName).playName
15456
15456
  );
15457
15457
  if (jsonOutput) {
15458
- _chunkGJOGFWX3js.printCompactJson.call(void 0, { versions });
15458
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, { versions });
15459
15459
  return 0;
15460
15460
  }
15461
15461
  if (versions.length === 0) {
@@ -15494,8 +15494,8 @@ async function handlePlayCost(args) {
15494
15494
  console.error("Usage: deepline plays cost <play> [--json]");
15495
15495
  return 2;
15496
15496
  }
15497
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getPlayCostEstimate(name);
15498
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15497
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getPlayCostEstimate(name);
15498
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15499
15499
  else
15500
15500
  console.log(
15501
15501
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -15503,9 +15503,9 @@ async function handlePlayCost(args) {
15503
15503
  return 0;
15504
15504
  }
15505
15505
  async function handlePlayList(args) {
15506
- const jsonOutput = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
15506
+ const jsonOutput = _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
15507
15507
  const showCost = args.includes("--show-cost");
15508
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15508
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15509
15509
  const categoriesIndex = args.indexOf("--categories");
15510
15510
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _616 => _616[categoriesIndex + 1], 'optionalAccess', _617 => _617.trim, 'call', _618 => _618()]) : void 0;
15511
15511
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15603,7 +15603,7 @@ async function handlePlayList(args) {
15603
15603
  lines.push("List truncated \u2014 more plays are available.");
15604
15604
  lines.push(`Next page: ${nextPage}`);
15605
15605
  }
15606
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
15606
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
15607
15607
  {
15608
15608
  plays,
15609
15609
  count: plays.length,
@@ -15621,7 +15621,7 @@ async function handlePlayList(args) {
15621
15621
  }
15622
15622
  async function handlePlayPin(args, pinned) {
15623
15623
  const target = _optionalChain([args, 'access', _627 => _627.find, 'call', _628 => _628((arg) => !arg.startsWith("-")), 'optionalAccess', _629 => _629.trim, 'call', _630 => _630()]);
15624
- const jsonOutput = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
15624
+ const jsonOutput = _chunkI2JIWKCQjs.argsWantJson.call(void 0, args);
15625
15625
  const dryRun = args.includes("--dry-run");
15626
15626
  if (!target) {
15627
15627
  console.error(
@@ -15639,11 +15639,11 @@ async function handlePlayPin(args, pinned) {
15639
15639
  const name = parsedTarget.playName;
15640
15640
  const plan = { name, pinned, dryRun };
15641
15641
  if (dryRun) {
15642
- _chunkGJOGFWX3js.printCompactJson.call(void 0, plan);
15642
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, plan);
15643
15643
  return 0;
15644
15644
  }
15645
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().setPlayPinned(name, pinned);
15646
- if (jsonOutput) _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
15645
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().setPlayPinned(name, pinned);
15646
+ if (jsonOutput) _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
15647
15647
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15648
15648
  return 0;
15649
15649
  }
@@ -15769,12 +15769,12 @@ async function handlePlayGrep(args) {
15769
15769
  console.error("Usage: deepline plays grep <query> [--json]");
15770
15770
  return 1;
15771
15771
  }
15772
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15772
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15773
15773
  const results = (await client.listPlays({ grep: query })).map(
15774
15774
  summarizePlayGrepResult
15775
15775
  );
15776
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
15777
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
15776
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
15777
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
15778
15778
  plays: results,
15779
15779
  count: results.length,
15780
15780
  query,
@@ -15797,7 +15797,7 @@ async function handlePlayGrep(args) {
15797
15797
  return 0;
15798
15798
  }
15799
15799
  async function handlePlayDescribe(args) {
15800
- const selection = _chunkGJOGFWX3js.parseJsonFields.call(void 0, args, "describe");
15800
+ const selection = _chunkI2JIWKCQjs.parseJsonFields.call(void 0, args, "describe");
15801
15801
  args = selection.args;
15802
15802
  const playName = args[0];
15803
15803
  if (!playName) {
@@ -15831,8 +15831,8 @@ async function handlePlayDescribe(args) {
15831
15831
  `deepline plays check ${playName}`,
15832
15832
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15833
15833
  ];
15834
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
15835
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
15834
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
15835
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
15836
15836
  ok: false,
15837
15837
  error: { message },
15838
15838
  next
@@ -15846,7 +15846,7 @@ async function handlePlayDescribe(args) {
15846
15846
  }
15847
15847
  return 2;
15848
15848
  }
15849
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
15849
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
15850
15850
  await assertCanonicalNamedPlayReference(client, playName, {
15851
15851
  command: "describe"
15852
15852
  });
@@ -15856,9 +15856,9 @@ async function handlePlayDescribe(args) {
15856
15856
  compact: args.includes("--compact")
15857
15857
  }
15858
15858
  );
15859
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
15860
- if (selection.fields) _chunkGJOGFWX3js.printJson.call(void 0, play, selection.fields);
15861
- else _chunkGJOGFWX3js.printCompactJson.call(void 0, play);
15859
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
15860
+ if (selection.fields) _chunkI2JIWKCQjs.printJson.call(void 0, play, selection.fields);
15861
+ else _chunkI2JIWKCQjs.printCompactJson.call(void 0, play);
15862
15862
  return 0;
15863
15863
  }
15864
15864
  printPlayDescription(play);
@@ -15879,7 +15879,7 @@ async function handlePlaySave(args) {
15879
15879
  return 2;
15880
15880
  }
15881
15881
  const watchPlay = options.dryRun ? void 0 : options.watchPlay;
15882
- const client = watchPlay ? new (0, _chunkK3GMDSUXjs.DeeplineClient)() : void 0;
15882
+ const client = watchPlay ? new (0, _chunkJQWX377Pjs.DeeplineClient)() : void 0;
15883
15883
  let attempt;
15884
15884
  if (watchPlay && client) {
15885
15885
  try {
@@ -15903,7 +15903,7 @@ async function handlePlaySave(args) {
15903
15903
  };
15904
15904
  let graph;
15905
15905
  try {
15906
- graph = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
15906
+ graph = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
15907
15907
  "cli.play_save_bundle_graph",
15908
15908
  { targetKind: "file" },
15909
15909
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15932,7 +15932,7 @@ async function handlePlaySave(args) {
15932
15932
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15933
15933
  };
15934
15934
  if (options.jsonOutput) {
15935
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
15935
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
15936
15936
  } else {
15937
15937
  console.error(result.message);
15938
15938
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15954,7 +15954,7 @@ async function handlePlaySave(args) {
15954
15954
  };
15955
15955
  if (options.dryRun) {
15956
15956
  if (options.jsonOutput) {
15957
- _chunkGJOGFWX3js.printCompactJson.call(void 0, dryRun);
15957
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, dryRun);
15958
15958
  } else {
15959
15959
  console.log(`Dry run: ${playName}`);
15960
15960
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15963,14 +15963,14 @@ async function handlePlaySave(args) {
15963
15963
  }
15964
15964
  return 0;
15965
15965
  }
15966
- const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkK3GMDSUXjs.DeeplineClient)()));
15966
+ const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkJQWX377Pjs.DeeplineClient)()));
15967
15967
  try {
15968
- await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
15968
+ await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
15969
15969
  "cli.play_save_compile_manifests",
15970
15970
  { targetKind: "file", nodeCount: graph.nodes.size },
15971
15971
  () => compileBundledPlayGraphManifests(saveClient, graph)
15972
15972
  );
15973
- const saved = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
15973
+ const saved = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
15974
15974
  "cli.play_save_register_draft",
15975
15975
  { targetKind: "file", playName, artifactHash },
15976
15976
  () => saveClient.registerPlayArtifact({
@@ -16000,7 +16000,7 @@ async function handlePlaySave(args) {
16000
16000
  }
16001
16001
  };
16002
16002
  if (options.jsonOutput) {
16003
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
16003
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
16004
16004
  } else {
16005
16005
  console.log(
16006
16006
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -16029,7 +16029,7 @@ async function handlePlayPublish(args) {
16029
16029
  }
16030
16030
  const { target: playName, useLatest } = options;
16031
16031
  let revisionId = options.revisionId;
16032
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
16032
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
16033
16033
  if (isFileTarget(playName)) {
16034
16034
  if (revisionId || useLatest) {
16035
16035
  console.error(
@@ -16039,7 +16039,7 @@ async function handlePlayPublish(args) {
16039
16039
  }
16040
16040
  let graph;
16041
16041
  try {
16042
- graph = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
16042
+ graph = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
16043
16043
  "cli.play_publish_bundle_graph",
16044
16044
  { targetKind: "file" },
16045
16045
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -16061,7 +16061,7 @@ async function handlePlayPublish(args) {
16061
16061
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
16062
16062
  };
16063
16063
  if (options.jsonOutput) {
16064
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result3);
16064
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result3);
16065
16065
  } else {
16066
16066
  console.error(result3.message);
16067
16067
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -16084,7 +16084,7 @@ async function handlePlayPublish(args) {
16084
16084
  };
16085
16085
  if (options.dryRun) {
16086
16086
  if (options.jsonOutput) {
16087
- _chunkGJOGFWX3js.printCompactJson.call(void 0, dryRun);
16087
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, dryRun);
16088
16088
  } else {
16089
16089
  console.log(`Dry run: ${rootPlayName}`);
16090
16090
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16103,12 +16103,12 @@ async function handlePlayPublish(args) {
16103
16103
  }
16104
16104
  }
16105
16105
  try {
16106
- await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
16106
+ await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
16107
16107
  "cli.play_publish_compile_manifests",
16108
16108
  { targetKind: "file", nodeCount: graph.nodes.size },
16109
16109
  () => compileBundledPlayGraphManifests(client, graph)
16110
16110
  );
16111
- await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
16111
+ await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
16112
16112
  "cli.play_publish_imports",
16113
16113
  { targetKind: "file", nodeCount: graph.nodes.size },
16114
16114
  () => publishImportedPlayDependencies(client, graph)
@@ -16117,7 +16117,7 @@ async function handlePlayPublish(args) {
16117
16117
  console.error(error instanceof Error ? error.message : String(error));
16118
16118
  return 1;
16119
16119
  }
16120
- const published = await _chunkYVKLF7RWjs.traceCliSpan.call(void 0,
16120
+ const published = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
16121
16121
  "cli.play_publish_register_root",
16122
16122
  {
16123
16123
  targetKind: "file",
@@ -16152,7 +16152,7 @@ async function handlePlayPublish(args) {
16152
16152
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
16153
16153
  };
16154
16154
  if (options.jsonOutput) {
16155
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result2);
16155
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result2);
16156
16156
  } else {
16157
16157
  printPublishReceipt({
16158
16158
  name: rootPlayName,
@@ -16183,7 +16183,7 @@ async function handlePlayPublish(args) {
16183
16183
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
16184
16184
  latest: useLatest
16185
16185
  };
16186
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result2);
16186
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result2);
16187
16187
  return 0;
16188
16188
  }
16189
16189
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -16207,7 +16207,7 @@ async function handlePlayPublish(args) {
16207
16207
  revisionId ? { revisionId } : {}
16208
16208
  );
16209
16209
  if (options.jsonOutput) {
16210
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
16210
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
16211
16211
  } else {
16212
16212
  printPublishReceipt({
16213
16213
  name: result.name,
@@ -16247,7 +16247,7 @@ async function handlePlayDelete(args) {
16247
16247
  );
16248
16248
  return 2;
16249
16249
  }
16250
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
16250
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
16251
16251
  let detail;
16252
16252
  try {
16253
16253
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -16271,8 +16271,8 @@ async function handlePlayDelete(args) {
16271
16271
  name: resolvedName,
16272
16272
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
16273
16273
  };
16274
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
16275
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result2);
16274
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
16275
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result2);
16276
16276
  } else {
16277
16277
  process.stdout.write(
16278
16278
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -16282,8 +16282,8 @@ async function handlePlayDelete(args) {
16282
16282
  return 0;
16283
16283
  }
16284
16284
  const result = await client.deletePlay(resolvedName);
16285
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
16286
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
16285
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
16286
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
16287
16287
  return result.archived || result.alreadyArchived ? 0 : 4;
16288
16288
  }
16289
16289
  if (result.alreadyArchived) {
@@ -16322,13 +16322,13 @@ async function handlePlayRestore(args) {
16322
16322
  );
16323
16323
  return 2;
16324
16324
  }
16325
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
16325
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
16326
16326
  try {
16327
16327
  const result = await client.restorePlay(
16328
16328
  parseReferencedPlayTarget(playName).playName
16329
16329
  );
16330
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
16331
- _chunkGJOGFWX3js.printCompactJson.call(void 0, result);
16330
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
16331
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, result);
16332
16332
  return result.restored || result.alreadyActive ? 0 : 4;
16333
16333
  }
16334
16334
  if (result.alreadyActive) {
@@ -16455,21 +16455,21 @@ Common commands:
16455
16455
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16456
16456
  }
16457
16457
  };
16458
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, result2, {
16458
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, result2, {
16459
16459
  json: options.json,
16460
16460
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16461
16461
  `
16462
16462
  });
16463
16463
  return;
16464
16464
  }
16465
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
16465
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
16466
16466
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16467
16467
  throw new Error(
16468
16468
  "The submission belongs to a different API origin. Select its original host before recovery."
16469
16469
  );
16470
16470
  }
16471
16471
  const result = await client.startPlayRun(saved.request);
16472
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
16472
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
16473
16473
  { ...result },
16474
16474
  {
16475
16475
  json: options.json,
@@ -16505,7 +16505,7 @@ Examples:
16505
16505
  ).action(async (target, options) => {
16506
16506
  process.exitCode = await handlePlayCheck([
16507
16507
  target,
16508
- ..._chunkGJOGFWX3js.jsonFieldArgs.call(void 0, options.json),
16508
+ ..._chunkI2JIWKCQjs.jsonFieldArgs.call(void 0, options.json),
16509
16509
  ...options.full ? ["--full"] : []
16510
16510
  ]);
16511
16511
  });
@@ -16552,10 +16552,10 @@ Notes:
16552
16552
  with a changed input is refused with a 409 conflict. Use one stable key per
16553
16553
  exact intent. Without a key, each invocation starts a new run.
16554
16554
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
16555
- resident-work ceiling. Default: ${_chunkGIGAYLY6js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkGIGAYLY6js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16555
+ resident-work ceiling. Default: ${_chunk7UJZWI5Zjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunk7UJZWI5Zjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16556
16556
  Provider pacing and sandbox memory limits still apply.
16557
16557
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
16558
- resolvers. Accepted range: 1-${_chunkGIGAYLY6js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16558
+ resolvers. Accepted range: 1-${_chunk7UJZWI5Zjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16559
16559
  may lower it when source-row size exceeds the active-row memory budget.
16560
16560
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
16561
16561
  Tool calls that would exceed it are denied.
@@ -16680,10 +16680,10 @@ Examples:
16680
16680
  ).hideHelp()
16681
16681
  ).option(
16682
16682
  "--max-concurrent-external-calls <count>",
16683
- `Concurrent provider-tool and deepline.fetch executions (${_chunkGIGAYLY6js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkGIGAYLY6js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16683
+ `Concurrent provider-tool and deepline.fetch executions (${_chunk7UJZWI5Zjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunk7UJZWI5Zjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16684
16684
  ).option(
16685
16685
  "--max-concurrent-rows <count>",
16686
- `Run-wide dataset map row resolver ceiling (max ${_chunkGIGAYLY6js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16686
+ `Run-wide dataset map row resolver ceiling (max ${_chunk7UJZWI5Zjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16687
16687
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
16688
16688
  // Internal only: the server refuses it without play_run.cache_reuse_window.
16689
16689
  new (0, _commander.Option)(
@@ -16784,14 +16784,14 @@ JSON field selection:
16784
16784
  passthroughArgs.shift();
16785
16785
  }
16786
16786
  const exitCode = await handlePlayRun(
16787
- _chunkGIGAYLY6js.resolvePlayRunCliOptions.call(void 0,
16787
+ _chunk7UJZWI5Zjs.resolvePlayRunCliOptions.call(void 0,
16788
16788
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16789
16789
  options,
16790
16790
  passthroughArgs,
16791
- _chunkYVKLF7RWjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16791
+ _chunkU7HJXE6Yjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16792
16792
  )
16793
16793
  );
16794
- _chunkYVKLF7RWjs.recordCliTrace.call(void 0, {
16794
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
16795
16795
  phase: "cli.play_command_exit",
16796
16796
  exitCode
16797
16797
  });
@@ -16840,9 +16840,9 @@ Examples:
16840
16840
  const limit = Number(options.historyLimit);
16841
16841
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16842
16842
  throw new Error("--history-limit must be an integer from 1 to 30.");
16843
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
16843
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
16844
16844
  if (options.binding) {
16845
- _chunkGJOGFWX3js.printCompactJson.call(void 0,
16845
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0,
16846
16846
  await client.getPlayTriggerHistory(options.binding, { limit })
16847
16847
  );
16848
16848
  return;
@@ -16850,7 +16850,7 @@ Examples:
16850
16850
  const result = await client.listPlayTriggerInventory({
16851
16851
  cursor: options.cursor
16852
16852
  });
16853
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
16853
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
16854
16854
  ...result,
16855
16855
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16856
16856
  });
@@ -16909,7 +16909,7 @@ Examples:
16909
16909
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16910
16910
  throw new Error("--group-by must be kind or trigger_source.");
16911
16911
  }
16912
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getPlaysActivity({
16912
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getPlaysActivity({
16913
16913
  timeZone: options.timeZone,
16914
16914
  days,
16915
16915
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16923,7 +16923,7 @@ Examples:
16923
16923
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16924
16924
  );
16925
16925
  }
16926
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
16926
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
16927
16927
  { ...result },
16928
16928
  {
16929
16929
  json: Boolean(options.json),
@@ -16952,7 +16952,7 @@ Examples:
16952
16952
  false
16953
16953
  );
16954
16954
  });
16955
- _chunkE2OIYPB4js.registerDeprecatedSearchCommand.call(void 0,
16955
+ _chunk5XXPP3PRjs.registerDeprecatedSearchCommand.call(void 0,
16956
16956
  play,
16957
16957
  (options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
16958
16958
  );
@@ -16993,9 +16993,9 @@ Examples:
16993
16993
  "--json [fields]",
16994
16994
  "JSON output; optionally select comma-separated dotted paths"
16995
16995
  );
16996
- _chunkVNOQEDVCjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16996
+ _chunk7JIOJLTSjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16997
16997
  async (target, options) => {
16998
- const ownView = () => handlePlayDescribe(_chunkGJOGFWX3js.describeArgs.call(void 0, target, options));
16998
+ const ownView = () => handlePlayDescribe(_chunkI2JIWKCQjs.describeArgs.call(void 0, target, options));
16999
16999
  const [flagText] = [options.json].filter(
17000
17000
  (value) => typeof value === "string"
17001
17001
  );
@@ -17006,7 +17006,7 @@ Examples:
17006
17006
  process.exitCode = await ownView();
17007
17007
  return;
17008
17008
  }
17009
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-GYYSLZLV.js")));
17009
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-SD7DRTBW.js")));
17010
17010
  process.exitCode = await describeAnything(
17011
17011
  name,
17012
17012
  {
@@ -17129,7 +17129,7 @@ Examples:
17129
17129
  deepline plays deployments <deployment-id>
17130
17130
  `
17131
17131
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
17132
- async (id, options) => id ? _chunkN63U5CRGjs.handleDeploymentGet.call(void 0, id, options) : _chunkN63U5CRGjs.handleDeploymentsList.call(void 0, options)
17132
+ async (id, options) => id ? _chunkVK2GSTRNjs.handleDeploymentGet.call(void 0, id, options) : _chunkVK2GSTRNjs.handleDeploymentsList.call(void 0, options)
17133
17133
  );
17134
17134
  addPublishHelp(
17135
17135
  play.command("publish <target>").description(
@@ -17264,14 +17264,14 @@ Examples:
17264
17264
  const limit = Number(options.limit);
17265
17265
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
17266
17266
  throw new Error("--limit must be an integer from 1 to 1000.");
17267
- const result = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().runs.rowHistory({
17267
+ const result = await new (0, _chunkJQWX377Pjs.DeeplineClient)().runs.rowHistory({
17268
17268
  playName: options.play,
17269
17269
  runId,
17270
17270
  tableNamespace: options.dataset,
17271
17271
  limit,
17272
17272
  cursor: options.cursor
17273
17273
  });
17274
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
17274
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
17275
17275
  ...result,
17276
17276
  ...result.nextCursor ? {
17277
17277
  next: `deepline runs rows-history ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)} --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkAID3OYVJjs.shellQuote.call(void 0, result.nextCursor)} --json`
@@ -17349,7 +17349,7 @@ Examples:
17349
17349
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
17350
17350
  ).action(async (runId, options) => {
17351
17351
  if (TOOL_EXECUTION_ID.test(runId)) {
17352
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-WJQ6Y7E4.js")));
17352
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-DBZTLYFM.js")));
17353
17353
  process.exitCode = await getToolExecutionReceipt(runId, {
17354
17354
  receiptJson: options.json !== void 0
17355
17355
  });
@@ -17357,7 +17357,7 @@ Examples:
17357
17357
  }
17358
17358
  process.exitCode = await handleRunGet([
17359
17359
  runId,
17360
- ..._chunkGJOGFWX3js.jsonFieldArgs.call(void 0, options.json),
17360
+ ..._chunkI2JIWKCQjs.jsonFieldArgs.call(void 0, options.json),
17361
17361
  ...options.web ? ["--web"] : [],
17362
17362
  ...options.webUrl ? ["--web-url"] : [],
17363
17363
  ...options.full ? ["--full"] : [],
@@ -17687,7 +17687,7 @@ Examples:
17687
17687
  ...options.allowEmpty ? ["--allow-empty"] : [],
17688
17688
  ...options.wait ? ["--wait"] : [],
17689
17689
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17690
- ..._chunkGJOGFWX3js.jsonFieldArgs.call(void 0, options.json)
17690
+ ..._chunkI2JIWKCQjs.jsonFieldArgs.call(void 0, options.json)
17691
17691
  ]);
17692
17692
  });
17693
17693
  const share = play.command("share").description(
@@ -17853,10 +17853,10 @@ async function handlePlayShareStatus(args) {
17853
17853
  return 2;
17854
17854
  }
17855
17855
  const name = parseReferencedPlayTarget(target).playName;
17856
- const status = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().getSharePage(name);
17856
+ const status = await new (0, _chunkJQWX377Pjs.DeeplineClient)().getSharePage(name);
17857
17857
  const outputStatus = shareStatusForOutput(status);
17858
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
17859
- _chunkGJOGFWX3js.printCompactJson.call(void 0, outputStatus);
17858
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
17859
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, outputStatus);
17860
17860
  return 0;
17861
17861
  }
17862
17862
  if (!outputStatus.share) {
@@ -17895,7 +17895,7 @@ async function handlePlaySharePublish(args) {
17895
17895
  return 2;
17896
17896
  }
17897
17897
  const name = parseReferencedPlayTarget(target).playName;
17898
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
17898
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
17899
17899
  let revisionId = shareFlagValue(args, "--revision-id");
17900
17900
  let resolvedVersion;
17901
17901
  if (!revisionId) {
@@ -17926,8 +17926,8 @@ async function handlePlaySharePublish(args) {
17926
17926
  );
17927
17927
  if (!hasCompleted) {
17928
17928
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17929
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
17930
- _chunkGJOGFWX3js.printCompactJson.call(void 0, {
17929
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
17930
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, {
17931
17931
  ok: false,
17932
17932
  code: "NO_SUCCESSFUL_RUN",
17933
17933
  message,
@@ -17951,8 +17951,8 @@ async function handlePlaySharePublish(args) {
17951
17951
  };
17952
17952
  if (args.includes("--dry-run")) {
17953
17953
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17954
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
17955
- _chunkGJOGFWX3js.printCompactJson.call(void 0, plan);
17954
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
17955
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, plan);
17956
17956
  } else {
17957
17957
  console.log(
17958
17958
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17962,8 +17962,8 @@ async function handlePlaySharePublish(args) {
17962
17962
  }
17963
17963
  const status = await client.publishSharePage(name, request);
17964
17964
  const outputStatus = shareStatusForOutput(status);
17965
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
17966
- _chunkGJOGFWX3js.printCompactJson.call(void 0, outputStatus);
17965
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
17966
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, outputStatus);
17967
17967
  return 0;
17968
17968
  }
17969
17969
  const urls = shareUrlFields(outputStatus);
@@ -17994,9 +17994,9 @@ async function handlePlayShareUpdate(args) {
17994
17994
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17995
17995
  ...seoIndexing ? { seoIndexing } : {}
17996
17996
  };
17997
- const status = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().updateSharePage(name, request);
17998
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
17999
- _chunkGJOGFWX3js.printCompactJson.call(void 0, status);
17997
+ const status = await new (0, _chunkJQWX377Pjs.DeeplineClient)().updateSharePage(name, request);
17998
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
17999
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, status);
18000
18000
  return 0;
18001
18001
  }
18002
18002
  console.log(`Updated ${name} share settings.`);
@@ -18011,7 +18011,7 @@ async function handlePlayShareRegenerate(args) {
18011
18011
  return 2;
18012
18012
  }
18013
18013
  const name = parseReferencedPlayTarget(target).playName;
18014
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
18014
+ const client = new (0, _chunkJQWX377Pjs.DeeplineClient)();
18015
18015
  let revisionId = shareFlagValue(args, "--revision-id");
18016
18016
  const versionFlag = shareFlagValue(args, "--version");
18017
18017
  if (!revisionId && versionFlag) {
@@ -18028,8 +18028,8 @@ async function handlePlayShareRegenerate(args) {
18028
18028
  revisionId ? { revisionId } : {}
18029
18029
  );
18030
18030
  const outputStatus = shareStatusForOutput(status);
18031
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
18032
- _chunkGJOGFWX3js.printCompactJson.call(void 0, outputStatus);
18031
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
18032
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, outputStatus);
18033
18033
  return 0;
18034
18034
  }
18035
18035
  const urls = shareUrlFields(outputStatus);
@@ -18054,9 +18054,9 @@ async function handlePlayShareUnpublish(args) {
18054
18054
  return 2;
18055
18055
  }
18056
18056
  const name = parseReferencedPlayTarget(target).playName;
18057
- const status = await new (0, _chunkK3GMDSUXjs.DeeplineClient)().unpublishSharePage(name);
18058
- if (_chunkGJOGFWX3js.argsWantJson.call(void 0, args)) {
18059
- _chunkGJOGFWX3js.printCompactJson.call(void 0, status);
18057
+ const status = await new (0, _chunkJQWX377Pjs.DeeplineClient)().unpublishSharePage(name);
18058
+ if (_chunkI2JIWKCQjs.argsWantJson.call(void 0, args)) {
18059
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, status);
18060
18060
  return 0;
18061
18061
  }
18062
18062
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -18134,4 +18134,4 @@ async function handlePlayShareUnpublish(args) {
18134
18134
 
18135
18135
 
18136
18136
 
18137
- exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; 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 = _chunkGIGAYLY6js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkGIGAYLY6js.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.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
18137
+ exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; 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 = _chunk7UJZWI5Zjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunk7UJZWI5Zjs.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.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;