deepline 0.3.506 → 0.3.508
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/client-core.ts +27 -6
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +38 -1
- package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +4 -2
- package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-admission-codes.ts +11 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +15 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +24 -4
- package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +405 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
- package/dist/cli/{auth-ZHFONT2D.mjs → auth-2URIN52G.mjs} +5 -5
- package/dist/cli/auth-LFU77QDI.js +43 -0
- package/dist/cli/{billing-B2YEMNHE.mjs → billing-IW23GSR5.mjs} +6 -6
- package/dist/cli/{billing-3Z7N4WTL.js → billing-R2HY2ZVJ.js} +79 -79
- package/dist/cli/{chunk-TS4KFQKS.mjs → chunk-2LY42EZJ.mjs} +1 -1
- package/dist/cli/{chunk-ND4WPLTE.mjs → chunk-2PYFXXYA.mjs} +2 -2
- package/dist/cli/{chunk-N7G36GXB.js → chunk-2YOM5J3G.js} +26 -26
- package/dist/cli/{chunk-SUJIVF6L.js → chunk-3BZ74K27.js} +16 -16
- package/dist/cli/{chunk-Z7EHY2MF.mjs → chunk-3C6VBHNW.mjs} +2 -2
- package/dist/cli/{chunk-FFGQR5J3.mjs → chunk-3XBI4KZM.mjs} +2 -2
- package/dist/cli/{chunk-OHNMJ5XQ.js → chunk-3ZNPIJX6.js} +41 -41
- package/dist/cli/{chunk-6RYVIZRP.mjs → chunk-4DAR2GYV.mjs} +2 -2
- package/dist/cli/{chunk-E554XCJI.js → chunk-63BGKU3A.js} +96 -96
- package/dist/cli/{chunk-OUGJUM5X.mjs → chunk-63MCLOR2.mjs} +6 -6
- package/dist/cli/{chunk-FWSEGIT6.js → chunk-74UO7THC.js} +4 -4
- package/dist/cli/{chunk-ZZDTWVCQ.js → chunk-7PELFO3C.js} +21 -21
- package/dist/cli/{chunk-3F676QXJ.js → chunk-AYNO4VFW.js} +11 -11
- package/dist/cli/{chunk-D7OCORZ7.mjs → chunk-C6TP4DR3.mjs} +1 -1
- package/dist/cli/{chunk-F7IQQYKV.js → chunk-D73YB5NQ.js} +2 -2
- package/dist/cli/{chunk-QAY5AS2H.mjs → chunk-DWV7KM6H.mjs} +10 -10
- package/dist/cli/{chunk-2CFTDVEP.mjs → chunk-DZ7JCRAL.mjs} +2 -2
- package/dist/cli/{chunk-2OY5DXTC.js → chunk-ESVK4Z7S.js} +1 -1
- package/dist/cli/{chunk-YVOS5KSG.mjs → chunk-FRT5MFLF.mjs} +1 -1
- package/dist/cli/{chunk-PRIHD5XS.js → chunk-FXKKFM7J.js} +9 -9
- package/dist/cli/{chunk-GJNIC2CO.mjs → chunk-GRGZKXLL.mjs} +5 -5
- package/dist/cli/{chunk-CHGRURBN.mjs → chunk-IF242BIJ.mjs} +5 -5
- package/dist/cli/{chunk-HINTYT5H.js → chunk-IZZ7FFWP.js} +44 -44
- package/dist/cli/{chunk-MHRR47VQ.js → chunk-J3LJ37WD.js} +3 -3
- package/dist/cli/{chunk-O4DZG4VA.mjs → chunk-JEB6BNIU.mjs} +2 -2
- package/dist/cli/{chunk-AD2WJUZA.js → chunk-JRHMPZJX.js} +7 -7
- package/dist/cli/{chunk-75NAFY36.js → chunk-JUYW6TSU.js} +7 -7
- package/dist/cli/{chunk-2IXXB7OA.mjs → chunk-JXYVBF5L.mjs} +5 -5
- package/dist/cli/{chunk-QP333GFE.js → chunk-JYNHHO3J.js} +6 -6
- package/dist/cli/{chunk-3BFZEHBH.mjs → chunk-K4RME7AV.mjs} +1 -1
- package/dist/cli/{chunk-OPBXKB57.mjs → chunk-KSQO32L5.mjs} +1 -1
- package/dist/cli/{chunk-LRSRJJPD.js → chunk-M37I4A2Z.js} +16 -16
- package/dist/cli/{chunk-YJKKOSXS.js → chunk-N5HRBS4K.js} +3 -3
- package/dist/cli/{chunk-TEMORCEE.mjs → chunk-NC2FIUPX.mjs} +1 -1
- package/dist/cli/{chunk-YWZEBPXK.mjs → chunk-OWH7SSBO.mjs} +2 -2
- package/dist/cli/{chunk-GRESJ3H3.js → chunk-P7GOQTUN.js} +14 -14
- package/dist/cli/{chunk-ONBXTEFQ.mjs → chunk-Q4I5YKN4.mjs} +1 -1
- package/dist/cli/{chunk-BQBPVUFJ.mjs → chunk-QBZECLNG.mjs} +3 -3
- package/dist/cli/{chunk-ZM5BJ5MP.js → chunk-R4S2AK3Q.js} +53 -53
- package/dist/cli/{chunk-XUY7WQ2R.mjs → chunk-RNZQ7RDW.mjs} +2 -2
- package/dist/cli/{chunk-F53SGS3C.js → chunk-RUD77W2Y.js} +5 -5
- package/dist/cli/{chunk-OD6TASBP.js → chunk-RWXHMG6F.js} +8 -8
- package/dist/cli/{chunk-DB54ROPH.js → chunk-TVADI7K5.js} +5 -5
- package/dist/cli/{chunk-YEX6RPUO.mjs → chunk-UDH3YMBI.mjs} +1 -1
- package/dist/cli/{chunk-BJ5OX62J.mjs → chunk-VXNL4HLE.mjs} +5 -5
- package/dist/cli/{chunk-EN7GXLFX.mjs → chunk-XSOLA2ED.mjs} +4 -4
- package/dist/cli/{chunk-5ARG7J7A.js → chunk-ZL2ME3UT.js} +6 -6
- package/dist/cli/{chunk-26DJ4BDY.js → chunk-ZLIAUR2E.js} +2 -2
- package/dist/cli/{csv-ARHQ54HA.mjs → csv-CMJSMC2I.mjs} +4 -4
- package/dist/cli/{csv-7K7LK63Y.js → csv-DPDO6BU6.js} +13 -13
- package/dist/cli/{db-V4Z2I6DY.js → db-PPPKNTT5.js} +27 -27
- package/dist/cli/{db-JBX24NJY.mjs → db-SL3EFN6V.mjs} +6 -6
- package/dist/cli/describe-JKZ67X3E.js +50 -0
- package/dist/cli/{describe-RBDSGSZ7.mjs → describe-XLN33FJX.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-XEZKV5QU.js → executions-6YDTV2J6.js} +8 -8
- package/dist/cli/{executions-BAZEU63W.mjs → executions-O6Z5B5NY.mjs} +6 -6
- package/dist/cli/{feedback-LOERESRU.js → feedback-BZ434BN4.js} +8 -8
- package/dist/cli/{feedback-YDSWBHCO.mjs → feedback-DP7LPWAD.mjs} +4 -4
- package/dist/cli/{git-4Z3W2CQU.mjs → git-MI7E5WGL.mjs} +5 -5
- package/dist/cli/git-U5N6CTML.js +25 -0
- package/dist/cli/index.js +138 -138
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-4QIQPVE5.js → legacy-noops-65WNPQVZ.js} +8 -8
- package/dist/cli/{legacy-noops-E4HH7S5O.mjs → legacy-noops-6VYXF2MG.mjs} +5 -5
- package/dist/cli/{monitors-QBHDSDA7.js → monitors-BYUCTVSC.js} +127 -112
- package/dist/cli/{monitors-FPDW5DDM.mjs → monitors-Y7I5ZVCN.mjs} +34 -19
- package/dist/cli/{org-JO4GGSAH.js → org-F2ASWTFY.js} +72 -72
- package/dist/cli/{org-UCDHIHAD.mjs → org-IW3YD6JZ.mjs} +6 -6
- package/dist/cli/{pages-6V52IZXY.mjs → pages-H2CXNIDB.mjs} +6 -6
- package/dist/cli/{pages-FJAAXAWO.js → pages-X6HLRQNV.js} +18 -18
- package/dist/cli/{play-F3AENS6W.js → play-H2EM7DTI.js} +317 -317
- package/dist/cli/{play-MF4DWROJ.mjs → play-LLEEDXRX.mjs} +18 -18
- package/dist/cli/{providers-XXOQLPX7.js → providers-6R2SPOEV.js} +9 -9
- package/dist/cli/{providers-NJJLTECA.mjs → providers-BZR5JONN.mjs} +6 -6
- package/dist/cli/{quickstart-Z5MSMI7S.mjs → quickstart-KVES7R6D.mjs} +4 -4
- package/dist/cli/{quickstart-JCE3XGQG.js → quickstart-PW7ONQUH.js} +6 -6
- package/dist/cli/{run-X2DNIW3F.js → run-HVUQROBE.js} +41 -41
- package/dist/cli/{run-56UGPIRL.mjs → run-RDI3Q6GO.mjs} +23 -23
- package/dist/cli/{search-SZYI4NBB.mjs → search-3TJ24CUF.mjs} +8 -8
- package/dist/cli/search-NKEEGLY6.js +33 -0
- package/dist/cli/{search-output-7UNT6EMP.js → search-output-JHT553SL.js} +6 -6
- package/dist/cli/{search-output-T35QNZUF.mjs → search-output-Y57OBQXX.mjs} +4 -4
- package/dist/cli/{secrets-Q36VC35L.mjs → secrets-OZK7GRD5.mjs} +6 -6
- package/dist/cli/{secrets-JMUAVIVC.js → secrets-U5JHWAXU.js} +15 -15
- package/dist/cli/{sessions-HG6I3HMY.mjs → sessions-D6DSEQ2T.mjs} +5 -5
- package/dist/cli/{sessions-SUXU7OM7.js → sessions-PNMYAJNB.js} +6 -6
- package/dist/cli/{settings-UIELQ5CV.js → settings-DLPEHYGS.js} +82 -82
- package/dist/cli/{settings-Z76XW4KF.mjs → settings-ITLSLT2R.mjs} +12 -12
- package/dist/cli/{setup-OXNYAOQ4.mjs → setup-XTYLF2CF.mjs} +10 -10
- package/dist/cli/{setup-2L7H5P2O.js → setup-Y5ZYEC6U.js} +50 -50
- package/dist/cli/{skills-XSNLXJGI.mjs → skills-C4WCAVII.mjs} +8 -8
- package/dist/cli/skills-K6FVG3BX.js +37 -0
- package/dist/cli/tools-LSALTN7I.js +57 -0
- package/dist/cli/{tools-SUSFAYFH.mjs → tools-ZESAPVOW.mjs} +17 -17
- package/dist/cli/{update-ENSTG3QO.mjs → update-4PCKVDCS.mjs} +10 -10
- package/dist/cli/update-P5KGNFNL.js +35 -0
- package/dist/cli/{workflow-Z33QE6VT.mjs → workflow-42CL4TVR.mjs} +7 -7
- package/dist/cli/{workflow-FMBZNY4F.js → workflow-XXKXMPTI.js} +17 -17
- package/dist/{client-Cx0420fs.d.ts → client-BlwD-G4v.d.ts} +1 -1
- package/dist/{client-BDbouy3Y.d.mts → client-DMpsMNH9.d.mts} +1 -1
- package/dist/{client-core-CwiVaMZ5.d.mts → client-core-CITtRTbB.d.mts} +27 -8
- package/dist/{client-core-B4hq0-m2.d.ts → client-core-DwBLuEkm.d.ts} +27 -8
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +106 -104
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-MMHG2OFE.js +0 -43
- package/dist/cli/describe-AYXVS6DZ.js +0 -50
- package/dist/cli/git-T6WKO7EA.js +0 -25
- package/dist/cli/search-B753RTKC.js +0 -33
- package/dist/cli/skills-DEVXYGYH.js +0 -37
- package/dist/cli/tools-SCGHABDL.js +0 -57
- package/dist/cli/update-BSIILGO3.js +0 -35
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkJYNHHO3Jjs = require('./chunk-JYNHHO3J.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -10,17 +10,17 @@ var _chunkQP333GFEjs = require('./chunk-QP333GFE.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk7PELFO3Cjs = require('./chunk-7PELFO3C.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
20
|
+
var _chunkZLIAUR2Ejs = require('./chunk-ZLIAUR2E.js');
|
|
21
|
+
require('./chunk-M37I4A2Z.js');
|
|
22
|
+
require('./chunk-D73YB5NQ.js');
|
|
23
|
+
require('./chunk-3ZNPIJX6.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -32,10 +32,10 @@ require('./chunk-OHNMJ5XQ.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkIZZ7FFWPjs = require('./chunk-IZZ7FFWP.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkN5HRBS4Kjs = require('./chunk-N5HRBS4K.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
@@ -43,7 +43,7 @@ var _chunkYJKKOSXSjs = require('./chunk-YJKKOSXS.js');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkP7GOQTUNjs = require('./chunk-P7GOQTUN.js');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -63,7 +63,7 @@ require('./chunk-YGCKMI5P.js');
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
@@ -71,18 +71,18 @@ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
|
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
var
|
|
74
|
+
var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
var
|
|
79
|
+
var _chunk74UO7THCjs = require('./chunk-74UO7THC.js');
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
83
83
|
require('./chunk-XNYIZMNQ.js');
|
|
84
84
|
require('./chunk-DIAWYWT5.js');
|
|
85
|
-
require('./chunk-
|
|
85
|
+
require('./chunk-ESVK4Z7S.js');
|
|
86
86
|
require('./chunk-OG64RBAC.js');
|
|
87
87
|
require('./chunk-RLX5ZFNX.js');
|
|
88
88
|
require('./chunk-COGTRVWW.js');
|
|
@@ -163,56 +163,56 @@ var _os = require('os');
|
|
|
163
163
|
var COMMAND_GROUPS = [
|
|
164
164
|
{
|
|
165
165
|
names: ["auth"],
|
|
166
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
166
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-LFU77QDI.js")))).registerAuthCommands
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
names: ["providers"],
|
|
170
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
170
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-6R2SPOEV.js")))).registerProviderCommands
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
names: ["search"],
|
|
174
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
174
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-NKEEGLY6.js")))).registerSearchCommand
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
names: ["describe"],
|
|
178
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
178
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-JKZ67X3E.js")))).registerDescribeCommand
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
names: ["run"],
|
|
182
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
182
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-HVUQROBE.js")))).registerRunCommand
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
names: ["tools"],
|
|
186
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
186
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-LSALTN7I.js")))).registerToolsCommands
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
names: ["executions"],
|
|
190
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
190
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-6YDTV2J6.js")))).registerExecutionsCommands
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
names: ["plays", "runs"],
|
|
194
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
194
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-H2EM7DTI.js")))).registerPlayCommands
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
names: ["sessions"],
|
|
198
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
198
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-PNMYAJNB.js")))).registerSessionsCommands
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
names: ["workflows"],
|
|
202
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
202
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-XXKXMPTI.js")))).registerWorkflowCommands
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
names: ["pages"],
|
|
206
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-
|
|
206
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-X6HLRQNV.js")))).registerPagesCommands
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
names: ["secrets"],
|
|
210
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
210
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-U5JHWAXU.js")))).registerSecretsCommands
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
names: ["settings", "notifications"],
|
|
214
214
|
load: async () => {
|
|
215
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
215
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-DLPEHYGS.js")));
|
|
216
216
|
return (p) => {
|
|
217
217
|
commands.registerSettingsCommands(p);
|
|
218
218
|
commands.registerNotificationCommands(p);
|
|
@@ -221,51 +221,51 @@ var COMMAND_GROUPS = [
|
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
names: ["billing"],
|
|
224
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
224
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-R2HY2ZVJ.js")))).registerBillingCommands
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
names: ["monitors"],
|
|
228
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
228
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-BYUCTVSC.js")))).registerMonitorsCommands
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
names: ["org"],
|
|
232
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
232
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-F2ASWTFY.js")))).registerOrgCommands
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
names: ["git", "projects", "deployments"],
|
|
236
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
236
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-U5N6CTML.js")))).registerGitCommands
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
names: ["csv"],
|
|
240
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
240
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-DPDO6BU6.js")))).registerCsvCommands
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
names: ["db"],
|
|
244
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
244
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-PPPKNTT5.js")))).registerDbCommands
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
names: ["feedback"],
|
|
248
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
248
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-BZ434BN4.js")))).registerFeedbackCommands
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
names: ["enrich", "session", "backend"],
|
|
252
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
252
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-65WNPQVZ.js")))).registerDeprecatedCommands
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
names: ["update"],
|
|
256
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
256
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-P5KGNFNL.js")))).registerUpdateCommand
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
names: ["skills", "skills-auto-sync"],
|
|
260
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
260
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-K6FVG3BX.js")))).registerSkillsCommand
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
names: ["setup", "doctor"],
|
|
264
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
264
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-Y5ZYEC6U.js")))).registerSetupCommands
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
names: ["quickstart"],
|
|
268
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
268
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-PW7ONQUH.js")))).registerQuickstartCommands
|
|
269
269
|
}
|
|
270
270
|
];
|
|
271
271
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -291,8 +291,8 @@ function registerDeeplineInlineCommands(program) {
|
|
|
291
291
|
function createDeferredPlayRunMaintenance(input) {
|
|
292
292
|
return async () => {
|
|
293
293
|
try {
|
|
294
|
-
const skillsVersion =
|
|
295
|
-
const compatibility = await
|
|
294
|
+
const skillsVersion = _chunkJ3LJ37WDjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
295
|
+
const compatibility = await _chunkZLIAUR2Ejs.traceCliSpan.call(void 0,
|
|
296
296
|
"cli.sdk_compatibility_deferred",
|
|
297
297
|
{
|
|
298
298
|
baseUrl: input.baseUrl,
|
|
@@ -300,24 +300,24 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
300
300
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
301
301
|
},
|
|
302
302
|
async () => {
|
|
303
|
-
const trusted =
|
|
303
|
+
const trusted = _chunkIZZ7FFWPjs.readTrustedCleanCompatibility.call(void 0,
|
|
304
304
|
input.baseUrl,
|
|
305
305
|
"plays run",
|
|
306
306
|
skillsVersion
|
|
307
307
|
);
|
|
308
308
|
if (trusted) return { response: trusted, error: null };
|
|
309
|
-
return
|
|
309
|
+
return _chunkIZZ7FFWPjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
310
310
|
command: "plays run",
|
|
311
311
|
skillsVersion,
|
|
312
312
|
persistCache: input.policy !== "off",
|
|
313
|
-
catalog:
|
|
313
|
+
catalog: _chunk7PELFO3Cjs.compatibilityCatalog.call(void 0, input.command)
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
if (compatibility.error || !compatibility.response) return;
|
|
318
318
|
const automaticUpdate = compatibility.response.auto_update;
|
|
319
319
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
320
|
-
await
|
|
320
|
+
await _chunk7PELFO3Cjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
321
321
|
compatibility.response,
|
|
322
322
|
input.baseUrl,
|
|
323
323
|
input.policy
|
|
@@ -327,7 +327,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
327
327
|
compatibility.response,
|
|
328
328
|
"skills"
|
|
329
329
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
330
|
-
await
|
|
330
|
+
await _chunkIZZ7FFWPjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
331
331
|
update: skillsUpdate,
|
|
332
332
|
mode: "detached"
|
|
333
333
|
});
|
|
@@ -355,7 +355,7 @@ var MAX_SESSIONS = 20;
|
|
|
355
355
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
356
356
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
357
357
|
}
|
|
358
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
358
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunk74UO7THCjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
359
359
|
const explicit = _chunkGDHLL5EQjs.helpDetailFromArgv.call(void 0, argv);
|
|
360
360
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
361
361
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
@@ -453,7 +453,7 @@ function shouldReport(stdout, stderr) {
|
|
|
453
453
|
}
|
|
454
454
|
function toolName(action) {
|
|
455
455
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
456
|
-
return typeof toolId === "string" ?
|
|
456
|
+
return typeof toolId === "string" ? _chunkP7GOQTUNjs.redactFailureText.call(void 0, toolId) : null;
|
|
457
457
|
}
|
|
458
458
|
function chunkText(chunk) {
|
|
459
459
|
if (typeof chunk === "string") return chunk;
|
|
@@ -484,14 +484,14 @@ function watch(stream) {
|
|
|
484
484
|
}
|
|
485
485
|
async function postCommandOutput(body) {
|
|
486
486
|
try {
|
|
487
|
-
const baseUrl =
|
|
488
|
-
const apiKey =
|
|
487
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
488
|
+
const apiKey = _chunkJ3LJ37WDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
489
489
|
if (!apiKey) return;
|
|
490
|
-
const agentSessionId =
|
|
490
|
+
const agentSessionId = _chunk74UO7THCjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
491
491
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
492
492
|
method: "POST",
|
|
493
493
|
headers: {
|
|
494
|
-
...
|
|
494
|
+
..._chunkP7GOQTUNjs.failureReportHeaders.call(void 0, apiKey),
|
|
495
495
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
496
496
|
},
|
|
497
497
|
body: JSON.stringify(body),
|
|
@@ -507,14 +507,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
507
507
|
const stdoutWatch = watch(streams.stdout);
|
|
508
508
|
const stderrWatch = watch(streams.stderr);
|
|
509
509
|
return async (finished) => {
|
|
510
|
-
if (
|
|
510
|
+
if (_chunkP7GOQTUNjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
511
511
|
const [stdout, stderr] = await Promise.all([
|
|
512
512
|
stdoutWatch.settled(),
|
|
513
513
|
stderrWatch.settled()
|
|
514
514
|
]);
|
|
515
515
|
if (!shouldReport(stdout, stderr)) return;
|
|
516
516
|
await postCommandOutput({
|
|
517
|
-
command:
|
|
517
|
+
command: _chunkP7GOQTUNjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
518
518
|
tool: toolName(finished.action),
|
|
519
519
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
520
520
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -545,7 +545,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
545
545
|
function printUsageErrorJson(code, message, commandPath) {
|
|
546
546
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
547
547
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
548
|
-
|
|
548
|
+
_chunkJUYW6TSUjs.printJson.call(void 0, {
|
|
549
549
|
ok: false,
|
|
550
550
|
error: {
|
|
551
551
|
code,
|
|
@@ -603,7 +603,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
603
603
|
);
|
|
604
604
|
}
|
|
605
605
|
async function runPlayRunnerHealthCheck() {
|
|
606
|
-
|
|
606
|
+
_chunkJ3LJ37WDjs.resolveConfig.call(void 0, );
|
|
607
607
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
608
608
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
609
609
|
try {
|
|
@@ -633,7 +633,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
633
633
|
});
|
|
634
634
|
let exitCode = 1;
|
|
635
635
|
try {
|
|
636
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
636
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-H2EM7DTI.js")));
|
|
637
637
|
exitCode = await handlePlayRun([
|
|
638
638
|
file,
|
|
639
639
|
"--input",
|
|
@@ -673,7 +673,7 @@ function preflightErrorMessage(error) {
|
|
|
673
673
|
return error instanceof Error ? error.message : String(error);
|
|
674
674
|
}
|
|
675
675
|
async function runPreflightCheck() {
|
|
676
|
-
const baseUrl =
|
|
676
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
677
677
|
const healthController = new AbortController();
|
|
678
678
|
const healthTimeout = setTimeout(
|
|
679
679
|
() => healthController.abort(),
|
|
@@ -690,14 +690,14 @@ async function runPreflightCheck() {
|
|
|
690
690
|
}).catch((error) => ({
|
|
691
691
|
status: "unreachable",
|
|
692
692
|
version: null,
|
|
693
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
693
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunk74UO7THCjs.connectionFailureMessage.call(void 0,
|
|
694
694
|
baseUrl,
|
|
695
695
|
error instanceof Error ? error : new Error(String(error))
|
|
696
696
|
)
|
|
697
697
|
})).finally(() => clearTimeout(healthTimeout));
|
|
698
|
-
const apiKey =
|
|
699
|
-
const http = apiKey ? new (0,
|
|
700
|
-
|
|
698
|
+
const apiKey = _chunkJ3LJ37WDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
699
|
+
const http = apiKey ? new (0, _chunkJ3LJ37WDjs.HttpClient)(
|
|
700
|
+
_chunkJ3LJ37WDjs.resolveConfig.call(void 0, {
|
|
701
701
|
baseUrl,
|
|
702
702
|
apiKey,
|
|
703
703
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -742,7 +742,7 @@ async function runPreflightCheck() {
|
|
|
742
742
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
743
743
|
return {
|
|
744
744
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
745
|
-
cli_version:
|
|
745
|
+
cli_version: _chunk74UO7THCjs.SDK_VERSION,
|
|
746
746
|
host: baseUrl,
|
|
747
747
|
health: {
|
|
748
748
|
status: healthResult.status,
|
|
@@ -769,7 +769,7 @@ async function runPreflightCheck() {
|
|
|
769
769
|
{
|
|
770
770
|
title: "preflight",
|
|
771
771
|
lines: [
|
|
772
|
-
`cli: ${
|
|
772
|
+
`cli: ${_chunk74UO7THCjs.SDK_VERSION}`,
|
|
773
773
|
`host: ${baseUrl}`,
|
|
774
774
|
`health: ${healthResult.status}`,
|
|
775
775
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -796,12 +796,12 @@ function printPreflightHuman(data) {
|
|
|
796
796
|
}
|
|
797
797
|
async function newerCliCommandHint(baseUrl, command) {
|
|
798
798
|
if (!command.trim()) return null;
|
|
799
|
-
const { response, error } = await
|
|
799
|
+
const { response, error } = await _chunkIZZ7FFWPjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
800
800
|
if (error || !response) return null;
|
|
801
801
|
const introduced = response.command_introduced_in;
|
|
802
802
|
if (introduced) {
|
|
803
803
|
return [
|
|
804
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
804
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunk74UO7THCjs.SDK_VERSION}.`,
|
|
805
805
|
` ${introduced.reason}`,
|
|
806
806
|
` Update with: ${response.update_command}`,
|
|
807
807
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -810,32 +810,32 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
810
810
|
if (!response.update_required) return null;
|
|
811
811
|
return [
|
|
812
812
|
response.message,
|
|
813
|
-
` Installed: ${
|
|
813
|
+
` Installed: ${_chunk74UO7THCjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
814
814
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
815
815
|
].join("\n");
|
|
816
816
|
}
|
|
817
817
|
async function runMain(ensureTransport, onAction) {
|
|
818
818
|
const mainStartedAt = Date.now();
|
|
819
|
-
|
|
819
|
+
_chunkJUYW6TSUjs.installJsonStderrGuard.call(void 0, );
|
|
820
820
|
let rootHelpStatus = "";
|
|
821
821
|
let commandFailed = false;
|
|
822
822
|
const deferredMaintenance = { inlinePlay: null };
|
|
823
|
-
|
|
823
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
824
824
|
phase: "cli.main_start",
|
|
825
825
|
argv: process.argv.slice(2)
|
|
826
826
|
});
|
|
827
827
|
const printStartupPhase = shouldPrintStartupPhase();
|
|
828
|
-
const progress = printStartupPhase ?
|
|
828
|
+
const progress = printStartupPhase ? _chunkN5HRBS4Kjs.createCliProgress.call(void 0, true) : null;
|
|
829
829
|
if (printStartupPhase) {
|
|
830
830
|
_optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
|
|
831
831
|
}
|
|
832
832
|
const program = new (0, _commander.Command)();
|
|
833
833
|
program.name("deepline").description(
|
|
834
834
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
835
|
-
).version(
|
|
835
|
+
).version(_chunk74UO7THCjs.SDK_VERSION, "-v, --version", "Show version").option(
|
|
836
836
|
"--maintenance <policy>",
|
|
837
837
|
"Installation maintenance: configured preferences or off; independent of output format",
|
|
838
|
-
|
|
838
|
+
_chunkZLIAUR2Ejs.parseCliMaintenancePolicy,
|
|
839
839
|
"configured"
|
|
840
840
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
841
841
|
"beforeAll",
|
|
@@ -894,23 +894,23 @@ Exit codes:
|
|
|
894
894
|
path: compatibilityCommand,
|
|
895
895
|
args: actionCommand.processedArgs
|
|
896
896
|
});
|
|
897
|
-
const maintenance =
|
|
897
|
+
const maintenance = _chunkZLIAUR2Ejs.resolveCliMaintenancePolicy.call(void 0,
|
|
898
898
|
actionCommand.optsWithGlobals()
|
|
899
899
|
);
|
|
900
900
|
if (actionCommand.name() !== "version") {
|
|
901
901
|
await ensureTransport();
|
|
902
902
|
}
|
|
903
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
903
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkIZZ7FFWPjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation()) {
|
|
904
904
|
return;
|
|
905
905
|
}
|
|
906
906
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
907
907
|
if (isToolExecuteCommand) {
|
|
908
|
-
|
|
908
|
+
_chunk7PELFO3Cjs.beginToolExecuteCommand.call(void 0, );
|
|
909
909
|
}
|
|
910
910
|
if (isToolExecuteCommand) {
|
|
911
|
-
const baseUrl =
|
|
912
|
-
if (maintenance !== "off")
|
|
913
|
-
|
|
911
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
912
|
+
if (maintenance !== "off") _chunkIZZ7FFWPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
913
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
914
914
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
915
915
|
baseUrl,
|
|
916
916
|
command: compatibilityCommand
|
|
@@ -918,9 +918,9 @@ Exit codes:
|
|
|
918
918
|
return;
|
|
919
919
|
}
|
|
920
920
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
921
|
-
if (!playDryRun &&
|
|
921
|
+
if (!playDryRun && _chunkJYNHHO3Jjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
922
922
|
if (maintenance !== "off") {
|
|
923
|
-
const baseUrl =
|
|
923
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
924
924
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
925
925
|
baseUrl,
|
|
926
926
|
command: actionCommand,
|
|
@@ -929,27 +929,27 @@ Exit codes:
|
|
|
929
929
|
}
|
|
930
930
|
return;
|
|
931
931
|
}
|
|
932
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
932
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
933
933
|
if (printStartupPhase) {
|
|
934
934
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
935
935
|
}
|
|
936
936
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
937
|
-
const baseUrl =
|
|
938
|
-
if (maintenance !== "off")
|
|
937
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
938
|
+
if (maintenance !== "off") _chunkIZZ7FFWPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
939
939
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
940
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
941
|
-
const trusted = isToolExecuteCommand ? null :
|
|
940
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkJ3LJ37WDjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
941
|
+
const trusted = isToolExecuteCommand ? null : _chunkIZZ7FFWPjs.readTrustedCleanCompatibility.call(void 0,
|
|
942
942
|
baseUrl,
|
|
943
943
|
compatibilityCommand,
|
|
944
944
|
skillsVersion
|
|
945
945
|
);
|
|
946
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
946
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkIZZ7FFWPjs.readFreshCleanCompatibility.call(void 0,
|
|
947
947
|
baseUrl,
|
|
948
948
|
compatibilityCommand,
|
|
949
949
|
skillsVersion
|
|
950
950
|
) !== null;
|
|
951
951
|
if (trusted) {
|
|
952
|
-
|
|
952
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
953
953
|
phase: "cli.sdk_compatibility",
|
|
954
954
|
ms: 0,
|
|
955
955
|
ok: true,
|
|
@@ -959,7 +959,7 @@ Exit codes:
|
|
|
959
959
|
source: "trusted_cache"
|
|
960
960
|
});
|
|
961
961
|
}
|
|
962
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
962
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkZLIAUR2Ejs.traceCliSpan.call(void 0,
|
|
963
963
|
"cli.sdk_compatibility",
|
|
964
964
|
{
|
|
965
965
|
baseUrl,
|
|
@@ -967,12 +967,12 @@ Exit codes:
|
|
|
967
967
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
968
968
|
fastDeadline
|
|
969
969
|
},
|
|
970
|
-
() =>
|
|
970
|
+
() => _chunkIZZ7FFWPjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
971
971
|
command: compatibilityCommand,
|
|
972
972
|
skillsVersion,
|
|
973
973
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
974
|
-
catalog:
|
|
975
|
-
...fastDeadline ? { timeoutMs:
|
|
974
|
+
catalog: _chunk7PELFO3Cjs.compatibilityCatalog.call(void 0, actionCommand),
|
|
975
|
+
...fastDeadline ? { timeoutMs: _chunkIZZ7FFWPjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
976
976
|
})
|
|
977
977
|
);
|
|
978
978
|
if (compatibility.error) {
|
|
@@ -983,7 +983,7 @@ Exit codes:
|
|
|
983
983
|
response: null
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
|
-
const relaunched = await
|
|
986
|
+
const relaunched = await _chunk7PELFO3Cjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
987
987
|
compatibility.response,
|
|
988
988
|
baseUrl,
|
|
989
989
|
maintenance
|
|
@@ -997,14 +997,14 @@ Exit codes:
|
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
999
|
const policy = compatibility.response;
|
|
1000
|
-
const jsonOutput =
|
|
1001
|
-
|
|
1000
|
+
const jsonOutput = _chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, );
|
|
1001
|
+
_chunkIZZ7FFWPjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
1002
1002
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
1003
|
-
|
|
1003
|
+
_chunk7PELFO3Cjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkIZZ7FFWPjs.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
1004
1004
|
});
|
|
1005
1005
|
const advisory = compatibility.response;
|
|
1006
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
1007
|
-
|
|
1006
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkIZZ7FFWPjs.isCiEnvironment.call(void 0, ) && !_chunk7PELFO3Cjs.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1007
|
+
_chunkJUYW6TSUjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
1008
1008
|
}
|
|
1009
1009
|
return {
|
|
1010
1010
|
shouldContinue: true,
|
|
@@ -1021,10 +1021,10 @@ Exit codes:
|
|
|
1021
1021
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
1022
1022
|
await runStartupStage(
|
|
1023
1023
|
"agent skills sync",
|
|
1024
|
-
() =>
|
|
1024
|
+
() => _chunkZLIAUR2Ejs.traceCliSpan.call(void 0,
|
|
1025
1025
|
"cli.sdk_skills_sync",
|
|
1026
1026
|
{ baseUrl: startup.baseUrl },
|
|
1027
|
-
() =>
|
|
1027
|
+
() => _chunkIZZ7FFWPjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1028
1028
|
update: skillsUpdate,
|
|
1029
1029
|
mode: "detached"
|
|
1030
1030
|
})
|
|
@@ -1036,16 +1036,16 @@ Exit codes:
|
|
|
1036
1036
|
program,
|
|
1037
1037
|
process.argv.slice(2)
|
|
1038
1038
|
);
|
|
1039
|
-
const commandRegistrationStartedAt =
|
|
1039
|
+
const commandRegistrationStartedAt = _chunkZLIAUR2Ejs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1040
1040
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1041
1041
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1042
|
-
|
|
1042
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
1043
1043
|
phase: "cli.command_registration",
|
|
1044
1044
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1045
1045
|
});
|
|
1046
1046
|
}
|
|
1047
1047
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1048
|
-
if (
|
|
1048
|
+
if (_chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1049
1049
|
preflight.addHelpText(
|
|
1050
1050
|
"after",
|
|
1051
1051
|
`
|
|
@@ -1061,8 +1061,8 @@ Examples:
|
|
|
1061
1061
|
`
|
|
1062
1062
|
).action(async (options) => {
|
|
1063
1063
|
const data = await runPreflightCheck();
|
|
1064
|
-
if (
|
|
1065
|
-
|
|
1064
|
+
if (_chunkJUYW6TSUjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1065
|
+
_chunkJUYW6TSUjs.printJson.call(void 0, data);
|
|
1066
1066
|
} else {
|
|
1067
1067
|
printPreflightHuman(data);
|
|
1068
1068
|
}
|
|
@@ -1087,7 +1087,7 @@ Examples:
|
|
|
1087
1087
|
).action(async (options) => {
|
|
1088
1088
|
if (options.playRunner) {
|
|
1089
1089
|
const data = await runPlayRunnerHealthCheck();
|
|
1090
|
-
|
|
1090
|
+
_chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, data, {
|
|
1091
1091
|
json: options.json,
|
|
1092
1092
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1093
1093
|
`
|
|
@@ -1095,15 +1095,15 @@ Examples:
|
|
|
1095
1095
|
return;
|
|
1096
1096
|
}
|
|
1097
1097
|
try {
|
|
1098
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1099
|
-
const baseUrl =
|
|
1098
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-LFU77QDI.js")));
|
|
1099
|
+
const baseUrl = _chunkJ3LJ37WDjs.resolveBaseUrlOnly.call(void 0, );
|
|
1100
1100
|
const [{ status, data }, banner] = await Promise.all([
|
|
1101
1101
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1102
1102
|
readStatusBanner(baseUrl)
|
|
1103
1103
|
]);
|
|
1104
1104
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1105
1105
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1106
|
-
|
|
1106
|
+
_chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
|
|
1107
1107
|
{ ...data, status_banner: banner },
|
|
1108
1108
|
{
|
|
1109
1109
|
json: options.json,
|
|
@@ -1131,16 +1131,16 @@ Examples:
|
|
|
1131
1131
|
`
|
|
1132
1132
|
).action((options) => {
|
|
1133
1133
|
if (options.json) {
|
|
1134
|
-
|
|
1134
|
+
_chunkJUYW6TSUjs.printCompactJson.call(void 0, { version: _chunk74UO7THCjs.SDK_VERSION });
|
|
1135
1135
|
return;
|
|
1136
1136
|
}
|
|
1137
|
-
process.stdout.write(`deepline ${
|
|
1137
|
+
process.stdout.write(`deepline ${_chunk74UO7THCjs.SDK_VERSION}
|
|
1138
1138
|
`);
|
|
1139
1139
|
});
|
|
1140
1140
|
if (process.argv.slice(2).length === 0) {
|
|
1141
1141
|
program.outputHelp({ error: true });
|
|
1142
1142
|
console.error("\nerror: missing command (see usage above)");
|
|
1143
|
-
|
|
1143
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
1144
1144
|
phase: "cli.main_total",
|
|
1145
1145
|
ms: Date.now() - mainStartedAt,
|
|
1146
1146
|
ok: false,
|
|
@@ -1152,16 +1152,16 @@ Examples:
|
|
|
1152
1152
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1153
1153
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1154
1154
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1155
|
-
if (!
|
|
1156
|
-
const baseUrl =
|
|
1155
|
+
if (!_chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1156
|
+
const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, );
|
|
1157
1157
|
await ensureTransport();
|
|
1158
1158
|
const versionHint = await newerCliCommandHint(
|
|
1159
1159
|
baseUrl,
|
|
1160
1160
|
requestedTopLevelCommand
|
|
1161
1161
|
);
|
|
1162
|
-
if (
|
|
1162
|
+
if (_chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, )) {
|
|
1163
1163
|
if (versionHint) {
|
|
1164
|
-
|
|
1164
|
+
_chunkJUYW6TSUjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1165
1165
|
}
|
|
1166
1166
|
printUsageErrorJson(
|
|
1167
1167
|
"commander.unknownCommand",
|
|
@@ -1183,18 +1183,18 @@ Examples:
|
|
|
1183
1183
|
const helpArgs = process.argv.slice(2);
|
|
1184
1184
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1185
1185
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1186
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1187
|
-
rootHelpStatus = `Version: ${
|
|
1186
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-LFU77QDI.js")));
|
|
1187
|
+
rootHelpStatus = `Version: ${_chunk74UO7THCjs.SDK_VERSION}
|
|
1188
1188
|
${await authStatusLine()}
|
|
1189
1189
|
`;
|
|
1190
1190
|
}
|
|
1191
1191
|
await program.parseAsync(process.argv);
|
|
1192
|
-
|
|
1192
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
1193
1193
|
phase: "cli.main_total",
|
|
1194
1194
|
ms: Date.now() - mainStartedAt,
|
|
1195
1195
|
ok: true
|
|
1196
1196
|
});
|
|
1197
|
-
await
|
|
1197
|
+
await _chunkP7GOQTUNjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1198
1198
|
argv: process.argv.slice(2),
|
|
1199
1199
|
startedAtMs: mainStartedAt,
|
|
1200
1200
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
@@ -1202,14 +1202,14 @@ ${await authStatusLine()}
|
|
|
1202
1202
|
} catch (error) {
|
|
1203
1203
|
commandFailed = true;
|
|
1204
1204
|
const commanderError = asCommanderError(error);
|
|
1205
|
-
|
|
1205
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
1206
1206
|
phase: "cli.main_total",
|
|
1207
1207
|
ms: Date.now() - mainStartedAt,
|
|
1208
1208
|
ok: false,
|
|
1209
1209
|
error: error instanceof Error ? error.message : String(error)
|
|
1210
1210
|
});
|
|
1211
1211
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1212
|
-
const wantsJson =
|
|
1212
|
+
const wantsJson = _chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, );
|
|
1213
1213
|
if (commanderError) {
|
|
1214
1214
|
const grammarError = [
|
|
1215
1215
|
"commander.unknownCommand",
|
|
@@ -1220,12 +1220,12 @@ ${await authStatusLine()}
|
|
|
1220
1220
|
if (grammarError) {
|
|
1221
1221
|
await ensureTransport();
|
|
1222
1222
|
const versionHint = await newerCliCommandHint(
|
|
1223
|
-
|
|
1223
|
+
_chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ),
|
|
1224
1224
|
commandPath
|
|
1225
1225
|
);
|
|
1226
1226
|
if (wantsJson) {
|
|
1227
1227
|
if (versionHint) {
|
|
1228
|
-
|
|
1228
|
+
_chunkJUYW6TSUjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1229
1229
|
}
|
|
1230
1230
|
} else {
|
|
1231
1231
|
if (versionHint) console.error(versionHint);
|
|
@@ -1245,55 +1245,55 @@ ${await authStatusLine()}
|
|
|
1245
1245
|
return;
|
|
1246
1246
|
} else if (wantsJson) {
|
|
1247
1247
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1248
|
-
|
|
1248
|
+
_chunkJUYW6TSUjs.addJsonNotice.call(void 0, {
|
|
1249
1249
|
code: "auth_required",
|
|
1250
1250
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1251
1251
|
});
|
|
1252
1252
|
}
|
|
1253
|
-
const providerConcurrency =
|
|
1253
|
+
const providerConcurrency = _chunkJUYW6TSUjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1254
1254
|
if (providerConcurrency) {
|
|
1255
|
-
|
|
1255
|
+
_chunkJUYW6TSUjs.addJsonNotice.call(void 0, {
|
|
1256
1256
|
code: "provider_concurrency",
|
|
1257
1257
|
message: providerConcurrency
|
|
1258
1258
|
});
|
|
1259
1259
|
}
|
|
1260
|
-
const payload =
|
|
1261
|
-
|
|
1260
|
+
const payload = _chunkJUYW6TSUjs.errorToJsonPayload.call(void 0, error);
|
|
1261
|
+
_chunkJUYW6TSUjs.printJson.call(void 0, {
|
|
1262
1262
|
...payload,
|
|
1263
1263
|
// The envelope names the code the process exits with, so a caller
|
|
1264
1264
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1265
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1265
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkP7GOQTUNjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1266
1266
|
...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1267
1267
|
});
|
|
1268
1268
|
} else if (error instanceof Error) {
|
|
1269
1269
|
console.error(`Error: ${error.message}`);
|
|
1270
|
-
const toolDiagnostic =
|
|
1270
|
+
const toolDiagnostic = _chunkJUYW6TSUjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1271
1271
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1272
1272
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1273
1273
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1274
1274
|
}
|
|
1275
|
-
const providerConcurrency =
|
|
1275
|
+
const providerConcurrency = _chunkJUYW6TSUjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1276
1276
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1277
1277
|
} else {
|
|
1278
1278
|
console.error(`Error: ${String(error)}`);
|
|
1279
1279
|
}
|
|
1280
1280
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1281
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1281
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkP7GOQTUNjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1282
1282
|
process.exitCode = failureExitCode;
|
|
1283
|
-
await
|
|
1283
|
+
await _chunkP7GOQTUNjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1284
1284
|
argv: process.argv.slice(2),
|
|
1285
1285
|
startedAtMs: mainStartedAt,
|
|
1286
1286
|
exitCode: failureExitCode,
|
|
1287
1287
|
error
|
|
1288
1288
|
});
|
|
1289
1289
|
} finally {
|
|
1290
|
-
|
|
1290
|
+
_chunk7PELFO3Cjs.finishToolExecuteCommand.call(void 0, );
|
|
1291
1291
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1292
1292
|
deferredMaintenance.inlinePlay = null;
|
|
1293
1293
|
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1294
1294
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1295
1295
|
}
|
|
1296
|
-
await
|
|
1296
|
+
await _chunk7PELFO3Cjs.runDeferredAutoUpdate.call(void 0, );
|
|
1297
1297
|
}
|
|
1298
1298
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1299
1299
|
}
|
|
@@ -1301,7 +1301,7 @@ async function main() {
|
|
|
1301
1301
|
let disposeTransport;
|
|
1302
1302
|
const ensureTransport = async () => {
|
|
1303
1303
|
if (disposeTransport) return;
|
|
1304
|
-
const transportStartedAt =
|
|
1304
|
+
const transportStartedAt = _chunkZLIAUR2Ejs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1305
1305
|
const hasProxy = [
|
|
1306
1306
|
"HTTP_PROXY",
|
|
1307
1307
|
"http_proxy",
|
|
@@ -1313,7 +1313,7 @@ async function main() {
|
|
|
1313
1313
|
disposeTransport = configureCliTransport();
|
|
1314
1314
|
}
|
|
1315
1315
|
if (transportStartedAt !== void 0) {
|
|
1316
|
-
|
|
1316
|
+
_chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
|
|
1317
1317
|
phase: "cli.transport_setup",
|
|
1318
1318
|
ms: performance.now() - transportStartedAt
|
|
1319
1319
|
});
|
|
@@ -1330,9 +1330,9 @@ async function main() {
|
|
|
1330
1330
|
action = dispatched;
|
|
1331
1331
|
skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
|
|
1332
1332
|
});
|
|
1333
|
-
const silentFailure =
|
|
1333
|
+
const silentFailure = _chunkJUYW6TSUjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1334
1334
|
if (silentFailure) {
|
|
1335
|
-
|
|
1335
|
+
_chunkJUYW6TSUjs.printJson.call(void 0, {
|
|
1336
1336
|
ok: false,
|
|
1337
1337
|
exitCode: Number(process.exitCode),
|
|
1338
1338
|
error: { code: "CLI_ERROR", message: silentFailure }
|