deepline 0.3.408 → 0.3.409

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 (107) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +6 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/cli/{auth-UVD3CUBB.mjs → auth-5HIIACF7.mjs} +4 -4
  4. package/dist/cli/auth-F6BX32XZ.js +40 -0
  5. package/dist/cli/{billing-BZVYAF6T.js → billing-4275N7FL.js} +73 -73
  6. package/dist/cli/{billing-BZVTXXLM.mjs → billing-EVZ3ZWKC.mjs} +4 -4
  7. package/dist/cli/{chunk-WPAB4DCU.mjs → chunk-264PC2RN.mjs} +1 -1
  8. package/dist/cli/{chunk-RWCY6YI2.js → chunk-2GI3QD3L.js} +53 -53
  9. package/dist/cli/{chunk-SD7MXAJA.mjs → chunk-2PRO2JTX.mjs} +1 -1
  10. package/dist/cli/{chunk-67RWR34T.mjs → chunk-44ZTYHMQ.mjs} +1 -1
  11. package/dist/cli/{chunk-Q3LFI3VH.js → chunk-53HN7WZN.js} +8 -8
  12. package/dist/cli/{chunk-J5PTX66Y.js → chunk-5MLCBXXU.js} +8 -1
  13. package/dist/cli/{chunk-YMOFWHGO.mjs → chunk-7AALNGTA.mjs} +3 -3
  14. package/dist/cli/{chunk-OSFWFV72.js → chunk-ALD4COBH.js} +3 -3
  15. package/dist/cli/{chunk-3ZB6IIA7.js → chunk-AU4OFDFX.js} +26 -26
  16. package/dist/cli/{chunk-XXLXOUUU.mjs → chunk-BEVLCKXG.mjs} +1 -1
  17. package/dist/cli/{chunk-D6FFBSM5.js → chunk-DEC3JECC.js} +1 -1
  18. package/dist/cli/{chunk-IWBXJDZA.mjs → chunk-FHPCKULR.mjs} +2 -2
  19. package/dist/cli/{chunk-QUAQX3FQ.js → chunk-FJCIUF34.js} +4 -4
  20. package/dist/cli/{chunk-4RNDKFNQ.js → chunk-GAICVLKL.js} +2 -2
  21. package/dist/cli/{chunk-MJELBQBU.mjs → chunk-IT3XBJQR.mjs} +4 -4
  22. package/dist/cli/{chunk-SJVVBWRL.mjs → chunk-J6DCKJNM.mjs} +1 -1
  23. package/dist/cli/{chunk-E3PJF6YP.js → chunk-JGHG4NBA.js} +2 -2
  24. package/dist/cli/{chunk-4CFULMRB.mjs → chunk-JRAVVJ3T.mjs} +1 -1
  25. package/dist/cli/{chunk-PYZZMAJQ.mjs → chunk-LFSHGNT2.mjs} +8 -1
  26. package/dist/cli/{chunk-IOHRWLQE.mjs → chunk-N44JHMKY.mjs} +6 -6
  27. package/dist/cli/{chunk-URACNNLO.mjs → chunk-NZSF57UO.mjs} +2 -2
  28. package/dist/cli/{chunk-BRJUESQV.js → chunk-O3VSXP2F.js} +50 -50
  29. package/dist/cli/{chunk-LOYISF7S.mjs → chunk-PBZYY7VZ.mjs} +5 -2
  30. package/dist/cli/{chunk-ECVLPS67.js → chunk-RTCDW2GU.js} +15 -15
  31. package/dist/cli/{chunk-WTT6CLED.mjs → chunk-TQNHMWUR.mjs} +1 -1
  32. package/dist/cli/{chunk-AUMD2VXP.js → chunk-V76R6HMV.js} +10 -7
  33. package/dist/cli/{chunk-4QFT5LGV.mjs → chunk-VWBTTJYQ.mjs} +2 -2
  34. package/dist/cli/{chunk-ZBABPK6Y.js → chunk-WHG43Z67.js} +8 -8
  35. package/dist/cli/{chunk-2XXXFPTD.js → chunk-WLOCMJWV.js} +67 -67
  36. package/dist/cli/{chunk-HQY2SG3K.js → chunk-WNUR6VP5.js} +2 -2
  37. package/dist/cli/{chunk-I3DHIXVJ.mjs → chunk-WYQO2CBS.mjs} +4 -4
  38. package/dist/cli/{chunk-Q3PUHXOY.js → chunk-YD7B53RW.js} +6 -6
  39. package/dist/cli/command-docs.js +2 -2
  40. package/dist/cli/command-docs.mjs +1 -1
  41. package/dist/cli/{csv-WPSXG6ZZ.mjs → csv-A2MP6EFV.mjs} +3 -3
  42. package/dist/cli/{csv-XLGLHJ6P.js → csv-BBOTCGQY.js} +12 -12
  43. package/dist/cli/{db-ABS57ABJ.mjs → db-3W5DMTUX.mjs} +4 -4
  44. package/dist/cli/{db-5PTNJG4X.js → db-G4CODDCA.js} +25 -25
  45. package/dist/cli/{describe-EZS6PQXA.js → describe-PQTQ5B6F.js} +11 -11
  46. package/dist/cli/{describe-PVWQJ2PB.mjs → describe-XYJ2ZT4M.mjs} +7 -7
  47. package/dist/cli/describe-core.d.mts +1 -1
  48. package/dist/cli/describe-core.d.ts +1 -1
  49. package/dist/cli/{executions-FNTAFQ7Y.js → executions-TLANVR7Y.js} +6 -6
  50. package/dist/cli/{executions-OKJGATQZ.mjs → executions-UR67CA5H.mjs} +4 -4
  51. package/dist/cli/{feedback-6YBOMSUA.js → feedback-6C2YTRJL.js} +7 -7
  52. package/dist/cli/{feedback-W27HDMRR.mjs → feedback-WHCMGEIL.mjs} +3 -3
  53. package/dist/cli/{git-YOOUEL6M.mjs → git-GWLB6VSA.mjs} +4 -4
  54. package/dist/cli/git-VQFF6D7C.js +24 -0
  55. package/dist/cli/index.js +124 -124
  56. package/dist/cli/index.mjs +36 -36
  57. package/dist/cli/{legacy-noops-V6OKW7VR.mjs → legacy-noops-KF4XIFEF.mjs} +4 -4
  58. package/dist/cli/{legacy-noops-2VZ7XT6C.js → legacy-noops-ZUFA7RWI.js} +7 -7
  59. package/dist/cli/{monitors-P2YYWTWT.mjs → monitors-6UOIDIMB.mjs} +4 -4
  60. package/dist/cli/{monitors-FBWGVIUS.js → monitors-TB3K2IVE.js} +84 -84
  61. package/dist/cli/{org-3XUSVX5T.js → org-CKWMBPIR.js} +64 -64
  62. package/dist/cli/{org-DVMG6H3C.mjs → org-WGHHMVDZ.mjs} +4 -4
  63. package/dist/cli/{play-GNC5CQAS.mjs → play-LYPAXCLD.mjs} +9 -9
  64. package/dist/cli/{play-YG5L4BWQ.js → play-N2B3KAVS.js} +266 -266
  65. package/dist/cli/{providers-JR33SLWL.mjs → providers-6DI5BVZJ.mjs} +4 -4
  66. package/dist/cli/{providers-7PSWG2OV.js → providers-UR42MD6Z.js} +7 -7
  67. package/dist/cli/{quickstart-FDVZ5BL3.js → quickstart-FCJG4XGB.js} +5 -5
  68. package/dist/cli/{quickstart-VUOBQYIQ.mjs → quickstart-MNA2S6PO.mjs} +3 -3
  69. package/dist/cli/search-NCEEONMQ.js +30 -0
  70. package/dist/cli/{search-JZYLO33K.mjs → search-VPPYUJ2M.mjs} +5 -5
  71. package/dist/cli/{secrets-3MCYBT4I.mjs → secrets-DRI4W7Z5.mjs} +4 -4
  72. package/dist/cli/{secrets-VS266FVA.js → secrets-QOSMVO36.js} +13 -13
  73. package/dist/cli/{sessions-TEHEWW7O.js → sessions-3WYKQABW.js} +5 -5
  74. package/dist/cli/{sessions-ELLLT23E.mjs → sessions-DQNUKP43.mjs} +4 -4
  75. package/dist/cli/{settings-PZCKAFII.mjs → settings-DWDK3Y2R.mjs} +8 -8
  76. package/dist/cli/{settings-7364NMMA.js → settings-JUGGCOPS.js} +75 -75
  77. package/dist/cli/{setup-PMWYLCT6.js → setup-AWBHNYXK.js} +42 -42
  78. package/dist/cli/{setup-A7GQ4KIA.mjs → setup-D5DWVNY4.mjs} +7 -7
  79. package/dist/cli/skills-AKPAJVSO.js +29 -0
  80. package/dist/cli/{skills-WS6BIFPQ.mjs → skills-YV2XR35J.mjs} +5 -5
  81. package/dist/cli/{tools-KK4BKVQR.js → tools-RBKEK6PM.js} +8 -8
  82. package/dist/cli/{tools-BR4DOZA2.mjs → tools-VFJYHNV2.mjs} +7 -7
  83. package/dist/cli/{update-D2B7UNFT.mjs → update-IM6VOTGL.mjs} +7 -7
  84. package/dist/cli/update-VFNUBLDA.js +29 -0
  85. package/dist/cli/{workflow-PQXC2R47.mjs → workflow-26URBWPV.mjs} +5 -5
  86. package/dist/cli/{workflow-6ODTCYXU.js → workflow-3BS6U6SL.js} +15 -15
  87. package/dist/{client-BcvhDfJJ.d.ts → client-BMjJFpan.d.ts} +2 -0
  88. package/dist/{client-Z9Pye1Wm.d.mts → client-BfInrZPB.d.mts} +2 -0
  89. package/dist/index.d.mts +2 -2
  90. package/dist/index.d.ts +2 -2
  91. package/dist/index.js +6 -6
  92. package/dist/index.mjs +3 -3
  93. package/dist/install-integrity.json +80 -80
  94. package/dist/plays/play-description.d.mts +1 -1
  95. package/dist/plays/play-description.d.ts +1 -1
  96. package/dist/plays/run-request.d.mts +1 -1
  97. package/dist/plays/run-request.d.ts +1 -1
  98. package/dist/release.d.mts +1 -1
  99. package/dist/release.d.ts +1 -1
  100. package/dist/release.js +2 -2
  101. package/dist/release.mjs +1 -1
  102. package/package.json +1 -1
  103. package/dist/cli/auth-3GB2K636.js +0 -40
  104. package/dist/cli/git-YKUXXJOR.js +0 -24
  105. package/dist/cli/search-PPPYC5OZ.js +0 -30
  106. package/dist/cli/skills-SYS7VRRK.js +0 -29
  107. package/dist/cli/update-2IV5JTX2.js +0 -29
package/dist/cli/index.js CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkECVLPS67js = require('./chunk-ECVLPS67.js');
8
- require('./chunk-4RNDKFNQ.js');
7
+ var _chunkRTCDW2GUjs = require('./chunk-RTCDW2GU.js');
8
+ require('./chunk-GAICVLKL.js');
9
9
 
10
10
 
11
11
 
@@ -22,20 +22,20 @@ require('./chunk-4RNDKFNQ.js');
22
22
 
23
23
 
24
24
 
25
- var _chunk2XXXFPTDjs = require('./chunk-2XXXFPTD.js');
25
+ var _chunkWLOCMJWVjs = require('./chunk-WLOCMJWV.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
- var _chunkHQY2SG3Kjs = require('./chunk-HQY2SG3K.js');
31
+ var _chunkWNUR6VP5js = require('./chunk-WNUR6VP5.js');
32
32
 
33
33
 
34
34
 
35
- var _chunkE3PJF6YPjs = require('./chunk-E3PJF6YP.js');
35
+ var _chunkJGHG4NBAjs = require('./chunk-JGHG4NBA.js');
36
36
 
37
37
 
38
- var _chunkOSFWFV72js = require('./chunk-OSFWFV72.js');
38
+ var _chunkALD4COBHjs = require('./chunk-ALD4COBH.js');
39
39
 
40
40
 
41
41
 
@@ -48,7 +48,7 @@ var _chunkOSFWFV72js = require('./chunk-OSFWFV72.js');
48
48
 
49
49
 
50
50
 
51
- var _chunkQ3PUHXOYjs = require('./chunk-Q3PUHXOY.js');
51
+ var _chunkYD7B53RWjs = require('./chunk-YD7B53RW.js');
52
52
 
53
53
 
54
54
 
@@ -58,19 +58,19 @@ var _chunkQ3PUHXOYjs = require('./chunk-Q3PUHXOY.js');
58
58
 
59
59
 
60
60
 
61
- var _chunkQUAQX3FQjs = require('./chunk-QUAQX3FQ.js');
61
+ var _chunkFJCIUF34js = require('./chunk-FJCIUF34.js');
62
62
 
63
63
 
64
64
  var _chunkQ2E4E4FJjs = require('./chunk-Q2E4E4FJ.js');
65
65
  require('./chunk-XNYIZMNQ.js');
66
66
  require('./chunk-7P5AA3SN.js');
67
- require('./chunk-D6FFBSM5.js');
67
+ require('./chunk-DEC3JECC.js');
68
68
  require('./chunk-OG64RBAC.js');
69
69
 
70
70
 
71
71
 
72
72
 
73
- var _chunkJ5PTX66Yjs = require('./chunk-J5PTX66Y.js');
73
+ var _chunk5MLCBXXUjs = require('./chunk-5MLCBXXU.js');
74
74
  require('./chunk-COGTRVWW.js');
75
75
 
76
76
  // src/cli/command-invocation.ts
@@ -134,48 +134,48 @@ var _os = require('os');
134
134
  var COMMAND_GROUPS = [
135
135
  {
136
136
  names: ["auth"],
137
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-3GB2K636.js")))).registerAuthCommands
137
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-F6BX32XZ.js")))).registerAuthCommands
138
138
  },
139
139
  {
140
140
  names: ["providers"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-7PSWG2OV.js")))).registerProviderCommands
141
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-UR42MD6Z.js")))).registerProviderCommands
142
142
  },
143
143
  {
144
144
  names: ["search"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-PPPYC5OZ.js")))).registerSearchCommand
145
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-NCEEONMQ.js")))).registerSearchCommand
146
146
  },
147
147
  {
148
148
  names: ["describe"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-EZS6PQXA.js")))).registerDescribeCommand
149
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-PQTQ5B6F.js")))).registerDescribeCommand
150
150
  },
151
151
  {
152
152
  names: ["tools"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KK4BKVQR.js")))).registerToolsCommands
153
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-RBKEK6PM.js")))).registerToolsCommands
154
154
  },
155
155
  {
156
156
  names: ["executions"],
157
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-FNTAFQ7Y.js")))).registerExecutionsCommands
157
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-TLANVR7Y.js")))).registerExecutionsCommands
158
158
  },
159
159
  {
160
160
  names: ["plays", "runs"],
161
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YG5L4BWQ.js")))).registerPlayCommands
161
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-N2B3KAVS.js")))).registerPlayCommands
162
162
  },
163
163
  {
164
164
  names: ["sessions"],
165
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-TEHEWW7O.js")))).registerSessionsCommands
165
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-3WYKQABW.js")))).registerSessionsCommands
166
166
  },
167
167
  {
168
168
  names: ["workflows"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-6ODTCYXU.js")))).registerWorkflowCommands
169
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-3BS6U6SL.js")))).registerWorkflowCommands
170
170
  },
171
171
  {
172
172
  names: ["secrets"],
173
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-VS266FVA.js")))).registerSecretsCommands
173
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-QOSMVO36.js")))).registerSecretsCommands
174
174
  },
175
175
  {
176
176
  names: ["settings", "notifications"],
177
177
  load: async () => {
178
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-7364NMMA.js")));
178
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-JUGGCOPS.js")));
179
179
  return (p) => {
180
180
  commands.registerSettingsCommands(p);
181
181
  commands.registerNotificationCommands(p);
@@ -184,51 +184,51 @@ var COMMAND_GROUPS = [
184
184
  },
185
185
  {
186
186
  names: ["billing"],
187
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-BZVYAF6T.js")))).registerBillingCommands
187
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-4275N7FL.js")))).registerBillingCommands
188
188
  },
189
189
  {
190
190
  names: ["monitors"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-FBWGVIUS.js")))).registerMonitorsCommands
191
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-TB3K2IVE.js")))).registerMonitorsCommands
192
192
  },
193
193
  {
194
194
  names: ["org"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-3XUSVX5T.js")))).registerOrgCommands
195
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-CKWMBPIR.js")))).registerOrgCommands
196
196
  },
197
197
  {
198
198
  names: ["git", "projects", "deployments"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-YKUXXJOR.js")))).registerGitCommands
199
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-VQFF6D7C.js")))).registerGitCommands
200
200
  },
201
201
  {
202
202
  names: ["csv"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-XLGLHJ6P.js")))).registerCsvCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-BBOTCGQY.js")))).registerCsvCommands
204
204
  },
205
205
  {
206
206
  names: ["db"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-5PTNJG4X.js")))).registerDbCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-G4CODDCA.js")))).registerDbCommands
208
208
  },
209
209
  {
210
210
  names: ["feedback"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-6YBOMSUA.js")))).registerFeedbackCommands
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-6C2YTRJL.js")))).registerFeedbackCommands
212
212
  },
213
213
  {
214
214
  names: ["enrich", "session", "backend"],
215
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-2VZ7XT6C.js")))).registerDeprecatedCommands
215
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-ZUFA7RWI.js")))).registerDeprecatedCommands
216
216
  },
217
217
  {
218
218
  names: ["update"],
219
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-2IV5JTX2.js")))).registerUpdateCommand
219
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-VFNUBLDA.js")))).registerUpdateCommand
220
220
  },
221
221
  {
222
222
  names: ["skills", "skills-auto-sync"],
223
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-SYS7VRRK.js")))).registerSkillsCommand
223
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-AKPAJVSO.js")))).registerSkillsCommand
224
224
  },
225
225
  {
226
226
  names: ["setup", "doctor"],
227
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-PMWYLCT6.js")))).registerSetupCommands
227
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-AWBHNYXK.js")))).registerSetupCommands
228
228
  },
229
229
  {
230
230
  names: ["quickstart"],
231
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-FDVZ5BL3.js")))).registerQuickstartCommands
231
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-FCJG4XGB.js")))).registerQuickstartCommands
232
232
  }
233
233
  ];
234
234
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -265,8 +265,8 @@ var MAX_SESSIONS = 20;
265
265
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
266
266
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
267
267
  }
268
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkQUAQX3FQjs.agentSessionIdFromEnvironment.call(void 0, )) {
269
- const explicit = _chunkJ5PTX66Yjs.helpDetailFromArgv.call(void 0, argv);
268
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkFJCIUF34js.agentSessionIdFromEnvironment.call(void 0, )) {
269
+ const explicit = _chunk5MLCBXXUjs.helpDetailFromArgv.call(void 0, argv);
270
270
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
271
271
  if (!sessionId) return { detail: explicit, firstRead: false };
272
272
  const path = helpSeenPath(homeDir);
@@ -347,7 +347,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
347
347
  async function reportAutoUpdateEvent(input) {
348
348
  let apiKey = "";
349
349
  try {
350
- apiKey = _chunkQUAQX3FQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
350
+ apiKey = _chunkFJCIUF34js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
351
351
  } catch (e2) {
352
352
  return;
353
353
  }
@@ -363,15 +363,15 @@ async function reportAutoUpdateEvent(input) {
363
363
  headers: {
364
364
  Authorization: `Bearer ${apiKey}`,
365
365
  "Content-Type": "application/json",
366
- "User-Agent": `deepline-ts-sdk/${_chunkQUAQX3FQjs.SDK_VERSION}`,
366
+ "User-Agent": `deepline-ts-sdk/${_chunkFJCIUF34js.SDK_VERSION}`,
367
367
  "X-Deepline-Client-Family": "sdk",
368
368
  "X-Deepline-CLI-Family": "sdk",
369
- "X-Deepline-CLI-Version": _chunkQUAQX3FQjs.SDK_VERSION,
370
- "X-Deepline-SDK-Version": _chunkQUAQX3FQjs.SDK_VERSION
369
+ "X-Deepline-CLI-Version": _chunkFJCIUF34js.SDK_VERSION,
370
+ "X-Deepline-SDK-Version": _chunkFJCIUF34js.SDK_VERSION
371
371
  },
372
372
  body: JSON.stringify({
373
373
  event: input.event,
374
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkQUAQX3FQjs.SDK_VERSION,
374
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkFJCIUF34js.SDK_VERSION,
375
375
  target_version: input.response.latest,
376
376
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
377
377
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -390,7 +390,7 @@ function envTruthy(name) {
390
390
  return value === "1" || value === "true" || value === "yes";
391
391
  }
392
392
  function shouldSkipSelfUpdate(policy) {
393
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkECVLPS67js.shouldRunCliAutoUpdate.call(void 0, ) || _chunk2XXXFPTDjs.isCiEnvironment.call(void 0, );
393
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkRTCDW2GUjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkWLOCMJWVjs.isCiEnvironment.call(void 0, );
394
394
  }
395
395
  function parseSemver(version) {
396
396
  const trimmed = _optionalChain([version, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]);
@@ -420,7 +420,7 @@ function compareSemver(left, right) {
420
420
  }
421
421
  function isDowngradeAutoUpdateResponse(response) {
422
422
  const target = _optionalChain([response, 'optionalAccess', _19 => _19.latest, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
423
- const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkQUAQX3FQjs.SDK_VERSION;
423
+ const current = _optionalChain([response, 'optionalAccess', _22 => _22.current, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkFJCIUF34js.SDK_VERSION;
424
424
  if (!target) return false;
425
425
  return compareSemver(target, current) < 0;
426
426
  }
@@ -459,7 +459,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
459
459
  }
460
460
  if (isDowngradeAutoUpdateResponse(response)) {
461
461
  const target = response.latest;
462
- const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkQUAQX3FQjs.SDK_VERSION;
462
+ const current = _optionalChain([response, 'access', _27 => _27.current, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()]) || _chunkFJCIUF34js.SDK_VERSION;
463
463
  process.stderr.write(
464
464
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
465
465
  `
@@ -467,12 +467,12 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
467
467
  return false;
468
468
  }
469
469
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
470
- const plan = _chunkECVLPS67js.resolveUpdatePlan.call(void 0, {
470
+ const plan = _chunkRTCDW2GUjs.resolveUpdatePlan.call(void 0, {
471
471
  packageSpec,
472
472
  requireVerifiedNpmOwnership: true,
473
473
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
474
474
  });
475
- if (!_chunkECVLPS67js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
475
+ if (!_chunkRTCDW2GUjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
476
476
  return false;
477
477
  }
478
478
  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";
@@ -486,7 +486,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
486
486
  event: "started",
487
487
  installKind: plan.kind
488
488
  });
489
- const updateResult = await _chunkECVLPS67js.runAutomaticUpdatePlan.call(void 0, plan);
489
+ const updateResult = await _chunkRTCDW2GUjs.runAutomaticUpdatePlan.call(void 0, plan);
490
490
  if (updateResult.status === "skipped_previous_failure") {
491
491
  void reportAutoUpdateEvent({
492
492
  baseUrl,
@@ -578,7 +578,7 @@ function shouldReport(stdout, stderr) {
578
578
  }
579
579
  function toolName(action) {
580
580
  const [toolId] = _optionalChain([action, 'optionalAccess', _30 => _30.path]) === "tools execute" ? action.args : [];
581
- return typeof toolId === "string" ? _chunk2XXXFPTDjs.redactFailureText.call(void 0, toolId) : null;
581
+ return typeof toolId === "string" ? _chunkWLOCMJWVjs.redactFailureText.call(void 0, toolId) : null;
582
582
  }
583
583
  function chunkText(chunk) {
584
584
  if (typeof chunk === "string") return chunk;
@@ -609,14 +609,14 @@ function watch(stream) {
609
609
  }
610
610
  async function postCommandOutput(body) {
611
611
  try {
612
- const baseUrl = _chunkQUAQX3FQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
613
- const apiKey = _chunkQUAQX3FQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
612
+ const baseUrl = _chunkFJCIUF34js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
613
+ const apiKey = _chunkFJCIUF34js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
614
614
  if (!apiKey) return;
615
- const agentSessionId = _chunkQUAQX3FQjs.agentSessionIdFromEnvironment.call(void 0, );
615
+ const agentSessionId = _chunkFJCIUF34js.agentSessionIdFromEnvironment.call(void 0, );
616
616
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
617
617
  method: "POST",
618
618
  headers: {
619
- ..._chunk2XXXFPTDjs.failureReportHeaders.call(void 0, apiKey),
619
+ ..._chunkWLOCMJWVjs.failureReportHeaders.call(void 0, apiKey),
620
620
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
621
621
  },
622
622
  body: JSON.stringify(body),
@@ -632,14 +632,14 @@ function startOutputSizeReporting(invocation, streams = {
632
632
  const stdoutWatch = watch(streams.stdout);
633
633
  const stderrWatch = watch(streams.stderr);
634
634
  return async (finished) => {
635
- if (_chunk2XXXFPTDjs.isFailureReportingDisabled.call(void 0, )) return;
635
+ if (_chunkWLOCMJWVjs.isFailureReportingDisabled.call(void 0, )) return;
636
636
  const [stdout, stderr] = await Promise.all([
637
637
  stdoutWatch.settled(),
638
638
  stderrWatch.settled()
639
639
  ]);
640
640
  if (!shouldReport(stdout, stderr)) return;
641
641
  await postCommandOutput({
642
- command: _chunk2XXXFPTDjs.sanitizeCommand.call(void 0, invocation.argv),
642
+ command: _chunkWLOCMJWVjs.sanitizeCommand.call(void 0, invocation.argv),
643
643
  tool: toolName(finished.action),
644
644
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
645
645
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -670,7 +670,7 @@ function silenceCommanderErrorOutput(command) {
670
670
  function printUsageErrorJson(code, message, commandPath) {
671
671
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _31 => _31.exec, 'call', _32 => _32(message), 'optionalAccess', _33 => _33[1]]) : void 0;
672
672
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
673
- _chunkQ3PUHXOYjs.printJson.call(void 0, {
673
+ _chunkYD7B53RWjs.printJson.call(void 0, {
674
674
  ok: false,
675
675
  error: {
676
676
  code,
@@ -732,7 +732,7 @@ function topLevelCommandKnown(program, commandName) {
732
732
  );
733
733
  }
734
734
  async function runPlayRunnerHealthCheck() {
735
- _chunkQUAQX3FQjs.resolveConfig.call(void 0, );
735
+ _chunkFJCIUF34js.resolveConfig.call(void 0, );
736
736
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
737
737
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
738
738
  try {
@@ -762,7 +762,7 @@ async function runPlayRunnerHealthCheck() {
762
762
  });
763
763
  let exitCode = 1;
764
764
  try {
765
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-YG5L4BWQ.js")));
765
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-N2B3KAVS.js")));
766
766
  exitCode = await handlePlayRun([
767
767
  file,
768
768
  "--input",
@@ -802,7 +802,7 @@ function preflightErrorMessage(error) {
802
802
  return error instanceof Error ? error.message : String(error);
803
803
  }
804
804
  async function runPreflightCheck() {
805
- const baseUrl = _chunkQUAQX3FQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
805
+ const baseUrl = _chunkFJCIUF34js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
806
806
  const healthController = new AbortController();
807
807
  const healthTimeout = setTimeout(
808
808
  () => healthController.abort(),
@@ -817,9 +817,9 @@ async function runPreflightCheck() {
817
817
  version: pickString(payload, "version")
818
818
  };
819
819
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
820
- const apiKey = _chunkQUAQX3FQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
821
- const http = apiKey ? new (0, _chunkQUAQX3FQjs.HttpClient)(
822
- _chunkQUAQX3FQjs.resolveConfig.call(void 0, {
820
+ const apiKey = _chunkFJCIUF34js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
821
+ const http = apiKey ? new (0, _chunkFJCIUF34js.HttpClient)(
822
+ _chunkFJCIUF34js.resolveConfig.call(void 0, {
823
823
  baseUrl,
824
824
  apiKey,
825
825
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -864,7 +864,7 @@ async function runPreflightCheck() {
864
864
  const connected = authStatus === "connected" || authStatus === "claimed";
865
865
  return {
866
866
  status: healthResult.status === "ok" && connected ? "ok" : "check",
867
- cli_version: _chunkQUAQX3FQjs.SDK_VERSION,
867
+ cli_version: _chunkFJCIUF34js.SDK_VERSION,
868
868
  host: baseUrl,
869
869
  health: {
870
870
  status: healthResult.status,
@@ -890,7 +890,7 @@ async function runPreflightCheck() {
890
890
  {
891
891
  title: "preflight",
892
892
  lines: [
893
- `cli: ${_chunkQUAQX3FQjs.SDK_VERSION}`,
893
+ `cli: ${_chunkFJCIUF34js.SDK_VERSION}`,
894
894
  `host: ${baseUrl}`,
895
895
  `health: ${healthResult.status}`,
896
896
  `auth: ${authStatus}`,
@@ -915,12 +915,12 @@ function printPreflightHuman(data) {
915
915
  }
916
916
  async function newerCliCommandHint(baseUrl, command) {
917
917
  if (!command.trim()) return null;
918
- const { response, error } = await _chunk2XXXFPTDjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
918
+ const { response, error } = await _chunkWLOCMJWVjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
919
919
  if (error || !response) return null;
920
920
  const introduced = response.command_introduced_in;
921
921
  if (introduced) {
922
922
  return [
923
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkQUAQX3FQjs.SDK_VERSION}.`,
923
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkFJCIUF34js.SDK_VERSION}.`,
924
924
  ` ${introduced.reason}`,
925
925
  ` Update with: ${response.update_command}`,
926
926
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -929,27 +929,27 @@ async function newerCliCommandHint(baseUrl, command) {
929
929
  if (!response.update_required) return null;
930
930
  return [
931
931
  response.message,
932
- ` Installed: ${_chunkQUAQX3FQjs.SDK_VERSION}. Run: ${response.update_command}`,
932
+ ` Installed: ${_chunkFJCIUF34js.SDK_VERSION}. Run: ${response.update_command}`,
933
933
  " If an agent skill told you to run this, the skill is newer than this CLI."
934
934
  ].join("\n");
935
935
  }
936
936
  async function runMain(ensureTransport, onAction) {
937
937
  const mainStartedAt = Date.now();
938
- _chunkQ3PUHXOYjs.installJsonStderrGuard.call(void 0, );
938
+ _chunkYD7B53RWjs.installJsonStderrGuard.call(void 0, );
939
939
  let rootHelpStatus = "";
940
- _chunkE3PJF6YPjs.recordCliTrace.call(void 0, {
940
+ _chunkJGHG4NBAjs.recordCliTrace.call(void 0, {
941
941
  phase: "cli.main_start",
942
942
  argv: process.argv.slice(2)
943
943
  });
944
944
  const printStartupPhase = shouldPrintStartupPhase();
945
- const progress = printStartupPhase ? _chunkOSFWFV72js.createCliProgress.call(void 0, true) : null;
945
+ const progress = printStartupPhase ? _chunkALD4COBHjs.createCliProgress.call(void 0, true) : null;
946
946
  if (printStartupPhase) {
947
947
  _optionalChain([progress, 'optionalAccess', _39 => _39.phase, 'call', _40 => _40("loading deepline cli")]);
948
948
  }
949
949
  const program = new (0, _commander.Command)();
950
950
  program.name("deepline").description(
951
951
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
952
- ).version(_chunkQUAQX3FQjs.SDK_VERSION, "-v, --version", "Show version").option(
952
+ ).version(_chunkFJCIUF34js.SDK_VERSION, "-v, --version", "Show version").option(
953
953
  "--maintenance <policy>",
954
954
  "Installation maintenance: configured preferences or off; independent of output format",
955
955
  parseCliMaintenancePolicy,
@@ -994,9 +994,9 @@ Exit codes:
994
994
  5 server/runtime/provider failure; 7 validation/check failed.
995
995
  `
996
996
  ).addHelpText("afterAll", ({ command }) => {
997
- const key = _chunkJ5PTX66Yjs.commandDocKey.call(void 0, command);
997
+ const key = _chunk5MLCBXXUjs.commandDocKey.call(void 0, command);
998
998
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
999
- return _chunkJ5PTX66Yjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
999
+ return _chunk5MLCBXXUjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
1000
1000
  });
1001
1001
  program.hook("preAction", async (_thisCommand, actionCommand) => {
1002
1002
  onAction({
@@ -1009,35 +1009,35 @@ Exit codes:
1009
1009
  if (actionCommand.name() !== "version") {
1010
1010
  await ensureTransport();
1011
1011
  }
1012
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunk2XXXFPTDjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
1012
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkWLOCMJWVjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
1013
1013
  return;
1014
1014
  }
1015
1015
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
1016
1016
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
1017
1017
  if (isToolExecuteCommand) {
1018
- _chunkHQY2SG3Kjs.beginToolExecuteCommand.call(void 0, );
1018
+ _chunkWNUR6VP5js.beginToolExecuteCommand.call(void 0, );
1019
1019
  }
1020
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkHQY2SG3Kjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
1020
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkWNUR6VP5js.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
1021
1021
  if (printStartupPhase) {
1022
1022
  _optionalChain([progress, 'optionalAccess', _41 => _41.phase, 'call', _42 => _42("checking sdk compatibility")]);
1023
1023
  }
1024
1024
  const startup = await runStartupStage("SDK compatibility", async () => {
1025
- const baseUrl = _chunkQUAQX3FQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
1026
- if (maintenance !== "off") _chunk2XXXFPTDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
1025
+ const baseUrl = _chunkFJCIUF34js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
1026
+ if (maintenance !== "off") _chunkWLOCMJWVjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
1027
1027
  const shouldDeferSkillsSync = maintenance === "off" || shouldDeferSkillsSyncForCommand();
1028
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkQUAQX3FQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1029
- const trusted = _chunk2XXXFPTDjs.readTrustedCleanCompatibility.call(void 0,
1028
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkFJCIUF34js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1029
+ const trusted = _chunkWLOCMJWVjs.readTrustedCleanCompatibility.call(void 0,
1030
1030
  baseUrl,
1031
1031
  compatibilityCommand,
1032
1032
  skillsVersion
1033
1033
  );
1034
- const fastDeadline = trusted === null && _chunk2XXXFPTDjs.readFreshCleanCompatibility.call(void 0,
1034
+ const fastDeadline = trusted === null && _chunkWLOCMJWVjs.readFreshCleanCompatibility.call(void 0,
1035
1035
  baseUrl,
1036
1036
  compatibilityCommand,
1037
1037
  skillsVersion
1038
1038
  ) !== null;
1039
1039
  if (trusted) {
1040
- _chunkE3PJF6YPjs.recordCliTrace.call(void 0, {
1040
+ _chunkJGHG4NBAjs.recordCliTrace.call(void 0, {
1041
1041
  phase: "cli.sdk_compatibility",
1042
1042
  ms: 0,
1043
1043
  ok: true,
@@ -1047,7 +1047,7 @@ Exit codes:
1047
1047
  source: "trusted_cache"
1048
1048
  });
1049
1049
  }
1050
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkE3PJF6YPjs.traceCliSpan.call(void 0,
1050
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkJGHG4NBAjs.traceCliSpan.call(void 0,
1051
1051
  "cli.sdk_compatibility",
1052
1052
  {
1053
1053
  baseUrl,
@@ -1055,12 +1055,12 @@ Exit codes:
1055
1055
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
1056
1056
  fastDeadline
1057
1057
  },
1058
- () => _chunk2XXXFPTDjs.checkSdkCompatibility.call(void 0, baseUrl, {
1058
+ () => _chunkWLOCMJWVjs.checkSdkCompatibility.call(void 0, baseUrl, {
1059
1059
  command: compatibilityCommand,
1060
1060
  skillsVersion,
1061
1061
  persistCache: maintenance !== "off",
1062
- catalog: _chunkHQY2SG3Kjs.compatibilityCatalog.call(void 0, actionCommand),
1063
- ...fastDeadline ? { timeoutMs: _chunk2XXXFPTDjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1062
+ catalog: _chunkWNUR6VP5js.compatibilityCatalog.call(void 0, actionCommand),
1063
+ ...fastDeadline ? { timeoutMs: _chunkWLOCMJWVjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1064
1064
  })
1065
1065
  );
1066
1066
  if (compatibility.error) {
@@ -1084,13 +1084,13 @@ Exit codes:
1084
1084
  response: compatibility.response
1085
1085
  };
1086
1086
  }
1087
- const jsonOutput = _chunkQ3PUHXOYjs.isJsonOutputMode.call(void 0, );
1088
- _chunk2XXXFPTDjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1087
+ const jsonOutput = _chunkYD7B53RWjs.isJsonOutputMode.call(void 0, );
1088
+ _chunkWLOCMJWVjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
1089
1089
  quietAdvisory: jsonOutput
1090
1090
  });
1091
1091
  const advisory = compatibility.response;
1092
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunk2XXXFPTDjs.isCiEnvironment.call(void 0, )) {
1093
- _chunkQ3PUHXOYjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1092
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkWLOCMJWVjs.isCiEnvironment.call(void 0, )) {
1093
+ _chunkYD7B53RWjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1094
1094
  }
1095
1095
  return {
1096
1096
  shouldContinue: true,
@@ -1107,10 +1107,10 @@ Exit codes:
1107
1107
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
1108
1108
  await runStartupStage(
1109
1109
  "agent skills sync",
1110
- () => _chunkE3PJF6YPjs.traceCliSpan.call(void 0,
1110
+ () => _chunkJGHG4NBAjs.traceCliSpan.call(void 0,
1111
1111
  "cli.sdk_skills_sync",
1112
1112
  { baseUrl: startup.baseUrl },
1113
- () => _chunk2XXXFPTDjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1113
+ () => _chunkWLOCMJWVjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1114
1114
  update: skillsUpdate,
1115
1115
  mode: "detached"
1116
1116
  })
@@ -1124,7 +1124,7 @@ Exit codes:
1124
1124
  !requestedCommand || requestedCommand === "help" || requestedCommand.startsWith("-") && !["-v", "--version"].includes(requestedCommand) ? void 0 : requestedCommand
1125
1125
  );
1126
1126
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1127
- if (_chunkQ3PUHXOYjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1127
+ if (_chunkYD7B53RWjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1128
1128
  preflight.addHelpText(
1129
1129
  "after",
1130
1130
  `
@@ -1139,8 +1139,8 @@ Examples:
1139
1139
  `
1140
1140
  ).action(async (options) => {
1141
1141
  const data = await runPreflightCheck();
1142
- if (_chunkQ3PUHXOYjs.shouldEmitJson.call(void 0, options.json)) {
1143
- _chunkQ3PUHXOYjs.printJson.call(void 0, data);
1142
+ if (_chunkYD7B53RWjs.shouldEmitJson.call(void 0, options.json)) {
1143
+ _chunkYD7B53RWjs.printJson.call(void 0, data);
1144
1144
  } else {
1145
1145
  printPreflightHuman(data);
1146
1146
  }
@@ -1162,7 +1162,7 @@ Examples:
1162
1162
  ).action(async (options) => {
1163
1163
  if (options.playRunner) {
1164
1164
  const data = await runPlayRunnerHealthCheck();
1165
- _chunkQ3PUHXOYjs.printCommandEnvelope.call(void 0, data, {
1165
+ _chunkYD7B53RWjs.printCommandEnvelope.call(void 0, data, {
1166
1166
  json: options.json,
1167
1167
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1168
1168
  `
@@ -1170,15 +1170,15 @@ Examples:
1170
1170
  return;
1171
1171
  }
1172
1172
  try {
1173
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-3GB2K636.js")));
1174
- const baseUrl = _chunkQUAQX3FQjs.resolveBaseUrlOnly.call(void 0, );
1173
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-F6BX32XZ.js")));
1174
+ const baseUrl = _chunkFJCIUF34js.resolveBaseUrlOnly.call(void 0, );
1175
1175
  const [{ status, data }, banner] = await Promise.all([
1176
1176
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1177
1177
  readStatusBanner(baseUrl)
1178
1178
  ]);
1179
1179
  if (status !== 200) throw new Error(`HTTP ${status}`);
1180
1180
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1181
- _chunkQ3PUHXOYjs.printCommandEnvelope.call(void 0,
1181
+ _chunkYD7B53RWjs.printCommandEnvelope.call(void 0,
1182
1182
  { ...data, status_banner: banner },
1183
1183
  {
1184
1184
  json: options.json,
@@ -1206,16 +1206,16 @@ Examples:
1206
1206
  `
1207
1207
  ).action((options) => {
1208
1208
  if (options.json) {
1209
- _chunkQ3PUHXOYjs.printCompactJson.call(void 0, { version: _chunkQUAQX3FQjs.SDK_VERSION });
1209
+ _chunkYD7B53RWjs.printCompactJson.call(void 0, { version: _chunkFJCIUF34js.SDK_VERSION });
1210
1210
  return;
1211
1211
  }
1212
- process.stdout.write(`deepline ${_chunkQUAQX3FQjs.SDK_VERSION}
1212
+ process.stdout.write(`deepline ${_chunkFJCIUF34js.SDK_VERSION}
1213
1213
  `);
1214
1214
  });
1215
1215
  if (process.argv.slice(2).length === 0) {
1216
1216
  program.outputHelp({ error: true });
1217
1217
  console.error("\nerror: missing command (see usage above)");
1218
- _chunkE3PJF6YPjs.recordCliTrace.call(void 0, {
1218
+ _chunkJGHG4NBAjs.recordCliTrace.call(void 0, {
1219
1219
  phase: "cli.main_total",
1220
1220
  ms: Date.now() - mainStartedAt,
1221
1221
  ok: false,
@@ -1227,16 +1227,16 @@ Examples:
1227
1227
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1228
1228
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1229
1229
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1230
- if (!_chunkQ3PUHXOYjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1231
- const baseUrl = _chunkQUAQX3FQjs.autoDetectBaseUrl.call(void 0, );
1230
+ if (!_chunkYD7B53RWjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1231
+ const baseUrl = _chunkFJCIUF34js.autoDetectBaseUrl.call(void 0, );
1232
1232
  await ensureTransport();
1233
1233
  const versionHint = await newerCliCommandHint(
1234
1234
  baseUrl,
1235
1235
  requestedTopLevelCommand
1236
1236
  );
1237
- if (_chunkQ3PUHXOYjs.isJsonOutputMode.call(void 0, )) {
1237
+ if (_chunkYD7B53RWjs.isJsonOutputMode.call(void 0, )) {
1238
1238
  if (versionHint) {
1239
- _chunkQ3PUHXOYjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1239
+ _chunkYD7B53RWjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1240
1240
  }
1241
1241
  printUsageErrorJson(
1242
1242
  "commander.unknownCommand",
@@ -1258,32 +1258,32 @@ Examples:
1258
1258
  const helpArgs = process.argv.slice(2);
1259
1259
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1260
1260
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1261
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-3GB2K636.js")));
1262
- rootHelpStatus = `Version: ${_chunkQUAQX3FQjs.SDK_VERSION}
1261
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-F6BX32XZ.js")));
1262
+ rootHelpStatus = `Version: ${_chunkFJCIUF34js.SDK_VERSION}
1263
1263
  ${await authStatusLine()}
1264
1264
  `;
1265
1265
  }
1266
1266
  await program.parseAsync(process.argv);
1267
- _chunkE3PJF6YPjs.recordCliTrace.call(void 0, {
1267
+ _chunkJGHG4NBAjs.recordCliTrace.call(void 0, {
1268
1268
  phase: "cli.main_total",
1269
1269
  ms: Date.now() - mainStartedAt,
1270
1270
  ok: true
1271
1271
  });
1272
- await _chunk2XXXFPTDjs.maybeReportSdkCliFailure.call(void 0, {
1272
+ await _chunkWLOCMJWVjs.maybeReportSdkCliFailure.call(void 0, {
1273
1273
  argv: process.argv.slice(2),
1274
1274
  startedAtMs: mainStartedAt,
1275
1275
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
1276
1276
  });
1277
1277
  } catch (error) {
1278
1278
  const commanderError = asCommanderError(error);
1279
- _chunkE3PJF6YPjs.recordCliTrace.call(void 0, {
1279
+ _chunkJGHG4NBAjs.recordCliTrace.call(void 0, {
1280
1280
  phase: "cli.main_total",
1281
1281
  ms: Date.now() - mainStartedAt,
1282
1282
  ok: false,
1283
1283
  error: error instanceof Error ? error.message : String(error)
1284
1284
  });
1285
1285
  _optionalChain([progress, 'optionalAccess', _45 => _45.fail, 'call', _46 => _46()]);
1286
- const wantsJson = _chunkQ3PUHXOYjs.isJsonOutputMode.call(void 0, );
1286
+ const wantsJson = _chunkYD7B53RWjs.isJsonOutputMode.call(void 0, );
1287
1287
  if (commanderError) {
1288
1288
  const grammarError = [
1289
1289
  "commander.unknownCommand",
@@ -1294,12 +1294,12 @@ ${await authStatusLine()}
1294
1294
  if (grammarError) {
1295
1295
  await ensureTransport();
1296
1296
  const versionHint = await newerCliCommandHint(
1297
- _chunkQUAQX3FQjs.autoDetectBaseUrl.call(void 0, ),
1297
+ _chunkFJCIUF34js.autoDetectBaseUrl.call(void 0, ),
1298
1298
  commandPath
1299
1299
  );
1300
1300
  if (wantsJson) {
1301
1301
  if (versionHint) {
1302
- _chunkQ3PUHXOYjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1302
+ _chunkYD7B53RWjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1303
1303
  }
1304
1304
  } else {
1305
1305
  if (versionHint) console.error(versionHint);
@@ -1319,45 +1319,45 @@ ${await authStatusLine()}
1319
1319
  return;
1320
1320
  } else if (wantsJson) {
1321
1321
  if (error instanceof _chunkQ2E4E4FJjs.AuthError) {
1322
- _chunkQ3PUHXOYjs.addJsonNotice.call(void 0, {
1322
+ _chunkYD7B53RWjs.addJsonNotice.call(void 0, {
1323
1323
  code: "auth_required",
1324
1324
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1325
1325
  });
1326
1326
  }
1327
- const providerConcurrency = _chunkQ3PUHXOYjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1327
+ const providerConcurrency = _chunkYD7B53RWjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1328
1328
  if (providerConcurrency) {
1329
- _chunkQ3PUHXOYjs.addJsonNotice.call(void 0, {
1329
+ _chunkYD7B53RWjs.addJsonNotice.call(void 0, {
1330
1330
  code: "provider_concurrency",
1331
1331
  message: providerConcurrency
1332
1332
  });
1333
1333
  }
1334
- _chunkQ3PUHXOYjs.printJson.call(void 0, {
1335
- ..._chunkQ3PUHXOYjs.errorToJsonPayload.call(void 0, error),
1334
+ _chunkYD7B53RWjs.printJson.call(void 0, {
1335
+ ..._chunkYD7B53RWjs.errorToJsonPayload.call(void 0, error),
1336
1336
  ...error instanceof _chunkQ2E4E4FJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1337
1337
  });
1338
1338
  } else if (error instanceof Error) {
1339
1339
  console.error(`Error: ${error.message}`);
1340
- const toolDiagnostic = _chunkQ3PUHXOYjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1340
+ const toolDiagnostic = _chunkYD7B53RWjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1341
1341
  if (toolDiagnostic) console.error(toolDiagnostic);
1342
1342
  if (error instanceof _chunkQ2E4E4FJjs.AuthError) {
1343
1343
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1344
1344
  }
1345
- const providerConcurrency = _chunkQ3PUHXOYjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1345
+ const providerConcurrency = _chunkYD7B53RWjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1346
1346
  if (providerConcurrency) console.error(providerConcurrency);
1347
1347
  } else {
1348
1348
  console.error(`Error: ${String(error)}`);
1349
1349
  }
1350
1350
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1351
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunk2XXXFPTDjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1351
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkWLOCMJWVjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1352
1352
  process.exitCode = failureExitCode;
1353
- await _chunk2XXXFPTDjs.maybeReportSdkCliFailure.call(void 0, {
1353
+ await _chunkWLOCMJWVjs.maybeReportSdkCliFailure.call(void 0, {
1354
1354
  argv: process.argv.slice(2),
1355
1355
  startedAtMs: mainStartedAt,
1356
1356
  exitCode: failureExitCode,
1357
1357
  error
1358
1358
  });
1359
1359
  } finally {
1360
- _chunkHQY2SG3Kjs.finishToolExecuteCommand.call(void 0, );
1360
+ _chunkWNUR6VP5js.finishToolExecuteCommand.call(void 0, );
1361
1361
  }
1362
1362
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1363
1363
  }
@@ -1385,9 +1385,9 @@ async function main() {
1385
1385
  await runMain(ensureTransport, (dispatched) => {
1386
1386
  action = dispatched;
1387
1387
  });
1388
- const silentFailure = _chunkQ3PUHXOYjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1388
+ const silentFailure = _chunkYD7B53RWjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1389
1389
  if (silentFailure) {
1390
- _chunkQ3PUHXOYjs.printJson.call(void 0, {
1390
+ _chunkYD7B53RWjs.printJson.call(void 0, {
1391
1391
  ok: false,
1392
1392
  exitCode: Number(process.exitCode),
1393
1393
  error: { code: "CLI_ERROR", message: silentFailure }