deepline 0.3.477 → 0.3.478

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 (165) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -4
  2. package/dist/bundling-sources/sdk/src/http-core.ts +84 -3
  3. package/dist/bundling-sources/sdk/src/http.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/play.ts +8 -2
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -2
  8. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +11 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +5 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +77 -4
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +83 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +7 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +60 -27
  14. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +13 -12
  15. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +5 -2
  16. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +37 -12
  17. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  18. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +29 -0
  19. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +15 -0
  20. package/dist/cli/{auth-XVXRRWIQ.mjs → auth-SA4DJCSO.mjs} +5 -5
  21. package/dist/cli/auth-U5SNVC5F.js +41 -0
  22. package/dist/cli/{billing-2H7GFJDT.js → billing-462SAHWX.js} +107 -87
  23. package/dist/cli/{billing-EOPUJ4JI.mjs → billing-Z4D35MV5.mjs} +34 -14
  24. package/dist/cli/{chunk-SG2SZQ4K.mjs → chunk-2FTUPGTN.mjs} +2 -2
  25. package/dist/cli/{chunk-NO7ZC2GV.mjs → chunk-2JS5DNVX.mjs} +5 -5
  26. package/dist/cli/{chunk-3UKKM6OS.js → chunk-2MSKG4ER.js} +7 -6
  27. package/dist/cli/{chunk-ISEUOYCB.mjs → chunk-3LTLQAU4.mjs} +4 -4
  28. package/dist/cli/{chunk-C2V2HQDW.mjs → chunk-3V7INABZ.mjs} +2 -2
  29. package/dist/cli/{chunk-C2AN2HTB.mjs → chunk-4C3TMIF3.mjs} +4 -4
  30. package/dist/cli/{chunk-2YNLW43I.mjs → chunk-4RJRGQ5Y.mjs} +2 -2
  31. package/dist/cli/{chunk-M2UL4ZS5.js → chunk-4RV7U3RP.js} +7 -7
  32. package/dist/cli/{chunk-PQQNMMWM.mjs → chunk-645RNF2Y.mjs} +1 -1
  33. package/dist/cli/{chunk-THMGJOR4.js → chunk-6EEMW7YP.js} +8 -8
  34. package/dist/cli/{chunk-YZA5UJXM.mjs → chunk-75DAGCEX.mjs} +1 -1
  35. package/dist/cli/{chunk-QODW5ILA.mjs → chunk-7HTWT3Z4.mjs} +2 -2
  36. package/dist/cli/chunk-7I4B6V2S.mjs +127 -0
  37. package/dist/cli/{chunk-MZSLFWOT.js → chunk-7UFFWPQ2.js} +13 -9
  38. package/dist/cli/{chunk-23EEVP5W.js → chunk-A5LPDB6N.js} +6 -6
  39. package/dist/cli/{chunk-NJMYX2TP.mjs → chunk-ABBP5ZCI.mjs} +3 -3
  40. package/dist/cli/{chunk-347EE4YE.js → chunk-AQYSZYNE.js} +8 -8
  41. package/dist/cli/{chunk-RGNMMDSJ.js → chunk-AYW242XF.js} +37 -37
  42. package/dist/cli/{chunk-6IJJCRE5.mjs → chunk-BLAZVZVD.mjs} +23 -5
  43. package/dist/cli/{chunk-ZDPL5AIK.js → chunk-D2LKEQKI.js} +5 -5
  44. package/dist/cli/{chunk-RLCAECZH.mjs → chunk-F2SJYUBW.mjs} +5 -5
  45. package/dist/cli/{chunk-XQLYPHYW.mjs → chunk-F44O4PEP.mjs} +1 -1
  46. package/dist/cli/{chunk-7CILZKLE.js → chunk-HMUBLAT4.js} +5 -5
  47. package/dist/cli/{chunk-UYA7LJGC.mjs → chunk-IL5AF6AR.mjs} +4 -2
  48. package/dist/cli/{chunk-4RAENEAX.js → chunk-IWYWZXCA.js} +53 -53
  49. package/dist/cli/{chunk-2QT6KN54.js → chunk-J3ZYRN5L.js} +10 -10
  50. package/dist/cli/{chunk-RHIFH3GD.mjs → chunk-JH775FF6.mjs} +1 -1
  51. package/dist/cli/{chunk-ACDXGOXE.js → chunk-KBBZXWXF.js} +63 -11
  52. package/dist/cli/{chunk-LJYTYNQZ.mjs → chunk-M5USVQ33.mjs} +55 -3
  53. package/dist/cli/{chunk-2GZFIWSA.mjs → chunk-N573OK4W.mjs} +4 -4
  54. package/dist/cli/{chunk-WFVEMDQL.js → chunk-OKAZHDYN.js} +4 -2
  55. package/dist/cli/{chunk-DFKHXZQ7.mjs → chunk-PHBOI24Y.mjs} +10 -10
  56. package/dist/cli/{chunk-WRHLAAGN.mjs → chunk-PLJV6SX4.mjs} +1 -1
  57. package/dist/cli/{chunk-C46DWB56.mjs → chunk-PPHHPAQV.mjs} +1 -1
  58. package/dist/cli/{chunk-UBNS6GSV.js → chunk-PZHRNSMU.js} +21 -21
  59. package/dist/cli/{chunk-KMXBZIKO.mjs → chunk-QB3Q73LP.mjs} +2 -2
  60. package/dist/cli/{chunk-255O6APS.js → chunk-QVZNUQAP.js} +2 -2
  61. package/dist/cli/{chunk-6KKDIISC.js → chunk-S3BKOCVB.js} +1 -1
  62. package/dist/cli/{chunk-JS4UO6G4.mjs → chunk-S7UEKKOX.mjs} +2 -1
  63. package/dist/cli/{chunk-KWQNNPMH.js → chunk-SCHE5QRN.js} +3 -3
  64. package/dist/cli/{chunk-E2CUSH56.js → chunk-SXY4DOVA.js} +16 -16
  65. package/dist/cli/{chunk-SVU2VR6Q.mjs → chunk-TLF3KGWG.mjs} +2 -2
  66. package/dist/cli/{chunk-LXKGZKTL.js → chunk-TQWI7LJX.js} +26 -26
  67. package/dist/cli/{chunk-NC52JG66.js → chunk-TW3TTKW5.js} +3 -3
  68. package/dist/cli/{chunk-R5FNCFEK.js → chunk-UXQVSDFP.js} +3 -3
  69. package/dist/cli/{chunk-DMWHEYZM.js → chunk-V7I65ME7.js} +2 -2
  70. package/dist/cli/{chunk-CH4VMDB5.js → chunk-VE25VUTE.js} +70 -52
  71. package/dist/cli/{chunk-3W6E3WVU.js → chunk-XFY3JOP2.js} +9 -9
  72. package/dist/cli/{chunk-75NLWBYQ.js → chunk-XOORR6P3.js} +93 -93
  73. package/dist/cli/chunk-YGCKMI5P.js +127 -0
  74. package/dist/cli/{chunk-3A7TDUZV.mjs → chunk-ZBSUXXZS.mjs} +13 -9
  75. package/dist/cli/{chunk-DS3DZUES.mjs → chunk-ZSU3C4ST.mjs} +2 -2
  76. package/dist/cli/command-docs.js +2 -2
  77. package/dist/cli/command-docs.mjs +1 -1
  78. package/dist/cli/{csv-IDRPTSSC.mjs → csv-3SNWBO5F.mjs} +4 -4
  79. package/dist/cli/{csv-ECB7TYR2.js → csv-LAYTDYIF.js} +13 -13
  80. package/dist/cli/{db-FOBZD44N.mjs → db-72JKGQSK.mjs} +6 -6
  81. package/dist/cli/{db-S74XZZ77.js → db-OOUOSURL.js} +27 -27
  82. package/dist/cli/describe-7HYV44MO.js +48 -0
  83. package/dist/cli/{describe-KMTPPI2J.mjs → describe-KDPNOEUJ.mjs} +17 -17
  84. package/dist/cli/describe-core.d.mts +3 -3
  85. package/dist/cli/describe-core.d.ts +3 -3
  86. package/dist/cli/{executions-4JAIVE2E.mjs → executions-O6JS3UKX.mjs} +6 -6
  87. package/dist/cli/{executions-ZE3JMNA4.js → executions-RJNMGJEE.js} +8 -8
  88. package/dist/cli/{feedback-W6VA47A3.js → feedback-FXB6NV3Y.js} +8 -8
  89. package/dist/cli/{feedback-EUX5PDBA.mjs → feedback-T3JH3CWC.mjs} +4 -4
  90. package/dist/cli/git-5LTKPXGN.js +25 -0
  91. package/dist/cli/{git-UOVG4PLH.mjs → git-6KAQSH5J.mjs} +5 -5
  92. package/dist/cli/index.js +161 -142
  93. package/dist/cli/index.mjs +65 -46
  94. package/dist/cli/{legacy-noops-ZBWUNFWV.mjs → legacy-noops-7HDGEGTK.mjs} +5 -5
  95. package/dist/cli/{legacy-noops-3H35EH5Y.js → legacy-noops-PAOGRKUK.js} +8 -8
  96. package/dist/cli/{monitors-PI3KPLR2.js → monitors-KQFI7TVJ.js} +91 -91
  97. package/dist/cli/{monitors-AYSGSUAK.mjs → monitors-LE2AYK3Z.mjs} +7 -7
  98. package/dist/cli/{org-MVS3Y6BK.js → org-J6XFHDJE.js} +72 -72
  99. package/dist/cli/{org-2BIG7U4V.mjs → org-Z4DMJ72I.mjs} +6 -6
  100. package/dist/cli/{pages-4TRRL24G.mjs → pages-5LYS6Y4I.mjs} +6 -6
  101. package/dist/cli/{pages-VB6FOVDE.js → pages-FIXBZQJG.js} +17 -17
  102. package/dist/cli/{play-BLT6IT2O.js → play-D7WPXADH.js} +585 -678
  103. package/dist/cli/{play-JR3VUOZM.mjs → play-GILXXIN7.mjs} +26 -119
  104. package/dist/cli/{providers-BBXIAGW4.js → providers-KN7YACT6.js} +9 -9
  105. package/dist/cli/{providers-547DPK4S.mjs → providers-OQWL4Q4W.mjs} +6 -6
  106. package/dist/cli/{quickstart-NTLXD7HS.mjs → quickstart-2LRIORFM.mjs} +4 -4
  107. package/dist/cli/{quickstart-RNPI5B6J.js → quickstart-M2OBP3W3.js} +6 -6
  108. package/dist/cli/{run-BCCEXBOG.js → run-6YZZO7VM.js} +36 -36
  109. package/dist/cli/{run-QZ4SFECD.mjs → run-GYRBKQZT.mjs} +22 -22
  110. package/dist/cli/search-OVKWA4AV.js +32 -0
  111. package/dist/cli/{search-PYNELH4C.mjs → search-VUPK6BNU.mjs} +7 -7
  112. package/dist/cli/{secrets-VD35LMYJ.js → secrets-RE3UMZB7.js} +15 -15
  113. package/dist/cli/{secrets-O5WGREQ7.mjs → secrets-ULRGU7NM.mjs} +6 -6
  114. package/dist/cli/{sessions-2TL6Z5J5.mjs → sessions-2ZZVJ3P2.mjs} +5 -5
  115. package/dist/cli/{sessions-NGGIBYXF.js → sessions-T4UMHNDW.js} +6 -6
  116. package/dist/cli/{settings-ERFNZRHO.js → settings-BRV6AYFM.js} +78 -78
  117. package/dist/cli/{settings-6KM74AJT.mjs → settings-PDY4TJU6.mjs} +11 -11
  118. package/dist/cli/{setup-Y3BN6XRS.mjs → setup-CXL6C5Z5.mjs} +9 -9
  119. package/dist/cli/{setup-6X7EJ6RG.js → setup-JONYJYBK.js} +44 -44
  120. package/dist/cli/{skills-OUBQASHI.mjs → skills-TOMVQD5O.mjs} +7 -7
  121. package/dist/cli/skills-UK5AK35I.js +33 -0
  122. package/dist/cli/{tools-EELZ5FF5.mjs → tools-B2LJK4MM.mjs} +16 -16
  123. package/dist/cli/tools-HH6E5G7J.js +55 -0
  124. package/dist/cli/{update-TX7SW32Y.mjs → update-CD6T2REC.mjs} +9 -9
  125. package/dist/cli/update-EGXT3EIJ.js +33 -0
  126. package/dist/cli/{workflow-5AI2BJA7.js → workflow-PZML43E2.js} +17 -17
  127. package/dist/cli/{workflow-PUNQG7LG.mjs → workflow-ZAOBP6I7.mjs} +7 -7
  128. package/dist/{client-AjmfA5nR.d.mts → client-B1s1yJdT.d.mts} +1 -1
  129. package/dist/{client-DMyY-QL8.d.ts → client-DqUseRzd.d.ts} +1 -1
  130. package/dist/{client-core-C705vFyV.d.ts → client-core-Bd7tP9Uz.d.ts} +45 -6
  131. package/dist/{client-core-CpBbvLEX.d.mts → client-core-BijQEQ70.d.mts} +45 -6
  132. package/dist/{compiler-manifest-hqIAukR0.d.mts → compiler-manifest-B1m5tRzz.d.mts} +23 -17
  133. package/dist/{compiler-manifest-hqIAukR0.d.ts → compiler-manifest-B1m5tRzz.d.ts} +23 -17
  134. package/dist/{errors-CRO2qQ6k.d.ts → errors-3g71OMXy.d.ts} +1 -1
  135. package/dist/{errors-DIHVetNY.d.mts → errors-QiC6am-q.d.mts} +1 -1
  136. package/dist/{index-DVZ_X4Gb.d.mts → index-Biz5toO4.d.mts} +1 -1
  137. package/dist/{index-B8DVoeYt.d.ts → index-CIBiwzhK.d.ts} +1 -1
  138. package/dist/index.d.mts +15 -9
  139. package/dist/index.d.ts +15 -9
  140. package/dist/index.js +9 -9
  141. package/dist/index.mjs +6 -6
  142. package/dist/install-integrity.json +112 -110
  143. package/dist/plays/bundle-play-file.d.mts +3 -3
  144. package/dist/plays/bundle-play-file.d.ts +3 -3
  145. package/dist/plays/bundle-play-file.mjs +2 -1
  146. package/dist/plays/play-description.d.mts +2 -2
  147. package/dist/plays/play-description.d.ts +2 -2
  148. package/dist/plays/run-request.d.mts +2 -2
  149. package/dist/plays/run-request.d.ts +2 -2
  150. package/dist/release.d.mts +1 -1
  151. package/dist/release.d.ts +1 -1
  152. package/dist/release.js +2 -2
  153. package/dist/release.mjs +1 -1
  154. package/dist/server.d.mts +4 -4
  155. package/dist/server.d.ts +4 -4
  156. package/dist/server.js +5 -5
  157. package/dist/server.mjs +3 -3
  158. package/package.json +1 -1
  159. package/dist/cli/auth-QITP34OX.js +0 -41
  160. package/dist/cli/describe-PI7HCT7K.js +0 -48
  161. package/dist/cli/git-NDOGCQZY.js +0 -25
  162. package/dist/cli/search-YHEICYQL.js +0 -32
  163. package/dist/cli/skills-F7MPYC4P.js +0 -33
  164. package/dist/cli/tools-MCWDAK53.js +0 -55
  165. package/dist/cli/update-G5BRJOVT.js +0 -33
@@ -7,20 +7,20 @@ import {
7
7
  maybeAutoUpdateAndRelaunch,
8
8
  runDeferredAutoUpdate,
9
9
  runToolExecuteStage
10
- } from "./chunk-RLCAECZH.mjs";
11
- import "./chunk-NO7ZC2GV.mjs";
12
- import "./chunk-RHIFH3GD.mjs";
13
- import "./chunk-ISEUOYCB.mjs";
10
+ } from "./chunk-F2SJYUBW.mjs";
11
+ import "./chunk-2JS5DNVX.mjs";
12
+ import "./chunk-JH775FF6.mjs";
13
+ import "./chunk-3LTLQAU4.mjs";
14
14
  import {
15
15
  usesInlinePlayAdmission
16
- } from "./chunk-2YNLW43I.mjs";
16
+ } from "./chunk-4RJRGQ5Y.mjs";
17
17
  import {
18
18
  isCliTraceEnabled,
19
19
  parseCliMaintenancePolicy,
20
20
  recordCliTrace,
21
21
  resolveCliMaintenancePolicy,
22
22
  traceCliSpan
23
- } from "./chunk-XQLYPHYW.mjs";
23
+ } from "./chunk-F44O4PEP.mjs";
24
24
  import {
25
25
  SDK_COMPATIBILITY_FAST_DEADLINE_MS,
26
26
  SKILLS_AUTO_SYNC_COMMAND,
@@ -38,15 +38,15 @@ import {
38
38
  resolveSdkCliFailureExitCode,
39
39
  sanitizeCommand,
40
40
  syncSdkSkillsIfNeeded
41
- } from "./chunk-C2AN2HTB.mjs";
41
+ } from "./chunk-4C3TMIF3.mjs";
42
42
  import {
43
43
  createCliProgress
44
- } from "./chunk-WRHLAAGN.mjs";
44
+ } from "./chunk-PLJV6SX4.mjs";
45
45
  import {
46
46
  commandDocKey,
47
47
  helpDetailFromArgv,
48
48
  renderCommandExplanation
49
- } from "./chunk-UYA7LJGC.mjs";
49
+ } from "./chunk-IL5AF6AR.mjs";
50
50
  import {
51
51
  addJsonNotice,
52
52
  errorToJsonPayload,
@@ -59,7 +59,7 @@ import {
59
59
  printJson,
60
60
  shouldEmitJson,
61
61
  takeSilentJsonFailureMessage
62
- } from "./chunk-QODW5ILA.mjs";
62
+ } from "./chunk-7HTWT3Z4.mjs";
63
63
  import {
64
64
  HttpClient,
65
65
  autoDetectBaseUrl,
@@ -67,17 +67,18 @@ import {
67
67
  resolveApiKeyForBaseUrl,
68
68
  resolveBaseUrlOnly,
69
69
  resolveConfig
70
- } from "./chunk-YZA5UJXM.mjs";
70
+ } from "./chunk-75DAGCEX.mjs";
71
71
  import {
72
72
  SDK_VERSION,
73
- agentSessionIdFromEnvironment
74
- } from "./chunk-LJYTYNQZ.mjs";
73
+ agentSessionIdFromEnvironment,
74
+ connectionFailureMessage
75
+ } from "./chunk-M5USVQ33.mjs";
75
76
  import {
76
77
  AuthError
77
78
  } from "./chunk-4QF2K7TM.mjs";
78
79
  import "./chunk-DLIRSHV6.mjs";
79
80
  import "./chunk-HBL4PM5Q.mjs";
80
- import "./chunk-PQQNMMWM.mjs";
81
+ import "./chunk-645RNF2Y.mjs";
81
82
  import "./chunk-WZYKRD7T.mjs";
82
83
  import "./chunk-KRD6H754.mjs";
83
84
 
@@ -142,56 +143,56 @@ import { Command as Command2 } from "commander";
142
143
  var COMMAND_GROUPS = [
143
144
  {
144
145
  names: ["auth"],
145
- load: async () => (await import("./auth-XVXRRWIQ.mjs")).registerAuthCommands
146
+ load: async () => (await import("./auth-SA4DJCSO.mjs")).registerAuthCommands
146
147
  },
147
148
  {
148
149
  names: ["providers"],
149
- load: async () => (await import("./providers-547DPK4S.mjs")).registerProviderCommands
150
+ load: async () => (await import("./providers-OQWL4Q4W.mjs")).registerProviderCommands
150
151
  },
151
152
  {
152
153
  names: ["search"],
153
- load: async () => (await import("./search-PYNELH4C.mjs")).registerSearchCommand
154
+ load: async () => (await import("./search-VUPK6BNU.mjs")).registerSearchCommand
154
155
  },
155
156
  {
156
157
  names: ["describe"],
157
- load: async () => (await import("./describe-KMTPPI2J.mjs")).registerDescribeCommand
158
+ load: async () => (await import("./describe-KDPNOEUJ.mjs")).registerDescribeCommand
158
159
  },
159
160
  {
160
161
  names: ["run"],
161
- load: async () => (await import("./run-QZ4SFECD.mjs")).registerRunCommand
162
+ load: async () => (await import("./run-GYRBKQZT.mjs")).registerRunCommand
162
163
  },
163
164
  {
164
165
  names: ["tools"],
165
- load: async () => (await import("./tools-EELZ5FF5.mjs")).registerToolsCommands
166
+ load: async () => (await import("./tools-B2LJK4MM.mjs")).registerToolsCommands
166
167
  },
167
168
  {
168
169
  names: ["executions"],
169
- load: async () => (await import("./executions-4JAIVE2E.mjs")).registerExecutionsCommands
170
+ load: async () => (await import("./executions-O6JS3UKX.mjs")).registerExecutionsCommands
170
171
  },
171
172
  {
172
173
  names: ["plays", "runs"],
173
- load: async () => (await import("./play-JR3VUOZM.mjs")).registerPlayCommands
174
+ load: async () => (await import("./play-GILXXIN7.mjs")).registerPlayCommands
174
175
  },
175
176
  {
176
177
  names: ["sessions"],
177
- load: async () => (await import("./sessions-2TL6Z5J5.mjs")).registerSessionsCommands
178
+ load: async () => (await import("./sessions-2ZZVJ3P2.mjs")).registerSessionsCommands
178
179
  },
179
180
  {
180
181
  names: ["workflows"],
181
- load: async () => (await import("./workflow-PUNQG7LG.mjs")).registerWorkflowCommands
182
+ load: async () => (await import("./workflow-ZAOBP6I7.mjs")).registerWorkflowCommands
182
183
  },
183
184
  {
184
185
  names: ["pages"],
185
- load: async () => (await import("./pages-4TRRL24G.mjs")).registerPagesCommands
186
+ load: async () => (await import("./pages-5LYS6Y4I.mjs")).registerPagesCommands
186
187
  },
187
188
  {
188
189
  names: ["secrets"],
189
- load: async () => (await import("./secrets-O5WGREQ7.mjs")).registerSecretsCommands
190
+ load: async () => (await import("./secrets-ULRGU7NM.mjs")).registerSecretsCommands
190
191
  },
191
192
  {
192
193
  names: ["settings", "notifications"],
193
194
  load: async () => {
194
- const commands = await import("./settings-6KM74AJT.mjs");
195
+ const commands = await import("./settings-PDY4TJU6.mjs");
195
196
  return (p) => {
196
197
  commands.registerSettingsCommands(p);
197
198
  commands.registerNotificationCommands(p);
@@ -200,51 +201,51 @@ var COMMAND_GROUPS = [
200
201
  },
201
202
  {
202
203
  names: ["billing"],
203
- load: async () => (await import("./billing-EOPUJ4JI.mjs")).registerBillingCommands
204
+ load: async () => (await import("./billing-Z4D35MV5.mjs")).registerBillingCommands
204
205
  },
205
206
  {
206
207
  names: ["monitors"],
207
- load: async () => (await import("./monitors-AYSGSUAK.mjs")).registerMonitorsCommands
208
+ load: async () => (await import("./monitors-LE2AYK3Z.mjs")).registerMonitorsCommands
208
209
  },
209
210
  {
210
211
  names: ["org"],
211
- load: async () => (await import("./org-2BIG7U4V.mjs")).registerOrgCommands
212
+ load: async () => (await import("./org-Z4DMJ72I.mjs")).registerOrgCommands
212
213
  },
213
214
  {
214
215
  names: ["git", "projects", "deployments"],
215
- load: async () => (await import("./git-UOVG4PLH.mjs")).registerGitCommands
216
+ load: async () => (await import("./git-6KAQSH5J.mjs")).registerGitCommands
216
217
  },
217
218
  {
218
219
  names: ["csv"],
219
- load: async () => (await import("./csv-IDRPTSSC.mjs")).registerCsvCommands
220
+ load: async () => (await import("./csv-3SNWBO5F.mjs")).registerCsvCommands
220
221
  },
221
222
  {
222
223
  names: ["db"],
223
- load: async () => (await import("./db-FOBZD44N.mjs")).registerDbCommands
224
+ load: async () => (await import("./db-72JKGQSK.mjs")).registerDbCommands
224
225
  },
225
226
  {
226
227
  names: ["feedback"],
227
- load: async () => (await import("./feedback-EUX5PDBA.mjs")).registerFeedbackCommands
228
+ load: async () => (await import("./feedback-T3JH3CWC.mjs")).registerFeedbackCommands
228
229
  },
229
230
  {
230
231
  names: ["enrich", "session", "backend"],
231
- load: async () => (await import("./legacy-noops-ZBWUNFWV.mjs")).registerDeprecatedCommands
232
+ load: async () => (await import("./legacy-noops-7HDGEGTK.mjs")).registerDeprecatedCommands
232
233
  },
233
234
  {
234
235
  names: ["update"],
235
- load: async () => (await import("./update-TX7SW32Y.mjs")).registerUpdateCommand
236
+ load: async () => (await import("./update-CD6T2REC.mjs")).registerUpdateCommand
236
237
  },
237
238
  {
238
239
  names: ["skills", "skills-auto-sync"],
239
- load: async () => (await import("./skills-OUBQASHI.mjs")).registerSkillsCommand
240
+ load: async () => (await import("./skills-TOMVQD5O.mjs")).registerSkillsCommand
240
241
  },
241
242
  {
242
243
  names: ["setup", "doctor"],
243
- load: async () => (await import("./setup-Y3BN6XRS.mjs")).registerSetupCommands
244
+ load: async () => (await import("./setup-CXL6C5Z5.mjs")).registerSetupCommands
244
245
  },
245
246
  {
246
247
  names: ["quickstart"],
247
- load: async () => (await import("./quickstart-NTLXD7HS.mjs")).registerQuickstartCommands
248
+ load: async () => (await import("./quickstart-2LRIORFM.mjs")).registerQuickstartCommands
248
249
  }
249
250
  ];
250
251
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -608,7 +609,7 @@ async function runPlayRunnerHealthCheck() {
608
609
  });
609
610
  let exitCode = 1;
610
611
  try {
611
- const { handlePlayRun } = await import("./play-JR3VUOZM.mjs");
612
+ const { handlePlayRun } = await import("./play-GILXXIN7.mjs");
612
613
  exitCode = await handlePlayRun([
613
614
  file,
614
615
  "--input",
@@ -662,7 +663,14 @@ async function runPreflightCheck() {
662
663
  status: response.ok ? pickString(payload, "status") ?? "ok" : "unreachable",
663
664
  version: pickString(payload, "version")
664
665
  };
665
- }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
666
+ }).catch((error) => ({
667
+ status: "unreachable",
668
+ version: null,
669
+ error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : connectionFailureMessage(
670
+ baseUrl,
671
+ error instanceof Error ? error : new Error(String(error))
672
+ )
673
+ })).finally(() => clearTimeout(healthTimeout));
666
674
  const apiKey = resolveApiKeyForBaseUrl(baseUrl);
667
675
  const http = apiKey ? new HttpClient(
668
676
  resolveConfig({
@@ -714,7 +722,8 @@ async function runPreflightCheck() {
714
722
  host: baseUrl,
715
723
  health: {
716
724
  status: healthResult.status,
717
- version: healthResult.version ?? null
725
+ version: healthResult.version ?? null,
726
+ ..."error" in healthResult ? { error: healthResult.error } : {}
718
727
  },
719
728
  auth: {
720
729
  status: authStatus,
@@ -739,9 +748,11 @@ async function runPreflightCheck() {
739
748
  `cli: ${SDK_VERSION}`,
740
749
  `host: ${baseUrl}`,
741
750
  `health: ${healthResult.status}`,
751
+ ..."error" in healthResult ? [` ${healthResult.error}`] : [],
742
752
  `auth: ${authStatus}`,
743
753
  `billing: ${balanceDisplay} (${balanceStatus})`,
744
- ...connected ? [] : [`next: ${AUTH_RECOVERY_COMMAND}`]
754
+ // Registering cannot fix a host this machine cannot reach.
755
+ ...connected || healthResult.status !== "ok" ? [] : [`next: ${AUTH_RECOVERY_COMMAND}`]
745
756
  ]
746
757
  }
747
758
  ]
@@ -1018,6 +1029,7 @@ Notes:
1018
1029
  Read-only setup check for the configured Deepline host. Shows the CLI version,
1019
1030
  server health, auth connection, and customer-visible Deepline balance in one
1020
1031
  compact command. When auth is missing it prints the command that connects it.
1032
+ Exits 4 when the host is unreachable.
1021
1033
 
1022
1034
  Examples:
1023
1035
  deepline preflight
@@ -1030,6 +1042,9 @@ Examples:
1030
1042
  } else {
1031
1043
  printPreflightHuman(data);
1032
1044
  }
1045
+ if (data.health.status === "unreachable") {
1046
+ process.exitCode = 4;
1047
+ }
1033
1048
  });
1034
1049
  health.addHelpText(
1035
1050
  "after",
@@ -1056,7 +1071,7 @@ Examples:
1056
1071
  return;
1057
1072
  }
1058
1073
  try {
1059
- const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-XVXRRWIQ.mjs");
1074
+ const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-SA4DJCSO.mjs");
1060
1075
  const baseUrl = resolveBaseUrlOnly();
1061
1076
  const [{ status, data }, banner] = await Promise.all([
1062
1077
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
@@ -1144,7 +1159,7 @@ Examples:
1144
1159
  const helpArgs = process.argv.slice(2);
1145
1160
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1146
1161
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1147
- const { authStatusLine } = await import("./auth-XVXRRWIQ.mjs");
1162
+ const { authStatusLine } = await import("./auth-SA4DJCSO.mjs");
1148
1163
  rootHelpStatus = `Version: ${SDK_VERSION}
1149
1164
  ${await authStatusLine()}
1150
1165
  `;
@@ -1217,8 +1232,12 @@ ${await authStatusLine()}
1217
1232
  message: providerConcurrency
1218
1233
  });
1219
1234
  }
1235
+ const payload = errorToJsonPayload(error);
1220
1236
  printJson({
1221
- ...errorToJsonPayload(error),
1237
+ ...payload,
1238
+ // The envelope names the code the process exits with, so a caller
1239
+ // that only reads stdout still cannot mistake a failure for data.
1240
+ exitCode: payload.exitCode ?? resolveSdkCliFailureExitCode(error),
1222
1241
  ...error instanceof AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1223
1242
  });
1224
1243
  } else if (error instanceof Error) {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  registerSessionSendRenderCommands
3
- } from "./chunk-DS3DZUES.mjs";
3
+ } from "./chunk-ZSU3C4ST.mjs";
4
4
  import {
5
5
  ENRICH_COMMAND_DEPRECATION_MESSAGE
6
6
  } from "./chunk-ITOFSXIU.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-QODW5ILA.mjs";
10
- import "./chunk-YZA5UJXM.mjs";
11
- import "./chunk-LJYTYNQZ.mjs";
9
+ } from "./chunk-7HTWT3Z4.mjs";
10
+ import "./chunk-75DAGCEX.mjs";
11
+ import "./chunk-M5USVQ33.mjs";
12
12
  import "./chunk-4QF2K7TM.mjs";
13
13
  import "./chunk-DLIRSHV6.mjs";
14
14
  import "./chunk-HBL4PM5Q.mjs";
15
- import "./chunk-PQQNMMWM.mjs";
15
+ import "./chunk-645RNF2Y.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
 
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk347EE4YEjs = require('./chunk-347EE4YE.js');
3
+ var _chunkAQYSZYNEjs = require('./chunk-AQYSZYNE.js');
4
4
 
5
5
 
6
6
  var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
7
7
 
8
8
 
9
- var _chunkM2UL4ZS5js = require('./chunk-M2UL4ZS5.js');
10
- require('./chunk-NC52JG66.js');
11
- require('./chunk-ACDXGOXE.js');
9
+ var _chunk4RV7U3RPjs = require('./chunk-4RV7U3RP.js');
10
+ require('./chunk-TW3TTKW5.js');
11
+ require('./chunk-KBBZXWXF.js');
12
12
  require('./chunk-ALJJRZNJ.js');
13
13
  require('./chunk-XNYIZMNQ.js');
14
14
  require('./chunk-DIAWYWT5.js');
15
- require('./chunk-6KKDIISC.js');
15
+ require('./chunk-S3BKOCVB.js');
16
16
  require('./chunk-OG64RBAC.js');
17
17
  require('./chunk-COGTRVWW.js');
18
18
 
@@ -53,7 +53,7 @@ function deprecatedCommandEnvelope(input) {
53
53
  };
54
54
  }
55
55
  function printDeprecatedCommand(input) {
56
- _chunkM2UL4ZS5js.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
56
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
57
57
  json: input.options.json
58
58
  });
59
59
  process.exitCode = 2;
@@ -73,7 +73,7 @@ function registerDeprecatedCommands(program) {
73
73
  program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
74
74
  ${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
75
75
  `).action((_args, options) => {
76
- _chunkM2UL4ZS5js.printCommandEnvelope.call(void 0,
76
+ _chunk4RV7U3RPjs.printCommandEnvelope.call(void 0,
77
77
  {
78
78
  ok: false,
79
79
  command: "deepline enrich",
@@ -116,7 +116,7 @@ Examples:
116
116
  options
117
117
  });
118
118
  });
119
- _chunk347EE4YEjs.registerSessionSendRenderCommands.call(void 0, session, "session");
119
+ _chunkAQYSZYNEjs.registerSessionSendRenderCommands.call(void 0, session, "session");
120
120
  for (const subcommand of SESSION_SUBCOMMANDS) {
121
121
  addDeprecatedSubcommand(
122
122
  session,