deepline 0.3.510 → 0.3.511
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 +159 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +218 -33
- package/dist/cli/artifacts-G6JHRHY5.mjs +268 -0
- package/dist/cli/artifacts-PLF5ZUS7.js +268 -0
- package/dist/cli/{auth-USS2W3UV.mjs → auth-2XMJMDWG.mjs} +5 -5
- package/dist/cli/auth-PI2KS2CD.js +43 -0
- package/dist/cli/{billing-JCUWM5XB.mjs → billing-6C5AI42X.mjs} +7 -7
- package/dist/cli/{billing-LQQHU443.js → billing-Z3XFXP3H.js} +82 -82
- package/dist/cli/{chunk-XRLE2FPE.js → chunk-2Q4H2Y6N.js} +6 -6
- package/dist/cli/{chunk-4ZIIS6KG.js → chunk-2YVRIXVR.js} +9 -9
- package/dist/cli/{chunk-V6DLYRSO.mjs → chunk-5WTLXL6O.mjs} +1 -1
- package/dist/cli/{chunk-ZRACZKEE.mjs → chunk-77DPQI6W.mjs} +62 -0
- package/dist/cli/{chunk-CLV4T5FN.mjs → chunk-ASXOFBF7.mjs} +2 -2
- package/dist/cli/{chunk-LF3FF2B2.js → chunk-BHV7JKXQ.js} +1 -1
- package/dist/cli/{chunk-ZCYV6MZH.js → chunk-D5VWSR4D.js} +5 -5
- package/dist/cli/{chunk-F6IXWFPF.js → chunk-FAGSSIOY.js} +6 -6
- package/dist/cli/{chunk-XK3AJFYQ.js → chunk-FF25PDQ2.js} +62 -0
- package/dist/cli/{chunk-YYUVOUEH.mjs → chunk-FTT2SBBH.mjs} +5 -5
- package/dist/cli/{chunk-5N2HFB3G.js → chunk-FV4PASXH.js} +16 -16
- package/dist/cli/{chunk-6AL2VF3E.js → chunk-GD3ES3JU.js} +14 -14
- package/dist/cli/{chunk-VPJSQMWQ.js → chunk-GGQHOLH6.js} +3 -3
- package/dist/cli/{chunk-5DU7RXDW.mjs → chunk-GJWL4KTY.mjs} +4 -4
- package/dist/cli/{chunk-DMF56C6D.mjs → chunk-HLEZQDEZ.mjs} +2 -2
- package/dist/cli/{chunk-FND6GZZ4.mjs → chunk-ISY7PBIK.mjs} +5 -5
- package/dist/cli/{chunk-XJZU7KO4.js → chunk-IYWN7M4I.js} +5 -5
- package/dist/cli/{chunk-PQ56GE55.mjs → chunk-JDDKJIZU.mjs} +1 -1
- package/dist/cli/{chunk-UV524JZ5.mjs → chunk-JHBZBCU4.mjs} +1 -1
- package/dist/cli/{chunk-4NJK6P5T.js → chunk-JIY25SUX.js} +4 -4
- package/dist/cli/{chunk-XL4FFVWL.js → chunk-JYFLIQPE.js} +7 -7
- package/dist/cli/{chunk-N7FV7OM3.js → chunk-K4JB2BZP.js} +96 -96
- package/dist/cli/{chunk-EJ57CA2L.mjs → chunk-KK6NZHAJ.mjs} +1 -1
- package/dist/cli/{chunk-3LXU22UZ.js → chunk-KUDNPJ43.js} +2 -2
- package/dist/cli/{chunk-KXSOZYCS.mjs → chunk-KXGH4YUQ.mjs} +1 -1
- package/dist/cli/{chunk-HC27PYJM.js → chunk-KZBKQPSA.js} +2 -2
- package/dist/cli/{chunk-B2T7PBS6.js → chunk-LDZYGM7W.js} +41 -41
- package/dist/cli/{chunk-YDALHHUC.js → chunk-LKSJXTRP.js} +53 -53
- package/dist/cli/{chunk-QRQBKLOM.js → chunk-NVMNMKZW.js} +3 -3
- package/dist/cli/{chunk-EEQ2QQOH.js → chunk-O37BQ2CG.js} +10 -10
- package/dist/cli/{chunk-7BF4R26M.mjs → chunk-OQ4YBPOQ.mjs} +3 -3
- package/dist/cli/{chunk-B2U3LVSO.mjs → chunk-PCI4MMH7.mjs} +1 -1
- package/dist/cli/{chunk-JNECQ5QF.js → chunk-PI45LZ5B.js} +11 -11
- package/dist/cli/{chunk-ASBWPRBN.js → chunk-PUFEARWT.js} +16 -16
- package/dist/cli/{chunk-WAOLTP6R.mjs → chunk-QDWNVTTO.mjs} +2 -2
- package/dist/cli/{chunk-RHKFNEV2.mjs → chunk-RPPU3XB3.mjs} +2 -2
- package/dist/cli/{chunk-Q5EJO4TE.mjs → chunk-S5C4CWSS.mjs} +5 -5
- package/dist/cli/{chunk-563HM4D2.mjs → chunk-S6KEACD3.mjs} +6 -6
- package/dist/cli/{chunk-WC5754QJ.mjs → chunk-SI4QXATV.mjs} +5 -5
- package/dist/cli/{chunk-HOKOJGQW.mjs → chunk-VEOFISLZ.mjs} +1 -1
- package/dist/cli/{chunk-BPGFNVH2.js → chunk-VHFTN6VY.js} +44 -44
- package/dist/cli/{chunk-DEPBCRKG.mjs → chunk-VQ74WMKG.mjs} +3 -3
- package/dist/cli/{chunk-JY73USD7.js → chunk-WDBEWOU6.js} +2 -2
- package/dist/cli/{chunk-7VQKU6MS.js → chunk-XGXXNT4O.js} +270 -199
- package/dist/cli/{chunk-JVEU6MXD.mjs → chunk-XREZY4FA.mjs} +1 -1
- package/dist/cli/{chunk-OEG6VCK4.mjs → chunk-XSBGWMI6.mjs} +72 -1
- package/dist/cli/{chunk-B6Q6BHSY.mjs → chunk-XXQZYLLL.mjs} +2 -2
- package/dist/cli/{chunk-7VT7RMZ2.mjs → chunk-XZ6IZIQJ.mjs} +2 -2
- package/dist/cli/{chunk-63DHG7BM.js → chunk-YX7E2VQM.js} +26 -26
- package/dist/cli/{chunk-5MYXW6M6.mjs → chunk-ZFJ2U76O.mjs} +2 -2
- package/dist/cli/{chunk-2JXEZAJF.js → chunk-ZWGBQKW7.js} +21 -21
- package/dist/cli/{chunk-FFPLCSTZ.mjs → chunk-ZYVR4A4P.mjs} +10 -10
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-MTFVEDPU.mjs → csv-CNK6ZF3T.mjs} +4 -4
- package/dist/cli/{csv-UXFQZLZM.js → csv-S44OGG2O.js} +13 -13
- package/dist/cli/{db-3WPUYCCI.mjs → db-AVO6QJU6.mjs} +6 -6
- package/dist/cli/{db-RGWT6B7K.js → db-WKZ6EXNG.js} +27 -27
- package/dist/cli/{describe-XJY5654F.mjs → describe-2HQRT5MI.mjs} +18 -18
- package/dist/cli/describe-CCK77NER.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-PDE4V5YH.mjs → executions-DKHOR7HD.mjs} +6 -6
- package/dist/cli/{executions-IWTALFNB.js → executions-MTAHNARA.js} +8 -8
- package/dist/cli/{feedback-BMOVTPC4.mjs → feedback-K6SJS4LG.mjs} +5 -5
- package/dist/cli/{feedback-I72P4XZS.js → feedback-R2UABU3E.js} +10 -10
- package/dist/cli/{git-QJG3EF4P.mjs → git-3EPA7433.mjs} +5 -5
- package/dist/cli/git-7L3PY2A4.js +25 -0
- package/dist/cli/index.js +148 -144
- package/dist/cli/index.mjs +47 -43
- package/dist/cli/{legacy-noops-5P75CQC7.js → legacy-noops-3Q2D2F24.js} +9 -9
- package/dist/cli/{legacy-noops-MZ45GDMK.mjs → legacy-noops-66OPCJJD.mjs} +6 -6
- package/dist/cli/{monitors-VIOBUG2X.mjs → monitors-2PYPRWT4.mjs} +7 -7
- package/dist/cli/{monitors-5PHQZDZM.js → monitors-KHH4MZDF.js} +100 -100
- package/dist/cli/{org-D5RTFJNY.mjs → org-WAW3OL7B.mjs} +6 -6
- package/dist/cli/{org-B5LDVP2P.js → org-X5G36B2Q.js} +72 -72
- package/dist/cli/{pages-XWZL3YV2.mjs → pages-KABWXDGW.mjs} +6 -6
- package/dist/cli/{pages-BUJYG3JL.js → pages-XDPHCHHU.js} +18 -18
- package/dist/cli/{play-OSXLGCLZ.mjs → play-654B2HQU.mjs} +18 -18
- package/dist/cli/{play-SEC3EE7H.js → play-UE5FKQCO.js} +317 -317
- package/dist/cli/{providers-RQPUASLI.js → providers-QT2BZMJ7.js} +9 -9
- package/dist/cli/{providers-ENSURIW6.mjs → providers-SKNGX6IT.mjs} +6 -6
- package/dist/cli/{quickstart-HJTK6XWI.mjs → quickstart-BX7XMJIQ.mjs} +4 -4
- package/dist/cli/{quickstart-XDTU4MAT.js → quickstart-XWDVAQTT.js} +6 -6
- package/dist/cli/{run-GX2SU5AT.js → run-C6YYD4AK.js} +41 -41
- package/dist/cli/{run-ZMWSQAR2.mjs → run-JTU4K4MY.mjs} +23 -23
- package/dist/cli/{search-DZHZBHWT.mjs → search-NHV4Y4SX.mjs} +8 -8
- package/dist/cli/search-RIFW5JCK.js +33 -0
- package/dist/cli/{search-output-MNHAR754.mjs → search-output-AAOMFK7K.mjs} +4 -4
- package/dist/cli/{search-output-3JVZERNV.js → search-output-WLFFEGCY.js} +6 -6
- package/dist/cli/{secrets-WO2LMDQ2.js → secrets-H4WTLQJJ.js} +15 -15
- package/dist/cli/{secrets-VALVNVXB.mjs → secrets-S66PZSRO.mjs} +6 -6
- package/dist/cli/sessions-EFWO62XJ.js +18 -0
- package/dist/cli/{sessions-EPYCH3AY.mjs → sessions-PY6FJX3O.mjs} +6 -6
- package/dist/cli/{settings-W2ABZUD4.mjs → settings-V7BM42KQ.mjs} +13 -13
- package/dist/cli/{settings-OSF4O5HM.js → settings-YO4FFPN6.js} +86 -86
- package/dist/cli/{setup-DCXNQG6R.js → setup-IFZYYQ2W.js} +50 -50
- package/dist/cli/{setup-XI2ERSMQ.mjs → setup-VUBM2HMH.mjs} +10 -10
- package/dist/cli/{skills-ZO4AH2YR.mjs → skills-EYWRSQQJ.mjs} +8 -8
- package/dist/cli/skills-LFP53SWQ.js +37 -0
- package/dist/cli/tools-SR2Q7KC5.js +57 -0
- package/dist/cli/{tools-FTECXZYA.mjs → tools-VZOW4MUD.mjs} +17 -17
- package/dist/cli/update-ADZBZZZS.js +35 -0
- package/dist/cli/{update-WPFZO2JE.mjs → update-CQDJJYU2.mjs} +10 -10
- package/dist/cli/{workflow-7X75IP3D.mjs → workflow-2VRDIPF3.mjs} +7 -7
- package/dist/cli/{workflow-PKMU33LV.js → workflow-XS3JEU6X.js} +17 -17
- package/dist/{client-DMpsMNH9.d.mts → client-By7bUS8h.d.mts} +1 -1
- package/dist/{client-BlwD-G4v.d.ts → client-CmlKSBXd.d.ts} +1 -1
- package/dist/{client-core-DwBLuEkm.d.ts → client-core-BM0mKhgp.d.ts} +93 -1
- package/dist/{client-core-CITtRTbB.d.mts → client-core-BZ3tpY_J.d.mts} +93 -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 -108
- 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-S2Z5YMU3.js +0 -43
- package/dist/cli/describe-LNCLA2LA.js +0 -50
- package/dist/cli/git-QWH7SPGF.js +0 -25
- package/dist/cli/search-7WPABWYO.js +0 -33
- package/dist/cli/sessions-2IA2DGWO.js +0 -18
- package/dist/cli/skills-QMD2WARJ.js +0 -37
- package/dist/cli/tools-53E6GBQU.js +0 -57
- package/dist/cli/update-PPPNR6J5.js +0 -35
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFAGSSIOYjs = require('./chunk-FAGSSIOY.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKUDNPJ43js = require('./chunk-KUDNPJ43.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,17 +13,17 @@ var _chunk3LXU22UZjs = require('./chunk-3LXU22UZ.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkZWGBQKW7js = require('./chunk-ZWGBQKW7.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 _chunkWDBEWOU6js = require('./chunk-WDBEWOU6.js');
|
|
24
|
+
require('./chunk-PUFEARWT.js');
|
|
25
|
+
require('./chunk-KZBKQPSA.js');
|
|
26
|
+
require('./chunk-LDZYGM7W.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -35,10 +35,10 @@ require('./chunk-B2T7PBS6.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkNVMNMKZWjs = require('./chunk-NVMNMKZW.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -46,12 +46,12 @@ var _chunkQRQBKLOMjs = require('./chunk-QRQBKLOM.js');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkGD3ES3JUjs = require('./chunk-GD3ES3JU.js');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkFF25PDQ2js = require('./chunk-FF25PDQ2.js');
|
|
55
55
|
require('./chunk-R7J7CJPZ.js');
|
|
56
56
|
require('./chunk-YGCKMI5P.js');
|
|
57
57
|
|
|
@@ -66,7 +66,7 @@ require('./chunk-YGCKMI5P.js');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
@@ -74,18 +74,18 @@ var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
86
86
|
require('./chunk-XNYIZMNQ.js');
|
|
87
87
|
require('./chunk-DIAWYWT5.js');
|
|
88
|
-
require('./chunk-
|
|
88
|
+
require('./chunk-BHV7JKXQ.js');
|
|
89
89
|
require('./chunk-OG64RBAC.js');
|
|
90
90
|
require('./chunk-RLX5ZFNX.js');
|
|
91
91
|
require('./chunk-COGTRVWW.js');
|
|
@@ -166,56 +166,60 @@ var _os = require('os');
|
|
|
166
166
|
var COMMAND_GROUPS = [
|
|
167
167
|
{
|
|
168
168
|
names: ["auth"],
|
|
169
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
169
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-PI2KS2CD.js")))).registerAuthCommands
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
names: ["providers"],
|
|
173
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
173
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-QT2BZMJ7.js")))).registerProviderCommands
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
names: ["search"],
|
|
177
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
177
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-RIFW5JCK.js")))).registerSearchCommand
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
names: ["describe"],
|
|
181
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
181
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-CCK77NER.js")))).registerDescribeCommand
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
names: ["run"],
|
|
185
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
185
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-C6YYD4AK.js")))).registerRunCommand
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
names: ["tools"],
|
|
189
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
189
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-SR2Q7KC5.js")))).registerToolsCommands
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
names: ["executions"],
|
|
193
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
193
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-MTAHNARA.js")))).registerExecutionsCommands
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
names: ["plays", "runs"],
|
|
197
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
197
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-UE5FKQCO.js")))).registerPlayCommands
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
names: ["sessions"],
|
|
201
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
201
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-EFWO62XJ.js")))).registerSessionsCommands
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
names: ["workflows"],
|
|
205
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
205
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-XS3JEU6X.js")))).registerWorkflowCommands
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
names: ["pages"],
|
|
209
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-
|
|
209
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-XDPHCHHU.js")))).registerPagesCommands
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
names: ["artifacts"],
|
|
213
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./artifacts-PLF5ZUS7.js")))).registerArtifactsCommands
|
|
210
214
|
},
|
|
211
215
|
{
|
|
212
216
|
names: ["secrets"],
|
|
213
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
217
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-H4WTLQJJ.js")))).registerSecretsCommands
|
|
214
218
|
},
|
|
215
219
|
{
|
|
216
220
|
names: ["settings", "notifications"],
|
|
217
221
|
load: async () => {
|
|
218
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
222
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-YO4FFPN6.js")));
|
|
219
223
|
return (p) => {
|
|
220
224
|
commands.registerSettingsCommands(p);
|
|
221
225
|
commands.registerNotificationCommands(p);
|
|
@@ -224,51 +228,51 @@ var COMMAND_GROUPS = [
|
|
|
224
228
|
},
|
|
225
229
|
{
|
|
226
230
|
names: ["billing"],
|
|
227
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
231
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-Z3XFXP3H.js")))).registerBillingCommands
|
|
228
232
|
},
|
|
229
233
|
{
|
|
230
234
|
names: ["monitors"],
|
|
231
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
235
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-KHH4MZDF.js")))).registerMonitorsCommands
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
238
|
names: ["org"],
|
|
235
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
239
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-X5G36B2Q.js")))).registerOrgCommands
|
|
236
240
|
},
|
|
237
241
|
{
|
|
238
242
|
names: ["git", "projects", "deployments"],
|
|
239
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
243
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-7L3PY2A4.js")))).registerGitCommands
|
|
240
244
|
},
|
|
241
245
|
{
|
|
242
246
|
names: ["csv"],
|
|
243
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
247
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-S44OGG2O.js")))).registerCsvCommands
|
|
244
248
|
},
|
|
245
249
|
{
|
|
246
250
|
names: ["db"],
|
|
247
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
251
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-WKZ6EXNG.js")))).registerDbCommands
|
|
248
252
|
},
|
|
249
253
|
{
|
|
250
254
|
names: ["feedback"],
|
|
251
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
255
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-R2UABU3E.js")))).registerFeedbackCommands
|
|
252
256
|
},
|
|
253
257
|
{
|
|
254
258
|
names: ["enrich", "session", "backend"],
|
|
255
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
259
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-3Q2D2F24.js")))).registerDeprecatedCommands
|
|
256
260
|
},
|
|
257
261
|
{
|
|
258
262
|
names: ["update"],
|
|
259
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
263
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-ADZBZZZS.js")))).registerUpdateCommand
|
|
260
264
|
},
|
|
261
265
|
{
|
|
262
266
|
names: ["skills", "skills-auto-sync"],
|
|
263
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
267
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-LFP53SWQ.js")))).registerSkillsCommand
|
|
264
268
|
},
|
|
265
269
|
{
|
|
266
270
|
names: ["setup", "doctor"],
|
|
267
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
271
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-IFZYYQ2W.js")))).registerSetupCommands
|
|
268
272
|
},
|
|
269
273
|
{
|
|
270
274
|
names: ["quickstart"],
|
|
271
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
275
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-XWDVAQTT.js")))).registerQuickstartCommands
|
|
272
276
|
}
|
|
273
277
|
];
|
|
274
278
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -294,8 +298,8 @@ function registerDeeplineInlineCommands(program) {
|
|
|
294
298
|
function createDeferredPlayRunMaintenance(input) {
|
|
295
299
|
return async () => {
|
|
296
300
|
try {
|
|
297
|
-
const skillsVersion =
|
|
298
|
-
const compatibility = await
|
|
301
|
+
const skillsVersion = _chunkGGQHOLH6js.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
302
|
+
const compatibility = await _chunkWDBEWOU6js.traceCliSpan.call(void 0,
|
|
299
303
|
"cli.sdk_compatibility_deferred",
|
|
300
304
|
{
|
|
301
305
|
baseUrl: input.baseUrl,
|
|
@@ -303,24 +307,24 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
303
307
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
304
308
|
},
|
|
305
309
|
async () => {
|
|
306
|
-
const trusted =
|
|
310
|
+
const trusted = _chunkVHFTN6VYjs.readTrustedCleanCompatibility.call(void 0,
|
|
307
311
|
input.baseUrl,
|
|
308
312
|
"plays run",
|
|
309
313
|
skillsVersion
|
|
310
314
|
);
|
|
311
315
|
if (trusted) return { response: trusted, error: null };
|
|
312
|
-
return
|
|
316
|
+
return _chunkVHFTN6VYjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
313
317
|
command: "plays run",
|
|
314
318
|
skillsVersion,
|
|
315
319
|
persistCache: input.policy !== "off",
|
|
316
|
-
catalog:
|
|
320
|
+
catalog: _chunkZWGBQKW7js.compatibilityCatalog.call(void 0, input.command)
|
|
317
321
|
});
|
|
318
322
|
}
|
|
319
323
|
);
|
|
320
324
|
if (compatibility.error || !compatibility.response) return;
|
|
321
325
|
const automaticUpdate = compatibility.response.auto_update;
|
|
322
326
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
323
|
-
await
|
|
327
|
+
await _chunkZWGBQKW7js.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
324
328
|
compatibility.response,
|
|
325
329
|
input.baseUrl,
|
|
326
330
|
input.policy
|
|
@@ -330,7 +334,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
330
334
|
compatibility.response,
|
|
331
335
|
"skills"
|
|
332
336
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
333
|
-
await
|
|
337
|
+
await _chunkVHFTN6VYjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
334
338
|
update: skillsUpdate,
|
|
335
339
|
mode: "detached"
|
|
336
340
|
});
|
|
@@ -358,8 +362,8 @@ var MAX_SESSIONS = 20;
|
|
|
358
362
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
359
363
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
360
364
|
}
|
|
361
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
362
|
-
const explicit =
|
|
365
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkJIY25SUXjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
366
|
+
const explicit = _chunkFF25PDQ2js.helpDetailFromArgv.call(void 0, argv);
|
|
363
367
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
364
368
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
365
369
|
const path = helpSeenPath(homeDir);
|
|
@@ -456,7 +460,7 @@ function shouldReport(stdout, stderr) {
|
|
|
456
460
|
}
|
|
457
461
|
function toolName(action) {
|
|
458
462
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
459
|
-
return typeof toolId === "string" ?
|
|
463
|
+
return typeof toolId === "string" ? _chunkGD3ES3JUjs.redactFailureText.call(void 0, toolId) : null;
|
|
460
464
|
}
|
|
461
465
|
function chunkText(chunk) {
|
|
462
466
|
if (typeof chunk === "string") return chunk;
|
|
@@ -487,14 +491,14 @@ function watch(stream) {
|
|
|
487
491
|
}
|
|
488
492
|
async function postCommandOutput(body) {
|
|
489
493
|
try {
|
|
490
|
-
const baseUrl =
|
|
491
|
-
const apiKey =
|
|
494
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
495
|
+
const apiKey = _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
492
496
|
if (!apiKey) return;
|
|
493
|
-
const agentSessionId =
|
|
497
|
+
const agentSessionId = _chunkJIY25SUXjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
494
498
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
495
499
|
method: "POST",
|
|
496
500
|
headers: {
|
|
497
|
-
...
|
|
501
|
+
..._chunkGD3ES3JUjs.failureReportHeaders.call(void 0, apiKey),
|
|
498
502
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
499
503
|
},
|
|
500
504
|
body: JSON.stringify(body),
|
|
@@ -510,14 +514,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
510
514
|
const stdoutWatch = watch(streams.stdout);
|
|
511
515
|
const stderrWatch = watch(streams.stderr);
|
|
512
516
|
return async (finished) => {
|
|
513
|
-
if (
|
|
517
|
+
if (_chunkGD3ES3JUjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
514
518
|
const [stdout, stderr] = await Promise.all([
|
|
515
519
|
stdoutWatch.settled(),
|
|
516
520
|
stderrWatch.settled()
|
|
517
521
|
]);
|
|
518
522
|
if (!shouldReport(stdout, stderr)) return;
|
|
519
523
|
await postCommandOutput({
|
|
520
|
-
command:
|
|
524
|
+
command: _chunkGD3ES3JUjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
521
525
|
tool: toolName(finished.action),
|
|
522
526
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
523
527
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -548,7 +552,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
548
552
|
function printUsageErrorJson(code, message, commandPath) {
|
|
549
553
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
550
554
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
551
|
-
|
|
555
|
+
_chunkJYFLIQPEjs.printJson.call(void 0, {
|
|
552
556
|
ok: false,
|
|
553
557
|
error: {
|
|
554
558
|
code,
|
|
@@ -606,7 +610,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
606
610
|
);
|
|
607
611
|
}
|
|
608
612
|
async function runPlayRunnerHealthCheck() {
|
|
609
|
-
|
|
613
|
+
_chunkGGQHOLH6js.resolveConfig.call(void 0, );
|
|
610
614
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
611
615
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
612
616
|
try {
|
|
@@ -636,7 +640,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
636
640
|
});
|
|
637
641
|
let exitCode = 1;
|
|
638
642
|
try {
|
|
639
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
643
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-UE5FKQCO.js")));
|
|
640
644
|
exitCode = await handlePlayRun([
|
|
641
645
|
file,
|
|
642
646
|
"--input",
|
|
@@ -676,7 +680,7 @@ function preflightErrorMessage(error) {
|
|
|
676
680
|
return error instanceof Error ? error.message : String(error);
|
|
677
681
|
}
|
|
678
682
|
async function runPreflightCheck() {
|
|
679
|
-
const baseUrl =
|
|
683
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
680
684
|
const healthController = new AbortController();
|
|
681
685
|
const healthTimeout = setTimeout(
|
|
682
686
|
() => healthController.abort(),
|
|
@@ -693,14 +697,14 @@ async function runPreflightCheck() {
|
|
|
693
697
|
}).catch((error) => ({
|
|
694
698
|
status: "unreachable",
|
|
695
699
|
version: null,
|
|
696
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
700
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkJIY25SUXjs.connectionFailureMessage.call(void 0,
|
|
697
701
|
baseUrl,
|
|
698
702
|
error instanceof Error ? error : new Error(String(error))
|
|
699
703
|
)
|
|
700
704
|
})).finally(() => clearTimeout(healthTimeout));
|
|
701
|
-
const apiKey =
|
|
702
|
-
const http = apiKey ? new (0,
|
|
703
|
-
|
|
705
|
+
const apiKey = _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
706
|
+
const http = apiKey ? new (0, _chunkGGQHOLH6js.HttpClient)(
|
|
707
|
+
_chunkGGQHOLH6js.resolveConfig.call(void 0, {
|
|
704
708
|
baseUrl,
|
|
705
709
|
apiKey,
|
|
706
710
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -745,7 +749,7 @@ async function runPreflightCheck() {
|
|
|
745
749
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
746
750
|
return {
|
|
747
751
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
748
|
-
cli_version:
|
|
752
|
+
cli_version: _chunkJIY25SUXjs.SDK_VERSION,
|
|
749
753
|
host: baseUrl,
|
|
750
754
|
health: {
|
|
751
755
|
status: healthResult.status,
|
|
@@ -772,7 +776,7 @@ async function runPreflightCheck() {
|
|
|
772
776
|
{
|
|
773
777
|
title: "preflight",
|
|
774
778
|
lines: [
|
|
775
|
-
`cli: ${
|
|
779
|
+
`cli: ${_chunkJIY25SUXjs.SDK_VERSION}`,
|
|
776
780
|
`host: ${baseUrl}`,
|
|
777
781
|
`health: ${healthResult.status}`,
|
|
778
782
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -799,12 +803,12 @@ function printPreflightHuman(data) {
|
|
|
799
803
|
}
|
|
800
804
|
async function newerCliCommandHint(baseUrl, command) {
|
|
801
805
|
if (!command.trim()) return null;
|
|
802
|
-
const { response, error } = await
|
|
806
|
+
const { response, error } = await _chunkVHFTN6VYjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
803
807
|
if (error || !response) return null;
|
|
804
808
|
const introduced = response.command_introduced_in;
|
|
805
809
|
if (introduced) {
|
|
806
810
|
return [
|
|
807
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
811
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkJIY25SUXjs.SDK_VERSION}.`,
|
|
808
812
|
` ${introduced.reason}`,
|
|
809
813
|
` Update with: ${response.update_command}`,
|
|
810
814
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -813,32 +817,32 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
813
817
|
if (!response.update_required) return null;
|
|
814
818
|
return [
|
|
815
819
|
response.message,
|
|
816
|
-
` Installed: ${
|
|
820
|
+
` Installed: ${_chunkJIY25SUXjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
817
821
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
818
822
|
].join("\n");
|
|
819
823
|
}
|
|
820
824
|
async function runMain(ensureTransport, onAction, suppressOutputReport) {
|
|
821
825
|
const mainStartedAt = Date.now();
|
|
822
|
-
|
|
826
|
+
_chunkJYFLIQPEjs.installJsonStderrGuard.call(void 0, );
|
|
823
827
|
let rootHelpStatus = "";
|
|
824
828
|
let commandFailed = false;
|
|
825
829
|
const deferredMaintenance = { inlinePlay: null };
|
|
826
|
-
|
|
830
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
827
831
|
phase: "cli.main_start",
|
|
828
832
|
argv: process.argv.slice(2)
|
|
829
833
|
});
|
|
830
834
|
const printStartupPhase = shouldPrintStartupPhase();
|
|
831
|
-
const progress = printStartupPhase ?
|
|
835
|
+
const progress = printStartupPhase ? _chunkNVMNMKZWjs.createCliProgress.call(void 0, true) : null;
|
|
832
836
|
if (printStartupPhase) {
|
|
833
837
|
_optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
|
|
834
838
|
}
|
|
835
839
|
const program = new (0, _commander.Command)();
|
|
836
840
|
program.name("deepline").description(
|
|
837
841
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
838
|
-
).version(
|
|
842
|
+
).version(_chunkJIY25SUXjs.SDK_VERSION, "-v, --version", "Show version").option(
|
|
839
843
|
"--maintenance <policy>",
|
|
840
844
|
"Installation maintenance: configured preferences or off; independent of output format",
|
|
841
|
-
|
|
845
|
+
_chunkWDBEWOU6js.parseCliMaintenancePolicy,
|
|
842
846
|
"configured"
|
|
843
847
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
844
848
|
"beforeAll",
|
|
@@ -887,9 +891,9 @@ Exit codes:
|
|
|
887
891
|
5 server/runtime/provider failure; 7 validation/check failed.
|
|
888
892
|
`
|
|
889
893
|
).addHelpText("afterAll", ({ command }) => {
|
|
890
|
-
const key =
|
|
894
|
+
const key = _chunkFF25PDQ2js.commandDocKey.call(void 0, command);
|
|
891
895
|
const { detail, firstRead } = resolveHelpDetail(process.argv, key);
|
|
892
|
-
return
|
|
896
|
+
return _chunkFF25PDQ2js.renderCommandExplanation.call(void 0, key, detail, { firstRead });
|
|
893
897
|
});
|
|
894
898
|
program.hook("preAction", async (_thisCommand, actionCommand) => {
|
|
895
899
|
const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
|
|
@@ -897,25 +901,25 @@ Exit codes:
|
|
|
897
901
|
path: compatibilityCommand,
|
|
898
902
|
args: actionCommand.processedArgs
|
|
899
903
|
});
|
|
900
|
-
const maintenance =
|
|
904
|
+
const maintenance = _chunkWDBEWOU6js.resolveCliMaintenancePolicy.call(void 0,
|
|
901
905
|
actionCommand.optsWithGlobals()
|
|
902
906
|
);
|
|
903
907
|
if (actionCommand.name() !== "version") {
|
|
904
908
|
await ensureTransport();
|
|
905
909
|
}
|
|
906
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
910
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkVHFTN6VYjs.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(
|
|
907
911
|
compatibilityCommand
|
|
908
|
-
) &&
|
|
912
|
+
) && _chunkKUDNPJ43js.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
|
|
909
913
|
return;
|
|
910
914
|
}
|
|
911
915
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
912
916
|
if (isToolExecuteCommand) {
|
|
913
|
-
|
|
917
|
+
_chunkZWGBQKW7js.beginToolExecuteCommand.call(void 0, );
|
|
914
918
|
}
|
|
915
919
|
if (isToolExecuteCommand) {
|
|
916
|
-
const baseUrl =
|
|
917
|
-
if (maintenance !== "off")
|
|
918
|
-
|
|
920
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
921
|
+
if (maintenance !== "off") _chunkVHFTN6VYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
922
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
919
923
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
920
924
|
baseUrl,
|
|
921
925
|
command: compatibilityCommand
|
|
@@ -923,9 +927,9 @@ Exit codes:
|
|
|
923
927
|
return;
|
|
924
928
|
}
|
|
925
929
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
926
|
-
if (!playDryRun &&
|
|
930
|
+
if (!playDryRun && _chunkFAGSSIOYjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
927
931
|
if (maintenance !== "off") {
|
|
928
|
-
const baseUrl =
|
|
932
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
929
933
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
930
934
|
baseUrl,
|
|
931
935
|
command: actionCommand,
|
|
@@ -934,27 +938,27 @@ Exit codes:
|
|
|
934
938
|
}
|
|
935
939
|
return;
|
|
936
940
|
}
|
|
937
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
941
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkZWGBQKW7js.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
938
942
|
if (printStartupPhase) {
|
|
939
943
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
940
944
|
}
|
|
941
945
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
942
|
-
const baseUrl =
|
|
943
|
-
if (maintenance !== "off")
|
|
946
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
947
|
+
if (maintenance !== "off") _chunkVHFTN6VYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
944
948
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
945
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
946
|
-
const trusted = isToolExecuteCommand ? null :
|
|
949
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkGGQHOLH6js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
950
|
+
const trusted = isToolExecuteCommand ? null : _chunkVHFTN6VYjs.readTrustedCleanCompatibility.call(void 0,
|
|
947
951
|
baseUrl,
|
|
948
952
|
compatibilityCommand,
|
|
949
953
|
skillsVersion
|
|
950
954
|
);
|
|
951
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
955
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkVHFTN6VYjs.readFreshCleanCompatibility.call(void 0,
|
|
952
956
|
baseUrl,
|
|
953
957
|
compatibilityCommand,
|
|
954
958
|
skillsVersion
|
|
955
959
|
) !== null;
|
|
956
960
|
if (trusted) {
|
|
957
|
-
|
|
961
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
958
962
|
phase: "cli.sdk_compatibility",
|
|
959
963
|
ms: 0,
|
|
960
964
|
ok: true,
|
|
@@ -964,7 +968,7 @@ Exit codes:
|
|
|
964
968
|
source: "trusted_cache"
|
|
965
969
|
});
|
|
966
970
|
}
|
|
967
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
971
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkWDBEWOU6js.traceCliSpan.call(void 0,
|
|
968
972
|
"cli.sdk_compatibility",
|
|
969
973
|
{
|
|
970
974
|
baseUrl,
|
|
@@ -972,12 +976,12 @@ Exit codes:
|
|
|
972
976
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
973
977
|
fastDeadline
|
|
974
978
|
},
|
|
975
|
-
() =>
|
|
979
|
+
() => _chunkVHFTN6VYjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
976
980
|
command: compatibilityCommand,
|
|
977
981
|
skillsVersion,
|
|
978
982
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
979
|
-
catalog:
|
|
980
|
-
...fastDeadline ? { timeoutMs:
|
|
983
|
+
catalog: _chunkZWGBQKW7js.compatibilityCatalog.call(void 0, actionCommand),
|
|
984
|
+
...fastDeadline ? { timeoutMs: _chunkVHFTN6VYjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
981
985
|
})
|
|
982
986
|
);
|
|
983
987
|
if (compatibility.error) {
|
|
@@ -988,7 +992,7 @@ Exit codes:
|
|
|
988
992
|
response: null
|
|
989
993
|
};
|
|
990
994
|
}
|
|
991
|
-
const relaunched = await
|
|
995
|
+
const relaunched = await _chunkZWGBQKW7js.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
992
996
|
compatibility.response,
|
|
993
997
|
baseUrl,
|
|
994
998
|
maintenance
|
|
@@ -1002,14 +1006,14 @@ Exit codes:
|
|
|
1002
1006
|
};
|
|
1003
1007
|
}
|
|
1004
1008
|
const policy = compatibility.response;
|
|
1005
|
-
const jsonOutput =
|
|
1006
|
-
|
|
1009
|
+
const jsonOutput = _chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, );
|
|
1010
|
+
_chunkVHFTN6VYjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
1007
1011
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
1008
|
-
|
|
1012
|
+
_chunkZWGBQKW7js.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkVHFTN6VYjs.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
1009
1013
|
});
|
|
1010
1014
|
const advisory = compatibility.response;
|
|
1011
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
1012
|
-
|
|
1015
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkVHFTN6VYjs.isCiEnvironment.call(void 0, ) && !_chunkZWGBQKW7js.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1016
|
+
_chunkJYFLIQPEjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
1013
1017
|
}
|
|
1014
1018
|
return {
|
|
1015
1019
|
shouldContinue: true,
|
|
@@ -1026,10 +1030,10 @@ Exit codes:
|
|
|
1026
1030
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
1027
1031
|
await runStartupStage(
|
|
1028
1032
|
"agent skills sync",
|
|
1029
|
-
() =>
|
|
1033
|
+
() => _chunkWDBEWOU6js.traceCliSpan.call(void 0,
|
|
1030
1034
|
"cli.sdk_skills_sync",
|
|
1031
1035
|
{ baseUrl: startup.baseUrl },
|
|
1032
|
-
() =>
|
|
1036
|
+
() => _chunkVHFTN6VYjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1033
1037
|
update: skillsUpdate,
|
|
1034
1038
|
mode: "detached"
|
|
1035
1039
|
})
|
|
@@ -1043,16 +1047,16 @@ Exit codes:
|
|
|
1043
1047
|
);
|
|
1044
1048
|
const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
|
|
1045
1049
|
if (carriesFeedback) suppressOutputReport();
|
|
1046
|
-
const commandRegistrationStartedAt =
|
|
1050
|
+
const commandRegistrationStartedAt = _chunkWDBEWOU6js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1047
1051
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1048
1052
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1049
|
-
|
|
1053
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
1050
1054
|
phase: "cli.command_registration",
|
|
1051
1055
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1052
1056
|
});
|
|
1053
1057
|
}
|
|
1054
1058
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1055
|
-
if (
|
|
1059
|
+
if (_chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1056
1060
|
preflight.addHelpText(
|
|
1057
1061
|
"after",
|
|
1058
1062
|
`
|
|
@@ -1068,8 +1072,8 @@ Examples:
|
|
|
1068
1072
|
`
|
|
1069
1073
|
).action(async (options) => {
|
|
1070
1074
|
const data = await runPreflightCheck();
|
|
1071
|
-
if (
|
|
1072
|
-
|
|
1075
|
+
if (_chunkJYFLIQPEjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1076
|
+
_chunkJYFLIQPEjs.printJson.call(void 0, data);
|
|
1073
1077
|
} else {
|
|
1074
1078
|
printPreflightHuman(data);
|
|
1075
1079
|
}
|
|
@@ -1094,7 +1098,7 @@ Examples:
|
|
|
1094
1098
|
).action(async (options) => {
|
|
1095
1099
|
if (options.playRunner) {
|
|
1096
1100
|
const data = await runPlayRunnerHealthCheck();
|
|
1097
|
-
|
|
1101
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, data, {
|
|
1098
1102
|
json: options.json,
|
|
1099
1103
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1100
1104
|
`
|
|
@@ -1102,15 +1106,15 @@ Examples:
|
|
|
1102
1106
|
return;
|
|
1103
1107
|
}
|
|
1104
1108
|
try {
|
|
1105
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1106
|
-
const baseUrl =
|
|
1109
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-PI2KS2CD.js")));
|
|
1110
|
+
const baseUrl = _chunkGGQHOLH6js.resolveBaseUrlOnly.call(void 0, );
|
|
1107
1111
|
const [{ status, data }, banner] = await Promise.all([
|
|
1108
1112
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1109
1113
|
readStatusBanner(baseUrl)
|
|
1110
1114
|
]);
|
|
1111
1115
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1112
1116
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1113
|
-
|
|
1117
|
+
_chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
|
|
1114
1118
|
{ ...data, status_banner: banner },
|
|
1115
1119
|
{
|
|
1116
1120
|
json: options.json,
|
|
@@ -1138,16 +1142,16 @@ Examples:
|
|
|
1138
1142
|
`
|
|
1139
1143
|
).action((options) => {
|
|
1140
1144
|
if (options.json) {
|
|
1141
|
-
|
|
1145
|
+
_chunkJYFLIQPEjs.printCompactJson.call(void 0, { version: _chunkJIY25SUXjs.SDK_VERSION });
|
|
1142
1146
|
return;
|
|
1143
1147
|
}
|
|
1144
|
-
process.stdout.write(`deepline ${
|
|
1148
|
+
process.stdout.write(`deepline ${_chunkJIY25SUXjs.SDK_VERSION}
|
|
1145
1149
|
`);
|
|
1146
1150
|
});
|
|
1147
1151
|
if (process.argv.slice(2).length === 0) {
|
|
1148
1152
|
program.outputHelp({ error: true });
|
|
1149
1153
|
console.error("\nerror: missing command (see usage above)");
|
|
1150
|
-
|
|
1154
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
1151
1155
|
phase: "cli.main_total",
|
|
1152
1156
|
ms: Date.now() - mainStartedAt,
|
|
1153
1157
|
ok: false,
|
|
@@ -1159,16 +1163,16 @@ Examples:
|
|
|
1159
1163
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1160
1164
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1161
1165
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1162
|
-
if (!
|
|
1163
|
-
const baseUrl =
|
|
1166
|
+
if (!_chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1167
|
+
const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, );
|
|
1164
1168
|
await ensureTransport();
|
|
1165
1169
|
const versionHint = await newerCliCommandHint(
|
|
1166
1170
|
baseUrl,
|
|
1167
1171
|
requestedTopLevelCommand
|
|
1168
1172
|
);
|
|
1169
|
-
if (
|
|
1173
|
+
if (_chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, )) {
|
|
1170
1174
|
if (versionHint) {
|
|
1171
|
-
|
|
1175
|
+
_chunkJYFLIQPEjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1172
1176
|
}
|
|
1173
1177
|
printUsageErrorJson(
|
|
1174
1178
|
"commander.unknownCommand",
|
|
@@ -1190,19 +1194,19 @@ Examples:
|
|
|
1190
1194
|
const helpArgs = process.argv.slice(2);
|
|
1191
1195
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1192
1196
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1193
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1194
|
-
rootHelpStatus = `Version: ${
|
|
1197
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-PI2KS2CD.js")));
|
|
1198
|
+
rootHelpStatus = `Version: ${_chunkJIY25SUXjs.SDK_VERSION}
|
|
1195
1199
|
${await authStatusLine()}
|
|
1196
1200
|
`;
|
|
1197
1201
|
}
|
|
1198
1202
|
await program.parseAsync(process.argv);
|
|
1199
|
-
|
|
1203
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
1200
1204
|
phase: "cli.main_total",
|
|
1201
1205
|
ms: Date.now() - mainStartedAt,
|
|
1202
1206
|
ok: true
|
|
1203
1207
|
});
|
|
1204
1208
|
if (!carriesFeedback) {
|
|
1205
|
-
await
|
|
1209
|
+
await _chunkGD3ES3JUjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1206
1210
|
argv: process.argv.slice(2),
|
|
1207
1211
|
startedAtMs: mainStartedAt,
|
|
1208
1212
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
@@ -1211,14 +1215,14 @@ ${await authStatusLine()}
|
|
|
1211
1215
|
} catch (error) {
|
|
1212
1216
|
commandFailed = true;
|
|
1213
1217
|
const commanderError = asCommanderError(error);
|
|
1214
|
-
|
|
1218
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
1215
1219
|
phase: "cli.main_total",
|
|
1216
1220
|
ms: Date.now() - mainStartedAt,
|
|
1217
1221
|
ok: false,
|
|
1218
1222
|
error: error instanceof Error ? error.message : String(error)
|
|
1219
1223
|
});
|
|
1220
1224
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1221
|
-
const wantsJson =
|
|
1225
|
+
const wantsJson = _chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, );
|
|
1222
1226
|
if (commanderError) {
|
|
1223
1227
|
const grammarError = [
|
|
1224
1228
|
"commander.unknownCommand",
|
|
@@ -1229,12 +1233,12 @@ ${await authStatusLine()}
|
|
|
1229
1233
|
if (grammarError) {
|
|
1230
1234
|
await ensureTransport();
|
|
1231
1235
|
const versionHint = await newerCliCommandHint(
|
|
1232
|
-
|
|
1236
|
+
_chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ),
|
|
1233
1237
|
commandPath
|
|
1234
1238
|
);
|
|
1235
1239
|
if (wantsJson) {
|
|
1236
1240
|
if (versionHint) {
|
|
1237
|
-
|
|
1241
|
+
_chunkJYFLIQPEjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1238
1242
|
}
|
|
1239
1243
|
} else {
|
|
1240
1244
|
if (versionHint) console.error(versionHint);
|
|
@@ -1254,43 +1258,43 @@ ${await authStatusLine()}
|
|
|
1254
1258
|
return;
|
|
1255
1259
|
} else if (wantsJson) {
|
|
1256
1260
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1257
|
-
|
|
1261
|
+
_chunkJYFLIQPEjs.addJsonNotice.call(void 0, {
|
|
1258
1262
|
code: "auth_required",
|
|
1259
1263
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1260
1264
|
});
|
|
1261
1265
|
}
|
|
1262
|
-
const providerConcurrency =
|
|
1266
|
+
const providerConcurrency = _chunkJYFLIQPEjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1263
1267
|
if (providerConcurrency) {
|
|
1264
|
-
|
|
1268
|
+
_chunkJYFLIQPEjs.addJsonNotice.call(void 0, {
|
|
1265
1269
|
code: "provider_concurrency",
|
|
1266
1270
|
message: providerConcurrency
|
|
1267
1271
|
});
|
|
1268
1272
|
}
|
|
1269
|
-
const payload =
|
|
1270
|
-
|
|
1273
|
+
const payload = _chunkJYFLIQPEjs.errorToJsonPayload.call(void 0, error);
|
|
1274
|
+
_chunkJYFLIQPEjs.printJson.call(void 0, {
|
|
1271
1275
|
...payload,
|
|
1272
1276
|
// The envelope names the code the process exits with, so a caller
|
|
1273
1277
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1274
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1278
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkGD3ES3JUjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1275
1279
|
...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1276
1280
|
});
|
|
1277
1281
|
} else if (error instanceof Error) {
|
|
1278
1282
|
console.error(`Error: ${error.message}`);
|
|
1279
|
-
const toolDiagnostic =
|
|
1283
|
+
const toolDiagnostic = _chunkJYFLIQPEjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1280
1284
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1281
1285
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1282
1286
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1283
1287
|
}
|
|
1284
|
-
const providerConcurrency =
|
|
1288
|
+
const providerConcurrency = _chunkJYFLIQPEjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1285
1289
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1286
1290
|
} else {
|
|
1287
1291
|
console.error(`Error: ${String(error)}`);
|
|
1288
1292
|
}
|
|
1289
1293
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1290
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1294
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkGD3ES3JUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1291
1295
|
process.exitCode = failureExitCode;
|
|
1292
1296
|
if (!carriesFeedback) {
|
|
1293
|
-
await
|
|
1297
|
+
await _chunkGD3ES3JUjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1294
1298
|
argv: process.argv.slice(2),
|
|
1295
1299
|
startedAtMs: mainStartedAt,
|
|
1296
1300
|
exitCode: failureExitCode,
|
|
@@ -1298,13 +1302,13 @@ ${await authStatusLine()}
|
|
|
1298
1302
|
});
|
|
1299
1303
|
}
|
|
1300
1304
|
} finally {
|
|
1301
|
-
|
|
1305
|
+
_chunkZWGBQKW7js.finishToolExecuteCommand.call(void 0, );
|
|
1302
1306
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1303
1307
|
deferredMaintenance.inlinePlay = null;
|
|
1304
1308
|
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1305
1309
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1306
1310
|
}
|
|
1307
|
-
await
|
|
1311
|
+
await _chunkZWGBQKW7js.runDeferredAutoUpdate.call(void 0, );
|
|
1308
1312
|
}
|
|
1309
1313
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1310
1314
|
}
|
|
@@ -1312,7 +1316,7 @@ async function main() {
|
|
|
1312
1316
|
let disposeTransport;
|
|
1313
1317
|
const ensureTransport = async () => {
|
|
1314
1318
|
if (disposeTransport) return;
|
|
1315
|
-
const transportStartedAt =
|
|
1319
|
+
const transportStartedAt = _chunkWDBEWOU6js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1316
1320
|
const hasProxy = [
|
|
1317
1321
|
"HTTP_PROXY",
|
|
1318
1322
|
"http_proxy",
|
|
@@ -1324,7 +1328,7 @@ async function main() {
|
|
|
1324
1328
|
disposeTransport = configureCliTransport();
|
|
1325
1329
|
}
|
|
1326
1330
|
if (transportStartedAt !== void 0) {
|
|
1327
|
-
|
|
1331
|
+
_chunkWDBEWOU6js.recordCliTrace.call(void 0, {
|
|
1328
1332
|
phase: "cli.transport_setup",
|
|
1329
1333
|
ms: performance.now() - transportStartedAt
|
|
1330
1334
|
});
|
|
@@ -1347,9 +1351,9 @@ async function main() {
|
|
|
1347
1351
|
skipOutputReport = true;
|
|
1348
1352
|
}
|
|
1349
1353
|
);
|
|
1350
|
-
const silentFailure =
|
|
1354
|
+
const silentFailure = _chunkJYFLIQPEjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1351
1355
|
if (silentFailure) {
|
|
1352
|
-
|
|
1356
|
+
_chunkJYFLIQPEjs.printJson.call(void 0, {
|
|
1353
1357
|
ok: false,
|
|
1354
1358
|
exitCode: Number(process.exitCode),
|
|
1355
1359
|
error: { code: "CLI_ERROR", message: silentFailure }
|