deepline 0.3.541 → 0.3.542
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/sdk/src/types.ts +7 -1
- package/dist/cli/auth-2PH6RSKL.js +43 -0
- package/dist/cli/{auth-WJXA7XGM.mjs → auth-IGBGOB4E.mjs} +5 -5
- package/dist/cli/{billing-34IV5DSV.js → billing-IB2TWE74.js} +92 -92
- package/dist/cli/{billing-SHS4HMWT.mjs → billing-N37W2I62.mjs} +8 -8
- package/dist/cli/{chunk-7AUQSK24.mjs → chunk-2VRKBHMD.mjs} +1 -1
- package/dist/cli/{chunk-RYYGNUNO.mjs → chunk-2ZGSHVZE.mjs} +2 -2
- package/dist/cli/{chunk-WZMG2M65.mjs → chunk-3LEUSRV3.mjs} +4 -4
- package/dist/cli/{chunk-MPYM6TUO.js → chunk-3XXXMSSP.js} +44 -44
- package/dist/cli/{chunk-5LNWLEO3.mjs → chunk-46V7QSJE.mjs} +2 -2
- package/dist/cli/{chunk-323I5KQ5.js → chunk-4I47NCRI.js} +8 -8
- package/dist/cli/{chunk-LRPFCB2P.mjs → chunk-5APOJWJF.mjs} +1 -1
- package/dist/cli/{chunk-FYQWTENQ.js → chunk-5CAVURVS.js} +53 -53
- package/dist/cli/{chunk-CNBPATLI.js → chunk-6SLEHAXX.js} +5 -5
- package/dist/cli/{chunk-FTKX7OGB.mjs → chunk-6WQDHEVF.mjs} +5 -5
- package/dist/cli/{chunk-JZNKEHXQ.mjs → chunk-ACVTMAW4.mjs} +2 -2
- package/dist/cli/{chunk-UXXFCOE3.js → chunk-AKY7KZRJ.js} +6 -6
- package/dist/cli/{chunk-S6FF7Q5P.js → chunk-AUFE624T.js} +10 -10
- package/dist/cli/{chunk-6TZEDCN7.js → chunk-AWLPERL3.js} +3 -3
- package/dist/cli/{chunk-DF7ARQRB.mjs → chunk-B5NP3SHX.mjs} +2 -2
- package/dist/cli/{chunk-KIYETQ6K.js → chunk-CFZCRM6R.js} +26 -26
- package/dist/cli/{chunk-UKO6POLZ.js → chunk-D44DP4KJ.js} +9 -9
- package/dist/cli/{chunk-OK4JMVTM.js → chunk-D7GWEBMF.js} +7 -7
- package/dist/cli/{chunk-XO2SGONT.mjs → chunk-DADH3WPE.mjs} +2 -2
- package/dist/cli/{chunk-CY5LW6DW.js → chunk-DMXLZ57N.js} +2 -2
- package/dist/cli/{chunk-WIV3E6Y7.js → chunk-DNGACHFX.js} +22 -22
- package/dist/cli/{chunk-ZD673XAL.js → chunk-E7B73LGT.js} +19 -19
- package/dist/cli/{chunk-NB4AIXEA.mjs → chunk-EGOCGWCI.mjs} +3 -3
- package/dist/cli/{chunk-M6XIKHBS.js → chunk-EHLCWGWN.js} +4 -4
- package/dist/cli/{chunk-XTR32PMA.mjs → chunk-FFDZT255.mjs} +1 -1
- package/dist/cli/{chunk-FVZ5Y5L6.js → chunk-FGGPCAGC.js} +15 -15
- package/dist/cli/{chunk-53QZ24DP.mjs → chunk-FX4OWXKK.mjs} +2 -2
- package/dist/cli/{chunk-Q66ADD4O.js → chunk-GM73TZ2W.js} +41 -41
- package/dist/cli/{chunk-S7NKIEHL.js → chunk-HAITCPCG.js} +16 -16
- package/dist/cli/{chunk-GLINYHY7.mjs → chunk-I5EAIFGO.mjs} +1 -1
- package/dist/cli/{chunk-BUCTWJBM.js → chunk-JPT6VE54.js} +2 -2
- package/dist/cli/{chunk-F3TLGM2U.js → chunk-LFMQVSEI.js} +5 -5
- package/dist/cli/{chunk-C2LYJ3EX.js → chunk-NDNEARE3.js} +13 -13
- package/dist/cli/{chunk-ABDXKELH.mjs → chunk-NLZHLEHD.mjs} +5 -5
- package/dist/cli/{chunk-DHC7EGI7.mjs → chunk-ORA5TMML.mjs} +5 -5
- package/dist/cli/{chunk-6PJAC3P5.mjs → chunk-P4MDTBAA.mjs} +1 -1
- package/dist/cli/{chunk-UC5QFQGC.mjs → chunk-PLIKPGOO.mjs} +5 -5
- package/dist/cli/{chunk-2TAGAPLL.js → chunk-Q7WDXLYO.js} +2 -2
- package/dist/cli/{chunk-VMIIUMAN.mjs → chunk-QONO7FRF.mjs} +1 -1
- package/dist/cli/{chunk-5N4ENMYE.js → chunk-QXNOSCYL.js} +1 -1
- package/dist/cli/{chunk-ECPCZVDM.mjs → chunk-SCLP5H4P.mjs} +1 -1
- package/dist/cli/{chunk-ZL2DER5D.mjs → chunk-SWO5QOXB.mjs} +1 -1
- package/dist/cli/{chunk-FRPJSFNL.mjs → chunk-TT4JUUC3.mjs} +2 -2
- package/dist/cli/{chunk-IZXMX65M.js → chunk-TTBHOMAA.js} +107 -107
- package/dist/cli/{chunk-FOCNY4GV.js → chunk-VHJUH3TB.js} +3 -3
- package/dist/cli/{chunk-H74CLEMB.mjs → chunk-WACIN4PR.mjs} +3 -3
- package/dist/cli/{chunk-POZPEDW7.js → chunk-WL2GUGNZ.js} +5 -5
- package/dist/cli/{chunk-QI76LGE3.mjs → chunk-YK7NNZD4.mjs} +10 -10
- package/dist/cli/{chunk-AU7ZKXW5.mjs → chunk-Z5YRKX7K.mjs} +1 -1
- package/dist/cli/{chunk-BMNLD63A.mjs → chunk-ZVNYBQ77.mjs} +4 -4
- package/dist/cli/concurrent-runs-help-BNIDBKML.js +21 -0
- package/dist/cli/{concurrent-runs-help-ZJ77SAEU.mjs → concurrent-runs-help-DIBGMEIN.mjs} +6 -6
- package/dist/cli/{csv-PX7F5YJN.mjs → csv-CAVA3EMS.mjs} +4 -4
- package/dist/cli/{csv-MJLIZZOR.js → csv-XZAM7EYZ.js} +13 -13
- package/dist/cli/{db-KPKGTHPA.mjs → db-HD332QI7.mjs} +6 -6
- package/dist/cli/{db-BNCNAY4G.js → db-PPGEOBNG.js} +27 -27
- package/dist/cli/describe-5TFFB2PM.js +49 -0
- package/dist/cli/{describe-5OUJA5TH.mjs → describe-THQU7N47.mjs} +17 -17
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-YNOFR7T2.js → executions-4ZKBL7IC.js} +8 -8
- package/dist/cli/{executions-NMQY4GEY.mjs → executions-AFEOLB4A.mjs} +6 -6
- package/dist/cli/{feedback-LWYEO5LL.mjs → feedback-J2YPLKMF.mjs} +6 -6
- package/dist/cli/{feedback-RCP5DPO6.js → feedback-M6Y33JKT.js} +14 -14
- package/dist/cli/{git-3O4PFP3Q.mjs → git-632RYEF6.mjs} +5 -5
- package/dist/cli/git-AQLQYWRI.js +25 -0
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-ZPZRG366.js → legacy-noops-4Y62TKPC.js} +9 -9
- package/dist/cli/{legacy-noops-KFP674JT.mjs → legacy-noops-KWZMXYAU.mjs} +6 -6
- package/dist/cli/{mcp-HCXDW6PL.js → mcp-35QA6YG7.js} +21 -21
- package/dist/cli/{mcp-OCYUXQ6L.mjs → mcp-PESLHAAC.mjs} +4 -4
- package/dist/cli/{monitors-7Q7YT22Y.js → monitors-4DTUZLAI.js} +100 -100
- package/dist/cli/{monitors-V5KJIJJE.mjs → monitors-YVBKBJBU.mjs} +7 -7
- package/dist/cli/{org-C3QLHX7U.mjs → org-DJNKMFCZ.mjs} +82 -6
- package/dist/cli/{org-S37K6QYH.js → org-FWCBZMER.js} +162 -86
- package/dist/cli/{play-MLREAYHJ.js → play-FZ45M4KD.js} +317 -317
- package/dist/cli/{play-MXQ2DKML.mjs → play-PHVQEEEZ.mjs} +17 -17
- package/dist/cli/{providers-FDJ4ZOST.mjs → providers-46E67QG7.mjs} +6 -6
- package/dist/cli/{providers-PPDWY7DH.js → providers-QJU6FMDD.js} +9 -9
- package/dist/cli/{quickstart-2Z57AMB7.mjs → quickstart-6HMJJ4RR.mjs} +4 -4
- package/dist/cli/{quickstart-BOWQM7S7.js → quickstart-HOL7H5FS.js} +6 -6
- package/dist/cli/{run-5RNJGPQ2.mjs → run-2W2TJ6QA.mjs} +22 -22
- package/dist/cli/{run-66HXNJNV.js → run-WKSIRXEC.js} +42 -42
- package/dist/cli/{search-7G4FYQYO.mjs → search-Y2CFLSYB.mjs} +7 -7
- package/dist/cli/search-YLJFCJTK.js +32 -0
- package/dist/cli/{search-output-L6ICQDBL.js → search-output-2IK6ZZDY.js} +6 -6
- package/dist/cli/{search-output-6K4FHCVI.mjs → search-output-FCZ35PHF.mjs} +4 -4
- package/dist/cli/{secrets-PWFJKF7G.js → secrets-JVJIHGU4.js} +15 -15
- package/dist/cli/{secrets-FTQPCU7O.mjs → secrets-PNPNUZLX.mjs} +6 -6
- package/dist/cli/{sessions-YSSAAQVJ.mjs → sessions-GY5VVQGO.mjs} +6 -6
- package/dist/cli/sessions-TZ33UCPS.js +22 -0
- package/dist/cli/{settings-CZEMF2WD.js → settings-5WHMFRNQ.js} +85 -85
- package/dist/cli/{settings-KN7GNZ5J.mjs → settings-YQOPF3AI.mjs} +12 -12
- package/dist/cli/{setup-RW4X6DX4.js → setup-3VJMKDEU.js} +49 -49
- package/dist/cli/{setup-5WLHGH57.mjs → setup-O5U5IEVW.mjs} +9 -9
- package/dist/cli/{skills-DLVI7IZK.mjs → skills-G6J5PF35.mjs} +7 -7
- package/dist/cli/skills-WZY3XDT3.js +36 -0
- package/dist/cli/{tools-JVYQF7P3.mjs → tools-AG7SWL5Y.mjs} +16 -16
- package/dist/cli/tools-BXQBL72Q.js +56 -0
- package/dist/cli/{update-XKLXU7YS.mjs → update-K73DD6CR.mjs} +9 -9
- package/dist/cli/update-XYP5EII6.js +34 -0
- package/dist/cli/{views-YNUYFS3S.js → views-4D2OTLIO.js} +21 -21
- package/dist/cli/{views-QRRCWP6B.mjs → views-MO6DIOMR.mjs} +6 -6
- package/dist/cli/{workflow-KYFMA4LM.mjs → workflow-MMZMAELI.mjs} +7 -7
- package/dist/cli/{workflow-YUKADKCJ.js → workflow-ZEMFCS4Y.js} +17 -17
- package/dist/{client-CE4QBVbp.d.mts → client-DLG9mHDh.d.mts} +1 -1
- package/dist/{client-B1fixtK1.d.ts → client-X-FJD5Dp.d.ts} +1 -1
- package/dist/{client-core-C-3FVlVq.d.ts → client-core-0jmHfFBv.d.ts} +1 -1
- package/dist/{client-core-2BkNBgrx.d.mts → client-core-WtnqyBwY.d.mts} +1 -1
- 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 +110 -110
- 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-V76O674K.js +0 -43
- package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +0 -21
- package/dist/cli/describe-7MF5AHIU.js +0 -49
- package/dist/cli/git-WLQ3BS6K.js +0 -25
- package/dist/cli/search-LTUIIV6W.js +0 -32
- package/dist/cli/sessions-2IVFGTPA.js +0 -22
- package/dist/cli/skills-WT42AZVH.js +0 -36
- package/dist/cli/tools-D6STYBQG.js +0 -56
- package/dist/cli/update-XTUKBC3J.js +0 -34
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 _chunkAKY7KZRJjs = require('./chunk-AKY7KZRJ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDMXLZ57Njs = require('./chunk-DMXLZ57N.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,17 +13,17 @@ var _chunkCY5LW6DWjs = require('./chunk-CY5LW6DW.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkDNGACHFXjs = require('./chunk-DNGACHFX.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 _chunkQ7WDXLYOjs = require('./chunk-Q7WDXLYO.js');
|
|
24
|
+
require('./chunk-HAITCPCG.js');
|
|
25
|
+
require('./chunk-JPT6VE54.js');
|
|
26
|
+
require('./chunk-GM73TZ2W.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -35,10 +35,10 @@ require('./chunk-Q66ADD4O.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk3XXXMSSPjs = require('./chunk-3XXXMSSP.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkAWLPERL3js = require('./chunk-AWLPERL3.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -65,7 +65,7 @@ require('./chunk-YGCKMI5P.js');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var
|
|
68
|
+
var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
@@ -73,18 +73,18 @@ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var
|
|
76
|
+
var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
var
|
|
81
|
+
var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.js');
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
|
|
85
85
|
require('./chunk-XNYIZMNQ.js');
|
|
86
86
|
require('./chunk-BBTKAASQ.js');
|
|
87
|
-
require('./chunk-
|
|
87
|
+
require('./chunk-QXNOSCYL.js');
|
|
88
88
|
require('./chunk-OG64RBAC.js');
|
|
89
89
|
require('./chunk-RLX5ZFNX.js');
|
|
90
90
|
require('./chunk-COGTRVWW.js');
|
|
@@ -165,60 +165,60 @@ var _os = require('os');
|
|
|
165
165
|
var COMMAND_GROUPS = [
|
|
166
166
|
{
|
|
167
167
|
names: ["auth"],
|
|
168
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
168
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-2PH6RSKL.js")))).registerAuthCommands
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
names: ["providers"],
|
|
172
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
172
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-QJU6FMDD.js")))).registerProviderCommands
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
names: ["search"],
|
|
176
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
176
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-YLJFCJTK.js")))).registerSearchCommand
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
names: ["describe"],
|
|
180
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
180
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-5TFFB2PM.js")))).registerDescribeCommand
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
names: ["run"],
|
|
184
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
184
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-WKSIRXEC.js")))).registerRunCommand
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
names: ["tools"],
|
|
188
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
188
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-BXQBL72Q.js")))).registerToolsCommands
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
names: ["executions"],
|
|
192
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
192
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-4ZKBL7IC.js")))).registerExecutionsCommands
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
names: ["plays", "runs"],
|
|
196
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
196
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-FZ45M4KD.js")))).registerPlayCommands
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
names: ["sessions"],
|
|
200
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
200
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-TZ33UCPS.js")))).registerSessionsCommands
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
names: ["workflows"],
|
|
204
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
204
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-ZEMFCS4Y.js")))).registerWorkflowCommands
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
names: ["views"],
|
|
208
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-
|
|
208
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-4D2OTLIO.js")))).registerViewsCommands
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
names: ["secrets"],
|
|
212
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
212
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-JVJIHGU4.js")))).registerSecretsCommands
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
names: ["mcp"],
|
|
216
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-
|
|
216
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-35QA6YG7.js")))).registerMcpCommands
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
names: ["settings", "notifications"],
|
|
220
220
|
load: async () => {
|
|
221
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
221
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-5WHMFRNQ.js")));
|
|
222
222
|
return (p) => {
|
|
223
223
|
commands.registerSettingsCommands(p);
|
|
224
224
|
commands.registerNotificationCommands(p);
|
|
@@ -227,51 +227,51 @@ var COMMAND_GROUPS = [
|
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
names: ["billing"],
|
|
230
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
230
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-IB2TWE74.js")))).registerBillingCommands
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
names: ["monitors"],
|
|
234
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
234
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-4DTUZLAI.js")))).registerMonitorsCommands
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
names: ["org"],
|
|
238
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
238
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-FWCBZMER.js")))).registerOrgCommands
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
names: ["git", "projects", "deployments"],
|
|
242
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
242
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-AQLQYWRI.js")))).registerGitCommands
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
names: ["csv"],
|
|
246
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
246
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-XZAM7EYZ.js")))).registerCsvCommands
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
names: ["db"],
|
|
250
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
250
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-PPGEOBNG.js")))).registerDbCommands
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
names: ["feedback"],
|
|
254
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
254
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-M6Y33JKT.js")))).registerFeedbackCommands
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
names: ["enrich", "session", "backend"],
|
|
258
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
258
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-4Y62TKPC.js")))).registerDeprecatedCommands
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
names: ["update"],
|
|
262
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
262
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-XYP5EII6.js")))).registerUpdateCommand
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
names: ["skills", "skills-auto-sync"],
|
|
266
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
266
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-WZY3XDT3.js")))).registerSkillsCommand
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
names: ["setup", "doctor"],
|
|
270
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
270
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-3VJMKDEU.js")))).registerSetupCommands
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
names: ["quickstart"],
|
|
274
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
274
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-HOL7H5FS.js")))).registerQuickstartCommands
|
|
275
275
|
}
|
|
276
276
|
];
|
|
277
277
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -297,8 +297,8 @@ function registerDeeplineInlineCommands(program) {
|
|
|
297
297
|
function createDeferredPlayRunMaintenance(input) {
|
|
298
298
|
return async () => {
|
|
299
299
|
try {
|
|
300
|
-
const skillsVersion =
|
|
301
|
-
const compatibility = await
|
|
300
|
+
const skillsVersion = _chunkVHJUH3TBjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
301
|
+
const compatibility = await _chunkQ7WDXLYOjs.traceCliSpan.call(void 0,
|
|
302
302
|
"cli.sdk_compatibility_deferred",
|
|
303
303
|
{
|
|
304
304
|
baseUrl: input.baseUrl,
|
|
@@ -306,24 +306,24 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
306
306
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
307
307
|
},
|
|
308
308
|
async () => {
|
|
309
|
-
const trusted =
|
|
309
|
+
const trusted = _chunk3XXXMSSPjs.readTrustedCleanCompatibility.call(void 0,
|
|
310
310
|
input.baseUrl,
|
|
311
311
|
"plays run",
|
|
312
312
|
skillsVersion
|
|
313
313
|
);
|
|
314
314
|
if (trusted) return { response: trusted, error: null };
|
|
315
|
-
return
|
|
315
|
+
return _chunk3XXXMSSPjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
316
316
|
command: "plays run",
|
|
317
317
|
skillsVersion,
|
|
318
318
|
persistCache: input.policy !== "off",
|
|
319
|
-
catalog:
|
|
319
|
+
catalog: _chunkDNGACHFXjs.compatibilityCatalog.call(void 0, input.command)
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
);
|
|
323
323
|
if (compatibility.error || !compatibility.response) return;
|
|
324
324
|
const automaticUpdate = compatibility.response.auto_update;
|
|
325
325
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
326
|
-
await
|
|
326
|
+
await _chunkDNGACHFXjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
327
327
|
compatibility.response,
|
|
328
328
|
input.baseUrl,
|
|
329
329
|
input.policy
|
|
@@ -333,7 +333,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
333
333
|
compatibility.response,
|
|
334
334
|
"skills"
|
|
335
335
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
336
|
-
await
|
|
336
|
+
await _chunk3XXXMSSPjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
337
337
|
update: skillsUpdate,
|
|
338
338
|
mode: "detached"
|
|
339
339
|
});
|
|
@@ -361,7 +361,7 @@ var MAX_SESSIONS = 20;
|
|
|
361
361
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
362
362
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
363
363
|
}
|
|
364
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
364
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
365
365
|
const explicit = _chunkV4EYJKGJjs.helpDetailFromArgv.call(void 0, argv);
|
|
366
366
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
367
367
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
@@ -459,7 +459,7 @@ function shouldReport(stdout, stderr) {
|
|
|
459
459
|
}
|
|
460
460
|
function toolName(action) {
|
|
461
461
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
462
|
-
return typeof toolId === "string" ?
|
|
462
|
+
return typeof toolId === "string" ? _chunkE7B73LGTjs.redactFailureText.call(void 0, toolId) : null;
|
|
463
463
|
}
|
|
464
464
|
function chunkText(chunk) {
|
|
465
465
|
if (typeof chunk === "string") return chunk;
|
|
@@ -490,14 +490,14 @@ function watch(stream) {
|
|
|
490
490
|
}
|
|
491
491
|
async function postCommandOutput(body) {
|
|
492
492
|
try {
|
|
493
|
-
const baseUrl =
|
|
494
|
-
const apiKey =
|
|
493
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
494
|
+
const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
495
495
|
if (!apiKey) return;
|
|
496
|
-
const agentSessionId =
|
|
496
|
+
const agentSessionId = _chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
497
497
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
498
498
|
method: "POST",
|
|
499
499
|
headers: {
|
|
500
|
-
...
|
|
500
|
+
..._chunkE7B73LGTjs.failureReportHeaders.call(void 0, apiKey),
|
|
501
501
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
502
502
|
},
|
|
503
503
|
body: JSON.stringify(body),
|
|
@@ -513,14 +513,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
513
513
|
const stdoutWatch = watch(streams.stdout);
|
|
514
514
|
const stderrWatch = watch(streams.stderr);
|
|
515
515
|
return async (finished) => {
|
|
516
|
-
if (
|
|
516
|
+
if (_chunkE7B73LGTjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
517
517
|
const [stdout, stderr] = await Promise.all([
|
|
518
518
|
stdoutWatch.settled(),
|
|
519
519
|
stderrWatch.settled()
|
|
520
520
|
]);
|
|
521
521
|
if (!shouldReport(stdout, stderr)) return;
|
|
522
522
|
await postCommandOutput({
|
|
523
|
-
command:
|
|
523
|
+
command: _chunkE7B73LGTjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
524
524
|
tool: toolName(finished.action),
|
|
525
525
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
526
526
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -551,7 +551,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
551
551
|
function printUsageErrorJson(code, message, commandPath) {
|
|
552
552
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
553
553
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
554
|
-
|
|
554
|
+
_chunkE7B73LGTjs.printJson.call(void 0, {
|
|
555
555
|
ok: false,
|
|
556
556
|
error: {
|
|
557
557
|
code,
|
|
@@ -609,7 +609,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
609
609
|
);
|
|
610
610
|
}
|
|
611
611
|
async function runPlayRunnerHealthCheck() {
|
|
612
|
-
|
|
612
|
+
_chunkVHJUH3TBjs.resolveConfig.call(void 0, );
|
|
613
613
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
614
614
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
615
615
|
try {
|
|
@@ -639,7 +639,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
639
639
|
});
|
|
640
640
|
let exitCode = 1;
|
|
641
641
|
try {
|
|
642
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
642
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-FZ45M4KD.js")));
|
|
643
643
|
exitCode = await handlePlayRun([
|
|
644
644
|
file,
|
|
645
645
|
"--input",
|
|
@@ -679,7 +679,7 @@ function preflightErrorMessage(error) {
|
|
|
679
679
|
return error instanceof Error ? error.message : String(error);
|
|
680
680
|
}
|
|
681
681
|
async function runPreflightCheck() {
|
|
682
|
-
const baseUrl =
|
|
682
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
683
683
|
const healthController = new AbortController();
|
|
684
684
|
const healthTimeout = setTimeout(
|
|
685
685
|
() => healthController.abort(),
|
|
@@ -696,14 +696,14 @@ async function runPreflightCheck() {
|
|
|
696
696
|
}).catch((error) => ({
|
|
697
697
|
status: "unreachable",
|
|
698
698
|
version: null,
|
|
699
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
699
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkEHLCWGWNjs.connectionFailureMessage.call(void 0,
|
|
700
700
|
baseUrl,
|
|
701
701
|
error instanceof Error ? error : new Error(String(error))
|
|
702
702
|
)
|
|
703
703
|
})).finally(() => clearTimeout(healthTimeout));
|
|
704
|
-
const apiKey =
|
|
705
|
-
const http = apiKey ? new (0,
|
|
706
|
-
|
|
704
|
+
const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
705
|
+
const http = apiKey ? new (0, _chunkVHJUH3TBjs.HttpClient)(
|
|
706
|
+
_chunkVHJUH3TBjs.resolveConfig.call(void 0, {
|
|
707
707
|
baseUrl,
|
|
708
708
|
apiKey,
|
|
709
709
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -748,7 +748,7 @@ async function runPreflightCheck() {
|
|
|
748
748
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
749
749
|
return {
|
|
750
750
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
751
|
-
cli_version:
|
|
751
|
+
cli_version: _chunkEHLCWGWNjs.SDK_VERSION,
|
|
752
752
|
host: baseUrl,
|
|
753
753
|
health: {
|
|
754
754
|
status: healthResult.status,
|
|
@@ -775,7 +775,7 @@ async function runPreflightCheck() {
|
|
|
775
775
|
{
|
|
776
776
|
title: "preflight",
|
|
777
777
|
lines: [
|
|
778
|
-
`cli: ${
|
|
778
|
+
`cli: ${_chunkEHLCWGWNjs.SDK_VERSION}`,
|
|
779
779
|
`host: ${baseUrl}`,
|
|
780
780
|
`health: ${healthResult.status}`,
|
|
781
781
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -802,12 +802,12 @@ function printPreflightHuman(data) {
|
|
|
802
802
|
}
|
|
803
803
|
async function newerCliCommandHint(baseUrl, command) {
|
|
804
804
|
if (!command.trim()) return null;
|
|
805
|
-
const { response, error } = await
|
|
805
|
+
const { response, error } = await _chunk3XXXMSSPjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
806
806
|
if (error || !response) return null;
|
|
807
807
|
const introduced = response.command_introduced_in;
|
|
808
808
|
if (introduced) {
|
|
809
809
|
return [
|
|
810
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
810
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkEHLCWGWNjs.SDK_VERSION}.`,
|
|
811
811
|
` ${introduced.reason}`,
|
|
812
812
|
` Update with: ${response.update_command}`,
|
|
813
813
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -816,33 +816,33 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
816
816
|
if (!response.update_required) return null;
|
|
817
817
|
return [
|
|
818
818
|
response.message,
|
|
819
|
-
` Installed: ${
|
|
819
|
+
` Installed: ${_chunkEHLCWGWNjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
820
820
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
821
821
|
].join("\n");
|
|
822
822
|
}
|
|
823
823
|
async function runMain(ensureTransport, onAction, suppressOutputReport) {
|
|
824
824
|
const mainStartedAt = Date.now();
|
|
825
|
-
|
|
825
|
+
_chunkE7B73LGTjs.installJsonStderrGuard.call(void 0, );
|
|
826
826
|
let rootHelpStatus = "";
|
|
827
827
|
let concurrentRunsHelpStatus = "";
|
|
828
828
|
let commandFailed = false;
|
|
829
829
|
const deferredMaintenance = { inlinePlay: null };
|
|
830
|
-
|
|
830
|
+
_chunkQ7WDXLYOjs.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 ? _chunkAWLPERL3js.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(_chunkEHLCWGWNjs.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
|
+
_chunkQ7WDXLYOjs.parseCliMaintenancePolicy,
|
|
846
846
|
"configured"
|
|
847
847
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
848
848
|
"beforeAll",
|
|
@@ -902,25 +902,25 @@ Exit codes:
|
|
|
902
902
|
path: compatibilityCommand,
|
|
903
903
|
args: actionCommand.processedArgs
|
|
904
904
|
});
|
|
905
|
-
const maintenance =
|
|
905
|
+
const maintenance = _chunkQ7WDXLYOjs.resolveCliMaintenancePolicy.call(void 0,
|
|
906
906
|
actionCommand.optsWithGlobals()
|
|
907
907
|
);
|
|
908
908
|
if (actionCommand.name() !== "version") {
|
|
909
909
|
await ensureTransport();
|
|
910
910
|
}
|
|
911
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
911
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunk3XXXMSSPjs.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(
|
|
912
912
|
compatibilityCommand
|
|
913
|
-
) &&
|
|
913
|
+
) && _chunkDMXLZ57Njs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
|
|
914
914
|
return;
|
|
915
915
|
}
|
|
916
916
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
917
917
|
if (isToolExecuteCommand) {
|
|
918
|
-
|
|
918
|
+
_chunkDNGACHFXjs.beginToolExecuteCommand.call(void 0, );
|
|
919
919
|
}
|
|
920
920
|
if (isToolExecuteCommand) {
|
|
921
|
-
const baseUrl =
|
|
922
|
-
if (maintenance !== "off")
|
|
923
|
-
|
|
921
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
922
|
+
if (maintenance !== "off") _chunk3XXXMSSPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
923
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
924
924
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
925
925
|
baseUrl,
|
|
926
926
|
command: compatibilityCommand
|
|
@@ -928,9 +928,9 @@ Exit codes:
|
|
|
928
928
|
return;
|
|
929
929
|
}
|
|
930
930
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
931
|
-
if (!playDryRun &&
|
|
931
|
+
if (!playDryRun && _chunkAKY7KZRJjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
932
932
|
if (maintenance !== "off") {
|
|
933
|
-
const baseUrl =
|
|
933
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
934
934
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
935
935
|
baseUrl,
|
|
936
936
|
command: actionCommand,
|
|
@@ -939,27 +939,27 @@ Exit codes:
|
|
|
939
939
|
}
|
|
940
940
|
return;
|
|
941
941
|
}
|
|
942
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
942
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkDNGACHFXjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
943
943
|
if (printStartupPhase) {
|
|
944
944
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
945
945
|
}
|
|
946
946
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
947
|
-
const baseUrl =
|
|
948
|
-
if (maintenance !== "off")
|
|
947
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
948
|
+
if (maintenance !== "off") _chunk3XXXMSSPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
949
949
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
950
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
951
|
-
const trusted = isToolExecuteCommand ? null :
|
|
950
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkVHJUH3TBjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
951
|
+
const trusted = isToolExecuteCommand ? null : _chunk3XXXMSSPjs.readTrustedCleanCompatibility.call(void 0,
|
|
952
952
|
baseUrl,
|
|
953
953
|
compatibilityCommand,
|
|
954
954
|
skillsVersion
|
|
955
955
|
);
|
|
956
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
956
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunk3XXXMSSPjs.readFreshCleanCompatibility.call(void 0,
|
|
957
957
|
baseUrl,
|
|
958
958
|
compatibilityCommand,
|
|
959
959
|
skillsVersion
|
|
960
960
|
) !== null;
|
|
961
961
|
if (trusted) {
|
|
962
|
-
|
|
962
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
963
963
|
phase: "cli.sdk_compatibility",
|
|
964
964
|
ms: 0,
|
|
965
965
|
ok: true,
|
|
@@ -969,7 +969,7 @@ Exit codes:
|
|
|
969
969
|
source: "trusted_cache"
|
|
970
970
|
});
|
|
971
971
|
}
|
|
972
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
972
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkQ7WDXLYOjs.traceCliSpan.call(void 0,
|
|
973
973
|
"cli.sdk_compatibility",
|
|
974
974
|
{
|
|
975
975
|
baseUrl,
|
|
@@ -977,12 +977,12 @@ Exit codes:
|
|
|
977
977
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
978
978
|
fastDeadline
|
|
979
979
|
},
|
|
980
|
-
() =>
|
|
980
|
+
() => _chunk3XXXMSSPjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
981
981
|
command: compatibilityCommand,
|
|
982
982
|
skillsVersion,
|
|
983
983
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
984
|
-
catalog:
|
|
985
|
-
...fastDeadline ? { timeoutMs:
|
|
984
|
+
catalog: _chunkDNGACHFXjs.compatibilityCatalog.call(void 0, actionCommand),
|
|
985
|
+
...fastDeadline ? { timeoutMs: _chunk3XXXMSSPjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
986
986
|
})
|
|
987
987
|
);
|
|
988
988
|
if (compatibility.error) {
|
|
@@ -993,7 +993,7 @@ Exit codes:
|
|
|
993
993
|
response: null
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
|
-
const relaunched = await
|
|
996
|
+
const relaunched = await _chunkDNGACHFXjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
997
997
|
compatibility.response,
|
|
998
998
|
baseUrl,
|
|
999
999
|
maintenance
|
|
@@ -1007,14 +1007,14 @@ Exit codes:
|
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
1009
|
const policy = compatibility.response;
|
|
1010
|
-
const jsonOutput =
|
|
1011
|
-
|
|
1010
|
+
const jsonOutput = _chunkE7B73LGTjs.isJsonOutputMode.call(void 0, );
|
|
1011
|
+
_chunk3XXXMSSPjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
1012
1012
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
1013
|
-
|
|
1013
|
+
_chunkDNGACHFXjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunk3XXXMSSPjs.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
1014
1014
|
});
|
|
1015
1015
|
const advisory = compatibility.response;
|
|
1016
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
1017
|
-
|
|
1016
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunk3XXXMSSPjs.isCiEnvironment.call(void 0, ) && !_chunkDNGACHFXjs.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1017
|
+
_chunkE7B73LGTjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
1018
1018
|
}
|
|
1019
1019
|
return {
|
|
1020
1020
|
shouldContinue: true,
|
|
@@ -1031,10 +1031,10 @@ Exit codes:
|
|
|
1031
1031
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
1032
1032
|
await runStartupStage(
|
|
1033
1033
|
"agent skills sync",
|
|
1034
|
-
() =>
|
|
1034
|
+
() => _chunkQ7WDXLYOjs.traceCliSpan.call(void 0,
|
|
1035
1035
|
"cli.sdk_skills_sync",
|
|
1036
1036
|
{ baseUrl: startup.baseUrl },
|
|
1037
|
-
() =>
|
|
1037
|
+
() => _chunk3XXXMSSPjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1038
1038
|
update: skillsUpdate,
|
|
1039
1039
|
mode: "detached"
|
|
1040
1040
|
})
|
|
@@ -1048,16 +1048,16 @@ Exit codes:
|
|
|
1048
1048
|
);
|
|
1049
1049
|
const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
|
|
1050
1050
|
if (carriesFeedback) suppressOutputReport();
|
|
1051
|
-
const commandRegistrationStartedAt =
|
|
1051
|
+
const commandRegistrationStartedAt = _chunkQ7WDXLYOjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1052
1052
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1053
1053
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1054
|
-
|
|
1054
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
1055
1055
|
phase: "cli.command_registration",
|
|
1056
1056
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
1059
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1060
|
-
if (
|
|
1060
|
+
if (_chunkE7B73LGTjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1061
1061
|
preflight.addHelpText(
|
|
1062
1062
|
"after",
|
|
1063
1063
|
`
|
|
@@ -1073,8 +1073,8 @@ Examples:
|
|
|
1073
1073
|
`
|
|
1074
1074
|
).action(async (options) => {
|
|
1075
1075
|
const data = await runPreflightCheck();
|
|
1076
|
-
if (
|
|
1077
|
-
|
|
1076
|
+
if (_chunkE7B73LGTjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1077
|
+
_chunkE7B73LGTjs.printJson.call(void 0, data);
|
|
1078
1078
|
} else {
|
|
1079
1079
|
printPreflightHuman(data);
|
|
1080
1080
|
}
|
|
@@ -1099,7 +1099,7 @@ Examples:
|
|
|
1099
1099
|
).action(async (options) => {
|
|
1100
1100
|
if (options.playRunner) {
|
|
1101
1101
|
const data = await runPlayRunnerHealthCheck();
|
|
1102
|
-
|
|
1102
|
+
_chunkE7B73LGTjs.printCommandEnvelope.call(void 0, data, {
|
|
1103
1103
|
json: options.json,
|
|
1104
1104
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1105
1105
|
`
|
|
@@ -1107,15 +1107,15 @@ Examples:
|
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
1109
|
try {
|
|
1110
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1111
|
-
const baseUrl =
|
|
1110
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-2PH6RSKL.js")));
|
|
1111
|
+
const baseUrl = _chunkVHJUH3TBjs.resolveBaseUrlOnly.call(void 0, );
|
|
1112
1112
|
const [{ status, data }, banner] = await Promise.all([
|
|
1113
1113
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1114
1114
|
readStatusBanner(baseUrl)
|
|
1115
1115
|
]);
|
|
1116
1116
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1117
1117
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1118
|
-
|
|
1118
|
+
_chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
|
|
1119
1119
|
{ ...data, status_banner: banner },
|
|
1120
1120
|
{
|
|
1121
1121
|
json: options.json,
|
|
@@ -1143,16 +1143,16 @@ Examples:
|
|
|
1143
1143
|
`
|
|
1144
1144
|
).action((options) => {
|
|
1145
1145
|
if (options.json) {
|
|
1146
|
-
|
|
1146
|
+
_chunkE7B73LGTjs.printCompactJson.call(void 0, { version: _chunkEHLCWGWNjs.SDK_VERSION });
|
|
1147
1147
|
return;
|
|
1148
1148
|
}
|
|
1149
|
-
process.stdout.write(`deepline ${
|
|
1149
|
+
process.stdout.write(`deepline ${_chunkEHLCWGWNjs.SDK_VERSION}
|
|
1150
1150
|
`);
|
|
1151
1151
|
});
|
|
1152
1152
|
if (process.argv.slice(2).length === 0) {
|
|
1153
1153
|
program.outputHelp({ error: true });
|
|
1154
1154
|
console.error("\nerror: missing command (see usage above)");
|
|
1155
|
-
|
|
1155
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
1156
1156
|
phase: "cli.main_total",
|
|
1157
1157
|
ms: Date.now() - mainStartedAt,
|
|
1158
1158
|
ok: false,
|
|
@@ -1164,16 +1164,16 @@ Examples:
|
|
|
1164
1164
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1165
1165
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1166
1166
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1167
|
-
if (!
|
|
1168
|
-
const baseUrl =
|
|
1167
|
+
if (!_chunkE7B73LGTjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1168
|
+
const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, );
|
|
1169
1169
|
await ensureTransport();
|
|
1170
1170
|
const versionHint = await newerCliCommandHint(
|
|
1171
1171
|
baseUrl,
|
|
1172
1172
|
requestedTopLevelCommand
|
|
1173
1173
|
);
|
|
1174
|
-
if (
|
|
1174
|
+
if (_chunkE7B73LGTjs.isJsonOutputMode.call(void 0, )) {
|
|
1175
1175
|
if (versionHint) {
|
|
1176
|
-
|
|
1176
|
+
_chunkE7B73LGTjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1177
1177
|
}
|
|
1178
1178
|
printUsageErrorJson(
|
|
1179
1179
|
"commander.unknownCommand",
|
|
@@ -1195,26 +1195,26 @@ Examples:
|
|
|
1195
1195
|
const helpArgs = process.argv.slice(2);
|
|
1196
1196
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1197
1197
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1198
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1199
|
-
rootHelpStatus = `Version: ${
|
|
1198
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-2PH6RSKL.js")));
|
|
1199
|
+
rootHelpStatus = `Version: ${_chunkEHLCWGWNjs.SDK_VERSION}
|
|
1200
1200
|
${await authStatusLine()}
|
|
1201
1201
|
`;
|
|
1202
1202
|
}
|
|
1203
1203
|
if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
|
|
1204
|
-
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-
|
|
1204
|
+
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-BNIDBKML.js")));
|
|
1205
1205
|
if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
|
|
1206
1206
|
await ensureTransport();
|
|
1207
1207
|
concurrentRunsHelpStatus = await read();
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
1210
|
await program.parseAsync(process.argv);
|
|
1211
|
-
|
|
1211
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
1212
1212
|
phase: "cli.main_total",
|
|
1213
1213
|
ms: Date.now() - mainStartedAt,
|
|
1214
1214
|
ok: true
|
|
1215
1215
|
});
|
|
1216
1216
|
if (!carriesFeedback) {
|
|
1217
|
-
await
|
|
1217
|
+
await _chunkE7B73LGTjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1218
1218
|
argv: process.argv.slice(2),
|
|
1219
1219
|
startedAtMs: mainStartedAt,
|
|
1220
1220
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
@@ -1223,14 +1223,14 @@ ${await authStatusLine()}
|
|
|
1223
1223
|
} catch (error) {
|
|
1224
1224
|
commandFailed = true;
|
|
1225
1225
|
const commanderError = asCommanderError(error);
|
|
1226
|
-
|
|
1226
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
1227
1227
|
phase: "cli.main_total",
|
|
1228
1228
|
ms: Date.now() - mainStartedAt,
|
|
1229
1229
|
ok: false,
|
|
1230
1230
|
error: error instanceof Error ? error.message : String(error)
|
|
1231
1231
|
});
|
|
1232
1232
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1233
|
-
const wantsJson =
|
|
1233
|
+
const wantsJson = _chunkE7B73LGTjs.isJsonOutputMode.call(void 0, );
|
|
1234
1234
|
if (commanderError) {
|
|
1235
1235
|
const grammarError = [
|
|
1236
1236
|
"commander.unknownCommand",
|
|
@@ -1241,12 +1241,12 @@ ${await authStatusLine()}
|
|
|
1241
1241
|
if (grammarError) {
|
|
1242
1242
|
await ensureTransport();
|
|
1243
1243
|
const versionHint = await newerCliCommandHint(
|
|
1244
|
-
|
|
1244
|
+
_chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ),
|
|
1245
1245
|
commandPath
|
|
1246
1246
|
);
|
|
1247
1247
|
if (wantsJson) {
|
|
1248
1248
|
if (versionHint) {
|
|
1249
|
-
|
|
1249
|
+
_chunkE7B73LGTjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1250
1250
|
}
|
|
1251
1251
|
} else {
|
|
1252
1252
|
if (versionHint) console.error(versionHint);
|
|
@@ -1266,43 +1266,43 @@ ${await authStatusLine()}
|
|
|
1266
1266
|
return;
|
|
1267
1267
|
} else if (wantsJson) {
|
|
1268
1268
|
if (error instanceof _chunk2GJZLIKWjs.AuthError) {
|
|
1269
|
-
|
|
1269
|
+
_chunkE7B73LGTjs.addJsonNotice.call(void 0, {
|
|
1270
1270
|
code: "auth_required",
|
|
1271
1271
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1272
1272
|
});
|
|
1273
1273
|
}
|
|
1274
|
-
const providerConcurrency =
|
|
1274
|
+
const providerConcurrency = _chunkE7B73LGTjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1275
1275
|
if (providerConcurrency) {
|
|
1276
|
-
|
|
1276
|
+
_chunkE7B73LGTjs.addJsonNotice.call(void 0, {
|
|
1277
1277
|
code: "provider_concurrency",
|
|
1278
1278
|
message: providerConcurrency
|
|
1279
1279
|
});
|
|
1280
1280
|
}
|
|
1281
|
-
const payload =
|
|
1282
|
-
|
|
1281
|
+
const payload = _chunkE7B73LGTjs.errorToJsonPayload.call(void 0, error);
|
|
1282
|
+
_chunkE7B73LGTjs.printJson.call(void 0, {
|
|
1283
1283
|
...payload,
|
|
1284
1284
|
// The envelope names the code the process exits with, so a caller
|
|
1285
1285
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1286
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1286
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkE7B73LGTjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1287
1287
|
...error instanceof _chunk2GJZLIKWjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1288
1288
|
});
|
|
1289
1289
|
} else if (error instanceof Error) {
|
|
1290
1290
|
console.error(`Error: ${error.message}`);
|
|
1291
|
-
const toolDiagnostic =
|
|
1291
|
+
const toolDiagnostic = _chunkE7B73LGTjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1292
1292
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1293
1293
|
if (error instanceof _chunk2GJZLIKWjs.AuthError) {
|
|
1294
1294
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1295
1295
|
}
|
|
1296
|
-
const providerConcurrency =
|
|
1296
|
+
const providerConcurrency = _chunkE7B73LGTjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1297
1297
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1298
1298
|
} else {
|
|
1299
1299
|
console.error(`Error: ${String(error)}`);
|
|
1300
1300
|
}
|
|
1301
1301
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1302
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1302
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkE7B73LGTjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1303
1303
|
process.exitCode = failureExitCode;
|
|
1304
1304
|
if (!carriesFeedback) {
|
|
1305
|
-
await
|
|
1305
|
+
await _chunkE7B73LGTjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1306
1306
|
argv: process.argv.slice(2),
|
|
1307
1307
|
startedAtMs: mainStartedAt,
|
|
1308
1308
|
exitCode: failureExitCode,
|
|
@@ -1310,13 +1310,13 @@ ${await authStatusLine()}
|
|
|
1310
1310
|
});
|
|
1311
1311
|
}
|
|
1312
1312
|
} finally {
|
|
1313
|
-
|
|
1313
|
+
_chunkDNGACHFXjs.finishToolExecuteCommand.call(void 0, );
|
|
1314
1314
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1315
1315
|
deferredMaintenance.inlinePlay = null;
|
|
1316
1316
|
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1317
1317
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1318
1318
|
}
|
|
1319
|
-
await
|
|
1319
|
+
await _chunkDNGACHFXjs.runDeferredAutoUpdate.call(void 0, );
|
|
1320
1320
|
}
|
|
1321
1321
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1322
1322
|
}
|
|
@@ -1324,7 +1324,7 @@ async function main() {
|
|
|
1324
1324
|
let disposeTransport;
|
|
1325
1325
|
const ensureTransport = async () => {
|
|
1326
1326
|
if (disposeTransport) return;
|
|
1327
|
-
const transportStartedAt =
|
|
1327
|
+
const transportStartedAt = _chunkQ7WDXLYOjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1328
1328
|
const hasProxy = [
|
|
1329
1329
|
"HTTP_PROXY",
|
|
1330
1330
|
"http_proxy",
|
|
@@ -1336,7 +1336,7 @@ async function main() {
|
|
|
1336
1336
|
disposeTransport = configureCliTransport();
|
|
1337
1337
|
}
|
|
1338
1338
|
if (transportStartedAt !== void 0) {
|
|
1339
|
-
|
|
1339
|
+
_chunkQ7WDXLYOjs.recordCliTrace.call(void 0, {
|
|
1340
1340
|
phase: "cli.transport_setup",
|
|
1341
1341
|
ms: performance.now() - transportStartedAt
|
|
1342
1342
|
});
|
|
@@ -1359,9 +1359,9 @@ async function main() {
|
|
|
1359
1359
|
skipOutputReport = true;
|
|
1360
1360
|
}
|
|
1361
1361
|
);
|
|
1362
|
-
const silentFailure =
|
|
1362
|
+
const silentFailure = _chunkE7B73LGTjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1363
1363
|
if (silentFailure) {
|
|
1364
|
-
|
|
1364
|
+
_chunkE7B73LGTjs.printJson.call(void 0, {
|
|
1365
1365
|
ok: false,
|
|
1366
1366
|
exitCode: Number(process.exitCode),
|
|
1367
1367
|
error: { code: "CLI_ERROR", message: silentFailure }
|