deepline 0.3.530 → 0.3.532

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 (144) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
  3. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +10 -8
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +95 -9
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +7 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +139 -35
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +438 -38
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +17 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machine-lifecycle.ts +2 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-transient-retry.ts +279 -20
  11. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +615 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +16 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +26 -8
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +27 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +317 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -39
  17. package/dist/cli/auth-7YWTPQSQ.js +43 -0
  18. package/dist/cli/{auth-LRWNDQFT.mjs → auth-ZB3NN4E7.mjs} +5 -5
  19. package/dist/cli/{billing-5FDPWGCG.js → billing-32EF4HJM.js} +82 -82
  20. package/dist/cli/{billing-7T73MRYF.mjs → billing-5GGO7DQS.mjs} +7 -7
  21. package/dist/cli/{chunk-7WGMCOM6.js → chunk-2T7YE5UH.js} +2 -2
  22. package/dist/cli/{chunk-L4QR7CYL.js → chunk-2ZGZBN6D.js} +14 -14
  23. package/dist/cli/{chunk-J6XSBTEX.mjs → chunk-3NUYO5QO.mjs} +1 -1
  24. package/dist/cli/{chunk-MVF7ZBJX.mjs → chunk-47UF3DDN.mjs} +1 -1
  25. package/dist/cli/{chunk-2FLODRM2.js → chunk-4S3ONSLF.js} +13 -13
  26. package/dist/cli/{chunk-4WPIORJX.js → chunk-64CEFPF4.js} +1 -1
  27. package/dist/cli/{chunk-QI2LKPW5.mjs → chunk-6LBD6G6U.mjs} +2 -2
  28. package/dist/cli/{chunk-WWLIDAVT.js → chunk-7S3DJFW5.js} +11 -11
  29. package/dist/cli/{chunk-BVY4QRVT.mjs → chunk-AOAXIJL2.mjs} +82 -31
  30. package/dist/cli/{chunk-KUHH7RW4.js → chunk-AQHMHYXX.js} +44 -44
  31. package/dist/cli/{chunk-WAWOMHWO.mjs → chunk-B77ZRM6M.mjs} +2 -2
  32. package/dist/cli/{chunk-5B37ER3C.js → chunk-BQ2KAFVQ.js} +3 -3
  33. package/dist/cli/{chunk-VQMGCNX2.mjs → chunk-C6VCDDDD.mjs} +5 -5
  34. package/dist/cli/{chunk-3MAHDV5C.mjs → chunk-CRWX26LR.mjs} +1 -1
  35. package/dist/cli/{chunk-7E7CP5KA.js → chunk-CSMLW5VE.js} +4 -4
  36. package/dist/cli/{chunk-HCWPX2UP.mjs → chunk-DSNTHXR7.mjs} +2 -2
  37. package/dist/cli/{chunk-4VQ63Y6S.mjs → chunk-EJLCIQA4.mjs} +5 -5
  38. package/dist/cli/{chunk-7FCD34YS.mjs → chunk-EVXRQXNV.mjs} +3 -2
  39. package/dist/cli/{chunk-K4Y6CNFV.mjs → chunk-F2YLC4ZG.mjs} +1 -1
  40. package/dist/cli/{chunk-YI7QOP6L.js → chunk-FU4MMUGM.js} +16 -16
  41. package/dist/cli/{chunk-6NG3FRJB.mjs → chunk-GABQIZJR.mjs} +5 -5
  42. package/dist/cli/{chunk-V4EK7ZZX.js → chunk-GBVTSWL3.js} +98 -98
  43. package/dist/cli/{chunk-WYI3VMTO.js → chunk-H6OYTU2Y.js} +6 -6
  44. package/dist/cli/{chunk-C44RZGM5.js → chunk-HR2RDDAC.js} +26 -26
  45. package/dist/cli/{chunk-XNWS2WJG.mjs → chunk-HREGFD2I.mjs} +1 -1
  46. package/dist/cli/{chunk-GW76IDID.js → chunk-JJSJ47CA.js} +22 -22
  47. package/dist/cli/{chunk-32NTC5UD.js → chunk-KEE57BF2.js} +7 -7
  48. package/dist/cli/{chunk-SJQ7Z3NI.js → chunk-KQW27FSR.js} +132 -81
  49. package/dist/cli/{chunk-D7Y7I4EE.js → chunk-L5V5SLI7.js} +2 -2
  50. package/dist/cli/{chunk-VKVLJTW5.js → chunk-MHTKWZM3.js} +9 -9
  51. package/dist/cli/{chunk-EADHDZW2.js → chunk-NBIDYAN6.js} +6 -6
  52. package/dist/cli/{chunk-E6L3NEFV.js → chunk-NQDUXVBK.js} +41 -41
  53. package/dist/cli/{chunk-QWEPCX6L.mjs → chunk-O2A4C4WP.mjs} +2 -2
  54. package/dist/cli/{chunk-KEXGBXUG.js → chunk-O7JU5GUR.js} +5 -5
  55. package/dist/cli/{chunk-MVFKZQ7E.js → chunk-QZINISXP.js} +3 -3
  56. package/dist/cli/{chunk-YVLPGYRS.mjs → chunk-RRCSFOF3.mjs} +1 -1
  57. package/dist/cli/{chunk-A5MYJM4K.mjs → chunk-S2HHY26V.mjs} +2 -2
  58. package/dist/cli/{chunk-M4Q4LEMM.js → chunk-SMDX4BM5.js} +2 -2
  59. package/dist/cli/{chunk-5KX3TWBK.mjs → chunk-T2QY36E3.mjs} +1 -1
  60. package/dist/cli/{chunk-OUM2V7R6.mjs → chunk-TFWREZYG.mjs} +6 -6
  61. package/dist/cli/{chunk-QQ4LNSY5.mjs → chunk-THQPLSJD.mjs} +1 -1
  62. package/dist/cli/{chunk-MHR3XVJD.js → chunk-TS6XF2QP.js} +5 -5
  63. package/dist/cli/{chunk-WL6GAZBD.js → chunk-V6LUMGVI.js} +3 -2
  64. package/dist/cli/{chunk-5DJUNUHN.mjs → chunk-VCRCMK7M.mjs} +5 -5
  65. package/dist/cli/{chunk-VYSQ76RP.js → chunk-VHHD5D44.js} +7 -7
  66. package/dist/cli/{chunk-KI63L5H3.mjs → chunk-VIC2MI4W.mjs} +2 -2
  67. package/dist/cli/{chunk-ERMDXXP5.mjs → chunk-VN432I4S.mjs} +1 -1
  68. package/dist/cli/{chunk-LNZILMVK.mjs → chunk-VWEDIFHT.mjs} +4 -4
  69. package/dist/cli/{chunk-I2YXEHDO.mjs → chunk-VZKCZO4J.mjs} +3 -3
  70. package/dist/cli/{chunk-2LKVNWRA.mjs → chunk-W5KSUNTE.mjs} +10 -10
  71. package/dist/cli/{chunk-X547OW3I.js → chunk-WU33X2QL.js} +16 -16
  72. package/dist/cli/{chunk-2FLRKNME.mjs → chunk-YM6JAKYP.mjs} +2 -2
  73. package/dist/cli/command-docs.js +2 -2
  74. package/dist/cli/command-docs.mjs +1 -1
  75. package/dist/cli/{csv-EFIEDJA2.js → csv-4JBCPMEH.js} +13 -13
  76. package/dist/cli/{csv-VY2S7KKV.mjs → csv-LM44ZFL3.mjs} +4 -4
  77. package/dist/cli/{db-D32CBDTN.mjs → db-IFJEGJ6M.mjs} +6 -6
  78. package/dist/cli/{db-3DLI5TYW.js → db-UVNXGK6L.js} +27 -27
  79. package/dist/cli/describe-AF73GGH6.js +50 -0
  80. package/dist/cli/{describe-6MYKK2P3.mjs → describe-TWTOPGII.mjs} +18 -18
  81. package/dist/cli/{executions-QG3DEEY3.js → executions-3I6RU7AO.js} +8 -8
  82. package/dist/cli/{executions-U6TPX4RX.mjs → executions-NEV2P5MX.mjs} +6 -6
  83. package/dist/cli/{feedback-YZ6H4VMQ.mjs → feedback-IO5ZAWKK.mjs} +6 -6
  84. package/dist/cli/{feedback-ZSPW6NXL.js → feedback-NHO56EWZ.js} +14 -14
  85. package/dist/cli/git-AOKC6WL3.js +25 -0
  86. package/dist/cli/{git-ENN72IK4.mjs → git-MQISNZ5F.mjs} +5 -5
  87. package/dist/cli/index.js +145 -145
  88. package/dist/cli/index.mjs +44 -44
  89. package/dist/cli/{legacy-noops-MNA6LWJU.mjs → legacy-noops-DNRJHNQB.mjs} +6 -6
  90. package/dist/cli/{legacy-noops-Q6EVYIGN.js → legacy-noops-SLAQE7HN.js} +9 -9
  91. package/dist/cli/{monitors-BUH54HXJ.js → monitors-JRNATYS2.js} +100 -100
  92. package/dist/cli/{monitors-KENWEEWC.mjs → monitors-NAX7SUAR.mjs} +7 -7
  93. package/dist/cli/{org-HWOHKYP3.mjs → org-34VCNPUD.mjs} +6 -6
  94. package/dist/cli/{org-AHWQJMV7.js → org-BHOREX5D.js} +86 -86
  95. package/dist/cli/{pages-Z5R7NYEF.js → pages-GB337AQG.js} +18 -18
  96. package/dist/cli/{pages-I7DYTCW6.mjs → pages-ZWVHNJOE.mjs} +6 -6
  97. package/dist/cli/{play-3LXZB4ED.js → play-DAUQ7OAO.js} +317 -317
  98. package/dist/cli/{play-ET7CRVWJ.mjs → play-GJ7OEYSB.mjs} +18 -18
  99. package/dist/cli/{providers-GZSAZVHZ.mjs → providers-KA2RKD6E.mjs} +6 -6
  100. package/dist/cli/{providers-ZV2E7NGX.js → providers-W7QY5FUK.js} +9 -9
  101. package/dist/cli/{quickstart-5746NBS2.mjs → quickstart-7KOAL3BD.mjs} +4 -4
  102. package/dist/cli/{quickstart-VJZAT4RY.js → quickstart-D4DPUR7R.js} +6 -6
  103. package/dist/cli/{run-WOQ6XMTT.mjs → run-AYJSQED7.mjs} +23 -23
  104. package/dist/cli/{run-WGUAVYZC.js → run-QFVN2WUQ.js} +41 -41
  105. package/dist/cli/search-JVCK5AB4.js +33 -0
  106. package/dist/cli/{search-NNPFJYEW.mjs → search-MEE7OV2B.mjs} +8 -8
  107. package/dist/cli/{search-output-65HDEEFS.mjs → search-output-G36JH6D6.mjs} +4 -4
  108. package/dist/cli/{search-output-K4ISMPKD.js → search-output-OW6UPOI6.js} +6 -6
  109. package/dist/cli/{secrets-NBKGWMF4.js → secrets-CJJQJUJC.js} +15 -15
  110. package/dist/cli/{secrets-RK44OV3X.mjs → secrets-OFNYIJT6.mjs} +6 -6
  111. package/dist/cli/{sessions-ULQJJN3J.mjs → sessions-B6VCVU4Z.mjs} +6 -6
  112. package/dist/cli/sessions-DXN6BQ7Q.js +22 -0
  113. package/dist/cli/{settings-IHNA7X3Y.js → settings-H4Q524LF.js} +86 -86
  114. package/dist/cli/{settings-V5ZRL2EF.mjs → settings-PPFLSXDP.mjs} +13 -13
  115. package/dist/cli/{setup-HTEBFMOQ.js → setup-SJAM7XHR.js} +78 -63
  116. package/dist/cli/{setup-54VZPJGM.mjs → setup-WI3WDRRE.mjs} +28 -13
  117. package/dist/cli/skills-6MNJK2VQ.js +37 -0
  118. package/dist/cli/{skills-3FCPWMHX.mjs → skills-QSRYGMG2.mjs} +8 -8
  119. package/dist/cli/tools-OT43MSZE.js +57 -0
  120. package/dist/cli/{tools-2NTDNUQT.mjs → tools-RUC4ULAD.mjs} +17 -17
  121. package/dist/cli/{update-25MTBTGU.mjs → update-DPWNL2UB.mjs} +10 -10
  122. package/dist/cli/update-PHOSO3TL.js +35 -0
  123. package/dist/cli/{views-37K4JNNS.js → views-CVDVQALA.js} +18 -18
  124. package/dist/cli/{views-OBE5LUSW.mjs → views-JP66QRA3.mjs} +6 -6
  125. package/dist/cli/{workflow-6YTIHHJH.js → workflow-JM6JUI7I.js} +17 -17
  126. package/dist/cli/{workflow-HAPCL4K6.mjs → workflow-MVTX2PY3.mjs} +7 -7
  127. package/dist/index.js +9 -9
  128. package/dist/index.mjs +6 -6
  129. package/dist/install-integrity.json +108 -106
  130. package/dist/release.d.mts +1 -1
  131. package/dist/release.d.ts +1 -1
  132. package/dist/release.js +2 -2
  133. package/dist/release.mjs +1 -1
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-QFIXECQV.js +0 -43
  138. package/dist/cli/describe-U6HM52X6.js +0 -50
  139. package/dist/cli/git-OBV73OVY.js +0 -25
  140. package/dist/cli/search-IGHNMXI4.js +0 -33
  141. package/dist/cli/sessions-ZJNV4SEL.js +0 -22
  142. package/dist/cli/skills-ZCJ6FOOK.js +0 -37
  143. package/dist/cli/tools-Q75XC2BS.js +0 -57
  144. package/dist/cli/update-3G3GO7IE.js +0 -35
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkVKVLJTW5js = require('./chunk-VKVLJTW5.js');
8
+ var _chunkMHTKWZM3js = require('./chunk-MHTKWZM3.js');
9
9
 
10
10
 
11
11
 
@@ -18,15 +18,15 @@ var _chunkVKVLJTW5js = require('./chunk-VKVLJTW5.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkWYI3VMTOjs = require('./chunk-WYI3VMTO.js');
21
+ var _chunkH6OYTU2Yjs = require('./chunk-H6OYTU2Y.js');
22
22
 
23
23
 
24
- var _chunkWWLIDAVTjs = require('./chunk-WWLIDAVT.js');
24
+ var _chunk7S3DJFW5js = require('./chunk-7S3DJFW5.js');
25
25
  require('./chunk-D3BCSAN7.js');
26
26
 
27
27
 
28
28
 
29
- var _chunkC44RZGM5js = require('./chunk-C44RZGM5.js');
29
+ var _chunkHR2RDDACjs = require('./chunk-HR2RDDAC.js');
30
30
 
31
31
 
32
32
 
@@ -51,10 +51,10 @@ var _chunkNRO3NTVOjs = require('./chunk-NRO3NTVO.js');
51
51
 
52
52
 
53
53
 
54
- var _chunkMHR3XVJDjs = require('./chunk-MHR3XVJD.js');
54
+ var _chunkTS6XF2QPjs = require('./chunk-TS6XF2QP.js');
55
55
 
56
56
 
57
- var _chunkKEXGBXUGjs = require('./chunk-KEXGBXUG.js');
57
+ var _chunkO7JU5GURjs = require('./chunk-O7JU5GUR.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkKEXGBXUGjs = require('./chunk-KEXGBXUG.js');
67
67
 
68
68
 
69
69
 
70
- var _chunkVYSQ76RPjs = require('./chunk-VYSQ76RP.js');
70
+ var _chunkVHHD5D44js = require('./chunk-VHHD5D44.js');
71
71
  require('./chunk-E4CABWXL.js');
72
72
 
73
73
 
@@ -91,19 +91,19 @@ require('./chunk-XDVT3GOM.js');
91
91
 
92
92
 
93
93
 
94
- var _chunkEADHDZW2js = require('./chunk-EADHDZW2.js');
94
+ var _chunkNBIDYAN6js = require('./chunk-NBIDYAN6.js');
95
95
 
96
96
 
97
97
 
98
98
 
99
99
 
100
- var _chunkM4Q4LEMMjs = require('./chunk-M4Q4LEMM.js');
101
- require('./chunk-KUHH7RW4.js');
100
+ var _chunkSMDX4BM5js = require('./chunk-SMDX4BM5.js');
101
+ require('./chunk-AQHMHYXX.js');
102
102
 
103
103
 
104
104
 
105
- var _chunkMVFKZQ7Ejs = require('./chunk-MVFKZQ7E.js');
106
- require('./chunk-L4QR7CYL.js');
105
+ var _chunkQZINISXPjs = require('./chunk-QZINISXP.js');
106
+ require('./chunk-2ZGZBN6D.js');
107
107
 
108
108
 
109
109
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -123,17 +123,17 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
123
123
 
124
124
 
125
125
 
126
- var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
127
- require('./chunk-5B37ER3C.js');
126
+ var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
127
+ require('./chunk-BQ2KAFVQ.js');
128
128
 
129
129
 
130
- var _chunk7E7CP5KAjs = require('./chunk-7E7CP5KA.js');
130
+ var _chunkCSMLW5VEjs = require('./chunk-CSMLW5VE.js');
131
131
  require('./chunk-T2N3B7IQ.js');
132
132
  require('./chunk-XNYIZMNQ.js');
133
133
 
134
134
 
135
135
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
136
- require('./chunk-4WPIORJX.js');
136
+ require('./chunk-64CEFPF4.js');
137
137
  require('./chunk-OG64RBAC.js');
138
138
 
139
139
 
@@ -2115,7 +2115,7 @@ function resolveField(key, command) {
2115
2115
  function printSettings(result, json, name) {
2116
2116
  result = { ...result, settings: parsePlaySettings(result.settings) };
2117
2117
  const selected = fields.filter(([key]) => !name || key === name);
2118
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2118
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2119
2119
  {
2120
2120
  ...result,
2121
2121
  settings: Object.fromEntries(
@@ -2159,7 +2159,7 @@ function registerPlaySettingsCommands(plays) {
2159
2159
  valueSyntax: field.cli.valueSyntax,
2160
2160
  examples: field.cli.examples
2161
2161
  }));
2162
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2162
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2163
2163
  {
2164
2164
  fields: descriptions,
2165
2165
  render: {
@@ -2184,7 +2184,7 @@ function registerPlaySettingsCommands(plays) {
2184
2184
  async (options, command) => {
2185
2185
  if (options.name !== void 0) resolveField(options.name, command);
2186
2186
  printSettings(
2187
- await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getPlaySettings(options.play),
2187
+ await new (0, _chunkO7JU5GURjs.DeeplineClient)().getPlaySettings(options.play),
2188
2188
  options.json,
2189
2189
  options.name
2190
2190
  );
@@ -2215,7 +2215,7 @@ function registerPlaySettingsCommands(plays) {
2215
2215
  );
2216
2216
  }
2217
2217
  if (options.dryRun) {
2218
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2218
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2219
2219
  {
2220
2220
  dryRun: true,
2221
2221
  play,
@@ -2236,7 +2236,7 @@ function registerPlaySettingsCommands(plays) {
2236
2236
  return;
2237
2237
  }
2238
2238
  printSettings(
2239
- await new (0, _chunkKEXGBXUGjs.DeeplineClient)().updatePlaySettings(play, patch),
2239
+ await new (0, _chunkO7JU5GURjs.DeeplineClient)().updatePlaySettings(play, patch),
2240
2240
  options.json
2241
2241
  );
2242
2242
  };
@@ -2262,13 +2262,13 @@ function registerPlaySettingsCommands(plays) {
2262
2262
  "--root must be person or team; --limit must be 1\u2013100.",
2263
2263
  { exitCode: 2 }
2264
2264
  );
2265
- const page = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().listPlaySettingsPaths({
2265
+ const page = await new (0, _chunkO7JU5GURjs.DeeplineClient)().listPlaySettingsPaths({
2266
2266
  root: options.root,
2267
2267
  limit,
2268
2268
  cursor: options.cursor
2269
2269
  });
2270
2270
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2271
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2271
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2272
2272
  {
2273
2273
  ...page,
2274
2274
  nextCommand,
@@ -2319,7 +2319,7 @@ function registerPlaySettingsCommands(plays) {
2319
2319
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2320
2320
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2321
2321
  };
2322
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
2322
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
2323
2323
  const paths = [];
2324
2324
  let cursor;
2325
2325
  do {
@@ -2381,7 +2381,7 @@ function registerPlaySettingsCommands(plays) {
2381
2381
  moved.push(move.playName);
2382
2382
  }
2383
2383
  }
2384
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2384
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2385
2385
  {
2386
2386
  dryRun: Boolean(options.dryRun),
2387
2387
  from: options.from,
@@ -2509,7 +2509,7 @@ function triggerLines(view) {
2509
2509
  return lines;
2510
2510
  }
2511
2511
  function printView(view, json) {
2512
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2512
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2513
2513
  {
2514
2514
  ...view,
2515
2515
  render: {
@@ -2522,7 +2522,7 @@ function printView(view, json) {
2522
2522
  );
2523
2523
  }
2524
2524
  function printResult(result, json) {
2525
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2525
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2526
2526
  {
2527
2527
  ...result,
2528
2528
  render: {
@@ -2552,7 +2552,7 @@ async function mutate(command, options, build) {
2552
2552
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2553
2553
  }
2554
2554
  if (options.dryRun) {
2555
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
2555
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
2556
2556
  {
2557
2557
  dryRun: true,
2558
2558
  play: options.play,
@@ -2571,7 +2571,7 @@ async function mutate(command, options, build) {
2571
2571
  return;
2572
2572
  }
2573
2573
  printResult(
2574
- await new (0, _chunkKEXGBXUGjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2574
+ await new (0, _chunkO7JU5GURjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2575
2575
  options.json
2576
2576
  );
2577
2577
  }
@@ -2604,7 +2604,7 @@ function registerPlayTriggerConfigCommands(plays) {
2604
2604
  }).addHelpText("after", help2);
2605
2605
  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) => {
2606
2606
  printView(
2607
- await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2607
+ await new (0, _chunkO7JU5GURjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2608
2608
  options.json
2609
2609
  );
2610
2610
  });
@@ -2648,7 +2648,7 @@ function registerPlayTriggerConfigCommands(plays) {
2648
2648
  if (options.auth === void 0) {
2649
2649
  if (secrets.length || options.header || options.signaturePrefix)
2650
2650
  usage(setWebhook, "--secret/--header need --auth.");
2651
- const current = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getPlayTriggerConfig(
2651
+ const current = await new (0, _chunkO7JU5GURjs.DeeplineClient)().getPlayTriggerConfig(
2652
2652
  options.play
2653
2653
  );
2654
2654
  return {
@@ -2725,7 +2725,7 @@ var KIND_DESCRIPTIONS = {
2725
2725
  "receipt.skipped": "Saved work result: skipped.",
2726
2726
  "runtime.event": "Other event."
2727
2727
  };
2728
- var RUN_LOGS_KIND_HELP = _chunkVYSQ76RPjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2728
+ var RUN_LOGS_KIND_HELP = _chunkVHHD5D44js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2729
2729
  kind,
2730
2730
  description: KIND_DESCRIPTIONS[kind]
2731
2731
  }));
@@ -2862,9 +2862,9 @@ function configureRunQueryCommandErrors(command, resource) {
2862
2862
  const args = program.args;
2863
2863
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2864
2864
  error.exitCode = 2;
2865
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2866
- _chunk32NTC5UDjs.printJsonError.call(void 0,
2867
- Object.assign(new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(error.message), {
2865
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2866
+ _chunkKEE57BF2js.printJsonError.call(void 0,
2867
+ Object.assign(new (0, _chunkVHHD5D44js.RunEventQueryInputError)(error.message), {
2868
2868
  exitCode: 2,
2869
2869
  retryable: false
2870
2870
  })
@@ -2908,14 +2908,14 @@ function parseQuery(args, resource) {
2908
2908
  if (VALUE_FLAGS.has(flag)) {
2909
2909
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2910
2910
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2911
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2911
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2912
2912
  `${flag} requires a value. Use ${flag} <value>.`
2913
2913
  );
2914
2914
  }
2915
2915
  if (flag === "--sum") sums.push(value);
2916
2916
  else {
2917
2917
  if (values[flag] !== void 0) {
2918
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2918
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2919
2919
  `${flag} may only be supplied once.`
2920
2920
  );
2921
2921
  }
@@ -2929,12 +2929,12 @@ function parseQuery(args, resource) {
2929
2929
  }
2930
2930
  if (arg.startsWith("-")) {
2931
2931
  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.";
2932
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2932
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2933
2933
  `Unsupported query flag ${flag}. ${correction}`
2934
2934
  );
2935
2935
  }
2936
2936
  if (runId !== void 0) {
2937
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2937
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2938
2938
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2939
2939
  );
2940
2940
  }
@@ -2942,7 +2942,7 @@ function parseQuery(args, resource) {
2942
2942
  }
2943
2943
  if (switches.has("--fields")) {
2944
2944
  if (runId !== void 0) {
2945
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2945
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2946
2946
  "--fields does not use a run ID. Omit the positional run ID."
2947
2947
  );
2948
2948
  }
@@ -2955,18 +2955,18 @@ function parseQuery(args, resource) {
2955
2955
  )
2956
2956
  ];
2957
2957
  if (incompatible.length) {
2958
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2958
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2959
2959
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2960
2960
  );
2961
2961
  }
2962
2962
  }
2963
2963
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2964
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2964
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2965
2965
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2966
2966
  );
2967
2967
  }
2968
2968
  if (sums.length && switches.has("--count")) {
2969
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2969
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2970
2970
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2971
2971
  );
2972
2972
  }
@@ -2974,7 +2974,7 @@ function parseQuery(args, resource) {
2974
2974
  if (operation === "count") {
2975
2975
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2976
2976
  if (values[flag] !== void 0 || switches.has(flag)) {
2977
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
2977
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
2978
2978
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2979
2979
  );
2980
2980
  }
@@ -3009,16 +3009,16 @@ function parseQuery(args, resource) {
3009
3009
  ];
3010
3010
  }
3011
3011
  }
3012
- const request = _chunkVYSQ76RPjs.normalizeRunEventOperationRequest.call(void 0, body);
3012
+ const request = _chunkVHHD5D44js.normalizeRunEventOperationRequest.call(void 0, body);
3013
3013
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3014
3014
  const backend = values["--runtime-backend"];
3015
3015
  if (backend && backend !== "daytona" && backend !== "modal") {
3016
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
3016
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
3017
3017
  "--runtime-backend must be daytona or modal."
3018
3018
  );
3019
3019
  }
3020
3020
  if (backend && !namespace) {
3021
- throw new (0, _chunkVYSQ76RPjs.RunEventQueryInputError)(
3021
+ throw new (0, _chunkVHHD5D44js.RunEventQueryInputError)(
3022
3022
  "--runtime-backend requires --runtime-namespace."
3023
3023
  );
3024
3024
  }
@@ -3065,12 +3065,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3065
3065
  const failure = error instanceof Error ? error : new Error(String(error));
3066
3066
  const record4 = failure;
3067
3067
  const status = record4.statusCode;
3068
- const exitCode = error instanceof _chunkVYSQ76RPjs.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;
3068
+ const exitCode = error instanceof _chunkVHHD5D44js.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;
3069
3069
  const diagnostic = Object.assign(failure, {
3070
3070
  exitCode,
3071
3071
  retryable: exitCode === 5
3072
3072
  });
3073
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) _chunk32NTC5UDjs.printJsonError.call(void 0, diagnostic);
3073
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) _chunkKEE57BF2js.printJsonError.call(void 0, diagnostic);
3074
3074
  else console.error(`Error: ${diagnostic.message}`);
3075
3075
  return exitCode;
3076
3076
  }
@@ -3085,7 +3085,7 @@ async function executeRunEventQuery(args, resource) {
3085
3085
  ...criteria
3086
3086
  } = request;
3087
3087
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3088
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
3088
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
3089
3089
  let result;
3090
3090
  if (request.operation === "fields") {
3091
3091
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3151,13 +3151,13 @@ async function executeRunEventQuery(args, resource) {
3151
3151
  lines.push(`Next page: ${nextPage}`);
3152
3152
  }
3153
3153
  }
3154
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
3154
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
3155
3155
  {
3156
3156
  ...result,
3157
3157
  ...nextPage ? { next: { page: nextPage } } : {},
3158
3158
  render: { sections: [{ title: `run ${resource}`, lines }] }
3159
3159
  },
3160
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3160
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3161
3161
  ` }
3162
3162
  );
3163
3163
  return 0;
@@ -4119,7 +4119,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4119
4119
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4120
4120
  );
4121
4121
  }
4122
- const response = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.getReceipts(runId, {
4122
+ const response = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.getReceipts(runId, {
4123
4123
  keys
4124
4124
  });
4125
4125
  const failed = response.receipts.filter(
@@ -4131,7 +4131,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4131
4131
  JSON.stringify(response, null, 2) + "\n",
4132
4132
  { flag: "wx", mode: 384 }
4133
4133
  );
4134
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
4134
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
4135
4135
  {
4136
4136
  runId,
4137
4137
  out: options.out,
@@ -4141,7 +4141,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4141
4141
  { json: true }
4142
4142
  );
4143
4143
  } else {
4144
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4144
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4145
4145
  }
4146
4146
  if (failed)
4147
4147
  process.exitCode = response.receipts.some(
@@ -4180,7 +4180,7 @@ includes nextCommand when another page is available.
4180
4180
  { exitCode: 2 }
4181
4181
  );
4182
4182
  }
4183
- const page = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.children(parentRunId, {
4183
+ const page = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.children(parentRunId, {
4184
4184
  launchKey: options.launchKey,
4185
4185
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4186
4186
  limit
@@ -4195,7 +4195,7 @@ includes nextCommand when another page is available.
4195
4195
  "--limit",
4196
4196
  String(limit)
4197
4197
  ].join(" ") : null;
4198
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
4198
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
4199
4199
  {
4200
4200
  parentRunId,
4201
4201
  launchKey: options.launchKey,
@@ -4231,7 +4231,7 @@ async function handleRunsHistory(options) {
4231
4231
  throw new Error("--limit must be a positive integer.");
4232
4232
  }
4233
4233
  }
4234
- const page = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.history({
4234
+ const page = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.history({
4235
4235
  cursor: options.cursor,
4236
4236
  orgId: options.org,
4237
4237
  search: options.search,
@@ -4247,7 +4247,7 @@ async function handleRunsHistory(options) {
4247
4247
  );
4248
4248
  }
4249
4249
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4250
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
4250
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
4251
4251
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4252
4252
  options.json ? { json: true } : {}
4253
4253
  );
@@ -4300,12 +4300,12 @@ async function runRunsRerunCommand(runId, options) {
4300
4300
  }
4301
4301
  }
4302
4302
  if (options.notice) console.error(options.notice);
4303
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.rerun(runId, {
4303
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.rerun(runId, {
4304
4304
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4305
4305
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4306
4306
  });
4307
- if (_chunk32NTC5UDjs.shouldEmitJson.call(void 0, options.json)) {
4308
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, result, { json: true });
4307
+ if (_chunkKEE57BF2js.shouldEmitJson.call(void 0, options.json)) {
4308
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, result, { json: true });
4309
4309
  } else if (result.rateLimited) {
4310
4310
  console.log(`
4311
4311
  ${result.rateLimited.message}`);
@@ -4329,7 +4329,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
4329
4329
  // src/cli/operations/runs-resume.ts
4330
4330
  async function runRunsResumeCommand(runId) {
4331
4331
  try {
4332
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.resume(runId);
4332
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.resume(runId);
4333
4333
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
4334
4334
  throw new Error(
4335
4335
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5163,13 +5163,13 @@ var RunDataset = class _RunDataset {
5163
5163
  const absolutePath = _path.resolve.call(void 0, outPath);
5164
5164
  _fs.writeFileSync.call(void 0,
5165
5165
  absolutePath,
5166
- `${JSON.stringify(_chunkWYI3VMTOjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5166
+ `${JSON.stringify(_chunkH6OYTU2Yjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5167
5167
  `,
5168
5168
  "utf-8"
5169
5169
  );
5170
5170
  return absolutePath;
5171
5171
  }
5172
- return _chunkWYI3VMTOjs.writeRunDatasetCsv.call(void 0, {
5172
+ return _chunkH6OYTU2Yjs.writeRunDatasetCsv.call(void 0, {
5173
5173
  rows: this.rows,
5174
5174
  columns: this.#info.columns,
5175
5175
  outPath
@@ -6674,7 +6674,7 @@ function renderOutcome(outcome) {
6674
6674
  function printResult2(input) {
6675
6675
  const failed = input.status === "failed" || input.status === "cancelled";
6676
6676
  if (failed) process.exitCode = 1;
6677
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
6677
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
6678
6678
  {
6679
6679
  deployment: { ...input.deployment, status: input.status },
6680
6680
  plays: input.outcomes,
@@ -6699,7 +6699,7 @@ async function handlePlaysDeploy(directory, options) {
6699
6699
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6700
6700
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6701
6701
  });
6702
- const { http, config } = _chunk32NTC5UDjs.getAuthedHttpClient.call(void 0, );
6702
+ const { http, config } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
6703
6703
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6704
6704
  const startDeployment = () => http.post("/api/v2/deployments", {
6705
6705
  deliveryId,
@@ -6726,7 +6726,7 @@ async function handlePlaysDeploy(directory, options) {
6726
6726
  },
6727
6727
  {
6728
6728
  bundle: bundleDeployPlayFile,
6729
- fetchImpl: _chunk7E7CP5KAjs.fetchWithDeploymentProtection,
6729
+ fetchImpl: _chunkCSMLW5VEjs.fetchWithDeploymentProtection,
6730
6730
  // The plays are already here: "opening" the source is naming it.
6731
6731
  openSource: async () => ({
6732
6732
  open: async () => ({ repoRoot: root })
@@ -6852,7 +6852,7 @@ async function checkLocalPlayGraph(input) {
6852
6852
  // src/cli/renderers/local-play-execution.ts
6853
6853
  function renderLocalPlayExecutionPlan(plan, options = {}) {
6854
6854
  if (options.dryRun) {
6855
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6855
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6856
6856
  return;
6857
6857
  }
6858
6858
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7024,7 +7024,7 @@ function traceCliSync(phase, fields2, run) {
7024
7024
  const startedAt = Date.now();
7025
7025
  try {
7026
7026
  const result = run();
7027
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
7027
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
7028
7028
  phase,
7029
7029
  ms: Date.now() - startedAt,
7030
7030
  ok: true,
@@ -7032,7 +7032,7 @@ function traceCliSync(phase, fields2, run) {
7032
7032
  });
7033
7033
  return result;
7034
7034
  } catch (error) {
7035
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
7035
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
7036
7036
  phase,
7037
7037
  ms: Date.now() - startedAt,
7038
7038
  ok: false,
@@ -7831,7 +7831,7 @@ function playStatusErrorText(status) {
7831
7831
  function isRetryablePendingStartFailure(status) {
7832
7832
  if (status.status !== "failed") return false;
7833
7833
  if (status.runId && status.runId !== "pending") return false;
7834
- return _chunkVYSQ76RPjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7834
+ return _chunkVHHD5D44js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7835
7835
  }
7836
7836
  function isAmbiguousPlayStartOutcomeError(error) {
7837
7837
  if (error instanceof _chunkSQWET4SLjs.DeeplineError && typeof error.statusCode === "number") {
@@ -7881,13 +7881,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkSQWET4SLjs.Deep
7881
7881
  }, _class);
7882
7882
  function watchSurfaceReaches(state, provenance, level) {
7883
7883
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
7884
- if (!_chunkVYSQ76RPjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7884
+ if (!_chunkVHHD5D44js.logLevelReaches.call(void 0, level, minimumLevel)) {
7885
7885
  return false;
7886
7886
  }
7887
- if (_chunkVYSQ76RPjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7887
+ if (_chunkVHHD5D44js.logProvenanceReaches.call(void 0, provenance, "watch")) {
7888
7888
  return true;
7889
7889
  }
7890
- return state.verbose === true && _chunkVYSQ76RPjs.logProvenanceReaches.call(void 0, provenance, "debug");
7890
+ return state.verbose === true && _chunkVHHD5D44js.logProvenanceReaches.call(void 0, provenance, "debug");
7891
7891
  }
7892
7892
  function getEventPayload(event) {
7893
7893
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8397,7 +8397,7 @@ function resolvePlayRunUrl(input) {
8397
8397
  }
8398
8398
  function openPlayDashboard(url, open2) {
8399
8399
  if (open2 && url) {
8400
- _chunk32NTC5UDjs.openInBrowser.call(void 0, url);
8400
+ _chunkKEE57BF2js.openInBrowser.call(void 0, url);
8401
8401
  }
8402
8402
  }
8403
8403
  function printPlayLogLines(input) {
@@ -8478,7 +8478,7 @@ async function waitForPlayCompletionByWatch(input) {
8478
8478
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8479
8479
  });
8480
8480
  } catch (error) {
8481
- if (_chunkVYSQ76RPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8481
+ if (_chunkVHHD5D44js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8482
8482
  return null;
8483
8483
  }
8484
8484
  throw error;
@@ -8559,9 +8559,9 @@ async function waitForPlayCompletionByWatch(input) {
8559
8559
  signal: controller.signal,
8560
8560
  deferLogs: !input.emitLogs,
8561
8561
  omitTerminalLogs: !input.emitLogs,
8562
- ..._chunkM4Q4LEMMjs.isCliTraceEnabled.call(void 0, ) ? {
8562
+ ..._chunkSMDX4BM5js.isCliTraceEnabled.call(void 0, ) ? {
8563
8563
  onPoll: (observation) => {
8564
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8564
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8565
8565
  phase: "play_watch_poll",
8566
8566
  workflowId: input.workflowId,
8567
8567
  ms: observation.durationMs,
@@ -8575,7 +8575,7 @@ async function waitForPlayCompletionByWatch(input) {
8575
8575
  full: input.fullJson,
8576
8576
  billing: false,
8577
8577
  onStatus: async (status) => {
8578
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8578
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8579
8579
  phase: "play_watch_terminal_status",
8580
8580
  workflowId: input.workflowId,
8581
8581
  full: input.fullJson === true
@@ -8664,7 +8664,7 @@ async function startAndWaitForPlayCompletion(input) {
8664
8664
  signal: controller.signal,
8665
8665
  cliAdmission: useCliAdmission
8666
8666
  });
8667
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8667
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8668
8668
  phase: "cli.play_start_admission_attempt",
8669
8669
  ms: Date.now() - postStartedAt,
8670
8670
  ok: true,
@@ -8676,7 +8676,7 @@ async function startAndWaitForPlayCompletion(input) {
8676
8676
  });
8677
8677
  break;
8678
8678
  } catch (error) {
8679
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8679
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8680
8680
  phase: "cli.play_start_admission_attempt",
8681
8681
  ms: Date.now() - postStartedAt,
8682
8682
  ok: false,
@@ -8727,7 +8727,7 @@ async function startAndWaitForPlayCompletion(input) {
8727
8727
  prepared.workflowId
8728
8728
  );
8729
8729
  }
8730
- await _chunkEADHDZW2js.checkPlayRunCompatibility.call(void 0,
8730
+ await _chunkNBIDYAN6js.checkPlayRunCompatibility.call(void 0,
8731
8731
  input.client.baseUrl,
8732
8732
  input.maintenancePolicy
8733
8733
  );
@@ -8745,7 +8745,7 @@ async function startAndWaitForPlayCompletion(input) {
8745
8745
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
8746
8746
  );
8747
8747
  }
8748
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8748
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8749
8749
  phase: "cli.play_start_json_retry",
8750
8750
  ms: 0,
8751
8751
  ok: true,
@@ -8825,7 +8825,7 @@ async function startAndWaitForPlayCompletion(input) {
8825
8825
  _nullishCoalesce(input.open, () => ( false))
8826
8826
  );
8827
8827
  input.progress.phase("running");
8828
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8828
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8829
8829
  phase: "cli.play_start_admitted",
8830
8830
  ms: Date.now() - startedAt,
8831
8831
  ok: true,
@@ -8843,7 +8843,7 @@ async function startAndWaitForPlayCompletion(input) {
8843
8843
  startedAt,
8844
8844
  waitTimeoutMs: input.waitTimeoutMs
8845
8845
  });
8846
- const initialStatus = _chunkVYSQ76RPjs.normalizePlayStatus.call(void 0, initialTerminal);
8846
+ const initialStatus = _chunkVHHD5D44js.normalizePlayStatus.call(void 0, initialTerminal);
8847
8847
  const status2 = await resolvePlayRunOutputStatus({
8848
8848
  client: input.client,
8849
8849
  status: initialStatus,
@@ -8851,7 +8851,7 @@ async function startAndWaitForPlayCompletion(input) {
8851
8851
  jsonOutput: input.jsonOutput,
8852
8852
  fromDurableStatus: true
8853
8853
  });
8854
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
8854
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
8855
8855
  phase: "play_watch_terminal_status",
8856
8856
  workflowId,
8857
8857
  full: true,
@@ -8956,7 +8956,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8956
8956
  });
8957
8957
  }
8958
8958
  if (error instanceof _chunk2KHUFWTKjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
8959
- await _chunkEADHDZW2js.checkPlayRunCompatibility.call(void 0,
8959
+ await _chunkNBIDYAN6js.checkPlayRunCompatibility.call(void 0,
8960
8960
  input.client.baseUrl,
8961
8961
  input.maintenancePolicy,
8962
8962
  admissionDeadline.signal
@@ -8997,7 +8997,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8997
8997
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
8998
8998
  );
8999
8999
  }
9000
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9000
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9001
9001
  phase: "cli.play_start_stream_retry",
9002
9002
  ms: 0,
9003
9003
  ok: true,
@@ -9018,7 +9018,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9018
9018
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9019
9019
  );
9020
9020
  }
9021
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9021
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9022
9022
  phase: "cli.play_start_stream_retry",
9023
9023
  ms: 0,
9024
9024
  ok: true,
@@ -9075,7 +9075,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9075
9075
  if (launchConfirmed || !runId || runId === "pending") return;
9076
9076
  launchConfirmed = true;
9077
9077
  await _optionalChain([input, 'access', _314 => _314.onRunAdmitted, 'optionalCall', _315 => _315(runId)]);
9078
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9078
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9079
9079
  phase: "cli.play_start_admitted",
9080
9080
  ms: Date.now() - startedAt,
9081
9081
  ok: true,
@@ -9109,7 +9109,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9109
9109
  full: input.fullJson
9110
9110
  });
9111
9111
  } catch (error) {
9112
- if (_chunkVYSQ76RPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9112
+ if (_chunkVHHD5D44js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9113
9113
  return null;
9114
9114
  }
9115
9115
  throw error;
@@ -9280,7 +9280,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9280
9280
  };
9281
9281
  }
9282
9282
  if (!canonicalTerminal) {
9283
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9283
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9284
9284
  phase: "cli.play_start_stream_stale_terminal_ignored",
9285
9285
  ms: Date.now() - startedAt,
9286
9286
  ok: true,
@@ -9301,14 +9301,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9301
9301
  fromDurableStatus
9302
9302
  }) : canonicalTerminal;
9303
9303
  if (input.fullJson === true) {
9304
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9304
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9305
9305
  phase: "play_watch_terminal_status",
9306
9306
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9307
9307
  full: true,
9308
9308
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9309
9309
  });
9310
9310
  }
9311
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9311
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9312
9312
  phase: "cli.play_start_stream_terminal",
9313
9313
  ms: Date.now() - startedAt,
9314
9314
  ok: true,
@@ -9328,7 +9328,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9328
9328
  clearTimeout(timeout);
9329
9329
  }
9330
9330
  controller.abort();
9331
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9331
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9332
9332
  phase: "cli.play_start_stream_handoff_to_tail",
9333
9333
  ms: Date.now() - startedAt,
9334
9334
  ok: true,
@@ -9359,7 +9359,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9359
9359
  if (timedOut) {
9360
9360
  const terminal = await fetchKnownTerminalStatus();
9361
9361
  if (terminal) {
9362
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9362
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9363
9363
  phase: "cli.play_start_stream_timeout_status_reconcile",
9364
9364
  ms: Date.now() - startedAt,
9365
9365
  ok: true,
@@ -9379,7 +9379,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9379
9379
  lastPhase
9380
9380
  });
9381
9381
  }
9382
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkVYSQ76RPjs.isTransientPlayRunReadError.call(void 0, error))) {
9382
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkVHHD5D44js.isTransientPlayRunReadError.call(void 0, error))) {
9383
9383
  if (timeout) {
9384
9384
  clearTimeout(timeout);
9385
9385
  }
@@ -9390,7 +9390,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9390
9390
  `
9391
9391
  );
9392
9392
  }
9393
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9393
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9394
9394
  phase: "cli.play_start_stream_reconnect",
9395
9395
  ms: Date.now() - startedAt,
9396
9396
  ok: true,
@@ -9417,7 +9417,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9417
9417
  });
9418
9418
  }
9419
9419
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9420
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9420
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9421
9421
  phase: "cli.play_start_stream_transient_failure",
9422
9422
  ms: Date.now() - startedAt,
9423
9423
  ok: false,
@@ -9445,7 +9445,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9445
9445
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9446
9446
  );
9447
9447
  }
9448
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
9448
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
9449
9449
  phase: "cli.play_start_stream_reconnect",
9450
9450
  ms: Date.now() - startedAt,
9451
9451
  ok: true,
@@ -9525,7 +9525,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9525
9525
  "logs"
9526
9526
  ]);
9527
9527
  function formatPlayLogLine(rawLine, state) {
9528
- const classified = _chunkVYSQ76RPjs.classifyLogLine.call(void 0, rawLine);
9528
+ const classified = _chunkVHHD5D44js.classifyLogLine.call(void 0, rawLine);
9529
9529
  const line = classified.line;
9530
9530
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9531
9531
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _337 => _337[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9540,14 +9540,14 @@ function formatPlayLogLine(rawLine, state) {
9540
9540
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9541
9541
  const providerWait = formatProviderCapacityWaitLogLine(line);
9542
9542
  if (providerWait && !state.verbose) {
9543
- return _chunkVYSQ76RPjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9543
+ return _chunkVHHD5D44js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9544
9544
  }
9545
9545
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9546
9546
  if (mapProgress && !state.verbose) {
9547
- return _chunkVYSQ76RPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9547
+ return _chunkVHHD5D44js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9548
9548
  }
9549
9549
  if (/\[worker\] picked up run\b/.test(message)) {
9550
- if (!_chunkVYSQ76RPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9550
+ if (!_chunkVHHD5D44js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9551
9551
  return null;
9552
9552
  }
9553
9553
  if (state.emittedRunnerStarted) {
@@ -9560,7 +9560,7 @@ function formatPlayLogLine(rawLine, state) {
9560
9560
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9561
9561
  );
9562
9562
  if (mapStart) {
9563
- if (!_chunkVYSQ76RPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9563
+ if (!_chunkVHHD5D44js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9564
9564
  return null;
9565
9565
  }
9566
9566
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9570,7 +9570,7 @@ function formatPlayLogLine(rawLine, state) {
9570
9570
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9571
9571
  );
9572
9572
  if (mapDone) {
9573
- if (!_chunkVYSQ76RPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9573
+ if (!_chunkVHHD5D44js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9574
9574
  return null;
9575
9575
  }
9576
9576
  const [, results, executed, cached] = mapDone;
@@ -10870,7 +10870,7 @@ function formatRecentRunLogLines(value) {
10870
10870
  (line) => typeof line === "string"
10871
10871
  );
10872
10872
  if (tail.length === 0) return [];
10873
- const shown = tail.map((line) => _chunkVYSQ76RPjs.classifyLogLine.call(void 0, line)).filter(
10873
+ const shown = tail.map((line) => _chunkVHHD5D44js.classifyLogLine.call(void 0, line)).filter(
10874
10874
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
10875
10875
  ).slice(-8);
10876
10876
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11168,11 +11168,11 @@ function buildPlayCompletionTextLines(status) {
11168
11168
  }
11169
11169
  function writePlayResult(status, jsonOutput, options) {
11170
11170
  const packaged = getPlayRunPackage(status);
11171
- if (status.package) _chunkWYI3VMTOjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11171
+ if (status.package) _chunkH6OYTU2Yjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11172
11172
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _425 => _425.hits]), () => ( null));
11173
11173
  if (jsonOutput) {
11174
11174
  const payload2 = _optionalChain([options, 'optionalAccess', _426 => _426.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11175
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
11175
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
11176
11176
  hits ? { ...payload2, hits } : payload2,
11177
11177
  { json: true, fields: _optionalChain([options, 'optionalAccess', _427 => _427.jsonFields]) }
11178
11178
  );
@@ -11188,7 +11188,7 @@ function writePlayResult(status, jsonOutput, options) {
11188
11188
  ...buildPlayCompletionTextLines(status),
11189
11189
  ...formatRunHitsLines(hits)
11190
11190
  ];
11191
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, displayPackage, {
11191
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, displayPackage, {
11192
11192
  json: false,
11193
11193
  text: `${lines2.join("\n")}
11194
11194
  `
@@ -11239,7 +11239,7 @@ function writePlayResult(status, jsonOutput, options) {
11239
11239
  lines.push(...buildBillingRollupTextLines(status));
11240
11240
  const compact = compactPlayStatus(status);
11241
11241
  const payload = _optionalChain([options, 'optionalAccess', _429 => _429.fullJson]) ? status : compact;
11242
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
11242
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
11243
11243
  {
11244
11244
  ...payload,
11245
11245
  render: {
@@ -11463,7 +11463,7 @@ async function fetchBackingDatasetRows(input) {
11463
11463
  }
11464
11464
  offset += page.rows.length;
11465
11465
  }
11466
- const withError = _chunkWYI3VMTOjs.tableExportHasFailedRows.call(void 0,
11466
+ const withError = _chunkH6OYTU2Yjs.tableExportHasFailedRows.call(void 0,
11467
11467
  sheetRows.filter(
11468
11468
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11469
11469
  )
@@ -11479,7 +11479,7 @@ async function fetchBackingDatasetRows(input) {
11479
11479
  return [
11480
11480
  withError ? {
11481
11481
  ...exported,
11482
- [_chunkWYI3VMTOjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkWYI3VMTOjs.tableExportErrorCell.call(void 0,
11482
+ [_chunkH6OYTU2Yjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkH6OYTU2Yjs.tableExportErrorCell.call(void 0,
11483
11483
  row
11484
11484
  )
11485
11485
  } : exported
@@ -12014,7 +12014,7 @@ function renderServerResultView(value) {
12014
12014
  function writeStartedPlayRun(input) {
12015
12015
  if (input.package && isPlayRunPackageValue(input.package)) {
12016
12016
  const run = input.package.run;
12017
- _chunkWYI3VMTOjs.recordPlayTermination.call(void 0, {
12017
+ _chunkH6OYTU2Yjs.recordPlayTermination.call(void 0, {
12018
12018
  id: run.id,
12019
12019
  status: run.status,
12020
12020
  finishedAt: run.finishedAt
@@ -12027,7 +12027,7 @@ function writeStartedPlayRun(input) {
12027
12027
  dashboardUrl: input.dashboardUrl,
12028
12028
  package: input.package
12029
12029
  };
12030
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12030
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12031
12031
  json: true,
12032
12032
  fields: input.jsonFields
12033
12033
  });
@@ -12049,7 +12049,7 @@ function writeStartedPlayRun(input) {
12049
12049
  input.progress.writeLine(output2, process.stdout);
12050
12050
  return;
12051
12051
  }
12052
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, input.package, {
12052
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, input.package, {
12053
12053
  json: false,
12054
12054
  text: `${output2}
12055
12055
  `
@@ -12084,7 +12084,7 @@ function writeStartedPlayRun(input) {
12084
12084
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12085
12085
  ];
12086
12086
  if (input.jsonOutput) {
12087
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12087
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12088
12088
  return;
12089
12089
  }
12090
12090
  const output = lines.join("\n");
@@ -12092,7 +12092,7 @@ function writeStartedPlayRun(input) {
12092
12092
  input.progress.writeLine(output, process.stdout);
12093
12093
  return;
12094
12094
  }
12095
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
12095
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
12096
12096
  {
12097
12097
  ...payload,
12098
12098
  render: { sections: [{ title: "play run", lines }] }
@@ -12102,7 +12102,7 @@ function writeStartedPlayRun(input) {
12102
12102
  );
12103
12103
  }
12104
12104
  function parsePlayCheckOptions(args) {
12105
- const selection = _chunk32NTC5UDjs.parseJsonFields.call(void 0, args, "check");
12105
+ const selection = _chunkKEE57BF2js.parseJsonFields.call(void 0, args, "check");
12106
12106
  args = selection.args;
12107
12107
  const target = args[0];
12108
12108
  if (!target || target.startsWith("-")) {
@@ -12114,7 +12114,7 @@ function parsePlayCheckOptions(args) {
12114
12114
  if (arg !== "--json" && arg !== "--full")
12115
12115
  throw new Error(`Unknown plays check option: ${arg}`);
12116
12116
  }
12117
- const jsonOutput = _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
12117
+ const jsonOutput = _chunkKEE57BF2js.argsWantJson.call(void 0, args);
12118
12118
  return {
12119
12119
  target,
12120
12120
  jsonOutput,
@@ -12190,7 +12190,7 @@ ${PLAY_PUBLISH_USAGE}`
12190
12190
  useLatest,
12191
12191
  expectedArtifactHash,
12192
12192
  dryRun,
12193
- jsonOutput: _chunk32NTC5UDjs.argsWantJson.call(void 0, args)
12193
+ jsonOutput: _chunkKEE57BF2js.argsWantJson.call(void 0, args)
12194
12194
  };
12195
12195
  }
12196
12196
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12231,7 +12231,7 @@ ${PLAY_SAVE_USAGE}`);
12231
12231
  target,
12232
12232
  expectedArtifactHash,
12233
12233
  dryRun,
12234
- jsonOutput: _chunk32NTC5UDjs.argsWantJson.call(void 0, args)
12234
+ jsonOutput: _chunkKEE57BF2js.argsWantJson.call(void 0, args)
12235
12235
  };
12236
12236
  }
12237
12237
  function printScheduledPlayCapacity(capacity) {
@@ -12442,7 +12442,7 @@ function printBundledRuntimeWarning(bundle) {
12442
12442
  async function handlePlayCheck(args) {
12443
12443
  const options = parsePlayCheckOptions(args);
12444
12444
  if (!isFileTarget(options.target)) {
12445
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
12445
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
12446
12446
  try {
12447
12447
  await assertCanonicalNamedPlayReference(client, options.target, {
12448
12448
  command: "check"
@@ -12471,7 +12471,7 @@ async function handlePlayCheck(args) {
12471
12471
  },
12472
12472
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12473
12473
  };
12474
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, result, {
12474
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, result, {
12475
12475
  json: options.jsonOutput,
12476
12476
  fields: options.jsonFields,
12477
12477
  text: renderPlayCheckOutput(result) + "\n"
@@ -12481,7 +12481,7 @@ async function handlePlayCheck(args) {
12481
12481
  const resolved = _path.resolve.call(void 0, options.target);
12482
12482
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12483
12483
  if (options.jsonOutput) {
12484
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
12484
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
12485
12485
  {
12486
12486
  kind: "play_check",
12487
12487
  checked: "named_contract",
@@ -12512,7 +12512,7 @@ async function handlePlayCheck(args) {
12512
12512
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12513
12513
  publishCommand: _optionalChain([primary, 'optionalAccess', _479 => _479.result, 'access', _480 => _480.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12514
12514
  });
12515
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, output, {
12515
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, output, {
12516
12516
  json: options.jsonOutput,
12517
12517
  fields: options.jsonFields,
12518
12518
  text: renderPlayCheckOutput(output) + "\n"
@@ -12580,7 +12580,7 @@ async function checkOneExportedPlay(input) {
12580
12580
  }
12581
12581
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12582
12582
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12583
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkKEXGBXUGjs.DeeplineClient)()));
12583
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkO7JU5GURjs.DeeplineClient)()));
12584
12584
  const integrationMode = resolveEvalIntegrationMode();
12585
12585
  const checked = await checkLocalPlayGraph({
12586
12586
  client,
@@ -12636,8 +12636,8 @@ async function handleFileBackedRun(options, hooks) {
12636
12636
  let prefetchClient;
12637
12637
  let admissionCapability;
12638
12638
  let cancelAdmissionCapability;
12639
- let cliAdmission = _chunkEADHDZW2js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12640
- const progress = _nullishCoalesce(_chunkMVFKZQ7Ejs.getActiveCliProgress.call(void 0, ), () => ( _chunkMVFKZQ7Ejs.createCliProgress.call(void 0, !options.jsonOutput)));
12639
+ let cliAdmission = _chunkNBIDYAN6js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12640
+ const progress = _nullishCoalesce(_chunkQZINISXPjs.getActiveCliProgress.call(void 0, ), () => ( _chunkQZINISXPjs.createCliProgress.call(void 0, !options.jsonOutput)));
12641
12641
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _489 => _489.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
12642
12642
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12643
12643
  progress.phase("compiling play");
@@ -12654,11 +12654,11 @@ async function handleFileBackedRun(options, hooks) {
12654
12654
  return 1;
12655
12655
  }
12656
12656
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12657
- const clientForPrefetch = new (0, _chunkKEXGBXUGjs.DeeplineClient)(playRunClientOptions(options));
12657
+ const clientForPrefetch = new (0, _chunkO7JU5GURjs.DeeplineClient)(playRunClientOptions(options));
12658
12658
  prefetchClient = clientForPrefetch;
12659
12659
  const capabilityController = new AbortController();
12660
12660
  cancelAdmissionCapability = () => capabilityController.abort();
12661
- admissionCapability = _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12661
+ admissionCapability = _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12662
12662
  "cli.play_admission_capability_prefetch",
12663
12663
  { targetKind: "file" },
12664
12664
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -12669,7 +12669,7 @@ async function handleFileBackedRun(options, hooks) {
12669
12669
  }
12670
12670
  let graph;
12671
12671
  try {
12672
- graph = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12672
+ graph = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12673
12673
  "cli.play_file_bundle_graph",
12674
12674
  { targetKind: "file" },
12675
12675
  () => collectBundledPlayGraph(
@@ -12682,7 +12682,7 @@ async function handleFileBackedRun(options, hooks) {
12682
12682
  assertPlayGraphAuthoring(graph);
12683
12683
  if (options.dryRun) {
12684
12684
  progress.complete();
12685
- const plan = _chunkMHR3XVJDjs.planLocalPlayExecution.call(void 0, graph, {
12685
+ const plan = _chunkTS6XF2QPjs.planLocalPlayExecution.call(void 0, graph, {
12686
12686
  runIdFile: options.runIdFile
12687
12687
  });
12688
12688
  if (_optionalChain([hooks, 'optionalAccess', _490 => _490.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -12693,9 +12693,9 @@ async function handleFileBackedRun(options, hooks) {
12693
12693
  });
12694
12694
  return 0;
12695
12695
  }
12696
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkKEXGBXUGjs.DeeplineClient)(playRunClientOptions(options))));
12696
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkO7JU5GURjs.DeeplineClient)(playRunClientOptions(options))));
12697
12697
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12698
- await _chunkEADHDZW2js.checkPlayRunCompatibility.call(void 0,
12698
+ await _chunkNBIDYAN6js.checkPlayRunCompatibility.call(void 0,
12699
12699
  client.baseUrl,
12700
12700
  options.maintenancePolicy
12701
12701
  );
@@ -12708,7 +12708,7 @@ async function handleFileBackedRun(options, hooks) {
12708
12708
  });
12709
12709
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12710
12710
  if (canDeferCompilerManifest) {
12711
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
12711
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
12712
12712
  phase: "cli.play_file_compile_manifests",
12713
12713
  ms: 0,
12714
12714
  ok: true,
@@ -12717,7 +12717,7 @@ async function handleFileBackedRun(options, hooks) {
12717
12717
  reason: "validated_by_run_route"
12718
12718
  });
12719
12719
  } else {
12720
- await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12720
+ await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12721
12721
  "cli.play_file_compile_manifests",
12722
12722
  { targetKind: "file", skipped: false },
12723
12723
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12725,7 +12725,7 @@ async function handleFileBackedRun(options, hooks) {
12725
12725
  }
12726
12726
  progress.phase("compiled play");
12727
12727
  } catch (error) {
12728
- if (error instanceof _chunkWYI3VMTOjs.ExecutionOutputError) throw error;
12728
+ if (error instanceof _chunkH6OYTU2Yjs.ExecutionOutputError) throw error;
12729
12729
  progress.fail();
12730
12730
  reportError(normalizePlayValidationError(error));
12731
12731
  return 1;
@@ -12736,13 +12736,13 @@ async function handleFileBackedRun(options, hooks) {
12736
12736
  if (bundleResult.importedPlayDependencies.length > 0) {
12737
12737
  try {
12738
12738
  renderLocalPlayExecutionPlan(
12739
- _chunkMHR3XVJDjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12739
+ _chunkTS6XF2QPjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12740
12740
  );
12741
12741
  progress.phase("pinning imported plays");
12742
- graph = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12742
+ graph = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12743
12743
  "cli.play_file_pin_imports",
12744
12744
  { targetKind: "file" },
12745
- () => _chunkMHR3XVJDjs.pinLocalPlayImports.call(void 0, client, graph)
12745
+ () => _chunkTS6XF2QPjs.pinLocalPlayImports.call(void 0, client, graph)
12746
12746
  );
12747
12747
  bundleResult = graph.root;
12748
12748
  } catch (error) {
@@ -12759,7 +12759,7 @@ async function handleFileBackedRun(options, hooks) {
12759
12759
  inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _491 => _491.authoringContract, 'optionalAccess', _492 => _492.inputSchema]),
12760
12760
  staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _493 => _493.staticPipeline])
12761
12761
  });
12762
- const stagedFileInputs = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12762
+ const stagedFileInputs = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12763
12763
  "cli.play_stage_inputs",
12764
12764
  {
12765
12765
  targetKind: "file",
@@ -12806,7 +12806,7 @@ async function handleFileBackedRun(options, hooks) {
12806
12806
  };
12807
12807
  if (options.watch) {
12808
12808
  progress.phase("starting run");
12809
- const finalStatus = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12809
+ const finalStatus = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12810
12810
  "cli.play_start_watch",
12811
12811
  { targetKind: "file", playName },
12812
12812
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12868,7 +12868,7 @@ async function handleFileBackedRun(options, hooks) {
12868
12868
  return outputStatus.status === "completed" ? 0 : 1;
12869
12869
  }
12870
12870
  progress.phase("starting run");
12871
- const started = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12871
+ const started = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12872
12872
  "cli.play_start_unwatched",
12873
12873
  { targetKind: "file", playName },
12874
12874
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _500 => _500.onSubmission]) }).catch(async (error) => {
@@ -12934,9 +12934,9 @@ async function handleNamedRun(options, hooks) {
12934
12934
  if (options.target.kind !== "name") {
12935
12935
  throw new Error("Expected a named play run target.");
12936
12936
  }
12937
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)(playRunClientOptions(options));
12938
- let cliAdmission = _chunkEADHDZW2js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12939
- const progress = _nullishCoalesce(_chunkMVFKZQ7Ejs.getActiveCliProgress.call(void 0, ), () => ( _chunkMVFKZQ7Ejs.createCliProgress.call(void 0, !options.jsonOutput)));
12937
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)(playRunClientOptions(options));
12938
+ let cliAdmission = _chunkNBIDYAN6js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12939
+ const progress = _nullishCoalesce(_chunkQZINISXPjs.getActiveCliProgress.call(void 0, ), () => ( _chunkQZINISXPjs.createCliProgress.call(void 0, !options.jsonOutput)));
12940
12940
  const playName = options.target.name;
12941
12941
  const runtimeInput = options.input ? { ...options.input } : {};
12942
12942
  try {
@@ -12954,7 +12954,7 @@ async function handleNamedRun(options, hooks) {
12954
12954
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
12955
12955
  const capabilityController = new AbortController();
12956
12956
  cancelAdmissionCapability = () => capabilityController.abort();
12957
- admissionCapability = _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12957
+ admissionCapability = _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12958
12958
  "cli.play_admission_capability_prefetch",
12959
12959
  { targetKind: "name", playName },
12960
12960
  () => client.prefetchPlayRunAdmissionCapability({
@@ -12965,14 +12965,14 @@ async function handleNamedRun(options, hooks) {
12965
12965
  }
12966
12966
  const playDetail = needsPlayDefinition ? await (async () => {
12967
12967
  progress.phase("loading play definition");
12968
- return _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12968
+ return _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12969
12969
  "cli.play_load_definition",
12970
12970
  { targetKind: "name", playName, skipped: false },
12971
12971
  () => assertCanonicalNamedPlayReference(client, playName, {
12972
12972
  command: "run"
12973
12973
  })
12974
12974
  );
12975
- })() : (_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
12975
+ })() : (_chunkSMDX4BM5js.recordCliTrace.call(void 0, {
12976
12976
  phase: "cli.play_load_definition",
12977
12977
  ms: 0,
12978
12978
  ok: true,
@@ -12981,7 +12981,7 @@ async function handleNamedRun(options, hooks) {
12981
12981
  skipped: true
12982
12982
  }), null);
12983
12983
  progress.phase("selecting revision");
12984
- const selectedRevisionId = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
12984
+ const selectedRevisionId = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
12985
12985
  "cli.play_select_revision",
12986
12986
  {
12987
12987
  targetKind: "name",
@@ -13006,10 +13006,10 @@ async function handleNamedRun(options, hooks) {
13006
13006
  ..._chunk2KHUFWTKjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13007
13007
  ] : [];
13008
13008
  if (cliAdmission && fileInputBindings.length > 0) {
13009
- await _chunkEADHDZW2js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13009
+ await _chunkNBIDYAN6js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13010
13010
  cliAdmission = false;
13011
13011
  }
13012
- const stagedFileInputs = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
13012
+ const stagedFileInputs = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
13013
13013
  "cli.play_stage_inputs",
13014
13014
  {
13015
13015
  targetKind: "name",
@@ -13053,7 +13053,7 @@ async function handleNamedRun(options, hooks) {
13053
13053
  });
13054
13054
  if (options.watch) {
13055
13055
  progress.phase("starting run");
13056
- const finalStatus = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
13056
+ const finalStatus = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
13057
13057
  "cli.play_start_watch",
13058
13058
  { targetKind: "name", playName },
13059
13059
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13118,7 +13118,7 @@ async function handleNamedRun(options, hooks) {
13118
13118
  return outputStatus.status === "completed" ? 0 : 1;
13119
13119
  }
13120
13120
  progress.phase("starting run");
13121
- const started = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
13121
+ const started = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
13122
13122
  "cli.play_start_unwatched",
13123
13123
  { targetKind: "name", playName },
13124
13124
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _513 => _513.onSubmission]) }).catch(async (error) => {
@@ -13178,7 +13178,7 @@ async function writePlayRunReceipt(client, status, output) {
13178
13178
  const next = { status: `deepline runs get ${status.runId}` };
13179
13179
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _521 => _521.exec, 'call', _522 => _522(status.runId), 'optionalAccess', _523 => _523[1]]), () => ( extractRunPlayName(status))), () => ( null));
13180
13180
  if (!terminal) {
13181
- _chunkWYI3VMTOjs.writeExecutionOutput.call(void 0,
13181
+ _chunkH6OYTU2Yjs.writeExecutionOutput.call(void 0,
13182
13182
  {
13183
13183
  id: status.runId,
13184
13184
  status: status.status,
@@ -13258,10 +13258,10 @@ async function writePlayRunReceipt(client, status, output) {
13258
13258
  };
13259
13259
  }
13260
13260
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13261
- const allCollections = _chunkWYI3VMTOjs.outputCollections.call(void 0, data).map(
13261
+ const allCollections = _chunkH6OYTU2Yjs.outputCollections.call(void 0, data).map(
13262
13262
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13263
13263
  );
13264
- _chunkWYI3VMTOjs.writeExecutionOutput.call(void 0,
13264
+ _chunkH6OYTU2Yjs.writeExecutionOutput.call(void 0,
13265
13265
  {
13266
13266
  id: status.runId,
13267
13267
  status: status.status,
@@ -13282,7 +13282,7 @@ async function writePlayRunReceipt(client, status, output) {
13282
13282
  }
13283
13283
  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;
13284
13284
  async function handlePlayRun(args, hooks) {
13285
- const parsedOptions = Array.isArray(args) ? _chunkVKVLJTW5js.parsePlayRunOptions.call(void 0, args) : args;
13285
+ const parsedOptions = Array.isArray(args) ? _chunkMHTKWZM3js.parsePlayRunOptions.call(void 0, args) : args;
13286
13286
  const options = parsedOptions.runIdFile ? {
13287
13287
  ...parsedOptions,
13288
13288
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13299,7 +13299,7 @@ async function handlePlayRun(args, hooks) {
13299
13299
  JSON.stringify({
13300
13300
  version: 1,
13301
13301
  admissionState: "submitted_unknown",
13302
- baseUrl: new (0, _chunkKEXGBXUGjs.DeeplineClient)().baseUrl,
13302
+ baseUrl: new (0, _chunkO7JU5GURjs.DeeplineClient)().baseUrl,
13303
13303
  ...intent
13304
13304
  })
13305
13305
  );
@@ -13537,7 +13537,7 @@ function renderRunOverviewText(overview, extras = {}) {
13537
13537
  );
13538
13538
  return `${lines.join("\n")}
13539
13539
 
13540
- ${_chunk32NTC5UDjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13540
+ ${_chunkKEE57BF2js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13541
13541
  }
13542
13542
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13543
13543
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13561,7 +13561,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13561
13561
  }
13562
13562
  }
13563
13563
  async function handleRunGet(args) {
13564
- const selection = _chunk32NTC5UDjs.parseJsonFields.call(void 0,
13564
+ const selection = _chunkKEE57BF2js.parseJsonFields.call(void 0,
13565
13565
  args,
13566
13566
  args.includes("--config") ? "config" : "get"
13567
13567
  );
@@ -13574,7 +13574,7 @@ async function handleRunGet(args) {
13574
13574
  console.error(error instanceof Error ? error.message : usage2);
13575
13575
  return 1;
13576
13576
  }
13577
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
13577
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
13578
13578
  const timing = args.includes("--timing");
13579
13579
  const web = args.includes("--web");
13580
13580
  if (web || args.includes("--web-url")) {
@@ -13592,8 +13592,8 @@ async function handleRunGet(args) {
13592
13592
  const dashboardUrl2 = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13593
13593
  const runUrl2 = _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
13594
13594
  if (web) {
13595
- const opened = _chunk32NTC5UDjs.openInBrowser.call(void 0, runUrl2);
13596
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13595
+ const opened = _chunkKEE57BF2js.openInBrowser.call(void 0, runUrl2);
13596
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13597
13597
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
13598
13598
  {
13599
13599
  json: args.includes("--json"),
@@ -13604,7 +13604,7 @@ async function handleRunGet(args) {
13604
13604
  );
13605
13605
  return 0;
13606
13606
  }
13607
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13607
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13608
13608
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
13609
13609
  { json: args.includes("--json"), text: `${runUrl2}
13610
13610
  ` }
@@ -13629,7 +13629,7 @@ async function handleRunGet(args) {
13629
13629
  "This server does not support recorded configuration reads."
13630
13630
  );
13631
13631
  }
13632
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13632
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13633
13633
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13634
13634
  { json: true, fields: selection.fields }
13635
13635
  );
@@ -13642,7 +13642,7 @@ async function handleRunGet(args) {
13642
13642
  timing,
13643
13643
  () => client.getRunInput(runId)
13644
13644
  );
13645
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, input, { json: true });
13645
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, input, { json: true });
13646
13646
  return 0;
13647
13647
  }
13648
13648
  const full = args.includes("--full");
@@ -13657,7 +13657,7 @@ async function handleRunGet(args) {
13657
13657
  failedLogs: args.includes("--log-failed")
13658
13658
  })
13659
13659
  );
13660
- if (status.package) _chunkWYI3VMTOjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13660
+ if (status.package) _chunkH6OYTU2Yjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13661
13661
  if (!status.package) {
13662
13662
  const legacyStatus = full ? await withRunReadTiming(
13663
13663
  "runs get",
@@ -13671,8 +13671,8 @@ async function handleRunGet(args) {
13671
13671
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13672
13672
  const legacyDashboardUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13673
13673
  const legacyRunUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
13674
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
13675
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13674
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
13675
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13676
13676
  {
13677
13677
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13678
13678
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -13683,7 +13683,7 @@ async function handleRunGet(args) {
13683
13683
  } else {
13684
13684
  writePlayResult(legacyStatus, false, { fullJson: full });
13685
13685
  if (legacyRunUrl)
13686
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13686
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13687
13687
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
13688
13688
  { json: false, text: `run page: ${legacyRunUrl}
13689
13689
  ` }
@@ -13713,11 +13713,11 @@ async function handleRunGet(args) {
13713
13713
  )
13714
13714
  ]);
13715
13715
  const hitLines = formatRunHitsLines(hits);
13716
- const json = _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
13716
+ const json = _chunkKEE57BF2js.argsWantJson.call(void 0, args);
13717
13717
  const playName = resolveRunPlayName(status, runId);
13718
13718
  const dashboardUrl = playName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13719
13719
  const runUrl = playName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
13720
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13720
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13721
13721
  {
13722
13722
  ...overview,
13723
13723
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13822,9 +13822,9 @@ async function handleRunLifecycleStatus(args) {
13822
13822
  console.error(error instanceof Error ? error.message : usage2);
13823
13823
  return 1;
13824
13824
  }
13825
- const status = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.status(runId);
13826
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
13827
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, status, { json: true });
13825
+ const status = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.status(runId);
13826
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
13827
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, status, { json: true });
13828
13828
  return 0;
13829
13829
  }
13830
13830
  if (!status.available) {
@@ -13890,7 +13890,7 @@ async function handleRunsRerun(args) {
13890
13890
  console.error(error instanceof Error ? error.message : usage2);
13891
13891
  return 1;
13892
13892
  }
13893
- const options = { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) };
13893
+ const options = { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) };
13894
13894
  for (let index = 0; index < args.length; index += 1) {
13895
13895
  if (args[index] === "--idempotency-key") {
13896
13896
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -13956,8 +13956,8 @@ ${usage2}
13956
13956
  Discover Plays: ${next.discover}
13957
13957
  Active runs: ${next.running}`
13958
13958
  );
13959
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
13960
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
13959
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
13960
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
13961
13961
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
13962
13962
  { json: true }
13963
13963
  );
@@ -13972,7 +13972,7 @@ Active runs: ${next.running}`
13972
13972
  console.error("--offset requires --play.");
13973
13973
  return 1;
13974
13974
  }
13975
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
13975
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
13976
13976
  const page = await withRunReadTiming(
13977
13977
  "runs list",
13978
13978
  "run inventory",
@@ -14039,14 +14039,14 @@ Active runs: ${next.running}`
14039
14039
  return lines2.join("\n");
14040
14040
  });
14041
14041
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
14042
- const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunk32NTC5UDjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14042
+ const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkKEE57BF2js.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14043
14043
  if (page.hasMore) {
14044
14044
  lines.push("List truncated \u2014 more runs match this filter.");
14045
14045
  lines.push(
14046
14046
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14047
14047
  );
14048
14048
  }
14049
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14049
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14050
14050
  {
14051
14051
  runs,
14052
14052
  count: runs.length,
@@ -14060,7 +14060,7 @@ Active runs: ${next.running}`
14060
14060
  },
14061
14061
  render: { sections: [{ title: "runs", lines }] }
14062
14062
  },
14063
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14063
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14064
14064
  );
14065
14065
  return 0;
14066
14066
  }
@@ -14090,7 +14090,7 @@ async function handleRunTail(args) {
14090
14090
  console.error("--log-level requires one of: debug, info, warn, error.");
14091
14091
  return 1;
14092
14092
  }
14093
- const parsed = _chunkVYSQ76RPjs.parseLogLevel.call(void 0, value);
14093
+ const parsed = _chunkVHHD5D44js.parseLogLevel.call(void 0, value);
14094
14094
  if (!parsed) {
14095
14095
  console.error(
14096
14096
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14128,9 +14128,9 @@ async function handleRunTail(args) {
14128
14128
  );
14129
14129
  return 1;
14130
14130
  }
14131
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14131
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14132
14132
  const jsonLines = args.includes("--jsonl");
14133
- const jsonOutput = !jsonLines && _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
14133
+ const jsonOutput = !jsonLines && _chunkKEE57BF2js.argsWantJson.call(void 0, args);
14134
14134
  const compact = args.includes("--compact");
14135
14135
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14136
14136
  const compactState = {
@@ -14211,7 +14211,7 @@ async function handleRunLogs(args) {
14211
14211
  ]);
14212
14212
  const cursorIndex = args.indexOf("--cursor");
14213
14213
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14214
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkVYSQ76RPjs.isRunLogsCursor.call(void 0, cursorValue));
14214
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkVHHD5D44js.isRunLogsCursor.call(void 0, cursorValue));
14215
14215
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14216
14216
  return handleRunEventSearch(args);
14217
14217
  }
@@ -14245,7 +14245,7 @@ async function handleRunLogs(args) {
14245
14245
  console.error("--log-level requires one of: debug, info, warn, error.");
14246
14246
  return 1;
14247
14247
  }
14248
- const parsed = _chunkVYSQ76RPjs.parseLogLevel.call(void 0, value);
14248
+ const parsed = _chunkVHHD5D44js.parseLogLevel.call(void 0, value);
14249
14249
  if (!parsed) {
14250
14250
  console.error(
14251
14251
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14292,12 +14292,12 @@ async function handleRunLogs(args) {
14292
14292
  );
14293
14293
  return 1;
14294
14294
  }
14295
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14295
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14296
14296
  if (outPath) {
14297
14297
  const result2 = await client.runs.logs(runId, { all: true });
14298
- const logs = result2.entries.filter((line) => _chunkVYSQ76RPjs.logLevelReaches.call(void 0, _chunkVYSQ76RPjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkVYSQ76RPjs.classifyLogLine.call(void 0, line).line);
14298
+ const logs = result2.entries.filter((line) => _chunkVHHD5D44js.logLevelReaches.call(void 0, _chunkVHHD5D44js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkVHHD5D44js.classifyLogLine.call(void 0, line).line);
14299
14299
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14300
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14300
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14301
14301
  {
14302
14302
  runId: result2.runId,
14303
14303
  log_path: outPath,
@@ -14320,7 +14320,7 @@ async function handleRunLogs(args) {
14320
14320
  ]
14321
14321
  }
14322
14322
  },
14323
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14323
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14324
14324
  );
14325
14325
  return 0;
14326
14326
  }
@@ -14351,7 +14351,7 @@ async function handleRunLogs(args) {
14351
14351
  }
14352
14352
  };
14353
14353
  const text = buildRunLogsText(filteredResult);
14354
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14354
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14355
14355
  {
14356
14356
  runId: result.runId,
14357
14357
  totalCount: result.totalCount,
@@ -14375,7 +14375,7 @@ async function handleRunLogs(args) {
14375
14375
  render: { sections: [{ title: "run logs", lines: entries }] }
14376
14376
  },
14377
14377
  {
14378
- json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args),
14378
+ json: _chunkKEE57BF2js.argsWantJson.call(void 0, args),
14379
14379
  text
14380
14380
  }
14381
14381
  );
@@ -14399,7 +14399,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14399
14399
  );
14400
14400
  }
14401
14401
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14402
- (entry) => _chunkVYSQ76RPjs.logLevelReaches.call(void 0, _chunkVYSQ76RPjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14402
+ (entry) => _chunkVHHD5D44js.logLevelReaches.call(void 0, _chunkVHHD5D44js.classifyLogLine.call(void 0, entry.line).level, logLevel)
14403
14403
  );
14404
14404
  const selected = matching.slice(-limit);
14405
14405
  const olderMatchesExist = matching.length > selected.length;
@@ -14409,7 +14409,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14409
14409
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _556 => _556.at, 'call', _557 => _557(-1), 'optionalAccess', _558 => _558.seq]), () => ( null)),
14410
14410
  truncated: result.truncated || olderMatchesExist,
14411
14411
  hasMore: olderMatchesExist,
14412
- nextCursor: olderMatchesExist ? _chunkVYSQ76RPjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14412
+ nextCursor: olderMatchesExist ? _chunkVHHD5D44js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14413
14413
  };
14414
14414
  }
14415
14415
  async function handleRunEventSearch(args) {
@@ -14476,7 +14476,7 @@ ${usage2}`);
14476
14476
  namespace,
14477
14477
  ...backend ? { backend } : {}
14478
14478
  } : void 0;
14479
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14479
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14480
14480
  const result = await client.runs.searchEvents({
14481
14481
  ...runId ? { runId } : {},
14482
14482
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14548,7 +14548,7 @@ ${renderedDetails}` : ""}`;
14548
14548
  "--limit",
14549
14549
  String(limit)
14550
14550
  ].join(" ") : null;
14551
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14551
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14552
14552
  {
14553
14553
  events,
14554
14554
  nextCursor: result.nextCursor,
@@ -14559,14 +14559,14 @@ ${renderedDetails}` : ""}`;
14559
14559
  render: { sections: [{ title: "runtime events", lines }] }
14560
14560
  },
14561
14561
  {
14562
- json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args),
14562
+ json: _chunkKEE57BF2js.argsWantJson.call(void 0, args),
14563
14563
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14564
14564
  }
14565
14565
  );
14566
14566
  return 0;
14567
14567
  }
14568
14568
  function buildRunLogsText(result) {
14569
- const lines = result.entries.map((line) => _chunkVYSQ76RPjs.classifyLogLine.call(void 0, line).line);
14569
+ const lines = result.entries.map((line) => _chunkVHHD5D44js.classifyLogLine.call(void 0, line).line);
14570
14570
  if (result.warning) {
14571
14571
  if (lines.length > 0) lines.push("");
14572
14572
  lines.push(`warning: ${result.warning}`);
@@ -14600,7 +14600,7 @@ async function handleRunStop(args) {
14600
14600
  reason = args[++index];
14601
14601
  }
14602
14602
  }
14603
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14603
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14604
14604
  const result = await client.runs.stop(runId, { reason });
14605
14605
  const state = resolveRunStopState(result);
14606
14606
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14615,7 +14615,7 @@ async function handleRunStop(args) {
14615
14615
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14616
14616
  `inspect: deepline runs get ${runId} --full`
14617
14617
  ];
14618
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14618
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14619
14619
  {
14620
14620
  ...cancelling,
14621
14621
  state,
@@ -14630,7 +14630,7 @@ async function handleRunStop(args) {
14630
14630
  ]
14631
14631
  }
14632
14632
  },
14633
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14633
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14634
14634
  );
14635
14635
  return 0;
14636
14636
  }
@@ -14647,7 +14647,7 @@ async function handleRunStop(args) {
14647
14647
  ];
14648
14648
  process.stderr.write(`${lines2.join("\n")}
14649
14649
  `);
14650
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14650
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14651
14651
  {
14652
14652
  ...result,
14653
14653
  render: {
@@ -14662,7 +14662,7 @@ async function handleRunStop(args) {
14662
14662
  ]
14663
14663
  }
14664
14664
  },
14665
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14665
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14666
14666
  );
14667
14667
  return 1;
14668
14668
  }
@@ -14673,12 +14673,12 @@ async function handleRunStop(args) {
14673
14673
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14674
14674
  ] : []
14675
14675
  ];
14676
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14676
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14677
14677
  {
14678
14678
  ...result,
14679
14679
  render: { sections: [{ title: "run stop", lines }] }
14680
14680
  },
14681
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14681
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14682
14682
  );
14683
14683
  return 0;
14684
14684
  }
@@ -14728,18 +14728,18 @@ async function handleRunStopAll(args) {
14728
14728
  reason = args[++index];
14729
14729
  }
14730
14730
  }
14731
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14731
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14732
14732
  if (dryRun) {
14733
14733
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14734
14734
  const lines2 = buildStopAllDryRunTextLines(result2);
14735
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14735
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14736
14736
  {
14737
14737
  ...result2,
14738
14738
  render: {
14739
14739
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14740
14740
  }
14741
14741
  },
14742
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14742
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14743
14743
  ` }
14744
14744
  );
14745
14745
  return 0;
@@ -14752,17 +14752,17 @@ async function handleRunStopAll(args) {
14752
14752
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14753
14753
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14754
14754
  ];
14755
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
14755
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
14756
14756
  {
14757
14757
  ...result,
14758
14758
  render: { sections: [{ title: "workspace stop-all", lines }] }
14759
14759
  },
14760
- { json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args) }
14760
+ { json: _chunkKEE57BF2js.argsWantJson.call(void 0, args) }
14761
14761
  );
14762
14762
  return result.failed > 0 || result.partial ? 1 : 0;
14763
14763
  }
14764
14764
  async function handleRunExport(args) {
14765
- const selection = _chunk32NTC5UDjs.parseJsonFields.call(void 0, args, "export");
14765
+ const selection = _chunkKEE57BF2js.parseJsonFields.call(void 0, args, "export");
14766
14766
  args = selection.args;
14767
14767
  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]";
14768
14768
  let runId;
@@ -14833,17 +14833,17 @@ async function handleRunExport(args) {
14833
14833
  "INVALID_ARGUMENT"
14834
14834
  );
14835
14835
  }
14836
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14836
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14837
14837
  let status = await client.getPlayStatus(runId, { full: true });
14838
14838
  assertRunExportStatusIdentity(status, runId);
14839
14839
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14840
- const progress = _chunkMVFKZQ7Ejs.createCliProgress.call(void 0, !_chunk32NTC5UDjs.argsWantJson.call(void 0, args));
14840
+ const progress = _chunkQZINISXPjs.createCliProgress.call(void 0, !_chunkKEE57BF2js.argsWantJson.call(void 0, args));
14841
14841
  try {
14842
14842
  await waitForPlayCompletionByWatch({
14843
14843
  client,
14844
14844
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14845
14845
  workflowId: runId,
14846
- jsonOutput: _chunk32NTC5UDjs.argsWantJson.call(void 0, args),
14846
+ jsonOutput: _chunkKEE57BF2js.argsWantJson.call(void 0, args),
14847
14847
  emitLogs: false,
14848
14848
  waitTimeoutMs,
14849
14849
  startedAt: Date.now(),
@@ -14911,7 +14911,7 @@ async function handleRunExport(args) {
14911
14911
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _572 => _572.rowsInfo, 'access', _573 => _573.totalRows]), () => ( null)),
14912
14912
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14913
14913
  ...rowFailures ? { rowFailures } : {},
14914
- columns: _chunkWYI3VMTOjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _574 => _574.rowsInfo, 'access', _575 => _575.columns]), () => ( []))),
14914
+ columns: _chunkH6OYTU2Yjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _574 => _574.rowsInfo, 'access', _575 => _575.columns]), () => ( []))),
14915
14915
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14916
14916
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14917
14917
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14945,8 +14945,8 @@ async function handleRunExport(args) {
14945
14945
  "utf-8"
14946
14946
  );
14947
14947
  }
14948
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, payload, {
14949
- json: _chunk32NTC5UDjs.argsWantJson.call(void 0, args),
14948
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, payload, {
14949
+ json: _chunkKEE57BF2js.argsWantJson.call(void 0, args),
14950
14950
  fields: selection.fields,
14951
14951
  text: `${lines.join("\n")}
14952
14952
  `
@@ -14980,10 +14980,10 @@ async function handlePlayGet(args) {
14980
14980
  );
14981
14981
  return 2;
14982
14982
  }
14983
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
14983
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
14984
14984
  const explicitJson = args.includes("--json");
14985
14985
  const sourceOutput = args.includes("--source");
14986
- const jsonOutput = sourceOutput ? explicitJson : _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
14986
+ const jsonOutput = sourceOutput ? explicitJson : _chunkKEE57BF2js.argsWantJson.call(void 0, args);
14987
14987
  const requestedRevisionFlags = [
14988
14988
  args.includes("--working"),
14989
14989
  args.includes("--live"),
@@ -15046,7 +15046,7 @@ async function handlePlayGet(args) {
15046
15046
  }
15047
15047
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15048
15048
  if (jsonOutput) {
15049
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
15049
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
15050
15050
  ...detail,
15051
15051
  ...materializedFile ? {
15052
15052
  message: loadedMessage,
@@ -15138,8 +15138,8 @@ async function handlePlayVersions(args) {
15138
15138
  console.error("Usage: deepline plays versions --name <name> [--json]");
15139
15139
  return 1;
15140
15140
  }
15141
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15142
- const jsonOutput = _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
15141
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15142
+ const jsonOutput = _chunkKEE57BF2js.argsWantJson.call(void 0, args);
15143
15143
  await assertCanonicalNamedPlayReference(client, playName, {
15144
15144
  command: "versions"
15145
15145
  });
@@ -15147,7 +15147,7 @@ async function handlePlayVersions(args) {
15147
15147
  parseReferencedPlayTarget(playName).playName
15148
15148
  );
15149
15149
  if (jsonOutput) {
15150
- _chunk32NTC5UDjs.printCompactJson.call(void 0, { versions });
15150
+ _chunkKEE57BF2js.printCompactJson.call(void 0, { versions });
15151
15151
  return 0;
15152
15152
  }
15153
15153
  if (versions.length === 0) {
@@ -15190,8 +15190,8 @@ async function handlePlayCost(args) {
15190
15190
  console.error("Usage: deepline plays cost <play> [--json]");
15191
15191
  return 2;
15192
15192
  }
15193
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getPlayCostEstimate(name);
15194
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15193
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().getPlayCostEstimate(name);
15194
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15195
15195
  else
15196
15196
  console.log(
15197
15197
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -15199,9 +15199,9 @@ async function handlePlayCost(args) {
15199
15199
  return 0;
15200
15200
  }
15201
15201
  async function handlePlayList(args) {
15202
- const jsonOutput = _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
15202
+ const jsonOutput = _chunkKEE57BF2js.argsWantJson.call(void 0, args);
15203
15203
  const showCost = args.includes("--show-cost");
15204
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15204
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15205
15205
  const categoriesIndex = args.indexOf("--categories");
15206
15206
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _595 => _595[categoriesIndex + 1], 'optionalAccess', _596 => _596.trim, 'call', _597 => _597()]) : void 0;
15207
15207
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15299,7 +15299,7 @@ async function handlePlayList(args) {
15299
15299
  lines.push("List truncated \u2014 more plays are available.");
15300
15300
  lines.push(`Next page: ${nextPage}`);
15301
15301
  }
15302
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
15302
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
15303
15303
  {
15304
15304
  plays,
15305
15305
  count: plays.length,
@@ -15317,7 +15317,7 @@ async function handlePlayList(args) {
15317
15317
  }
15318
15318
  async function handlePlayPin(args, pinned) {
15319
15319
  const target = _optionalChain([args, 'access', _606 => _606.find, 'call', _607 => _607((arg) => !arg.startsWith("-")), 'optionalAccess', _608 => _608.trim, 'call', _609 => _609()]);
15320
- const jsonOutput = _chunk32NTC5UDjs.argsWantJson.call(void 0, args);
15320
+ const jsonOutput = _chunkKEE57BF2js.argsWantJson.call(void 0, args);
15321
15321
  const dryRun = args.includes("--dry-run");
15322
15322
  if (!target) {
15323
15323
  console.error(
@@ -15335,11 +15335,11 @@ async function handlePlayPin(args, pinned) {
15335
15335
  const name = parsedTarget.playName;
15336
15336
  const plan = { name, pinned, dryRun };
15337
15337
  if (dryRun) {
15338
- _chunk32NTC5UDjs.printCompactJson.call(void 0, plan);
15338
+ _chunkKEE57BF2js.printCompactJson.call(void 0, plan);
15339
15339
  return 0;
15340
15340
  }
15341
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().setPlayPinned(name, pinned);
15342
- if (jsonOutput) _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15341
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().setPlayPinned(name, pinned);
15342
+ if (jsonOutput) _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15343
15343
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15344
15344
  return 0;
15345
15345
  }
@@ -15465,12 +15465,12 @@ async function handlePlayGrep(args) {
15465
15465
  console.error("Usage: deepline plays grep <query> [--json]");
15466
15466
  return 1;
15467
15467
  }
15468
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15468
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15469
15469
  const results = (await client.listPlays({ grep: query })).map(
15470
15470
  summarizePlayGrepResult
15471
15471
  );
15472
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15473
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
15472
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15473
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
15474
15474
  plays: results,
15475
15475
  count: results.length,
15476
15476
  query,
@@ -15493,7 +15493,7 @@ async function handlePlayGrep(args) {
15493
15493
  return 0;
15494
15494
  }
15495
15495
  async function handlePlayDescribe(args) {
15496
- const selection = _chunk32NTC5UDjs.parseJsonFields.call(void 0, args, "describe");
15496
+ const selection = _chunkKEE57BF2js.parseJsonFields.call(void 0, args, "describe");
15497
15497
  args = selection.args;
15498
15498
  const playName = args[0];
15499
15499
  if (!playName) {
@@ -15527,8 +15527,8 @@ async function handlePlayDescribe(args) {
15527
15527
  `deepline plays check ${playName}`,
15528
15528
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15529
15529
  ];
15530
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15531
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
15530
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15531
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
15532
15532
  ok: false,
15533
15533
  error: { message },
15534
15534
  next
@@ -15542,7 +15542,7 @@ async function handlePlayDescribe(args) {
15542
15542
  }
15543
15543
  return 2;
15544
15544
  }
15545
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15545
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15546
15546
  await assertCanonicalNamedPlayReference(client, playName, {
15547
15547
  command: "describe"
15548
15548
  });
@@ -15552,9 +15552,9 @@ async function handlePlayDescribe(args) {
15552
15552
  compact: args.includes("--compact")
15553
15553
  }
15554
15554
  );
15555
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15556
- if (selection.fields) _chunk32NTC5UDjs.printJson.call(void 0, play, selection.fields);
15557
- else _chunk32NTC5UDjs.printCompactJson.call(void 0, play);
15555
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15556
+ if (selection.fields) _chunkKEE57BF2js.printJson.call(void 0, play, selection.fields);
15557
+ else _chunkKEE57BF2js.printCompactJson.call(void 0, play);
15558
15558
  return 0;
15559
15559
  }
15560
15560
  printPlayDescription(play);
@@ -15576,7 +15576,7 @@ async function handlePlaySave(args) {
15576
15576
  }
15577
15577
  let graph;
15578
15578
  try {
15579
- graph = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15579
+ graph = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15580
15580
  "cli.play_save_bundle_graph",
15581
15581
  { targetKind: "file" },
15582
15582
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15598,7 +15598,7 @@ async function handlePlaySave(args) {
15598
15598
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15599
15599
  };
15600
15600
  if (options.jsonOutput) {
15601
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15601
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15602
15602
  } else {
15603
15603
  console.error(result.message);
15604
15604
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15620,7 +15620,7 @@ async function handlePlaySave(args) {
15620
15620
  };
15621
15621
  if (options.dryRun) {
15622
15622
  if (options.jsonOutput) {
15623
- _chunk32NTC5UDjs.printCompactJson.call(void 0, dryRun);
15623
+ _chunkKEE57BF2js.printCompactJson.call(void 0, dryRun);
15624
15624
  } else {
15625
15625
  console.log(`Dry run: ${playName}`);
15626
15626
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15629,14 +15629,14 @@ async function handlePlaySave(args) {
15629
15629
  }
15630
15630
  return 0;
15631
15631
  }
15632
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15632
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15633
15633
  try {
15634
- await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15634
+ await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15635
15635
  "cli.play_save_compile_manifests",
15636
15636
  { targetKind: "file", nodeCount: graph.nodes.size },
15637
15637
  () => compileBundledPlayGraphManifests(client, graph)
15638
15638
  );
15639
- const saved = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15639
+ const saved = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15640
15640
  "cli.play_save_register_draft",
15641
15641
  { targetKind: "file", playName, artifactHash },
15642
15642
  () => client.registerPlayArtifact({
@@ -15665,7 +15665,7 @@ async function handlePlaySave(args) {
15665
15665
  }
15666
15666
  };
15667
15667
  if (options.jsonOutput) {
15668
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15668
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15669
15669
  } else {
15670
15670
  console.log(
15671
15671
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15691,7 +15691,7 @@ async function handlePlayPublish(args) {
15691
15691
  }
15692
15692
  const { target: playName, useLatest } = options;
15693
15693
  let revisionId = options.revisionId;
15694
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15694
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15695
15695
  if (isFileTarget(playName)) {
15696
15696
  if (revisionId || useLatest) {
15697
15697
  console.error(
@@ -15701,7 +15701,7 @@ async function handlePlayPublish(args) {
15701
15701
  }
15702
15702
  let graph;
15703
15703
  try {
15704
- graph = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15704
+ graph = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15705
15705
  "cli.play_publish_bundle_graph",
15706
15706
  { targetKind: "file" },
15707
15707
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15723,7 +15723,7 @@ async function handlePlayPublish(args) {
15723
15723
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15724
15724
  };
15725
15725
  if (options.jsonOutput) {
15726
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result3);
15726
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result3);
15727
15727
  } else {
15728
15728
  console.error(result3.message);
15729
15729
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15746,7 +15746,7 @@ async function handlePlayPublish(args) {
15746
15746
  };
15747
15747
  if (options.dryRun) {
15748
15748
  if (options.jsonOutput) {
15749
- _chunk32NTC5UDjs.printCompactJson.call(void 0, dryRun);
15749
+ _chunkKEE57BF2js.printCompactJson.call(void 0, dryRun);
15750
15750
  } else {
15751
15751
  console.log(`Dry run: ${rootPlayName}`);
15752
15752
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15765,12 +15765,12 @@ async function handlePlayPublish(args) {
15765
15765
  }
15766
15766
  }
15767
15767
  try {
15768
- await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15768
+ await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15769
15769
  "cli.play_publish_compile_manifests",
15770
15770
  { targetKind: "file", nodeCount: graph.nodes.size },
15771
15771
  () => compileBundledPlayGraphManifests(client, graph)
15772
15772
  );
15773
- await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15773
+ await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15774
15774
  "cli.play_publish_imports",
15775
15775
  { targetKind: "file", nodeCount: graph.nodes.size },
15776
15776
  () => publishImportedPlayDependencies(client, graph)
@@ -15779,7 +15779,7 @@ async function handlePlayPublish(args) {
15779
15779
  console.error(error instanceof Error ? error.message : String(error));
15780
15780
  return 1;
15781
15781
  }
15782
- const published = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
15782
+ const published = await _chunkSMDX4BM5js.traceCliSpan.call(void 0,
15783
15783
  "cli.play_publish_register_root",
15784
15784
  {
15785
15785
  targetKind: "file",
@@ -15814,7 +15814,7 @@ async function handlePlayPublish(args) {
15814
15814
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15815
15815
  };
15816
15816
  if (options.jsonOutput) {
15817
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result2);
15817
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result2);
15818
15818
  } else {
15819
15819
  printPublishReceipt({
15820
15820
  name: rootPlayName,
@@ -15845,7 +15845,7 @@ async function handlePlayPublish(args) {
15845
15845
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15846
15846
  latest: useLatest
15847
15847
  };
15848
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result2);
15848
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result2);
15849
15849
  return 0;
15850
15850
  }
15851
15851
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15869,7 +15869,7 @@ async function handlePlayPublish(args) {
15869
15869
  revisionId ? { revisionId } : {}
15870
15870
  );
15871
15871
  if (options.jsonOutput) {
15872
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15872
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15873
15873
  } else {
15874
15874
  printPublishReceipt({
15875
15875
  name: result.name,
@@ -15909,7 +15909,7 @@ async function handlePlayDelete(args) {
15909
15909
  );
15910
15910
  return 2;
15911
15911
  }
15912
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15912
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15913
15913
  let detail;
15914
15914
  try {
15915
15915
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15933,8 +15933,8 @@ async function handlePlayDelete(args) {
15933
15933
  name: resolvedName,
15934
15934
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15935
15935
  };
15936
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15937
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result2);
15936
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15937
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result2);
15938
15938
  } else {
15939
15939
  process.stdout.write(
15940
15940
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15944,8 +15944,8 @@ async function handlePlayDelete(args) {
15944
15944
  return 0;
15945
15945
  }
15946
15946
  const result = await client.deletePlay(resolvedName);
15947
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15948
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15947
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15948
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15949
15949
  return result.archived || result.alreadyArchived ? 0 : 4;
15950
15950
  }
15951
15951
  if (result.alreadyArchived) {
@@ -15984,13 +15984,13 @@ async function handlePlayRestore(args) {
15984
15984
  );
15985
15985
  return 2;
15986
15986
  }
15987
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
15987
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
15988
15988
  try {
15989
15989
  const result = await client.restorePlay(
15990
15990
  parseReferencedPlayTarget(playName).playName
15991
15991
  );
15992
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
15993
- _chunk32NTC5UDjs.printCompactJson.call(void 0, result);
15992
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
15993
+ _chunkKEE57BF2js.printCompactJson.call(void 0, result);
15994
15994
  return result.restored || result.alreadyActive ? 0 : 4;
15995
15995
  }
15996
15996
  if (result.alreadyActive) {
@@ -16117,21 +16117,21 @@ Common commands:
16117
16117
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16118
16118
  }
16119
16119
  };
16120
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, result2, {
16120
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0, result2, {
16121
16121
  json: options.json,
16122
16122
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16123
16123
  `
16124
16124
  });
16125
16125
  return;
16126
16126
  }
16127
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
16127
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
16128
16128
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16129
16129
  throw new Error(
16130
16130
  "The submission belongs to a different API origin. Select its original host before recovery."
16131
16131
  );
16132
16132
  }
16133
16133
  const result = await client.startPlayRun(saved.request);
16134
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
16134
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
16135
16135
  { ...result },
16136
16136
  {
16137
16137
  json: options.json,
@@ -16167,7 +16167,7 @@ Examples:
16167
16167
  ).action(async (target, options) => {
16168
16168
  process.exitCode = await handlePlayCheck([
16169
16169
  target,
16170
- ..._chunk32NTC5UDjs.jsonFieldArgs.call(void 0, options.json),
16170
+ ..._chunkKEE57BF2js.jsonFieldArgs.call(void 0, options.json),
16171
16171
  ...options.full ? ["--full"] : []
16172
16172
  ]);
16173
16173
  });
@@ -16214,10 +16214,10 @@ Notes:
16214
16214
  with a changed input is refused with a 409 conflict. Use one stable key per
16215
16215
  exact intent. Without a key, each invocation starts a new run.
16216
16216
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
16217
- resident-work ceiling. Default: ${_chunkVKVLJTW5js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkVKVLJTW5js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16217
+ resident-work ceiling. Default: ${_chunkMHTKWZM3js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkMHTKWZM3js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16218
16218
  Provider pacing and sandbox memory limits still apply.
16219
16219
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
16220
- resolvers. Accepted range: 1-${_chunkVKVLJTW5js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16220
+ resolvers. Accepted range: 1-${_chunkMHTKWZM3js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16221
16221
  may lower it when source-row size exceeds the active-row memory budget.
16222
16222
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
16223
16223
  Tool calls that would exceed it are denied.
@@ -16342,10 +16342,10 @@ Examples:
16342
16342
  ).hideHelp()
16343
16343
  ).option(
16344
16344
  "--max-concurrent-external-calls <count>",
16345
- `Concurrent provider-tool and deepline.fetch executions (${_chunkVKVLJTW5js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkVKVLJTW5js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16345
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkMHTKWZM3js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkMHTKWZM3js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16346
16346
  ).option(
16347
16347
  "--max-concurrent-rows <count>",
16348
- `Run-wide dataset map row resolver ceiling (max ${_chunkVKVLJTW5js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16348
+ `Run-wide dataset map row resolver ceiling (max ${_chunkMHTKWZM3js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16349
16349
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").option("--open", "Open the run page in a browser after the run starts").option(
16350
16350
  "--debug-map-latency",
16351
16351
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16440,14 +16440,14 @@ JSON field selection:
16440
16440
  passthroughArgs.shift();
16441
16441
  }
16442
16442
  const exitCode = await handlePlayRun(
16443
- _chunkVKVLJTW5js.resolvePlayRunCliOptions.call(void 0,
16443
+ _chunkMHTKWZM3js.resolvePlayRunCliOptions.call(void 0,
16444
16444
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16445
16445
  options,
16446
16446
  passthroughArgs,
16447
- _chunkM4Q4LEMMjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16447
+ _chunkSMDX4BM5js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16448
16448
  )
16449
16449
  );
16450
- _chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
16450
+ _chunkSMDX4BM5js.recordCliTrace.call(void 0, {
16451
16451
  phase: "cli.play_command_exit",
16452
16452
  exitCode
16453
16453
  });
@@ -16496,9 +16496,9 @@ Examples:
16496
16496
  const limit = Number(options.historyLimit);
16497
16497
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16498
16498
  throw new Error("--history-limit must be an integer from 1 to 30.");
16499
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
16499
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
16500
16500
  if (options.binding) {
16501
- _chunk32NTC5UDjs.printCompactJson.call(void 0,
16501
+ _chunkKEE57BF2js.printCompactJson.call(void 0,
16502
16502
  await client.getPlayTriggerHistory(options.binding, { limit })
16503
16503
  );
16504
16504
  return;
@@ -16506,7 +16506,7 @@ Examples:
16506
16506
  const result = await client.listPlayTriggerInventory({
16507
16507
  cursor: options.cursor
16508
16508
  });
16509
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
16509
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
16510
16510
  ...result,
16511
16511
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16512
16512
  });
@@ -16565,7 +16565,7 @@ Examples:
16565
16565
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16566
16566
  throw new Error("--group-by must be kind or trigger_source.");
16567
16567
  }
16568
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getPlaysActivity({
16568
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().getPlaysActivity({
16569
16569
  timeZone: options.timeZone,
16570
16570
  days,
16571
16571
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16579,7 +16579,7 @@ Examples:
16579
16579
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16580
16580
  );
16581
16581
  }
16582
- _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
16582
+ _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
16583
16583
  { ...result },
16584
16584
  {
16585
16585
  json: Boolean(options.json),
@@ -16608,7 +16608,7 @@ Examples:
16608
16608
  false
16609
16609
  );
16610
16610
  });
16611
- _chunkWWLIDAVTjs.registerDeprecatedSearchCommand.call(void 0,
16611
+ _chunk7S3DJFW5js.registerDeprecatedSearchCommand.call(void 0,
16612
16612
  play,
16613
16613
  (options) => options.all ? ["plays"] : ["prebuilts"]
16614
16614
  );
@@ -16649,9 +16649,9 @@ Examples:
16649
16649
  "--json [fields]",
16650
16650
  "JSON output; optionally select comma-separated dotted paths"
16651
16651
  );
16652
- _chunkWYI3VMTOjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16652
+ _chunkH6OYTU2Yjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16653
16653
  async (target, options) => {
16654
- const ownView = () => handlePlayDescribe(_chunk32NTC5UDjs.describeArgs.call(void 0, target, options));
16654
+ const ownView = () => handlePlayDescribe(_chunkKEE57BF2js.describeArgs.call(void 0, target, options));
16655
16655
  const [flagText] = [options.json].filter(
16656
16656
  (value) => typeof value === "string"
16657
16657
  );
@@ -16662,7 +16662,7 @@ Examples:
16662
16662
  process.exitCode = await ownView();
16663
16663
  return;
16664
16664
  }
16665
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-U6HM52X6.js")));
16665
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AF73GGH6.js")));
16666
16666
  process.exitCode = await describeAnything(
16667
16667
  name,
16668
16668
  {
@@ -16780,7 +16780,7 @@ Examples:
16780
16780
  deepline plays deployments <deployment-id>
16781
16781
  `
16782
16782
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16783
- async (id, options) => id ? _chunkC44RZGM5js.handleDeploymentGet.call(void 0, id, options) : _chunkC44RZGM5js.handleDeploymentsList.call(void 0, options)
16783
+ async (id, options) => id ? _chunkHR2RDDACjs.handleDeploymentGet.call(void 0, id, options) : _chunkHR2RDDACjs.handleDeploymentsList.call(void 0, options)
16784
16784
  );
16785
16785
  addPublishHelp(
16786
16786
  play.command("publish <target>").description(
@@ -16915,14 +16915,14 @@ Examples:
16915
16915
  const limit = Number(options.limit);
16916
16916
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16917
16917
  throw new Error("--limit must be an integer from 1 to 1000.");
16918
- const result = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().runs.rowHistory({
16918
+ const result = await new (0, _chunkO7JU5GURjs.DeeplineClient)().runs.rowHistory({
16919
16919
  playName: options.play,
16920
16920
  runId,
16921
16921
  tableNamespace: options.dataset,
16922
16922
  limit,
16923
16923
  cursor: options.cursor
16924
16924
  });
16925
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
16925
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
16926
16926
  ...result,
16927
16927
  ...result.nextCursor ? {
16928
16928
  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`
@@ -17000,7 +17000,7 @@ Examples:
17000
17000
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
17001
17001
  ).action(async (runId, options) => {
17002
17002
  if (TOOL_EXECUTION_ID.test(runId)) {
17003
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Q75XC2BS.js")));
17003
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-OT43MSZE.js")));
17004
17004
  process.exitCode = await getToolExecutionReceipt(runId, {
17005
17005
  receiptJson: options.json !== void 0
17006
17006
  });
@@ -17008,7 +17008,7 @@ Examples:
17008
17008
  }
17009
17009
  process.exitCode = await handleRunGet([
17010
17010
  runId,
17011
- ..._chunk32NTC5UDjs.jsonFieldArgs.call(void 0, options.json),
17011
+ ..._chunkKEE57BF2js.jsonFieldArgs.call(void 0, options.json),
17012
17012
  ...options.web ? ["--web"] : [],
17013
17013
  ...options.webUrl ? ["--web-url"] : [],
17014
17014
  ...options.full ? ["--full"] : [],
@@ -17328,7 +17328,7 @@ Examples:
17328
17328
  ...options.allowEmpty ? ["--allow-empty"] : [],
17329
17329
  ...options.wait ? ["--wait"] : [],
17330
17330
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17331
- ..._chunk32NTC5UDjs.jsonFieldArgs.call(void 0, options.json)
17331
+ ..._chunkKEE57BF2js.jsonFieldArgs.call(void 0, options.json)
17332
17332
  ]);
17333
17333
  });
17334
17334
  const share = play.command("share").description(
@@ -17494,10 +17494,10 @@ async function handlePlayShareStatus(args) {
17494
17494
  return 2;
17495
17495
  }
17496
17496
  const name = parseReferencedPlayTarget(target).playName;
17497
- const status = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().getSharePage(name);
17497
+ const status = await new (0, _chunkO7JU5GURjs.DeeplineClient)().getSharePage(name);
17498
17498
  const outputStatus = shareStatusForOutput(status);
17499
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17500
- _chunk32NTC5UDjs.printCompactJson.call(void 0, outputStatus);
17499
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17500
+ _chunkKEE57BF2js.printCompactJson.call(void 0, outputStatus);
17501
17501
  return 0;
17502
17502
  }
17503
17503
  if (!outputStatus.share) {
@@ -17536,7 +17536,7 @@ async function handlePlaySharePublish(args) {
17536
17536
  return 2;
17537
17537
  }
17538
17538
  const name = parseReferencedPlayTarget(target).playName;
17539
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
17539
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
17540
17540
  let revisionId = shareFlagValue(args, "--revision-id");
17541
17541
  let resolvedVersion;
17542
17542
  if (!revisionId) {
@@ -17567,8 +17567,8 @@ async function handlePlaySharePublish(args) {
17567
17567
  );
17568
17568
  if (!hasCompleted) {
17569
17569
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17570
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17571
- _chunk32NTC5UDjs.printCompactJson.call(void 0, {
17570
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17571
+ _chunkKEE57BF2js.printCompactJson.call(void 0, {
17572
17572
  ok: false,
17573
17573
  code: "NO_SUCCESSFUL_RUN",
17574
17574
  message,
@@ -17592,8 +17592,8 @@ async function handlePlaySharePublish(args) {
17592
17592
  };
17593
17593
  if (args.includes("--dry-run")) {
17594
17594
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17595
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17596
- _chunk32NTC5UDjs.printCompactJson.call(void 0, plan);
17595
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17596
+ _chunkKEE57BF2js.printCompactJson.call(void 0, plan);
17597
17597
  } else {
17598
17598
  console.log(
17599
17599
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17603,8 +17603,8 @@ async function handlePlaySharePublish(args) {
17603
17603
  }
17604
17604
  const status = await client.publishSharePage(name, request);
17605
17605
  const outputStatus = shareStatusForOutput(status);
17606
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17607
- _chunk32NTC5UDjs.printCompactJson.call(void 0, outputStatus);
17606
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17607
+ _chunkKEE57BF2js.printCompactJson.call(void 0, outputStatus);
17608
17608
  return 0;
17609
17609
  }
17610
17610
  const urls = shareUrlFields(outputStatus);
@@ -17635,9 +17635,9 @@ async function handlePlayShareUpdate(args) {
17635
17635
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17636
17636
  ...seoIndexing ? { seoIndexing } : {}
17637
17637
  };
17638
- const status = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().updateSharePage(name, request);
17639
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17640
- _chunk32NTC5UDjs.printCompactJson.call(void 0, status);
17638
+ const status = await new (0, _chunkO7JU5GURjs.DeeplineClient)().updateSharePage(name, request);
17639
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17640
+ _chunkKEE57BF2js.printCompactJson.call(void 0, status);
17641
17641
  return 0;
17642
17642
  }
17643
17643
  console.log(`Updated ${name} share settings.`);
@@ -17652,7 +17652,7 @@ async function handlePlayShareRegenerate(args) {
17652
17652
  return 2;
17653
17653
  }
17654
17654
  const name = parseReferencedPlayTarget(target).playName;
17655
- const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
17655
+ const client = new (0, _chunkO7JU5GURjs.DeeplineClient)();
17656
17656
  let revisionId = shareFlagValue(args, "--revision-id");
17657
17657
  const versionFlag = shareFlagValue(args, "--version");
17658
17658
  if (!revisionId && versionFlag) {
@@ -17669,8 +17669,8 @@ async function handlePlayShareRegenerate(args) {
17669
17669
  revisionId ? { revisionId } : {}
17670
17670
  );
17671
17671
  const outputStatus = shareStatusForOutput(status);
17672
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17673
- _chunk32NTC5UDjs.printCompactJson.call(void 0, outputStatus);
17672
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17673
+ _chunkKEE57BF2js.printCompactJson.call(void 0, outputStatus);
17674
17674
  return 0;
17675
17675
  }
17676
17676
  const urls = shareUrlFields(outputStatus);
@@ -17695,9 +17695,9 @@ async function handlePlayShareUnpublish(args) {
17695
17695
  return 2;
17696
17696
  }
17697
17697
  const name = parseReferencedPlayTarget(target).playName;
17698
- const status = await new (0, _chunkKEXGBXUGjs.DeeplineClient)().unpublishSharePage(name);
17699
- if (_chunk32NTC5UDjs.argsWantJson.call(void 0, args)) {
17700
- _chunk32NTC5UDjs.printCompactJson.call(void 0, status);
17698
+ const status = await new (0, _chunkO7JU5GURjs.DeeplineClient)().unpublishSharePage(name);
17699
+ if (_chunkKEE57BF2js.argsWantJson.call(void 0, args)) {
17700
+ _chunkKEE57BF2js.printCompactJson.call(void 0, status);
17701
17701
  return 0;
17702
17702
  }
17703
17703
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17775,4 +17775,4 @@ async function handlePlayShareUnpublish(args) {
17775
17775
 
17776
17776
 
17777
17777
 
17778
- 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 = _chunkVKVLJTW5js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkVKVLJTW5js.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;
17778
+ 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 = _chunkMHTKWZM3js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkMHTKWZM3js.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;