deepline 0.3.497 → 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 (131) 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/cli/auth-NYYFDCMT.js +43 -0
  16. package/dist/cli/{auth-OAKBFUQD.mjs → auth-TNYYAPIX.mjs} +5 -5
  17. package/dist/cli/{billing-AM6D2KN5.mjs → billing-G6QBOZAE.mjs} +6 -6
  18. package/dist/cli/{billing-FUB6HQZ5.js → billing-MP43H3ZK.js} +79 -79
  19. package/dist/cli/{chunk-UETGYJYH.mjs → chunk-2QS3MCJ2.mjs} +2 -2
  20. package/dist/cli/{chunk-3IVAGF4P.mjs → chunk-3XNYGMPZ.mjs} +10 -10
  21. package/dist/cli/{chunk-IURXJPGH.mjs → chunk-4RSOYJ67.mjs} +3 -3
  22. package/dist/cli/{chunk-5IBHSACU.mjs → chunk-4TVN2676.mjs} +2 -2
  23. package/dist/cli/{chunk-HRODQDTB.mjs → chunk-6JVJZ7YG.mjs} +1 -1
  24. package/dist/cli/{chunk-WKCMARFR.js → chunk-BQIEYWGQ.js} +94 -94
  25. package/dist/cli/{chunk-LPCK5KK5.mjs → chunk-C7BH7T3T.mjs} +2 -2
  26. package/dist/cli/{chunk-YUEFDOME.js → chunk-DB7SJKGI.js} +6 -6
  27. package/dist/cli/{chunk-SLS3HUVC.js → chunk-EAQXRAVF.js} +4 -4
  28. package/dist/cli/{chunk-M2WIEW2E.mjs → chunk-EHOC6NCN.mjs} +1 -1
  29. package/dist/cli/{chunk-XNLXHU6L.mjs → chunk-ELZYHPE7.mjs} +5 -5
  30. package/dist/cli/{chunk-6TA2H7CY.js → chunk-FPRS3FP4.js} +26 -26
  31. package/dist/cli/{chunk-FISH2MI2.mjs → chunk-H7YR4EYF.mjs} +2 -2
  32. package/dist/cli/{chunk-BRUDMG56.js → chunk-IBCROFZW.js} +41 -41
  33. package/dist/cli/{chunk-3DHPKENA.mjs → chunk-IE6FYMUS.mjs} +1 -1
  34. package/dist/cli/{chunk-OEI6HXMK.js → chunk-IUCAVYXR.js} +16 -16
  35. package/dist/cli/{chunk-KUX3HYJI.mjs → chunk-KLA4IUOI.mjs} +1 -1
  36. package/dist/cli/{chunk-SJM7MKOE.js → chunk-KRR2Z2FH.js} +2 -2
  37. package/dist/cli/{chunk-SJID5WMV.mjs → chunk-KV4RNW2H.mjs} +4 -4
  38. package/dist/cli/{chunk-KFJV3BZX.mjs → chunk-LGE6ZOEO.mjs} +1 -1
  39. package/dist/cli/{chunk-WZ3A35ZD.mjs → chunk-MRHMC33S.mjs} +1 -1
  40. package/dist/cli/{chunk-YQ66NC4J.mjs → chunk-O4H53SJ4.mjs} +2 -2
  41. package/dist/cli/{chunk-VMOVB2FN.mjs → chunk-OFNXUDEC.mjs} +5 -5
  42. package/dist/cli/{chunk-B4Q3EBQX.js → chunk-OL2QEEXF.js} +5 -5
  43. package/dist/cli/{chunk-XX7WLKOQ.mjs → chunk-PAHFVOFZ.mjs} +1 -1
  44. package/dist/cli/{chunk-ZLYKN4AJ.js → chunk-PHBJ2VDS.js} +7 -7
  45. package/dist/cli/{chunk-7RBIOOCQ.js → chunk-PKTJN6PF.js} +3 -3
  46. package/dist/cli/{chunk-DKSTMQ3F.js → chunk-QDNP6KOF.js} +21 -21
  47. package/dist/cli/{chunk-UV7AT2D4.js → chunk-QERMP4TW.js} +2 -2
  48. package/dist/cli/{chunk-FVS5MJQ5.js → chunk-QUIJUNXX.js} +3 -3
  49. package/dist/cli/{chunk-EWQ3KY5U.mjs → chunk-RZA6HSXX.mjs} +6 -6
  50. package/dist/cli/{chunk-4MR7LZXF.mjs → chunk-RZO743TC.mjs} +2 -2
  51. package/dist/cli/{chunk-5GXYXU45.mjs → chunk-SR3PRGWB.mjs} +1 -1
  52. package/dist/cli/{chunk-WXW7YJDO.js → chunk-TDUTNTA5.js} +53 -53
  53. package/dist/cli/{chunk-A66Y2LCW.js → chunk-TLG75Q77.js} +53 -53
  54. package/dist/cli/{chunk-XLYJ7MJX.js → chunk-TPQFCUPV.js} +7 -7
  55. package/dist/cli/{chunk-3KG2FUU4.js → chunk-UA2GU7NB.js} +7 -7
  56. package/dist/cli/{chunk-THD6KA67.mjs → chunk-UUFZFJL4.mjs} +4 -4
  57. package/dist/cli/{chunk-MBOAXLWC.mjs → chunk-VETP54NO.mjs} +4 -4
  58. package/dist/cli/{chunk-V2EVSEUD.js → chunk-VFYKFPZD.js} +16 -16
  59. package/dist/cli/{chunk-JDFYCHNV.js → chunk-VUNAIAMX.js} +5 -5
  60. package/dist/cli/{chunk-77IAUCTB.js → chunk-XGUGFGCF.js} +3 -3
  61. package/dist/cli/{chunk-OWDK2PVH.js → chunk-XNYAIV4E.js} +8 -8
  62. package/dist/cli/{chunk-BBHGJE73.js → chunk-XUTIBRKF.js} +1 -1
  63. package/dist/cli/{chunk-7FFNSYMJ.js → chunk-YCGVVUGX.js} +9 -9
  64. package/dist/cli/{chunk-TGAYN34A.mjs → chunk-ZEYB6QPW.mjs} +2 -2
  65. package/dist/cli/{csv-U2GOFP3M.mjs → csv-LBUOESU2.mjs} +4 -4
  66. package/dist/cli/{csv-PMBYKVUU.js → csv-SCXUWRVV.js} +13 -13
  67. package/dist/cli/{db-DKFOTZGZ.mjs → db-3SI2OXIV.mjs} +6 -6
  68. package/dist/cli/{db-GREVTMIR.js → db-CC2D2GSL.js} +27 -27
  69. package/dist/cli/describe-DAUL3SDQ.js +50 -0
  70. package/dist/cli/{describe-SWXA6L62.mjs → describe-ZK5CMT4M.mjs} +17 -17
  71. package/dist/cli/{executions-EBRFC5JR.mjs → executions-DVPHIG2I.mjs} +6 -6
  72. package/dist/cli/{executions-2RRAESQK.js → executions-YKYQIRPP.js} +8 -8
  73. package/dist/cli/{feedback-N6ML7IRH.js → feedback-BVLYZ3BM.js} +8 -8
  74. package/dist/cli/{feedback-4A57QLX2.mjs → feedback-UQRMPU2S.mjs} +4 -4
  75. package/dist/cli/git-MFIJCRX6.js +25 -0
  76. package/dist/cli/{git-6D2WQPOS.mjs → git-WTMZ66HP.mjs} +5 -5
  77. package/dist/cli/index.js +137 -137
  78. package/dist/cli/index.mjs +40 -40
  79. package/dist/cli/{legacy-noops-CL5QWXGH.mjs → legacy-noops-RUQT6DB3.mjs} +5 -5
  80. package/dist/cli/{legacy-noops-DXRJARNC.js → legacy-noops-TVJ5WOBD.js} +8 -8
  81. package/dist/cli/{monitors-XWKDVHYL.js → monitors-UYYJBO6U.js} +95 -95
  82. package/dist/cli/{monitors-SGMEGGJO.mjs → monitors-ZQBZMFUL.mjs} +7 -7
  83. package/dist/cli/{org-QKQ57PDN.js → org-4TZED2IF.js} +72 -72
  84. package/dist/cli/{org-55BI5RQF.mjs → org-UACQHFY6.mjs} +6 -6
  85. package/dist/cli/{pages-FOIR5UH4.js → pages-HDYYGZOT.js} +18 -18
  86. package/dist/cli/{pages-LM4QACOM.mjs → pages-R2KSZCYK.mjs} +6 -6
  87. package/dist/cli/{play-7VA26O6E.mjs → play-DQ4AZ2NV.mjs} +17 -17
  88. package/dist/cli/{play-S44FXGD7.js → play-ZMYWHAV3.js} +314 -314
  89. package/dist/cli/{providers-RDSHID7C.js → providers-I7GXTYG4.js} +9 -9
  90. package/dist/cli/{providers-QAVIR5E2.mjs → providers-X53WCX46.mjs} +6 -6
  91. package/dist/cli/{quickstart-IL4HQYE4.mjs → quickstart-DKVF32MY.mjs} +4 -4
  92. package/dist/cli/{quickstart-EREQPM3G.js → quickstart-GKW46HUR.js} +6 -6
  93. package/dist/cli/{run-4XZNJR7N.mjs → run-A36EBVLD.mjs} +22 -22
  94. package/dist/cli/{run-TBUUV5EG.js → run-VLX775L5.js} +36 -36
  95. package/dist/cli/{search-SYT5UT5G.mjs → search-QHO4AYS2.mjs} +7 -7
  96. package/dist/cli/search-STXZIGVB.js +32 -0
  97. package/dist/cli/{search-output-5F3EEQ34.js → search-output-P7GWSTNO.js} +6 -6
  98. package/dist/cli/{search-output-Y3IKZ3TX.mjs → search-output-YF5HCWKU.mjs} +4 -4
  99. package/dist/cli/{secrets-PZWJ2ES5.js → secrets-3X56AV2F.js} +15 -15
  100. package/dist/cli/{secrets-AKAU2N3K.mjs → secrets-XTHBAX26.mjs} +6 -6
  101. package/dist/cli/{sessions-Z5C26IS7.mjs → sessions-4ZVZABXN.mjs} +5 -5
  102. package/dist/cli/{sessions-UMHA7K23.js → sessions-AJUQJR4G.js} +6 -6
  103. package/dist/cli/{settings-S5BM3SVI.mjs → settings-AX5JF47R.mjs} +11 -11
  104. package/dist/cli/{settings-WGJYWTJZ.js → settings-R7RQC5Z3.js} +78 -78
  105. package/dist/cli/{setup-E4HRXP2X.mjs → setup-DTXQODYK.mjs} +9 -9
  106. package/dist/cli/{setup-6K6ERKOH.js → setup-QB62E6K5.js} +49 -49
  107. package/dist/cli/skills-IEP5L5MQ.js +36 -0
  108. package/dist/cli/{skills-HIZA7YAN.mjs → skills-N6OY5ABC.mjs} +7 -7
  109. package/dist/cli/{tools-FS5S6BT7.mjs → tools-3T4GKGS4.mjs} +16 -16
  110. package/dist/cli/tools-JWBXEZKY.js +57 -0
  111. package/dist/cli/{update-4CJPTG3L.mjs → update-QDT4SFW3.mjs} +9 -9
  112. package/dist/cli/update-QME3C2VP.js +34 -0
  113. package/dist/cli/{workflow-TYSZ5JWS.js → workflow-FW3FPOWU.js} +17 -17
  114. package/dist/cli/{workflow-UMSXOIOS.mjs → workflow-Q7LQETNW.mjs} +7 -7
  115. package/dist/index.js +9 -9
  116. package/dist/index.mjs +6 -6
  117. package/dist/install-integrity.json +100 -98
  118. package/dist/release.d.mts +1 -1
  119. package/dist/release.d.ts +1 -1
  120. package/dist/release.js +2 -2
  121. package/dist/release.mjs +1 -1
  122. package/dist/server.js +5 -5
  123. package/dist/server.mjs +3 -3
  124. package/package.json +1 -1
  125. package/dist/cli/auth-553ZBCPJ.js +0 -43
  126. package/dist/cli/describe-BL5NNHV5.js +0 -50
  127. package/dist/cli/git-7TSX5V57.js +0 -25
  128. package/dist/cli/search-GCANFVVZ.js +0 -32
  129. package/dist/cli/skills-J3GQHHHL.js +0 -36
  130. package/dist/cli/tools-RZYKMOUX.js +0 -57
  131. package/dist/cli/update-CATZW7GA.js +0 -34
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunk7FFNSYMJjs = require('./chunk-7FFNSYMJ.js');
8
+ var _chunkYCGVVUGXjs = require('./chunk-YCGVVUGX.js');
9
9
 
10
10
 
11
11
 
@@ -17,15 +17,15 @@ var _chunk7FFNSYMJjs = require('./chunk-7FFNSYMJ.js');
17
17
 
18
18
 
19
19
 
20
- var _chunkFVS5MJQ5js = require('./chunk-FVS5MJQ5.js');
20
+ var _chunkQUIJUNXXjs = require('./chunk-QUIJUNXX.js');
21
21
 
22
22
 
23
- var _chunkZLYKN4AJjs = require('./chunk-ZLYKN4AJ.js');
23
+ var _chunkPHBJ2VDSjs = require('./chunk-PHBJ2VDS.js');
24
24
  require('./chunk-D3BCSAN7.js');
25
25
 
26
26
 
27
27
 
28
- var _chunk6TA2H7CYjs = require('./chunk-6TA2H7CY.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 _chunkJDFYCHNVjs = require('./chunk-JDFYCHNV.js');
61
+ var _chunkVUNAIAMXjs = require('./chunk-VUNAIAMX.js');
62
62
 
63
63
 
64
- var _chunkB4Q3EBQXjs = require('./chunk-B4Q3EBQX.js');
64
+ var _chunkOL2QEEXFjs = require('./chunk-OL2QEEXF.js');
65
65
 
66
66
 
67
67
 
@@ -74,7 +74,7 @@ var _chunkB4Q3EBQXjs = require('./chunk-B4Q3EBQX.js');
74
74
 
75
75
 
76
76
 
77
- var _chunk3KG2FUU4js = require('./chunk-3KG2FUU4.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 _chunkYUEFDOMEjs = require('./chunk-YUEFDOME.js');
100
+ var _chunkDB7SJKGIjs = require('./chunk-DB7SJKGI.js');
101
101
 
102
102
 
103
103
 
104
104
 
105
105
 
106
- var _chunkUV7AT2D4js = require('./chunk-UV7AT2D4.js');
107
- require('./chunk-A66Y2LCW.js');
106
+ var _chunkQERMP4TWjs = require('./chunk-QERMP4TW.js');
107
+ require('./chunk-TLG75Q77.js');
108
108
 
109
109
 
110
110
 
111
- var _chunk7RBIOOCQjs = require('./chunk-7RBIOOCQ.js');
111
+ var _chunkPKTJN6PFjs = require('./chunk-PKTJN6PF.js');
112
112
 
113
113
 
114
114
 
@@ -122,17 +122,17 @@ var _chunk7RBIOOCQjs = require('./chunk-7RBIOOCQ.js');
122
122
 
123
123
 
124
124
 
125
- var _chunkXLYJ7MJXjs = require('./chunk-XLYJ7MJX.js');
126
- require('./chunk-77IAUCTB.js');
125
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
126
+ require('./chunk-XGUGFGCF.js');
127
127
 
128
128
 
129
- var _chunkSLS3HUVCjs = require('./chunk-SLS3HUVC.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-BBHGJE73.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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, _chunkB4Q3EBQXjs.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, _chunkB4Q3EBQXjs.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 = _chunk3KG2FUU4js.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 (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2865
- _chunkXLYJ7MJXjs.printJsonError.call(void 0,
2866
- Object.assign(new (0, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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 = _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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, _chunk3KG2FUU4js.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 _chunk3KG2FUU4js.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 (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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: _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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 (_chunkXLYJ7MJXjs.shouldEmitJson.call(void 0, options.json)) {
4263
- _chunkXLYJ7MJXjs.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(_chunkFVS5MJQ5js.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 _chunkFVS5MJQ5js.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
- _chunkXLYJ7MJXjs.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 } = _chunkXLYJ7MJXjs.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: _chunkSLS3HUVCjs.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
- _chunkXLYJ7MJXjs.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 _chunk3KG2FUU4js.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 (!_chunk3KG2FUU4js.logLevelReaches.call(void 0, level, minimumLevel)) {
7974
+ if (!_chunkUA2GU7NBjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7975
7975
  return false;
7976
7976
  }
7977
- if (_chunk3KG2FUU4js.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 && _chunk3KG2FUU4js.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
- _chunkXLYJ7MJXjs.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 (_chunk3KG2FUU4js.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
- ..._chunkUV7AT2D4js.isCliTraceEnabled.call(void 0, ) ? {
8652
+ ..._chunkQERMP4TWjs.isCliTraceEnabled.call(void 0, ) ? {
8653
8653
  onPoll: (observation) => {
8654
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 _chunkYUEFDOMEjs.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 = _chunk3KG2FUU4js.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
- _chunkUV7AT2D4js.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 _chunkYUEFDOMEjs.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 (_chunk3KG2FUU4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 || _chunk3KG2FUU4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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
- _chunkUV7AT2D4js.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 = _chunk3KG2FUU4js.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 _chunk3KG2FUU4js.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 _chunk3KG2FUU4js.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 (!_chunk3KG2FUU4js.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 (!_chunk3KG2FUU4js.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 (!_chunk3KG2FUU4js.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) => _chunk3KG2FUU4js.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) _chunkFVS5MJQ5js.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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 = _chunkFVS5MJQ5js.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
- [_chunkFVS5MJQ5js.TABLE_EXPORT_ERROR_COLUMN]: _chunkFVS5MJQ5js.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
- _chunkFVS5MJQ5js.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.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 = _chunkXLYJ7MJXjs.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 = _chunkXLYJ7MJXjs.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: _chunkXLYJ7MJXjs.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: _chunkXLYJ7MJXjs.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, _chunkB4Q3EBQXjs.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
- _chunkXLYJ7MJXjs.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
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
12574
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
12575
12575
  {
12576
12576
  kind: "play_check",
12577
12577
  checked: "named_contract",
@@ -12602,7 +12602,7 @@ async function handlePlayCheck(args) {
12602
12602
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12603
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
12604
12604
  });
12605
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0, output, {
12605
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, output, {
12606
12606
  json: options.jsonOutput,
12607
12607
  fields: options.jsonFields,
12608
12608
  text: renderPlayCheckOutput(output) + "\n"
@@ -12670,7 +12670,7 @@ async function checkOneExportedPlay(input) {
12670
12670
  }
12671
12671
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12672
12672
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12673
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkB4Q3EBQXjs.DeeplineClient)()));
12673
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkOL2QEEXFjs.DeeplineClient)()));
12674
12674
  const integrationMode = resolveEvalIntegrationMode();
12675
12675
  const checked = await checkLocalPlayGraph({
12676
12676
  client,
@@ -12726,8 +12726,8 @@ async function handleFileBackedRun(options, hooks) {
12726
12726
  let prefetchClient;
12727
12727
  let admissionCapability;
12728
12728
  let cancelAdmissionCapability;
12729
- let cliAdmission = _chunkYUEFDOMEjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12730
- const progress = _nullishCoalesce(_chunk7RBIOOCQjs.getActiveCliProgress.call(void 0, ), () => ( _chunk7RBIOOCQjs.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)));
12731
12731
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12732
12732
  progress.phase("compiling play");
12733
12733
  const sourceCode = traceCliSync(
@@ -12743,11 +12743,11 @@ async function handleFileBackedRun(options, hooks) {
12743
12743
  return 1;
12744
12744
  }
12745
12745
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12746
- const clientForPrefetch = new (0, _chunkB4Q3EBQXjs.DeeplineClient)(playRunClientOptions(options));
12746
+ const clientForPrefetch = new (0, _chunkOL2QEEXFjs.DeeplineClient)(playRunClientOptions(options));
12747
12747
  prefetchClient = clientForPrefetch;
12748
12748
  const capabilityController = new AbortController();
12749
12749
  cancelAdmissionCapability = () => capabilityController.abort();
12750
- admissionCapability = _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12750
+ admissionCapability = _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12751
12751
  "cli.play_admission_capability_prefetch",
12752
12752
  { targetKind: "file" },
12753
12753
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -12758,7 +12758,7 @@ async function handleFileBackedRun(options, hooks) {
12758
12758
  }
12759
12759
  let graph;
12760
12760
  try {
12761
- graph = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12761
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12762
12762
  "cli.play_file_bundle_graph",
12763
12763
  { targetKind: "file" },
12764
12764
  () => collectBundledPlayGraph(
@@ -12772,14 +12772,14 @@ async function handleFileBackedRun(options, hooks) {
12772
12772
  if (options.dryRun) {
12773
12773
  progress.complete();
12774
12774
  renderLocalPlayExecutionPlan(
12775
- _chunkJDFYCHNVjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12775
+ _chunkVUNAIAMXjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12776
12776
  { dryRun: true, json: options.jsonOutput }
12777
12777
  );
12778
12778
  return 0;
12779
12779
  }
12780
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkB4Q3EBQXjs.DeeplineClient)(playRunClientOptions(options))));
12780
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkOL2QEEXFjs.DeeplineClient)(playRunClientOptions(options))));
12781
12781
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12782
- await _chunkYUEFDOMEjs.checkPlayRunCompatibility.call(void 0,
12782
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0,
12783
12783
  client.baseUrl,
12784
12784
  options.maintenancePolicy
12785
12785
  );
@@ -12792,7 +12792,7 @@ async function handleFileBackedRun(options, hooks) {
12792
12792
  });
12793
12793
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12794
12794
  if (canDeferCompilerManifest) {
12795
- _chunkUV7AT2D4js.recordCliTrace.call(void 0, {
12795
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
12796
12796
  phase: "cli.play_file_compile_manifests",
12797
12797
  ms: 0,
12798
12798
  ok: true,
@@ -12801,7 +12801,7 @@ async function handleFileBackedRun(options, hooks) {
12801
12801
  reason: "validated_by_run_route"
12802
12802
  });
12803
12803
  } else {
12804
- await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12804
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12805
12805
  "cli.play_file_compile_manifests",
12806
12806
  { targetKind: "file", skipped: false },
12807
12807
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12822,13 +12822,13 @@ async function handleFileBackedRun(options, hooks) {
12822
12822
  if (bundleResult.importedPlayDependencies.length > 0) {
12823
12823
  try {
12824
12824
  renderLocalPlayExecutionPlan(
12825
- _chunkJDFYCHNVjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12825
+ _chunkVUNAIAMXjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12826
12826
  );
12827
12827
  progress.phase("pinning imported plays");
12828
- graph = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12828
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12829
12829
  "cli.play_file_pin_imports",
12830
12830
  { targetKind: "file" },
12831
- () => _chunkJDFYCHNVjs.pinLocalPlayImports.call(void 0, client, graph)
12831
+ () => _chunkVUNAIAMXjs.pinLocalPlayImports.call(void 0, client, graph)
12832
12832
  );
12833
12833
  bundleResult = graph.root;
12834
12834
  } catch (error) {
@@ -12844,7 +12844,7 @@ async function handleFileBackedRun(options, hooks) {
12844
12844
  const fileInputBindings = _chunkEQR5O2D2js.fileInputBindingsFromStaticPipeline.call(void 0,
12845
12845
  _optionalChain([compilerManifest, 'optionalAccess', _488 => _488.staticPipeline])
12846
12846
  );
12847
- const stagedFileInputs = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12847
+ const stagedFileInputs = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12848
12848
  "cli.play_stage_inputs",
12849
12849
  {
12850
12850
  targetKind: "file",
@@ -12891,7 +12891,7 @@ async function handleFileBackedRun(options, hooks) {
12891
12891
  };
12892
12892
  if (options.watch) {
12893
12893
  progress.phase("starting run");
12894
- const finalStatus = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12894
+ const finalStatus = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12895
12895
  "cli.play_start_watch",
12896
12896
  { targetKind: "file", playName },
12897
12897
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12953,7 +12953,7 @@ async function handleFileBackedRun(options, hooks) {
12953
12953
  return outputStatus.status === "completed" ? 0 : 1;
12954
12954
  }
12955
12955
  progress.phase("starting run");
12956
- const started = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
12956
+ const started = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
12957
12957
  "cli.play_start_unwatched",
12958
12958
  { targetKind: "file", playName },
12959
12959
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _495 => _495.onSubmission]) }).catch(async (error) => {
@@ -13019,9 +13019,9 @@ async function handleNamedRun(options, hooks) {
13019
13019
  if (options.target.kind !== "name") {
13020
13020
  throw new Error("Expected a named play run target.");
13021
13021
  }
13022
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)(playRunClientOptions(options));
13023
- let cliAdmission = _chunkYUEFDOMEjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13024
- const progress = _nullishCoalesce(_chunk7RBIOOCQjs.getActiveCliProgress.call(void 0, ), () => ( _chunk7RBIOOCQjs.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)));
13025
13025
  const playName = options.target.name;
13026
13026
  const runtimeInput = options.input ? { ...options.input } : {};
13027
13027
  try {
@@ -13039,7 +13039,7 @@ async function handleNamedRun(options, hooks) {
13039
13039
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13040
13040
  const capabilityController = new AbortController();
13041
13041
  cancelAdmissionCapability = () => capabilityController.abort();
13042
- admissionCapability = _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13042
+ admissionCapability = _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13043
13043
  "cli.play_admission_capability_prefetch",
13044
13044
  { targetKind: "name", playName },
13045
13045
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13050,14 +13050,14 @@ async function handleNamedRun(options, hooks) {
13050
13050
  }
13051
13051
  const playDetail = needsPlayDefinition ? await (async () => {
13052
13052
  progress.phase("loading play definition");
13053
- return _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13053
+ return _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13054
13054
  "cli.play_load_definition",
13055
13055
  { targetKind: "name", playName, skipped: false },
13056
13056
  () => assertCanonicalNamedPlayReference(client, playName, {
13057
13057
  command: "run"
13058
13058
  })
13059
13059
  );
13060
- })() : (_chunkUV7AT2D4js.recordCliTrace.call(void 0, {
13060
+ })() : (_chunkQERMP4TWjs.recordCliTrace.call(void 0, {
13061
13061
  phase: "cli.play_load_definition",
13062
13062
  ms: 0,
13063
13063
  ok: true,
@@ -13066,7 +13066,7 @@ async function handleNamedRun(options, hooks) {
13066
13066
  skipped: true
13067
13067
  }), null);
13068
13068
  progress.phase("selecting revision");
13069
- const selectedRevisionId = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13069
+ const selectedRevisionId = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13070
13070
  "cli.play_select_revision",
13071
13071
  {
13072
13072
  targetKind: "name",
@@ -13091,10 +13091,10 @@ async function handleNamedRun(options, hooks) {
13091
13091
  ..._chunkEQR5O2D2js.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13092
13092
  ] : [];
13093
13093
  if (cliAdmission && fileInputBindings.length > 0) {
13094
- await _chunkYUEFDOMEjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13094
+ await _chunkDB7SJKGIjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13095
13095
  cliAdmission = false;
13096
13096
  }
13097
- const stagedFileInputs = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13097
+ const stagedFileInputs = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13098
13098
  "cli.play_stage_inputs",
13099
13099
  {
13100
13100
  targetKind: "name",
@@ -13138,7 +13138,7 @@ async function handleNamedRun(options, hooks) {
13138
13138
  });
13139
13139
  if (options.watch) {
13140
13140
  progress.phase("starting run");
13141
- const finalStatus = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13141
+ const finalStatus = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13142
13142
  "cli.play_start_watch",
13143
13143
  { targetKind: "name", playName },
13144
13144
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13203,7 +13203,7 @@ async function handleNamedRun(options, hooks) {
13203
13203
  return outputStatus.status === "completed" ? 0 : 1;
13204
13204
  }
13205
13205
  progress.phase("starting run");
13206
- const started = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
13206
+ const started = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
13207
13207
  "cli.play_start_unwatched",
13208
13208
  { targetKind: "name", playName },
13209
13209
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _508 => _508.onSubmission]) }).catch(async (error) => {
@@ -13263,7 +13263,7 @@ async function writePlayRunReceipt(client, status, output) {
13263
13263
  const next = { status: `deepline runs get ${status.runId}` };
13264
13264
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _516 => _516.exec, 'call', _517 => _517(status.runId), 'optionalAccess', _518 => _518[1]]), () => ( extractRunPlayName(status))), () => ( null));
13265
13265
  if (!terminal) {
13266
- _chunkFVS5MJQ5js.writeExecutionOutput.call(void 0,
13266
+ _chunkQUIJUNXXjs.writeExecutionOutput.call(void 0,
13267
13267
  {
13268
13268
  id: status.runId,
13269
13269
  status: status.status,
@@ -13343,10 +13343,10 @@ async function writePlayRunReceipt(client, status, output) {
13343
13343
  };
13344
13344
  }
13345
13345
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13346
- const allCollections = _chunkFVS5MJQ5js.outputCollections.call(void 0, data).map(
13346
+ const allCollections = _chunkQUIJUNXXjs.outputCollections.call(void 0, data).map(
13347
13347
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13348
13348
  );
13349
- _chunkFVS5MJQ5js.writeExecutionOutput.call(void 0,
13349
+ _chunkQUIJUNXXjs.writeExecutionOutput.call(void 0,
13350
13350
  {
13351
13351
  id: status.runId,
13352
13352
  status: status.status,
@@ -13367,7 +13367,7 @@ async function writePlayRunReceipt(client, status, output) {
13367
13367
  }
13368
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;
13369
13369
  async function handlePlayRun(args, hooks) {
13370
- const parsedOptions = Array.isArray(args) ? _chunk7FFNSYMJjs.parsePlayRunOptions.call(void 0, args) : args;
13370
+ const parsedOptions = Array.isArray(args) ? _chunkYCGVVUGXjs.parsePlayRunOptions.call(void 0, args) : args;
13371
13371
  const options = parsedOptions.runIdFile ? {
13372
13372
  ...parsedOptions,
13373
13373
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13384,7 +13384,7 @@ async function handlePlayRun(args, hooks) {
13384
13384
  JSON.stringify({
13385
13385
  version: 1,
13386
13386
  admissionState: "submitted_unknown",
13387
- baseUrl: new (0, _chunkB4Q3EBQXjs.DeeplineClient)().baseUrl,
13387
+ baseUrl: new (0, _chunkOL2QEEXFjs.DeeplineClient)().baseUrl,
13388
13388
  ...intent
13389
13389
  })
13390
13390
  );
@@ -13613,7 +13613,7 @@ function renderRunOverviewText(overview, extras = {}) {
13613
13613
  );
13614
13614
  return `${lines.join("\n")}
13615
13615
 
13616
- ${_chunkXLYJ7MJXjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13616
+ ${_chunkTPQFCUPVjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13617
13617
  }
13618
13618
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13619
13619
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13637,7 +13637,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13637
13637
  }
13638
13638
  }
13639
13639
  async function handleRunGet(args) {
13640
- const selection = _chunkXLYJ7MJXjs.parseJsonFields.call(void 0,
13640
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0,
13641
13641
  args,
13642
13642
  args.includes("--config") ? "config" : "get"
13643
13643
  );
@@ -13650,7 +13650,7 @@ async function handleRunGet(args) {
13650
13650
  console.error(error instanceof Error ? error.message : usage2);
13651
13651
  return 1;
13652
13652
  }
13653
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
13653
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
13654
13654
  const timing = args.includes("--timing");
13655
13655
  const web = args.includes("--web");
13656
13656
  if (web || args.includes("--web-url")) {
@@ -13668,8 +13668,8 @@ async function handleRunGet(args) {
13668
13668
  const dashboardUrl2 = _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13669
13669
  const runUrl2 = _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
13670
13670
  if (web) {
13671
- const opened = _chunkXLYJ7MJXjs.openInBrowser.call(void 0, runUrl2);
13672
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13671
+ const opened = _chunkTPQFCUPVjs.openInBrowser.call(void 0, runUrl2);
13672
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13673
13673
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
13674
13674
  {
13675
13675
  json: args.includes("--json"),
@@ -13680,7 +13680,7 @@ async function handleRunGet(args) {
13680
13680
  );
13681
13681
  return 0;
13682
13682
  }
13683
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13683
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13684
13684
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
13685
13685
  { json: args.includes("--json"), text: `${runUrl2}
13686
13686
  ` }
@@ -13705,7 +13705,7 @@ async function handleRunGet(args) {
13705
13705
  "This server does not support recorded configuration reads."
13706
13706
  );
13707
13707
  }
13708
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13708
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13709
13709
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13710
13710
  { json: true, fields: selection.fields }
13711
13711
  );
@@ -13718,7 +13718,7 @@ async function handleRunGet(args) {
13718
13718
  timing,
13719
13719
  () => client.getRunInput(runId)
13720
13720
  );
13721
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0, input, { json: true });
13721
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, input, { json: true });
13722
13722
  return 0;
13723
13723
  }
13724
13724
  const full = args.includes("--full");
@@ -13731,7 +13731,7 @@ async function handleRunGet(args) {
13731
13731
  failedLogs: args.includes("--log-failed")
13732
13732
  })
13733
13733
  );
13734
- if (status.package) _chunkFVS5MJQ5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13734
+ if (status.package) _chunkQUIJUNXXjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13735
13735
  if (!status.package) {
13736
13736
  const legacyStatus = full ? await withRunReadTiming(
13737
13737
  "runs get",
@@ -13745,8 +13745,8 @@ async function handleRunGet(args) {
13745
13745
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13746
13746
  const legacyDashboardUrl = legacyPlayName ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13747
13747
  const legacyRunUrl = legacyPlayName ? _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
13748
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
13749
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13748
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
13749
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13750
13750
  {
13751
13751
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13752
13752
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -13757,7 +13757,7 @@ async function handleRunGet(args) {
13757
13757
  } else {
13758
13758
  writePlayResult(legacyStatus, false, { fullJson: full });
13759
13759
  if (legacyRunUrl)
13760
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13760
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13761
13761
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
13762
13762
  { json: false, text: `run page: ${legacyRunUrl}
13763
13763
  ` }
@@ -13787,11 +13787,11 @@ async function handleRunGet(args) {
13787
13787
  )
13788
13788
  ]);
13789
13789
  const hitLines = formatRunHitsLines(hits);
13790
- const json = _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
13790
+ const json = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
13791
13791
  const playName = resolveRunPlayName(status, runId);
13792
13792
  const dashboardUrl = playName ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13793
13793
  const runUrl = playName ? _chunkJO5FFSR7js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
13794
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
13794
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
13795
13795
  {
13796
13796
  ...overview,
13797
13797
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13896,9 +13896,9 @@ async function handleRunLifecycleStatus(args) {
13896
13896
  console.error(error instanceof Error ? error.message : usage2);
13897
13897
  return 1;
13898
13898
  }
13899
- const status = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().runs.status(runId);
13900
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
13901
- _chunkXLYJ7MJXjs.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 });
13902
13902
  return 0;
13903
13903
  }
13904
13904
  if (!status.available) {
@@ -13938,7 +13938,7 @@ async function handleRunsRerun(args) {
13938
13938
  console.error(error instanceof Error ? error.message : usage2);
13939
13939
  return 1;
13940
13940
  }
13941
- const options = { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) };
13941
+ const options = { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) };
13942
13942
  for (let index = 0; index < args.length; index += 1) {
13943
13943
  if (args[index] === "--idempotency-key") {
13944
13944
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14004,8 +14004,8 @@ ${usage2}
14004
14004
  Discover Plays: ${next.discover}
14005
14005
  Active runs: ${next.running}`
14006
14006
  );
14007
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
14008
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14007
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
14008
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14009
14009
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14010
14010
  { json: true }
14011
14011
  );
@@ -14020,7 +14020,7 @@ Active runs: ${next.running}`
14020
14020
  console.error("--offset requires --play.");
14021
14021
  return 1;
14022
14022
  }
14023
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14023
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14024
14024
  const page = await withRunReadTiming(
14025
14025
  "runs list",
14026
14026
  "run inventory",
@@ -14087,14 +14087,14 @@ Active runs: ${next.running}`
14087
14087
  return lines2.join("\n");
14088
14088
  });
14089
14089
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
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}${_chunkXLYJ7MJXjs.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;
14091
14091
  if (page.hasMore) {
14092
14092
  lines.push("List truncated \u2014 more runs match this filter.");
14093
14093
  lines.push(
14094
14094
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14095
14095
  );
14096
14096
  }
14097
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14097
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14098
14098
  {
14099
14099
  runs,
14100
14100
  count: runs.length,
@@ -14108,7 +14108,7 @@ Active runs: ${next.running}`
14108
14108
  },
14109
14109
  render: { sections: [{ title: "runs", lines }] }
14110
14110
  },
14111
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14111
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14112
14112
  );
14113
14113
  return 0;
14114
14114
  }
@@ -14138,7 +14138,7 @@ async function handleRunTail(args) {
14138
14138
  console.error("--log-level requires one of: debug, info, warn, error.");
14139
14139
  return 1;
14140
14140
  }
14141
- const parsed = _chunk3KG2FUU4js.parseLogLevel.call(void 0, value);
14141
+ const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
14142
14142
  if (!parsed) {
14143
14143
  console.error(
14144
14144
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14176,9 +14176,9 @@ async function handleRunTail(args) {
14176
14176
  );
14177
14177
  return 1;
14178
14178
  }
14179
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14179
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14180
14180
  const jsonLines = args.includes("--jsonl");
14181
- const jsonOutput = !jsonLines && _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
14181
+ const jsonOutput = !jsonLines && _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
14182
14182
  const compact = args.includes("--compact");
14183
14183
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14184
14184
  const compactState = {
@@ -14259,7 +14259,7 @@ async function handleRunLogs(args) {
14259
14259
  ]);
14260
14260
  const cursorIndex = args.indexOf("--cursor");
14261
14261
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14262
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunk3KG2FUU4js.isRunLogsCursor.call(void 0, cursorValue));
14262
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkUA2GU7NBjs.isRunLogsCursor.call(void 0, cursorValue));
14263
14263
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14264
14264
  return handleRunEventSearch(args);
14265
14265
  }
@@ -14293,7 +14293,7 @@ async function handleRunLogs(args) {
14293
14293
  console.error("--log-level requires one of: debug, info, warn, error.");
14294
14294
  return 1;
14295
14295
  }
14296
- const parsed = _chunk3KG2FUU4js.parseLogLevel.call(void 0, value);
14296
+ const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
14297
14297
  if (!parsed) {
14298
14298
  console.error(
14299
14299
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14340,12 +14340,12 @@ async function handleRunLogs(args) {
14340
14340
  );
14341
14341
  return 1;
14342
14342
  }
14343
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14343
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14344
14344
  if (outPath) {
14345
14345
  const result2 = await client.runs.logs(runId, { all: true });
14346
- const logs = result2.entries.filter((line) => _chunk3KG2FUU4js.logLevelReaches.call(void 0, _chunk3KG2FUU4js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunk3KG2FUU4js.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);
14347
14347
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14348
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14348
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14349
14349
  {
14350
14350
  runId: result2.runId,
14351
14351
  log_path: outPath,
@@ -14368,7 +14368,7 @@ async function handleRunLogs(args) {
14368
14368
  ]
14369
14369
  }
14370
14370
  },
14371
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14371
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14372
14372
  );
14373
14373
  return 0;
14374
14374
  }
@@ -14399,7 +14399,7 @@ async function handleRunLogs(args) {
14399
14399
  }
14400
14400
  };
14401
14401
  const text = buildRunLogsText(filteredResult);
14402
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14402
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14403
14403
  {
14404
14404
  runId: result.runId,
14405
14405
  totalCount: result.totalCount,
@@ -14423,7 +14423,7 @@ async function handleRunLogs(args) {
14423
14423
  render: { sections: [{ title: "run logs", lines: entries }] }
14424
14424
  },
14425
14425
  {
14426
- json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args),
14426
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14427
14427
  text
14428
14428
  }
14429
14429
  );
@@ -14447,7 +14447,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14447
14447
  );
14448
14448
  }
14449
14449
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14450
- (entry) => _chunk3KG2FUU4js.logLevelReaches.call(void 0, _chunk3KG2FUU4js.classifyLogLine.call(void 0, entry.line).level, logLevel)
14450
+ (entry) => _chunkUA2GU7NBjs.logLevelReaches.call(void 0, _chunkUA2GU7NBjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14451
14451
  );
14452
14452
  const selected = matching.slice(-limit);
14453
14453
  const olderMatchesExist = matching.length > selected.length;
@@ -14457,7 +14457,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14457
14457
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _550 => _550.at, 'call', _551 => _551(-1), 'optionalAccess', _552 => _552.seq]), () => ( null)),
14458
14458
  truncated: result.truncated || olderMatchesExist,
14459
14459
  hasMore: olderMatchesExist,
14460
- nextCursor: olderMatchesExist ? _chunk3KG2FUU4js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14460
+ nextCursor: olderMatchesExist ? _chunkUA2GU7NBjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14461
14461
  };
14462
14462
  }
14463
14463
  async function handleRunEventSearch(args) {
@@ -14524,7 +14524,7 @@ ${usage2}`);
14524
14524
  namespace,
14525
14525
  ...backend ? { backend } : {}
14526
14526
  } : void 0;
14527
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14527
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14528
14528
  const result = await client.runs.searchEvents({
14529
14529
  ...runId ? { runId } : {},
14530
14530
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14596,7 +14596,7 @@ ${renderedDetails}` : ""}`;
14596
14596
  "--limit",
14597
14597
  String(limit)
14598
14598
  ].join(" ") : null;
14599
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14599
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14600
14600
  {
14601
14601
  events,
14602
14602
  nextCursor: result.nextCursor,
@@ -14607,14 +14607,14 @@ ${renderedDetails}` : ""}`;
14607
14607
  render: { sections: [{ title: "runtime events", lines }] }
14608
14608
  },
14609
14609
  {
14610
- json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args),
14610
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14611
14611
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14612
14612
  }
14613
14613
  );
14614
14614
  return 0;
14615
14615
  }
14616
14616
  function buildRunLogsText(result) {
14617
- const lines = result.entries.map((line) => _chunk3KG2FUU4js.classifyLogLine.call(void 0, line).line);
14617
+ const lines = result.entries.map((line) => _chunkUA2GU7NBjs.classifyLogLine.call(void 0, line).line);
14618
14618
  if (result.warning) {
14619
14619
  if (lines.length > 0) lines.push("");
14620
14620
  lines.push(`warning: ${result.warning}`);
@@ -14648,7 +14648,7 @@ async function handleRunStop(args) {
14648
14648
  reason = args[++index];
14649
14649
  }
14650
14650
  }
14651
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14651
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14652
14652
  const result = await client.runs.stop(runId, { reason });
14653
14653
  const state = resolveRunStopState(result);
14654
14654
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14663,7 +14663,7 @@ async function handleRunStop(args) {
14663
14663
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14664
14664
  `inspect: deepline runs get ${runId} --full`
14665
14665
  ];
14666
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14666
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14667
14667
  {
14668
14668
  ...cancelling,
14669
14669
  state,
@@ -14678,7 +14678,7 @@ async function handleRunStop(args) {
14678
14678
  ]
14679
14679
  }
14680
14680
  },
14681
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14681
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14682
14682
  );
14683
14683
  return 0;
14684
14684
  }
@@ -14695,7 +14695,7 @@ async function handleRunStop(args) {
14695
14695
  ];
14696
14696
  process.stderr.write(`${lines2.join("\n")}
14697
14697
  `);
14698
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14698
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14699
14699
  {
14700
14700
  ...result,
14701
14701
  render: {
@@ -14710,7 +14710,7 @@ async function handleRunStop(args) {
14710
14710
  ]
14711
14711
  }
14712
14712
  },
14713
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14713
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14714
14714
  );
14715
14715
  return 1;
14716
14716
  }
@@ -14721,12 +14721,12 @@ async function handleRunStop(args) {
14721
14721
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14722
14722
  ] : []
14723
14723
  ];
14724
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14724
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14725
14725
  {
14726
14726
  ...result,
14727
14727
  render: { sections: [{ title: "run stop", lines }] }
14728
14728
  },
14729
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14729
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14730
14730
  );
14731
14731
  return 0;
14732
14732
  }
@@ -14776,18 +14776,18 @@ async function handleRunStopAll(args) {
14776
14776
  reason = args[++index];
14777
14777
  }
14778
14778
  }
14779
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14779
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14780
14780
  if (dryRun) {
14781
14781
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14782
14782
  const lines2 = buildStopAllDryRunTextLines(result2);
14783
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14783
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14784
14784
  {
14785
14785
  ...result2,
14786
14786
  render: {
14787
14787
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14788
14788
  }
14789
14789
  },
14790
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14790
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14791
14791
  ` }
14792
14792
  );
14793
14793
  return 0;
@@ -14800,17 +14800,17 @@ async function handleRunStopAll(args) {
14800
14800
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14801
14801
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14802
14802
  ];
14803
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
14803
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
14804
14804
  {
14805
14805
  ...result,
14806
14806
  render: { sections: [{ title: "workspace stop-all", lines }] }
14807
14807
  },
14808
- { json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args) }
14808
+ { json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) }
14809
14809
  );
14810
14810
  return result.failed > 0 || result.partial ? 1 : 0;
14811
14811
  }
14812
14812
  async function handleRunExport(args) {
14813
- const selection = _chunkXLYJ7MJXjs.parseJsonFields.call(void 0, args, "export");
14813
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "export");
14814
14814
  args = selection.args;
14815
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]";
14816
14816
  let runId;
@@ -14881,17 +14881,17 @@ async function handleRunExport(args) {
14881
14881
  "INVALID_ARGUMENT"
14882
14882
  );
14883
14883
  }
14884
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
14884
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
14885
14885
  let status = await client.getPlayStatus(runId, { full: true });
14886
14886
  assertRunExportStatusIdentity(status, runId);
14887
14887
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14888
- const progress = _chunk7RBIOOCQjs.createCliProgress.call(void 0, !_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args));
14888
+ const progress = _chunkPKTJN6PFjs.createCliProgress.call(void 0, !_chunkTPQFCUPVjs.argsWantJson.call(void 0, args));
14889
14889
  try {
14890
14890
  await waitForPlayCompletionByWatch({
14891
14891
  client,
14892
14892
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14893
14893
  workflowId: runId,
14894
- jsonOutput: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args),
14894
+ jsonOutput: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14895
14895
  emitLogs: false,
14896
14896
  waitTimeoutMs,
14897
14897
  startedAt: Date.now(),
@@ -14959,7 +14959,7 @@ async function handleRunExport(args) {
14959
14959
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _566 => _566.rowsInfo, 'access', _567 => _567.totalRows]), () => ( null)),
14960
14960
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14961
14961
  ...rowFailures ? { rowFailures } : {},
14962
- columns: _chunkFVS5MJQ5js.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]), () => ( []))),
14963
14963
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14964
14964
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14965
14965
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14993,8 +14993,8 @@ async function handleRunExport(args) {
14993
14993
  "utf-8"
14994
14994
  );
14995
14995
  }
14996
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0, payload, {
14997
- json: _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args),
14996
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, payload, {
14997
+ json: _chunkTPQFCUPVjs.argsWantJson.call(void 0, args),
14998
14998
  fields: selection.fields,
14999
14999
  text: `${lines.join("\n")}
15000
15000
  `
@@ -15028,10 +15028,10 @@ async function handlePlayGet(args) {
15028
15028
  );
15029
15029
  return 2;
15030
15030
  }
15031
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15031
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15032
15032
  const explicitJson = args.includes("--json");
15033
15033
  const sourceOutput = args.includes("--source");
15034
- const jsonOutput = sourceOutput ? explicitJson : _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
15034
+ const jsonOutput = sourceOutput ? explicitJson : _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15035
15035
  const requestedRevisionFlags = [
15036
15036
  args.includes("--working"),
15037
15037
  args.includes("--live"),
@@ -15094,7 +15094,7 @@ async function handlePlayGet(args) {
15094
15094
  }
15095
15095
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15096
15096
  if (jsonOutput) {
15097
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
15097
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15098
15098
  ...detail,
15099
15099
  ...materializedFile ? {
15100
15100
  message: loadedMessage,
@@ -15186,8 +15186,8 @@ async function handlePlayVersions(args) {
15186
15186
  console.error("Usage: deepline plays versions --name <name> [--json]");
15187
15187
  return 1;
15188
15188
  }
15189
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15190
- const jsonOutput = _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
15189
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15190
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15191
15191
  await assertCanonicalNamedPlayReference(client, playName, {
15192
15192
  command: "versions"
15193
15193
  });
@@ -15195,7 +15195,7 @@ async function handlePlayVersions(args) {
15195
15195
  parseReferencedPlayTarget(playName).playName
15196
15196
  );
15197
15197
  if (jsonOutput) {
15198
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, { versions });
15198
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, { versions });
15199
15199
  return 0;
15200
15200
  }
15201
15201
  if (versions.length === 0) {
@@ -15238,8 +15238,8 @@ async function handlePlayCost(args) {
15238
15238
  console.error("Usage: deepline plays cost <play> [--json]");
15239
15239
  return 2;
15240
15240
  }
15241
- const result = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().getPlayCostEstimate(name);
15242
- if (_chunkXLYJ7MJXjs.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));
15243
15243
  else
15244
15244
  console.log(
15245
15245
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -15247,9 +15247,9 @@ async function handlePlayCost(args) {
15247
15247
  return 0;
15248
15248
  }
15249
15249
  async function handlePlayList(args) {
15250
- const jsonOutput = _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
15250
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15251
15251
  const showCost = args.includes("--show-cost");
15252
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15252
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15253
15253
  const categoriesIndex = args.indexOf("--categories");
15254
15254
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _589 => _589[categoriesIndex + 1], 'optionalAccess', _590 => _590.trim, 'call', _591 => _591()]) : void 0;
15255
15255
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15347,7 +15347,7 @@ async function handlePlayList(args) {
15347
15347
  lines.push("List truncated \u2014 more plays are available.");
15348
15348
  lines.push(`Next page: ${nextPage}`);
15349
15349
  }
15350
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
15350
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
15351
15351
  {
15352
15352
  plays,
15353
15353
  count: plays.length,
@@ -15365,7 +15365,7 @@ async function handlePlayList(args) {
15365
15365
  }
15366
15366
  async function handlePlayPin(args, pinned) {
15367
15367
  const target = _optionalChain([args, 'access', _600 => _600.find, 'call', _601 => _601((arg) => !arg.startsWith("-")), 'optionalAccess', _602 => _602.trim, 'call', _603 => _603()]);
15368
- const jsonOutput = _chunkXLYJ7MJXjs.argsWantJson.call(void 0, args);
15368
+ const jsonOutput = _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
15369
15369
  const dryRun = args.includes("--dry-run");
15370
15370
  if (!target) {
15371
15371
  console.error(
@@ -15383,11 +15383,11 @@ async function handlePlayPin(args, pinned) {
15383
15383
  const name = parsedTarget.playName;
15384
15384
  const plan = { name, pinned, dryRun };
15385
15385
  if (dryRun) {
15386
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, plan);
15386
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, plan);
15387
15387
  return 0;
15388
15388
  }
15389
- const result = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().setPlayPinned(name, pinned);
15390
- if (jsonOutput) _chunkXLYJ7MJXjs.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);
15391
15391
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15392
15392
  return 0;
15393
15393
  }
@@ -15513,12 +15513,12 @@ async function handlePlayGrep(args) {
15513
15513
  console.error("Usage: deepline plays grep <query> [--json]");
15514
15514
  return 1;
15515
15515
  }
15516
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15516
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15517
15517
  const results = (await client.listPlays({ grep: query })).map(
15518
15518
  summarizePlayGrepResult
15519
15519
  );
15520
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
15521
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
15520
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15521
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15522
15522
  plays: results,
15523
15523
  count: results.length,
15524
15524
  query,
@@ -15541,7 +15541,7 @@ async function handlePlayGrep(args) {
15541
15541
  return 0;
15542
15542
  }
15543
15543
  async function handlePlayDescribe(args) {
15544
- const selection = _chunkXLYJ7MJXjs.parseJsonFields.call(void 0, args, "describe");
15544
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "describe");
15545
15545
  args = selection.args;
15546
15546
  const playName = args[0];
15547
15547
  if (!playName) {
@@ -15575,8 +15575,8 @@ async function handlePlayDescribe(args) {
15575
15575
  `deepline plays check ${playName}`,
15576
15576
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15577
15577
  ];
15578
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
15579
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
15578
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15579
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
15580
15580
  ok: false,
15581
15581
  error: { message },
15582
15582
  next
@@ -15590,7 +15590,7 @@ async function handlePlayDescribe(args) {
15590
15590
  }
15591
15591
  return 2;
15592
15592
  }
15593
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15593
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15594
15594
  await assertCanonicalNamedPlayReference(client, playName, {
15595
15595
  command: "describe"
15596
15596
  });
@@ -15600,9 +15600,9 @@ async function handlePlayDescribe(args) {
15600
15600
  compact: args.includes("--compact")
15601
15601
  }
15602
15602
  );
15603
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
15604
- if (selection.fields) _chunkXLYJ7MJXjs.printJson.call(void 0, play, selection.fields);
15605
- else _chunkXLYJ7MJXjs.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);
15606
15606
  return 0;
15607
15607
  }
15608
15608
  printPlayDescription(play);
@@ -15624,7 +15624,7 @@ async function handlePlaySave(args) {
15624
15624
  }
15625
15625
  let graph;
15626
15626
  try {
15627
- graph = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15627
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15628
15628
  "cli.play_save_bundle_graph",
15629
15629
  { targetKind: "file" },
15630
15630
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15646,7 +15646,7 @@ async function handlePlaySave(args) {
15646
15646
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15647
15647
  };
15648
15648
  if (options.jsonOutput) {
15649
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result);
15649
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15650
15650
  } else {
15651
15651
  console.error(result.message);
15652
15652
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15668,7 +15668,7 @@ async function handlePlaySave(args) {
15668
15668
  };
15669
15669
  if (options.dryRun) {
15670
15670
  if (options.jsonOutput) {
15671
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, dryRun);
15671
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, dryRun);
15672
15672
  } else {
15673
15673
  console.log(`Dry run: ${playName}`);
15674
15674
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15677,14 +15677,14 @@ async function handlePlaySave(args) {
15677
15677
  }
15678
15678
  return 0;
15679
15679
  }
15680
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15680
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15681
15681
  try {
15682
- await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15682
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15683
15683
  "cli.play_save_compile_manifests",
15684
15684
  { targetKind: "file", nodeCount: graph.nodes.size },
15685
15685
  () => compileBundledPlayGraphManifests(client, graph)
15686
15686
  );
15687
- const saved = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15687
+ const saved = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15688
15688
  "cli.play_save_register_draft",
15689
15689
  { targetKind: "file", playName, artifactHash },
15690
15690
  () => client.registerPlayArtifact({
@@ -15713,7 +15713,7 @@ async function handlePlaySave(args) {
15713
15713
  }
15714
15714
  };
15715
15715
  if (options.jsonOutput) {
15716
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result);
15716
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15717
15717
  } else {
15718
15718
  console.log(
15719
15719
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15739,7 +15739,7 @@ async function handlePlayPublish(args) {
15739
15739
  }
15740
15740
  const { target: playName, useLatest } = options;
15741
15741
  let revisionId = options.revisionId;
15742
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15742
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15743
15743
  if (isFileTarget(playName)) {
15744
15744
  if (revisionId || useLatest) {
15745
15745
  console.error(
@@ -15749,7 +15749,7 @@ async function handlePlayPublish(args) {
15749
15749
  }
15750
15750
  let graph;
15751
15751
  try {
15752
- graph = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15752
+ graph = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15753
15753
  "cli.play_publish_bundle_graph",
15754
15754
  { targetKind: "file" },
15755
15755
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15771,7 +15771,7 @@ async function handlePlayPublish(args) {
15771
15771
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15772
15772
  };
15773
15773
  if (options.jsonOutput) {
15774
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result3);
15774
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result3);
15775
15775
  } else {
15776
15776
  console.error(result3.message);
15777
15777
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15794,7 +15794,7 @@ async function handlePlayPublish(args) {
15794
15794
  };
15795
15795
  if (options.dryRun) {
15796
15796
  if (options.jsonOutput) {
15797
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, dryRun);
15797
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, dryRun);
15798
15798
  } else {
15799
15799
  console.log(`Dry run: ${rootPlayName}`);
15800
15800
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15813,12 +15813,12 @@ async function handlePlayPublish(args) {
15813
15813
  }
15814
15814
  }
15815
15815
  try {
15816
- await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15816
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15817
15817
  "cli.play_publish_compile_manifests",
15818
15818
  { targetKind: "file", nodeCount: graph.nodes.size },
15819
15819
  () => compileBundledPlayGraphManifests(client, graph)
15820
15820
  );
15821
- await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15821
+ await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15822
15822
  "cli.play_publish_imports",
15823
15823
  { targetKind: "file", nodeCount: graph.nodes.size },
15824
15824
  () => publishImportedPlayDependencies(client, graph)
@@ -15827,7 +15827,7 @@ async function handlePlayPublish(args) {
15827
15827
  console.error(error instanceof Error ? error.message : String(error));
15828
15828
  return 1;
15829
15829
  }
15830
- const published = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
15830
+ const published = await _chunkQERMP4TWjs.traceCliSpan.call(void 0,
15831
15831
  "cli.play_publish_register_root",
15832
15832
  {
15833
15833
  targetKind: "file",
@@ -15862,7 +15862,7 @@ async function handlePlayPublish(args) {
15862
15862
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15863
15863
  };
15864
15864
  if (options.jsonOutput) {
15865
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result2);
15865
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15866
15866
  } else {
15867
15867
  printPublishReceipt({
15868
15868
  name: rootPlayName,
@@ -15893,7 +15893,7 @@ async function handlePlayPublish(args) {
15893
15893
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15894
15894
  latest: useLatest
15895
15895
  };
15896
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result2);
15896
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15897
15897
  return 0;
15898
15898
  }
15899
15899
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15917,7 +15917,7 @@ async function handlePlayPublish(args) {
15917
15917
  revisionId ? { revisionId } : {}
15918
15918
  );
15919
15919
  if (options.jsonOutput) {
15920
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result);
15920
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15921
15921
  } else {
15922
15922
  printPublishReceipt({
15923
15923
  name: result.name,
@@ -15957,7 +15957,7 @@ async function handlePlayDelete(args) {
15957
15957
  );
15958
15958
  return 2;
15959
15959
  }
15960
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
15960
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
15961
15961
  let detail;
15962
15962
  try {
15963
15963
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15981,8 +15981,8 @@ async function handlePlayDelete(args) {
15981
15981
  name: resolvedName,
15982
15982
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15983
15983
  };
15984
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
15985
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result2);
15984
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15985
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result2);
15986
15986
  } else {
15987
15987
  process.stdout.write(
15988
15988
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15992,8 +15992,8 @@ async function handlePlayDelete(args) {
15992
15992
  return 0;
15993
15993
  }
15994
15994
  const result = await client.deletePlay(resolvedName);
15995
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
15996
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result);
15995
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
15996
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
15997
15997
  return result.archived || result.alreadyArchived ? 0 : 4;
15998
15998
  }
15999
15999
  if (result.alreadyArchived) {
@@ -16032,13 +16032,13 @@ async function handlePlayRestore(args) {
16032
16032
  );
16033
16033
  return 2;
16034
16034
  }
16035
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
16035
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16036
16036
  try {
16037
16037
  const result = await client.restorePlay(
16038
16038
  parseReferencedPlayTarget(playName).playName
16039
16039
  );
16040
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
16041
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, result);
16040
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
16041
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, result);
16042
16042
  return result.restored || result.alreadyActive ? 0 : 4;
16043
16043
  }
16044
16044
  if (result.alreadyActive) {
@@ -16165,21 +16165,21 @@ Common commands:
16165
16165
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16166
16166
  }
16167
16167
  };
16168
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0, result2, {
16168
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, result2, {
16169
16169
  json: options.json,
16170
16170
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16171
16171
  `
16172
16172
  });
16173
16173
  return;
16174
16174
  }
16175
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
16175
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16176
16176
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16177
16177
  throw new Error(
16178
16178
  "The submission belongs to a different API origin. Select its original host before recovery."
16179
16179
  );
16180
16180
  }
16181
16181
  const result = await client.startPlayRun(saved.request);
16182
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
16182
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
16183
16183
  { ...result },
16184
16184
  {
16185
16185
  json: options.json,
@@ -16215,7 +16215,7 @@ Examples:
16215
16215
  ).action(async (target, options) => {
16216
16216
  process.exitCode = await handlePlayCheck([
16217
16217
  target,
16218
- ..._chunkXLYJ7MJXjs.jsonFieldArgs.call(void 0, options.json),
16218
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json),
16219
16219
  ...options.full ? ["--full"] : []
16220
16220
  ]);
16221
16221
  });
@@ -16254,10 +16254,10 @@ Notes:
16254
16254
  --force-tool-refresh re-executes completed tool receipts and may repeat billed
16255
16255
  provider calls. It is independent from --force.
16256
16256
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
16257
- resident-work ceiling. Default: ${_chunk7FFNSYMJjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunk7FFNSYMJjs.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}.
16258
16258
  Provider pacing and sandbox memory limits still apply.
16259
16259
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
16260
- resolvers. Accepted range: 1-${_chunk7FFNSYMJjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16260
+ resolvers. Accepted range: 1-${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16261
16261
  may lower it when source-row size exceeds the active-row memory budget.
16262
16262
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
16263
16263
  Tool calls that would exceed it are denied.
@@ -16371,10 +16371,10 @@ Examples:
16371
16371
  "Refresh completed tool receipts; may repeat billed provider calls"
16372
16372
  ).option(
16373
16373
  "--max-concurrent-external-calls <count>",
16374
- `Concurrent provider-tool and deepline.fetch executions (${_chunk7FFNSYMJjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunk7FFNSYMJjs.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})`
16375
16375
  ).option(
16376
16376
  "--max-concurrent-rows <count>",
16377
- `Run-wide dataset map row resolver ceiling (max ${_chunk7FFNSYMJjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16377
+ `Run-wide dataset map row resolver ceiling (max ${_chunkYCGVVUGXjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16378
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(
16379
16379
  "--debug-map-latency",
16380
16380
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16419,14 +16419,14 @@ JSON field selection:
16419
16419
  passthroughArgs.shift();
16420
16420
  }
16421
16421
  const exitCode = await handlePlayRun(
16422
- _chunk7FFNSYMJjs.resolvePlayRunCliOptions.call(void 0,
16422
+ _chunkYCGVVUGXjs.resolvePlayRunCliOptions.call(void 0,
16423
16423
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16424
16424
  options,
16425
16425
  passthroughArgs,
16426
- _chunkUV7AT2D4js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16426
+ _chunkQERMP4TWjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16427
16427
  )
16428
16428
  );
16429
- _chunkUV7AT2D4js.recordCliTrace.call(void 0, {
16429
+ _chunkQERMP4TWjs.recordCliTrace.call(void 0, {
16430
16430
  phase: "cli.play_command_exit",
16431
16431
  exitCode
16432
16432
  });
@@ -16475,9 +16475,9 @@ Examples:
16475
16475
  const limit = Number(options.historyLimit);
16476
16476
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16477
16477
  throw new Error("--history-limit must be an integer from 1 to 30.");
16478
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
16478
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
16479
16479
  if (options.binding) {
16480
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0,
16480
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0,
16481
16481
  await client.getPlayTriggerHistory(options.binding, { limit })
16482
16482
  );
16483
16483
  return;
@@ -16485,7 +16485,7 @@ Examples:
16485
16485
  const result = await client.listPlayTriggerInventory({
16486
16486
  cursor: options.cursor
16487
16487
  });
16488
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
16488
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
16489
16489
  ...result,
16490
16490
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16491
16491
  });
@@ -16544,7 +16544,7 @@ Examples:
16544
16544
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16545
16545
  throw new Error("--group-by must be kind or trigger_source.");
16546
16546
  }
16547
- const result = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().getPlaysActivity({
16547
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getPlaysActivity({
16548
16548
  timeZone: options.timeZone,
16549
16549
  days,
16550
16550
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16558,7 +16558,7 @@ Examples:
16558
16558
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16559
16559
  );
16560
16560
  }
16561
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0,
16561
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
16562
16562
  { ...result },
16563
16563
  {
16564
16564
  json: Boolean(options.json),
@@ -16587,7 +16587,7 @@ Examples:
16587
16587
  false
16588
16588
  );
16589
16589
  });
16590
- _chunkZLYKN4AJjs.registerDeprecatedSearchCommand.call(void 0,
16590
+ _chunkPHBJ2VDSjs.registerDeprecatedSearchCommand.call(void 0,
16591
16591
  play,
16592
16592
  (options) => options.all ? ["plays"] : ["prebuilts"]
16593
16593
  );
@@ -16628,9 +16628,9 @@ Examples:
16628
16628
  "--json [fields]",
16629
16629
  "JSON output; optionally select comma-separated dotted paths"
16630
16630
  );
16631
- _chunkFVS5MJQ5js.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16631
+ _chunkQUIJUNXXjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16632
16632
  async (target, options) => {
16633
- const ownView = () => handlePlayDescribe(_chunkXLYJ7MJXjs.describeArgs.call(void 0, target, options));
16633
+ const ownView = () => handlePlayDescribe(_chunkTPQFCUPVjs.describeArgs.call(void 0, target, options));
16634
16634
  const [flagText] = [options.json].filter(
16635
16635
  (value) => typeof value === "string"
16636
16636
  );
@@ -16641,7 +16641,7 @@ Examples:
16641
16641
  process.exitCode = await ownView();
16642
16642
  return;
16643
16643
  }
16644
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-BL5NNHV5.js")));
16644
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-DAUL3SDQ.js")));
16645
16645
  process.exitCode = await describeAnything(
16646
16646
  name,
16647
16647
  {
@@ -16759,7 +16759,7 @@ Examples:
16759
16759
  deepline plays deployments <deployment-id>
16760
16760
  `
16761
16761
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16762
- async (id, options) => id ? _chunk6TA2H7CYjs.handleDeploymentGet.call(void 0, id, options) : _chunk6TA2H7CYjs.handleDeploymentsList.call(void 0, options)
16762
+ async (id, options) => id ? _chunkFPRS3FP4js.handleDeploymentGet.call(void 0, id, options) : _chunkFPRS3FP4js.handleDeploymentsList.call(void 0, options)
16763
16763
  );
16764
16764
  addPublishHelp(
16765
16765
  play.command("publish <target>").description(
@@ -16894,14 +16894,14 @@ Examples:
16894
16894
  const limit = Number(options.limit);
16895
16895
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16896
16896
  throw new Error("--limit must be an integer from 1 to 1000.");
16897
- const result = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().runs.rowHistory({
16897
+ const result = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().runs.rowHistory({
16898
16898
  playName: options.play,
16899
16899
  runId,
16900
16900
  tableNamespace: options.dataset,
16901
16901
  limit,
16902
16902
  cursor: options.cursor
16903
16903
  });
16904
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
16904
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
16905
16905
  ...result,
16906
16906
  ...result.nextCursor ? {
16907
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`
@@ -16979,7 +16979,7 @@ Examples:
16979
16979
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
16980
16980
  ).action(async (runId, options) => {
16981
16981
  if (TOOL_EXECUTION_ID.test(runId)) {
16982
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-RZYKMOUX.js")));
16982
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-JWBXEZKY.js")));
16983
16983
  process.exitCode = await getToolExecutionReceipt(runId, {
16984
16984
  receiptJson: options.json !== void 0
16985
16985
  });
@@ -16987,7 +16987,7 @@ Examples:
16987
16987
  }
16988
16988
  process.exitCode = await handleRunGet([
16989
16989
  runId,
16990
- ..._chunkXLYJ7MJXjs.jsonFieldArgs.call(void 0, options.json),
16990
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json),
16991
16991
  ...options.web ? ["--web"] : [],
16992
16992
  ...options.webUrl ? ["--web-url"] : [],
16993
16993
  ...options.full ? ["--full"] : [],
@@ -17278,7 +17278,7 @@ Examples:
17278
17278
  ...options.allowEmpty ? ["--allow-empty"] : [],
17279
17279
  ...options.wait ? ["--wait"] : [],
17280
17280
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17281
- ..._chunkXLYJ7MJXjs.jsonFieldArgs.call(void 0, options.json)
17281
+ ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json)
17282
17282
  ]);
17283
17283
  });
17284
17284
  const share = play.command("share").description(
@@ -17444,10 +17444,10 @@ async function handlePlayShareStatus(args) {
17444
17444
  return 2;
17445
17445
  }
17446
17446
  const name = parseReferencedPlayTarget(target).playName;
17447
- const status = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().getSharePage(name);
17447
+ const status = await new (0, _chunkOL2QEEXFjs.DeeplineClient)().getSharePage(name);
17448
17448
  const outputStatus = shareStatusForOutput(status);
17449
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17450
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, outputStatus);
17449
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17450
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17451
17451
  return 0;
17452
17452
  }
17453
17453
  if (!outputStatus.share) {
@@ -17486,7 +17486,7 @@ async function handlePlaySharePublish(args) {
17486
17486
  return 2;
17487
17487
  }
17488
17488
  const name = parseReferencedPlayTarget(target).playName;
17489
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
17489
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
17490
17490
  let revisionId = shareFlagValue(args, "--revision-id");
17491
17491
  let resolvedVersion;
17492
17492
  if (!revisionId) {
@@ -17517,8 +17517,8 @@ async function handlePlaySharePublish(args) {
17517
17517
  );
17518
17518
  if (!hasCompleted) {
17519
17519
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17520
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17521
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, {
17520
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17521
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, {
17522
17522
  ok: false,
17523
17523
  code: "NO_SUCCESSFUL_RUN",
17524
17524
  message,
@@ -17542,8 +17542,8 @@ async function handlePlaySharePublish(args) {
17542
17542
  };
17543
17543
  if (args.includes("--dry-run")) {
17544
17544
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17545
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17546
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, plan);
17545
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17546
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, plan);
17547
17547
  } else {
17548
17548
  console.log(
17549
17549
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17553,8 +17553,8 @@ async function handlePlaySharePublish(args) {
17553
17553
  }
17554
17554
  const status = await client.publishSharePage(name, request);
17555
17555
  const outputStatus = shareStatusForOutput(status);
17556
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17557
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, outputStatus);
17556
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17557
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17558
17558
  return 0;
17559
17559
  }
17560
17560
  const urls = shareUrlFields(outputStatus);
@@ -17585,9 +17585,9 @@ async function handlePlayShareUpdate(args) {
17585
17585
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17586
17586
  ...seoIndexing ? { seoIndexing } : {}
17587
17587
  };
17588
- const status = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().updateSharePage(name, request);
17589
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17590
- _chunkXLYJ7MJXjs.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);
17591
17591
  return 0;
17592
17592
  }
17593
17593
  console.log(`Updated ${name} share settings.`);
@@ -17602,7 +17602,7 @@ async function handlePlayShareRegenerate(args) {
17602
17602
  return 2;
17603
17603
  }
17604
17604
  const name = parseReferencedPlayTarget(target).playName;
17605
- const client = new (0, _chunkB4Q3EBQXjs.DeeplineClient)();
17605
+ const client = new (0, _chunkOL2QEEXFjs.DeeplineClient)();
17606
17606
  let revisionId = shareFlagValue(args, "--revision-id");
17607
17607
  const versionFlag = shareFlagValue(args, "--version");
17608
17608
  if (!revisionId && versionFlag) {
@@ -17619,8 +17619,8 @@ async function handlePlayShareRegenerate(args) {
17619
17619
  revisionId ? { revisionId } : {}
17620
17620
  );
17621
17621
  const outputStatus = shareStatusForOutput(status);
17622
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17623
- _chunkXLYJ7MJXjs.printCompactJson.call(void 0, outputStatus);
17622
+ if (_chunkTPQFCUPVjs.argsWantJson.call(void 0, args)) {
17623
+ _chunkTPQFCUPVjs.printCompactJson.call(void 0, outputStatus);
17624
17624
  return 0;
17625
17625
  }
17626
17626
  const urls = shareUrlFields(outputStatus);
@@ -17645,9 +17645,9 @@ async function handlePlayShareUnpublish(args) {
17645
17645
  return 2;
17646
17646
  }
17647
17647
  const name = parseReferencedPlayTarget(target).playName;
17648
- const status = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().unpublishSharePage(name);
17649
- if (_chunkXLYJ7MJXjs.argsWantJson.call(void 0, args)) {
17650
- _chunkXLYJ7MJXjs.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);
17651
17651
  return 0;
17652
17652
  }
17653
17653
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17724,4 +17724,4 @@ async function handlePlayShareUnpublish(args) {
17724
17724
 
17725
17725
 
17726
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 = _chunk7FFNSYMJjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunk7FFNSYMJjs.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;
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;