deepline 0.3.388 → 0.3.389

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 (90) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-AOM2LA73.js +39 -0
  3. package/dist/cli/{auth-2DIKNI7P.mjs → auth-DEASEYUJ.mjs} +4 -4
  4. package/dist/cli/{billing-LTUXLRQO.js → billing-QIWD5GYZ.js} +73 -73
  5. package/dist/cli/{billing-YAFQ5HOL.mjs → billing-TUTB4H6F.mjs} +4 -4
  6. package/dist/cli/{chunk-FYSQW6H7.mjs → chunk-2L6BBM7Z.mjs} +4 -4
  7. package/dist/cli/{chunk-WETP5XUS.js → chunk-5VCRXKAU.js} +50 -50
  8. package/dist/cli/{chunk-XUOAS7EU.mjs → chunk-63ZXA57X.mjs} +3 -3
  9. package/dist/cli/{chunk-YXUBGP4Y.js → chunk-7IPMWJNZ.js} +226 -226
  10. package/dist/cli/{chunk-QPGEZ4PU.mjs → chunk-7WQGDKNO.mjs} +1 -1
  11. package/dist/cli/{chunk-4GNF7MCF.js → chunk-ABLS54ZL.js} +61 -61
  12. package/dist/cli/{chunk-E5TZ64CK.mjs → chunk-B6BQ6EAR.mjs} +6 -6
  13. package/dist/cli/{chunk-HSE4BI6X.mjs → chunk-CCIEPJSX.mjs} +2 -2
  14. package/dist/cli/{chunk-H7P6DX42.js → chunk-CLOICRTK.js} +6 -6
  15. package/dist/cli/{chunk-5SCZSNX4.js → chunk-CMWDXAQH.js} +26 -26
  16. package/dist/cli/{chunk-34I3JQML.js → chunk-FZXZLFNC.js} +15 -15
  17. package/dist/cli/{chunk-JKDY7FUD.js → chunk-FZZC3A7J.js} +8 -8
  18. package/dist/cli/{chunk-BECUIDJV.mjs → chunk-GB3KEA34.mjs} +1 -1
  19. package/dist/cli/{chunk-UCORN5KB.mjs → chunk-HHRQYYHK.mjs} +7 -6
  20. package/dist/cli/{chunk-2N2KHFOU.js → chunk-KWGB3RWA.js} +9 -9
  21. package/dist/cli/{chunk-MEWZNXLA.mjs → chunk-M6BQYSV3.mjs} +1 -1
  22. package/dist/cli/{chunk-2UFLY7CC.js → chunk-MCWGQIDV.js} +50 -49
  23. package/dist/cli/{chunk-OHJRJM7E.mjs → chunk-MP7FWY76.mjs} +2 -2
  24. package/dist/cli/{chunk-NRJPUSLB.mjs → chunk-NBXJJBBT.mjs} +1 -1
  25. package/dist/cli/{chunk-RFZP7MP2.js → chunk-OWP6SI5W.js} +8 -8
  26. package/dist/cli/{chunk-VJOZGWNO.mjs → chunk-PPKNOVMF.mjs} +2 -2
  27. package/dist/cli/{chunk-XJ2OSKPI.mjs → chunk-RHAP7ZW5.mjs} +2 -2
  28. package/dist/cli/{chunk-G6IRNEMJ.js → chunk-RPGSXBS3.js} +1 -1
  29. package/dist/cli/{chunk-YKCMTH5P.js → chunk-WRLYF4DS.js} +2 -2
  30. package/dist/cli/{chunk-ZFDWBWCQ.js → chunk-Z43SUQUL.js} +4 -4
  31. package/dist/cli/{chunk-YOHRMAY4.mjs → chunk-Z4ZB2CDV.mjs} +1 -1
  32. package/dist/cli/{csv-Y3HV4QXT.js → csv-FYI4XWEA.js} +12 -12
  33. package/dist/cli/{csv-SW5B4K6E.mjs → csv-GQ5K6MDD.mjs} +3 -3
  34. package/dist/cli/{db-4RFE5IQD.mjs → db-DYXQOAWZ.mjs} +4 -4
  35. package/dist/cli/{db-5KDJZJ6C.js → db-WYSI3J43.js} +29 -29
  36. package/dist/cli/{describe-5XNBGYTP.js → describe-T25AHZEJ.js} +18 -18
  37. package/dist/cli/{describe-6DPM37PH.mjs → describe-YIIUMAZF.mjs} +8 -8
  38. package/dist/cli/{executions-HQQ6HZUQ.js → executions-3D7KAJ2C.js} +6 -6
  39. package/dist/cli/{executions-W7U4YG4K.mjs → executions-RYFSOPMQ.mjs} +4 -4
  40. package/dist/cli/{feedback-CBYEXLGT.mjs → feedback-CIZXMDMJ.mjs} +3 -3
  41. package/dist/cli/{feedback-GTFLUBFS.js → feedback-I7FWPC7V.js} +7 -7
  42. package/dist/cli/{git-3XPDF4K5.mjs → git-JCURDXPQ.mjs} +4 -4
  43. package/dist/cli/git-MVMIPHQ6.js +23 -0
  44. package/dist/cli/index.js +89 -89
  45. package/dist/cli/index.mjs +32 -32
  46. package/dist/cli/{legacy-noops-IUBG6DMZ.mjs → legacy-noops-4BW4EZJG.mjs} +4 -4
  47. package/dist/cli/{legacy-noops-FRO5YR7L.js → legacy-noops-G6F5LNUM.js} +7 -7
  48. package/dist/cli/{monitors-LW5N2HWG.js → monitors-43UXU5C3.js} +85 -85
  49. package/dist/cli/{monitors-2L3ZJT62.mjs → monitors-LTKH5IWE.mjs} +4 -4
  50. package/dist/cli/{org-E3ELO53D.js → org-7MSUEPXL.js} +64 -64
  51. package/dist/cli/{org-5RN6RRNU.mjs → org-I3WHUV67.mjs} +4 -4
  52. package/dist/cli/{play-KCRWX7DC.mjs → play-HRZXSNXV.mjs} +7 -7
  53. package/dist/cli/play-R5TYLP5L.js +157 -0
  54. package/dist/cli/{providers-WTLOWJDB.mjs → providers-BY6JPMKP.mjs} +4 -4
  55. package/dist/cli/{providers-IL7DAKQH.js → providers-DWLWK5VX.js} +7 -7
  56. package/dist/cli/{quickstart-KXOL5CFD.mjs → quickstart-E647CKUQ.mjs} +3 -3
  57. package/dist/cli/{quickstart-YZJTOKOX.js → quickstart-QO6GCK4U.js} +5 -5
  58. package/dist/cli/search-34AC6FC7.js +26 -0
  59. package/dist/cli/{search-TFYOO37D.mjs → search-3WUQBHRV.mjs} +5 -5
  60. package/dist/cli/{secrets-IANLD3A7.js → secrets-CPNHE5XI.js} +13 -13
  61. package/dist/cli/{secrets-3Q6MHCB2.mjs → secrets-WTGMFFP7.mjs} +4 -4
  62. package/dist/cli/{sessions-FVLRLE6E.mjs → sessions-6Q5E7GSY.mjs} +4 -4
  63. package/dist/cli/{sessions-ZCZ6FWW4.js → sessions-UFGGEDZP.js} +5 -5
  64. package/dist/cli/{settings-VRNHWJLI.js → settings-NF5726RU.js} +74 -74
  65. package/dist/cli/{settings-4MHQZKQD.mjs → settings-QMEIKOUI.mjs} +7 -7
  66. package/dist/cli/{setup-QH6UM6IR.js → setup-J35MMJ7C.js} +41 -41
  67. package/dist/cli/{setup-R3U6EATD.mjs → setup-ZOQOJMJ7.mjs} +6 -6
  68. package/dist/cli/{skills-Q7BJMZTK.mjs → skills-UFDKCSYR.mjs} +4 -4
  69. package/dist/cli/skills-WGYISRE5.js +28 -0
  70. package/dist/cli/{tools-5YA7M5EA.mjs → tools-3SU3EUQT.mjs} +6 -6
  71. package/dist/cli/tools-Q642ZZ2M.js +40 -0
  72. package/dist/cli/{update-M6HYEZ5G.mjs → update-SXYX4PMC.mjs} +6 -6
  73. package/dist/cli/update-T5MNWAQC.js +28 -0
  74. package/dist/cli/{workflow-73Q3PWVZ.mjs → workflow-2LINUMOP.mjs} +5 -5
  75. package/dist/cli/{workflow-AAIQODIZ.js → workflow-XAIEXDUI.js} +15 -15
  76. package/dist/index.js +6 -6
  77. package/dist/index.mjs +3 -3
  78. package/dist/install-integrity.json +72 -72
  79. package/dist/release.d.mts +1 -1
  80. package/dist/release.d.ts +1 -1
  81. package/dist/release.js +2 -2
  82. package/dist/release.mjs +1 -1
  83. package/package.json +1 -1
  84. package/dist/cli/auth-Z4NL25WP.js +0 -39
  85. package/dist/cli/git-F2AUBR6I.js +0 -23
  86. package/dist/cli/play-SUYAMCPX.js +0 -157
  87. package/dist/cli/search-UFKDJ5TO.js +0 -26
  88. package/dist/cli/skills-I7URUOO7.js +0 -28
  89. package/dist/cli/tools-MPJGF7F2.js +0 -40
  90. package/dist/cli/update-EY7PSSDF.js +0 -28
@@ -0,0 +1,23 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkCMWDXAQHjs = require('./chunk-CMWDXAQH.js');
9
+ require('./chunk-CLOICRTK.js');
10
+ require('./chunk-Z43SUQUL.js');
11
+ require('./chunk-XNYIZMNQ.js');
12
+ require('./chunk-7P5AA3SN.js');
13
+ require('./chunk-RPGSXBS3.js');
14
+ require('./chunk-OG64RBAC.js');
15
+ require('./chunk-COGTRVWW.js');
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+ exports.handleDeploymentGet = _chunkCMWDXAQHjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkCMWDXAQHjs.handleDeploymentsList; exports.registerGitCommands = _chunkCMWDXAQHjs.registerGitCommands; exports.renderDeployment = _chunkCMWDXAQHjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkCMWDXAQHjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkCMWDXAQHjs.renderDeploymentPlayLines;
package/dist/cli/index.js CHANGED
@@ -10,8 +10,8 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
10
10
 
11
11
 
12
12
 
13
- var _chunk34I3JQMLjs = require('./chunk-34I3JQML.js');
14
- require('./chunk-YKCMTH5P.js');
13
+ var _chunkFZXZLFNCjs = require('./chunk-FZXZLFNC.js');
14
+ require('./chunk-WRLYF4DS.js');
15
15
 
16
16
 
17
17
 
@@ -27,7 +27,7 @@ require('./chunk-YKCMTH5P.js');
27
27
 
28
28
 
29
29
 
30
- var _chunk4GNF7MCFjs = require('./chunk-4GNF7MCF.js');
30
+ var _chunkABLS54ZLjs = require('./chunk-ABLS54ZL.js');
31
31
 
32
32
 
33
33
 
@@ -42,7 +42,7 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
42
42
 
43
43
 
44
44
 
45
- var _chunkH7P6DX42js = require('./chunk-H7P6DX42.js');
45
+ var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
46
46
 
47
47
 
48
48
 
@@ -53,10 +53,10 @@ var _chunkH7P6DX42js = require('./chunk-H7P6DX42.js');
53
53
 
54
54
 
55
55
 
56
- var _chunkZFDWBWCQjs = require('./chunk-ZFDWBWCQ.js');
56
+ var _chunkZ43SUQULjs = require('./chunk-Z43SUQUL.js');
57
57
  require('./chunk-XNYIZMNQ.js');
58
58
  require('./chunk-7P5AA3SN.js');
59
- require('./chunk-G6IRNEMJ.js');
59
+ require('./chunk-RPGSXBS3.js');
60
60
  require('./chunk-OG64RBAC.js');
61
61
 
62
62
 
@@ -126,48 +126,48 @@ var _os = require('os');
126
126
  var COMMAND_GROUPS = [
127
127
  {
128
128
  names: ["auth"],
129
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-Z4NL25WP.js")))).registerAuthCommands
129
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-AOM2LA73.js")))).registerAuthCommands
130
130
  },
131
131
  {
132
132
  names: ["providers"],
133
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-IL7DAKQH.js")))).registerProviderCommands
133
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-DWLWK5VX.js")))).registerProviderCommands
134
134
  },
135
135
  {
136
136
  names: ["search"],
137
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-UFKDJ5TO.js")))).registerSearchCommand
137
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-34AC6FC7.js")))).registerSearchCommand
138
138
  },
139
139
  {
140
140
  names: ["describe"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-5XNBGYTP.js")))).registerDescribeCommand
141
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-T25AHZEJ.js")))).registerDescribeCommand
142
142
  },
143
143
  {
144
144
  names: ["tools"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-MPJGF7F2.js")))).registerToolsCommands
145
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Q642ZZ2M.js")))).registerToolsCommands
146
146
  },
147
147
  {
148
148
  names: ["executions"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-HQQ6HZUQ.js")))).registerExecutionsCommands
149
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-3D7KAJ2C.js")))).registerExecutionsCommands
150
150
  },
151
151
  {
152
152
  names: ["plays", "runs"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-SUYAMCPX.js")))).registerPlayCommands
153
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-R5TYLP5L.js")))).registerPlayCommands
154
154
  },
155
155
  {
156
156
  names: ["sessions"],
157
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-ZCZ6FWW4.js")))).registerSessionsCommands
157
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-UFGGEDZP.js")))).registerSessionsCommands
158
158
  },
159
159
  {
160
160
  names: ["workflows"],
161
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-AAIQODIZ.js")))).registerWorkflowCommands
161
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-XAIEXDUI.js")))).registerWorkflowCommands
162
162
  },
163
163
  {
164
164
  names: ["secrets"],
165
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-IANLD3A7.js")))).registerSecretsCommands
165
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-CPNHE5XI.js")))).registerSecretsCommands
166
166
  },
167
167
  {
168
168
  names: ["settings", "notifications"],
169
169
  load: async () => {
170
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-VRNHWJLI.js")));
170
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-NF5726RU.js")));
171
171
  return (p) => {
172
172
  commands.registerSettingsCommands(p);
173
173
  commands.registerNotificationCommands(p);
@@ -176,51 +176,51 @@ var COMMAND_GROUPS = [
176
176
  },
177
177
  {
178
178
  names: ["billing"],
179
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-LTUXLRQO.js")))).registerBillingCommands
179
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-QIWD5GYZ.js")))).registerBillingCommands
180
180
  },
181
181
  {
182
182
  names: ["monitors"],
183
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-LW5N2HWG.js")))).registerMonitorsCommands
183
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-43UXU5C3.js")))).registerMonitorsCommands
184
184
  },
185
185
  {
186
186
  names: ["org"],
187
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-E3ELO53D.js")))).registerOrgCommands
187
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-7MSUEPXL.js")))).registerOrgCommands
188
188
  },
189
189
  {
190
190
  names: ["git", "projects", "deployments"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-F2AUBR6I.js")))).registerGitCommands
191
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-MVMIPHQ6.js")))).registerGitCommands
192
192
  },
193
193
  {
194
194
  names: ["csv"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-Y3HV4QXT.js")))).registerCsvCommands
195
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-FYI4XWEA.js")))).registerCsvCommands
196
196
  },
197
197
  {
198
198
  names: ["db"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-5KDJZJ6C.js")))).registerDbCommands
199
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-WYSI3J43.js")))).registerDbCommands
200
200
  },
201
201
  {
202
202
  names: ["feedback"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-GTFLUBFS.js")))).registerFeedbackCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-I7FWPC7V.js")))).registerFeedbackCommands
204
204
  },
205
205
  {
206
206
  names: ["enrich", "session", "backend"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-FRO5YR7L.js")))).registerDeprecatedCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-G6F5LNUM.js")))).registerDeprecatedCommands
208
208
  },
209
209
  {
210
210
  names: ["update"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-EY7PSSDF.js")))).registerUpdateCommand
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-T5MNWAQC.js")))).registerUpdateCommand
212
212
  },
213
213
  {
214
214
  names: ["skills", "skills-auto-sync"],
215
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-I7URUOO7.js")))).registerSkillsCommand
215
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-WGYISRE5.js")))).registerSkillsCommand
216
216
  },
217
217
  {
218
218
  names: ["setup", "doctor"],
219
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-QH6UM6IR.js")))).registerSetupCommands
219
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-J35MMJ7C.js")))).registerSetupCommands
220
220
  },
221
221
  {
222
222
  names: ["quickstart"],
223
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-YZJTOKOX.js")))).registerQuickstartCommands
223
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-QO6GCK4U.js")))).registerQuickstartCommands
224
224
  }
225
225
  ];
226
226
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -257,7 +257,7 @@ var MAX_SESSIONS = 20;
257
257
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
258
258
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
259
259
  }
260
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkZFDWBWCQjs.agentSessionIdFromEnvironment.call(void 0, )) {
260
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkZ43SUQULjs.agentSessionIdFromEnvironment.call(void 0, )) {
261
261
  const explicit = _chunkHXENYWVSjs.helpDetailFromArgv.call(void 0, argv);
262
262
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
263
263
  if (!sessionId) return { detail: explicit, firstRead: false };
@@ -339,7 +339,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
339
339
  async function reportAutoUpdateEvent(input) {
340
340
  let apiKey = "";
341
341
  try {
342
- apiKey = _chunkZFDWBWCQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
342
+ apiKey = _chunkZ43SUQULjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
343
343
  } catch (e2) {
344
344
  return;
345
345
  }
@@ -355,15 +355,15 @@ async function reportAutoUpdateEvent(input) {
355
355
  headers: {
356
356
  Authorization: `Bearer ${apiKey}`,
357
357
  "Content-Type": "application/json",
358
- "User-Agent": `deepline-ts-sdk/${_chunkZFDWBWCQjs.SDK_VERSION}`,
358
+ "User-Agent": `deepline-ts-sdk/${_chunkZ43SUQULjs.SDK_VERSION}`,
359
359
  "X-Deepline-Client-Family": "sdk",
360
360
  "X-Deepline-CLI-Family": "sdk",
361
- "X-Deepline-CLI-Version": _chunkZFDWBWCQjs.SDK_VERSION,
362
- "X-Deepline-SDK-Version": _chunkZFDWBWCQjs.SDK_VERSION
361
+ "X-Deepline-CLI-Version": _chunkZ43SUQULjs.SDK_VERSION,
362
+ "X-Deepline-SDK-Version": _chunkZ43SUQULjs.SDK_VERSION
363
363
  },
364
364
  body: JSON.stringify({
365
365
  event: input.event,
366
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZFDWBWCQjs.SDK_VERSION,
366
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZ43SUQULjs.SDK_VERSION,
367
367
  target_version: input.response.latest,
368
368
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
369
369
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -382,7 +382,7 @@ function envTruthy(name) {
382
382
  return value === "1" || value === "true" || value === "yes";
383
383
  }
384
384
  function shouldSkipSelfUpdate(policy) {
385
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk34I3JQMLjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk4GNF7MCFjs.isCiEnvironment.call(void 0, );
385
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkFZXZLFNCjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkABLS54ZLjs.isCiEnvironment.call(void 0, );
386
386
  }
387
387
  function parseSemver(version) {
388
388
  const trimmed = _optionalChain([version, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]);
@@ -412,7 +412,7 @@ function compareSemver(left, right) {
412
412
  }
413
413
  function isDowngradeAutoUpdateResponse(response) {
414
414
  const target = _optionalChain([response, 'optionalAccess', _19 => _19.latest, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
415
- const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZFDWBWCQjs.SDK_VERSION;
415
+ const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZ43SUQULjs.SDK_VERSION;
416
416
  if (!target) return false;
417
417
  return compareSemver(target, current) < 0;
418
418
  }
@@ -451,7 +451,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
451
451
  }
452
452
  if (isDowngradeAutoUpdateResponse(response)) {
453
453
  const target = response.latest;
454
- const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkZFDWBWCQjs.SDK_VERSION;
454
+ const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkZ43SUQULjs.SDK_VERSION;
455
455
  process.stderr.write(
456
456
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
457
457
  `
@@ -459,12 +459,12 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
459
459
  return false;
460
460
  }
461
461
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
462
- const plan = _chunk34I3JQMLjs.resolveUpdatePlan.call(void 0, {
462
+ const plan = _chunkFZXZLFNCjs.resolveUpdatePlan.call(void 0, {
463
463
  packageSpec,
464
464
  requireVerifiedNpmOwnership: true,
465
465
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
466
466
  });
467
- if (!_chunk34I3JQMLjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
467
+ if (!_chunkFZXZLFNCjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
468
468
  return false;
469
469
  }
470
470
  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";
@@ -478,7 +478,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
478
478
  event: "started",
479
479
  installKind: plan.kind
480
480
  });
481
- const updateResult = await _chunk34I3JQMLjs.runAutomaticUpdatePlan.call(void 0, plan);
481
+ const updateResult = await _chunkFZXZLFNCjs.runAutomaticUpdatePlan.call(void 0, plan);
482
482
  if (updateResult.status === "skipped_previous_failure") {
483
483
  void reportAutoUpdateEvent({
484
484
  baseUrl,
@@ -601,14 +601,14 @@ function watch(stream) {
601
601
  }
602
602
  async function postCommandOutput(body) {
603
603
  try {
604
- const baseUrl = _chunkZFDWBWCQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
605
- const apiKey = _chunkZFDWBWCQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
604
+ const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
605
+ const apiKey = _chunkZ43SUQULjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
606
606
  if (!apiKey) return;
607
- const agentSessionId = _chunkZFDWBWCQjs.agentSessionIdFromEnvironment.call(void 0, );
607
+ const agentSessionId = _chunkZ43SUQULjs.agentSessionIdFromEnvironment.call(void 0, );
608
608
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
609
609
  method: "POST",
610
610
  headers: {
611
- ..._chunk4GNF7MCFjs.failureReportHeaders.call(void 0, apiKey),
611
+ ..._chunkABLS54ZLjs.failureReportHeaders.call(void 0, apiKey),
612
612
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
613
613
  },
614
614
  body: JSON.stringify(body),
@@ -624,14 +624,14 @@ function startOutputSizeReporting(invocation, streams = {
624
624
  const stdoutWatch = watch(streams.stdout);
625
625
  const stderrWatch = watch(streams.stderr);
626
626
  return async (finished) => {
627
- if (_chunk4GNF7MCFjs.isFailureReportingDisabled.call(void 0, )) return;
627
+ if (_chunkABLS54ZLjs.isFailureReportingDisabled.call(void 0, )) return;
628
628
  const [stdout, stderr] = await Promise.all([
629
629
  stdoutWatch.settled(),
630
630
  stderrWatch.settled()
631
631
  ]);
632
632
  if (!shouldReport(stdout, stderr)) return;
633
633
  await postCommandOutput({
634
- command: _chunk4GNF7MCFjs.sanitizeCommand.call(void 0, invocation.argv),
634
+ command: _chunkABLS54ZLjs.sanitizeCommand.call(void 0, invocation.argv),
635
635
  tool: toolName(finished.action),
636
636
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
637
637
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -705,7 +705,7 @@ function topLevelCommandKnown(program, commandName) {
705
705
  );
706
706
  }
707
707
  async function runPlayRunnerHealthCheck() {
708
- _chunkZFDWBWCQjs.resolveConfig.call(void 0, );
708
+ _chunkZ43SUQULjs.resolveConfig.call(void 0, );
709
709
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
710
710
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
711
711
  try {
@@ -735,7 +735,7 @@ async function runPlayRunnerHealthCheck() {
735
735
  });
736
736
  let exitCode = 1;
737
737
  try {
738
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-SUYAMCPX.js")));
738
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-R5TYLP5L.js")));
739
739
  exitCode = await handlePlayRun([
740
740
  file,
741
741
  "--input",
@@ -775,7 +775,7 @@ function preflightErrorMessage(error) {
775
775
  return error instanceof Error ? error.message : String(error);
776
776
  }
777
777
  async function runPreflightCheck() {
778
- const baseUrl = _chunkZFDWBWCQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
778
+ const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
779
779
  const healthController = new AbortController();
780
780
  const healthTimeout = setTimeout(
781
781
  () => healthController.abort(),
@@ -790,9 +790,9 @@ async function runPreflightCheck() {
790
790
  version: pickString(payload, "version")
791
791
  };
792
792
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
793
- const apiKey = _chunkZFDWBWCQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
794
- const http = apiKey ? new (0, _chunkZFDWBWCQjs.HttpClient)(
795
- _chunkZFDWBWCQjs.resolveConfig.call(void 0, {
793
+ const apiKey = _chunkZ43SUQULjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
794
+ const http = apiKey ? new (0, _chunkZ43SUQULjs.HttpClient)(
795
+ _chunkZ43SUQULjs.resolveConfig.call(void 0, {
796
796
  baseUrl,
797
797
  apiKey,
798
798
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -837,7 +837,7 @@ async function runPreflightCheck() {
837
837
  const connected = authStatus === "connected" || authStatus === "claimed";
838
838
  return {
839
839
  status: healthResult.status === "ok" && connected ? "ok" : "check",
840
- cli_version: _chunkZFDWBWCQjs.SDK_VERSION,
840
+ cli_version: _chunkZ43SUQULjs.SDK_VERSION,
841
841
  host: baseUrl,
842
842
  health: {
843
843
  status: healthResult.status,
@@ -863,7 +863,7 @@ async function runPreflightCheck() {
863
863
  {
864
864
  title: "preflight",
865
865
  lines: [
866
- `cli: ${_chunkZFDWBWCQjs.SDK_VERSION}`,
866
+ `cli: ${_chunkZ43SUQULjs.SDK_VERSION}`,
867
867
  `host: ${baseUrl}`,
868
868
  `health: ${healthResult.status}`,
869
869
  `auth: ${authStatus}`,
@@ -888,12 +888,12 @@ function printPreflightHuman(data) {
888
888
  }
889
889
  async function newerCliCommandHint(baseUrl, command) {
890
890
  if (!command.trim()) return null;
891
- const { response, error } = await _chunk4GNF7MCFjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
891
+ const { response, error } = await _chunkABLS54ZLjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
892
892
  if (error || !response) return null;
893
893
  const introduced = response.command_introduced_in;
894
894
  if (introduced) {
895
895
  return [
896
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkZFDWBWCQjs.SDK_VERSION}.`,
896
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkZ43SUQULjs.SDK_VERSION}.`,
897
897
  ` ${introduced.reason}`,
898
898
  ` Update with: ${response.update_command}`,
899
899
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -902,7 +902,7 @@ async function newerCliCommandHint(baseUrl, command) {
902
902
  if (!response.update_required) return null;
903
903
  return [
904
904
  response.message,
905
- ` Installed: ${_chunkZFDWBWCQjs.SDK_VERSION}. Run: ${response.update_command}`,
905
+ ` Installed: ${_chunkZ43SUQULjs.SDK_VERSION}. Run: ${response.update_command}`,
906
906
  " If an agent skill told you to run this, the skill is newer than this CLI."
907
907
  ].join("\n");
908
908
  }
@@ -921,7 +921,7 @@ async function runMain(ensureTransport, onAction) {
921
921
  const program = new (0, _commander.Command)();
922
922
  program.name("deepline").description(
923
923
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
924
- ).version(_chunkZFDWBWCQjs.SDK_VERSION, "-v, --version", "Show version").option(
924
+ ).version(_chunkZ43SUQULjs.SDK_VERSION, "-v, --version", "Show version").option(
925
925
  "--maintenance <policy>",
926
926
  "Installation maintenance: configured preferences or off; independent of output format",
927
927
  parseCliMaintenancePolicy,
@@ -981,7 +981,7 @@ Exit codes:
981
981
  if (actionCommand.name() !== "version") {
982
982
  await ensureTransport();
983
983
  }
984
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunk4GNF7MCFjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
984
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkABLS54ZLjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
985
985
  return;
986
986
  }
987
987
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
@@ -994,16 +994,16 @@ Exit codes:
994
994
  _optionalChain([progress, 'optionalAccess', _38 => _38.phase, 'call', _39 => _39("checking sdk compatibility")]);
995
995
  }
996
996
  const startup = await runStartupStage("SDK compatibility", async () => {
997
- const baseUrl = _chunkZFDWBWCQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
998
- if (maintenance !== "off") _chunk4GNF7MCFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
997
+ const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
998
+ if (maintenance !== "off") _chunkABLS54ZLjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
999
999
  const shouldDeferSkillsSync = maintenance === "off" || shouldDeferSkillsSyncForCommand();
1000
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkZFDWBWCQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1001
- const trusted = _chunk4GNF7MCFjs.readTrustedCleanCompatibility.call(void 0,
1000
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkZ43SUQULjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1001
+ const trusted = _chunkABLS54ZLjs.readTrustedCleanCompatibility.call(void 0,
1002
1002
  baseUrl,
1003
1003
  compatibilityCommand,
1004
1004
  skillsVersion
1005
1005
  );
1006
- const fastDeadline = trusted === null && _chunk4GNF7MCFjs.readFreshCleanCompatibility.call(void 0,
1006
+ const fastDeadline = trusted === null && _chunkABLS54ZLjs.readFreshCleanCompatibility.call(void 0,
1007
1007
  baseUrl,
1008
1008
  compatibilityCommand,
1009
1009
  skillsVersion
@@ -1027,12 +1027,12 @@ Exit codes:
1027
1027
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
1028
1028
  fastDeadline
1029
1029
  },
1030
- () => _chunk4GNF7MCFjs.checkSdkCompatibility.call(void 0, baseUrl, {
1030
+ () => _chunkABLS54ZLjs.checkSdkCompatibility.call(void 0, baseUrl, {
1031
1031
  command: compatibilityCommand,
1032
1032
  skillsVersion,
1033
1033
  persistCache: maintenance !== "off",
1034
1034
  catalog: _chunkQJBJZVG6js.compatibilityCatalog.call(void 0, actionCommand),
1035
- ...fastDeadline ? { timeoutMs: _chunk4GNF7MCFjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1035
+ ...fastDeadline ? { timeoutMs: _chunkABLS54ZLjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1036
1036
  })
1037
1037
  );
1038
1038
  if (compatibility.error) {
@@ -1056,7 +1056,7 @@ Exit codes:
1056
1056
  response: compatibility.response
1057
1057
  };
1058
1058
  }
1059
- _chunk4GNF7MCFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1059
+ _chunkABLS54ZLjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1060
1060
  quietAdvisory: process.argv.includes("--json")
1061
1061
  });
1062
1062
  return {
@@ -1077,7 +1077,7 @@ Exit codes:
1077
1077
  () => _chunkAYHLUHE5js.traceCliSpan.call(void 0,
1078
1078
  "cli.sdk_skills_sync",
1079
1079
  { baseUrl: startup.baseUrl },
1080
- () => _chunk4GNF7MCFjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1080
+ () => _chunkABLS54ZLjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1081
1081
  update: skillsUpdate,
1082
1082
  mode: "detached"
1083
1083
  })
@@ -1105,8 +1105,8 @@ Examples:
1105
1105
  `
1106
1106
  ).action(async (options) => {
1107
1107
  const data = await runPreflightCheck();
1108
- if (_chunkH7P6DX42js.shouldEmitJson.call(void 0, options.json)) {
1109
- _chunkH7P6DX42js.printJson.call(void 0, data);
1108
+ if (_chunkCLOICRTKjs.shouldEmitJson.call(void 0, options.json)) {
1109
+ _chunkCLOICRTKjs.printJson.call(void 0, data);
1110
1110
  } else {
1111
1111
  printPreflightHuman(data);
1112
1112
  }
@@ -1128,7 +1128,7 @@ Examples:
1128
1128
  ).action(async (options) => {
1129
1129
  if (options.playRunner) {
1130
1130
  const data = await runPlayRunnerHealthCheck();
1131
- _chunkH7P6DX42js.printCommandEnvelope.call(void 0, data, {
1131
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, data, {
1132
1132
  json: options.json,
1133
1133
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1134
1134
  `
@@ -1136,15 +1136,15 @@ Examples:
1136
1136
  return;
1137
1137
  }
1138
1138
  try {
1139
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-Z4NL25WP.js")));
1140
- const baseUrl = _chunkZFDWBWCQjs.resolveBaseUrlOnly.call(void 0, );
1139
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-AOM2LA73.js")));
1140
+ const baseUrl = _chunkZ43SUQULjs.resolveBaseUrlOnly.call(void 0, );
1141
1141
  const [{ status, data }, banner] = await Promise.all([
1142
1142
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1143
1143
  readStatusBanner(baseUrl)
1144
1144
  ]);
1145
1145
  if (status !== 200) throw new Error(`HTTP ${status}`);
1146
1146
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1147
- _chunkH7P6DX42js.printCommandEnvelope.call(void 0,
1147
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
1148
1148
  { ...data, status_banner: banner },
1149
1149
  {
1150
1150
  json: options.json,
@@ -1172,10 +1172,10 @@ Examples:
1172
1172
  `
1173
1173
  ).action((options) => {
1174
1174
  if (options.json) {
1175
- _chunkH7P6DX42js.printCompactJson.call(void 0, { version: _chunkZFDWBWCQjs.SDK_VERSION });
1175
+ _chunkCLOICRTKjs.printCompactJson.call(void 0, { version: _chunkZ43SUQULjs.SDK_VERSION });
1176
1176
  return;
1177
1177
  }
1178
- process.stdout.write(`deepline ${_chunkZFDWBWCQjs.SDK_VERSION}
1178
+ process.stdout.write(`deepline ${_chunkZ43SUQULjs.SDK_VERSION}
1179
1179
  `);
1180
1180
  });
1181
1181
  if (process.argv.slice(2).length === 0) {
@@ -1193,7 +1193,7 @@ Examples:
1193
1193
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1194
1194
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1195
1195
  console.error(`error: unknown command '${requestedTopLevelCommand}'`);
1196
- const baseUrl = _chunkZFDWBWCQjs.autoDetectBaseUrl.call(void 0, );
1196
+ const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, );
1197
1197
  await ensureTransport();
1198
1198
  const versionHint = await newerCliCommandHint(
1199
1199
  baseUrl,
@@ -1211,8 +1211,8 @@ Examples:
1211
1211
  const helpArgs = process.argv.slice(2);
1212
1212
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1213
1213
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1214
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-Z4NL25WP.js")));
1215
- rootHelpStatus = `Version: ${_chunkZFDWBWCQjs.SDK_VERSION}
1214
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-AOM2LA73.js")));
1215
+ rootHelpStatus = `Version: ${_chunkZ43SUQULjs.SDK_VERSION}
1216
1216
  ${await authStatusLine()}
1217
1217
  `;
1218
1218
  }
@@ -1222,7 +1222,7 @@ ${await authStatusLine()}
1222
1222
  ms: Date.now() - mainStartedAt,
1223
1223
  ok: true
1224
1224
  });
1225
- await _chunk4GNF7MCFjs.maybeReportSdkCliFailure.call(void 0, {
1225
+ await _chunkABLS54ZLjs.maybeReportSdkCliFailure.call(void 0, {
1226
1226
  argv: process.argv.slice(2),
1227
1227
  startedAtMs: mainStartedAt,
1228
1228
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1247,7 +1247,7 @@ ${await authStatusLine()}
1247
1247
  const commandPath = invocation.commandPath || requestedTopLevelCommand;
1248
1248
  await ensureTransport();
1249
1249
  const versionHint = await newerCliCommandHint(
1250
- _chunkZFDWBWCQjs.autoDetectBaseUrl.call(void 0, ),
1250
+ _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ),
1251
1251
  commandPath
1252
1252
  );
1253
1253
  if (versionHint) console.error(versionHint);
@@ -1258,24 +1258,24 @@ ${await authStatusLine()}
1258
1258
  process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : _nullishCoalesce(commanderError.exitCode, () => ( 1));
1259
1259
  return;
1260
1260
  } else if (wantsJson) {
1261
- _chunkH7P6DX42js.printJson.call(void 0, {
1262
- ..._chunkH7P6DX42js.errorToJsonPayload.call(void 0, error),
1263
- ...error instanceof _chunkZFDWBWCQjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1261
+ _chunkCLOICRTKjs.printJson.call(void 0, {
1262
+ ..._chunkCLOICRTKjs.errorToJsonPayload.call(void 0, error),
1263
+ ...error instanceof _chunkZ43SUQULjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1264
1264
  });
1265
1265
  } else if (error instanceof Error) {
1266
1266
  console.error(`Error: ${error.message}`);
1267
- if (error instanceof _chunkZFDWBWCQjs.AuthError) {
1267
+ if (error instanceof _chunkZ43SUQULjs.AuthError) {
1268
1268
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1269
1269
  }
1270
- const providerConcurrency = _chunkH7P6DX42js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1270
+ const providerConcurrency = _chunkCLOICRTKjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1271
1271
  if (providerConcurrency) console.error(providerConcurrency);
1272
1272
  } else {
1273
1273
  console.error(`Error: ${String(error)}`);
1274
1274
  }
1275
1275
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1276
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunk4GNF7MCFjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1276
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkABLS54ZLjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1277
1277
  process.exitCode = failureExitCode;
1278
- await _chunk4GNF7MCFjs.maybeReportSdkCliFailure.call(void 0, {
1278
+ await _chunkABLS54ZLjs.maybeReportSdkCliFailure.call(void 0, {
1279
1279
  argv: process.argv.slice(2),
1280
1280
  startedAtMs: mainStartedAt,
1281
1281
  exitCode: failureExitCode,