deepline 0.3.528 → 0.3.530
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.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +22 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +3 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +123 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +302 -48
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +43 -16
- package/dist/cli/{auth-PPOTNK4T.mjs → auth-LRWNDQFT.mjs} +5 -5
- package/dist/cli/auth-QFIXECQV.js +43 -0
- package/dist/cli/{billing-3C7T7CUQ.js → billing-5FDPWGCG.js} +79 -79
- package/dist/cli/{billing-OEZUQ2K6.mjs → billing-7T73MRYF.mjs} +6 -6
- package/dist/cli/{chunk-4SBUXDKZ.js → chunk-2FLODRM2.js} +13 -13
- package/dist/cli/{chunk-AFIAVG5T.mjs → chunk-2FLRKNME.mjs} +2 -2
- package/dist/cli/{chunk-B6YWCGVC.mjs → chunk-2LKVNWRA.mjs} +10 -10
- package/dist/cli/{chunk-7WZXUAQW.js → chunk-32NTC5UD.js} +7 -7
- package/dist/cli/{chunk-KLGYBOGZ.mjs → chunk-3MAHDV5C.mjs} +1 -1
- package/dist/cli/{chunk-IYCRX34W.mjs → chunk-4VQ63Y6S.mjs} +5 -5
- package/dist/cli/{chunk-WXHBD6H7.js → chunk-4WPIORJX.js} +1 -1
- package/dist/cli/{chunk-IJAEYEJM.js → chunk-5B37ER3C.js} +3 -3
- package/dist/cli/{chunk-IM5XQ4DG.mjs → chunk-5DJUNUHN.mjs} +5 -5
- package/dist/cli/{chunk-GFGFAAY2.mjs → chunk-5KX3TWBK.mjs} +1 -1
- package/dist/cli/{chunk-FPHAUP55.mjs → chunk-6NG3FRJB.mjs} +5 -5
- package/dist/cli/{chunk-FXYWEKUK.js → chunk-7E7CP5KA.js} +4 -4
- package/dist/cli/{chunk-RFTBMEWL.js → chunk-7WGMCOM6.js} +2 -2
- package/dist/cli/{chunk-GP7E4TE4.mjs → chunk-A5MYJM4K.mjs} +2 -2
- package/dist/cli/{chunk-T4QPRL3P.mjs → chunk-BVY4QRVT.mjs} +3 -3
- package/dist/cli/{chunk-R5ZQVQ3K.js → chunk-C44RZGM5.js} +26 -26
- package/dist/cli/{chunk-G7RTPKRJ.js → chunk-D7Y7I4EE.js} +2 -2
- package/dist/cli/{chunk-36UD7H7Y.js → chunk-E6L3NEFV.js} +41 -41
- package/dist/cli/{chunk-XD2DRBPH.js → chunk-EADHDZW2.js} +6 -6
- package/dist/cli/{chunk-Z25KC5V2.mjs → chunk-ERMDXXP5.mjs} +1 -1
- package/dist/cli/{chunk-MLNH4DK2.js → chunk-GW76IDID.js} +22 -22
- package/dist/cli/{chunk-Z44S7VWO.mjs → chunk-HCWPX2UP.mjs} +2 -2
- package/dist/cli/{chunk-6OLQWQU5.mjs → chunk-I2YXEHDO.mjs} +3 -3
- package/dist/cli/{chunk-HJVNCRXY.mjs → chunk-J6XSBTEX.mjs} +1 -1
- package/dist/cli/{chunk-DCVNL5XN.mjs → chunk-K4Y6CNFV.mjs} +1 -1
- package/dist/cli/{chunk-GCBFSFLA.js → chunk-KEXGBXUG.js} +5 -5
- package/dist/cli/{chunk-CMTY6SVY.mjs → chunk-KI63L5H3.mjs} +2 -2
- package/dist/cli/{chunk-5MJ4CDAQ.js → chunk-KUHH7RW4.js} +44 -44
- package/dist/cli/{chunk-237PKFIQ.js → chunk-L4QR7CYL.js} +14 -14
- package/dist/cli/{chunk-RC5CG5SE.mjs → chunk-LNZILMVK.mjs} +4 -4
- package/dist/cli/{chunk-LU4EA3ET.js → chunk-M4Q4LEMM.js} +2 -2
- package/dist/cli/{chunk-ZFD5FJCZ.js → chunk-MHR3XVJD.js} +5 -5
- package/dist/cli/{chunk-RML3VSTN.mjs → chunk-MVF7ZBJX.mjs} +1 -1
- package/dist/cli/{chunk-OEI7YUEF.js → chunk-MVFKZQ7E.js} +3 -3
- package/dist/cli/{chunk-PS2UYVAE.mjs → chunk-OUM2V7R6.mjs} +6 -6
- package/dist/cli/{chunk-NCOTOGTK.mjs → chunk-QI2LKPW5.mjs} +2 -2
- package/dist/cli/{chunk-ULUI2FEM.mjs → chunk-QQ4LNSY5.mjs} +1 -1
- package/dist/cli/{chunk-GSBKODMU.mjs → chunk-QWEPCX6L.mjs} +2 -2
- package/dist/cli/{chunk-OVZSNBDJ.js → chunk-SJQ7Z3NI.js} +53 -53
- package/dist/cli/{chunk-ADZGTMLU.js → chunk-V4EK7ZZX.js} +98 -98
- package/dist/cli/{chunk-IXEEXYE2.js → chunk-VKVLJTW5.js} +9 -9
- package/dist/cli/{chunk-NZM4KWWV.mjs → chunk-VQMGCNX2.mjs} +5 -5
- package/dist/cli/{chunk-OGVUT2KM.js → chunk-VYSQ76RP.js} +7 -7
- package/dist/cli/{chunk-42ZSDTOC.mjs → chunk-WAWOMHWO.mjs} +2 -2
- package/dist/cli/{chunk-B3HQF2CA.js → chunk-WWLIDAVT.js} +11 -11
- package/dist/cli/{chunk-7X3NLHI7.js → chunk-WYI3VMTO.js} +6 -6
- package/dist/cli/{chunk-LT4IEJ6V.js → chunk-X547OW3I.js} +16 -16
- package/dist/cli/{chunk-KWIKFR7Y.mjs → chunk-XNWS2WJG.mjs} +1 -1
- package/dist/cli/{chunk-KHVCHFE3.js → chunk-YI7QOP6L.js} +16 -16
- package/dist/cli/{chunk-SP2KZ7SH.mjs → chunk-YVLPGYRS.mjs} +1 -1
- package/dist/cli/{csv-OTRVTHD2.js → csv-EFIEDJA2.js} +13 -13
- package/dist/cli/{csv-K7TRWOFJ.mjs → csv-VY2S7KKV.mjs} +4 -4
- package/dist/cli/{db-UO2ZFLFN.js → db-3DLI5TYW.js} +27 -27
- package/dist/cli/{db-C7GQU3TZ.mjs → db-D32CBDTN.mjs} +6 -6
- package/dist/cli/{describe-LG4CPTIV.mjs → describe-6MYKK2P3.mjs} +18 -18
- package/dist/cli/describe-U6HM52X6.js +50 -0
- package/dist/cli/{executions-LHFVPO7E.js → executions-QG3DEEY3.js} +8 -8
- package/dist/cli/{executions-P3INNVZE.mjs → executions-U6TPX4RX.mjs} +6 -6
- package/dist/cli/{feedback-H22FWG63.mjs → feedback-YZ6H4VMQ.mjs} +6 -6
- package/dist/cli/{feedback-M3HZQAWX.js → feedback-ZSPW6NXL.js} +14 -14
- package/dist/cli/{git-G2N7PVFI.mjs → git-ENN72IK4.mjs} +5 -5
- package/dist/cli/git-OBV73OVY.js +25 -0
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-LDYSWTL2.mjs → legacy-noops-MNA6LWJU.mjs} +6 -6
- package/dist/cli/{legacy-noops-2RVROWBY.js → legacy-noops-Q6EVYIGN.js} +9 -9
- package/dist/cli/{monitors-U4RE6KN5.js → monitors-BUH54HXJ.js} +100 -100
- package/dist/cli/{monitors-IYT3VON7.mjs → monitors-KENWEEWC.mjs} +7 -7
- package/dist/cli/{org-SO52ZGRP.js → org-AHWQJMV7.js} +86 -86
- package/dist/cli/{org-R3JE22GS.mjs → org-HWOHKYP3.mjs} +6 -6
- package/dist/cli/{pages-5RLT5YTF.mjs → pages-I7DYTCW6.mjs} +6 -6
- package/dist/cli/{pages-SWXJQJXH.js → pages-Z5R7NYEF.js} +18 -18
- package/dist/cli/{play-J4UXOQOJ.js → play-3LXZB4ED.js} +317 -317
- package/dist/cli/{play-2ELYCSXZ.mjs → play-ET7CRVWJ.mjs} +18 -18
- package/dist/cli/{providers-IXITXHTS.mjs → providers-GZSAZVHZ.mjs} +6 -6
- package/dist/cli/{providers-VVUDGV2D.js → providers-ZV2E7NGX.js} +9 -9
- package/dist/cli/{quickstart-HQCGDPPL.mjs → quickstart-5746NBS2.mjs} +4 -4
- package/dist/cli/{quickstart-XPH6MT47.js → quickstart-VJZAT4RY.js} +6 -6
- package/dist/cli/{run-OR646AC6.js → run-WGUAVYZC.js} +41 -41
- package/dist/cli/{run-H2HQPWC4.mjs → run-WOQ6XMTT.mjs} +23 -23
- package/dist/cli/search-IGHNMXI4.js +33 -0
- package/dist/cli/{search-MBPI5SBW.mjs → search-NNPFJYEW.mjs} +8 -8
- package/dist/cli/{search-output-CYOMJNRV.mjs → search-output-65HDEEFS.mjs} +4 -4
- package/dist/cli/{search-output-YGNSHBXX.js → search-output-K4ISMPKD.js} +6 -6
- package/dist/cli/{secrets-HVZKNNLZ.js → secrets-NBKGWMF4.js} +15 -15
- package/dist/cli/{secrets-NK2CN7WI.mjs → secrets-RK44OV3X.mjs} +6 -6
- package/dist/cli/{sessions-NY4G427U.mjs → sessions-ULQJJN3J.mjs} +6 -6
- package/dist/cli/sessions-ZJNV4SEL.js +22 -0
- package/dist/cli/{settings-PVJRDEN2.js → settings-IHNA7X3Y.js} +86 -86
- package/dist/cli/{settings-RC4FGYY2.mjs → settings-V5ZRL2EF.mjs} +13 -13
- package/dist/cli/{setup-YT3XSY6X.mjs → setup-54VZPJGM.mjs} +10 -10
- package/dist/cli/{setup-B7QB4YV2.js → setup-HTEBFMOQ.js} +50 -50
- package/dist/cli/{skills-5ILFNAHR.mjs → skills-3FCPWMHX.mjs} +8 -8
- package/dist/cli/skills-ZCJ6FOOK.js +37 -0
- package/dist/cli/{tools-7PAY32OZ.mjs → tools-2NTDNUQT.mjs} +17 -17
- package/dist/cli/tools-Q75XC2BS.js +57 -0
- package/dist/cli/{update-Z27QYB6O.mjs → update-25MTBTGU.mjs} +10 -10
- package/dist/cli/update-3G3GO7IE.js +35 -0
- package/dist/cli/{views-NP2SCMOV.js → views-37K4JNNS.js} +18 -18
- package/dist/cli/{views-2IANF6KR.mjs → views-OBE5LUSW.mjs} +6 -6
- package/dist/cli/{workflow-2GNQL646.js → workflow-6YTIHHJH.js} +17 -17
- package/dist/cli/{workflow-CAMEZLLY.mjs → workflow-HAPCL4K6.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +104 -104
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-CWJZYLTB.js +0 -43
- package/dist/cli/describe-IK4UYJ5M.js +0 -50
- package/dist/cli/git-72ADWRUQ.js +0 -25
- package/dist/cli/search-D27DZH2D.js +0 -33
- package/dist/cli/sessions-MTISSOZ4.js +0 -22
- package/dist/cli/skills-BHF35NLX.js +0 -37
- package/dist/cli/tools-W5BZ37L6.js +0 -57
- package/dist/cli/update-M65CGK42.js +0 -35
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEADHDZW2js = require('./chunk-EADHDZW2.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkD7Y7I4EEjs = require('./chunk-D7Y7I4EE.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,17 +13,17 @@ var _chunkG7RTPKRJjs = require('./chunk-G7RTPKRJ.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkGW76IDIDjs = require('./chunk-GW76IDID.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
23
|
+
var _chunkM4Q4LEMMjs = require('./chunk-M4Q4LEMM.js');
|
|
24
|
+
require('./chunk-YI7QOP6L.js');
|
|
25
|
+
require('./chunk-7WGMCOM6.js');
|
|
26
|
+
require('./chunk-E6L3NEFV.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -35,10 +35,10 @@ require('./chunk-36UD7H7Y.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkKUHH7RW4js = require('./chunk-KUHH7RW4.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkMVFKZQ7Ejs = require('./chunk-MVFKZQ7E.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ var _chunkOEI7YUEFjs = require('./chunk-OEI7YUEF.js');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkL4QR7CYLjs = require('./chunk-L4QR7CYL.js');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
@@ -66,7 +66,7 @@ require('./chunk-YGCKMI5P.js');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
@@ -74,18 +74,18 @@ var _chunk7WZXUAQWjs = require('./chunk-7WZXUAQW.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunk5B37ER3Cjs = require('./chunk-5B37ER3C.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunk7E7CP5KAjs = require('./chunk-7E7CP5KA.js');
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
|
|
86
86
|
require('./chunk-XNYIZMNQ.js');
|
|
87
87
|
require('./chunk-SQWET4SL.js');
|
|
88
|
-
require('./chunk-
|
|
88
|
+
require('./chunk-4WPIORJX.js');
|
|
89
89
|
require('./chunk-OG64RBAC.js');
|
|
90
90
|
require('./chunk-RLX5ZFNX.js');
|
|
91
91
|
require('./chunk-COGTRVWW.js');
|
|
@@ -166,60 +166,60 @@ var _os = require('os');
|
|
|
166
166
|
var COMMAND_GROUPS = [
|
|
167
167
|
{
|
|
168
168
|
names: ["auth"],
|
|
169
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
169
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-QFIXECQV.js")))).registerAuthCommands
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
names: ["providers"],
|
|
173
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
173
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-ZV2E7NGX.js")))).registerProviderCommands
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
names: ["search"],
|
|
177
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
177
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-IGHNMXI4.js")))).registerSearchCommand
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
names: ["describe"],
|
|
181
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
181
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-U6HM52X6.js")))).registerDescribeCommand
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
names: ["run"],
|
|
185
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
185
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-WGUAVYZC.js")))).registerRunCommand
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
names: ["tools"],
|
|
189
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
189
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Q75XC2BS.js")))).registerToolsCommands
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
names: ["executions"],
|
|
193
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
193
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-QG3DEEY3.js")))).registerExecutionsCommands
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
names: ["plays", "runs"],
|
|
197
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
197
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-3LXZB4ED.js")))).registerPlayCommands
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
names: ["sessions"],
|
|
201
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
201
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-ZJNV4SEL.js")))).registerSessionsCommands
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
names: ["workflows"],
|
|
205
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
205
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-6YTIHHJH.js")))).registerWorkflowCommands
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
names: ["pages"],
|
|
209
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-
|
|
209
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-Z5R7NYEF.js")))).registerPagesCommands
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
names: ["views"],
|
|
213
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-
|
|
213
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-37K4JNNS.js")))).registerViewsCommands
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
names: ["secrets"],
|
|
217
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
217
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-NBKGWMF4.js")))).registerSecretsCommands
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
names: ["settings", "notifications"],
|
|
221
221
|
load: async () => {
|
|
222
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
222
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-IHNA7X3Y.js")));
|
|
223
223
|
return (p) => {
|
|
224
224
|
commands.registerSettingsCommands(p);
|
|
225
225
|
commands.registerNotificationCommands(p);
|
|
@@ -228,51 +228,51 @@ var COMMAND_GROUPS = [
|
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
names: ["billing"],
|
|
231
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
231
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-5FDPWGCG.js")))).registerBillingCommands
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
names: ["monitors"],
|
|
235
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
235
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-BUH54HXJ.js")))).registerMonitorsCommands
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
names: ["org"],
|
|
239
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
239
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-AHWQJMV7.js")))).registerOrgCommands
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
names: ["git", "projects", "deployments"],
|
|
243
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
243
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-OBV73OVY.js")))).registerGitCommands
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
names: ["csv"],
|
|
247
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
247
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-EFIEDJA2.js")))).registerCsvCommands
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
names: ["db"],
|
|
251
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
251
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-3DLI5TYW.js")))).registerDbCommands
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
names: ["feedback"],
|
|
255
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
255
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-ZSPW6NXL.js")))).registerFeedbackCommands
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
names: ["enrich", "session", "backend"],
|
|
259
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
259
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-Q6EVYIGN.js")))).registerDeprecatedCommands
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
names: ["update"],
|
|
263
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
263
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-3G3GO7IE.js")))).registerUpdateCommand
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
names: ["skills", "skills-auto-sync"],
|
|
267
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
267
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-ZCJ6FOOK.js")))).registerSkillsCommand
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
names: ["setup", "doctor"],
|
|
271
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
271
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-HTEBFMOQ.js")))).registerSetupCommands
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
names: ["quickstart"],
|
|
275
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
275
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-VJZAT4RY.js")))).registerQuickstartCommands
|
|
276
276
|
}
|
|
277
277
|
];
|
|
278
278
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -298,8 +298,8 @@ function registerDeeplineInlineCommands(program) {
|
|
|
298
298
|
function createDeferredPlayRunMaintenance(input) {
|
|
299
299
|
return async () => {
|
|
300
300
|
try {
|
|
301
|
-
const skillsVersion =
|
|
302
|
-
const compatibility = await
|
|
301
|
+
const skillsVersion = _chunk5B37ER3Cjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
302
|
+
const compatibility = await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
|
|
303
303
|
"cli.sdk_compatibility_deferred",
|
|
304
304
|
{
|
|
305
305
|
baseUrl: input.baseUrl,
|
|
@@ -307,24 +307,24 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
307
307
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
308
308
|
},
|
|
309
309
|
async () => {
|
|
310
|
-
const trusted =
|
|
310
|
+
const trusted = _chunkKUHH7RW4js.readTrustedCleanCompatibility.call(void 0,
|
|
311
311
|
input.baseUrl,
|
|
312
312
|
"plays run",
|
|
313
313
|
skillsVersion
|
|
314
314
|
);
|
|
315
315
|
if (trusted) return { response: trusted, error: null };
|
|
316
|
-
return
|
|
316
|
+
return _chunkKUHH7RW4js.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
317
317
|
command: "plays run",
|
|
318
318
|
skillsVersion,
|
|
319
319
|
persistCache: input.policy !== "off",
|
|
320
|
-
catalog:
|
|
320
|
+
catalog: _chunkGW76IDIDjs.compatibilityCatalog.call(void 0, input.command)
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
323
|
);
|
|
324
324
|
if (compatibility.error || !compatibility.response) return;
|
|
325
325
|
const automaticUpdate = compatibility.response.auto_update;
|
|
326
326
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
327
|
-
await
|
|
327
|
+
await _chunkGW76IDIDjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
328
328
|
compatibility.response,
|
|
329
329
|
input.baseUrl,
|
|
330
330
|
input.policy
|
|
@@ -334,7 +334,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
334
334
|
compatibility.response,
|
|
335
335
|
"skills"
|
|
336
336
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
337
|
-
await
|
|
337
|
+
await _chunkKUHH7RW4js.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
338
338
|
update: skillsUpdate,
|
|
339
339
|
mode: "detached"
|
|
340
340
|
});
|
|
@@ -362,7 +362,7 @@ var MAX_SESSIONS = 20;
|
|
|
362
362
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
363
363
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
364
364
|
}
|
|
365
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
365
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunk7E7CP5KAjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
366
366
|
const explicit = _chunkWL6GAZBDjs.helpDetailFromArgv.call(void 0, argv);
|
|
367
367
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
368
368
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
@@ -460,7 +460,7 @@ function shouldReport(stdout, stderr) {
|
|
|
460
460
|
}
|
|
461
461
|
function toolName(action) {
|
|
462
462
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
463
|
-
return typeof toolId === "string" ?
|
|
463
|
+
return typeof toolId === "string" ? _chunkL4QR7CYLjs.redactFailureText.call(void 0, toolId) : null;
|
|
464
464
|
}
|
|
465
465
|
function chunkText(chunk) {
|
|
466
466
|
if (typeof chunk === "string") return chunk;
|
|
@@ -491,14 +491,14 @@ function watch(stream) {
|
|
|
491
491
|
}
|
|
492
492
|
async function postCommandOutput(body) {
|
|
493
493
|
try {
|
|
494
|
-
const baseUrl =
|
|
495
|
-
const apiKey =
|
|
494
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
495
|
+
const apiKey = _chunk5B37ER3Cjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
496
496
|
if (!apiKey) return;
|
|
497
|
-
const agentSessionId =
|
|
497
|
+
const agentSessionId = _chunk7E7CP5KAjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
498
498
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
499
499
|
method: "POST",
|
|
500
500
|
headers: {
|
|
501
|
-
...
|
|
501
|
+
..._chunkL4QR7CYLjs.failureReportHeaders.call(void 0, apiKey),
|
|
502
502
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
503
503
|
},
|
|
504
504
|
body: JSON.stringify(body),
|
|
@@ -514,14 +514,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
514
514
|
const stdoutWatch = watch(streams.stdout);
|
|
515
515
|
const stderrWatch = watch(streams.stderr);
|
|
516
516
|
return async (finished) => {
|
|
517
|
-
if (
|
|
517
|
+
if (_chunkL4QR7CYLjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
518
518
|
const [stdout, stderr] = await Promise.all([
|
|
519
519
|
stdoutWatch.settled(),
|
|
520
520
|
stderrWatch.settled()
|
|
521
521
|
]);
|
|
522
522
|
if (!shouldReport(stdout, stderr)) return;
|
|
523
523
|
await postCommandOutput({
|
|
524
|
-
command:
|
|
524
|
+
command: _chunkL4QR7CYLjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
525
525
|
tool: toolName(finished.action),
|
|
526
526
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
527
527
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -552,7 +552,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
552
552
|
function printUsageErrorJson(code, message, commandPath) {
|
|
553
553
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
554
554
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
555
|
-
|
|
555
|
+
_chunk32NTC5UDjs.printJson.call(void 0, {
|
|
556
556
|
ok: false,
|
|
557
557
|
error: {
|
|
558
558
|
code,
|
|
@@ -610,7 +610,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
610
610
|
);
|
|
611
611
|
}
|
|
612
612
|
async function runPlayRunnerHealthCheck() {
|
|
613
|
-
|
|
613
|
+
_chunk5B37ER3Cjs.resolveConfig.call(void 0, );
|
|
614
614
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
615
615
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
616
616
|
try {
|
|
@@ -640,7 +640,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
640
640
|
});
|
|
641
641
|
let exitCode = 1;
|
|
642
642
|
try {
|
|
643
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
643
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-3LXZB4ED.js")));
|
|
644
644
|
exitCode = await handlePlayRun([
|
|
645
645
|
file,
|
|
646
646
|
"--input",
|
|
@@ -680,7 +680,7 @@ function preflightErrorMessage(error) {
|
|
|
680
680
|
return error instanceof Error ? error.message : String(error);
|
|
681
681
|
}
|
|
682
682
|
async function runPreflightCheck() {
|
|
683
|
-
const baseUrl =
|
|
683
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
684
684
|
const healthController = new AbortController();
|
|
685
685
|
const healthTimeout = setTimeout(
|
|
686
686
|
() => healthController.abort(),
|
|
@@ -697,14 +697,14 @@ async function runPreflightCheck() {
|
|
|
697
697
|
}).catch((error) => ({
|
|
698
698
|
status: "unreachable",
|
|
699
699
|
version: null,
|
|
700
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
700
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunk7E7CP5KAjs.connectionFailureMessage.call(void 0,
|
|
701
701
|
baseUrl,
|
|
702
702
|
error instanceof Error ? error : new Error(String(error))
|
|
703
703
|
)
|
|
704
704
|
})).finally(() => clearTimeout(healthTimeout));
|
|
705
|
-
const apiKey =
|
|
706
|
-
const http = apiKey ? new (0,
|
|
707
|
-
|
|
705
|
+
const apiKey = _chunk5B37ER3Cjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
706
|
+
const http = apiKey ? new (0, _chunk5B37ER3Cjs.HttpClient)(
|
|
707
|
+
_chunk5B37ER3Cjs.resolveConfig.call(void 0, {
|
|
708
708
|
baseUrl,
|
|
709
709
|
apiKey,
|
|
710
710
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -749,7 +749,7 @@ async function runPreflightCheck() {
|
|
|
749
749
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
750
750
|
return {
|
|
751
751
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
752
|
-
cli_version:
|
|
752
|
+
cli_version: _chunk7E7CP5KAjs.SDK_VERSION,
|
|
753
753
|
host: baseUrl,
|
|
754
754
|
health: {
|
|
755
755
|
status: healthResult.status,
|
|
@@ -776,7 +776,7 @@ async function runPreflightCheck() {
|
|
|
776
776
|
{
|
|
777
777
|
title: "preflight",
|
|
778
778
|
lines: [
|
|
779
|
-
`cli: ${
|
|
779
|
+
`cli: ${_chunk7E7CP5KAjs.SDK_VERSION}`,
|
|
780
780
|
`host: ${baseUrl}`,
|
|
781
781
|
`health: ${healthResult.status}`,
|
|
782
782
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -803,12 +803,12 @@ function printPreflightHuman(data) {
|
|
|
803
803
|
}
|
|
804
804
|
async function newerCliCommandHint(baseUrl, command) {
|
|
805
805
|
if (!command.trim()) return null;
|
|
806
|
-
const { response, error } = await
|
|
806
|
+
const { response, error } = await _chunkKUHH7RW4js.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
807
807
|
if (error || !response) return null;
|
|
808
808
|
const introduced = response.command_introduced_in;
|
|
809
809
|
if (introduced) {
|
|
810
810
|
return [
|
|
811
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
811
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunk7E7CP5KAjs.SDK_VERSION}.`,
|
|
812
812
|
` ${introduced.reason}`,
|
|
813
813
|
` Update with: ${response.update_command}`,
|
|
814
814
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -817,32 +817,32 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
817
817
|
if (!response.update_required) return null;
|
|
818
818
|
return [
|
|
819
819
|
response.message,
|
|
820
|
-
` Installed: ${
|
|
820
|
+
` Installed: ${_chunk7E7CP5KAjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
821
821
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
822
822
|
].join("\n");
|
|
823
823
|
}
|
|
824
824
|
async function runMain(ensureTransport, onAction, suppressOutputReport) {
|
|
825
825
|
const mainStartedAt = Date.now();
|
|
826
|
-
|
|
826
|
+
_chunk32NTC5UDjs.installJsonStderrGuard.call(void 0, );
|
|
827
827
|
let rootHelpStatus = "";
|
|
828
828
|
let commandFailed = false;
|
|
829
829
|
const deferredMaintenance = { inlinePlay: null };
|
|
830
|
-
|
|
830
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
831
831
|
phase: "cli.main_start",
|
|
832
832
|
argv: process.argv.slice(2)
|
|
833
833
|
});
|
|
834
834
|
const printStartupPhase = shouldPrintStartupPhase();
|
|
835
|
-
const progress = printStartupPhase ?
|
|
835
|
+
const progress = printStartupPhase ? _chunkMVFKZQ7Ejs.createCliProgress.call(void 0, true) : null;
|
|
836
836
|
if (printStartupPhase) {
|
|
837
837
|
_optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
|
|
838
838
|
}
|
|
839
839
|
const program = new (0, _commander.Command)();
|
|
840
840
|
program.name("deepline").description(
|
|
841
841
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
842
|
-
).version(
|
|
842
|
+
).version(_chunk7E7CP5KAjs.SDK_VERSION, "-v, --version", "Show version").option(
|
|
843
843
|
"--maintenance <policy>",
|
|
844
844
|
"Installation maintenance: configured preferences or off; independent of output format",
|
|
845
|
-
|
|
845
|
+
_chunkM4Q4LEMMjs.parseCliMaintenancePolicy,
|
|
846
846
|
"configured"
|
|
847
847
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
848
848
|
"beforeAll",
|
|
@@ -901,25 +901,25 @@ Exit codes:
|
|
|
901
901
|
path: compatibilityCommand,
|
|
902
902
|
args: actionCommand.processedArgs
|
|
903
903
|
});
|
|
904
|
-
const maintenance =
|
|
904
|
+
const maintenance = _chunkM4Q4LEMMjs.resolveCliMaintenancePolicy.call(void 0,
|
|
905
905
|
actionCommand.optsWithGlobals()
|
|
906
906
|
);
|
|
907
907
|
if (actionCommand.name() !== "version") {
|
|
908
908
|
await ensureTransport();
|
|
909
909
|
}
|
|
910
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
910
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkKUHH7RW4js.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation() || compatibilityCommand === "settings feedback" || compatibilityCommand.startsWith("settings feedback ") || ["feedback send", "sessions send", "session send"].includes(
|
|
911
911
|
compatibilityCommand
|
|
912
|
-
) &&
|
|
912
|
+
) && _chunkD7Y7I4EEjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
|
|
913
913
|
return;
|
|
914
914
|
}
|
|
915
915
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
916
916
|
if (isToolExecuteCommand) {
|
|
917
|
-
|
|
917
|
+
_chunkGW76IDIDjs.beginToolExecuteCommand.call(void 0, );
|
|
918
918
|
}
|
|
919
919
|
if (isToolExecuteCommand) {
|
|
920
|
-
const baseUrl =
|
|
921
|
-
if (maintenance !== "off")
|
|
922
|
-
|
|
920
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
921
|
+
if (maintenance !== "off") _chunkKUHH7RW4js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
922
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
923
923
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
924
924
|
baseUrl,
|
|
925
925
|
command: compatibilityCommand
|
|
@@ -927,9 +927,9 @@ Exit codes:
|
|
|
927
927
|
return;
|
|
928
928
|
}
|
|
929
929
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
930
|
-
if (!playDryRun &&
|
|
930
|
+
if (!playDryRun && _chunkEADHDZW2js.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
931
931
|
if (maintenance !== "off") {
|
|
932
|
-
const baseUrl =
|
|
932
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
933
933
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
934
934
|
baseUrl,
|
|
935
935
|
command: actionCommand,
|
|
@@ -938,27 +938,27 @@ Exit codes:
|
|
|
938
938
|
}
|
|
939
939
|
return;
|
|
940
940
|
}
|
|
941
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
941
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkGW76IDIDjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
942
942
|
if (printStartupPhase) {
|
|
943
943
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
944
944
|
}
|
|
945
945
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
946
|
-
const baseUrl =
|
|
947
|
-
if (maintenance !== "off")
|
|
946
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
947
|
+
if (maintenance !== "off") _chunkKUHH7RW4js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
948
948
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
949
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
950
|
-
const trusted = isToolExecuteCommand ? null :
|
|
949
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunk5B37ER3Cjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
950
|
+
const trusted = isToolExecuteCommand ? null : _chunkKUHH7RW4js.readTrustedCleanCompatibility.call(void 0,
|
|
951
951
|
baseUrl,
|
|
952
952
|
compatibilityCommand,
|
|
953
953
|
skillsVersion
|
|
954
954
|
);
|
|
955
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
955
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkKUHH7RW4js.readFreshCleanCompatibility.call(void 0,
|
|
956
956
|
baseUrl,
|
|
957
957
|
compatibilityCommand,
|
|
958
958
|
skillsVersion
|
|
959
959
|
) !== null;
|
|
960
960
|
if (trusted) {
|
|
961
|
-
|
|
961
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
962
962
|
phase: "cli.sdk_compatibility",
|
|
963
963
|
ms: 0,
|
|
964
964
|
ok: true,
|
|
@@ -968,7 +968,7 @@ Exit codes:
|
|
|
968
968
|
source: "trusted_cache"
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
971
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
|
|
972
972
|
"cli.sdk_compatibility",
|
|
973
973
|
{
|
|
974
974
|
baseUrl,
|
|
@@ -976,12 +976,12 @@ Exit codes:
|
|
|
976
976
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
977
977
|
fastDeadline
|
|
978
978
|
},
|
|
979
|
-
() =>
|
|
979
|
+
() => _chunkKUHH7RW4js.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
980
980
|
command: compatibilityCommand,
|
|
981
981
|
skillsVersion,
|
|
982
982
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
983
|
-
catalog:
|
|
984
|
-
...fastDeadline ? { timeoutMs:
|
|
983
|
+
catalog: _chunkGW76IDIDjs.compatibilityCatalog.call(void 0, actionCommand),
|
|
984
|
+
...fastDeadline ? { timeoutMs: _chunkKUHH7RW4js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
985
985
|
})
|
|
986
986
|
);
|
|
987
987
|
if (compatibility.error) {
|
|
@@ -992,7 +992,7 @@ Exit codes:
|
|
|
992
992
|
response: null
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
|
-
const relaunched = await
|
|
995
|
+
const relaunched = await _chunkGW76IDIDjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
996
996
|
compatibility.response,
|
|
997
997
|
baseUrl,
|
|
998
998
|
maintenance
|
|
@@ -1006,14 +1006,14 @@ Exit codes:
|
|
|
1006
1006
|
};
|
|
1007
1007
|
}
|
|
1008
1008
|
const policy = compatibility.response;
|
|
1009
|
-
const jsonOutput =
|
|
1010
|
-
|
|
1009
|
+
const jsonOutput = _chunk32NTC5UDjs.isJsonOutputMode.call(void 0, );
|
|
1010
|
+
_chunkKUHH7RW4js.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
1011
1011
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
1012
|
-
|
|
1012
|
+
_chunkGW76IDIDjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkKUHH7RW4js.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
1013
1013
|
});
|
|
1014
1014
|
const advisory = compatibility.response;
|
|
1015
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
1016
|
-
|
|
1015
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkKUHH7RW4js.isCiEnvironment.call(void 0, ) && !_chunkGW76IDIDjs.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1016
|
+
_chunk32NTC5UDjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
1017
1017
|
}
|
|
1018
1018
|
return {
|
|
1019
1019
|
shouldContinue: true,
|
|
@@ -1030,10 +1030,10 @@ Exit codes:
|
|
|
1030
1030
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
1031
1031
|
await runStartupStage(
|
|
1032
1032
|
"agent skills sync",
|
|
1033
|
-
() =>
|
|
1033
|
+
() => _chunkM4Q4LEMMjs.traceCliSpan.call(void 0,
|
|
1034
1034
|
"cli.sdk_skills_sync",
|
|
1035
1035
|
{ baseUrl: startup.baseUrl },
|
|
1036
|
-
() =>
|
|
1036
|
+
() => _chunkKUHH7RW4js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1037
1037
|
update: skillsUpdate,
|
|
1038
1038
|
mode: "detached"
|
|
1039
1039
|
})
|
|
@@ -1047,16 +1047,16 @@ Exit codes:
|
|
|
1047
1047
|
);
|
|
1048
1048
|
const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
|
|
1049
1049
|
if (carriesFeedback) suppressOutputReport();
|
|
1050
|
-
const commandRegistrationStartedAt =
|
|
1050
|
+
const commandRegistrationStartedAt = _chunkM4Q4LEMMjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1051
1051
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1052
1052
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1053
|
-
|
|
1053
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
1054
1054
|
phase: "cli.command_registration",
|
|
1055
1055
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1056
1056
|
});
|
|
1057
1057
|
}
|
|
1058
1058
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1059
|
-
if (
|
|
1059
|
+
if (_chunk32NTC5UDjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1060
1060
|
preflight.addHelpText(
|
|
1061
1061
|
"after",
|
|
1062
1062
|
`
|
|
@@ -1072,8 +1072,8 @@ Examples:
|
|
|
1072
1072
|
`
|
|
1073
1073
|
).action(async (options) => {
|
|
1074
1074
|
const data = await runPreflightCheck();
|
|
1075
|
-
if (
|
|
1076
|
-
|
|
1075
|
+
if (_chunk32NTC5UDjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1076
|
+
_chunk32NTC5UDjs.printJson.call(void 0, data);
|
|
1077
1077
|
} else {
|
|
1078
1078
|
printPreflightHuman(data);
|
|
1079
1079
|
}
|
|
@@ -1098,7 +1098,7 @@ Examples:
|
|
|
1098
1098
|
).action(async (options) => {
|
|
1099
1099
|
if (options.playRunner) {
|
|
1100
1100
|
const data = await runPlayRunnerHealthCheck();
|
|
1101
|
-
|
|
1101
|
+
_chunk32NTC5UDjs.printCommandEnvelope.call(void 0, data, {
|
|
1102
1102
|
json: options.json,
|
|
1103
1103
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1104
1104
|
`
|
|
@@ -1106,15 +1106,15 @@ Examples:
|
|
|
1106
1106
|
return;
|
|
1107
1107
|
}
|
|
1108
1108
|
try {
|
|
1109
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1110
|
-
const baseUrl =
|
|
1109
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-QFIXECQV.js")));
|
|
1110
|
+
const baseUrl = _chunk5B37ER3Cjs.resolveBaseUrlOnly.call(void 0, );
|
|
1111
1111
|
const [{ status, data }, banner] = await Promise.all([
|
|
1112
1112
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1113
1113
|
readStatusBanner(baseUrl)
|
|
1114
1114
|
]);
|
|
1115
1115
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1116
1116
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1117
|
-
|
|
1117
|
+
_chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
|
|
1118
1118
|
{ ...data, status_banner: banner },
|
|
1119
1119
|
{
|
|
1120
1120
|
json: options.json,
|
|
@@ -1142,16 +1142,16 @@ Examples:
|
|
|
1142
1142
|
`
|
|
1143
1143
|
).action((options) => {
|
|
1144
1144
|
if (options.json) {
|
|
1145
|
-
|
|
1145
|
+
_chunk32NTC5UDjs.printCompactJson.call(void 0, { version: _chunk7E7CP5KAjs.SDK_VERSION });
|
|
1146
1146
|
return;
|
|
1147
1147
|
}
|
|
1148
|
-
process.stdout.write(`deepline ${
|
|
1148
|
+
process.stdout.write(`deepline ${_chunk7E7CP5KAjs.SDK_VERSION}
|
|
1149
1149
|
`);
|
|
1150
1150
|
});
|
|
1151
1151
|
if (process.argv.slice(2).length === 0) {
|
|
1152
1152
|
program.outputHelp({ error: true });
|
|
1153
1153
|
console.error("\nerror: missing command (see usage above)");
|
|
1154
|
-
|
|
1154
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
1155
1155
|
phase: "cli.main_total",
|
|
1156
1156
|
ms: Date.now() - mainStartedAt,
|
|
1157
1157
|
ok: false,
|
|
@@ -1163,16 +1163,16 @@ Examples:
|
|
|
1163
1163
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1164
1164
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1165
1165
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1166
|
-
if (!
|
|
1167
|
-
const baseUrl =
|
|
1166
|
+
if (!_chunk32NTC5UDjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1167
|
+
const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, );
|
|
1168
1168
|
await ensureTransport();
|
|
1169
1169
|
const versionHint = await newerCliCommandHint(
|
|
1170
1170
|
baseUrl,
|
|
1171
1171
|
requestedTopLevelCommand
|
|
1172
1172
|
);
|
|
1173
|
-
if (
|
|
1173
|
+
if (_chunk32NTC5UDjs.isJsonOutputMode.call(void 0, )) {
|
|
1174
1174
|
if (versionHint) {
|
|
1175
|
-
|
|
1175
|
+
_chunk32NTC5UDjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1176
1176
|
}
|
|
1177
1177
|
printUsageErrorJson(
|
|
1178
1178
|
"commander.unknownCommand",
|
|
@@ -1194,19 +1194,19 @@ Examples:
|
|
|
1194
1194
|
const helpArgs = process.argv.slice(2);
|
|
1195
1195
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1196
1196
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1197
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1198
|
-
rootHelpStatus = `Version: ${
|
|
1197
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-QFIXECQV.js")));
|
|
1198
|
+
rootHelpStatus = `Version: ${_chunk7E7CP5KAjs.SDK_VERSION}
|
|
1199
1199
|
${await authStatusLine()}
|
|
1200
1200
|
`;
|
|
1201
1201
|
}
|
|
1202
1202
|
await program.parseAsync(process.argv);
|
|
1203
|
-
|
|
1203
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
1204
1204
|
phase: "cli.main_total",
|
|
1205
1205
|
ms: Date.now() - mainStartedAt,
|
|
1206
1206
|
ok: true
|
|
1207
1207
|
});
|
|
1208
1208
|
if (!carriesFeedback) {
|
|
1209
|
-
await
|
|
1209
|
+
await _chunkL4QR7CYLjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1210
1210
|
argv: process.argv.slice(2),
|
|
1211
1211
|
startedAtMs: mainStartedAt,
|
|
1212
1212
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
@@ -1215,14 +1215,14 @@ ${await authStatusLine()}
|
|
|
1215
1215
|
} catch (error) {
|
|
1216
1216
|
commandFailed = true;
|
|
1217
1217
|
const commanderError = asCommanderError(error);
|
|
1218
|
-
|
|
1218
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
1219
1219
|
phase: "cli.main_total",
|
|
1220
1220
|
ms: Date.now() - mainStartedAt,
|
|
1221
1221
|
ok: false,
|
|
1222
1222
|
error: error instanceof Error ? error.message : String(error)
|
|
1223
1223
|
});
|
|
1224
1224
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1225
|
-
const wantsJson =
|
|
1225
|
+
const wantsJson = _chunk32NTC5UDjs.isJsonOutputMode.call(void 0, );
|
|
1226
1226
|
if (commanderError) {
|
|
1227
1227
|
const grammarError = [
|
|
1228
1228
|
"commander.unknownCommand",
|
|
@@ -1233,12 +1233,12 @@ ${await authStatusLine()}
|
|
|
1233
1233
|
if (grammarError) {
|
|
1234
1234
|
await ensureTransport();
|
|
1235
1235
|
const versionHint = await newerCliCommandHint(
|
|
1236
|
-
|
|
1236
|
+
_chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ),
|
|
1237
1237
|
commandPath
|
|
1238
1238
|
);
|
|
1239
1239
|
if (wantsJson) {
|
|
1240
1240
|
if (versionHint) {
|
|
1241
|
-
|
|
1241
|
+
_chunk32NTC5UDjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1242
1242
|
}
|
|
1243
1243
|
} else {
|
|
1244
1244
|
if (versionHint) console.error(versionHint);
|
|
@@ -1258,43 +1258,43 @@ ${await authStatusLine()}
|
|
|
1258
1258
|
return;
|
|
1259
1259
|
} else if (wantsJson) {
|
|
1260
1260
|
if (error instanceof _chunkT2N3B7IQjs.AuthError) {
|
|
1261
|
-
|
|
1261
|
+
_chunk32NTC5UDjs.addJsonNotice.call(void 0, {
|
|
1262
1262
|
code: "auth_required",
|
|
1263
1263
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1264
1264
|
});
|
|
1265
1265
|
}
|
|
1266
|
-
const providerConcurrency =
|
|
1266
|
+
const providerConcurrency = _chunk32NTC5UDjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1267
1267
|
if (providerConcurrency) {
|
|
1268
|
-
|
|
1268
|
+
_chunk32NTC5UDjs.addJsonNotice.call(void 0, {
|
|
1269
1269
|
code: "provider_concurrency",
|
|
1270
1270
|
message: providerConcurrency
|
|
1271
1271
|
});
|
|
1272
1272
|
}
|
|
1273
|
-
const payload =
|
|
1274
|
-
|
|
1273
|
+
const payload = _chunk32NTC5UDjs.errorToJsonPayload.call(void 0, error);
|
|
1274
|
+
_chunk32NTC5UDjs.printJson.call(void 0, {
|
|
1275
1275
|
...payload,
|
|
1276
1276
|
// The envelope names the code the process exits with, so a caller
|
|
1277
1277
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1278
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1278
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkL4QR7CYLjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1279
1279
|
...error instanceof _chunkT2N3B7IQjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1280
1280
|
});
|
|
1281
1281
|
} else if (error instanceof Error) {
|
|
1282
1282
|
console.error(`Error: ${error.message}`);
|
|
1283
|
-
const toolDiagnostic =
|
|
1283
|
+
const toolDiagnostic = _chunk32NTC5UDjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1284
1284
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1285
1285
|
if (error instanceof _chunkT2N3B7IQjs.AuthError) {
|
|
1286
1286
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1287
1287
|
}
|
|
1288
|
-
const providerConcurrency =
|
|
1288
|
+
const providerConcurrency = _chunk32NTC5UDjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1289
1289
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1290
1290
|
} else {
|
|
1291
1291
|
console.error(`Error: ${String(error)}`);
|
|
1292
1292
|
}
|
|
1293
1293
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1294
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1294
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkL4QR7CYLjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1295
1295
|
process.exitCode = failureExitCode;
|
|
1296
1296
|
if (!carriesFeedback) {
|
|
1297
|
-
await
|
|
1297
|
+
await _chunkL4QR7CYLjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1298
1298
|
argv: process.argv.slice(2),
|
|
1299
1299
|
startedAtMs: mainStartedAt,
|
|
1300
1300
|
exitCode: failureExitCode,
|
|
@@ -1302,13 +1302,13 @@ ${await authStatusLine()}
|
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
1304
|
} finally {
|
|
1305
|
-
|
|
1305
|
+
_chunkGW76IDIDjs.finishToolExecuteCommand.call(void 0, );
|
|
1306
1306
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1307
1307
|
deferredMaintenance.inlinePlay = null;
|
|
1308
1308
|
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1309
1309
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1310
1310
|
}
|
|
1311
|
-
await
|
|
1311
|
+
await _chunkGW76IDIDjs.runDeferredAutoUpdate.call(void 0, );
|
|
1312
1312
|
}
|
|
1313
1313
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1314
1314
|
}
|
|
@@ -1316,7 +1316,7 @@ async function main() {
|
|
|
1316
1316
|
let disposeTransport;
|
|
1317
1317
|
const ensureTransport = async () => {
|
|
1318
1318
|
if (disposeTransport) return;
|
|
1319
|
-
const transportStartedAt =
|
|
1319
|
+
const transportStartedAt = _chunkM4Q4LEMMjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1320
1320
|
const hasProxy = [
|
|
1321
1321
|
"HTTP_PROXY",
|
|
1322
1322
|
"http_proxy",
|
|
@@ -1328,7 +1328,7 @@ async function main() {
|
|
|
1328
1328
|
disposeTransport = configureCliTransport();
|
|
1329
1329
|
}
|
|
1330
1330
|
if (transportStartedAt !== void 0) {
|
|
1331
|
-
|
|
1331
|
+
_chunkM4Q4LEMMjs.recordCliTrace.call(void 0, {
|
|
1332
1332
|
phase: "cli.transport_setup",
|
|
1333
1333
|
ms: performance.now() - transportStartedAt
|
|
1334
1334
|
});
|
|
@@ -1351,9 +1351,9 @@ async function main() {
|
|
|
1351
1351
|
skipOutputReport = true;
|
|
1352
1352
|
}
|
|
1353
1353
|
);
|
|
1354
|
-
const silentFailure =
|
|
1354
|
+
const silentFailure = _chunk32NTC5UDjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1355
1355
|
if (silentFailure) {
|
|
1356
|
-
|
|
1356
|
+
_chunk32NTC5UDjs.printJson.call(void 0, {
|
|
1357
1357
|
ok: false,
|
|
1358
1358
|
exitCode: Number(process.exitCode),
|
|
1359
1359
|
error: { code: "CLI_ERROR", message: silentFailure }
|