deepline 0.3.373 → 0.3.375

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 (101) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +1 -53
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +15 -23
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +65 -3
  5. package/dist/cli/auth-B7CLYD7R.js +35 -0
  6. package/dist/cli/{auth-7BMCDCRH.mjs → auth-U3Y7DTIG.mjs} +6 -4
  7. package/dist/cli/{billing-GKI7B4JF.js → billing-P2DNRAND.js} +73 -73
  8. package/dist/cli/{billing-RZEHHMPU.mjs → billing-TKARGBO3.mjs} +4 -4
  9. package/dist/cli/{chunk-IUYKSTWB.mjs → chunk-4GP56LRE.mjs} +12 -12
  10. package/dist/cli/{chunk-JSK6GUY6.js → chunk-4WINCNNH.js} +13 -9
  11. package/dist/cli/{chunk-CLEB5KUZ.js → chunk-ADSZGPYZ.js} +1 -1
  12. package/dist/cli/{chunk-E6BZWURC.mjs → chunk-B2LFDTXZ.mjs} +15 -6
  13. package/dist/cli/{chunk-JP2YA3AV.mjs → chunk-B3TQIJ6L.mjs} +1 -1
  14. package/dist/cli/{chunk-NVZAZGHA.js → chunk-CUIBDSSS.js} +8 -8
  15. package/dist/cli/{chunk-E7MGPPM5.js → chunk-DAG4ZBTJ.js} +1495 -1495
  16. package/dist/cli/{chunk-YPVTQRUM.js → chunk-DHTG5CCI.js} +15 -6
  17. package/dist/cli/{chunk-EYXSAB7O.js → chunk-F5CU5ALX.js} +26 -26
  18. package/dist/cli/{chunk-46JCJ7FT.mjs → chunk-FWF24ULX.mjs} +13 -9
  19. package/dist/cli/{chunk-JHUMUIU6.js → chunk-GN5QM2BB.js} +6 -6
  20. package/dist/cli/{chunk-BM47AKUZ.js → chunk-HEF6UDGA.js} +235 -235
  21. package/dist/cli/{chunk-ORBVXCTL.js → chunk-HP4BE43N.js} +52 -51
  22. package/dist/cli/{chunk-YHHY2YHK.mjs → chunk-HSIVHAZA.mjs} +3 -3
  23. package/dist/cli/{chunk-P5JPGZNI.mjs → chunk-IG3GOO4T.mjs} +1 -1
  24. package/dist/cli/{chunk-ND4BVWWZ.js → chunk-IQTHRG6E.js} +15 -15
  25. package/dist/cli/{chunk-S5OTS6H5.js → chunk-KK4XPUVA.js} +8 -8
  26. package/dist/cli/{chunk-IHQQNWU4.js → chunk-LZUWGLM4.js} +2 -2
  27. package/dist/cli/{chunk-W3H422KP.js → chunk-M2HVNJ47.js} +60 -60
  28. package/dist/cli/{chunk-HNLXC5BP.mjs → chunk-M5QDOHLG.mjs} +1 -1
  29. package/dist/cli/{chunk-XMME4SCK.mjs → chunk-MKS7C3YR.mjs} +3 -2
  30. package/dist/cli/{chunk-ECA6NQYL.mjs → chunk-MPQSBHMA.mjs} +4 -4
  31. package/dist/cli/{chunk-D2CZ4Y5G.js → chunk-MTBQEND4.js} +15 -15
  32. package/dist/cli/{chunk-XJYUQBHY.js → chunk-NVXMPGM4.js} +65 -84
  33. package/dist/cli/{chunk-6JCVL7CE.mjs → chunk-QEEIEHGV.mjs} +2 -2
  34. package/dist/cli/{chunk-TB73PXE3.mjs → chunk-SJVJZOPT.mjs} +2 -2
  35. package/dist/cli/{chunk-QSV76EMO.mjs → chunk-STYH5U6W.mjs} +7 -7
  36. package/dist/cli/{chunk-R6TPSZLN.mjs → chunk-Z4ARN4X3.mjs} +2 -2
  37. package/dist/cli/{chunk-PZ26EKNC.mjs → chunk-ZFWU5V2A.mjs} +13 -32
  38. package/dist/cli/{chunk-Y32GUTEN.mjs → chunk-ZHXPNJQI.mjs} +1467 -1467
  39. package/dist/cli/command-docs.js +2 -2
  40. package/dist/cli/command-docs.mjs +1 -1
  41. package/dist/cli/{csv-3FNCVMWA.mjs → csv-3FTYTEJ3.mjs} +3 -3
  42. package/dist/cli/{csv-NFQYQWWO.js → csv-WAEVGKHF.js} +12 -12
  43. package/dist/cli/{db-VA7HULGR.mjs → db-HUGGFIVS.mjs} +4 -4
  44. package/dist/cli/{db-CTLGRV3X.js → db-UDMDGNKO.js} +29 -29
  45. package/dist/cli/{describe-GXGRMP2M.mjs → describe-EOBOGTB5.mjs} +130 -20
  46. package/dist/cli/{describe-IUHOEPKY.js → describe-SIAKZYRK.js} +144 -34
  47. package/dist/cli/{executions-DSK3HRPU.js → executions-HYYP27MG.js} +6 -6
  48. package/dist/cli/{executions-OZQDZQIK.mjs → executions-O6Z2HSLK.mjs} +4 -4
  49. package/dist/cli/{feedback-KTMLMWKV.js → feedback-3DWSBHKS.js} +7 -7
  50. package/dist/cli/{feedback-ZOY7R4JD.mjs → feedback-RRAMGMQV.mjs} +3 -3
  51. package/dist/cli/{git-FIOI4IA2.mjs → git-KVAK7VOL.mjs} +4 -4
  52. package/dist/cli/git-M36KWCCG.js +23 -0
  53. package/dist/cli/index.js +106 -91
  54. package/dist/cli/index.mjs +63 -48
  55. package/dist/cli/{legacy-noops-KQZWSABN.mjs → legacy-noops-MQNCDMY7.mjs} +4 -4
  56. package/dist/cli/{legacy-noops-WXAYRQMQ.js → legacy-noops-V5GQXXUR.js} +7 -7
  57. package/dist/cli/{monitors-VHNWIF4V.mjs → monitors-6FB63TDM.mjs} +4 -4
  58. package/dist/cli/{monitors-LPUCHRNJ.js → monitors-RFGQILPW.js} +85 -85
  59. package/dist/cli/{org-GWHWBCMD.js → org-L33EPH2E.js} +64 -64
  60. package/dist/cli/{org-UW7NPGEY.mjs → org-TZPQDDVX.mjs} +4 -4
  61. package/dist/cli/{play-FNM2E66T.mjs → play-PU23OETO.mjs} +8 -8
  62. package/dist/cli/play-YR2XQARF.js +155 -0
  63. package/dist/cli/{providers-6D6R3PWX.js → providers-2RHIKO22.js} +7 -7
  64. package/dist/cli/{providers-XAZMYDWS.mjs → providers-QGQR6ZZF.mjs} +4 -4
  65. package/dist/cli/{quickstart-OK65PGZL.mjs → quickstart-24DQYBW7.mjs} +3 -3
  66. package/dist/cli/{quickstart-HBUWBVH6.js → quickstart-BGQVPI7W.js} +5 -5
  67. package/dist/cli/{search-XY6JOTS2.mjs → search-EUN7YFMX.mjs} +5 -5
  68. package/dist/cli/search-OHELMK6E.js +26 -0
  69. package/dist/cli/{secrets-W2LDLU2W.mjs → secrets-OOHN6LNJ.mjs} +4 -4
  70. package/dist/cli/{secrets-6CYCPK7T.js → secrets-XL7GUTQA.js} +13 -13
  71. package/dist/cli/{sessions-GOYEKNTJ.js → sessions-FD5XB7M2.js} +5 -5
  72. package/dist/cli/{sessions-JAX7PGXU.mjs → sessions-SDN4C3YS.mjs} +4 -4
  73. package/dist/cli/{settings-OACUQOCM.mjs → settings-3MXRXYXI.mjs} +7 -7
  74. package/dist/cli/{settings-QMFYFCT7.js → settings-6ZEKVAYL.js} +74 -74
  75. package/dist/cli/{setup-2KA5TZBZ.mjs → setup-DWTR6HNT.mjs} +6 -6
  76. package/dist/cli/{setup-36VOOGVA.js → setup-VKQ5EJZR.js} +41 -41
  77. package/dist/cli/skills-6GFW4GCW.js +28 -0
  78. package/dist/cli/{skills-QY4BX5ZX.mjs → skills-ISG5UUZW.mjs} +4 -4
  79. package/dist/cli/{tools-UCB2QRVC.mjs → tools-JTC3DR6M.mjs} +7 -7
  80. package/dist/cli/tools-LK4L6VCK.js +40 -0
  81. package/dist/cli/{update-327MHUO4.mjs → update-GMTVIHCG.mjs} +6 -6
  82. package/dist/cli/update-PSJLAW4Q.js +28 -0
  83. package/dist/cli/{workflow-G7BU54KW.js → workflow-2765Y3Y5.js} +15 -15
  84. package/dist/cli/{workflow-HJN4GA5A.mjs → workflow-3POT3VFY.mjs} +5 -5
  85. package/dist/index.js +8 -8
  86. package/dist/index.mjs +7 -7
  87. package/dist/install-integrity.json +76 -78
  88. package/dist/release.d.mts +1 -1
  89. package/dist/release.d.ts +1 -1
  90. package/dist/release.js +2 -2
  91. package/dist/release.mjs +1 -1
  92. package/package.json +1 -1
  93. package/dist/cli/auth-BWCNRUG3.js +0 -33
  94. package/dist/cli/client-FO6LMHT4.mjs +0 -20
  95. package/dist/cli/client-KAWK7FJR.js +0 -20
  96. package/dist/cli/git-5P5FLEUC.js +0 -23
  97. package/dist/cli/play-EVBIC7Z5.js +0 -155
  98. package/dist/cli/search-6ZY2XWP2.js +0 -26
  99. package/dist/cli/skills-6GPIEPTP.js +0 -28
  100. package/dist/cli/tools-RTECP4WT.js +0 -40
  101. package/dist/cli/update-WR65EHBN.js +0 -28
package/dist/cli/index.js CHANGED
@@ -4,18 +4,17 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkD2CZ4Y5Gjs = require('./chunk-D2CZ4Y5G.js');
8
- require('./chunk-IHQQNWU4.js');
7
+ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
9
8
 
10
9
 
11
10
 
12
- var _chunkAYHLUHE5js = require('./chunk-AYHLUHE5.js');
13
11
 
14
12
 
13
+ var _chunkMTBQEND4js = require('./chunk-MTBQEND4.js');
14
+ require('./chunk-LZUWGLM4.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
19
18
 
20
19
 
21
20
 
@@ -25,10 +24,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
25
24
 
26
25
 
27
26
 
27
+ var _chunkM2HVNJ47js = require('./chunk-M2HVNJ47.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkW3H422KPjs = require('./chunk-W3H422KP.js');
31
+ var _chunkAYHLUHE5js = require('./chunk-AYHLUHE5.js');
32
32
 
33
33
 
34
34
  var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
@@ -38,7 +38,9 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
38
38
 
39
39
 
40
40
 
41
- var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
41
+
42
+ var _chunkGN5QM2BBjs = require('./chunk-GN5QM2BB.js');
43
+
42
44
 
43
45
 
44
46
 
@@ -48,16 +50,16 @@ var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
48
50
 
49
51
 
50
52
 
51
- var _chunkND4BVWWZjs = require('./chunk-ND4BVWWZ.js');
53
+ var _chunkIQTHRG6Ejs = require('./chunk-IQTHRG6E.js');
52
54
  require('./chunk-XNYIZMNQ.js');
53
55
  require('./chunk-7P5AA3SN.js');
54
- require('./chunk-CLEB5KUZ.js');
56
+ require('./chunk-ADSZGPYZ.js');
55
57
  require('./chunk-OG64RBAC.js');
56
58
 
57
59
 
58
60
 
59
61
 
60
- var _chunkJSK6GUY6js = require('./chunk-JSK6GUY6.js');
62
+ var _chunk4WINCNNHjs = require('./chunk-4WINCNNH.js');
61
63
  require('./chunk-COGTRVWW.js');
62
64
 
63
65
  // src/cli/command-invocation.ts
@@ -121,48 +123,48 @@ var _os = require('os');
121
123
  var COMMAND_GROUPS = [
122
124
  {
123
125
  names: ["auth"],
124
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-BWCNRUG3.js")))).registerAuthCommands
126
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-B7CLYD7R.js")))).registerAuthCommands
125
127
  },
126
128
  {
127
129
  names: ["providers"],
128
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-6D6R3PWX.js")))).registerProviderCommands
130
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-2RHIKO22.js")))).registerProviderCommands
129
131
  },
130
132
  {
131
133
  names: ["search"],
132
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-6ZY2XWP2.js")))).registerSearchCommand
134
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-OHELMK6E.js")))).registerSearchCommand
133
135
  },
134
136
  {
135
137
  names: ["describe"],
136
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-IUHOEPKY.js")))).registerDescribeCommand
138
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-SIAKZYRK.js")))).registerDescribeCommand
137
139
  },
138
140
  {
139
141
  names: ["tools"],
140
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-RTECP4WT.js")))).registerToolsCommands
142
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-LK4L6VCK.js")))).registerToolsCommands
141
143
  },
142
144
  {
143
145
  names: ["executions"],
144
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-DSK3HRPU.js")))).registerExecutionsCommands
146
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-HYYP27MG.js")))).registerExecutionsCommands
145
147
  },
146
148
  {
147
149
  names: ["plays", "runs"],
148
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-EVBIC7Z5.js")))).registerPlayCommands
150
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YR2XQARF.js")))).registerPlayCommands
149
151
  },
150
152
  {
151
153
  names: ["sessions"],
152
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-GOYEKNTJ.js")))).registerSessionsCommands
154
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-FD5XB7M2.js")))).registerSessionsCommands
153
155
  },
154
156
  {
155
157
  names: ["workflows"],
156
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-G7BU54KW.js")))).registerWorkflowCommands
158
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-2765Y3Y5.js")))).registerWorkflowCommands
157
159
  },
158
160
  {
159
161
  names: ["secrets"],
160
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-6CYCPK7T.js")))).registerSecretsCommands
162
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-XL7GUTQA.js")))).registerSecretsCommands
161
163
  },
162
164
  {
163
165
  names: ["settings", "notifications"],
164
166
  load: async () => {
165
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-QMFYFCT7.js")));
167
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-6ZEKVAYL.js")));
166
168
  return (p) => {
167
169
  commands.registerSettingsCommands(p);
168
170
  commands.registerNotificationCommands(p);
@@ -171,51 +173,51 @@ var COMMAND_GROUPS = [
171
173
  },
172
174
  {
173
175
  names: ["billing"],
174
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-GKI7B4JF.js")))).registerBillingCommands
176
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-P2DNRAND.js")))).registerBillingCommands
175
177
  },
176
178
  {
177
179
  names: ["monitors"],
178
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-LPUCHRNJ.js")))).registerMonitorsCommands
180
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-RFGQILPW.js")))).registerMonitorsCommands
179
181
  },
180
182
  {
181
183
  names: ["org"],
182
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-GWHWBCMD.js")))).registerOrgCommands
184
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-L33EPH2E.js")))).registerOrgCommands
183
185
  },
184
186
  {
185
187
  names: ["git", "projects", "deployments"],
186
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-5P5FLEUC.js")))).registerGitCommands
188
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-M36KWCCG.js")))).registerGitCommands
187
189
  },
188
190
  {
189
191
  names: ["csv"],
190
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-NFQYQWWO.js")))).registerCsvCommands
192
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-WAEVGKHF.js")))).registerCsvCommands
191
193
  },
192
194
  {
193
195
  names: ["db"],
194
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-CTLGRV3X.js")))).registerDbCommands
196
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-UDMDGNKO.js")))).registerDbCommands
195
197
  },
196
198
  {
197
199
  names: ["feedback"],
198
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-KTMLMWKV.js")))).registerFeedbackCommands
200
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-3DWSBHKS.js")))).registerFeedbackCommands
199
201
  },
200
202
  {
201
203
  names: ["enrich", "session", "backend"],
202
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-WXAYRQMQ.js")))).registerDeprecatedCommands
204
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-V5GQXXUR.js")))).registerDeprecatedCommands
203
205
  },
204
206
  {
205
207
  names: ["update"],
206
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-WR65EHBN.js")))).registerUpdateCommand
208
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-PSJLAW4Q.js")))).registerUpdateCommand
207
209
  },
208
210
  {
209
211
  names: ["skills", "skills-auto-sync"],
210
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-6GPIEPTP.js")))).registerSkillsCommand
212
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-6GFW4GCW.js")))).registerSkillsCommand
211
213
  },
212
214
  {
213
215
  names: ["setup", "doctor"],
214
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-36VOOGVA.js")))).registerSetupCommands
216
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-VKQ5EJZR.js")))).registerSetupCommands
215
217
  },
216
218
  {
217
219
  names: ["quickstart"],
218
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-HBUWBVH6.js")))).registerQuickstartCommands
220
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-BGQVPI7W.js")))).registerQuickstartCommands
219
221
  }
220
222
  ];
221
223
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -252,8 +254,8 @@ var MAX_SESSIONS = 20;
252
254
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
253
255
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
254
256
  }
255
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkND4BVWWZjs.agentSessionIdFromEnvironment.call(void 0, )) {
256
- const explicit = _chunkJSK6GUY6js.helpDetailFromArgv.call(void 0, argv);
257
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkIQTHRG6Ejs.agentSessionIdFromEnvironment.call(void 0, )) {
258
+ const explicit = _chunk4WINCNNHjs.helpDetailFromArgv.call(void 0, argv);
257
259
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
258
260
  if (!sessionId) return { detail: explicit, firstRead: false };
259
261
  const path = helpSeenPath(homeDir);
@@ -334,7 +336,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
334
336
  async function reportAutoUpdateEvent(input) {
335
337
  let apiKey = "";
336
338
  try {
337
- apiKey = _chunkND4BVWWZjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
339
+ apiKey = _chunkIQTHRG6Ejs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
338
340
  } catch (e2) {
339
341
  return;
340
342
  }
@@ -350,15 +352,15 @@ async function reportAutoUpdateEvent(input) {
350
352
  headers: {
351
353
  Authorization: `Bearer ${apiKey}`,
352
354
  "Content-Type": "application/json",
353
- "User-Agent": `deepline-ts-sdk/${_chunkND4BVWWZjs.SDK_VERSION}`,
355
+ "User-Agent": `deepline-ts-sdk/${_chunkIQTHRG6Ejs.SDK_VERSION}`,
354
356
  "X-Deepline-Client-Family": "sdk",
355
357
  "X-Deepline-CLI-Family": "sdk",
356
- "X-Deepline-CLI-Version": _chunkND4BVWWZjs.SDK_VERSION,
357
- "X-Deepline-SDK-Version": _chunkND4BVWWZjs.SDK_VERSION
358
+ "X-Deepline-CLI-Version": _chunkIQTHRG6Ejs.SDK_VERSION,
359
+ "X-Deepline-SDK-Version": _chunkIQTHRG6Ejs.SDK_VERSION
358
360
  },
359
361
  body: JSON.stringify({
360
362
  event: input.event,
361
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkND4BVWWZjs.SDK_VERSION,
363
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkIQTHRG6Ejs.SDK_VERSION,
362
364
  target_version: input.response.latest,
363
365
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
364
366
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -377,7 +379,7 @@ function envTruthy(name) {
377
379
  return value === "1" || value === "true" || value === "yes";
378
380
  }
379
381
  function shouldSkipSelfUpdate(policy) {
380
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkD2CZ4Y5Gjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkW3H422KPjs.isCiEnvironment.call(void 0, );
382
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMTBQEND4js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkM2HVNJ47js.isCiEnvironment.call(void 0, );
381
383
  }
382
384
  function parseSemver(version) {
383
385
  const trimmed = _optionalChain([version, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]);
@@ -407,7 +409,7 @@ function compareSemver(left, right) {
407
409
  }
408
410
  function isDowngradeAutoUpdateResponse(response) {
409
411
  const target = _optionalChain([response, 'optionalAccess', _19 => _19.latest, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
410
- const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkND4BVWWZjs.SDK_VERSION;
412
+ const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkIQTHRG6Ejs.SDK_VERSION;
411
413
  if (!target) return false;
412
414
  return compareSemver(target, current) < 0;
413
415
  }
@@ -446,7 +448,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
446
448
  }
447
449
  if (isDowngradeAutoUpdateResponse(response)) {
448
450
  const target = response.latest;
449
- const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkND4BVWWZjs.SDK_VERSION;
451
+ const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkIQTHRG6Ejs.SDK_VERSION;
450
452
  process.stderr.write(
451
453
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
452
454
  `
@@ -454,12 +456,12 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
454
456
  return false;
455
457
  }
456
458
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
457
- const plan = _chunkD2CZ4Y5Gjs.resolveUpdatePlan.call(void 0, {
459
+ const plan = _chunkMTBQEND4js.resolveUpdatePlan.call(void 0, {
458
460
  packageSpec,
459
461
  requireVerifiedNpmOwnership: true,
460
462
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
461
463
  });
462
- if (!_chunkD2CZ4Y5Gjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
464
+ if (!_chunkMTBQEND4js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
463
465
  return false;
464
466
  }
465
467
  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";
@@ -473,7 +475,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
473
475
  event: "started",
474
476
  installKind: plan.kind
475
477
  });
476
- const updateResult = await _chunkD2CZ4Y5Gjs.runAutomaticUpdatePlan.call(void 0, plan);
478
+ const updateResult = await _chunkMTBQEND4js.runAutomaticUpdatePlan.call(void 0, plan);
477
479
  if (updateResult.status === "skipped_previous_failure") {
478
480
  void reportAutoUpdateEvent({
479
481
  baseUrl,
@@ -623,7 +625,7 @@ async function runPlayRunnerHealthCheck() {
623
625
  });
624
626
  let exitCode = 1;
625
627
  try {
626
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-EVBIC7Z5.js")));
628
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YR2XQARF.js")));
627
629
  exitCode = await handlePlayRun([
628
630
  file,
629
631
  "--input",
@@ -663,7 +665,7 @@ function preflightErrorMessage(error) {
663
665
  return error instanceof Error ? error.message : String(error);
664
666
  }
665
667
  async function runPreflightCheck() {
666
- const baseUrl = _chunkND4BVWWZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
668
+ const baseUrl = _chunkIQTHRG6Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
667
669
  const healthController = new AbortController();
668
670
  const healthTimeout = setTimeout(
669
671
  () => healthController.abort(),
@@ -678,9 +680,9 @@ async function runPreflightCheck() {
678
680
  version: pickString(payload, "version")
679
681
  };
680
682
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
681
- const apiKey = _chunkND4BVWWZjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
682
- const http = apiKey ? new (0, _chunkND4BVWWZjs.HttpClient)(
683
- _chunkND4BVWWZjs.resolveConfig.call(void 0, {
683
+ const apiKey = _chunkIQTHRG6Ejs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
684
+ const http = apiKey ? new (0, _chunkIQTHRG6Ejs.HttpClient)(
685
+ _chunkIQTHRG6Ejs.resolveConfig.call(void 0, {
684
686
  baseUrl,
685
687
  apiKey,
686
688
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -725,7 +727,7 @@ async function runPreflightCheck() {
725
727
  const connected = authStatus === "connected" || authStatus === "claimed";
726
728
  return {
727
729
  status: healthResult.status === "ok" && connected ? "ok" : "check",
728
- cli_version: _chunkND4BVWWZjs.SDK_VERSION,
730
+ cli_version: _chunkIQTHRG6Ejs.SDK_VERSION,
729
731
  host: baseUrl,
730
732
  health: {
731
733
  status: healthResult.status,
@@ -751,7 +753,7 @@ async function runPreflightCheck() {
751
753
  {
752
754
  title: "preflight",
753
755
  lines: [
754
- `cli: ${_chunkND4BVWWZjs.SDK_VERSION}`,
756
+ `cli: ${_chunkIQTHRG6Ejs.SDK_VERSION}`,
755
757
  `host: ${baseUrl}`,
756
758
  `health: ${healthResult.status}`,
757
759
  `auth: ${authStatus}`,
@@ -776,12 +778,12 @@ function printPreflightHuman(data) {
776
778
  }
777
779
  async function newerCliCommandHint(baseUrl, command) {
778
780
  if (!command.trim()) return null;
779
- const { response, error } = await _chunkW3H422KPjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
781
+ const { response, error } = await _chunkM2HVNJ47js.checkSdkCompatibility.call(void 0, baseUrl, { command });
780
782
  if (error || !response) return null;
781
783
  const introduced = response.command_introduced_in;
782
784
  if (introduced) {
783
785
  return [
784
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkND4BVWWZjs.SDK_VERSION}.`,
786
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkIQTHRG6Ejs.SDK_VERSION}.`,
785
787
  ` ${introduced.reason}`,
786
788
  ` Update with: ${response.update_command}`,
787
789
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -790,7 +792,7 @@ async function newerCliCommandHint(baseUrl, command) {
790
792
  if (!response.update_required) return null;
791
793
  return [
792
794
  response.message,
793
- ` Installed: ${_chunkND4BVWWZjs.SDK_VERSION}. Run: ${response.update_command}`,
795
+ ` Installed: ${_chunkIQTHRG6Ejs.SDK_VERSION}. Run: ${response.update_command}`,
794
796
  " If an agent skill told you to run this, the skill is newer than this CLI."
795
797
  ].join("\n");
796
798
  }
@@ -809,7 +811,7 @@ async function runMain(ensureTransport) {
809
811
  const program = new (0, _commander.Command)();
810
812
  program.name("deepline").description(
811
813
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
812
- ).version(_chunkND4BVWWZjs.SDK_VERSION, "-v, --version", "Show version").option(
814
+ ).version(_chunkIQTHRG6Ejs.SDK_VERSION, "-v, --version", "Show version").option(
813
815
  "--maintenance <policy>",
814
816
  "Installation maintenance: configured preferences or off; independent of output format",
815
817
  parseCliMaintenancePolicy,
@@ -854,9 +856,9 @@ Exit codes:
854
856
  5 server/runtime/provider failure; 7 validation/check failed.
855
857
  `
856
858
  ).addHelpText("afterAll", ({ command }) => {
857
- const key = _chunkJSK6GUY6js.commandDocKey.call(void 0, command);
859
+ const key = _chunk4WINCNNHjs.commandDocKey.call(void 0, command);
858
860
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
859
- return _chunkJSK6GUY6js.renderCommandExplanation.call(void 0, key, detail, { firstRead });
861
+ return _chunk4WINCNNHjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
860
862
  });
861
863
  program.hook("preAction", async (_thisCommand, actionCommand) => {
862
864
  const maintenance = resolveCliMaintenancePolicy(
@@ -865,7 +867,7 @@ Exit codes:
865
867
  if (actionCommand.name() !== "version") {
866
868
  await ensureTransport();
867
869
  }
868
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkW3H422KPjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
870
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkM2HVNJ47js.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
869
871
  return;
870
872
  }
871
873
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
@@ -878,16 +880,16 @@ Exit codes:
878
880
  _optionalChain([progress, 'optionalAccess', _37 => _37.phase, 'call', _38 => _38("checking sdk compatibility")]);
879
881
  }
880
882
  const startup = await runStartupStage("SDK compatibility", async () => {
881
- const baseUrl = _chunkND4BVWWZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
882
- if (maintenance !== "off") _chunkW3H422KPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
883
+ const baseUrl = _chunkIQTHRG6Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
884
+ if (maintenance !== "off") _chunkM2HVNJ47js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
883
885
  const shouldDeferSkillsSync = maintenance === "off" || shouldDeferSkillsSyncForCommand();
884
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkND4BVWWZjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
885
- const trusted = _chunkW3H422KPjs.readTrustedCleanCompatibility.call(void 0,
886
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkIQTHRG6Ejs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
887
+ const trusted = _chunkM2HVNJ47js.readTrustedCleanCompatibility.call(void 0,
886
888
  baseUrl,
887
889
  compatibilityCommand,
888
890
  skillsVersion
889
891
  );
890
- const fastDeadline = trusted === null && _chunkW3H422KPjs.readFreshCleanCompatibility.call(void 0,
892
+ const fastDeadline = trusted === null && _chunkM2HVNJ47js.readFreshCleanCompatibility.call(void 0,
891
893
  baseUrl,
892
894
  compatibilityCommand,
893
895
  skillsVersion
@@ -911,12 +913,12 @@ Exit codes:
911
913
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
912
914
  fastDeadline
913
915
  },
914
- () => _chunkW3H422KPjs.checkSdkCompatibility.call(void 0, baseUrl, {
916
+ () => _chunkM2HVNJ47js.checkSdkCompatibility.call(void 0, baseUrl, {
915
917
  command: compatibilityCommand,
916
918
  skillsVersion,
917
919
  persistCache: maintenance !== "off",
918
920
  catalog: _chunkQJBJZVG6js.compatibilityCatalog.call(void 0, actionCommand),
919
- ...fastDeadline ? { timeoutMs: _chunkW3H422KPjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
921
+ ...fastDeadline ? { timeoutMs: _chunkM2HVNJ47js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
920
922
  })
921
923
  );
922
924
  if (compatibility.error) {
@@ -940,7 +942,7 @@ Exit codes:
940
942
  response: compatibility.response
941
943
  };
942
944
  }
943
- _chunkW3H422KPjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
945
+ _chunkM2HVNJ47js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
944
946
  quietAdvisory: process.argv.includes("--json")
945
947
  });
946
948
  return {
@@ -961,7 +963,7 @@ Exit codes:
961
963
  () => _chunkAYHLUHE5js.traceCliSpan.call(void 0,
962
964
  "cli.sdk_skills_sync",
963
965
  { baseUrl: startup.baseUrl },
964
- () => _chunkW3H422KPjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
966
+ () => _chunkM2HVNJ47js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
965
967
  update: skillsUpdate,
966
968
  mode: "detached"
967
969
  })
@@ -989,8 +991,8 @@ Examples:
989
991
  `
990
992
  ).action(async (options) => {
991
993
  const data = await runPreflightCheck();
992
- if (_chunkJHUMUIU6js.shouldEmitJson.call(void 0, options.json)) {
993
- _chunkJHUMUIU6js.printJson.call(void 0, data);
994
+ if (_chunkGN5QM2BBjs.shouldEmitJson.call(void 0, options.json)) {
995
+ _chunkGN5QM2BBjs.printJson.call(void 0, data);
994
996
  } else {
995
997
  printPreflightHuman(data);
996
998
  }
@@ -999,8 +1001,8 @@ Examples:
999
1001
  "after",
1000
1002
  `
1001
1003
  Notes:
1002
- Read-only connectivity check for the configured Deepline host. Prints the raw
1003
- server health payload as JSON.
1004
+ Read-only connectivity check for the configured Deepline host. Needs no
1005
+ API key. Prints "<host>: <status>"; --json prints the raw payload.
1004
1006
  Add --play-runner to verify bundling, coordinator dispatch, runtime callbacks,
1005
1007
  and run streaming with a tiny no-provider play.
1006
1008
 
@@ -1012,13 +1014,26 @@ Examples:
1012
1014
  try {
1013
1015
  if (options.playRunner) {
1014
1016
  const data2 = await runPlayRunnerHealthCheck();
1015
- _chunkJHUMUIU6js.printJson.call(void 0, data2);
1017
+ _chunkGN5QM2BBjs.printCommandEnvelope.call(void 0, data2, {
1018
+ json: options.json,
1019
+ text: `play runner: ${data2.playRunner.status} (${data2.playRunner.check})
1020
+ `
1021
+ });
1016
1022
  return;
1017
1023
  }
1018
- const { DeeplineClient } = await Promise.resolve().then(() => _interopRequireWildcard(require("./client-KAWK7FJR.js")));
1019
- const client = new DeeplineClient();
1020
- const data = await client.health();
1021
- _chunkJHUMUIU6js.printJson.call(void 0, data);
1024
+ const { httpJson } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-B7CLYD7R.js")));
1025
+ const baseUrl = _chunkIQTHRG6Ejs.resolveBaseUrlOnly.call(void 0, );
1026
+ const { status, data } = await httpJson(
1027
+ "GET",
1028
+ `${baseUrl}/api/v2/health`,
1029
+ null
1030
+ );
1031
+ if (status !== 200) throw new Error(`HTTP ${status}`);
1032
+ _chunkGN5QM2BBjs.printCommandEnvelope.call(void 0, data, {
1033
+ json: options.json,
1034
+ text: `${baseUrl}: ${data.status}
1035
+ `
1036
+ });
1022
1037
  } catch (error) {
1023
1038
  throw new Error(
1024
1039
  `Cannot reach Deepline API: ${error instanceof Error ? error.message : String(error)}`
@@ -1039,10 +1054,10 @@ Examples:
1039
1054
  `
1040
1055
  ).action((options) => {
1041
1056
  if (options.json) {
1042
- _chunkJHUMUIU6js.printCompactJson.call(void 0, { version: _chunkND4BVWWZjs.SDK_VERSION });
1057
+ _chunkGN5QM2BBjs.printCompactJson.call(void 0, { version: _chunkIQTHRG6Ejs.SDK_VERSION });
1043
1058
  return;
1044
1059
  }
1045
- process.stdout.write(`deepline ${_chunkND4BVWWZjs.SDK_VERSION}
1060
+ process.stdout.write(`deepline ${_chunkIQTHRG6Ejs.SDK_VERSION}
1046
1061
  `);
1047
1062
  });
1048
1063
  if (process.argv.slice(2).length === 0) {
@@ -1060,7 +1075,7 @@ Examples:
1060
1075
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1061
1076
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1062
1077
  console.error(`error: unknown command '${requestedTopLevelCommand}'`);
1063
- const baseUrl = _chunkND4BVWWZjs.autoDetectBaseUrl.call(void 0, );
1078
+ const baseUrl = _chunkIQTHRG6Ejs.autoDetectBaseUrl.call(void 0, );
1064
1079
  await ensureTransport();
1065
1080
  const versionHint = await newerCliCommandHint(
1066
1081
  baseUrl,
@@ -1078,8 +1093,8 @@ Examples:
1078
1093
  const helpArgs = process.argv.slice(2);
1079
1094
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1080
1095
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1081
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-BWCNRUG3.js")));
1082
- rootHelpStatus = `Version: ${_chunkND4BVWWZjs.SDK_VERSION}
1096
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-B7CLYD7R.js")));
1097
+ rootHelpStatus = `Version: ${_chunkIQTHRG6Ejs.SDK_VERSION}
1083
1098
  ${await authStatusLine()}
1084
1099
  `;
1085
1100
  }
@@ -1089,7 +1104,7 @@ ${await authStatusLine()}
1089
1104
  ms: Date.now() - mainStartedAt,
1090
1105
  ok: true
1091
1106
  });
1092
- await _chunkW3H422KPjs.maybeReportSdkCliFailure.call(void 0, {
1107
+ await _chunkM2HVNJ47js.maybeReportSdkCliFailure.call(void 0, {
1093
1108
  argv: process.argv.slice(2),
1094
1109
  startedAtMs: mainStartedAt,
1095
1110
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1114,7 +1129,7 @@ ${await authStatusLine()}
1114
1129
  const commandPath = invocation.commandPath || requestedTopLevelCommand;
1115
1130
  await ensureTransport();
1116
1131
  const versionHint = await newerCliCommandHint(
1117
- _chunkND4BVWWZjs.autoDetectBaseUrl.call(void 0, ),
1132
+ _chunkIQTHRG6Ejs.autoDetectBaseUrl.call(void 0, ),
1118
1133
  commandPath
1119
1134
  );
1120
1135
  if (versionHint) console.error(versionHint);
@@ -1125,24 +1140,24 @@ ${await authStatusLine()}
1125
1140
  process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : _nullishCoalesce(commanderError.exitCode, () => ( 1));
1126
1141
  return;
1127
1142
  } else if (wantsJson) {
1128
- _chunkJHUMUIU6js.printJson.call(void 0, {
1129
- ..._chunkJHUMUIU6js.errorToJsonPayload.call(void 0, error),
1130
- ...error instanceof _chunkND4BVWWZjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1143
+ _chunkGN5QM2BBjs.printJson.call(void 0, {
1144
+ ..._chunkGN5QM2BBjs.errorToJsonPayload.call(void 0, error),
1145
+ ...error instanceof _chunkIQTHRG6Ejs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1131
1146
  });
1132
1147
  } else if (error instanceof Error) {
1133
1148
  console.error(`Error: ${error.message}`);
1134
- if (error instanceof _chunkND4BVWWZjs.AuthError) {
1149
+ if (error instanceof _chunkIQTHRG6Ejs.AuthError) {
1135
1150
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1136
1151
  }
1137
- const providerConcurrency = _chunkJHUMUIU6js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1152
+ const providerConcurrency = _chunkGN5QM2BBjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1138
1153
  if (providerConcurrency) console.error(providerConcurrency);
1139
1154
  } else {
1140
1155
  console.error(`Error: ${String(error)}`);
1141
1156
  }
1142
1157
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1143
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkW3H422KPjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1158
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkM2HVNJ47js.resolveSdkCliFailureExitCode.call(void 0, error)));
1144
1159
  process.exitCode = failureExitCode;
1145
- await _chunkW3H422KPjs.maybeReportSdkCliFailure.call(void 0, {
1160
+ await _chunkM2HVNJ47js.maybeReportSdkCliFailure.call(void 0, {
1146
1161
  argv: process.argv.slice(2),
1147
1162
  startedAtMs: mainStartedAt,
1148
1163
  exitCode: failureExitCode,