deepline 0.3.410 → 0.3.412

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +11 -11
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +0 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +1 -1
  6. package/dist/cli/{auth-LLXLIILR.mjs → auth-5WYYDPSS.mjs} +4 -4
  7. package/dist/cli/auth-74ZWRI3Y.js +40 -0
  8. package/dist/cli/{billing-NFPK7GYP.js → billing-Q4IGAZM4.js} +73 -73
  9. package/dist/cli/{billing-5FVXZYAC.mjs → billing-W6GVSCH5.mjs} +4 -4
  10. package/dist/cli/{chunk-QL22Y56M.mjs → chunk-4MGLO7M4.mjs} +5 -5
  11. package/dist/cli/{chunk-63S7X326.js → chunk-6C76C6Y2.js} +10 -10
  12. package/dist/cli/{chunk-VYKV5XHL.js → chunk-6RFLMMPH.js} +79 -79
  13. package/dist/cli/{chunk-ZFZ427HN.js → chunk-7BSHG3ZS.js} +8 -8
  14. package/dist/cli/{chunk-MN2OWLFA.mjs → chunk-7GHGSZWQ.mjs} +2 -2
  15. package/dist/cli/{chunk-5UUQAGJS.js → chunk-DB3MSMSY.js} +1 -1
  16. package/dist/cli/{chunk-JNXJZ577.mjs → chunk-DM73SDE2.mjs} +1 -1
  17. package/dist/cli/{chunk-IPG42SD2.mjs → chunk-F33BPBKI.mjs} +8 -8
  18. package/dist/cli/{chunk-5V5Y37BC.mjs → chunk-FGSO6IAE.mjs} +1 -1
  19. package/dist/cli/{chunk-FZJAM576.js → chunk-FHTZ3R4G.js} +50 -50
  20. package/dist/cli/{chunk-XNZJKRJA.mjs → chunk-FIFKM6G3.mjs} +3 -3
  21. package/dist/cli/{chunk-XHLKJOTN.mjs → chunk-FOIP7GXL.mjs} +4 -4
  22. package/dist/cli/{chunk-QJI5FIOW.js → chunk-FYDJ6NSG.js} +16 -16
  23. package/dist/cli/{chunk-LTFL4JRN.js → chunk-GK3JUYPD.js} +52 -52
  24. package/dist/cli/{chunk-OBB4QXHA.js → chunk-JA7XAQBY.js} +2 -2
  25. package/dist/cli/{chunk-EQ4Z7RJW.mjs → chunk-JALHTLZM.mjs} +2 -2
  26. package/dist/cli/{chunk-PZSLPBDA.mjs → chunk-JDIAC2BK.mjs} +2 -2
  27. package/dist/cli/{chunk-6PGATQ6L.mjs → chunk-M6NQSTJM.mjs} +2 -2
  28. package/dist/cli/{chunk-4XQLVUC7.mjs → chunk-MBKEAA6L.mjs} +1 -1
  29. package/dist/cli/{chunk-ZKYEW55U.mjs → chunk-NVHWQTA4.mjs} +1 -1
  30. package/dist/cli/{chunk-36AHOWVS.js → chunk-OVLRV3NQ.js} +26 -26
  31. package/dist/cli/{chunk-FVLNYDI4.js → chunk-PULUIGSP.js} +4 -4
  32. package/dist/cli/{chunk-OZ6E3IRZ.js → chunk-QC32WGLZ.js} +8 -8
  33. package/dist/cli/{chunk-XIHWSXSV.mjs → chunk-QZAULZCB.mjs} +3 -3
  34. package/dist/cli/{chunk-T44IIOT6.mjs → chunk-RH56MSI7.mjs} +3 -3
  35. package/dist/cli/{chunk-VK2LZ5IP.js → chunk-S5O4LO6W.js} +6 -6
  36. package/dist/cli/{chunk-5TUGWDEB.js → chunk-SYT7RJRI.js} +20 -20
  37. package/dist/cli/{chunk-NTVLGHFM.js → chunk-TGUN2XDX.js} +35 -35
  38. package/dist/cli/{chunk-D37FEBES.js → chunk-TZT3V6LW.js} +2 -2
  39. package/dist/cli/{chunk-2YR7BIIC.mjs → chunk-UXELXDNZ.mjs} +1 -1
  40. package/dist/cli/{chunk-RFB25DSQ.mjs → chunk-UYZBTMDO.mjs} +1 -1
  41. package/dist/cli/{chunk-NF4V5DTY.js → chunk-YOV67QUS.js} +6 -6
  42. package/dist/cli/{csv-7U3FJYKZ.js → csv-GNFJ6RKP.js} +12 -12
  43. package/dist/cli/{csv-ZWLDMM4A.mjs → csv-Q7PJOSBH.mjs} +3 -3
  44. package/dist/cli/{db-IMYXVMGI.mjs → db-CKW53ES3.mjs} +4 -4
  45. package/dist/cli/{db-DNCGV5PC.js → db-FP6S3MI2.js} +25 -25
  46. package/dist/cli/{describe-Q23DWJUK.mjs → describe-H75P2IBB.mjs} +12 -12
  47. package/dist/cli/{describe-S34JUX5W.js → describe-QIMJDGX7.js} +16 -16
  48. package/dist/cli/{executions-A73EUGSI.mjs → executions-J45V36FF.mjs} +4 -4
  49. package/dist/cli/{executions-XOMPX2YJ.js → executions-KDW4JKCD.js} +6 -6
  50. package/dist/cli/{feedback-N4GJ2POI.mjs → feedback-5PCSAM2L.mjs} +3 -3
  51. package/dist/cli/{feedback-QTCHNJJH.js → feedback-QFLKEJR4.js} +7 -7
  52. package/dist/cli/{git-4Q3JIQYZ.mjs → git-CR7TNVT5.mjs} +4 -4
  53. package/dist/cli/git-QITMGUCQ.js +24 -0
  54. package/dist/cli/index.js +131 -131
  55. package/dist/cli/index.mjs +36 -36
  56. package/dist/cli/{legacy-noops-4OSHZM34.js → legacy-noops-C7I7R5LI.js} +7 -7
  57. package/dist/cli/{legacy-noops-3SOVGFF7.mjs → legacy-noops-Z3MKA3CJ.mjs} +4 -4
  58. package/dist/cli/{monitors-LVE2KZNG.js → monitors-2DXNU4BI.js} +84 -84
  59. package/dist/cli/{monitors-QP2XID2B.mjs → monitors-J4CWREBM.mjs} +4 -4
  60. package/dist/cli/{org-XFLK5IAP.js → org-CDAGTXYJ.js} +64 -64
  61. package/dist/cli/{org-IVRETVQA.mjs → org-IQ3QRJKF.mjs} +4 -4
  62. package/dist/cli/{play-DE7VH6NU.mjs → play-M5ENSOBU.mjs} +10 -10
  63. package/dist/cli/{play-XXTPPP23.js → play-XEP6F74B.js} +283 -283
  64. package/dist/cli/{providers-DLD3I4JF.js → providers-DQRKIVHT.js} +7 -7
  65. package/dist/cli/{providers-GX2NIZQQ.mjs → providers-HILDAJMX.mjs} +4 -4
  66. package/dist/cli/{quickstart-72B4L4PK.mjs → quickstart-MCONKXHJ.mjs} +3 -3
  67. package/dist/cli/{quickstart-XNS3HSWC.js → quickstart-ZRQ4AXWU.js} +5 -5
  68. package/dist/cli/{search-SUTRANJI.mjs → search-UW4Y5XR5.mjs} +5 -5
  69. package/dist/cli/search-WE3HU2GC.js +30 -0
  70. package/dist/cli/{secrets-6OBLOVEV.js → secrets-LGQIOXNO.js} +13 -13
  71. package/dist/cli/{secrets-FPFXXNUH.mjs → secrets-V7SPGC2S.mjs} +4 -4
  72. package/dist/cli/{sessions-R25I4QKN.mjs → sessions-B2PAQIKT.mjs} +4 -4
  73. package/dist/cli/{sessions-235532DR.js → sessions-N3FBI7JX.js} +5 -5
  74. package/dist/cli/{settings-VL5FOFPN.js → settings-2X4EYOZI.js} +75 -75
  75. package/dist/cli/{settings-AOP6F5PZ.mjs → settings-BJCYMO6H.mjs} +8 -8
  76. package/dist/cli/{setup-BSC67YT3.js → setup-C3HP5VZ7.js} +42 -42
  77. package/dist/cli/{setup-ZMPHBHVJ.mjs → setup-X7AN2BVT.mjs} +7 -7
  78. package/dist/cli/{skills-KF65TVFO.mjs → skills-FNU3JALS.mjs} +5 -5
  79. package/dist/cli/skills-PUR6FRM3.js +29 -0
  80. package/dist/cli/{tools-SX4XIPM7.mjs → tools-MYGGTMP3.mjs} +12 -12
  81. package/dist/cli/tools-Z2HU65ZF.js +44 -0
  82. package/dist/cli/update-NG3YIH3A.js +31 -0
  83. package/dist/cli/{update-QRMFRAQQ.mjs → update-OEEMTBYF.mjs} +7 -7
  84. package/dist/cli/{workflow-KOCK2FLW.js → workflow-6T7PM6BK.js} +15 -15
  85. package/dist/cli/{workflow-FOEEEB7G.mjs → workflow-XM3P2CDD.mjs} +5 -5
  86. package/dist/index.js +6 -6
  87. package/dist/index.mjs +3 -3
  88. package/dist/install-integrity.json +78 -78
  89. package/dist/release.d.mts +1 -1
  90. package/dist/release.d.ts +1 -1
  91. package/dist/release.js +2 -2
  92. package/dist/release.mjs +1 -1
  93. package/package.json +1 -1
  94. package/dist/cli/auth-UG4WOYGL.js +0 -40
  95. package/dist/cli/git-I6CPBEVG.js +0 -24
  96. package/dist/cli/search-6NCH4HB5.js +0 -30
  97. package/dist/cli/skills-3IWLYYRL.js +0 -29
  98. package/dist/cli/tools-LR66SPYU.js +0 -44
  99. package/dist/cli/update-SP7UEO53.js +0 -31
package/dist/cli/index.js CHANGED
@@ -7,20 +7,20 @@
7
7
 
8
8
 
9
9
 
10
- var _chunk5TUGWDEBjs = require('./chunk-5TUGWDEB.js');
11
- require('./chunk-QJI5FIOW.js');
12
- require('./chunk-D37FEBES.js');
13
- require('./chunk-NTVLGHFM.js');
10
+ var _chunkSYT7RJRIjs = require('./chunk-SYT7RJRI.js');
11
+ require('./chunk-FYDJ6NSG.js');
12
+ require('./chunk-TZT3V6LW.js');
13
+ require('./chunk-TGUN2XDX.js');
14
14
 
15
15
 
16
- var _chunkVK2LZ5IPjs = require('./chunk-VK2LZ5IP.js');
16
+ var _chunkS5O4LO6Wjs = require('./chunk-S5O4LO6W.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkOBB4QXHAjs = require('./chunk-OBB4QXHA.js');
23
+ var _chunkJA7XAQBYjs = require('./chunk-JA7XAQBY.js');
24
24
 
25
25
 
26
26
 
@@ -39,7 +39,7 @@ var _chunkOBB4QXHAjs = require('./chunk-OBB4QXHA.js');
39
39
 
40
40
 
41
41
 
42
- var _chunkLTFL4JRNjs = require('./chunk-LTFL4JRN.js');
42
+ var _chunkGK3JUYPDjs = require('./chunk-GK3JUYPD.js');
43
43
 
44
44
 
45
45
 
@@ -52,7 +52,7 @@ var _chunkLTFL4JRNjs = require('./chunk-LTFL4JRN.js');
52
52
 
53
53
 
54
54
 
55
- var _chunkNF4V5DTYjs = require('./chunk-NF4V5DTY.js');
55
+ var _chunkYOV67QUSjs = require('./chunk-YOV67QUS.js');
56
56
 
57
57
 
58
58
 
@@ -62,13 +62,13 @@ var _chunkNF4V5DTYjs = require('./chunk-NF4V5DTY.js');
62
62
 
63
63
 
64
64
 
65
- var _chunkFVLNYDI4js = require('./chunk-FVLNYDI4.js');
65
+ var _chunkPULUIGSPjs = require('./chunk-PULUIGSP.js');
66
66
 
67
67
 
68
68
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
69
69
  require('./chunk-XNYIZMNQ.js');
70
70
  require('./chunk-PPDBRJRW.js');
71
- require('./chunk-5UUQAGJS.js');
71
+ require('./chunk-DB3MSMSY.js');
72
72
  require('./chunk-OG64RBAC.js');
73
73
 
74
74
 
@@ -138,48 +138,48 @@ var _os = require('os');
138
138
  var COMMAND_GROUPS = [
139
139
  {
140
140
  names: ["auth"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UG4WOYGL.js")))).registerAuthCommands
141
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-74ZWRI3Y.js")))).registerAuthCommands
142
142
  },
143
143
  {
144
144
  names: ["providers"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-DLD3I4JF.js")))).registerProviderCommands
145
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-DQRKIVHT.js")))).registerProviderCommands
146
146
  },
147
147
  {
148
148
  names: ["search"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-6NCH4HB5.js")))).registerSearchCommand
149
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-WE3HU2GC.js")))).registerSearchCommand
150
150
  },
151
151
  {
152
152
  names: ["describe"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-S34JUX5W.js")))).registerDescribeCommand
153
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QIMJDGX7.js")))).registerDescribeCommand
154
154
  },
155
155
  {
156
156
  names: ["tools"],
157
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-LR66SPYU.js")))).registerToolsCommands
157
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Z2HU65ZF.js")))).registerToolsCommands
158
158
  },
159
159
  {
160
160
  names: ["executions"],
161
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-XOMPX2YJ.js")))).registerExecutionsCommands
161
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-KDW4JKCD.js")))).registerExecutionsCommands
162
162
  },
163
163
  {
164
164
  names: ["plays", "runs"],
165
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-XXTPPP23.js")))).registerPlayCommands
165
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-XEP6F74B.js")))).registerPlayCommands
166
166
  },
167
167
  {
168
168
  names: ["sessions"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-235532DR.js")))).registerSessionsCommands
169
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-N3FBI7JX.js")))).registerSessionsCommands
170
170
  },
171
171
  {
172
172
  names: ["workflows"],
173
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-KOCK2FLW.js")))).registerWorkflowCommands
173
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-6T7PM6BK.js")))).registerWorkflowCommands
174
174
  },
175
175
  {
176
176
  names: ["secrets"],
177
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-6OBLOVEV.js")))).registerSecretsCommands
177
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-LGQIOXNO.js")))).registerSecretsCommands
178
178
  },
179
179
  {
180
180
  names: ["settings", "notifications"],
181
181
  load: async () => {
182
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-VL5FOFPN.js")));
182
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-2X4EYOZI.js")));
183
183
  return (p) => {
184
184
  commands.registerSettingsCommands(p);
185
185
  commands.registerNotificationCommands(p);
@@ -188,51 +188,51 @@ var COMMAND_GROUPS = [
188
188
  },
189
189
  {
190
190
  names: ["billing"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-NFPK7GYP.js")))).registerBillingCommands
191
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-Q4IGAZM4.js")))).registerBillingCommands
192
192
  },
193
193
  {
194
194
  names: ["monitors"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-LVE2KZNG.js")))).registerMonitorsCommands
195
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-2DXNU4BI.js")))).registerMonitorsCommands
196
196
  },
197
197
  {
198
198
  names: ["org"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-XFLK5IAP.js")))).registerOrgCommands
199
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-CDAGTXYJ.js")))).registerOrgCommands
200
200
  },
201
201
  {
202
202
  names: ["git", "projects", "deployments"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-I6CPBEVG.js")))).registerGitCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-QITMGUCQ.js")))).registerGitCommands
204
204
  },
205
205
  {
206
206
  names: ["csv"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-7U3FJYKZ.js")))).registerCsvCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-GNFJ6RKP.js")))).registerCsvCommands
208
208
  },
209
209
  {
210
210
  names: ["db"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-DNCGV5PC.js")))).registerDbCommands
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-FP6S3MI2.js")))).registerDbCommands
212
212
  },
213
213
  {
214
214
  names: ["feedback"],
215
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-QTCHNJJH.js")))).registerFeedbackCommands
215
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-QFLKEJR4.js")))).registerFeedbackCommands
216
216
  },
217
217
  {
218
218
  names: ["enrich", "session", "backend"],
219
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-4OSHZM34.js")))).registerDeprecatedCommands
219
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-C7I7R5LI.js")))).registerDeprecatedCommands
220
220
  },
221
221
  {
222
222
  names: ["update"],
223
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-SP7UEO53.js")))).registerUpdateCommand
223
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-NG3YIH3A.js")))).registerUpdateCommand
224
224
  },
225
225
  {
226
226
  names: ["skills", "skills-auto-sync"],
227
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-3IWLYYRL.js")))).registerSkillsCommand
227
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-PUR6FRM3.js")))).registerSkillsCommand
228
228
  },
229
229
  {
230
230
  names: ["setup", "doctor"],
231
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-BSC67YT3.js")))).registerSetupCommands
231
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-C3HP5VZ7.js")))).registerSetupCommands
232
232
  },
233
233
  {
234
234
  names: ["quickstart"],
235
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-XNS3HSWC.js")))).registerQuickstartCommands
235
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-ZRQ4AXWU.js")))).registerQuickstartCommands
236
236
  }
237
237
  ];
238
238
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -258,25 +258,25 @@ function registerDeeplineInlineCommands(program) {
258
258
  function createDeferredPlayRunMaintenance(input) {
259
259
  return async () => {
260
260
  try {
261
- const skillsVersion = _chunkFVLNYDI4js.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
262
- const compatibility = await _chunkOBB4QXHAjs.traceCliSpan.call(void 0,
261
+ const skillsVersion = _chunkPULUIGSPjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
262
+ const compatibility = await _chunkJA7XAQBYjs.traceCliSpan.call(void 0,
263
263
  "cli.sdk_compatibility_deferred",
264
264
  {
265
265
  baseUrl: input.baseUrl,
266
266
  command: "plays run",
267
267
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
268
268
  },
269
- () => _chunkLTFL4JRNjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
269
+ () => _chunkGK3JUYPDjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
270
270
  command: "plays run",
271
271
  skillsVersion,
272
272
  persistCache: input.policy !== "off",
273
- catalog: _chunk5TUGWDEBjs.compatibilityCatalog.call(void 0, input.command)
273
+ catalog: _chunkSYT7RJRIjs.compatibilityCatalog.call(void 0, input.command)
274
274
  })
275
275
  );
276
276
  if (compatibility.error || !compatibility.response) return;
277
277
  const automaticUpdate = compatibility.response.auto_update;
278
278
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
279
- await _chunk5TUGWDEBjs.maybeAutoUpdateAndRelaunch.call(void 0,
279
+ await _chunkSYT7RJRIjs.maybeAutoUpdateAndRelaunch.call(void 0,
280
280
  compatibility.response,
281
281
  input.baseUrl,
282
282
  input.policy
@@ -286,7 +286,7 @@ function createDeferredPlayRunMaintenance(input) {
286
286
  compatibility.response,
287
287
  "skills"
288
288
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
289
- await _chunkLTFL4JRNjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
289
+ await _chunkGK3JUYPDjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
290
290
  update: skillsUpdate,
291
291
  mode: "detached"
292
292
  });
@@ -314,7 +314,7 @@ var MAX_SESSIONS = 20;
314
314
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
315
315
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
316
316
  }
317
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkFVLNYDI4js.agentSessionIdFromEnvironment.call(void 0, )) {
317
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkPULUIGSPjs.agentSessionIdFromEnvironment.call(void 0, )) {
318
318
  const explicit = _chunk5MLCBXXUjs.helpDetailFromArgv.call(void 0, argv);
319
319
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
320
320
  if (!sessionId) return { detail: explicit, firstRead: false };
@@ -412,7 +412,7 @@ function shouldReport(stdout, stderr) {
412
412
  }
413
413
  function toolName(action) {
414
414
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
415
- return typeof toolId === "string" ? _chunkLTFL4JRNjs.redactFailureText.call(void 0, toolId) : null;
415
+ return typeof toolId === "string" ? _chunkGK3JUYPDjs.redactFailureText.call(void 0, toolId) : null;
416
416
  }
417
417
  function chunkText(chunk) {
418
418
  if (typeof chunk === "string") return chunk;
@@ -443,14 +443,14 @@ function watch(stream) {
443
443
  }
444
444
  async function postCommandOutput(body) {
445
445
  try {
446
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
447
- const apiKey = _chunkFVLNYDI4js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
446
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
447
+ const apiKey = _chunkPULUIGSPjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
448
448
  if (!apiKey) return;
449
- const agentSessionId = _chunkFVLNYDI4js.agentSessionIdFromEnvironment.call(void 0, );
449
+ const agentSessionId = _chunkPULUIGSPjs.agentSessionIdFromEnvironment.call(void 0, );
450
450
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
451
451
  method: "POST",
452
452
  headers: {
453
- ..._chunkLTFL4JRNjs.failureReportHeaders.call(void 0, apiKey),
453
+ ..._chunkGK3JUYPDjs.failureReportHeaders.call(void 0, apiKey),
454
454
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
455
455
  },
456
456
  body: JSON.stringify(body),
@@ -466,14 +466,14 @@ function startOutputSizeReporting(invocation, streams = {
466
466
  const stdoutWatch = watch(streams.stdout);
467
467
  const stderrWatch = watch(streams.stderr);
468
468
  return async (finished) => {
469
- if (_chunkLTFL4JRNjs.isFailureReportingDisabled.call(void 0, )) return;
469
+ if (_chunkGK3JUYPDjs.isFailureReportingDisabled.call(void 0, )) return;
470
470
  const [stdout, stderr] = await Promise.all([
471
471
  stdoutWatch.settled(),
472
472
  stderrWatch.settled()
473
473
  ]);
474
474
  if (!shouldReport(stdout, stderr)) return;
475
475
  await postCommandOutput({
476
- command: _chunkLTFL4JRNjs.sanitizeCommand.call(void 0, invocation.argv),
476
+ command: _chunkGK3JUYPDjs.sanitizeCommand.call(void 0, invocation.argv),
477
477
  tool: toolName(finished.action),
478
478
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
479
479
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -504,7 +504,7 @@ function silenceCommanderErrorOutput(command) {
504
504
  function printUsageErrorJson(code, message, commandPath) {
505
505
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
506
506
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
507
- _chunkNF4V5DTYjs.printJson.call(void 0, {
507
+ _chunkYOV67QUSjs.printJson.call(void 0, {
508
508
  ok: false,
509
509
  error: {
510
510
  code,
@@ -566,7 +566,7 @@ function topLevelCommandKnown(program, commandName) {
566
566
  );
567
567
  }
568
568
  async function runPlayRunnerHealthCheck() {
569
- _chunkFVLNYDI4js.resolveConfig.call(void 0, );
569
+ _chunkPULUIGSPjs.resolveConfig.call(void 0, );
570
570
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
571
571
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
572
572
  try {
@@ -596,7 +596,7 @@ async function runPlayRunnerHealthCheck() {
596
596
  });
597
597
  let exitCode = 1;
598
598
  try {
599
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-XXTPPP23.js")));
599
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-XEP6F74B.js")));
600
600
  exitCode = await handlePlayRun([
601
601
  file,
602
602
  "--input",
@@ -636,7 +636,7 @@ function preflightErrorMessage(error) {
636
636
  return error instanceof Error ? error.message : String(error);
637
637
  }
638
638
  async function runPreflightCheck() {
639
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
639
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
640
640
  const healthController = new AbortController();
641
641
  const healthTimeout = setTimeout(
642
642
  () => healthController.abort(),
@@ -651,9 +651,9 @@ async function runPreflightCheck() {
651
651
  version: pickString(payload, "version")
652
652
  };
653
653
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
654
- const apiKey = _chunkFVLNYDI4js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
- const http = apiKey ? new (0, _chunkFVLNYDI4js.HttpClient)(
656
- _chunkFVLNYDI4js.resolveConfig.call(void 0, {
654
+ const apiKey = _chunkPULUIGSPjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
+ const http = apiKey ? new (0, _chunkPULUIGSPjs.HttpClient)(
656
+ _chunkPULUIGSPjs.resolveConfig.call(void 0, {
657
657
  baseUrl,
658
658
  apiKey,
659
659
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -698,7 +698,7 @@ async function runPreflightCheck() {
698
698
  const connected = authStatus === "connected" || authStatus === "claimed";
699
699
  return {
700
700
  status: healthResult.status === "ok" && connected ? "ok" : "check",
701
- cli_version: _chunkFVLNYDI4js.SDK_VERSION,
701
+ cli_version: _chunkPULUIGSPjs.SDK_VERSION,
702
702
  host: baseUrl,
703
703
  health: {
704
704
  status: healthResult.status,
@@ -724,7 +724,7 @@ async function runPreflightCheck() {
724
724
  {
725
725
  title: "preflight",
726
726
  lines: [
727
- `cli: ${_chunkFVLNYDI4js.SDK_VERSION}`,
727
+ `cli: ${_chunkPULUIGSPjs.SDK_VERSION}`,
728
728
  `host: ${baseUrl}`,
729
729
  `health: ${healthResult.status}`,
730
730
  `auth: ${authStatus}`,
@@ -749,12 +749,12 @@ function printPreflightHuman(data) {
749
749
  }
750
750
  async function newerCliCommandHint(baseUrl, command) {
751
751
  if (!command.trim()) return null;
752
- const { response, error } = await _chunkLTFL4JRNjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
752
+ const { response, error } = await _chunkGK3JUYPDjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
753
753
  if (error || !response) return null;
754
754
  const introduced = response.command_introduced_in;
755
755
  if (introduced) {
756
756
  return [
757
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkFVLNYDI4js.SDK_VERSION}.`,
757
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkPULUIGSPjs.SDK_VERSION}.`,
758
758
  ` ${introduced.reason}`,
759
759
  ` Update with: ${response.update_command}`,
760
760
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -763,31 +763,31 @@ async function newerCliCommandHint(baseUrl, command) {
763
763
  if (!response.update_required) return null;
764
764
  return [
765
765
  response.message,
766
- ` Installed: ${_chunkFVLNYDI4js.SDK_VERSION}. Run: ${response.update_command}`,
766
+ ` Installed: ${_chunkPULUIGSPjs.SDK_VERSION}. Run: ${response.update_command}`,
767
767
  " If an agent skill told you to run this, the skill is newer than this CLI."
768
768
  ].join("\n");
769
769
  }
770
770
  async function runMain(ensureTransport, onAction) {
771
771
  const mainStartedAt = Date.now();
772
- _chunkNF4V5DTYjs.installJsonStderrGuard.call(void 0, );
772
+ _chunkYOV67QUSjs.installJsonStderrGuard.call(void 0, );
773
773
  let rootHelpStatus = "";
774
774
  const deferredMaintenance = { inlinePlay: null };
775
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
775
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
776
776
  phase: "cli.main_start",
777
777
  argv: process.argv.slice(2)
778
778
  });
779
779
  const printStartupPhase = shouldPrintStartupPhase();
780
- const progress = printStartupPhase ? _chunkLTFL4JRNjs.createCliProgress.call(void 0, true) : null;
780
+ const progress = printStartupPhase ? _chunkGK3JUYPDjs.createCliProgress.call(void 0, true) : null;
781
781
  if (printStartupPhase) {
782
782
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
783
783
  }
784
784
  const program = new (0, _commander.Command)();
785
785
  program.name("deepline").description(
786
786
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
787
- ).version(_chunkFVLNYDI4js.SDK_VERSION, "-v, --version", "Show version").option(
787
+ ).version(_chunkPULUIGSPjs.SDK_VERSION, "-v, --version", "Show version").option(
788
788
  "--maintenance <policy>",
789
789
  "Installation maintenance: configured preferences or off; independent of output format",
790
- _chunkOBB4QXHAjs.parseCliMaintenancePolicy,
790
+ _chunkJA7XAQBYjs.parseCliMaintenancePolicy,
791
791
  "configured"
792
792
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
793
793
  "beforeAll",
@@ -845,24 +845,24 @@ Exit codes:
845
845
  path: compatibilityCommandPath(actionCommand),
846
846
  args: actionCommand.processedArgs
847
847
  });
848
- const maintenance = _chunkOBB4QXHAjs.resolveCliMaintenancePolicy.call(void 0,
848
+ const maintenance = _chunkJA7XAQBYjs.resolveCliMaintenancePolicy.call(void 0,
849
849
  actionCommand.optsWithGlobals()
850
850
  );
851
851
  if (actionCommand.name() !== "version") {
852
852
  await ensureTransport();
853
853
  }
854
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkLTFL4JRNjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
854
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkGK3JUYPDjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
855
855
  return;
856
856
  }
857
857
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
858
858
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
859
859
  if (isToolExecuteCommand) {
860
- _chunk5TUGWDEBjs.beginToolExecuteCommand.call(void 0, );
860
+ _chunkSYT7RJRIjs.beginToolExecuteCommand.call(void 0, );
861
861
  }
862
862
  if (isToolExecuteCommand) {
863
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
864
- if (maintenance !== "off") _chunkLTFL4JRNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
865
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
863
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
864
+ if (maintenance !== "off") _chunkGK3JUYPDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
865
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
866
866
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
867
867
  baseUrl,
868
868
  command: compatibilityCommand
@@ -870,10 +870,10 @@ Exit codes:
870
870
  return;
871
871
  }
872
872
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
873
- if (!playDryRun && _chunkVK2LZ5IPjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
873
+ if (!playDryRun && _chunkS5O4LO6Wjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
874
874
  if (maintenance !== "off") {
875
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
876
- _chunkLTFL4JRNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
875
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
876
+ _chunkGK3JUYPDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
877
877
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
878
878
  baseUrl,
879
879
  command: actionCommand,
@@ -882,27 +882,27 @@ Exit codes:
882
882
  }
883
883
  return;
884
884
  }
885
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunk5TUGWDEBjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
885
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
886
886
  if (printStartupPhase) {
887
887
  _optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
888
888
  }
889
889
  const startup = await runStartupStage("SDK compatibility", async () => {
890
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
891
- if (maintenance !== "off") _chunkLTFL4JRNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
890
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
891
+ if (maintenance !== "off") _chunkGK3JUYPDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
892
892
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
893
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkFVLNYDI4js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
894
- const trusted = isToolExecuteCommand ? null : _chunkLTFL4JRNjs.readTrustedCleanCompatibility.call(void 0,
893
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkPULUIGSPjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
894
+ const trusted = isToolExecuteCommand ? null : _chunkGK3JUYPDjs.readTrustedCleanCompatibility.call(void 0,
895
895
  baseUrl,
896
896
  compatibilityCommand,
897
897
  skillsVersion
898
898
  );
899
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkLTFL4JRNjs.readFreshCleanCompatibility.call(void 0,
899
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkGK3JUYPDjs.readFreshCleanCompatibility.call(void 0,
900
900
  baseUrl,
901
901
  compatibilityCommand,
902
902
  skillsVersion
903
903
  ) !== null;
904
904
  if (trusted) {
905
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
905
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
906
906
  phase: "cli.sdk_compatibility",
907
907
  ms: 0,
908
908
  ok: true,
@@ -912,7 +912,7 @@ Exit codes:
912
912
  source: "trusted_cache"
913
913
  });
914
914
  }
915
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkOBB4QXHAjs.traceCliSpan.call(void 0,
915
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkJA7XAQBYjs.traceCliSpan.call(void 0,
916
916
  "cli.sdk_compatibility",
917
917
  {
918
918
  baseUrl,
@@ -920,12 +920,12 @@ Exit codes:
920
920
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
921
921
  fastDeadline
922
922
  },
923
- () => _chunkLTFL4JRNjs.checkSdkCompatibility.call(void 0, baseUrl, {
923
+ () => _chunkGK3JUYPDjs.checkSdkCompatibility.call(void 0, baseUrl, {
924
924
  command: compatibilityCommand,
925
925
  skillsVersion,
926
926
  persistCache: !isToolExecuteCommand && maintenance !== "off",
927
- catalog: _chunk5TUGWDEBjs.compatibilityCatalog.call(void 0, actionCommand),
928
- ...fastDeadline ? { timeoutMs: _chunkLTFL4JRNjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
927
+ catalog: _chunkSYT7RJRIjs.compatibilityCatalog.call(void 0, actionCommand),
928
+ ...fastDeadline ? { timeoutMs: _chunkGK3JUYPDjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
929
929
  })
930
930
  );
931
931
  if (compatibility.error) {
@@ -936,7 +936,7 @@ Exit codes:
936
936
  response: null
937
937
  };
938
938
  }
939
- const relaunched = await _chunk5TUGWDEBjs.maybeAutoUpdateAndRelaunch.call(void 0,
939
+ const relaunched = await _chunkSYT7RJRIjs.maybeAutoUpdateAndRelaunch.call(void 0,
940
940
  compatibility.response,
941
941
  baseUrl,
942
942
  maintenance
@@ -950,14 +950,14 @@ Exit codes:
950
950
  };
951
951
  }
952
952
  const policy = compatibility.response;
953
- const jsonOutput = _chunkNF4V5DTYjs.isJsonOutputMode.call(void 0, );
954
- _chunkLTFL4JRNjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
953
+ const jsonOutput = _chunkYOV67QUSjs.isJsonOutputMode.call(void 0, );
954
+ _chunkGK3JUYPDjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
955
955
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
956
- _chunk5TUGWDEBjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkLTFL4JRNjs.claimUpdateAdvisory.call(void 0, baseUrl)
956
+ _chunkSYT7RJRIjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkGK3JUYPDjs.claimUpdateAdvisory.call(void 0, baseUrl)
957
957
  });
958
958
  const advisory = compatibility.response;
959
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkLTFL4JRNjs.isCiEnvironment.call(void 0, ) && !_chunk5TUGWDEBjs.hasDeferredAutoUpdate.call(void 0, )) {
960
- _chunkNF4V5DTYjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
959
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkGK3JUYPDjs.isCiEnvironment.call(void 0, ) && !_chunkSYT7RJRIjs.hasDeferredAutoUpdate.call(void 0, )) {
960
+ _chunkYOV67QUSjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
961
961
  }
962
962
  return {
963
963
  shouldContinue: true,
@@ -974,10 +974,10 @@ Exit codes:
974
974
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
975
975
  await runStartupStage(
976
976
  "agent skills sync",
977
- () => _chunkOBB4QXHAjs.traceCliSpan.call(void 0,
977
+ () => _chunkJA7XAQBYjs.traceCliSpan.call(void 0,
978
978
  "cli.sdk_skills_sync",
979
979
  { baseUrl: startup.baseUrl },
980
- () => _chunkLTFL4JRNjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
980
+ () => _chunkGK3JUYPDjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
981
981
  update: skillsUpdate,
982
982
  mode: "detached"
983
983
  })
@@ -986,19 +986,19 @@ Exit codes:
986
986
  }
987
987
  });
988
988
  const requestedCommand = process.argv[2];
989
- const commandRegistrationStartedAt = _chunkOBB4QXHAjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
989
+ const commandRegistrationStartedAt = _chunkJA7XAQBYjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
990
990
  await registerDeeplineCommandGroups(
991
991
  program,
992
992
  !requestedCommand || requestedCommand === "help" || requestedCommand.startsWith("-") && !["-v", "--version"].includes(requestedCommand) ? void 0 : requestedCommand
993
993
  );
994
994
  if (commandRegistrationStartedAt !== void 0) {
995
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
995
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
996
996
  phase: "cli.command_registration",
997
997
  ms: performance.now() - commandRegistrationStartedAt
998
998
  });
999
999
  }
1000
1000
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1001
- if (_chunkNF4V5DTYjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1001
+ if (_chunkYOV67QUSjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1002
1002
  preflight.addHelpText(
1003
1003
  "after",
1004
1004
  `
@@ -1013,8 +1013,8 @@ Examples:
1013
1013
  `
1014
1014
  ).action(async (options) => {
1015
1015
  const data = await runPreflightCheck();
1016
- if (_chunkNF4V5DTYjs.shouldEmitJson.call(void 0, options.json)) {
1017
- _chunkNF4V5DTYjs.printJson.call(void 0, data);
1016
+ if (_chunkYOV67QUSjs.shouldEmitJson.call(void 0, options.json)) {
1017
+ _chunkYOV67QUSjs.printJson.call(void 0, data);
1018
1018
  } else {
1019
1019
  printPreflightHuman(data);
1020
1020
  }
@@ -1036,7 +1036,7 @@ Examples:
1036
1036
  ).action(async (options) => {
1037
1037
  if (options.playRunner) {
1038
1038
  const data = await runPlayRunnerHealthCheck();
1039
- _chunkNF4V5DTYjs.printCommandEnvelope.call(void 0, data, {
1039
+ _chunkYOV67QUSjs.printCommandEnvelope.call(void 0, data, {
1040
1040
  json: options.json,
1041
1041
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1042
1042
  `
@@ -1044,15 +1044,15 @@ Examples:
1044
1044
  return;
1045
1045
  }
1046
1046
  try {
1047
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UG4WOYGL.js")));
1048
- const baseUrl = _chunkFVLNYDI4js.resolveBaseUrlOnly.call(void 0, );
1047
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-74ZWRI3Y.js")));
1048
+ const baseUrl = _chunkPULUIGSPjs.resolveBaseUrlOnly.call(void 0, );
1049
1049
  const [{ status, data }, banner] = await Promise.all([
1050
1050
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1051
1051
  readStatusBanner(baseUrl)
1052
1052
  ]);
1053
1053
  if (status !== 200) throw new Error(`HTTP ${status}`);
1054
1054
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1055
- _chunkNF4V5DTYjs.printCommandEnvelope.call(void 0,
1055
+ _chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
1056
1056
  { ...data, status_banner: banner },
1057
1057
  {
1058
1058
  json: options.json,
@@ -1080,16 +1080,16 @@ Examples:
1080
1080
  `
1081
1081
  ).action((options) => {
1082
1082
  if (options.json) {
1083
- _chunkNF4V5DTYjs.printCompactJson.call(void 0, { version: _chunkFVLNYDI4js.SDK_VERSION });
1083
+ _chunkYOV67QUSjs.printCompactJson.call(void 0, { version: _chunkPULUIGSPjs.SDK_VERSION });
1084
1084
  return;
1085
1085
  }
1086
- process.stdout.write(`deepline ${_chunkFVLNYDI4js.SDK_VERSION}
1086
+ process.stdout.write(`deepline ${_chunkPULUIGSPjs.SDK_VERSION}
1087
1087
  `);
1088
1088
  });
1089
1089
  if (process.argv.slice(2).length === 0) {
1090
1090
  program.outputHelp({ error: true });
1091
1091
  console.error("\nerror: missing command (see usage above)");
1092
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
1092
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
1093
1093
  phase: "cli.main_total",
1094
1094
  ms: Date.now() - mainStartedAt,
1095
1095
  ok: false,
@@ -1101,16 +1101,16 @@ Examples:
1101
1101
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1102
1102
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1103
1103
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1104
- if (!_chunkNF4V5DTYjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1105
- const baseUrl = _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, );
1104
+ if (!_chunkYOV67QUSjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1105
+ const baseUrl = _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, );
1106
1106
  await ensureTransport();
1107
1107
  const versionHint = await newerCliCommandHint(
1108
1108
  baseUrl,
1109
1109
  requestedTopLevelCommand
1110
1110
  );
1111
- if (_chunkNF4V5DTYjs.isJsonOutputMode.call(void 0, )) {
1111
+ if (_chunkYOV67QUSjs.isJsonOutputMode.call(void 0, )) {
1112
1112
  if (versionHint) {
1113
- _chunkNF4V5DTYjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1113
+ _chunkYOV67QUSjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1114
1114
  }
1115
1115
  printUsageErrorJson(
1116
1116
  "commander.unknownCommand",
@@ -1132,32 +1132,32 @@ Examples:
1132
1132
  const helpArgs = process.argv.slice(2);
1133
1133
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1134
1134
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1135
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UG4WOYGL.js")));
1136
- rootHelpStatus = `Version: ${_chunkFVLNYDI4js.SDK_VERSION}
1135
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-74ZWRI3Y.js")));
1136
+ rootHelpStatus = `Version: ${_chunkPULUIGSPjs.SDK_VERSION}
1137
1137
  ${await authStatusLine()}
1138
1138
  `;
1139
1139
  }
1140
1140
  await program.parseAsync(process.argv);
1141
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
1141
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
1142
1142
  phase: "cli.main_total",
1143
1143
  ms: Date.now() - mainStartedAt,
1144
1144
  ok: true
1145
1145
  });
1146
- await _chunkLTFL4JRNjs.maybeReportSdkCliFailure.call(void 0, {
1146
+ await _chunkGK3JUYPDjs.maybeReportSdkCliFailure.call(void 0, {
1147
1147
  argv: process.argv.slice(2),
1148
1148
  startedAtMs: mainStartedAt,
1149
1149
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
1150
1150
  });
1151
1151
  } catch (error) {
1152
1152
  const commanderError = asCommanderError(error);
1153
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
1153
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
1154
1154
  phase: "cli.main_total",
1155
1155
  ms: Date.now() - mainStartedAt,
1156
1156
  ok: false,
1157
1157
  error: error instanceof Error ? error.message : String(error)
1158
1158
  });
1159
1159
  _optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
1160
- const wantsJson = _chunkNF4V5DTYjs.isJsonOutputMode.call(void 0, );
1160
+ const wantsJson = _chunkYOV67QUSjs.isJsonOutputMode.call(void 0, );
1161
1161
  if (commanderError) {
1162
1162
  const grammarError = [
1163
1163
  "commander.unknownCommand",
@@ -1168,12 +1168,12 @@ ${await authStatusLine()}
1168
1168
  if (grammarError) {
1169
1169
  await ensureTransport();
1170
1170
  const versionHint = await newerCliCommandHint(
1171
- _chunkFVLNYDI4js.autoDetectBaseUrl.call(void 0, ),
1171
+ _chunkPULUIGSPjs.autoDetectBaseUrl.call(void 0, ),
1172
1172
  commandPath
1173
1173
  );
1174
1174
  if (wantsJson) {
1175
1175
  if (versionHint) {
1176
- _chunkNF4V5DTYjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1176
+ _chunkYOV67QUSjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1177
1177
  }
1178
1178
  } else {
1179
1179
  if (versionHint) console.error(versionHint);
@@ -1193,49 +1193,49 @@ ${await authStatusLine()}
1193
1193
  return;
1194
1194
  } else if (wantsJson) {
1195
1195
  if (error instanceof _chunkNPBJI7REjs.AuthError) {
1196
- _chunkNF4V5DTYjs.addJsonNotice.call(void 0, {
1196
+ _chunkYOV67QUSjs.addJsonNotice.call(void 0, {
1197
1197
  code: "auth_required",
1198
1198
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1199
1199
  });
1200
1200
  }
1201
- const providerConcurrency = _chunkNF4V5DTYjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1201
+ const providerConcurrency = _chunkYOV67QUSjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1202
1202
  if (providerConcurrency) {
1203
- _chunkNF4V5DTYjs.addJsonNotice.call(void 0, {
1203
+ _chunkYOV67QUSjs.addJsonNotice.call(void 0, {
1204
1204
  code: "provider_concurrency",
1205
1205
  message: providerConcurrency
1206
1206
  });
1207
1207
  }
1208
- _chunkNF4V5DTYjs.printJson.call(void 0, {
1209
- ..._chunkNF4V5DTYjs.errorToJsonPayload.call(void 0, error),
1208
+ _chunkYOV67QUSjs.printJson.call(void 0, {
1209
+ ..._chunkYOV67QUSjs.errorToJsonPayload.call(void 0, error),
1210
1210
  ...error instanceof _chunkNPBJI7REjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1211
1211
  });
1212
1212
  } else if (error instanceof Error) {
1213
1213
  console.error(`Error: ${error.message}`);
1214
- const toolDiagnostic = _chunkNF4V5DTYjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1214
+ const toolDiagnostic = _chunkYOV67QUSjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1215
1215
  if (toolDiagnostic) console.error(toolDiagnostic);
1216
1216
  if (error instanceof _chunkNPBJI7REjs.AuthError) {
1217
1217
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1218
1218
  }
1219
- const providerConcurrency = _chunkNF4V5DTYjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1219
+ const providerConcurrency = _chunkYOV67QUSjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1220
1220
  if (providerConcurrency) console.error(providerConcurrency);
1221
1221
  } else {
1222
1222
  console.error(`Error: ${String(error)}`);
1223
1223
  }
1224
1224
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1225
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkLTFL4JRNjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1225
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkGK3JUYPDjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1226
1226
  process.exitCode = failureExitCode;
1227
- await _chunkLTFL4JRNjs.maybeReportSdkCliFailure.call(void 0, {
1227
+ await _chunkGK3JUYPDjs.maybeReportSdkCliFailure.call(void 0, {
1228
1228
  argv: process.argv.slice(2),
1229
1229
  startedAtMs: mainStartedAt,
1230
1230
  exitCode: failureExitCode,
1231
1231
  error
1232
1232
  });
1233
1233
  } finally {
1234
- _chunk5TUGWDEBjs.finishToolExecuteCommand.call(void 0, );
1234
+ _chunkSYT7RJRIjs.finishToolExecuteCommand.call(void 0, );
1235
1235
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1236
1236
  deferredMaintenance.inlinePlay = null;
1237
1237
  await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
1238
- await _chunk5TUGWDEBjs.runDeferredAutoUpdate.call(void 0, );
1238
+ await _chunkSYT7RJRIjs.runDeferredAutoUpdate.call(void 0, );
1239
1239
  }
1240
1240
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1241
1241
  }
@@ -1243,7 +1243,7 @@ async function main() {
1243
1243
  let disposeTransport;
1244
1244
  const ensureTransport = async () => {
1245
1245
  if (disposeTransport) return;
1246
- const transportStartedAt = _chunkOBB4QXHAjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1246
+ const transportStartedAt = _chunkJA7XAQBYjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1247
1247
  const hasProxy = [
1248
1248
  "HTTP_PROXY",
1249
1249
  "http_proxy",
@@ -1255,7 +1255,7 @@ async function main() {
1255
1255
  disposeTransport = configureCliTransport();
1256
1256
  }
1257
1257
  if (transportStartedAt !== void 0) {
1258
- _chunkOBB4QXHAjs.recordCliTrace.call(void 0, {
1258
+ _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
1259
1259
  phase: "cli.transport_setup",
1260
1260
  ms: performance.now() - transportStartedAt
1261
1261
  });
@@ -1272,9 +1272,9 @@ async function main() {
1272
1272
  action = dispatched;
1273
1273
  skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
1274
1274
  });
1275
- const silentFailure = _chunkNF4V5DTYjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1275
+ const silentFailure = _chunkYOV67QUSjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1276
1276
  if (silentFailure) {
1277
- _chunkNF4V5DTYjs.printJson.call(void 0, {
1277
+ _chunkYOV67QUSjs.printJson.call(void 0, {
1278
1278
  ok: false,
1279
1279
  exitCode: Number(process.exitCode),
1280
1280
  error: { code: "CLI_ERROR", message: silentFailure }