deepline 0.3.327 → 0.3.329

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  2. package/dist/bundling-sources/sdk/src/play.ts +55 -45
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +16 -0
  5. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  6. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +31 -15
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +22 -4
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +29 -11
  10. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +145 -19
  11. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -10
  12. package/dist/bundling-sources/shared_libs/plays/dataset.ts +3 -0
  13. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +59 -10
  14. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +4 -0
  15. package/dist/cli/{auth-EBBDOKNV.mjs → auth-MFFVOITR.mjs} +4 -4
  16. package/dist/cli/auth-W2MQM6GQ.js +31 -0
  17. package/dist/cli/{billing-IM2QUFX4.mjs → billing-LRBHWLIQ.mjs} +30 -16
  18. package/dist/cli/{billing-6AAB7WPJ.js → billing-V4Y4OVQ7.js} +96 -82
  19. package/dist/cli/{chunk-D6GD5AVN.mjs → chunk-3RZJ3GEG.mjs} +135 -5
  20. package/dist/cli/{chunk-MOP6D7Z5.js → chunk-4FLEXYUC.js} +141 -11
  21. package/dist/cli/{chunk-DSDX6EUW.js → chunk-75ZOTF3K.js} +15 -15
  22. package/dist/cli/{chunk-ZOFARJWH.mjs → chunk-7T6DX5RK.mjs} +21 -14
  23. package/dist/cli/{chunk-3MXRNPBN.js → chunk-AD23W4S5.js} +1 -1
  24. package/dist/cli/{chunk-F45425TB.mjs → chunk-EROOAI5G.mjs} +1 -1
  25. package/dist/cli/{chunk-REP2MYBI.mjs → chunk-ERU2OR6F.mjs} +2 -2
  26. package/dist/cli/{chunk-YIY74KUF.mjs → chunk-EV4QJE4J.mjs} +1 -1
  27. package/dist/cli/{chunk-CCRQ2VGJ.mjs → chunk-FK7PW6BP.mjs} +1 -1
  28. package/dist/cli/{chunk-2HKPAZVJ.js → chunk-FKKNYKDY.js} +14 -3
  29. package/dist/cli/{chunk-G5774EFF.mjs → chunk-GCNER3HV.mjs} +1 -1
  30. package/dist/cli/{chunk-4ZARCCPT.js → chunk-GY2EEO2Y.js} +9 -9
  31. package/dist/cli/{chunk-HOWQKN6J.mjs → chunk-HI7TAWFS.mjs} +79 -26
  32. package/dist/cli/{chunk-RSEVBSFE.mjs → chunk-HVPRQGF4.mjs} +1 -1
  33. package/dist/cli/{chunk-CISKBOXD.js → chunk-J2E5R2VH.js} +60 -60
  34. package/dist/cli/{chunk-7RCJDAJX.js → chunk-KHZQFFOQ.js} +2 -2
  35. package/dist/cli/{chunk-DVV4FPS7.mjs → chunk-MFQQINUY.mjs} +2 -2
  36. package/dist/cli/{chunk-DCAU6PND.mjs → chunk-MO2XSC5I.mjs} +4 -4
  37. package/dist/cli/{chunk-KP7W5NO6.mjs → chunk-NTVTZAVZ.mjs} +13 -2
  38. package/dist/cli/{chunk-HZZJR2GV.js → chunk-OUTIWGKY.js} +26 -26
  39. package/dist/cli/{chunk-QZAP5VOS.mjs → chunk-OZGU7P2S.mjs} +1 -1
  40. package/dist/cli/{chunk-A5SKM3GL.mjs → chunk-SJV5MTOJ.mjs} +1 -1
  41. package/dist/cli/{chunk-UROXKPND.js → chunk-U2N4CYT7.js} +6 -6
  42. package/dist/cli/{chunk-4TO56P22.js → chunk-U4CTHVN7.js} +255 -248
  43. package/dist/cli/{chunk-AGH6YP2T.js → chunk-UQV5M6HN.js} +3 -3
  44. package/dist/cli/{chunk-DM3SHV6U.js → chunk-VDIHLKGG.js} +4 -4
  45. package/dist/cli/{chunk-77RAV5XX.js → chunk-VLDLJZ75.js} +48 -48
  46. package/dist/cli/{chunk-NWIJLTRL.js → chunk-XRYKLK56.js} +119 -66
  47. package/dist/cli/{chunk-3ITDKXNC.mjs → chunk-YNSCELIJ.mjs} +2 -2
  48. package/dist/cli/{chunk-TAGHNT5P.js → chunk-ZXGUYTIT.js} +6 -6
  49. package/dist/cli/client-5AIFBLKQ.js +20 -0
  50. package/dist/cli/{client-JCMSACT4.mjs → client-BNLD775D.mjs} +3 -3
  51. package/dist/cli/{csv-NPMWVM5D.mjs → csv-7MVQECWG.mjs} +3 -3
  52. package/dist/cli/{csv-OILKDKUX.js → csv-ZT6ZRQ3Z.js} +12 -12
  53. package/dist/cli/{db-AZUAOWPQ.mjs → db-ABLWLMX5.mjs} +4 -4
  54. package/dist/cli/{db-MNDRYYEX.js → db-C4BMZXJK.js} +29 -29
  55. package/dist/cli/{describe-KJWOHMKC.mjs → describe-XWOWAR32.mjs} +10 -10
  56. package/dist/cli/{describe-QENLDLM2.js → describe-YALVN4WH.js} +17 -17
  57. package/dist/cli/{executions-QZNQWF6F.mjs → executions-7IZVKQ3O.mjs} +4 -4
  58. package/dist/cli/{executions-P36UHBPG.js → executions-U4TNRP26.js} +6 -6
  59. package/dist/cli/{feedback-RQ6HSZSG.mjs → feedback-GO5XPEKY.mjs} +3 -3
  60. package/dist/cli/{feedback-K4UGTLFD.js → feedback-NWMRT5W4.js} +6 -6
  61. package/dist/cli/{git-PBRMCBMI.mjs → git-R53WS4WA.mjs} +4 -4
  62. package/dist/cli/git-YWRLAOBY.js +23 -0
  63. package/dist/cli/index.js +95 -80
  64. package/dist/cli/index.mjs +54 -39
  65. package/dist/cli/{legacy-noops-G7GWJ5UC.mjs → legacy-noops-6QAZW7WJ.mjs} +4 -4
  66. package/dist/cli/{legacy-noops-X74FM35Q.js → legacy-noops-NJWM53DE.js} +7 -7
  67. package/dist/cli/{monitors-VKURX3YM.js → monitors-2I2MYAPS.js} +85 -85
  68. package/dist/cli/{monitors-KL2MCR57.mjs → monitors-2N4BRU5M.mjs} +4 -4
  69. package/dist/cli/{org-DT53KTNW.mjs → org-D3RHK2Q7.mjs} +4 -4
  70. package/dist/cli/{org-ZYXJDC44.js → org-XVNAE2JV.js} +60 -60
  71. package/dist/cli/{play-WIJGQYTB.mjs → play-L7MYJZ65.mjs} +9 -9
  72. package/dist/cli/play-OYRHI7G3.js +153 -0
  73. package/dist/cli/{providers-GRTW4TXX.js → providers-5BTDAZHN.js} +7 -7
  74. package/dist/cli/{providers-GYGKGS2J.mjs → providers-YM4E7WZD.mjs} +4 -4
  75. package/dist/cli/{quickstart-WB26543C.js → quickstart-5A3FHAH3.js} +5 -5
  76. package/dist/cli/{quickstart-XF3M2M2S.mjs → quickstart-ARPLJOLH.mjs} +3 -3
  77. package/dist/cli/{search-ANJLTOF2.mjs → search-KKJEVV27.mjs} +5 -5
  78. package/dist/cli/search-VE3O3ZEM.js +26 -0
  79. package/dist/cli/{secrets-D6UR5CTW.mjs → secrets-DGRJ4DO5.mjs} +4 -4
  80. package/dist/cli/{secrets-5KBUGMTK.js → secrets-DVPVCSZD.js} +13 -13
  81. package/dist/cli/{sessions-S7N4JEWK.mjs → sessions-56EHXLZD.mjs} +4 -4
  82. package/dist/cli/{sessions-46PXFULL.js → sessions-VG4ATQ5Y.js} +5 -5
  83. package/dist/cli/{settings-V6U3SRTH.mjs → settings-4U5XG7QI.mjs} +7 -7
  84. package/dist/cli/{settings-KMNBITSU.js → settings-BLOTIW2G.js} +74 -74
  85. package/dist/cli/{setup-4K5FY6AU.js → setup-L7AMAXCH.js} +41 -41
  86. package/dist/cli/{setup-OGITSLTN.mjs → setup-RHJAHPOR.mjs} +6 -6
  87. package/dist/cli/skills-QB4OQGGP.js +28 -0
  88. package/dist/cli/{skills-AXWAYPBY.mjs → skills-VU55YFCI.mjs} +4 -4
  89. package/dist/cli/tools-2CPFYNK7.js +40 -0
  90. package/dist/cli/{tools-LJCY6B23.mjs → tools-JS3YIDOH.mjs} +7 -6
  91. package/dist/cli/{update-DDR5XIUB.mjs → update-EHI5QUXM.mjs} +6 -6
  92. package/dist/cli/update-WXP24GU5.js +28 -0
  93. package/dist/cli/{workflow-PRNCVANQ.mjs → workflow-BITLTLRF.mjs} +5 -5
  94. package/dist/cli/{workflow-7CTCDWL3.js → workflow-NE4SYRAT.js} +15 -15
  95. package/dist/{client-wiWPZhnI.d.mts → client-D5XOQKsA.d.mts} +20 -1
  96. package/dist/{client-DHq8dJ56.d.ts → client-l-IoLh8Z.d.ts} +20 -1
  97. package/dist/{compiler-manifest-9TkZ_ykI.d.mts → compiler-manifest-82q4jtfQ.d.mts} +44 -17
  98. package/dist/{compiler-manifest-9TkZ_ykI.d.ts → compiler-manifest-82q4jtfQ.d.ts} +44 -17
  99. package/dist/{index-B-5_Xhud.d.mts → index-BPbW2XHF.d.mts} +1 -1
  100. package/dist/{index-ykksoEyR.d.ts → index-k0rquHIm.d.ts} +1 -1
  101. package/dist/index.d.mts +14 -8
  102. package/dist/index.d.ts +14 -8
  103. package/dist/index.js +194 -69
  104. package/dist/index.mjs +162 -37
  105. package/dist/install-integrity.json +84 -84
  106. package/dist/plays/bundle-play-file.d.mts +3 -3
  107. package/dist/plays/bundle-play-file.d.ts +3 -3
  108. package/dist/plays/bundle-play-file.mjs +2 -2
  109. package/dist/plays/run-request.d.mts +2 -2
  110. package/dist/plays/run-request.d.ts +2 -2
  111. package/dist/release.d.mts +1 -1
  112. package/dist/release.d.ts +1 -1
  113. package/dist/release.js +2 -2
  114. package/dist/release.mjs +1 -1
  115. package/package.json +2 -1
  116. package/dist/cli/auth-67YOPQ6M.js +0 -31
  117. package/dist/cli/client-7LZCG4VD.js +0 -20
  118. package/dist/cli/git-RPFH3NJ2.js +0 -23
  119. package/dist/cli/play-BUQV47E2.js +0 -153
  120. package/dist/cli/search-CR2GZLCM.js +0 -26
  121. package/dist/cli/skills-4FP2MZKL.js +0 -28
  122. package/dist/cli/tools-7YZPH6WC.js +0 -39
  123. package/dist/cli/update-3VUOW6AP.js +0 -28
package/dist/cli/index.js CHANGED
@@ -10,8 +10,8 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkDSDX6EUWjs = require('./chunk-DSDX6EUW.js');
14
- require('./chunk-7RCJDAJX.js');
13
+ var _chunk75ZOTF3Kjs = require('./chunk-75ZOTF3K.js');
14
+ require('./chunk-KHZQFFOQ.js');
15
15
 
16
16
 
17
17
 
@@ -24,7 +24,7 @@ require('./chunk-7RCJDAJX.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkCISKBOXDjs = require('./chunk-CISKBOXD.js');
27
+ var _chunkJ2E5R2VHjs = require('./chunk-J2E5R2VH.js');
28
28
 
29
29
 
30
30
 
@@ -38,7 +38,7 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
38
38
 
39
39
 
40
40
 
41
- var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
41
+ var _chunkU2N4CYT7js = require('./chunk-U2N4CYT7.js');
42
42
 
43
43
 
44
44
 
@@ -46,9 +46,10 @@ var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
46
46
 
47
47
 
48
48
 
49
- var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
49
+
50
+ var _chunkVDIHLKGGjs = require('./chunk-VDIHLKGG.js');
50
51
  require('./chunk-XNYIZMNQ.js');
51
- require('./chunk-3MXRNPBN.js');
52
+ require('./chunk-AD23W4S5.js');
52
53
  require('./chunk-7P5AA3SN.js');
53
54
  require('./chunk-OG64RBAC.js');
54
55
  require('./chunk-COGTRVWW.js');
@@ -114,48 +115,48 @@ var _os = require('os');
114
115
  var COMMAND_GROUPS = [
115
116
  {
116
117
  names: ["auth"],
117
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-67YOPQ6M.js")))).registerAuthCommands
118
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-W2MQM6GQ.js")))).registerAuthCommands
118
119
  },
119
120
  {
120
121
  names: ["providers"],
121
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-GRTW4TXX.js")))).registerProviderCommands
122
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-5BTDAZHN.js")))).registerProviderCommands
122
123
  },
123
124
  {
124
125
  names: ["search"],
125
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-CR2GZLCM.js")))).registerSearchCommand
126
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-VE3O3ZEM.js")))).registerSearchCommand
126
127
  },
127
128
  {
128
129
  names: ["describe"],
129
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QENLDLM2.js")))).registerDescribeCommand
130
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-YALVN4WH.js")))).registerDescribeCommand
130
131
  },
131
132
  {
132
133
  names: ["tools"],
133
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-7YZPH6WC.js")))).registerToolsCommands
134
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-2CPFYNK7.js")))).registerToolsCommands
134
135
  },
135
136
  {
136
137
  names: ["executions"],
137
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-P36UHBPG.js")))).registerExecutionsCommands
138
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-U4TNRP26.js")))).registerExecutionsCommands
138
139
  },
139
140
  {
140
141
  names: ["plays", "runs"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-BUQV47E2.js")))).registerPlayCommands
142
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-OYRHI7G3.js")))).registerPlayCommands
142
143
  },
143
144
  {
144
145
  names: ["sessions"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-46PXFULL.js")))).registerSessionsCommands
146
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-VG4ATQ5Y.js")))).registerSessionsCommands
146
147
  },
147
148
  {
148
149
  names: ["workflows"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-7CTCDWL3.js")))).registerWorkflowCommands
150
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-NE4SYRAT.js")))).registerWorkflowCommands
150
151
  },
151
152
  {
152
153
  names: ["secrets"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-5KBUGMTK.js")))).registerSecretsCommands
154
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-DVPVCSZD.js")))).registerSecretsCommands
154
155
  },
155
156
  {
156
157
  names: ["settings", "notifications"],
157
158
  load: async () => {
158
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-KMNBITSU.js")));
159
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-BLOTIW2G.js")));
159
160
  return (p) => {
160
161
  commands.registerSettingsCommands(p);
161
162
  commands.registerNotificationCommands(p);
@@ -164,51 +165,51 @@ var COMMAND_GROUPS = [
164
165
  },
165
166
  {
166
167
  names: ["billing"],
167
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-6AAB7WPJ.js")))).registerBillingCommands
168
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-V4Y4OVQ7.js")))).registerBillingCommands
168
169
  },
169
170
  {
170
171
  names: ["monitors"],
171
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-VKURX3YM.js")))).registerMonitorsCommands
172
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-2I2MYAPS.js")))).registerMonitorsCommands
172
173
  },
173
174
  {
174
175
  names: ["org"],
175
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-ZYXJDC44.js")))).registerOrgCommands
176
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-XVNAE2JV.js")))).registerOrgCommands
176
177
  },
177
178
  {
178
179
  names: ["git", "projects", "deployments"],
179
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-RPFH3NJ2.js")))).registerGitCommands
180
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-YWRLAOBY.js")))).registerGitCommands
180
181
  },
181
182
  {
182
183
  names: ["csv"],
183
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-OILKDKUX.js")))).registerCsvCommands
184
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-ZT6ZRQ3Z.js")))).registerCsvCommands
184
185
  },
185
186
  {
186
187
  names: ["db"],
187
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-MNDRYYEX.js")))).registerDbCommands
188
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-C4BMZXJK.js")))).registerDbCommands
188
189
  },
189
190
  {
190
191
  names: ["feedback"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-K4UGTLFD.js")))).registerFeedbackCommands
192
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-NWMRT5W4.js")))).registerFeedbackCommands
192
193
  },
193
194
  {
194
195
  names: ["enrich", "session", "backend"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-X74FM35Q.js")))).registerDeprecatedCommands
196
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-NJWM53DE.js")))).registerDeprecatedCommands
196
197
  },
197
198
  {
198
199
  names: ["update"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-3VUOW6AP.js")))).registerUpdateCommand
200
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-WXP24GU5.js")))).registerUpdateCommand
200
201
  },
201
202
  {
202
203
  names: ["skills", "skills-auto-sync"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-4FP2MZKL.js")))).registerSkillsCommand
204
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-QB4OQGGP.js")))).registerSkillsCommand
204
205
  },
205
206
  {
206
207
  names: ["setup", "doctor"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-4K5FY6AU.js")))).registerSetupCommands
208
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-L7AMAXCH.js")))).registerSetupCommands
208
209
  },
209
210
  {
210
211
  names: ["quickstart"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-WB26543C.js")))).registerQuickstartCommands
212
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-5A3FHAH3.js")))).registerQuickstartCommands
212
213
  }
213
214
  ];
214
215
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -219,7 +220,9 @@ async function registerDeeplineCommandGroups(program, requestedCommand) {
219
220
  for (const register of registrars) register(program);
220
221
  }
221
222
  function registerDeeplineInlineCommands(program) {
222
- const preflight = program.command("preflight").description("Run compact health, auth, and Deepline billing checks.").option("--json", "Force JSON output.");
223
+ const preflight = program.command("preflight").description(
224
+ "Run compact CLI version, health, auth, and Deepline billing checks."
225
+ ).option("--json", "Force JSON output.");
223
226
  const health = program.command("health").description("Check server health.").option("--json", "Force JSON output.").option(
224
227
  "--play-runner",
225
228
  "Run a tiny no-provider play to verify the full play execution plane."
@@ -244,7 +247,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
244
247
  async function reportAutoUpdateEvent(input) {
245
248
  let apiKey = "";
246
249
  try {
247
- apiKey = _chunkDM3SHV6Ujs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
250
+ apiKey = _chunkVDIHLKGGjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
248
251
  } catch (e2) {
249
252
  return;
250
253
  }
@@ -260,15 +263,15 @@ async function reportAutoUpdateEvent(input) {
260
263
  headers: {
261
264
  Authorization: `Bearer ${apiKey}`,
262
265
  "Content-Type": "application/json",
263
- "User-Agent": `deepline-ts-sdk/${_chunkDM3SHV6Ujs.SDK_VERSION}`,
266
+ "User-Agent": `deepline-ts-sdk/${_chunkVDIHLKGGjs.SDK_VERSION}`,
264
267
  "X-Deepline-Client-Family": "sdk",
265
268
  "X-Deepline-CLI-Family": "sdk",
266
- "X-Deepline-CLI-Version": _chunkDM3SHV6Ujs.SDK_VERSION,
267
- "X-Deepline-SDK-Version": _chunkDM3SHV6Ujs.SDK_VERSION
269
+ "X-Deepline-CLI-Version": _chunkVDIHLKGGjs.SDK_VERSION,
270
+ "X-Deepline-SDK-Version": _chunkVDIHLKGGjs.SDK_VERSION
268
271
  },
269
272
  body: JSON.stringify({
270
273
  event: input.event,
271
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkDM3SHV6Ujs.SDK_VERSION,
274
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkVDIHLKGGjs.SDK_VERSION,
272
275
  target_version: input.response.latest,
273
276
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
274
277
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -287,7 +290,7 @@ function envTruthy(name) {
287
290
  return value === "1" || value === "true" || value === "yes";
288
291
  }
289
292
  function shouldSkipSelfUpdate(policy) {
290
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkDSDX6EUWjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkCISKBOXDjs.isCiEnvironment.call(void 0, );
293
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk75ZOTF3Kjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkJ2E5R2VHjs.isCiEnvironment.call(void 0, );
291
294
  }
292
295
  function parseSemver(version) {
293
296
  const trimmed = _optionalChain([version, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]);
@@ -317,7 +320,7 @@ function compareSemver(left, right) {
317
320
  }
318
321
  function isDowngradeAutoUpdateResponse(response) {
319
322
  const target = _optionalChain([response, 'optionalAccess', _19 => _19.latest, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
320
- const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkDM3SHV6Ujs.SDK_VERSION;
323
+ const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkVDIHLKGGjs.SDK_VERSION;
321
324
  if (!target) return false;
322
325
  return compareSemver(target, current) < 0;
323
326
  }
@@ -356,7 +359,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
356
359
  }
357
360
  if (isDowngradeAutoUpdateResponse(response)) {
358
361
  const target = response.latest;
359
- const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkDM3SHV6Ujs.SDK_VERSION;
362
+ const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkVDIHLKGGjs.SDK_VERSION;
360
363
  process.stderr.write(
361
364
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
362
365
  `
@@ -364,12 +367,12 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
364
367
  return false;
365
368
  }
366
369
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
367
- const plan = _chunkDSDX6EUWjs.resolveUpdatePlan.call(void 0, {
370
+ const plan = _chunk75ZOTF3Kjs.resolveUpdatePlan.call(void 0, {
368
371
  packageSpec,
369
372
  requireVerifiedNpmOwnership: true,
370
373
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
371
374
  });
372
- if (!_chunkDSDX6EUWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
375
+ if (!_chunk75ZOTF3Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
373
376
  return false;
374
377
  }
375
378
  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";
@@ -383,7 +386,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
383
386
  event: "started",
384
387
  installKind: plan.kind
385
388
  });
386
- const updateResult = await _chunkDSDX6EUWjs.runAutomaticUpdatePlan.call(void 0, plan);
389
+ const updateResult = await _chunk75ZOTF3Kjs.runAutomaticUpdatePlan.call(void 0, plan);
387
390
  if (updateResult.status === "skipped_previous_failure") {
388
391
  void reportAutoUpdateEvent({
389
392
  baseUrl,
@@ -445,6 +448,7 @@ function resolveCliMaintenancePolicy(input) {
445
448
 
446
449
  // src/cli/index.ts
447
450
  var PREFLIGHT_TIMEOUT_MS = 3e3;
451
+ var AUTH_RECOVERY_COMMAND = "deepline auth register --wait auto";
448
452
  function asCommanderError(error) {
449
453
  if (!(error instanceof Error) || !("code" in error)) {
450
454
  return null;
@@ -532,7 +536,7 @@ async function runPlayRunnerHealthCheck() {
532
536
  });
533
537
  let exitCode = 1;
534
538
  try {
535
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-BUQV47E2.js")));
539
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-OYRHI7G3.js")));
536
540
  exitCode = await handlePlayRun([
537
541
  file,
538
542
  "--input",
@@ -572,7 +576,7 @@ function preflightErrorMessage(error) {
572
576
  return error instanceof Error ? error.message : String(error);
573
577
  }
574
578
  async function runPreflightCheck() {
575
- const baseUrl = _chunkDM3SHV6Ujs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
579
+ const baseUrl = _chunkVDIHLKGGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
576
580
  const healthController = new AbortController();
577
581
  const healthTimeout = setTimeout(
578
582
  () => healthController.abort(),
@@ -587,9 +591,9 @@ async function runPreflightCheck() {
587
591
  version: pickString(payload, "version")
588
592
  };
589
593
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
590
- const apiKey = _chunkDM3SHV6Ujs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
591
- const http = apiKey ? new (0, _chunkDM3SHV6Ujs.HttpClient)(
592
- _chunkDM3SHV6Ujs.resolveConfig.call(void 0, {
594
+ const apiKey = _chunkVDIHLKGGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
595
+ const http = apiKey ? new (0, _chunkVDIHLKGGjs.HttpClient)(
596
+ _chunkVDIHLKGGjs.resolveConfig.call(void 0, {
593
597
  baseUrl,
594
598
  apiKey,
595
599
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -631,8 +635,10 @@ async function runPreflightCheck() {
631
635
  const billingRecord = billing;
632
636
  const balanceDisplay = _nullishCoalesce(pickString(billing, "balance_display", "balanceDisplay"), () => ( `${String(_nullishCoalesce(billingRecord.balance, () => ( 0)))} Deepline Credits`));
633
637
  const balanceStatus = _nullishCoalesce(pickString(billing, "balance_status", "balanceStatus"), () => ( "unknown"));
638
+ const connected = authStatus === "connected" || authStatus === "claimed";
634
639
  return {
635
- status: healthResult.status === "ok" && (authStatus === "connected" || authStatus === "claimed") ? "ok" : "check",
640
+ status: healthResult.status === "ok" && connected ? "ok" : "check",
641
+ cli_version: _chunkVDIHLKGGjs.SDK_VERSION,
636
642
  host: baseUrl,
637
643
  health: {
638
644
  status: healthResult.status,
@@ -640,7 +646,7 @@ async function runPreflightCheck() {
640
646
  },
641
647
  auth: {
642
648
  status: authStatus,
643
- connected: authStatus === "connected" || authStatus === "claimed",
649
+ connected,
644
650
  org_id: pickString(auth, "org_id", "orgId"),
645
651
  org_name: pickString(auth, "org_name", "orgName"),
646
652
  rate_limit_tier: pickString(auth, "rate_limit_tier", "rateLimitTier"),
@@ -658,10 +664,12 @@ async function runPreflightCheck() {
658
664
  {
659
665
  title: "preflight",
660
666
  lines: [
667
+ `cli: ${_chunkVDIHLKGGjs.SDK_VERSION}`,
661
668
  `host: ${baseUrl}`,
662
669
  `health: ${healthResult.status}`,
663
670
  `auth: ${authStatus}`,
664
- `billing: ${balanceDisplay} (${balanceStatus})`
671
+ `billing: ${balanceDisplay} (${balanceStatus})`,
672
+ ...connected ? [] : [`next: ${AUTH_RECOVERY_COMMAND}`]
665
673
  ]
666
674
  }
667
675
  ]
@@ -681,12 +689,12 @@ function printPreflightHuman(data) {
681
689
  }
682
690
  async function newerCliCommandHint(baseUrl, command) {
683
691
  if (!command.trim()) return null;
684
- const { response, error } = await _chunkCISKBOXDjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
692
+ const { response, error } = await _chunkJ2E5R2VHjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
685
693
  if (error || !response) return null;
686
694
  const introduced = response.command_introduced_in;
687
695
  if (introduced) {
688
696
  return [
689
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkDM3SHV6Ujs.SDK_VERSION}.`,
697
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkVDIHLKGGjs.SDK_VERSION}.`,
690
698
  ` ${introduced.reason}`,
691
699
  ` Update with: ${response.update_command}`,
692
700
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -695,7 +703,7 @@ async function newerCliCommandHint(baseUrl, command) {
695
703
  if (!response.update_required) return null;
696
704
  return [
697
705
  response.message,
698
- ` Installed: ${_chunkDM3SHV6Ujs.SDK_VERSION}. Run: ${response.update_command}`,
706
+ ` Installed: ${_chunkVDIHLKGGjs.SDK_VERSION}. Run: ${response.update_command}`,
699
707
  " If an agent skill told you to run this, the skill is newer than this CLI."
700
708
  ].join("\n");
701
709
  }
@@ -713,7 +721,7 @@ async function runMain(ensureTransport) {
713
721
  const program = new (0, _commander.Command)();
714
722
  program.name("deepline").description(
715
723
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
716
- ).version(_chunkDM3SHV6Ujs.SDK_VERSION, "-v, --version", "Show version").option(
724
+ ).version(_chunkVDIHLKGGjs.SDK_VERSION, "-v, --version", "Show version").option(
717
725
  "--maintenance <policy>",
718
726
  "Installation maintenance: configured preferences or off; independent of output format",
719
727
  parseCliMaintenancePolicy,
@@ -765,7 +773,7 @@ Exit codes:
765
773
  if (actionCommand.name() !== "version") {
766
774
  await ensureTransport();
767
775
  }
768
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkCISKBOXDjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
776
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkJ2E5R2VHjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
769
777
  return;
770
778
  }
771
779
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
@@ -778,16 +786,16 @@ Exit codes:
778
786
  _optionalChain([progress, 'optionalAccess', _37 => _37.phase, 'call', _38 => _38("checking sdk compatibility")]);
779
787
  }
780
788
  const startup = await runStartupStage("SDK compatibility", async () => {
781
- const baseUrl = _chunkDM3SHV6Ujs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
782
- if (maintenance !== "off") _chunkCISKBOXDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
789
+ const baseUrl = _chunkVDIHLKGGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
790
+ if (maintenance !== "off") _chunkJ2E5R2VHjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
783
791
  const shouldDeferSkillsSync = maintenance === "off" || shouldDeferSkillsSyncForCommand();
784
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkDM3SHV6Ujs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
785
- const trusted = _chunkCISKBOXDjs.readTrustedCleanCompatibility.call(void 0,
792
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkVDIHLKGGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
793
+ const trusted = _chunkJ2E5R2VHjs.readTrustedCleanCompatibility.call(void 0,
786
794
  baseUrl,
787
795
  compatibilityCommand,
788
796
  skillsVersion
789
797
  );
790
- const fastDeadline = trusted === null && _chunkCISKBOXDjs.readFreshCleanCompatibility.call(void 0,
798
+ const fastDeadline = trusted === null && _chunkJ2E5R2VHjs.readFreshCleanCompatibility.call(void 0,
791
799
  baseUrl,
792
800
  compatibilityCommand,
793
801
  skillsVersion
@@ -811,12 +819,12 @@ Exit codes:
811
819
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
812
820
  fastDeadline
813
821
  },
814
- () => _chunkCISKBOXDjs.checkSdkCompatibility.call(void 0, baseUrl, {
822
+ () => _chunkJ2E5R2VHjs.checkSdkCompatibility.call(void 0, baseUrl, {
815
823
  command: compatibilityCommand,
816
824
  skillsVersion,
817
825
  persistCache: maintenance !== "off",
818
826
  catalog: _chunkQJBJZVG6js.compatibilityCatalog.call(void 0, actionCommand),
819
- ...fastDeadline ? { timeoutMs: _chunkCISKBOXDjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
827
+ ...fastDeadline ? { timeoutMs: _chunkJ2E5R2VHjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
820
828
  })
821
829
  );
822
830
  if (compatibility.error) {
@@ -840,7 +848,7 @@ Exit codes:
840
848
  response: compatibility.response
841
849
  };
842
850
  }
843
- _chunkCISKBOXDjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
851
+ _chunkJ2E5R2VHjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
844
852
  quietAdvisory: process.argv.includes("--json")
845
853
  });
846
854
  return {
@@ -861,7 +869,7 @@ Exit codes:
861
869
  () => _chunkAYHLUHE5js.traceCliSpan.call(void 0,
862
870
  "cli.sdk_skills_sync",
863
871
  { baseUrl: startup.baseUrl },
864
- () => _chunkCISKBOXDjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
872
+ () => _chunkJ2E5R2VHjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
865
873
  update: skillsUpdate,
866
874
  mode: "detached"
867
875
  })
@@ -879,8 +887,9 @@ Exit codes:
879
887
  "after",
880
888
  `
881
889
  Notes:
882
- Read-only setup check for the configured Deepline host. Shows server health,
883
- auth connection, and customer-visible Deepline balance in one compact command.
890
+ Read-only setup check for the configured Deepline host. Shows the CLI version,
891
+ server health, auth connection, and customer-visible Deepline balance in one
892
+ compact command. When auth is missing it prints the command that connects it.
884
893
 
885
894
  Examples:
886
895
  deepline preflight
@@ -888,8 +897,8 @@ Examples:
888
897
  `
889
898
  ).action(async (options) => {
890
899
  const data = await runPreflightCheck();
891
- if (_chunkUROXKPNDjs.shouldEmitJson.call(void 0, options.json)) {
892
- _chunkUROXKPNDjs.printJson.call(void 0, data);
900
+ if (_chunkU2N4CYT7js.shouldEmitJson.call(void 0, options.json)) {
901
+ _chunkU2N4CYT7js.printJson.call(void 0, data);
893
902
  } else {
894
903
  printPreflightHuman(data);
895
904
  }
@@ -911,13 +920,13 @@ Examples:
911
920
  try {
912
921
  if (options.playRunner) {
913
922
  const data2 = await runPlayRunnerHealthCheck();
914
- _chunkUROXKPNDjs.printJson.call(void 0, data2);
923
+ _chunkU2N4CYT7js.printJson.call(void 0, data2);
915
924
  return;
916
925
  }
917
- const { DeeplineClient } = await Promise.resolve().then(() => _interopRequireWildcard(require("./client-7LZCG4VD.js")));
926
+ const { DeeplineClient } = await Promise.resolve().then(() => _interopRequireWildcard(require("./client-5AIFBLKQ.js")));
918
927
  const client = new DeeplineClient();
919
928
  const data = await client.health();
920
- _chunkUROXKPNDjs.printJson.call(void 0, data);
929
+ _chunkU2N4CYT7js.printJson.call(void 0, data);
921
930
  } catch (error) {
922
931
  throw new Error(
923
932
  `Cannot reach Deepline API: ${error instanceof Error ? error.message : String(error)}`
@@ -938,15 +947,15 @@ Examples:
938
947
  `
939
948
  ).action((options) => {
940
949
  if (options.json) {
941
- _chunkUROXKPNDjs.printCompactJson.call(void 0, { version: _chunkDM3SHV6Ujs.SDK_VERSION });
950
+ _chunkU2N4CYT7js.printCompactJson.call(void 0, { version: _chunkVDIHLKGGjs.SDK_VERSION });
942
951
  return;
943
952
  }
944
- process.stdout.write(`deepline ${_chunkDM3SHV6Ujs.SDK_VERSION}
953
+ process.stdout.write(`deepline ${_chunkVDIHLKGGjs.SDK_VERSION}
945
954
  `);
946
955
  });
947
956
  if (process.argv.slice(2).length === 0) {
948
957
  if (!process.stdout.isTTY) {
949
- _chunkUROXKPNDjs.printJson.call(void 0, {
958
+ _chunkU2N4CYT7js.printJson.call(void 0, {
950
959
  ok: false,
951
960
  exitCode: 2,
952
961
  code: "MISSING_COMMAND",
@@ -970,7 +979,7 @@ Examples:
970
979
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
971
980
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
972
981
  console.error(`error: unknown command '${requestedTopLevelCommand}'`);
973
- const baseUrl = _chunkDM3SHV6Ujs.autoDetectBaseUrl.call(void 0, );
982
+ const baseUrl = _chunkVDIHLKGGjs.autoDetectBaseUrl.call(void 0, );
974
983
  await ensureTransport();
975
984
  const versionHint = await newerCliCommandHint(
976
985
  baseUrl,
@@ -991,7 +1000,7 @@ Examples:
991
1000
  ms: Date.now() - mainStartedAt,
992
1001
  ok: true
993
1002
  });
994
- await _chunkCISKBOXDjs.maybeReportSdkCliFailure.call(void 0, {
1003
+ await _chunkJ2E5R2VHjs.maybeReportSdkCliFailure.call(void 0, {
995
1004
  argv: process.argv.slice(2),
996
1005
  startedAtMs: mainStartedAt,
997
1006
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1016,7 +1025,7 @@ Examples:
1016
1025
  const commandPath = invocation.commandPath || requestedTopLevelCommand;
1017
1026
  await ensureTransport();
1018
1027
  const versionHint = await newerCliCommandHint(
1019
- _chunkDM3SHV6Ujs.autoDetectBaseUrl.call(void 0, ),
1028
+ _chunkVDIHLKGGjs.autoDetectBaseUrl.call(void 0, ),
1020
1029
  commandPath
1021
1030
  );
1022
1031
  if (versionHint) console.error(versionHint);
@@ -1027,18 +1036,24 @@ Examples:
1027
1036
  process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : _nullishCoalesce(commanderError.exitCode, () => ( 1));
1028
1037
  return;
1029
1038
  } else if (wantsJson) {
1030
- _chunkUROXKPNDjs.printJsonError.call(void 0, error);
1039
+ _chunkU2N4CYT7js.printJson.call(void 0, {
1040
+ ..._chunkU2N4CYT7js.errorToJsonPayload.call(void 0, error),
1041
+ ...error instanceof _chunkVDIHLKGGjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1042
+ });
1031
1043
  } else if (error instanceof Error) {
1032
1044
  console.error(`Error: ${error.message}`);
1033
- const providerConcurrency = _chunkUROXKPNDjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1045
+ if (error instanceof _chunkVDIHLKGGjs.AuthError) {
1046
+ console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1047
+ }
1048
+ const providerConcurrency = _chunkU2N4CYT7js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1034
1049
  if (providerConcurrency) console.error(providerConcurrency);
1035
1050
  } else {
1036
1051
  console.error(`Error: ${String(error)}`);
1037
1052
  }
1038
1053
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1039
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkCISKBOXDjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1054
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkJ2E5R2VHjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1040
1055
  process.exitCode = failureExitCode;
1041
- await _chunkCISKBOXDjs.maybeReportSdkCliFailure.call(void 0, {
1056
+ await _chunkJ2E5R2VHjs.maybeReportSdkCliFailure.call(void 0, {
1042
1057
  argv: process.argv.slice(2),
1043
1058
  startedAtMs: mainStartedAt,
1044
1059
  exitCode: failureExitCode,