deepline 0.3.496 → 0.3.498

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 (132) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +2 -0
  3. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +8 -1
  4. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +23 -5
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +4 -3
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-admission-outcome.ts +8 -3
  9. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +470 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +318 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +7 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +19 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +138 -0
  15. package/dist/bundling-sources/shared_libs/plays/docflow.ts +9 -2
  16. package/dist/cli/auth-NYYFDCMT.js +43 -0
  17. package/dist/cli/{auth-EU4EFRDJ.mjs → auth-TNYYAPIX.mjs} +5 -5
  18. package/dist/cli/{billing-GMVH3RBX.mjs → billing-G6QBOZAE.mjs} +6 -6
  19. package/dist/cli/{billing-4JJLTVK4.js → billing-MP43H3ZK.js} +79 -79
  20. package/dist/cli/{chunk-IXPZROZX.mjs → chunk-2QS3MCJ2.mjs} +2 -2
  21. package/dist/cli/{chunk-O36ZPHJG.mjs → chunk-3XNYGMPZ.mjs} +10 -10
  22. package/dist/cli/{chunk-UT3ORL35.mjs → chunk-4RSOYJ67.mjs} +3 -3
  23. package/dist/cli/{chunk-SH6HOR25.mjs → chunk-4TVN2676.mjs} +2 -2
  24. package/dist/cli/{chunk-5M4PLPTR.mjs → chunk-6JVJZ7YG.mjs} +1 -1
  25. package/dist/cli/{chunk-KKI5GWED.js → chunk-BQIEYWGQ.js} +94 -94
  26. package/dist/cli/{chunk-CNMIYEB4.mjs → chunk-C7BH7T3T.mjs} +2 -2
  27. package/dist/cli/{chunk-GKZUGHDK.js → chunk-DB7SJKGI.js} +6 -6
  28. package/dist/cli/{chunk-GRIHMNYM.js → chunk-EAQXRAVF.js} +4 -4
  29. package/dist/cli/{chunk-YHFW7MBT.mjs → chunk-EHOC6NCN.mjs} +1 -1
  30. package/dist/cli/{chunk-6UUZM4FY.mjs → chunk-ELZYHPE7.mjs} +5 -5
  31. package/dist/cli/{chunk-5YSIHOGV.js → chunk-FPRS3FP4.js} +26 -26
  32. package/dist/cli/{chunk-WTZ7Y3IZ.mjs → chunk-H7YR4EYF.mjs} +2 -2
  33. package/dist/cli/{chunk-MWQ3WQ4Q.js → chunk-IBCROFZW.js} +41 -41
  34. package/dist/cli/{chunk-6QIAEXRH.mjs → chunk-IE6FYMUS.mjs} +1 -1
  35. package/dist/cli/{chunk-EX4JEFYI.js → chunk-IUCAVYXR.js} +16 -16
  36. package/dist/cli/{chunk-FXPICCUU.mjs → chunk-KLA4IUOI.mjs} +1 -1
  37. package/dist/cli/{chunk-QEBQIGXP.js → chunk-KRR2Z2FH.js} +2 -2
  38. package/dist/cli/{chunk-R4H5MCG4.mjs → chunk-KV4RNW2H.mjs} +4 -4
  39. package/dist/cli/{chunk-U6SE6757.mjs → chunk-LGE6ZOEO.mjs} +1 -1
  40. package/dist/cli/{chunk-IMWJRBV5.mjs → chunk-MRHMC33S.mjs} +1 -1
  41. package/dist/cli/{chunk-7Q7VPFPR.mjs → chunk-O4H53SJ4.mjs} +2 -2
  42. package/dist/cli/{chunk-WCBZHSC4.mjs → chunk-OFNXUDEC.mjs} +5 -5
  43. package/dist/cli/{chunk-5GK6J7MH.js → chunk-OL2QEEXF.js} +5 -5
  44. package/dist/cli/{chunk-7NBDLK3N.mjs → chunk-PAHFVOFZ.mjs} +1 -1
  45. package/dist/cli/{chunk-JU4LIA2T.js → chunk-PHBJ2VDS.js} +7 -7
  46. package/dist/cli/{chunk-W7DZ6UGP.js → chunk-PKTJN6PF.js} +3 -3
  47. package/dist/cli/{chunk-WEGGJMNF.js → chunk-QDNP6KOF.js} +21 -21
  48. package/dist/cli/{chunk-QZ7I4NZZ.js → chunk-QERMP4TW.js} +2 -2
  49. package/dist/cli/{chunk-UTG3STCR.js → chunk-QUIJUNXX.js} +3 -3
  50. package/dist/cli/{chunk-E3KXXJWR.mjs → chunk-RZA6HSXX.mjs} +6 -6
  51. package/dist/cli/{chunk-4NKAM4GX.mjs → chunk-RZO743TC.mjs} +2 -2
  52. package/dist/cli/{chunk-3KA466RV.mjs → chunk-SR3PRGWB.mjs} +1 -1
  53. package/dist/cli/{chunk-3HIPDJWJ.js → chunk-TDUTNTA5.js} +53 -53
  54. package/dist/cli/{chunk-QN6IULFT.js → chunk-TLG75Q77.js} +53 -53
  55. package/dist/cli/{chunk-ZL4Q4T3G.js → chunk-TPQFCUPV.js} +7 -7
  56. package/dist/cli/{chunk-AOBAVBSX.js → chunk-UA2GU7NB.js} +7 -7
  57. package/dist/cli/{chunk-QYXUZX5N.mjs → chunk-UUFZFJL4.mjs} +4 -4
  58. package/dist/cli/{chunk-7U6W3CKT.mjs → chunk-VETP54NO.mjs} +4 -4
  59. package/dist/cli/{chunk-Z27R2BG7.js → chunk-VFYKFPZD.js} +16 -16
  60. package/dist/cli/{chunk-JEPNE4N5.js → chunk-VUNAIAMX.js} +5 -5
  61. package/dist/cli/{chunk-J55ZM5CK.js → chunk-XGUGFGCF.js} +3 -3
  62. package/dist/cli/{chunk-HIAFBOYA.js → chunk-XNYAIV4E.js} +8 -8
  63. package/dist/cli/{chunk-73CBLBNP.js → chunk-XUTIBRKF.js} +1 -1
  64. package/dist/cli/{chunk-PHVRS56F.js → chunk-YCGVVUGX.js} +9 -9
  65. package/dist/cli/{chunk-DFW6P6ZN.mjs → chunk-ZEYB6QPW.mjs} +2 -2
  66. package/dist/cli/{csv-ET7ESAPM.mjs → csv-LBUOESU2.mjs} +4 -4
  67. package/dist/cli/{csv-JWBLNEPC.js → csv-SCXUWRVV.js} +13 -13
  68. package/dist/cli/{db-4PIWQPR6.mjs → db-3SI2OXIV.mjs} +6 -6
  69. package/dist/cli/{db-3ZGQXWTQ.js → db-CC2D2GSL.js} +27 -27
  70. package/dist/cli/describe-DAUL3SDQ.js +50 -0
  71. package/dist/cli/{describe-OREUCFC2.mjs → describe-ZK5CMT4M.mjs} +17 -17
  72. package/dist/cli/{executions-HW6PMZOF.mjs → executions-DVPHIG2I.mjs} +6 -6
  73. package/dist/cli/{executions-YR545MRU.js → executions-YKYQIRPP.js} +8 -8
  74. package/dist/cli/{feedback-FNVHJQEC.js → feedback-BVLYZ3BM.js} +8 -8
  75. package/dist/cli/{feedback-B2FJ6HPA.mjs → feedback-UQRMPU2S.mjs} +4 -4
  76. package/dist/cli/git-MFIJCRX6.js +25 -0
  77. package/dist/cli/{git-CCNPW3CA.mjs → git-WTMZ66HP.mjs} +5 -5
  78. package/dist/cli/index.js +137 -137
  79. package/dist/cli/index.mjs +40 -40
  80. package/dist/cli/{legacy-noops-VJLCXTPB.mjs → legacy-noops-RUQT6DB3.mjs} +5 -5
  81. package/dist/cli/{legacy-noops-2EBZS45D.js → legacy-noops-TVJ5WOBD.js} +8 -8
  82. package/dist/cli/{monitors-JNWKPCN5.js → monitors-UYYJBO6U.js} +95 -95
  83. package/dist/cli/{monitors-4AMETRW7.mjs → monitors-ZQBZMFUL.mjs} +7 -7
  84. package/dist/cli/{org-7FUHVFYU.js → org-4TZED2IF.js} +72 -72
  85. package/dist/cli/{org-LO6GSCCG.mjs → org-UACQHFY6.mjs} +6 -6
  86. package/dist/cli/{pages-TT4TZOOV.js → pages-HDYYGZOT.js} +18 -18
  87. package/dist/cli/{pages-PJ32M2PU.mjs → pages-R2KSZCYK.mjs} +6 -6
  88. package/dist/cli/{play-QJEZAIZB.mjs → play-DQ4AZ2NV.mjs} +34 -30
  89. package/dist/cli/{play-VN7DFYDP.js → play-ZMYWHAV3.js} +330 -326
  90. package/dist/cli/{providers-IDFN2FCR.js → providers-I7GXTYG4.js} +9 -9
  91. package/dist/cli/{providers-24ER3SND.mjs → providers-X53WCX46.mjs} +6 -6
  92. package/dist/cli/{quickstart-FKENQU34.mjs → quickstart-DKVF32MY.mjs} +4 -4
  93. package/dist/cli/{quickstart-AQDCRVUQ.js → quickstart-GKW46HUR.js} +6 -6
  94. package/dist/cli/{run-KXMRE5ZD.mjs → run-A36EBVLD.mjs} +22 -22
  95. package/dist/cli/{run-HCASJQZY.js → run-VLX775L5.js} +36 -36
  96. package/dist/cli/{search-3F2T33OE.mjs → search-QHO4AYS2.mjs} +7 -7
  97. package/dist/cli/search-STXZIGVB.js +32 -0
  98. package/dist/cli/{search-output-GFCEGNCJ.js → search-output-P7GWSTNO.js} +6 -6
  99. package/dist/cli/{search-output-U6PM5KAH.mjs → search-output-YF5HCWKU.mjs} +4 -4
  100. package/dist/cli/{secrets-KYVUP755.js → secrets-3X56AV2F.js} +15 -15
  101. package/dist/cli/{secrets-ZZSOVXOX.mjs → secrets-XTHBAX26.mjs} +6 -6
  102. package/dist/cli/{sessions-4Z62CVHL.mjs → sessions-4ZVZABXN.mjs} +5 -5
  103. package/dist/cli/{sessions-7JFKTUQS.js → sessions-AJUQJR4G.js} +6 -6
  104. package/dist/cli/{settings-OXG7IRVC.mjs → settings-AX5JF47R.mjs} +11 -11
  105. package/dist/cli/{settings-X4PSK4EW.js → settings-R7RQC5Z3.js} +78 -78
  106. package/dist/cli/{setup-RB7JE6KA.mjs → setup-DTXQODYK.mjs} +9 -9
  107. package/dist/cli/{setup-NCJEDW4W.js → setup-QB62E6K5.js} +49 -49
  108. package/dist/cli/skills-IEP5L5MQ.js +36 -0
  109. package/dist/cli/{skills-D4BR2WU2.mjs → skills-N6OY5ABC.mjs} +7 -7
  110. package/dist/cli/{tools-CEOD7VD5.mjs → tools-3T4GKGS4.mjs} +16 -16
  111. package/dist/cli/tools-JWBXEZKY.js +57 -0
  112. package/dist/cli/{update-UKUMQ6FC.mjs → update-QDT4SFW3.mjs} +9 -9
  113. package/dist/cli/update-QME3C2VP.js +34 -0
  114. package/dist/cli/{workflow-LFWQWZKS.js → workflow-FW3FPOWU.js} +17 -17
  115. package/dist/cli/{workflow-EKKTTSCJ.mjs → workflow-Q7LQETNW.mjs} +7 -7
  116. package/dist/index.js +9 -9
  117. package/dist/index.mjs +6 -6
  118. package/dist/install-integrity.json +100 -98
  119. package/dist/release.d.mts +1 -1
  120. package/dist/release.d.ts +1 -1
  121. package/dist/release.js +2 -2
  122. package/dist/release.mjs +1 -1
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-SHWC5FMY.js +0 -43
  127. package/dist/cli/describe-KO3OQBIR.js +0 -50
  128. package/dist/cli/git-X2QJ2B5O.js +0 -25
  129. package/dist/cli/search-OGY6SQDJ.js +0 -32
  130. package/dist/cli/skills-WWWFRDCA.js +0 -36
  131. package/dist/cli/tools-QMSAA3LC.js +0 -57
  132. package/dist/cli/update-HTDFPN7L.js +0 -34
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkPHVRS56Fjs = require('./chunk-PHVRS56F.js');
8
+ var _chunkYCGVVUGXjs = require('./chunk-YCGVVUGX.js');
9
9
 
10
10
 
11
11
 
@@ -17,15 +17,15 @@ var _chunkPHVRS56Fjs = require('./chunk-PHVRS56F.js');
17
17
 
18
18
 
19
19
 
20
- var _chunkUTG3STCRjs = require('./chunk-UTG3STCR.js');
20
+ var _chunkQUIJUNXXjs = require('./chunk-QUIJUNXX.js');
21
21
 
22
22
 
23
- var _chunkJU4LIA2Tjs = require('./chunk-JU4LIA2T.js');
23
+ var _chunkPHBJ2VDSjs = require('./chunk-PHBJ2VDS.js');
24
24
  require('./chunk-D3BCSAN7.js');
25
25
 
26
26
 
27
27
 
28
- var _chunk5YSIHOGVjs = require('./chunk-5YSIHOGV.js');
28
+ var _chunkFPRS3FP4js = require('./chunk-FPRS3FP4.js');
29
29
 
30
30
 
31
31
 
@@ -58,10 +58,10 @@ var _chunkA6QCMBGLjs = require('./chunk-A6QCMBGL.js');
58
58
 
59
59
 
60
60
 
61
- var _chunkJEPNE4N5js = require('./chunk-JEPNE4N5.js');
61
+ var _chunkVUNAIAMXjs = require('./chunk-VUNAIAMX.js');
62
62
 
63
63
 
64
- var _chunk5GK6J7MHjs = require('./chunk-5GK6J7MH.js');
64
+ var _chunkOL2QEEXFjs = require('./chunk-OL2QEEXF.js');
65
65
 
66
66
 
67
67
 
@@ -74,7 +74,7 @@ var _chunk5GK6J7MHjs = require('./chunk-5GK6J7MH.js');
74
74
 
75
75
 
76
76
 
77
- var _chunkAOBAVBSXjs = require('./chunk-AOBAVBSX.js');
77
+ var _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
78
78
  require('./chunk-E4CABWXL.js');
79
79
 
80
80
 
@@ -97,18 +97,18 @@ require('./chunk-XDVT3GOM.js');
97
97
 
98
98
 
99
99
 
100
- var _chunkGKZUGHDKjs = require('./chunk-GKZUGHDK.js');
100
+ var _chunkDB7SJKGIjs = require('./chunk-DB7SJKGI.js');
101
101
 
102
102
 
103
103
 
104
104
 
105
105
 
106
- var _chunkQZ7I4NZZjs = require('./chunk-QZ7I4NZZ.js');
107
- require('./chunk-QN6IULFT.js');
106
+ var _chunkQERMP4TWjs = require('./chunk-QERMP4TW.js');
107
+ require('./chunk-TLG75Q77.js');
108
108
 
109
109
 
110
110
 
111
- var _chunkW7DZ6UGPjs = require('./chunk-W7DZ6UGP.js');
111
+ var _chunkPKTJN6PFjs = require('./chunk-PKTJN6PF.js');
112
112
 
113
113
 
114
114
 
@@ -122,17 +122,17 @@ var _chunkW7DZ6UGPjs = require('./chunk-W7DZ6UGP.js');
122
122
 
123
123
 
124
124
 
125
- var _chunkZL4Q4T3Gjs = require('./chunk-ZL4Q4T3G.js');
126
- require('./chunk-J55ZM5CK.js');
125
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
126
+ require('./chunk-XGUGFGCF.js');
127
127
 
128
128
 
129
- var _chunkGRIHMNYMjs = require('./chunk-GRIHMNYM.js');
129
+ var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.js');
130
130
  require('./chunk-ALJJRZNJ.js');
131
131
  require('./chunk-XNYIZMNQ.js');
132
132
 
133
133
 
134
134
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
135
- require('./chunk-73CBLBNP.js');
135
+ require('./chunk-XUTIBRKF.js');
136
136
  require('./chunk-OG64RBAC.js');
137
137
 
138
138
 
@@ -2114,7 +2114,7 @@ function resolveField(key, command) {
2114
2114
  function printSettings(result, json, name) {
2115
2115
  result = { ...result, settings: parsePlaySettings(result.settings) };
2116
2116
  const selected = fields.filter(([key]) => !name || key === name);
2117
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2117
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2118
2118
  {
2119
2119
  ...result,
2120
2120
  settings: Object.fromEntries(
@@ -2158,7 +2158,7 @@ function registerPlaySettingsCommands(plays) {
2158
2158
  valueSyntax: field.cli.valueSyntax,
2159
2159
  examples: field.cli.examples
2160
2160
  }));
2161
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2161
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2162
2162
  {
2163
2163
  fields: descriptions,
2164
2164
  render: {
@@ -2183,7 +2183,7 @@ function registerPlaySettingsCommands(plays) {
2183
2183
  async (options, command) => {
2184
2184
  if (options.name !== void 0) resolveField(options.name, command);
2185
2185
  printSettings(
2186
- await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getPlaySettings(options.play),
2186
+ await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlaySettings(options.play),
2187
2187
  options.json,
2188
2188
  options.name
2189
2189
  );
@@ -2214,7 +2214,7 @@ function registerPlaySettingsCommands(plays) {
2214
2214
  );
2215
2215
  }
2216
2216
  if (options.dryRun) {
2217
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2217
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2218
2218
  {
2219
2219
  dryRun: true,
2220
2220
  play,
@@ -2235,7 +2235,7 @@ function registerPlaySettingsCommands(plays) {
2235
2235
  return;
2236
2236
  }
2237
2237
  printSettings(
2238
- await new (0, _chunk5GK6J7MHjs.DeeplineClient)().updatePlaySettings(play, patch),
2238
+ await new (0, _chunkOL2QEEXFjs.DeeplineClient)().updatePlaySettings(play, patch),
2239
2239
  options.json
2240
2240
  );
2241
2241
  };
@@ -2261,13 +2261,13 @@ function registerPlaySettingsCommands(plays) {
2261
2261
  "--root must be person or team; --limit must be 1\u2013100.",
2262
2262
  { exitCode: 2 }
2263
2263
  );
2264
- const page = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().listPlaySettingsPaths({
2264
+ const page = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().listPlaySettingsPaths({
2265
2265
  root: options.root,
2266
2266
  limit,
2267
2267
  cursor: options.cursor
2268
2268
  });
2269
2269
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2270
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2270
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2271
2271
  {
2272
2272
  ...page,
2273
2273
  nextCommand,
@@ -2318,7 +2318,7 @@ function registerPlaySettingsCommands(plays) {
2318
2318
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2319
2319
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2320
2320
  };
2321
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
2321
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
2322
2322
  const paths = [];
2323
2323
  let cursor;
2324
2324
  do {
@@ -2380,7 +2380,7 @@ function registerPlaySettingsCommands(plays) {
2380
2380
  moved.push(move.playName);
2381
2381
  }
2382
2382
  }
2383
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2383
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2384
2384
  {
2385
2385
  dryRun: Boolean(options.dryRun),
2386
2386
  from: options.from,
@@ -2508,7 +2508,7 @@ function triggerLines(view) {
2508
2508
  return lines;
2509
2509
  }
2510
2510
  function printView(view, json) {
2511
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2511
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2512
2512
  {
2513
2513
  ...view,
2514
2514
  render: {
@@ -2521,7 +2521,7 @@ function printView(view, json) {
2521
2521
  );
2522
2522
  }
2523
2523
  function printResult(result, json) {
2524
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2524
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2525
2525
  {
2526
2526
  ...result,
2527
2527
  render: {
@@ -2551,7 +2551,7 @@ async function mutate(command, options, build) {
2551
2551
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2552
2552
  }
2553
2553
  if (options.dryRun) {
2554
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
2554
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
2555
2555
  {
2556
2556
  dryRun: true,
2557
2557
  play: options.play,
@@ -2570,7 +2570,7 @@ async function mutate(command, options, build) {
2570
2570
  return;
2571
2571
  }
2572
2572
  printResult(
2573
- await new (0, _chunk5GK6J7MHjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2573
+ await new (0, _chunkOL2QEEXFjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2574
2574
  options.json
2575
2575
  );
2576
2576
  }
@@ -2603,7 +2603,7 @@ function registerPlayTriggerConfigCommands(plays) {
2603
2603
  }).addHelpText("after", help2);
2604
2604
  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) => {
2605
2605
  printView(
2606
- await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2606
+ await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2607
2607
  options.json
2608
2608
  );
2609
2609
  });
@@ -2647,7 +2647,7 @@ function registerPlayTriggerConfigCommands(plays) {
2647
2647
  if (options.auth === void 0) {
2648
2648
  if (secrets.length || options.header || options.signaturePrefix)
2649
2649
  usage(setWebhook, "--secret/--header need --auth.");
2650
- const current = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getPlayTriggerConfig(
2650
+ const current = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlayTriggerConfig(
2651
2651
  options.play
2652
2652
  );
2653
2653
  return {
@@ -2724,7 +2724,7 @@ var KIND_DESCRIPTIONS = {
2724
2724
  "receipt.skipped": "Saved work result: skipped.",
2725
2725
  "runtime.event": "Other event."
2726
2726
  };
2727
- var RUN_LOGS_KIND_HELP = _chunkAOBAVBSXjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2727
+ var RUN_LOGS_KIND_HELP = _chunkUA2GU7NBjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2728
2728
  kind,
2729
2729
  description: KIND_DESCRIPTIONS[kind]
2730
2730
  }));
@@ -2861,9 +2861,9 @@ function configureRunQueryCommandErrors(command, resource) {
2861
2861
  const args = program.args;
2862
2862
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2863
2863
  error.exitCode = 2;
2864
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2865
- _chunkZL4Q4T3Gjs.printJsonError.call(void 0,
2866
- Object.assign(new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(error.message), {
2864
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2865
+ _chunkTPQFCUPVjs.printJsonError.call(void 0,
2866
+ Object.assign(new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(error.message), {
2867
2867
  exitCode: 2,
2868
2868
  retryable: false
2869
2869
  })
@@ -2907,14 +2907,14 @@ function parseQuery(args, resource) {
2907
2907
  if (VALUE_FLAGS.has(flag)) {
2908
2908
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2909
2909
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2910
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2910
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2911
2911
  `${flag} requires a value. Use ${flag} <value>.`
2912
2912
  );
2913
2913
  }
2914
2914
  if (flag === "--sum") sums.push(value);
2915
2915
  else {
2916
2916
  if (values[flag] !== void 0) {
2917
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2917
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2918
2918
  `${flag} may only be supplied once.`
2919
2919
  );
2920
2920
  }
@@ -2928,12 +2928,12 @@ function parseQuery(args, resource) {
2928
2928
  }
2929
2929
  if (arg.startsWith("-")) {
2930
2930
  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.";
2931
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2931
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2932
2932
  `Unsupported query flag ${flag}. ${correction}`
2933
2933
  );
2934
2934
  }
2935
2935
  if (runId !== void 0) {
2936
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2936
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2937
2937
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2938
2938
  );
2939
2939
  }
@@ -2941,7 +2941,7 @@ function parseQuery(args, resource) {
2941
2941
  }
2942
2942
  if (switches.has("--fields")) {
2943
2943
  if (runId !== void 0) {
2944
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2944
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2945
2945
  "--fields does not use a run ID. Omit the positional run ID."
2946
2946
  );
2947
2947
  }
@@ -2954,18 +2954,18 @@ function parseQuery(args, resource) {
2954
2954
  )
2955
2955
  ];
2956
2956
  if (incompatible.length) {
2957
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2957
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2958
2958
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2959
2959
  );
2960
2960
  }
2961
2961
  }
2962
2962
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2963
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2963
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2964
2964
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2965
2965
  );
2966
2966
  }
2967
2967
  if (sums.length && switches.has("--count")) {
2968
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2968
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2969
2969
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2970
2970
  );
2971
2971
  }
@@ -2973,7 +2973,7 @@ function parseQuery(args, resource) {
2973
2973
  if (operation === "count") {
2974
2974
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2975
2975
  if (values[flag] !== void 0 || switches.has(flag)) {
2976
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
2976
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
2977
2977
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2978
2978
  );
2979
2979
  }
@@ -3008,16 +3008,16 @@ function parseQuery(args, resource) {
3008
3008
  ];
3009
3009
  }
3010
3010
  }
3011
- const request = _chunkAOBAVBSXjs.normalizeRunEventOperationRequest.call(void 0, body);
3011
+ const request = _chunkUA2GU7NBjs.normalizeRunEventOperationRequest.call(void 0, body);
3012
3012
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3013
3013
  const backend = values["--runtime-backend"];
3014
3014
  if (backend && backend !== "daytona" && backend !== "modal") {
3015
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
3015
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
3016
3016
  "--runtime-backend must be daytona or modal."
3017
3017
  );
3018
3018
  }
3019
3019
  if (backend && !namespace) {
3020
- throw new (0, _chunkAOBAVBSXjs.RunEventQueryInputError)(
3020
+ throw new (0, _chunkUA2GU7NBjs.RunEventQueryInputError)(
3021
3021
  "--runtime-backend requires --runtime-namespace."
3022
3022
  );
3023
3023
  }
@@ -3064,12 +3064,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3064
3064
  const failure = error instanceof Error ? error : new Error(String(error));
3065
3065
  const record3 = failure;
3066
3066
  const status = record3.statusCode;
3067
- const exitCode = error instanceof _chunkAOBAVBSXjs.RunEventQueryInputError || status === 400 || status === 422 || record3.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record3.code === "CONFIG_ERROR" || record3.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3067
+ const exitCode = error instanceof _chunkUA2GU7NBjs.RunEventQueryInputError || status === 400 || status === 422 || record3.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record3.code === "CONFIG_ERROR" || record3.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3068
3068
  const diagnostic = Object.assign(failure, {
3069
3069
  exitCode,
3070
3070
  retryable: exitCode === 5
3071
3071
  });
3072
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) _chunkZL4Q4T3Gjs.printJsonError.call(void 0, diagnostic);
3072
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) _chunkTPQFCUPVjs.printJsonError.call(void 0, diagnostic);
3073
3073
  else console.error(`Error: ${diagnostic.message}`);
3074
3074
  return exitCode;
3075
3075
  }
@@ -3084,7 +3084,7 @@ async function executeRunEventQuery(args, resource) {
3084
3084
  ...criteria
3085
3085
  } = request;
3086
3086
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3087
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
3087
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
3088
3088
  let result;
3089
3089
  if (request.operation === "fields") {
3090
3090
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3150,13 +3150,13 @@ async function executeRunEventQuery(args, resource) {
3150
3150
  lines.push(`Next page: ${nextPage}`);
3151
3151
  }
3152
3152
  }
3153
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
3153
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
3154
3154
  {
3155
3155
  ...result,
3156
3156
  ...nextPage ? { next: { page: nextPage } } : {},
3157
3157
  render: { sections: [{ title: `run ${resource}`, lines }] }
3158
3158
  },
3159
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3159
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3160
3160
  ` }
3161
3161
  );
3162
3162
  return 0;
@@ -4075,7 +4075,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4075
4075
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4076
4076
  );
4077
4077
  }
4078
- const response = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.getReceipts(runId, {
4078
+ const response = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.getReceipts(runId, {
4079
4079
  keys
4080
4080
  });
4081
4081
  const failed = response.receipts.filter(
@@ -4087,7 +4087,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4087
4087
  JSON.stringify(response, null, 2) + "\n",
4088
4088
  { flag: "wx", mode: 384 }
4089
4089
  );
4090
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
4090
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
4091
4091
  {
4092
4092
  runId,
4093
4093
  out: options.out,
@@ -4097,7 +4097,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4097
4097
  { json: true }
4098
4098
  );
4099
4099
  } else {
4100
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4100
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4101
4101
  }
4102
4102
  if (failed)
4103
4103
  process.exitCode = response.receipts.some(
@@ -4136,7 +4136,7 @@ includes nextCommand when another page is available.
4136
4136
  { exitCode: 2 }
4137
4137
  );
4138
4138
  }
4139
- const page = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.children(parentRunId, {
4139
+ const page = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.children(parentRunId, {
4140
4140
  launchKey: options.launchKey,
4141
4141
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4142
4142
  limit
@@ -4151,7 +4151,7 @@ includes nextCommand when another page is available.
4151
4151
  "--limit",
4152
4152
  String(limit)
4153
4153
  ].join(" ") : null;
4154
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
4154
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
4155
4155
  {
4156
4156
  parentRunId,
4157
4157
  launchKey: options.launchKey,
@@ -4187,7 +4187,7 @@ async function handleRunsHistory(options) {
4187
4187
  throw new Error("--limit must be a positive integer.");
4188
4188
  }
4189
4189
  }
4190
- const page = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.history({
4190
+ const page = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.history({
4191
4191
  cursor: options.cursor,
4192
4192
  orgId: options.org,
4193
4193
  search: options.search,
@@ -4203,7 +4203,7 @@ async function handleRunsHistory(options) {
4203
4203
  );
4204
4204
  }
4205
4205
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4206
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
4206
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
4207
4207
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4208
4208
  options.json ? { json: true } : {}
4209
4209
  );
@@ -4255,12 +4255,12 @@ async function runRunsRerunCommand(runId, options) {
4255
4255
  return 1;
4256
4256
  }
4257
4257
  }
4258
- const result = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.rerun(runId, {
4258
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.rerun(runId, {
4259
4259
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4260
4260
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4261
4261
  });
4262
- if (_chunkZL4Q4T3Gjs.shouldEmitJson.call(void 0, options.json)) {
4263
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, result, { json: true });
4262
+ if (_chunkTPQFCUPVjs.shouldEmitJson.call(void 0, options.json)) {
4263
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, result, { json: true });
4264
4264
  } else if (result.rateLimited) {
4265
4265
  console.log(`
4266
4266
  ${result.rateLimited.message}`);
@@ -5054,13 +5054,13 @@ var RunDataset = class _RunDataset {
5054
5054
  const absolutePath = _path.resolve.call(void 0, outPath);
5055
5055
  _fs.writeFileSync.call(void 0,
5056
5056
  absolutePath,
5057
- `${JSON.stringify(_chunkUTG3STCRjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5057
+ `${JSON.stringify(_chunkQUIJUNXXjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5058
5058
  `,
5059
5059
  "utf-8"
5060
5060
  );
5061
5061
  return absolutePath;
5062
5062
  }
5063
- return _chunkUTG3STCRjs.writeRunDatasetCsv.call(void 0, {
5063
+ return _chunkQUIJUNXXjs.writeRunDatasetCsv.call(void 0, {
5064
5064
  rows: this.rows,
5065
5065
  columns: this.#info.columns,
5066
5066
  outPath
@@ -6757,7 +6757,7 @@ function renderOutcome(outcome) {
6757
6757
  function printResult2(input) {
6758
6758
  const failed = input.status === "failed" || input.status === "cancelled";
6759
6759
  if (failed) process.exitCode = 1;
6760
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
6760
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
6761
6761
  {
6762
6762
  deployment: { ...input.deployment, status: input.status },
6763
6763
  plays: input.outcomes,
@@ -6782,7 +6782,7 @@ async function handlePlaysDeploy(directory, options) {
6782
6782
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6783
6783
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6784
6784
  });
6785
- const { http, config } = _chunkZL4Q4T3Gjs.getAuthedHttpClient.call(void 0, );
6785
+ const { http, config } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
6786
6786
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6787
6787
  const startDeployment = () => http.post("/api/v2/deployments", {
6788
6788
  deliveryId,
@@ -6809,7 +6809,7 @@ async function handlePlaysDeploy(directory, options) {
6809
6809
  },
6810
6810
  {
6811
6811
  bundle: bundleDeployPlayFile,
6812
- fetchImpl: _chunkGRIHMNYMjs.fetchWithDeploymentProtection,
6812
+ fetchImpl: _chunkEAQXRAVFjs.fetchWithDeploymentProtection,
6813
6813
  // The plays are already here: "opening" the source is naming it.
6814
6814
  openSource: async () => ({
6815
6815
  open: async () => ({ repoRoot: root })
@@ -6935,7 +6935,7 @@ async function checkLocalPlayGraph(input) {
6935
6935
  // src/cli/renderers/local-play-execution.ts
6936
6936
  function renderLocalPlayExecutionPlan(plan, options = {}) {
6937
6937
  if (options.dryRun) {
6938
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6938
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6939
6939
  return;
6940
6940
  }
6941
6941
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7107,7 +7107,7 @@ function traceCliSync(phase, fields2, run) {
7107
7107
  const startedAt = Date.now();
7108
7108
  try {
7109
7109
  const result = run();
7110
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
7110
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
7111
7111
  phase,
7112
7112
  ms: Date.now() - startedAt,
7113
7113
  ok: true,
@@ -7115,7 +7115,7 @@ function traceCliSync(phase, fields2, run) {
7115
7115
  });
7116
7116
  return result;
7117
7117
  } catch (error) {
7118
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
7118
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
7119
7119
  phase,
7120
7120
  ms: Date.now() - startedAt,
7121
7121
  ok: false,
@@ -7921,7 +7921,7 @@ function playStatusErrorText(status) {
7921
7921
  function isRetryablePendingStartFailure(status) {
7922
7922
  if (status.status !== "failed") return false;
7923
7923
  if (status.runId && status.runId !== "pending") return false;
7924
- return _chunkAOBAVBSXjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7924
+ return _chunkUA2GU7NBjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7925
7925
  }
7926
7926
  function isAmbiguousPlayStartOutcomeError(error) {
7927
7927
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && typeof error.statusCode === "number") {
@@ -7971,13 +7971,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkDIAWYWT5js.Deep
7971
7971
  }, _class);
7972
7972
  function watchSurfaceReaches(state, provenance, level) {
7973
7973
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
7974
- if (!_chunkAOBAVBSXjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7974
+ if (!_chunkUA2GU7NBjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7975
7975
  return false;
7976
7976
  }
7977
- if (_chunkAOBAVBSXjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7977
+ if (_chunkUA2GU7NBjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7978
7978
  return true;
7979
7979
  }
7980
- return state.verbose === true && _chunkAOBAVBSXjs.logProvenanceReaches.call(void 0, provenance, "debug");
7980
+ return state.verbose === true && _chunkUA2GU7NBjs.logProvenanceReaches.call(void 0, provenance, "debug");
7981
7981
  }
7982
7982
  function getEventPayload(event) {
7983
7983
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8487,7 +8487,7 @@ function resolvePlayRunUrl(input) {
8487
8487
  }
8488
8488
  function openPlayDashboard(url, open2) {
8489
8489
  if (open2 && url) {
8490
- _chunkZL4Q4T3Gjs.openInBrowser.call(void 0, url);
8490
+ _chunkTPQFCUPVjs.openInBrowser.call(void 0, url);
8491
8491
  }
8492
8492
  }
8493
8493
  function printPlayLogLines(input) {
@@ -8568,7 +8568,7 @@ async function waitForPlayCompletionByWatch(input) {
8568
8568
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8569
8569
  });
8570
8570
  } catch (error) {
8571
- if (_chunkAOBAVBSXjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8571
+ if (_chunkUA2GU7NBjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8572
8572
  return null;
8573
8573
  }
8574
8574
  throw error;
@@ -8649,9 +8649,9 @@ async function waitForPlayCompletionByWatch(input) {
8649
8649
  signal: controller.signal,
8650
8650
  deferLogs: !input.emitLogs,
8651
8651
  omitTerminalLogs: !input.emitLogs,
8652
- ..._chunkQZ7I4NZZjs.isCliTraceEnabled.call(void 0, ) ? {
8652
+ ..._chunkQERMP4TWjs.isCliTraceEnabled.call(void 0, ) ? {
8653
8653
  onPoll: (observation) => {
8654
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8654
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8655
8655
  phase: "play_watch_poll",
8656
8656
  workflowId: input.workflowId,
8657
8657
  ms: observation.durationMs,
@@ -8665,7 +8665,7 @@ async function waitForPlayCompletionByWatch(input) {
8665
8665
  full: input.fullJson,
8666
8666
  billing: false,
8667
8667
  onStatus: async (status) => {
8668
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8668
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8669
8669
  phase: "play_watch_terminal_status",
8670
8670
  workflowId: input.workflowId,
8671
8671
  full: input.fullJson === true
@@ -8754,7 +8754,7 @@ async function startAndWaitForPlayCompletion(input) {
8754
8754
  signal: controller.signal,
8755
8755
  cliAdmission: useCliAdmission
8756
8756
  });
8757
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8757
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8758
8758
  phase: "cli.play_start_admission_attempt",
8759
8759
  ms: Date.now() - postStartedAt,
8760
8760
  ok: true,
@@ -8766,7 +8766,7 @@ async function startAndWaitForPlayCompletion(input) {
8766
8766
  });
8767
8767
  break;
8768
8768
  } catch (error) {
8769
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8769
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8770
8770
  phase: "cli.play_start_admission_attempt",
8771
8771
  ms: Date.now() - postStartedAt,
8772
8772
  ok: false,
@@ -8817,7 +8817,7 @@ async function startAndWaitForPlayCompletion(input) {
8817
8817
  prepared.workflowId
8818
8818
  );
8819
8819
  }
8820
- await _chunkGKZUGHDKjs.checkPlayRunCompatibility.call(void 0,
8820
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0,
8821
8821
  input.client.baseUrl,
8822
8822
  input.maintenancePolicy
8823
8823
  );
@@ -8835,7 +8835,7 @@ async function startAndWaitForPlayCompletion(input) {
8835
8835
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
8836
8836
  );
8837
8837
  }
8838
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8838
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8839
8839
  phase: "cli.play_start_json_retry",
8840
8840
  ms: 0,
8841
8841
  ok: true,
@@ -8915,7 +8915,7 @@ async function startAndWaitForPlayCompletion(input) {
8915
8915
  _nullishCoalesce(input.open, () => ( false))
8916
8916
  );
8917
8917
  input.progress.phase("running");
8918
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8918
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8919
8919
  phase: "cli.play_start_admitted",
8920
8920
  ms: Date.now() - startedAt,
8921
8921
  ok: true,
@@ -8933,7 +8933,7 @@ async function startAndWaitForPlayCompletion(input) {
8933
8933
  startedAt,
8934
8934
  waitTimeoutMs: input.waitTimeoutMs
8935
8935
  });
8936
- const initialStatus = _chunkAOBAVBSXjs.normalizePlayStatus.call(void 0, initialTerminal);
8936
+ const initialStatus = _chunkUA2GU7NBjs.normalizePlayStatus.call(void 0, initialTerminal);
8937
8937
  const status2 = await resolvePlayRunOutputStatus({
8938
8938
  client: input.client,
8939
8939
  status: initialStatus,
@@ -8941,7 +8941,7 @@ async function startAndWaitForPlayCompletion(input) {
8941
8941
  jsonOutput: input.jsonOutput,
8942
8942
  fromDurableStatus: true
8943
8943
  });
8944
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
8944
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
8945
8945
  phase: "play_watch_terminal_status",
8946
8946
  workflowId,
8947
8947
  full: true,
@@ -9046,7 +9046,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9046
9046
  });
9047
9047
  }
9048
9048
  if (error instanceof _chunkEQR5O2D2js.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
9049
- await _chunkGKZUGHDKjs.checkPlayRunCompatibility.call(void 0,
9049
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0,
9050
9050
  input.client.baseUrl,
9051
9051
  input.maintenancePolicy,
9052
9052
  admissionDeadline.signal
@@ -9087,7 +9087,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9087
9087
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
9088
9088
  );
9089
9089
  }
9090
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9090
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9091
9091
  phase: "cli.play_start_stream_retry",
9092
9092
  ms: 0,
9093
9093
  ok: true,
@@ -9108,7 +9108,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9108
9108
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9109
9109
  );
9110
9110
  }
9111
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9111
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9112
9112
  phase: "cli.play_start_stream_retry",
9113
9113
  ms: 0,
9114
9114
  ok: true,
@@ -9165,7 +9165,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9165
9165
  if (launchConfirmed || !runId || runId === "pending") return;
9166
9166
  launchConfirmed = true;
9167
9167
  await _optionalChain([input, 'access', _313 => _313.onRunAdmitted, 'optionalCall', _314 => _314(runId)]);
9168
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9168
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9169
9169
  phase: "cli.play_start_admitted",
9170
9170
  ms: Date.now() - startedAt,
9171
9171
  ok: true,
@@ -9199,7 +9199,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9199
9199
  full: input.fullJson
9200
9200
  });
9201
9201
  } catch (error) {
9202
- if (_chunkAOBAVBSXjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9202
+ if (_chunkUA2GU7NBjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9203
9203
  return null;
9204
9204
  }
9205
9205
  throw error;
@@ -9370,7 +9370,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9370
9370
  };
9371
9371
  }
9372
9372
  if (!canonicalTerminal) {
9373
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9373
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9374
9374
  phase: "cli.play_start_stream_stale_terminal_ignored",
9375
9375
  ms: Date.now() - startedAt,
9376
9376
  ok: true,
@@ -9391,14 +9391,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9391
9391
  fromDurableStatus
9392
9392
  }) : canonicalTerminal;
9393
9393
  if (input.fullJson === true) {
9394
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9394
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9395
9395
  phase: "play_watch_terminal_status",
9396
9396
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9397
9397
  full: true,
9398
9398
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9399
9399
  });
9400
9400
  }
9401
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9401
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9402
9402
  phase: "cli.play_start_stream_terminal",
9403
9403
  ms: Date.now() - startedAt,
9404
9404
  ok: true,
@@ -9418,7 +9418,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9418
9418
  clearTimeout(timeout);
9419
9419
  }
9420
9420
  controller.abort();
9421
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9421
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9422
9422
  phase: "cli.play_start_stream_handoff_to_tail",
9423
9423
  ms: Date.now() - startedAt,
9424
9424
  ok: true,
@@ -9449,7 +9449,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9449
9449
  if (timedOut) {
9450
9450
  const terminal = await fetchKnownTerminalStatus();
9451
9451
  if (terminal) {
9452
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9452
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9453
9453
  phase: "cli.play_start_stream_timeout_status_reconcile",
9454
9454
  ms: Date.now() - startedAt,
9455
9455
  ok: true,
@@ -9469,7 +9469,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9469
9469
  lastPhase
9470
9470
  });
9471
9471
  }
9472
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkAOBAVBSXjs.isTransientPlayRunReadError.call(void 0, error))) {
9472
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkUA2GU7NBjs.isTransientPlayRunReadError.call(void 0, error))) {
9473
9473
  if (timeout) {
9474
9474
  clearTimeout(timeout);
9475
9475
  }
@@ -9480,7 +9480,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9480
9480
  `
9481
9481
  );
9482
9482
  }
9483
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9483
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9484
9484
  phase: "cli.play_start_stream_reconnect",
9485
9485
  ms: Date.now() - startedAt,
9486
9486
  ok: true,
@@ -9507,7 +9507,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9507
9507
  });
9508
9508
  }
9509
9509
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9510
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9510
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9511
9511
  phase: "cli.play_start_stream_transient_failure",
9512
9512
  ms: Date.now() - startedAt,
9513
9513
  ok: false,
@@ -9535,7 +9535,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9535
9535
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9536
9536
  );
9537
9537
  }
9538
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
9538
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
9539
9539
  phase: "cli.play_start_stream_reconnect",
9540
9540
  ms: Date.now() - startedAt,
9541
9541
  ok: true,
@@ -9615,7 +9615,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9615
9615
  "logs"
9616
9616
  ]);
9617
9617
  function formatPlayLogLine(rawLine, state) {
9618
- const classified = _chunkAOBAVBSXjs.classifyLogLine.call(void 0, rawLine);
9618
+ const classified = _chunkUA2GU7NBjs.classifyLogLine.call(void 0, rawLine);
9619
9619
  const line = classified.line;
9620
9620
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9621
9621
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _336 => _336[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9630,14 +9630,14 @@ function formatPlayLogLine(rawLine, state) {
9630
9630
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9631
9631
  const providerWait = formatProviderCapacityWaitLogLine(line);
9632
9632
  if (providerWait && !state.verbose) {
9633
- return _chunkAOBAVBSXjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9633
+ return _chunkUA2GU7NBjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9634
9634
  }
9635
9635
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9636
9636
  if (mapProgress && !state.verbose) {
9637
- return _chunkAOBAVBSXjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9637
+ return _chunkUA2GU7NBjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9638
9638
  }
9639
9639
  if (/\[worker\] picked up run\b/.test(message)) {
9640
- if (!_chunkAOBAVBSXjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9640
+ if (!_chunkUA2GU7NBjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9641
9641
  return null;
9642
9642
  }
9643
9643
  if (state.emittedRunnerStarted) {
@@ -9650,7 +9650,7 @@ function formatPlayLogLine(rawLine, state) {
9650
9650
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9651
9651
  );
9652
9652
  if (mapStart) {
9653
- if (!_chunkAOBAVBSXjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9653
+ if (!_chunkUA2GU7NBjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9654
9654
  return null;
9655
9655
  }
9656
9656
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9660,7 +9660,7 @@ function formatPlayLogLine(rawLine, state) {
9660
9660
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9661
9661
  );
9662
9662
  if (mapDone) {
9663
- if (!_chunkAOBAVBSXjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9663
+ if (!_chunkUA2GU7NBjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9664
9664
  return null;
9665
9665
  }
9666
9666
  const [, results, executed, cached] = mapDone;
@@ -10960,7 +10960,7 @@ function formatRecentRunLogLines(value) {
10960
10960
  (line) => typeof line === "string"
10961
10961
  );
10962
10962
  if (tail.length === 0) return [];
10963
- const shown = tail.map((line) => _chunkAOBAVBSXjs.classifyLogLine.call(void 0, line)).filter(
10963
+ const shown = tail.map((line) => _chunkUA2GU7NBjs.classifyLogLine.call(void 0, line)).filter(
10964
10964
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
10965
10965
  ).slice(-8);
10966
10966
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11258,11 +11258,11 @@ function buildPlayCompletionTextLines(status) {
11258
11258
  }
11259
11259
  function writePlayResult(status, jsonOutput, options) {
11260
11260
  const packaged = getPlayRunPackage(status);
11261
- if (status.package) _chunkUTG3STCRjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11261
+ if (status.package) _chunkQUIJUNXXjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11262
11262
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _424 => _424.hits]), () => ( null));
11263
11263
  if (jsonOutput) {
11264
11264
  const payload2 = _optionalChain([options, 'optionalAccess', _425 => _425.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11265
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
11265
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
11266
11266
  hits ? { ...payload2, hits } : payload2,
11267
11267
  { json: true, fields: _optionalChain([options, 'optionalAccess', _426 => _426.jsonFields]) }
11268
11268
  );
@@ -11278,7 +11278,7 @@ function writePlayResult(status, jsonOutput, options) {
11278
11278
  ...buildPlayCompletionTextLines(status),
11279
11279
  ...formatRunHitsLines(hits)
11280
11280
  ];
11281
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, displayPackage, {
11281
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, displayPackage, {
11282
11282
  json: false,
11283
11283
  text: `${lines2.join("\n")}
11284
11284
  `
@@ -11329,7 +11329,7 @@ function writePlayResult(status, jsonOutput, options) {
11329
11329
  lines.push(...buildBillingRollupTextLines(status));
11330
11330
  const compact = compactPlayStatus(status);
11331
11331
  const payload = _optionalChain([options, 'optionalAccess', _428 => _428.fullJson]) ? status : compact;
11332
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
11332
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
11333
11333
  {
11334
11334
  ...payload,
11335
11335
  render: {
@@ -11553,7 +11553,7 @@ async function fetchBackingDatasetRows(input) {
11553
11553
  }
11554
11554
  offset += page.rows.length;
11555
11555
  }
11556
- const withError = _chunkUTG3STCRjs.tableExportHasFailedRows.call(void 0,
11556
+ const withError = _chunkQUIJUNXXjs.tableExportHasFailedRows.call(void 0,
11557
11557
  sheetRows.filter(
11558
11558
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11559
11559
  )
@@ -11569,7 +11569,7 @@ async function fetchBackingDatasetRows(input) {
11569
11569
  return [
11570
11570
  withError ? {
11571
11571
  ...exported,
11572
- [_chunkUTG3STCRjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkUTG3STCRjs.tableExportErrorCell.call(void 0,
11572
+ [_chunkQUIJUNXXjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkQUIJUNXXjs.tableExportErrorCell.call(void 0,
11573
11573
  row
11574
11574
  )
11575
11575
  } : exported
@@ -12104,7 +12104,7 @@ function renderServerResultView(value) {
12104
12104
  function writeStartedPlayRun(input) {
12105
12105
  if (input.package && isPlayRunPackageValue(input.package)) {
12106
12106
  const run = input.package.run;
12107
- _chunkUTG3STCRjs.recordPlayTermination.call(void 0, {
12107
+ _chunkQUIJUNXXjs.recordPlayTermination.call(void 0, {
12108
12108
  id: run.id,
12109
12109
  status: run.status,
12110
12110
  finishedAt: run.finishedAt
@@ -12117,7 +12117,7 @@ function writeStartedPlayRun(input) {
12117
12117
  dashboardUrl: input.dashboardUrl,
12118
12118
  package: input.package
12119
12119
  };
12120
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12120
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12121
12121
  json: true,
12122
12122
  fields: input.jsonFields
12123
12123
  });
@@ -12139,7 +12139,7 @@ function writeStartedPlayRun(input) {
12139
12139
  input.progress.writeLine(output2, process.stdout);
12140
12140
  return;
12141
12141
  }
12142
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, input.package, {
12142
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, input.package, {
12143
12143
  json: false,
12144
12144
  text: `${output2}
12145
12145
  `
@@ -12174,7 +12174,7 @@ function writeStartedPlayRun(input) {
12174
12174
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12175
12175
  ];
12176
12176
  if (input.jsonOutput) {
12177
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12177
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12178
12178
  return;
12179
12179
  }
12180
12180
  const output = lines.join("\n");
@@ -12182,7 +12182,7 @@ function writeStartedPlayRun(input) {
12182
12182
  input.progress.writeLine(output, process.stdout);
12183
12183
  return;
12184
12184
  }
12185
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
12185
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
12186
12186
  {
12187
12187
  ...payload,
12188
12188
  render: { sections: [{ title: "play run", lines }] }
@@ -12192,7 +12192,7 @@ function writeStartedPlayRun(input) {
12192
12192
  );
12193
12193
  }
12194
12194
  function parsePlayCheckOptions(args) {
12195
- const selection = _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0, args, "check");
12195
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "check");
12196
12196
  args = selection.args;
12197
12197
  const target = args[0];
12198
12198
  if (!target || target.startsWith("-")) {
@@ -12204,7 +12204,7 @@ function parsePlayCheckOptions(args) {
12204
12204
  if (arg !== "--json" && arg !== "--full")
12205
12205
  throw new Error(`Unknown plays check option: ${arg}`);
12206
12206
  }
12207
- const jsonOutput = _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
12207
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
12208
12208
  return {
12209
12209
  target,
12210
12210
  jsonOutput,
@@ -12280,7 +12280,7 @@ ${PLAY_PUBLISH_USAGE}`
12280
12280
  useLatest,
12281
12281
  expectedArtifactHash,
12282
12282
  dryRun,
12283
- jsonOutput: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)
12283
+ jsonOutput: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args)
12284
12284
  };
12285
12285
  }
12286
12286
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12321,7 +12321,7 @@ ${PLAY_SAVE_USAGE}`);
12321
12321
  target,
12322
12322
  expectedArtifactHash,
12323
12323
  dryRun,
12324
- jsonOutput: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)
12324
+ jsonOutput: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args)
12325
12325
  };
12326
12326
  }
12327
12327
  function printScheduledPlayCapacity(capacity) {
@@ -12532,7 +12532,7 @@ function printBundledRuntimeWarning(bundle) {
12532
12532
  async function handlePlayCheck(args) {
12533
12533
  const options = parsePlayCheckOptions(args);
12534
12534
  if (!isFileTarget(options.target)) {
12535
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
12535
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
12536
12536
  try {
12537
12537
  await assertCanonicalNamedPlayReference(client, options.target, {
12538
12538
  command: "check"
@@ -12561,7 +12561,7 @@ async function handlePlayCheck(args) {
12561
12561
  },
12562
12562
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12563
12563
  };
12564
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, result, {
12564
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, result, {
12565
12565
  json: options.jsonOutput,
12566
12566
  fields: options.jsonFields,
12567
12567
  text: renderPlayCheckOutput(result) + "\n"
@@ -12571,7 +12571,7 @@ async function handlePlayCheck(args) {
12571
12571
  const resolved = _path.resolve.call(void 0, options.target);
12572
12572
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12573
12573
  if (options.jsonOutput) {
12574
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
12574
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
12575
12575
  {
12576
12576
  kind: "play_check",
12577
12577
  checked: "named_contract",
@@ -12591,18 +12591,7 @@ async function handlePlayCheck(args) {
12591
12591
  }
12592
12592
  const absolutePlayPath = _path.resolve.call(void 0, options.target);
12593
12593
  const sourceCode = _fs.readFileSync.call(void 0, absolutePlayPath, "utf-8");
12594
- const exportNames = resolvePlayCheckExportNames(sourceCode);
12595
- const outcomes = [];
12596
- for (const exportName of exportNames) {
12597
- outcomes.push(
12598
- await checkOneExportedPlay({
12599
- absolutePlayPath,
12600
- sourceCode,
12601
- exportName,
12602
- target: options.target
12603
- })
12604
- );
12605
- }
12594
+ const outcomes = await checkPlayFileExports({ absolutePlayPath, sourceCode });
12606
12595
  const primary = outcomes.find(
12607
12596
  (outcome) => outcome.exportName === _chunkKQSTV4MWjs.PLAY_DEFAULT_EXPORT
12608
12597
  );
@@ -12613,7 +12602,7 @@ async function handlePlayCheck(args) {
12613
12602
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12614
12603
  publishCommand: _optionalChain([primary, 'optionalAccess', _478 => _478.result, 'access', _479 => _479.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12615
12604
  });
12616
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, output, {
12605
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, output, {
12617
12606
  json: options.jsonOutput,
12618
12607
  fields: options.jsonFields,
12619
12608
  text: renderPlayCheckOutput(output) + "\n"
@@ -12648,6 +12637,20 @@ function artifactForProductionCompatibilityCheck(artifact) {
12648
12637
  }
12649
12638
  };
12650
12639
  }
12640
+ async function checkPlayFileExports(input) {
12641
+ const outcomes = [];
12642
+ for (const exportName of resolvePlayCheckExportNames(input.sourceCode)) {
12643
+ outcomes.push(
12644
+ await checkOneExportedPlay({
12645
+ absolutePlayPath: input.absolutePlayPath,
12646
+ sourceCode: input.sourceCode,
12647
+ exportName,
12648
+ client: input.client
12649
+ })
12650
+ );
12651
+ }
12652
+ return outcomes;
12653
+ }
12651
12654
  async function checkOneExportedPlay(input) {
12652
12655
  const { absolutePlayPath, sourceCode, exportName } = input;
12653
12656
  const fallbackName = await extractPlayName(sourceCode, absolutePlayPath);
@@ -12667,7 +12670,7 @@ async function checkOneExportedPlay(input) {
12667
12670
  }
12668
12671
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12669
12672
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12670
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
12673
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkOL2QEEXFjs.DeeplineClient)()));
12671
12674
  const integrationMode = resolveEvalIntegrationMode();
12672
12675
  const checked = await checkLocalPlayGraph({
12673
12676
  client,
@@ -12723,8 +12726,8 @@ async function handleFileBackedRun(options, hooks) {
12723
12726
  let prefetchClient;
12724
12727
  let admissionCapability;
12725
12728
  let cancelAdmissionCapability;
12726
- let cliAdmission = _chunkGKZUGHDKjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12727
- const progress = _nullishCoalesce(_chunkW7DZ6UGPjs.getActiveCliProgress.call(void 0, ), () => ( _chunkW7DZ6UGPjs.createCliProgress.call(void 0, !options.jsonOutput)));
12729
+ let cliAdmission = _chunkDB7SJKGIjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12730
+ const progress = _nullishCoalesce(_chunkPKTJN6PFjs.getActiveCliProgress.call(void 0, ), () => ( _chunkPKTJN6PFjs.createCliProgress.call(void 0, !options.jsonOutput)));
12728
12731
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12729
12732
  progress.phase("compiling play");
12730
12733
  const sourceCode = traceCliSync(
@@ -12740,11 +12743,11 @@ async function handleFileBackedRun(options, hooks) {
12740
12743
  return 1;
12741
12744
  }
12742
12745
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12743
- const clientForPrefetch = new (0, _chunk5GK6J7MHjs.DeeplineClient)(playRunClientOptions(options));
12746
+ const clientForPrefetch = new (0, _chunkOL2QEEXFjs.DeeplineClient)(playRunClientOptions(options));
12744
12747
  prefetchClient = clientForPrefetch;
12745
12748
  const capabilityController = new AbortController();
12746
12749
  cancelAdmissionCapability = () => capabilityController.abort();
12747
- admissionCapability = _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12750
+ admissionCapability = _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12748
12751
  "cli.play_admission_capability_prefetch",
12749
12752
  { targetKind: "file" },
12750
12753
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -12755,7 +12758,7 @@ async function handleFileBackedRun(options, hooks) {
12755
12758
  }
12756
12759
  let graph;
12757
12760
  try {
12758
- graph = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12761
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12759
12762
  "cli.play_file_bundle_graph",
12760
12763
  { targetKind: "file" },
12761
12764
  () => collectBundledPlayGraph(
@@ -12769,14 +12772,14 @@ async function handleFileBackedRun(options, hooks) {
12769
12772
  if (options.dryRun) {
12770
12773
  progress.complete();
12771
12774
  renderLocalPlayExecutionPlan(
12772
- _chunkJEPNE4N5js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12775
+ _chunkVUNAIAMXjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12773
12776
  { dryRun: true, json: options.jsonOutput }
12774
12777
  );
12775
12778
  return 0;
12776
12779
  }
12777
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunk5GK6J7MHjs.DeeplineClient)(playRunClientOptions(options))));
12780
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkOL2QEEXFjs.DeeplineClient)(playRunClientOptions(options))));
12778
12781
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12779
- await _chunkGKZUGHDKjs.checkPlayRunCompatibility.call(void 0,
12782
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0,
12780
12783
  client.baseUrl,
12781
12784
  options.maintenancePolicy
12782
12785
  );
@@ -12789,7 +12792,7 @@ async function handleFileBackedRun(options, hooks) {
12789
12792
  });
12790
12793
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12791
12794
  if (canDeferCompilerManifest) {
12792
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
12795
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
12793
12796
  phase: "cli.play_file_compile_manifests",
12794
12797
  ms: 0,
12795
12798
  ok: true,
@@ -12798,7 +12801,7 @@ async function handleFileBackedRun(options, hooks) {
12798
12801
  reason: "validated_by_run_route"
12799
12802
  });
12800
12803
  } else {
12801
- await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12804
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12802
12805
  "cli.play_file_compile_manifests",
12803
12806
  { targetKind: "file", skipped: false },
12804
12807
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12819,13 +12822,13 @@ async function handleFileBackedRun(options, hooks) {
12819
12822
  if (bundleResult.importedPlayDependencies.length > 0) {
12820
12823
  try {
12821
12824
  renderLocalPlayExecutionPlan(
12822
- _chunkJEPNE4N5js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12825
+ _chunkVUNAIAMXjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12823
12826
  );
12824
12827
  progress.phase("pinning imported plays");
12825
- graph = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12828
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12826
12829
  "cli.play_file_pin_imports",
12827
12830
  { targetKind: "file" },
12828
- () => _chunkJEPNE4N5js.pinLocalPlayImports.call(void 0, client, graph)
12831
+ () => _chunkVUNAIAMXjs.pinLocalPlayImports.call(void 0, client, graph)
12829
12832
  );
12830
12833
  bundleResult = graph.root;
12831
12834
  } catch (error) {
@@ -12841,7 +12844,7 @@ async function handleFileBackedRun(options, hooks) {
12841
12844
  const fileInputBindings = _chunkEQR5O2D2js.fileInputBindingsFromStaticPipeline.call(void 0,
12842
12845
  _optionalChain([compilerManifest, 'optionalAccess', _488 => _488.staticPipeline])
12843
12846
  );
12844
- const stagedFileInputs = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12847
+ const stagedFileInputs = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12845
12848
  "cli.play_stage_inputs",
12846
12849
  {
12847
12850
  targetKind: "file",
@@ -12888,7 +12891,7 @@ async function handleFileBackedRun(options, hooks) {
12888
12891
  };
12889
12892
  if (options.watch) {
12890
12893
  progress.phase("starting run");
12891
- const finalStatus = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12894
+ const finalStatus = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12892
12895
  "cli.play_start_watch",
12893
12896
  { targetKind: "file", playName },
12894
12897
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12950,7 +12953,7 @@ async function handleFileBackedRun(options, hooks) {
12950
12953
  return outputStatus.status === "completed" ? 0 : 1;
12951
12954
  }
12952
12955
  progress.phase("starting run");
12953
- const started = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
12956
+ const started = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12954
12957
  "cli.play_start_unwatched",
12955
12958
  { targetKind: "file", playName },
12956
12959
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _495 => _495.onSubmission]) }).catch(async (error) => {
@@ -13016,9 +13019,9 @@ async function handleNamedRun(options, hooks) {
13016
13019
  if (options.target.kind !== "name") {
13017
13020
  throw new Error("Expected a named play run target.");
13018
13021
  }
13019
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)(playRunClientOptions(options));
13020
- let cliAdmission = _chunkGKZUGHDKjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13021
- const progress = _nullishCoalesce(_chunkW7DZ6UGPjs.getActiveCliProgress.call(void 0, ), () => ( _chunkW7DZ6UGPjs.createCliProgress.call(void 0, !options.jsonOutput)));
13022
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)(playRunClientOptions(options));
13023
+ let cliAdmission = _chunkDB7SJKGIjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13024
+ const progress = _nullishCoalesce(_chunkPKTJN6PFjs.getActiveCliProgress.call(void 0, ), () => ( _chunkPKTJN6PFjs.createCliProgress.call(void 0, !options.jsonOutput)));
13022
13025
  const playName = options.target.name;
13023
13026
  const runtimeInput = options.input ? { ...options.input } : {};
13024
13027
  try {
@@ -13036,7 +13039,7 @@ async function handleNamedRun(options, hooks) {
13036
13039
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13037
13040
  const capabilityController = new AbortController();
13038
13041
  cancelAdmissionCapability = () => capabilityController.abort();
13039
- admissionCapability = _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13042
+ admissionCapability = _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13040
13043
  "cli.play_admission_capability_prefetch",
13041
13044
  { targetKind: "name", playName },
13042
13045
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13047,14 +13050,14 @@ async function handleNamedRun(options, hooks) {
13047
13050
  }
13048
13051
  const playDetail = needsPlayDefinition ? await (async () => {
13049
13052
  progress.phase("loading play definition");
13050
- return _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13053
+ return _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13051
13054
  "cli.play_load_definition",
13052
13055
  { targetKind: "name", playName, skipped: false },
13053
13056
  () => assertCanonicalNamedPlayReference(client, playName, {
13054
13057
  command: "run"
13055
13058
  })
13056
13059
  );
13057
- })() : (_chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
13060
+ })() : (_chunkQERMP4TWjs.recordCliTrace.call(void 0, {
13058
13061
  phase: "cli.play_load_definition",
13059
13062
  ms: 0,
13060
13063
  ok: true,
@@ -13063,7 +13066,7 @@ async function handleNamedRun(options, hooks) {
13063
13066
  skipped: true
13064
13067
  }), null);
13065
13068
  progress.phase("selecting revision");
13066
- const selectedRevisionId = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13069
+ const selectedRevisionId = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13067
13070
  "cli.play_select_revision",
13068
13071
  {
13069
13072
  targetKind: "name",
@@ -13088,10 +13091,10 @@ async function handleNamedRun(options, hooks) {
13088
13091
  ..._chunkEQR5O2D2js.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13089
13092
  ] : [];
13090
13093
  if (cliAdmission && fileInputBindings.length > 0) {
13091
- await _chunkGKZUGHDKjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13094
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13092
13095
  cliAdmission = false;
13093
13096
  }
13094
- const stagedFileInputs = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13097
+ const stagedFileInputs = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13095
13098
  "cli.play_stage_inputs",
13096
13099
  {
13097
13100
  targetKind: "name",
@@ -13135,7 +13138,7 @@ async function handleNamedRun(options, hooks) {
13135
13138
  });
13136
13139
  if (options.watch) {
13137
13140
  progress.phase("starting run");
13138
- const finalStatus = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13141
+ const finalStatus = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13139
13142
  "cli.play_start_watch",
13140
13143
  { targetKind: "name", playName },
13141
13144
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13200,7 +13203,7 @@ async function handleNamedRun(options, hooks) {
13200
13203
  return outputStatus.status === "completed" ? 0 : 1;
13201
13204
  }
13202
13205
  progress.phase("starting run");
13203
- const started = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
13206
+ const started = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13204
13207
  "cli.play_start_unwatched",
13205
13208
  { targetKind: "name", playName },
13206
13209
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _508 => _508.onSubmission]) }).catch(async (error) => {
@@ -13260,7 +13263,7 @@ async function writePlayRunReceipt(client, status, output) {
13260
13263
  const next = { status: `deepline runs get ${status.runId}` };
13261
13264
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _516 => _516.exec, 'call', _517 => _517(status.runId), 'optionalAccess', _518 => _518[1]]), () => ( extractRunPlayName(status))), () => ( null));
13262
13265
  if (!terminal) {
13263
- _chunkUTG3STCRjs.writeExecutionOutput.call(void 0,
13266
+ _chunkQUIJUNXXjs.writeExecutionOutput.call(void 0,
13264
13267
  {
13265
13268
  id: status.runId,
13266
13269
  status: status.status,
@@ -13340,10 +13343,10 @@ async function writePlayRunReceipt(client, status, output) {
13340
13343
  };
13341
13344
  }
13342
13345
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13343
- const allCollections = _chunkUTG3STCRjs.outputCollections.call(void 0, data).map(
13346
+ const allCollections = _chunkQUIJUNXXjs.outputCollections.call(void 0, data).map(
13344
13347
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13345
13348
  );
13346
- _chunkUTG3STCRjs.writeExecutionOutput.call(void 0,
13349
+ _chunkQUIJUNXXjs.writeExecutionOutput.call(void 0,
13347
13350
  {
13348
13351
  id: status.runId,
13349
13352
  status: status.status,
@@ -13364,7 +13367,7 @@ async function writePlayRunReceipt(client, status, output) {
13364
13367
  }
13365
13368
  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;
13366
13369
  async function handlePlayRun(args, hooks) {
13367
- const parsedOptions = Array.isArray(args) ? _chunkPHVRS56Fjs.parsePlayRunOptions.call(void 0, args) : args;
13370
+ const parsedOptions = Array.isArray(args) ? _chunkYCGVVUGXjs.parsePlayRunOptions.call(void 0, args) : args;
13368
13371
  const options = parsedOptions.runIdFile ? {
13369
13372
  ...parsedOptions,
13370
13373
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13381,7 +13384,7 @@ async function handlePlayRun(args, hooks) {
13381
13384
  JSON.stringify({
13382
13385
  version: 1,
13383
13386
  admissionState: "submitted_unknown",
13384
- baseUrl: new (0, _chunk5GK6J7MHjs.DeeplineClient)().baseUrl,
13387
+ baseUrl: new (0, _chunkOL2QEEXFjs.DeeplineClient)().baseUrl,
13385
13388
  ...intent
13386
13389
  })
13387
13390
  );
@@ -13610,7 +13613,7 @@ function renderRunOverviewText(overview, extras = {}) {
13610
13613
  );
13611
13614
  return `${lines.join("\n")}
13612
13615
 
13613
- ${_chunkZL4Q4T3Gjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13616
+ ${_chunkTPQFCUPVjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13614
13617
  }
13615
13618
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13616
13619
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13634,7 +13637,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13634
13637
  }
13635
13638
  }
13636
13639
  async function handleRunGet(args) {
13637
- const selection = _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0,
13640
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0,
13638
13641
  args,
13639
13642
  args.includes("--config") ? "config" : "get"
13640
13643
  );
@@ -13647,7 +13650,7 @@ async function handleRunGet(args) {
13647
13650
  console.error(error instanceof Error ? error.message : usage2);
13648
13651
  return 1;
13649
13652
  }
13650
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
13653
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
13651
13654
  const timing = args.includes("--timing");
13652
13655
  const web = args.includes("--web");
13653
13656
  if (web || args.includes("--web-url")) {
@@ -13665,8 +13668,8 @@ async function handleRunGet(args) {
13665
13668
  const dashboardUrl2 = _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13666
13669
  const runUrl2 = _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
13667
13670
  if (web) {
13668
- const opened = _chunkZL4Q4T3Gjs.openInBrowser.call(void 0, runUrl2);
13669
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13671
+ const opened = _chunkTPQFCUPVjs.openInBrowser.call(void 0, runUrl2);
13672
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13670
13673
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
13671
13674
  {
13672
13675
  json: args.includes("--json"),
@@ -13677,7 +13680,7 @@ async function handleRunGet(args) {
13677
13680
  );
13678
13681
  return 0;
13679
13682
  }
13680
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13683
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13681
13684
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
13682
13685
  { json: args.includes("--json"), text: `${runUrl2}
13683
13686
  ` }
@@ -13702,7 +13705,7 @@ async function handleRunGet(args) {
13702
13705
  "This server does not support recorded configuration reads."
13703
13706
  );
13704
13707
  }
13705
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13708
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13706
13709
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13707
13710
  { json: true, fields: selection.fields }
13708
13711
  );
@@ -13715,7 +13718,7 @@ async function handleRunGet(args) {
13715
13718
  timing,
13716
13719
  () => client.getRunInput(runId)
13717
13720
  );
13718
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, input, { json: true });
13721
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, input, { json: true });
13719
13722
  return 0;
13720
13723
  }
13721
13724
  const full = args.includes("--full");
@@ -13728,7 +13731,7 @@ async function handleRunGet(args) {
13728
13731
  failedLogs: args.includes("--log-failed")
13729
13732
  })
13730
13733
  );
13731
- if (status.package) _chunkUTG3STCRjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13734
+ if (status.package) _chunkQUIJUNXXjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13732
13735
  if (!status.package) {
13733
13736
  const legacyStatus = full ? await withRunReadTiming(
13734
13737
  "runs get",
@@ -13742,8 +13745,8 @@ async function handleRunGet(args) {
13742
13745
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13743
13746
  const legacyDashboardUrl = legacyPlayName ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13744
13747
  const legacyRunUrl = legacyPlayName ? _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
13745
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
13746
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13748
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
13749
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13747
13750
  {
13748
13751
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13749
13752
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -13754,7 +13757,7 @@ async function handleRunGet(args) {
13754
13757
  } else {
13755
13758
  writePlayResult(legacyStatus, false, { fullJson: full });
13756
13759
  if (legacyRunUrl)
13757
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13760
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13758
13761
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
13759
13762
  { json: false, text: `run page: ${legacyRunUrl}
13760
13763
  ` }
@@ -13784,11 +13787,11 @@ async function handleRunGet(args) {
13784
13787
  )
13785
13788
  ]);
13786
13789
  const hitLines = formatRunHitsLines(hits);
13787
- const json = _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
13790
+ const json = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
13788
13791
  const playName = resolveRunPlayName(status, runId);
13789
13792
  const dashboardUrl = playName ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13790
13793
  const runUrl = playName ? _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
13791
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
13794
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13792
13795
  {
13793
13796
  ...overview,
13794
13797
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13893,9 +13896,9 @@ async function handleRunLifecycleStatus(args) {
13893
13896
  console.error(error instanceof Error ? error.message : usage2);
13894
13897
  return 1;
13895
13898
  }
13896
- const status = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.status(runId);
13897
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
13898
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, status, { json: true });
13899
+ const status = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.status(runId);
13900
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
13901
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, status, { json: true });
13899
13902
  return 0;
13900
13903
  }
13901
13904
  if (!status.available) {
@@ -13935,7 +13938,7 @@ async function handleRunsRerun(args) {
13935
13938
  console.error(error instanceof Error ? error.message : usage2);
13936
13939
  return 1;
13937
13940
  }
13938
- const options = { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) };
13941
+ const options = { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) };
13939
13942
  for (let index = 0; index < args.length; index += 1) {
13940
13943
  if (args[index] === "--idempotency-key") {
13941
13944
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14001,8 +14004,8 @@ ${usage2}
14001
14004
  Discover Plays: ${next.discover}
14002
14005
  Active runs: ${next.running}`
14003
14006
  );
14004
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
14005
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14007
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
14008
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14006
14009
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14007
14010
  { json: true }
14008
14011
  );
@@ -14017,7 +14020,7 @@ Active runs: ${next.running}`
14017
14020
  console.error("--offset requires --play.");
14018
14021
  return 1;
14019
14022
  }
14020
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14023
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14021
14024
  const page = await withRunReadTiming(
14022
14025
  "runs list",
14023
14026
  "run inventory",
@@ -14084,14 +14087,14 @@ Active runs: ${next.running}`
14084
14087
  return lines2.join("\n");
14085
14088
  });
14086
14089
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
14087
- 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}${_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14090
+ 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}${_chunkTPQFCUPVjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14088
14091
  if (page.hasMore) {
14089
14092
  lines.push("List truncated \u2014 more runs match this filter.");
14090
14093
  lines.push(
14091
14094
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14092
14095
  );
14093
14096
  }
14094
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14097
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14095
14098
  {
14096
14099
  runs,
14097
14100
  count: runs.length,
@@ -14105,7 +14108,7 @@ Active runs: ${next.running}`
14105
14108
  },
14106
14109
  render: { sections: [{ title: "runs", lines }] }
14107
14110
  },
14108
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14111
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14109
14112
  );
14110
14113
  return 0;
14111
14114
  }
@@ -14135,7 +14138,7 @@ async function handleRunTail(args) {
14135
14138
  console.error("--log-level requires one of: debug, info, warn, error.");
14136
14139
  return 1;
14137
14140
  }
14138
- const parsed = _chunkAOBAVBSXjs.parseLogLevel.call(void 0, value);
14141
+ const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
14139
14142
  if (!parsed) {
14140
14143
  console.error(
14141
14144
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14173,9 +14176,9 @@ async function handleRunTail(args) {
14173
14176
  );
14174
14177
  return 1;
14175
14178
  }
14176
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14179
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14177
14180
  const jsonLines = args.includes("--jsonl");
14178
- const jsonOutput = !jsonLines && _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
14181
+ const jsonOutput = !jsonLines && _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
14179
14182
  const compact = args.includes("--compact");
14180
14183
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14181
14184
  const compactState = {
@@ -14256,7 +14259,7 @@ async function handleRunLogs(args) {
14256
14259
  ]);
14257
14260
  const cursorIndex = args.indexOf("--cursor");
14258
14261
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14259
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkAOBAVBSXjs.isRunLogsCursor.call(void 0, cursorValue));
14262
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkUA2GU7NBjs.isRunLogsCursor.call(void 0, cursorValue));
14260
14263
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14261
14264
  return handleRunEventSearch(args);
14262
14265
  }
@@ -14290,7 +14293,7 @@ async function handleRunLogs(args) {
14290
14293
  console.error("--log-level requires one of: debug, info, warn, error.");
14291
14294
  return 1;
14292
14295
  }
14293
- const parsed = _chunkAOBAVBSXjs.parseLogLevel.call(void 0, value);
14296
+ const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
14294
14297
  if (!parsed) {
14295
14298
  console.error(
14296
14299
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14337,12 +14340,12 @@ async function handleRunLogs(args) {
14337
14340
  );
14338
14341
  return 1;
14339
14342
  }
14340
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14343
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14341
14344
  if (outPath) {
14342
14345
  const result2 = await client.runs.logs(runId, { all: true });
14343
- const logs = result2.entries.filter((line) => _chunkAOBAVBSXjs.logLevelReaches.call(void 0, _chunkAOBAVBSXjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkAOBAVBSXjs.classifyLogLine.call(void 0, line).line);
14346
+ const logs = result2.entries.filter((line) => _chunkUA2GU7NBjs.logLevelReaches.call(void 0, _chunkUA2GU7NBjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkUA2GU7NBjs.classifyLogLine.call(void 0, line).line);
14344
14347
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14345
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14348
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14346
14349
  {
14347
14350
  runId: result2.runId,
14348
14351
  log_path: outPath,
@@ -14365,7 +14368,7 @@ async function handleRunLogs(args) {
14365
14368
  ]
14366
14369
  }
14367
14370
  },
14368
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14371
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14369
14372
  );
14370
14373
  return 0;
14371
14374
  }
@@ -14396,7 +14399,7 @@ async function handleRunLogs(args) {
14396
14399
  }
14397
14400
  };
14398
14401
  const text = buildRunLogsText(filteredResult);
14399
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14402
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14400
14403
  {
14401
14404
  runId: result.runId,
14402
14405
  totalCount: result.totalCount,
@@ -14420,7 +14423,7 @@ async function handleRunLogs(args) {
14420
14423
  render: { sections: [{ title: "run logs", lines: entries }] }
14421
14424
  },
14422
14425
  {
14423
- json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args),
14426
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14424
14427
  text
14425
14428
  }
14426
14429
  );
@@ -14444,7 +14447,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14444
14447
  );
14445
14448
  }
14446
14449
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14447
- (entry) => _chunkAOBAVBSXjs.logLevelReaches.call(void 0, _chunkAOBAVBSXjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14450
+ (entry) => _chunkUA2GU7NBjs.logLevelReaches.call(void 0, _chunkUA2GU7NBjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14448
14451
  );
14449
14452
  const selected = matching.slice(-limit);
14450
14453
  const olderMatchesExist = matching.length > selected.length;
@@ -14454,7 +14457,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14454
14457
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _550 => _550.at, 'call', _551 => _551(-1), 'optionalAccess', _552 => _552.seq]), () => ( null)),
14455
14458
  truncated: result.truncated || olderMatchesExist,
14456
14459
  hasMore: olderMatchesExist,
14457
- nextCursor: olderMatchesExist ? _chunkAOBAVBSXjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14460
+ nextCursor: olderMatchesExist ? _chunkUA2GU7NBjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14458
14461
  };
14459
14462
  }
14460
14463
  async function handleRunEventSearch(args) {
@@ -14521,7 +14524,7 @@ ${usage2}`);
14521
14524
  namespace,
14522
14525
  ...backend ? { backend } : {}
14523
14526
  } : void 0;
14524
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14527
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14525
14528
  const result = await client.runs.searchEvents({
14526
14529
  ...runId ? { runId } : {},
14527
14530
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14593,7 +14596,7 @@ ${renderedDetails}` : ""}`;
14593
14596
  "--limit",
14594
14597
  String(limit)
14595
14598
  ].join(" ") : null;
14596
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14599
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14597
14600
  {
14598
14601
  events,
14599
14602
  nextCursor: result.nextCursor,
@@ -14604,14 +14607,14 @@ ${renderedDetails}` : ""}`;
14604
14607
  render: { sections: [{ title: "runtime events", lines }] }
14605
14608
  },
14606
14609
  {
14607
- json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args),
14610
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14608
14611
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14609
14612
  }
14610
14613
  );
14611
14614
  return 0;
14612
14615
  }
14613
14616
  function buildRunLogsText(result) {
14614
- const lines = result.entries.map((line) => _chunkAOBAVBSXjs.classifyLogLine.call(void 0, line).line);
14617
+ const lines = result.entries.map((line) => _chunkUA2GU7NBjs.classifyLogLine.call(void 0, line).line);
14615
14618
  if (result.warning) {
14616
14619
  if (lines.length > 0) lines.push("");
14617
14620
  lines.push(`warning: ${result.warning}`);
@@ -14645,7 +14648,7 @@ async function handleRunStop(args) {
14645
14648
  reason = args[++index];
14646
14649
  }
14647
14650
  }
14648
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14651
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14649
14652
  const result = await client.runs.stop(runId, { reason });
14650
14653
  const state = resolveRunStopState(result);
14651
14654
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14660,7 +14663,7 @@ async function handleRunStop(args) {
14660
14663
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14661
14664
  `inspect: deepline runs get ${runId} --full`
14662
14665
  ];
14663
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14666
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14664
14667
  {
14665
14668
  ...cancelling,
14666
14669
  state,
@@ -14675,7 +14678,7 @@ async function handleRunStop(args) {
14675
14678
  ]
14676
14679
  }
14677
14680
  },
14678
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14681
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14679
14682
  );
14680
14683
  return 0;
14681
14684
  }
@@ -14692,7 +14695,7 @@ async function handleRunStop(args) {
14692
14695
  ];
14693
14696
  process.stderr.write(`${lines2.join("\n")}
14694
14697
  `);
14695
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14698
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14696
14699
  {
14697
14700
  ...result,
14698
14701
  render: {
@@ -14707,7 +14710,7 @@ async function handleRunStop(args) {
14707
14710
  ]
14708
14711
  }
14709
14712
  },
14710
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14713
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14711
14714
  );
14712
14715
  return 1;
14713
14716
  }
@@ -14718,12 +14721,12 @@ async function handleRunStop(args) {
14718
14721
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14719
14722
  ] : []
14720
14723
  ];
14721
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14724
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14722
14725
  {
14723
14726
  ...result,
14724
14727
  render: { sections: [{ title: "run stop", lines }] }
14725
14728
  },
14726
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14729
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14727
14730
  );
14728
14731
  return 0;
14729
14732
  }
@@ -14773,18 +14776,18 @@ async function handleRunStopAll(args) {
14773
14776
  reason = args[++index];
14774
14777
  }
14775
14778
  }
14776
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14779
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14777
14780
  if (dryRun) {
14778
14781
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14779
14782
  const lines2 = buildStopAllDryRunTextLines(result2);
14780
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14783
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14781
14784
  {
14782
14785
  ...result2,
14783
14786
  render: {
14784
14787
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14785
14788
  }
14786
14789
  },
14787
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14790
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14788
14791
  ` }
14789
14792
  );
14790
14793
  return 0;
@@ -14797,17 +14800,17 @@ async function handleRunStopAll(args) {
14797
14800
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14798
14801
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14799
14802
  ];
14800
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
14803
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14801
14804
  {
14802
14805
  ...result,
14803
14806
  render: { sections: [{ title: "workspace stop-all", lines }] }
14804
14807
  },
14805
- { json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) }
14808
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14806
14809
  );
14807
14810
  return result.failed > 0 || result.partial ? 1 : 0;
14808
14811
  }
14809
14812
  async function handleRunExport(args) {
14810
- const selection = _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0, args, "export");
14813
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "export");
14811
14814
  args = selection.args;
14812
14815
  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]";
14813
14816
  let runId;
@@ -14878,17 +14881,17 @@ async function handleRunExport(args) {
14878
14881
  "INVALID_ARGUMENT"
14879
14882
  );
14880
14883
  }
14881
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
14884
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14882
14885
  let status = await client.getPlayStatus(runId, { full: true });
14883
14886
  assertRunExportStatusIdentity(status, runId);
14884
14887
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14885
- const progress = _chunkW7DZ6UGPjs.createCliProgress.call(void 0, !_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args));
14888
+ const progress = _chunkPKTJN6PFjs.createCliProgress.call(void 0, !_chunkTPQFCUPVjs.argsWantJson.call(void 0, args));
14886
14889
  try {
14887
14890
  await waitForPlayCompletionByWatch({
14888
14891
  client,
14889
14892
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14890
14893
  workflowId: runId,
14891
- jsonOutput: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args),
14894
+ jsonOutput: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14892
14895
  emitLogs: false,
14893
14896
  waitTimeoutMs,
14894
14897
  startedAt: Date.now(),
@@ -14956,7 +14959,7 @@ async function handleRunExport(args) {
14956
14959
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _566 => _566.rowsInfo, 'access', _567 => _567.totalRows]), () => ( null)),
14957
14960
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14958
14961
  ...rowFailures ? { rowFailures } : {},
14959
- columns: _chunkUTG3STCRjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _568 => _568.rowsInfo, 'access', _569 => _569.columns]), () => ( []))),
14962
+ columns: _chunkQUIJUNXXjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _568 => _568.rowsInfo, 'access', _569 => _569.columns]), () => ( []))),
14960
14963
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14961
14964
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14962
14965
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14990,8 +14993,8 @@ async function handleRunExport(args) {
14990
14993
  "utf-8"
14991
14994
  );
14992
14995
  }
14993
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, payload, {
14994
- json: _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args),
14996
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, payload, {
14997
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14995
14998
  fields: selection.fields,
14996
14999
  text: `${lines.join("\n")}
14997
15000
  `
@@ -15025,10 +15028,10 @@ async function handlePlayGet(args) {
15025
15028
  );
15026
15029
  return 2;
15027
15030
  }
15028
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15031
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15029
15032
  const explicitJson = args.includes("--json");
15030
15033
  const sourceOutput = args.includes("--source");
15031
- const jsonOutput = sourceOutput ? explicitJson : _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
15034
+ const jsonOutput = sourceOutput ? explicitJson : _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15032
15035
  const requestedRevisionFlags = [
15033
15036
  args.includes("--working"),
15034
15037
  args.includes("--live"),
@@ -15091,7 +15094,7 @@ async function handlePlayGet(args) {
15091
15094
  }
15092
15095
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15093
15096
  if (jsonOutput) {
15094
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
15097
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15095
15098
  ...detail,
15096
15099
  ...materializedFile ? {
15097
15100
  message: loadedMessage,
@@ -15183,8 +15186,8 @@ async function handlePlayVersions(args) {
15183
15186
  console.error("Usage: deepline plays versions --name <name> [--json]");
15184
15187
  return 1;
15185
15188
  }
15186
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15187
- const jsonOutput = _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
15189
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15190
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15188
15191
  await assertCanonicalNamedPlayReference(client, playName, {
15189
15192
  command: "versions"
15190
15193
  });
@@ -15192,7 +15195,7 @@ async function handlePlayVersions(args) {
15192
15195
  parseReferencedPlayTarget(playName).playName
15193
15196
  );
15194
15197
  if (jsonOutput) {
15195
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, { versions });
15198
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, { versions });
15196
15199
  return 0;
15197
15200
  }
15198
15201
  if (versions.length === 0) {
@@ -15235,8 +15238,8 @@ async function handlePlayCost(args) {
15235
15238
  console.error("Usage: deepline plays cost <play> [--json]");
15236
15239
  return 2;
15237
15240
  }
15238
- const result = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getPlayCostEstimate(name);
15239
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15241
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlayCostEstimate(name);
15242
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15240
15243
  else
15241
15244
  console.log(
15242
15245
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -15244,9 +15247,9 @@ async function handlePlayCost(args) {
15244
15247
  return 0;
15245
15248
  }
15246
15249
  async function handlePlayList(args) {
15247
- const jsonOutput = _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
15250
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15248
15251
  const showCost = args.includes("--show-cost");
15249
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15252
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15250
15253
  const categoriesIndex = args.indexOf("--categories");
15251
15254
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _589 => _589[categoriesIndex + 1], 'optionalAccess', _590 => _590.trim, 'call', _591 => _591()]) : void 0;
15252
15255
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15344,7 +15347,7 @@ async function handlePlayList(args) {
15344
15347
  lines.push("List truncated \u2014 more plays are available.");
15345
15348
  lines.push(`Next page: ${nextPage}`);
15346
15349
  }
15347
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
15350
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
15348
15351
  {
15349
15352
  plays,
15350
15353
  count: plays.length,
@@ -15362,7 +15365,7 @@ async function handlePlayList(args) {
15362
15365
  }
15363
15366
  async function handlePlayPin(args, pinned) {
15364
15367
  const target = _optionalChain([args, 'access', _600 => _600.find, 'call', _601 => _601((arg) => !arg.startsWith("-")), 'optionalAccess', _602 => _602.trim, 'call', _603 => _603()]);
15365
- const jsonOutput = _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
15368
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15366
15369
  const dryRun = args.includes("--dry-run");
15367
15370
  if (!target) {
15368
15371
  console.error(
@@ -15380,11 +15383,11 @@ async function handlePlayPin(args, pinned) {
15380
15383
  const name = parsedTarget.playName;
15381
15384
  const plan = { name, pinned, dryRun };
15382
15385
  if (dryRun) {
15383
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, plan);
15386
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, plan);
15384
15387
  return 0;
15385
15388
  }
15386
- const result = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().setPlayPinned(name, pinned);
15387
- if (jsonOutput) _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
15389
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().setPlayPinned(name, pinned);
15390
+ if (jsonOutput) _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15388
15391
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15389
15392
  return 0;
15390
15393
  }
@@ -15510,12 +15513,12 @@ async function handlePlayGrep(args) {
15510
15513
  console.error("Usage: deepline plays grep <query> [--json]");
15511
15514
  return 1;
15512
15515
  }
15513
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15516
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15514
15517
  const results = (await client.listPlays({ grep: query })).map(
15515
15518
  summarizePlayGrepResult
15516
15519
  );
15517
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
15518
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
15520
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15521
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15519
15522
  plays: results,
15520
15523
  count: results.length,
15521
15524
  query,
@@ -15538,7 +15541,7 @@ async function handlePlayGrep(args) {
15538
15541
  return 0;
15539
15542
  }
15540
15543
  async function handlePlayDescribe(args) {
15541
- const selection = _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0, args, "describe");
15544
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "describe");
15542
15545
  args = selection.args;
15543
15546
  const playName = args[0];
15544
15547
  if (!playName) {
@@ -15572,8 +15575,8 @@ async function handlePlayDescribe(args) {
15572
15575
  `deepline plays check ${playName}`,
15573
15576
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15574
15577
  ];
15575
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
15576
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
15578
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15579
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15577
15580
  ok: false,
15578
15581
  error: { message },
15579
15582
  next
@@ -15587,7 +15590,7 @@ async function handlePlayDescribe(args) {
15587
15590
  }
15588
15591
  return 2;
15589
15592
  }
15590
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15593
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15591
15594
  await assertCanonicalNamedPlayReference(client, playName, {
15592
15595
  command: "describe"
15593
15596
  });
@@ -15597,9 +15600,9 @@ async function handlePlayDescribe(args) {
15597
15600
  compact: args.includes("--compact")
15598
15601
  }
15599
15602
  );
15600
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
15601
- if (selection.fields) _chunkZL4Q4T3Gjs.printJson.call(void 0, play, selection.fields);
15602
- else _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, play);
15603
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15604
+ if (selection.fields) _chunkTPQFCUPVjs.printJson.call(void 0, play, selection.fields);
15605
+ else _chunkTPQFCUPVjs.printCompactJson.call(void 0, play);
15603
15606
  return 0;
15604
15607
  }
15605
15608
  printPlayDescription(play);
@@ -15621,7 +15624,7 @@ async function handlePlaySave(args) {
15621
15624
  }
15622
15625
  let graph;
15623
15626
  try {
15624
- graph = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15627
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15625
15628
  "cli.play_save_bundle_graph",
15626
15629
  { targetKind: "file" },
15627
15630
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15643,7 +15646,7 @@ async function handlePlaySave(args) {
15643
15646
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15644
15647
  };
15645
15648
  if (options.jsonOutput) {
15646
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
15649
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15647
15650
  } else {
15648
15651
  console.error(result.message);
15649
15652
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15665,7 +15668,7 @@ async function handlePlaySave(args) {
15665
15668
  };
15666
15669
  if (options.dryRun) {
15667
15670
  if (options.jsonOutput) {
15668
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, dryRun);
15671
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, dryRun);
15669
15672
  } else {
15670
15673
  console.log(`Dry run: ${playName}`);
15671
15674
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15674,14 +15677,14 @@ async function handlePlaySave(args) {
15674
15677
  }
15675
15678
  return 0;
15676
15679
  }
15677
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15680
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15678
15681
  try {
15679
- await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15682
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15680
15683
  "cli.play_save_compile_manifests",
15681
15684
  { targetKind: "file", nodeCount: graph.nodes.size },
15682
15685
  () => compileBundledPlayGraphManifests(client, graph)
15683
15686
  );
15684
- const saved = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15687
+ const saved = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15685
15688
  "cli.play_save_register_draft",
15686
15689
  { targetKind: "file", playName, artifactHash },
15687
15690
  () => client.registerPlayArtifact({
@@ -15710,7 +15713,7 @@ async function handlePlaySave(args) {
15710
15713
  }
15711
15714
  };
15712
15715
  if (options.jsonOutput) {
15713
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
15716
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15714
15717
  } else {
15715
15718
  console.log(
15716
15719
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15736,7 +15739,7 @@ async function handlePlayPublish(args) {
15736
15739
  }
15737
15740
  const { target: playName, useLatest } = options;
15738
15741
  let revisionId = options.revisionId;
15739
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15742
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15740
15743
  if (isFileTarget(playName)) {
15741
15744
  if (revisionId || useLatest) {
15742
15745
  console.error(
@@ -15746,7 +15749,7 @@ async function handlePlayPublish(args) {
15746
15749
  }
15747
15750
  let graph;
15748
15751
  try {
15749
- graph = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15752
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15750
15753
  "cli.play_publish_bundle_graph",
15751
15754
  { targetKind: "file" },
15752
15755
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15768,7 +15771,7 @@ async function handlePlayPublish(args) {
15768
15771
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15769
15772
  };
15770
15773
  if (options.jsonOutput) {
15771
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result3);
15774
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result3);
15772
15775
  } else {
15773
15776
  console.error(result3.message);
15774
15777
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15791,7 +15794,7 @@ async function handlePlayPublish(args) {
15791
15794
  };
15792
15795
  if (options.dryRun) {
15793
15796
  if (options.jsonOutput) {
15794
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, dryRun);
15797
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, dryRun);
15795
15798
  } else {
15796
15799
  console.log(`Dry run: ${rootPlayName}`);
15797
15800
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15810,12 +15813,12 @@ async function handlePlayPublish(args) {
15810
15813
  }
15811
15814
  }
15812
15815
  try {
15813
- await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15816
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15814
15817
  "cli.play_publish_compile_manifests",
15815
15818
  { targetKind: "file", nodeCount: graph.nodes.size },
15816
15819
  () => compileBundledPlayGraphManifests(client, graph)
15817
15820
  );
15818
- await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15821
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15819
15822
  "cli.play_publish_imports",
15820
15823
  { targetKind: "file", nodeCount: graph.nodes.size },
15821
15824
  () => publishImportedPlayDependencies(client, graph)
@@ -15824,7 +15827,7 @@ async function handlePlayPublish(args) {
15824
15827
  console.error(error instanceof Error ? error.message : String(error));
15825
15828
  return 1;
15826
15829
  }
15827
- const published = await _chunkQZ7I4NZZjs.traceCliSpan.call(void 0,
15830
+ const published = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15828
15831
  "cli.play_publish_register_root",
15829
15832
  {
15830
15833
  targetKind: "file",
@@ -15859,7 +15862,7 @@ async function handlePlayPublish(args) {
15859
15862
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15860
15863
  };
15861
15864
  if (options.jsonOutput) {
15862
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result2);
15865
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15863
15866
  } else {
15864
15867
  printPublishReceipt({
15865
15868
  name: rootPlayName,
@@ -15890,7 +15893,7 @@ async function handlePlayPublish(args) {
15890
15893
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15891
15894
  latest: useLatest
15892
15895
  };
15893
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result2);
15896
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15894
15897
  return 0;
15895
15898
  }
15896
15899
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15914,7 +15917,7 @@ async function handlePlayPublish(args) {
15914
15917
  revisionId ? { revisionId } : {}
15915
15918
  );
15916
15919
  if (options.jsonOutput) {
15917
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
15920
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15918
15921
  } else {
15919
15922
  printPublishReceipt({
15920
15923
  name: result.name,
@@ -15954,7 +15957,7 @@ async function handlePlayDelete(args) {
15954
15957
  );
15955
15958
  return 2;
15956
15959
  }
15957
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
15960
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15958
15961
  let detail;
15959
15962
  try {
15960
15963
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15978,8 +15981,8 @@ async function handlePlayDelete(args) {
15978
15981
  name: resolvedName,
15979
15982
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15980
15983
  };
15981
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
15982
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result2);
15984
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15985
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15983
15986
  } else {
15984
15987
  process.stdout.write(
15985
15988
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15989,8 +15992,8 @@ async function handlePlayDelete(args) {
15989
15992
  return 0;
15990
15993
  }
15991
15994
  const result = await client.deletePlay(resolvedName);
15992
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
15993
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
15995
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15996
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15994
15997
  return result.archived || result.alreadyArchived ? 0 : 4;
15995
15998
  }
15996
15999
  if (result.alreadyArchived) {
@@ -16029,13 +16032,13 @@ async function handlePlayRestore(args) {
16029
16032
  );
16030
16033
  return 2;
16031
16034
  }
16032
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
16035
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16033
16036
  try {
16034
16037
  const result = await client.restorePlay(
16035
16038
  parseReferencedPlayTarget(playName).playName
16036
16039
  );
16037
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
16038
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, result);
16040
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
16041
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
16039
16042
  return result.restored || result.alreadyActive ? 0 : 4;
16040
16043
  }
16041
16044
  if (result.alreadyActive) {
@@ -16162,21 +16165,21 @@ Common commands:
16162
16165
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16163
16166
  }
16164
16167
  };
16165
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, result2, {
16168
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, result2, {
16166
16169
  json: options.json,
16167
16170
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16168
16171
  `
16169
16172
  });
16170
16173
  return;
16171
16174
  }
16172
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
16175
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16173
16176
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16174
16177
  throw new Error(
16175
16178
  "The submission belongs to a different API origin. Select its original host before recovery."
16176
16179
  );
16177
16180
  }
16178
16181
  const result = await client.startPlayRun(saved.request);
16179
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
16182
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
16180
16183
  { ...result },
16181
16184
  {
16182
16185
  json: options.json,
@@ -16212,7 +16215,7 @@ Examples:
16212
16215
  ).action(async (target, options) => {
16213
16216
  process.exitCode = await handlePlayCheck([
16214
16217
  target,
16215
- ..._chunkZL4Q4T3Gjs.jsonFieldArgs.call(void 0, options.json),
16218
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json),
16216
16219
  ...options.full ? ["--full"] : []
16217
16220
  ]);
16218
16221
  });
@@ -16251,10 +16254,10 @@ Notes:
16251
16254
  --force-tool-refresh re-executes completed tool receipts and may repeat billed
16252
16255
  provider calls. It is independent from --force.
16253
16256
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
16254
- resident-work ceiling. Default: ${_chunkPHVRS56Fjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkPHVRS56Fjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16257
+ resident-work ceiling. Default: ${_chunkYCGVVUGXjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16255
16258
  Provider pacing and sandbox memory limits still apply.
16256
16259
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
16257
- resolvers. Accepted range: 1-${_chunkPHVRS56Fjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16260
+ resolvers. Accepted range: 1-${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16258
16261
  may lower it when source-row size exceeds the active-row memory budget.
16259
16262
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
16260
16263
  Tool calls that would exceed it are denied.
@@ -16368,10 +16371,10 @@ Examples:
16368
16371
  "Refresh completed tool receipts; may repeat billed provider calls"
16369
16372
  ).option(
16370
16373
  "--max-concurrent-external-calls <count>",
16371
- `Concurrent provider-tool and deepline.fetch executions (${_chunkPHVRS56Fjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkPHVRS56Fjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16374
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkYCGVVUGXjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16372
16375
  ).option(
16373
16376
  "--max-concurrent-rows <count>",
16374
- `Run-wide dataset map row resolver ceiling (max ${_chunkPHVRS56Fjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16377
+ `Run-wide dataset map row resolver ceiling (max ${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16375
16378
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").option("--open", "Open the run page in a browser after the run starts").option(
16376
16379
  "--debug-map-latency",
16377
16380
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16416,14 +16419,14 @@ JSON field selection:
16416
16419
  passthroughArgs.shift();
16417
16420
  }
16418
16421
  const exitCode = await handlePlayRun(
16419
- _chunkPHVRS56Fjs.resolvePlayRunCliOptions.call(void 0,
16422
+ _chunkYCGVVUGXjs.resolvePlayRunCliOptions.call(void 0,
16420
16423
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16421
16424
  options,
16422
16425
  passthroughArgs,
16423
- _chunkQZ7I4NZZjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16426
+ _chunkQERMP4TWjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16424
16427
  )
16425
16428
  );
16426
- _chunkQZ7I4NZZjs.recordCliTrace.call(void 0, {
16429
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
16427
16430
  phase: "cli.play_command_exit",
16428
16431
  exitCode
16429
16432
  });
@@ -16472,9 +16475,9 @@ Examples:
16472
16475
  const limit = Number(options.historyLimit);
16473
16476
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16474
16477
  throw new Error("--history-limit must be an integer from 1 to 30.");
16475
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
16478
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16476
16479
  if (options.binding) {
16477
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0,
16480
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0,
16478
16481
  await client.getPlayTriggerHistory(options.binding, { limit })
16479
16482
  );
16480
16483
  return;
@@ -16482,7 +16485,7 @@ Examples:
16482
16485
  const result = await client.listPlayTriggerInventory({
16483
16486
  cursor: options.cursor
16484
16487
  });
16485
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
16488
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
16486
16489
  ...result,
16487
16490
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16488
16491
  });
@@ -16541,7 +16544,7 @@ Examples:
16541
16544
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16542
16545
  throw new Error("--group-by must be kind or trigger_source.");
16543
16546
  }
16544
- const result = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getPlaysActivity({
16547
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlaysActivity({
16545
16548
  timeZone: options.timeZone,
16546
16549
  days,
16547
16550
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16555,7 +16558,7 @@ Examples:
16555
16558
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16556
16559
  );
16557
16560
  }
16558
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
16561
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
16559
16562
  { ...result },
16560
16563
  {
16561
16564
  json: Boolean(options.json),
@@ -16584,7 +16587,7 @@ Examples:
16584
16587
  false
16585
16588
  );
16586
16589
  });
16587
- _chunkJU4LIA2Tjs.registerDeprecatedSearchCommand.call(void 0,
16590
+ _chunkPHBJ2VDSjs.registerDeprecatedSearchCommand.call(void 0,
16588
16591
  play,
16589
16592
  (options) => options.all ? ["plays"] : ["prebuilts"]
16590
16593
  );
@@ -16625,9 +16628,9 @@ Examples:
16625
16628
  "--json [fields]",
16626
16629
  "JSON output; optionally select comma-separated dotted paths"
16627
16630
  );
16628
- _chunkUTG3STCRjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16631
+ _chunkQUIJUNXXjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16629
16632
  async (target, options) => {
16630
- const ownView = () => handlePlayDescribe(_chunkZL4Q4T3Gjs.describeArgs.call(void 0, target, options));
16633
+ const ownView = () => handlePlayDescribe(_chunkTPQFCUPVjs.describeArgs.call(void 0, target, options));
16631
16634
  const [flagText] = [options.json].filter(
16632
16635
  (value) => typeof value === "string"
16633
16636
  );
@@ -16638,7 +16641,7 @@ Examples:
16638
16641
  process.exitCode = await ownView();
16639
16642
  return;
16640
16643
  }
16641
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-KO3OQBIR.js")));
16644
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-DAUL3SDQ.js")));
16642
16645
  process.exitCode = await describeAnything(
16643
16646
  name,
16644
16647
  {
@@ -16756,7 +16759,7 @@ Examples:
16756
16759
  deepline plays deployments <deployment-id>
16757
16760
  `
16758
16761
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16759
- async (id, options) => id ? _chunk5YSIHOGVjs.handleDeploymentGet.call(void 0, id, options) : _chunk5YSIHOGVjs.handleDeploymentsList.call(void 0, options)
16762
+ async (id, options) => id ? _chunkFPRS3FP4js.handleDeploymentGet.call(void 0, id, options) : _chunkFPRS3FP4js.handleDeploymentsList.call(void 0, options)
16760
16763
  );
16761
16764
  addPublishHelp(
16762
16765
  play.command("publish <target>").description(
@@ -16891,14 +16894,14 @@ Examples:
16891
16894
  const limit = Number(options.limit);
16892
16895
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16893
16896
  throw new Error("--limit must be an integer from 1 to 1000.");
16894
- const result = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().runs.rowHistory({
16897
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.rowHistory({
16895
16898
  playName: options.play,
16896
16899
  runId,
16897
16900
  tableNamespace: options.dataset,
16898
16901
  limit,
16899
16902
  cursor: options.cursor
16900
16903
  });
16901
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
16904
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
16902
16905
  ...result,
16903
16906
  ...result.nextCursor ? {
16904
16907
  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`
@@ -16976,7 +16979,7 @@ Examples:
16976
16979
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
16977
16980
  ).action(async (runId, options) => {
16978
16981
  if (TOOL_EXECUTION_ID.test(runId)) {
16979
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-QMSAA3LC.js")));
16982
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-JWBXEZKY.js")));
16980
16983
  process.exitCode = await getToolExecutionReceipt(runId, {
16981
16984
  receiptJson: options.json !== void 0
16982
16985
  });
@@ -16984,7 +16987,7 @@ Examples:
16984
16987
  }
16985
16988
  process.exitCode = await handleRunGet([
16986
16989
  runId,
16987
- ..._chunkZL4Q4T3Gjs.jsonFieldArgs.call(void 0, options.json),
16990
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json),
16988
16991
  ...options.web ? ["--web"] : [],
16989
16992
  ...options.webUrl ? ["--web-url"] : [],
16990
16993
  ...options.full ? ["--full"] : [],
@@ -17275,7 +17278,7 @@ Examples:
17275
17278
  ...options.allowEmpty ? ["--allow-empty"] : [],
17276
17279
  ...options.wait ? ["--wait"] : [],
17277
17280
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17278
- ..._chunkZL4Q4T3Gjs.jsonFieldArgs.call(void 0, options.json)
17281
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json)
17279
17282
  ]);
17280
17283
  });
17281
17284
  const share = play.command("share").description(
@@ -17441,10 +17444,10 @@ async function handlePlayShareStatus(args) {
17441
17444
  return 2;
17442
17445
  }
17443
17446
  const name = parseReferencedPlayTarget(target).playName;
17444
- const status = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().getSharePage(name);
17447
+ const status = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getSharePage(name);
17445
17448
  const outputStatus = shareStatusForOutput(status);
17446
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17447
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, outputStatus);
17449
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17450
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17448
17451
  return 0;
17449
17452
  }
17450
17453
  if (!outputStatus.share) {
@@ -17483,7 +17486,7 @@ async function handlePlaySharePublish(args) {
17483
17486
  return 2;
17484
17487
  }
17485
17488
  const name = parseReferencedPlayTarget(target).playName;
17486
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
17489
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
17487
17490
  let revisionId = shareFlagValue(args, "--revision-id");
17488
17491
  let resolvedVersion;
17489
17492
  if (!revisionId) {
@@ -17514,8 +17517,8 @@ async function handlePlaySharePublish(args) {
17514
17517
  );
17515
17518
  if (!hasCompleted) {
17516
17519
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17517
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17518
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, {
17520
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17521
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
17519
17522
  ok: false,
17520
17523
  code: "NO_SUCCESSFUL_RUN",
17521
17524
  message,
@@ -17539,8 +17542,8 @@ async function handlePlaySharePublish(args) {
17539
17542
  };
17540
17543
  if (args.includes("--dry-run")) {
17541
17544
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17542
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17543
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, plan);
17545
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17546
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, plan);
17544
17547
  } else {
17545
17548
  console.log(
17546
17549
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17550,8 +17553,8 @@ async function handlePlaySharePublish(args) {
17550
17553
  }
17551
17554
  const status = await client.publishSharePage(name, request);
17552
17555
  const outputStatus = shareStatusForOutput(status);
17553
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17554
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, outputStatus);
17556
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17557
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17555
17558
  return 0;
17556
17559
  }
17557
17560
  const urls = shareUrlFields(outputStatus);
@@ -17582,9 +17585,9 @@ async function handlePlayShareUpdate(args) {
17582
17585
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17583
17586
  ...seoIndexing ? { seoIndexing } : {}
17584
17587
  };
17585
- const status = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().updateSharePage(name, request);
17586
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17587
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, status);
17588
+ const status = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().updateSharePage(name, request);
17589
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17590
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, status);
17588
17591
  return 0;
17589
17592
  }
17590
17593
  console.log(`Updated ${name} share settings.`);
@@ -17599,7 +17602,7 @@ async function handlePlayShareRegenerate(args) {
17599
17602
  return 2;
17600
17603
  }
17601
17604
  const name = parseReferencedPlayTarget(target).playName;
17602
- const client = new (0, _chunk5GK6J7MHjs.DeeplineClient)();
17605
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
17603
17606
  let revisionId = shareFlagValue(args, "--revision-id");
17604
17607
  const versionFlag = shareFlagValue(args, "--version");
17605
17608
  if (!revisionId && versionFlag) {
@@ -17616,8 +17619,8 @@ async function handlePlayShareRegenerate(args) {
17616
17619
  revisionId ? { revisionId } : {}
17617
17620
  );
17618
17621
  const outputStatus = shareStatusForOutput(status);
17619
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17620
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, outputStatus);
17622
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17623
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17621
17624
  return 0;
17622
17625
  }
17623
17626
  const urls = shareUrlFields(outputStatus);
@@ -17642,9 +17645,9 @@ async function handlePlayShareUnpublish(args) {
17642
17645
  return 2;
17643
17646
  }
17644
17647
  const name = parseReferencedPlayTarget(target).playName;
17645
- const status = await new (0, _chunk5GK6J7MHjs.DeeplineClient)().unpublishSharePage(name);
17646
- if (_chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args)) {
17647
- _chunkZL4Q4T3Gjs.printCompactJson.call(void 0, status);
17648
+ const status = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().unpublishSharePage(name);
17649
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17650
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, status);
17648
17651
  return 0;
17649
17652
  }
17650
17653
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17720,4 +17723,5 @@ async function handlePlayShareUnpublish(args) {
17720
17723
 
17721
17724
 
17722
17725
 
17723
- 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.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 = _chunkPHVRS56Fjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkPHVRS56Fjs.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.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
17726
+
17727
+ 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 = _chunkYCGVVUGXjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkYCGVVUGXjs.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.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;