deepline 0.3.399 → 0.3.401

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 (87) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/worker-resource-metrics.ts +57 -46
  3. package/dist/cli/{auth-QHVIMKL3.mjs → auth-4AWRW6ED.mjs} +4 -4
  4. package/dist/cli/auth-K6U65ROB.js +40 -0
  5. package/dist/cli/{billing-3V4GX5FX.mjs → billing-AMQDNFSL.mjs} +4 -4
  6. package/dist/cli/{billing-O2HRFIPG.js → billing-FPHECIIS.js} +73 -73
  7. package/dist/cli/{chunk-GT4NODCJ.js → chunk-5QD6F5TW.js} +1 -1
  8. package/dist/cli/{chunk-EMNKA5WK.js → chunk-72ESQ66A.js} +2 -2
  9. package/dist/cli/{chunk-A3T7YPEP.js → chunk-BHEJDACQ.js} +4 -4
  10. package/dist/cli/{chunk-T523SXCK.mjs → chunk-BXRIA6OQ.mjs} +2 -2
  11. package/dist/cli/{chunk-2S44J5UG.mjs → chunk-C7JATIE5.mjs} +1 -1
  12. package/dist/cli/{chunk-BX7ZF5Z7.js → chunk-D5KFELCC.js} +8 -8
  13. package/dist/cli/{chunk-CI4Q6UP4.js → chunk-GDKUYYCJ.js} +50 -50
  14. package/dist/cli/{chunk-AVTJXBXL.mjs → chunk-H4QOCJNY.mjs} +5 -5
  15. package/dist/cli/{chunk-CCH3ZVR5.mjs → chunk-JDA2E5MQ.mjs} +1 -1
  16. package/dist/cli/{chunk-EFEMS43P.js → chunk-LD7WUOAZ.js} +26 -26
  17. package/dist/cli/{chunk-ZKKXQQWL.js → chunk-M3R2BG3A.js} +8 -8
  18. package/dist/cli/{chunk-ZNWNAC7E.mjs → chunk-MSOOPRSP.mjs} +3 -3
  19. package/dist/cli/{chunk-BZZX56J2.js → chunk-OIODIUIC.js} +6 -6
  20. package/dist/cli/{chunk-XES27RSC.mjs → chunk-R2S7OCRB.mjs} +1 -1
  21. package/dist/cli/{chunk-DHLYCZWS.mjs → chunk-RMW6SXGP.mjs} +3 -3
  22. package/dist/cli/{chunk-IB6R2SZJ.js → chunk-RWVQQ7O4.js} +44 -44
  23. package/dist/cli/{chunk-YADFPKH2.js → chunk-S56LMBGA.js} +65 -65
  24. package/dist/cli/{chunk-HNHFC3PM.js → chunk-SXGVRWAW.js} +15 -15
  25. package/dist/cli/{chunk-VV6EPCDS.mjs → chunk-TPA6R5EF.mjs} +2 -2
  26. package/dist/cli/{chunk-CVTH2VUI.js → chunk-WSKN3U4U.js} +6 -6
  27. package/dist/cli/{chunk-XUHQWWJW.mjs → chunk-X6WLVELL.mjs} +1 -1
  28. package/dist/cli/{chunk-Y3MRTY2F.mjs → chunk-YGHWGZMF.mjs} +1 -1
  29. package/dist/cli/{chunk-PQB2PTMA.mjs → chunk-YJZM6SMA.mjs} +2 -2
  30. package/dist/cli/{chunk-ZPDNT7LJ.mjs → chunk-ZKV52IDD.mjs} +4 -4
  31. package/dist/cli/{csv-IDABZWW3.js → csv-ARB6UC2S.js} +12 -12
  32. package/dist/cli/{csv-Z5TYV7XE.mjs → csv-FICXQQRA.mjs} +3 -3
  33. package/dist/cli/{db-4KKNX3Y2.js → db-HFQAZHLR.js} +25 -25
  34. package/dist/cli/{db-23MIKNVU.mjs → db-OG5PJUEH.mjs} +4 -4
  35. package/dist/cli/{describe-RKZKZ7UR.js → describe-HSHMULQM.js} +10 -10
  36. package/dist/cli/{describe-XNGCKRPN.mjs → describe-OU3J552L.mjs} +6 -6
  37. package/dist/cli/{executions-XUKNAELQ.mjs → executions-6JBC2LEV.mjs} +4 -4
  38. package/dist/cli/{executions-NTXHTAM6.js → executions-74BX6WTW.js} +6 -6
  39. package/dist/cli/{feedback-LWJSTHZ2.mjs → feedback-DQMLYSYA.mjs} +3 -3
  40. package/dist/cli/{feedback-6INY66DC.js → feedback-QVDE26VJ.js} +7 -7
  41. package/dist/cli/git-62XASBWF.js +24 -0
  42. package/dist/cli/{git-CRKOKS7B.mjs → git-CLGBVWOE.mjs} +4 -4
  43. package/dist/cli/index.js +89 -89
  44. package/dist/cli/index.mjs +32 -32
  45. package/dist/cli/{legacy-noops-LPTMKYC7.js → legacy-noops-3WGVVY3K.js} +7 -7
  46. package/dist/cli/{legacy-noops-VVQQ7VUO.mjs → legacy-noops-WRSE7SQJ.mjs} +4 -4
  47. package/dist/cli/{monitors-HG6KO4XZ.js → monitors-GY4VQLAC.js} +84 -84
  48. package/dist/cli/{monitors-GI2GTZSG.mjs → monitors-ZKFTF7YR.mjs} +4 -4
  49. package/dist/cli/{org-ZYKZP6CE.mjs → org-D3PC2XSX.mjs} +4 -4
  50. package/dist/cli/{org-L3KNS3OS.js → org-TYO2HXYG.js} +64 -64
  51. package/dist/cli/{play-64VPT37H.mjs → play-3OQWZXXS.mjs} +112 -33
  52. package/dist/cli/{play-537TGXWP.js → play-ZVHBPWSF.js} +375 -296
  53. package/dist/cli/{providers-ISRDMPLU.mjs → providers-FFGKI5TY.mjs} +4 -4
  54. package/dist/cli/{providers-6DBPDSLU.js → providers-PGMUOSED.js} +7 -7
  55. package/dist/cli/{quickstart-CACETI7N.mjs → quickstart-JCOPUMOG.mjs} +3 -3
  56. package/dist/cli/{quickstart-53Z7F4YI.js → quickstart-PSA6H2J4.js} +5 -5
  57. package/dist/cli/search-OLW7VOVW.js +30 -0
  58. package/dist/cli/{search-ZUOMRAIV.mjs → search-UBDRYRKV.mjs} +5 -5
  59. package/dist/cli/{secrets-TOUFAI3P.js → secrets-35D7PHB6.js} +13 -13
  60. package/dist/cli/{secrets-7TPCHJM5.mjs → secrets-KERFAL3Q.mjs} +4 -4
  61. package/dist/cli/{sessions-7JX2XZSO.js → sessions-FDQFQHRN.js} +5 -5
  62. package/dist/cli/{sessions-D3HZ2E3P.mjs → sessions-O2Z2KW6M.mjs} +4 -4
  63. package/dist/cli/{settings-IZ7FINUA.js → settings-4FANCMJK.js} +74 -74
  64. package/dist/cli/{settings-LSFSVH3T.mjs → settings-4ZS7FR2D.mjs} +7 -7
  65. package/dist/cli/{setup-FXSH7FIX.js → setup-DO7JN6D5.js} +41 -41
  66. package/dist/cli/{setup-ZF2VX7J5.mjs → setup-M2PE4H6S.mjs} +6 -6
  67. package/dist/cli/skills-OLGAL6KZ.js +29 -0
  68. package/dist/cli/{skills-I3ILXJPH.mjs → skills-TQBVDZRT.mjs} +4 -4
  69. package/dist/cli/{tools-GZHXAZBL.js → tools-3NNIOEWK.js} +7 -7
  70. package/dist/cli/{tools-LW7Z2BLN.mjs → tools-WNRMVURQ.mjs} +6 -6
  71. package/dist/cli/{update-BOK3AWHY.mjs → update-3MF6MZJC.mjs} +6 -6
  72. package/dist/cli/update-6CWJ56OJ.js +29 -0
  73. package/dist/cli/{workflow-5ZBCCWKH.js → workflow-EK3HMPGH.js} +15 -15
  74. package/dist/cli/{workflow-ZS3FBDO6.mjs → workflow-UJB633SZ.mjs} +5 -5
  75. package/dist/index.js +6 -6
  76. package/dist/index.mjs +3 -3
  77. package/dist/install-integrity.json +70 -70
  78. package/dist/release.d.mts +1 -1
  79. package/dist/release.d.ts +1 -1
  80. package/dist/release.js +2 -2
  81. package/dist/release.mjs +1 -1
  82. package/package.json +1 -1
  83. package/dist/cli/auth-YYB4S5HO.js +0 -40
  84. package/dist/cli/git-2TH3NROT.js +0 -24
  85. package/dist/cli/search-GAF5BS6N.js +0 -30
  86. package/dist/cli/skills-JT6CP6MI.js +0 -29
  87. package/dist/cli/update-5TD6XRQK.js +0 -29
package/dist/cli/index.js CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkHNHFC3PMjs = require('./chunk-HNHFC3PM.js');
8
- require('./chunk-EMNKA5WK.js');
7
+ var _chunkSXGVRWAWjs = require('./chunk-SXGVRWAW.js');
8
+ require('./chunk-72ESQ66A.js');
9
9
 
10
10
 
11
11
 
@@ -22,7 +22,7 @@ require('./chunk-EMNKA5WK.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkYADFPKH2js = require('./chunk-YADFPKH2.js');
25
+ var _chunkS56LMBGAjs = require('./chunk-S56LMBGA.js');
26
26
 
27
27
 
28
28
 
@@ -44,7 +44,7 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
44
44
 
45
45
 
46
46
 
47
- var _chunkCVTH2VUIjs = require('./chunk-CVTH2VUI.js');
47
+ var _chunkWSKN3U4Ujs = require('./chunk-WSKN3U4U.js');
48
48
 
49
49
 
50
50
 
@@ -54,13 +54,13 @@ var _chunkCVTH2VUIjs = require('./chunk-CVTH2VUI.js');
54
54
 
55
55
 
56
56
 
57
- var _chunkA3T7YPEPjs = require('./chunk-A3T7YPEP.js');
57
+ var _chunkBHEJDACQjs = require('./chunk-BHEJDACQ.js');
58
58
 
59
59
 
60
60
  var _chunkQ2E4E4FJjs = require('./chunk-Q2E4E4FJ.js');
61
61
  require('./chunk-XNYIZMNQ.js');
62
62
  require('./chunk-7P5AA3SN.js');
63
- require('./chunk-GT4NODCJ.js');
63
+ require('./chunk-5QD6F5TW.js');
64
64
  require('./chunk-OG64RBAC.js');
65
65
 
66
66
 
@@ -130,48 +130,48 @@ var _os = require('os');
130
130
  var COMMAND_GROUPS = [
131
131
  {
132
132
  names: ["auth"],
133
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-YYB4S5HO.js")))).registerAuthCommands
133
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-K6U65ROB.js")))).registerAuthCommands
134
134
  },
135
135
  {
136
136
  names: ["providers"],
137
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-6DBPDSLU.js")))).registerProviderCommands
137
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-PGMUOSED.js")))).registerProviderCommands
138
138
  },
139
139
  {
140
140
  names: ["search"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-GAF5BS6N.js")))).registerSearchCommand
141
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-OLW7VOVW.js")))).registerSearchCommand
142
142
  },
143
143
  {
144
144
  names: ["describe"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RKZKZ7UR.js")))).registerDescribeCommand
145
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-HSHMULQM.js")))).registerDescribeCommand
146
146
  },
147
147
  {
148
148
  names: ["tools"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-GZHXAZBL.js")))).registerToolsCommands
149
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-3NNIOEWK.js")))).registerToolsCommands
150
150
  },
151
151
  {
152
152
  names: ["executions"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-NTXHTAM6.js")))).registerExecutionsCommands
153
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-74BX6WTW.js")))).registerExecutionsCommands
154
154
  },
155
155
  {
156
156
  names: ["plays", "runs"],
157
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-537TGXWP.js")))).registerPlayCommands
157
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ZVHBPWSF.js")))).registerPlayCommands
158
158
  },
159
159
  {
160
160
  names: ["sessions"],
161
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-7JX2XZSO.js")))).registerSessionsCommands
161
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-FDQFQHRN.js")))).registerSessionsCommands
162
162
  },
163
163
  {
164
164
  names: ["workflows"],
165
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-5ZBCCWKH.js")))).registerWorkflowCommands
165
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-EK3HMPGH.js")))).registerWorkflowCommands
166
166
  },
167
167
  {
168
168
  names: ["secrets"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-TOUFAI3P.js")))).registerSecretsCommands
169
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-35D7PHB6.js")))).registerSecretsCommands
170
170
  },
171
171
  {
172
172
  names: ["settings", "notifications"],
173
173
  load: async () => {
174
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-IZ7FINUA.js")));
174
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-4FANCMJK.js")));
175
175
  return (p) => {
176
176
  commands.registerSettingsCommands(p);
177
177
  commands.registerNotificationCommands(p);
@@ -180,51 +180,51 @@ var COMMAND_GROUPS = [
180
180
  },
181
181
  {
182
182
  names: ["billing"],
183
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-O2HRFIPG.js")))).registerBillingCommands
183
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-FPHECIIS.js")))).registerBillingCommands
184
184
  },
185
185
  {
186
186
  names: ["monitors"],
187
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-HG6KO4XZ.js")))).registerMonitorsCommands
187
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-GY4VQLAC.js")))).registerMonitorsCommands
188
188
  },
189
189
  {
190
190
  names: ["org"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-L3KNS3OS.js")))).registerOrgCommands
191
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-TYO2HXYG.js")))).registerOrgCommands
192
192
  },
193
193
  {
194
194
  names: ["git", "projects", "deployments"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-2TH3NROT.js")))).registerGitCommands
195
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-62XASBWF.js")))).registerGitCommands
196
196
  },
197
197
  {
198
198
  names: ["csv"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-IDABZWW3.js")))).registerCsvCommands
199
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-ARB6UC2S.js")))).registerCsvCommands
200
200
  },
201
201
  {
202
202
  names: ["db"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-4KKNX3Y2.js")))).registerDbCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-HFQAZHLR.js")))).registerDbCommands
204
204
  },
205
205
  {
206
206
  names: ["feedback"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-6INY66DC.js")))).registerFeedbackCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-QVDE26VJ.js")))).registerFeedbackCommands
208
208
  },
209
209
  {
210
210
  names: ["enrich", "session", "backend"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-LPTMKYC7.js")))).registerDeprecatedCommands
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-3WGVVY3K.js")))).registerDeprecatedCommands
212
212
  },
213
213
  {
214
214
  names: ["update"],
215
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-5TD6XRQK.js")))).registerUpdateCommand
215
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-6CWJ56OJ.js")))).registerUpdateCommand
216
216
  },
217
217
  {
218
218
  names: ["skills", "skills-auto-sync"],
219
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-JT6CP6MI.js")))).registerSkillsCommand
219
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-OLGAL6KZ.js")))).registerSkillsCommand
220
220
  },
221
221
  {
222
222
  names: ["setup", "doctor"],
223
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-FXSH7FIX.js")))).registerSetupCommands
223
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-DO7JN6D5.js")))).registerSetupCommands
224
224
  },
225
225
  {
226
226
  names: ["quickstart"],
227
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-53Z7F4YI.js")))).registerQuickstartCommands
227
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-PSA6H2J4.js")))).registerQuickstartCommands
228
228
  }
229
229
  ];
230
230
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -261,7 +261,7 @@ var MAX_SESSIONS = 20;
261
261
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
262
262
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
263
263
  }
264
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkA3T7YPEPjs.agentSessionIdFromEnvironment.call(void 0, )) {
264
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkBHEJDACQjs.agentSessionIdFromEnvironment.call(void 0, )) {
265
265
  const explicit = _chunkURWF7NGQjs.helpDetailFromArgv.call(void 0, argv);
266
266
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
267
267
  if (!sessionId) return { detail: explicit, firstRead: false };
@@ -343,7 +343,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
343
343
  async function reportAutoUpdateEvent(input) {
344
344
  let apiKey = "";
345
345
  try {
346
- apiKey = _chunkA3T7YPEPjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
346
+ apiKey = _chunkBHEJDACQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
347
347
  } catch (e2) {
348
348
  return;
349
349
  }
@@ -359,15 +359,15 @@ async function reportAutoUpdateEvent(input) {
359
359
  headers: {
360
360
  Authorization: `Bearer ${apiKey}`,
361
361
  "Content-Type": "application/json",
362
- "User-Agent": `deepline-ts-sdk/${_chunkA3T7YPEPjs.SDK_VERSION}`,
362
+ "User-Agent": `deepline-ts-sdk/${_chunkBHEJDACQjs.SDK_VERSION}`,
363
363
  "X-Deepline-Client-Family": "sdk",
364
364
  "X-Deepline-CLI-Family": "sdk",
365
- "X-Deepline-CLI-Version": _chunkA3T7YPEPjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkA3T7YPEPjs.SDK_VERSION
365
+ "X-Deepline-CLI-Version": _chunkBHEJDACQjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkBHEJDACQjs.SDK_VERSION
367
367
  },
368
368
  body: JSON.stringify({
369
369
  event: input.event,
370
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkA3T7YPEPjs.SDK_VERSION,
370
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkBHEJDACQjs.SDK_VERSION,
371
371
  target_version: input.response.latest,
372
372
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
373
373
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -386,7 +386,7 @@ function envTruthy(name) {
386
386
  return value === "1" || value === "true" || value === "yes";
387
387
  }
388
388
  function shouldSkipSelfUpdate(policy) {
389
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkHNHFC3PMjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkYADFPKH2js.isCiEnvironment.call(void 0, );
389
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkSXGVRWAWjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkS56LMBGAjs.isCiEnvironment.call(void 0, );
390
390
  }
391
391
  function parseSemver(version) {
392
392
  const trimmed = _optionalChain([version, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]);
@@ -416,7 +416,7 @@ function compareSemver(left, right) {
416
416
  }
417
417
  function isDowngradeAutoUpdateResponse(response) {
418
418
  const target = _optionalChain([response, 'optionalAccess', _19 => _19.latest, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
419
- const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkA3T7YPEPjs.SDK_VERSION;
419
+ const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkBHEJDACQjs.SDK_VERSION;
420
420
  if (!target) return false;
421
421
  return compareSemver(target, current) < 0;
422
422
  }
@@ -455,7 +455,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
455
455
  }
456
456
  if (isDowngradeAutoUpdateResponse(response)) {
457
457
  const target = response.latest;
458
- const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkA3T7YPEPjs.SDK_VERSION;
458
+ const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkBHEJDACQjs.SDK_VERSION;
459
459
  process.stderr.write(
460
460
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
461
461
  `
@@ -463,12 +463,12 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
463
463
  return false;
464
464
  }
465
465
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
466
- const plan = _chunkHNHFC3PMjs.resolveUpdatePlan.call(void 0, {
466
+ const plan = _chunkSXGVRWAWjs.resolveUpdatePlan.call(void 0, {
467
467
  packageSpec,
468
468
  requireVerifiedNpmOwnership: true,
469
469
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
470
470
  });
471
- if (!_chunkHNHFC3PMjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
471
+ if (!_chunkSXGVRWAWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
472
472
  return false;
473
473
  }
474
474
  const label = autoUpdate.reason === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : autoUpdate.reason === "deprecated" ? "is deprecated and will update automatically" : autoUpdate.required ? "requires an update" : "has an update available and will update automatically";
@@ -482,7 +482,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
482
482
  event: "started",
483
483
  installKind: plan.kind
484
484
  });
485
- const updateResult = await _chunkHNHFC3PMjs.runAutomaticUpdatePlan.call(void 0, plan);
485
+ const updateResult = await _chunkSXGVRWAWjs.runAutomaticUpdatePlan.call(void 0, plan);
486
486
  if (updateResult.status === "skipped_previous_failure") {
487
487
  void reportAutoUpdateEvent({
488
488
  baseUrl,
@@ -574,7 +574,7 @@ function shouldReport(stdout, stderr) {
574
574
  }
575
575
  function toolName(action) {
576
576
  const [toolId] = _optionalChain([action, 'optionalAccess', _30 => _30.path]) === "tools execute" ? action.args : [];
577
- return typeof toolId === "string" ? _chunkYADFPKH2js.redactFailureText.call(void 0, toolId) : null;
577
+ return typeof toolId === "string" ? _chunkS56LMBGAjs.redactFailureText.call(void 0, toolId) : null;
578
578
  }
579
579
  function chunkText(chunk) {
580
580
  if (typeof chunk === "string") return chunk;
@@ -605,14 +605,14 @@ function watch(stream) {
605
605
  }
606
606
  async function postCommandOutput(body) {
607
607
  try {
608
- const baseUrl = _chunkA3T7YPEPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
609
- const apiKey = _chunkA3T7YPEPjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
608
+ const baseUrl = _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
609
+ const apiKey = _chunkBHEJDACQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
610
610
  if (!apiKey) return;
611
- const agentSessionId = _chunkA3T7YPEPjs.agentSessionIdFromEnvironment.call(void 0, );
611
+ const agentSessionId = _chunkBHEJDACQjs.agentSessionIdFromEnvironment.call(void 0, );
612
612
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
613
613
  method: "POST",
614
614
  headers: {
615
- ..._chunkYADFPKH2js.failureReportHeaders.call(void 0, apiKey),
615
+ ..._chunkS56LMBGAjs.failureReportHeaders.call(void 0, apiKey),
616
616
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
617
617
  },
618
618
  body: JSON.stringify(body),
@@ -628,14 +628,14 @@ function startOutputSizeReporting(invocation, streams = {
628
628
  const stdoutWatch = watch(streams.stdout);
629
629
  const stderrWatch = watch(streams.stderr);
630
630
  return async (finished) => {
631
- if (_chunkYADFPKH2js.isFailureReportingDisabled.call(void 0, )) return;
631
+ if (_chunkS56LMBGAjs.isFailureReportingDisabled.call(void 0, )) return;
632
632
  const [stdout, stderr] = await Promise.all([
633
633
  stdoutWatch.settled(),
634
634
  stderrWatch.settled()
635
635
  ]);
636
636
  if (!shouldReport(stdout, stderr)) return;
637
637
  await postCommandOutput({
638
- command: _chunkYADFPKH2js.sanitizeCommand.call(void 0, invocation.argv),
638
+ command: _chunkS56LMBGAjs.sanitizeCommand.call(void 0, invocation.argv),
639
639
  tool: toolName(finished.action),
640
640
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
641
641
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -709,7 +709,7 @@ function topLevelCommandKnown(program, commandName) {
709
709
  );
710
710
  }
711
711
  async function runPlayRunnerHealthCheck() {
712
- _chunkA3T7YPEPjs.resolveConfig.call(void 0, );
712
+ _chunkBHEJDACQjs.resolveConfig.call(void 0, );
713
713
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
714
714
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
715
715
  try {
@@ -739,7 +739,7 @@ async function runPlayRunnerHealthCheck() {
739
739
  });
740
740
  let exitCode = 1;
741
741
  try {
742
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-537TGXWP.js")));
742
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ZVHBPWSF.js")));
743
743
  exitCode = await handlePlayRun([
744
744
  file,
745
745
  "--input",
@@ -779,7 +779,7 @@ function preflightErrorMessage(error) {
779
779
  return error instanceof Error ? error.message : String(error);
780
780
  }
781
781
  async function runPreflightCheck() {
782
- const baseUrl = _chunkA3T7YPEPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
782
+ const baseUrl = _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
783
783
  const healthController = new AbortController();
784
784
  const healthTimeout = setTimeout(
785
785
  () => healthController.abort(),
@@ -794,9 +794,9 @@ async function runPreflightCheck() {
794
794
  version: pickString(payload, "version")
795
795
  };
796
796
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
797
- const apiKey = _chunkA3T7YPEPjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
798
- const http = apiKey ? new (0, _chunkA3T7YPEPjs.HttpClient)(
799
- _chunkA3T7YPEPjs.resolveConfig.call(void 0, {
797
+ const apiKey = _chunkBHEJDACQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
798
+ const http = apiKey ? new (0, _chunkBHEJDACQjs.HttpClient)(
799
+ _chunkBHEJDACQjs.resolveConfig.call(void 0, {
800
800
  baseUrl,
801
801
  apiKey,
802
802
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -841,7 +841,7 @@ async function runPreflightCheck() {
841
841
  const connected = authStatus === "connected" || authStatus === "claimed";
842
842
  return {
843
843
  status: healthResult.status === "ok" && connected ? "ok" : "check",
844
- cli_version: _chunkA3T7YPEPjs.SDK_VERSION,
844
+ cli_version: _chunkBHEJDACQjs.SDK_VERSION,
845
845
  host: baseUrl,
846
846
  health: {
847
847
  status: healthResult.status,
@@ -867,7 +867,7 @@ async function runPreflightCheck() {
867
867
  {
868
868
  title: "preflight",
869
869
  lines: [
870
- `cli: ${_chunkA3T7YPEPjs.SDK_VERSION}`,
870
+ `cli: ${_chunkBHEJDACQjs.SDK_VERSION}`,
871
871
  `host: ${baseUrl}`,
872
872
  `health: ${healthResult.status}`,
873
873
  `auth: ${authStatus}`,
@@ -892,12 +892,12 @@ function printPreflightHuman(data) {
892
892
  }
893
893
  async function newerCliCommandHint(baseUrl, command) {
894
894
  if (!command.trim()) return null;
895
- const { response, error } = await _chunkYADFPKH2js.checkSdkCompatibility.call(void 0, baseUrl, { command });
895
+ const { response, error } = await _chunkS56LMBGAjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
896
896
  if (error || !response) return null;
897
897
  const introduced = response.command_introduced_in;
898
898
  if (introduced) {
899
899
  return [
900
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkA3T7YPEPjs.SDK_VERSION}.`,
900
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkBHEJDACQjs.SDK_VERSION}.`,
901
901
  ` ${introduced.reason}`,
902
902
  ` Update with: ${response.update_command}`,
903
903
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -906,7 +906,7 @@ async function newerCliCommandHint(baseUrl, command) {
906
906
  if (!response.update_required) return null;
907
907
  return [
908
908
  response.message,
909
- ` Installed: ${_chunkA3T7YPEPjs.SDK_VERSION}. Run: ${response.update_command}`,
909
+ ` Installed: ${_chunkBHEJDACQjs.SDK_VERSION}. Run: ${response.update_command}`,
910
910
  " If an agent skill told you to run this, the skill is newer than this CLI."
911
911
  ].join("\n");
912
912
  }
@@ -925,7 +925,7 @@ async function runMain(ensureTransport, onAction) {
925
925
  const program = new (0, _commander.Command)();
926
926
  program.name("deepline").description(
927
927
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
928
- ).version(_chunkA3T7YPEPjs.SDK_VERSION, "-v, --version", "Show version").option(
928
+ ).version(_chunkBHEJDACQjs.SDK_VERSION, "-v, --version", "Show version").option(
929
929
  "--maintenance <policy>",
930
930
  "Installation maintenance: configured preferences or off; independent of output format",
931
931
  parseCliMaintenancePolicy,
@@ -985,7 +985,7 @@ Exit codes:
985
985
  if (actionCommand.name() !== "version") {
986
986
  await ensureTransport();
987
987
  }
988
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkYADFPKH2js.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
988
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkS56LMBGAjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
989
989
  return;
990
990
  }
991
991
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
@@ -998,16 +998,16 @@ Exit codes:
998
998
  _optionalChain([progress, 'optionalAccess', _38 => _38.phase, 'call', _39 => _39("checking sdk compatibility")]);
999
999
  }
1000
1000
  const startup = await runStartupStage("SDK compatibility", async () => {
1001
- const baseUrl = _chunkA3T7YPEPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
1002
- if (maintenance !== "off") _chunkYADFPKH2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
1001
+ const baseUrl = _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
1002
+ if (maintenance !== "off") _chunkS56LMBGAjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
1003
1003
  const shouldDeferSkillsSync = maintenance === "off" || shouldDeferSkillsSyncForCommand();
1004
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkA3T7YPEPjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1005
- const trusted = _chunkYADFPKH2js.readTrustedCleanCompatibility.call(void 0,
1004
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkBHEJDACQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1005
+ const trusted = _chunkS56LMBGAjs.readTrustedCleanCompatibility.call(void 0,
1006
1006
  baseUrl,
1007
1007
  compatibilityCommand,
1008
1008
  skillsVersion
1009
1009
  );
1010
- const fastDeadline = trusted === null && _chunkYADFPKH2js.readFreshCleanCompatibility.call(void 0,
1010
+ const fastDeadline = trusted === null && _chunkS56LMBGAjs.readFreshCleanCompatibility.call(void 0,
1011
1011
  baseUrl,
1012
1012
  compatibilityCommand,
1013
1013
  skillsVersion
@@ -1031,12 +1031,12 @@ Exit codes:
1031
1031
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
1032
1032
  fastDeadline
1033
1033
  },
1034
- () => _chunkYADFPKH2js.checkSdkCompatibility.call(void 0, baseUrl, {
1034
+ () => _chunkS56LMBGAjs.checkSdkCompatibility.call(void 0, baseUrl, {
1035
1035
  command: compatibilityCommand,
1036
1036
  skillsVersion,
1037
1037
  persistCache: maintenance !== "off",
1038
1038
  catalog: _chunkQJBJZVG6js.compatibilityCatalog.call(void 0, actionCommand),
1039
- ...fastDeadline ? { timeoutMs: _chunkYADFPKH2js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1039
+ ...fastDeadline ? { timeoutMs: _chunkS56LMBGAjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1040
1040
  })
1041
1041
  );
1042
1042
  if (compatibility.error) {
@@ -1060,7 +1060,7 @@ Exit codes:
1060
1060
  response: compatibility.response
1061
1061
  };
1062
1062
  }
1063
- _chunkYADFPKH2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1063
+ _chunkS56LMBGAjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1064
1064
  quietAdvisory: process.argv.includes("--json")
1065
1065
  });
1066
1066
  return {
@@ -1081,7 +1081,7 @@ Exit codes:
1081
1081
  () => _chunkAYHLUHE5js.traceCliSpan.call(void 0,
1082
1082
  "cli.sdk_skills_sync",
1083
1083
  { baseUrl: startup.baseUrl },
1084
- () => _chunkYADFPKH2js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1084
+ () => _chunkS56LMBGAjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1085
1085
  update: skillsUpdate,
1086
1086
  mode: "detached"
1087
1087
  })
@@ -1109,8 +1109,8 @@ Examples:
1109
1109
  `
1110
1110
  ).action(async (options) => {
1111
1111
  const data = await runPreflightCheck();
1112
- if (_chunkCVTH2VUIjs.shouldEmitJson.call(void 0, options.json)) {
1113
- _chunkCVTH2VUIjs.printJson.call(void 0, data);
1112
+ if (_chunkWSKN3U4Ujs.shouldEmitJson.call(void 0, options.json)) {
1113
+ _chunkWSKN3U4Ujs.printJson.call(void 0, data);
1114
1114
  } else {
1115
1115
  printPreflightHuman(data);
1116
1116
  }
@@ -1132,7 +1132,7 @@ Examples:
1132
1132
  ).action(async (options) => {
1133
1133
  if (options.playRunner) {
1134
1134
  const data = await runPlayRunnerHealthCheck();
1135
- _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, data, {
1135
+ _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0, data, {
1136
1136
  json: options.json,
1137
1137
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1138
1138
  `
@@ -1140,15 +1140,15 @@ Examples:
1140
1140
  return;
1141
1141
  }
1142
1142
  try {
1143
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-YYB4S5HO.js")));
1144
- const baseUrl = _chunkA3T7YPEPjs.resolveBaseUrlOnly.call(void 0, );
1143
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-K6U65ROB.js")));
1144
+ const baseUrl = _chunkBHEJDACQjs.resolveBaseUrlOnly.call(void 0, );
1145
1145
  const [{ status, data }, banner] = await Promise.all([
1146
1146
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1147
1147
  readStatusBanner(baseUrl)
1148
1148
  ]);
1149
1149
  if (status !== 200) throw new Error(`HTTP ${status}`);
1150
1150
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1151
- _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
1151
+ _chunkWSKN3U4Ujs.printCommandEnvelope.call(void 0,
1152
1152
  { ...data, status_banner: banner },
1153
1153
  {
1154
1154
  json: options.json,
@@ -1176,10 +1176,10 @@ Examples:
1176
1176
  `
1177
1177
  ).action((options) => {
1178
1178
  if (options.json) {
1179
- _chunkCVTH2VUIjs.printCompactJson.call(void 0, { version: _chunkA3T7YPEPjs.SDK_VERSION });
1179
+ _chunkWSKN3U4Ujs.printCompactJson.call(void 0, { version: _chunkBHEJDACQjs.SDK_VERSION });
1180
1180
  return;
1181
1181
  }
1182
- process.stdout.write(`deepline ${_chunkA3T7YPEPjs.SDK_VERSION}
1182
+ process.stdout.write(`deepline ${_chunkBHEJDACQjs.SDK_VERSION}
1183
1183
  `);
1184
1184
  });
1185
1185
  if (process.argv.slice(2).length === 0) {
@@ -1197,7 +1197,7 @@ Examples:
1197
1197
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1198
1198
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1199
1199
  console.error(`error: unknown command '${requestedTopLevelCommand}'`);
1200
- const baseUrl = _chunkA3T7YPEPjs.autoDetectBaseUrl.call(void 0, );
1200
+ const baseUrl = _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, );
1201
1201
  await ensureTransport();
1202
1202
  const versionHint = await newerCliCommandHint(
1203
1203
  baseUrl,
@@ -1215,8 +1215,8 @@ Examples:
1215
1215
  const helpArgs = process.argv.slice(2);
1216
1216
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1217
1217
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1218
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-YYB4S5HO.js")));
1219
- rootHelpStatus = `Version: ${_chunkA3T7YPEPjs.SDK_VERSION}
1218
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-K6U65ROB.js")));
1219
+ rootHelpStatus = `Version: ${_chunkBHEJDACQjs.SDK_VERSION}
1220
1220
  ${await authStatusLine()}
1221
1221
  `;
1222
1222
  }
@@ -1226,7 +1226,7 @@ ${await authStatusLine()}
1226
1226
  ms: Date.now() - mainStartedAt,
1227
1227
  ok: true
1228
1228
  });
1229
- await _chunkYADFPKH2js.maybeReportSdkCliFailure.call(void 0, {
1229
+ await _chunkS56LMBGAjs.maybeReportSdkCliFailure.call(void 0, {
1230
1230
  argv: process.argv.slice(2),
1231
1231
  startedAtMs: mainStartedAt,
1232
1232
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1251,7 +1251,7 @@ ${await authStatusLine()}
1251
1251
  const commandPath = invocation.commandPath || requestedTopLevelCommand;
1252
1252
  await ensureTransport();
1253
1253
  const versionHint = await newerCliCommandHint(
1254
- _chunkA3T7YPEPjs.autoDetectBaseUrl.call(void 0, ),
1254
+ _chunkBHEJDACQjs.autoDetectBaseUrl.call(void 0, ),
1255
1255
  commandPath
1256
1256
  );
1257
1257
  if (versionHint) console.error(versionHint);
@@ -1262,26 +1262,26 @@ ${await authStatusLine()}
1262
1262
  process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : _nullishCoalesce(commanderError.exitCode, () => ( 1));
1263
1263
  return;
1264
1264
  } else if (wantsJson) {
1265
- _chunkCVTH2VUIjs.printJson.call(void 0, {
1266
- ..._chunkCVTH2VUIjs.errorToJsonPayload.call(void 0, error),
1265
+ _chunkWSKN3U4Ujs.printJson.call(void 0, {
1266
+ ..._chunkWSKN3U4Ujs.errorToJsonPayload.call(void 0, error),
1267
1267
  ...error instanceof _chunkQ2E4E4FJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1268
1268
  });
1269
1269
  } else if (error instanceof Error) {
1270
1270
  console.error(`Error: ${error.message}`);
1271
- const toolDiagnostic = _chunkCVTH2VUIjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1271
+ const toolDiagnostic = _chunkWSKN3U4Ujs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1272
1272
  if (toolDiagnostic) console.error(toolDiagnostic);
1273
1273
  if (error instanceof _chunkQ2E4E4FJjs.AuthError) {
1274
1274
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1275
1275
  }
1276
- const providerConcurrency = _chunkCVTH2VUIjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1276
+ const providerConcurrency = _chunkWSKN3U4Ujs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1277
1277
  if (providerConcurrency) console.error(providerConcurrency);
1278
1278
  } else {
1279
1279
  console.error(`Error: ${String(error)}`);
1280
1280
  }
1281
1281
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1282
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkYADFPKH2js.resolveSdkCliFailureExitCode.call(void 0, error)));
1282
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkS56LMBGAjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1283
1283
  process.exitCode = failureExitCode;
1284
- await _chunkYADFPKH2js.maybeReportSdkCliFailure.call(void 0, {
1284
+ await _chunkS56LMBGAjs.maybeReportSdkCliFailure.call(void 0, {
1285
1285
  argv: process.argv.slice(2),
1286
1286
  startedAtMs: mainStartedAt,
1287
1287
  exitCode: failureExitCode,