deepline 0.3.504 → 0.3.505
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 +5 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +144 -7
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
- package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
- package/dist/cli/{auth-3L5AA5AX.mjs → auth-AHE2EDQA.mjs} +5 -5
- package/dist/cli/auth-SEPKNRHV.js +43 -0
- package/dist/cli/{billing-E7EASVPO.mjs → billing-7CPWTGGI.mjs} +7 -7
- package/dist/cli/{billing-HOGXVE2V.js → billing-JOIZPHON.js} +82 -82
- package/dist/cli/{chunk-67OI26OE.js → chunk-3YEOOXD4.js} +96 -37
- package/dist/cli/{chunk-IPAMOMGP.js → chunk-45XYW477.js} +21 -21
- package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-4OFSAZN6.mjs} +1 -1
- package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-52FPW2RD.mjs} +2 -2
- package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-5XT4DZQL.mjs} +2 -2
- package/dist/cli/{chunk-FTRVCIGC.js → chunk-6FEN6VWZ.js} +26 -26
- package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-6U3AGJWI.mjs} +1 -1
- package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-7AD565DO.mjs} +1 -1
- package/dist/cli/{chunk-JPR2546F.js → chunk-7DDACLMX.js} +16 -16
- package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-7DDKLFOY.mjs} +3 -3
- package/dist/cli/{chunk-2W77YCKH.js → chunk-7QLK2GHL.js} +5 -5
- package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-ACI6CUDX.mjs} +11 -401
- package/dist/cli/{chunk-7P2QVMBP.js → chunk-BWAYMJ23.js} +7 -7
- package/dist/cli/{chunk-UXQQPMYO.js → chunk-CA3SYXCS.js} +2 -2
- package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-CSLLQWAB.mjs} +1 -1
- package/dist/cli/{chunk-QKKU2FH4.js → chunk-EMUFF6EU.js} +7 -7
- package/dist/cli/chunk-FIQ5UEIF.mjs +405 -0
- package/dist/cli/{chunk-KGUGNEKL.js → chunk-GAUNJCXQ.js} +96 -96
- package/dist/cli/{chunk-5Z6EULD5.js → chunk-GXMNOUHP.js} +6 -6
- package/dist/cli/{chunk-A6LA42JY.js → chunk-HASFFOSU.js} +16 -16
- package/dist/cli/{chunk-SMSQVRHE.js → chunk-IDAE5VDH.js} +5 -5
- package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-IZYOYXG7.mjs} +4 -4
- package/dist/cli/{chunk-22OCKCYS.mjs → chunk-JA7YBRP4.mjs} +1 -1
- package/dist/cli/{chunk-6SMR7LU7.js → chunk-JSTKLYYD.js} +2 -2
- package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-JVKEZT7L.mjs} +20 -6
- package/dist/cli/{chunk-GJ2DA35C.js → chunk-K26YOPDO.js} +20 -6
- package/dist/cli/{chunk-FISP4LCK.js → chunk-LC4FG34E.js} +53 -53
- package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-MAFZ64RN.mjs} +2 -2
- package/dist/cli/{chunk-WZSFIJMG.js → chunk-MHZAG2ZQ.js} +80 -470
- package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-NARJWXBR.mjs} +2 -2
- package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-OA6U5NVB.mjs} +5 -5
- package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-OMEDQ77C.mjs} +93 -34
- package/dist/cli/{chunk-LHXYCZYO.js → chunk-OORPAQVC.js} +8 -8
- package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-PDLOPF5L.mjs} +1 -1
- package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-PZN24YQQ.mjs} +2 -2
- package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-QGNNAZ5M.mjs} +1 -1
- package/dist/cli/chunk-QYGYVCRI.js +405 -0
- package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-RT3HJBIH.mjs} +12 -12
- package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-SHKRL7CW.mjs} +1 -1
- package/dist/cli/{chunk-UJMBG5JU.js → chunk-SPN7U3MV.js} +4 -4
- package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-UZ24SF7N.mjs} +5 -5
- package/dist/cli/{chunk-USTJEEND.js → chunk-VXKWF3AD.js} +9 -9
- package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-W6I4N4JN.mjs} +6 -6
- package/dist/cli/{chunk-MJTK6Q3G.js → chunk-WPCF7C6B.js} +3 -3
- package/dist/cli/{chunk-KCKAFTPY.js → chunk-WTQLUULB.js} +6 -6
- package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-WTUC5VKB.mjs} +2 -2
- package/dist/cli/{chunk-6JNBMTCZ.js → chunk-XHPB6RGY.js} +1 -1
- package/dist/cli/{chunk-GRAGUYIE.js → chunk-Y52XY56V.js} +41 -41
- package/dist/cli/{chunk-4CC67XH5.mjs → chunk-YBIVVAL7.mjs} +2 -2
- package/dist/cli/{chunk-WBIDPDKJ.js → chunk-ZLN2B5YA.js} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-2XWGPITO.js → csv-DZHVIW3G.js} +13 -13
- package/dist/cli/{csv-433JEHLQ.mjs → csv-WTPI6ZON.mjs} +4 -4
- package/dist/cli/{db-PJJMD4VH.js → db-D7LPPNCC.js} +27 -27
- package/dist/cli/{db-K747DH43.mjs → db-NR4PJ6AF.mjs} +6 -6
- package/dist/cli/describe-HVQBTKFM.js +50 -0
- package/dist/cli/{describe-VEDDYW4P.mjs → describe-NCKAJPUG.mjs} +18 -17
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-JWRX3XCT.mjs → executions-RQVJ4LAB.mjs} +6 -6
- package/dist/cli/{executions-HM5T72H6.js → executions-UQG6LWEN.js} +8 -8
- package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-RD4Y3YQR.mjs} +4 -4
- package/dist/cli/{feedback-34UG4BO3.js → feedback-TCHA67IA.js} +8 -8
- package/dist/cli/git-TUB2ZUEH.js +25 -0
- package/dist/cli/{git-ZKEOXV3A.mjs → git-Z7434B7Y.mjs} +5 -5
- package/dist/cli/index.js +143 -141
- package/dist/cli/index.mjs +49 -47
- package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-23WRA7DH.js} +8 -8
- package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-LQJU4UIV.mjs} +5 -5
- package/dist/cli/{monitors-O25GDOYE.js → monitors-KOWN7M3V.js} +95 -95
- package/dist/cli/{monitors-C65OC4AW.mjs → monitors-Z6VYUZ2W.mjs} +7 -7
- package/dist/cli/{org-2GSPLY2A.js → org-2T5K2VP5.js} +72 -72
- package/dist/cli/{org-ZRMG5NS2.mjs → org-UBNRO5XO.mjs} +6 -6
- package/dist/cli/{pages-TZZUFBRO.mjs → pages-GHPJBVV3.mjs} +6 -6
- package/dist/cli/{pages-45DPADK6.js → pages-SRXTU7XO.js} +18 -18
- package/dist/cli/{play-RCGMND6X.js → play-2HMZ57EZ.js} +317 -316
- package/dist/cli/{play-3D7HH273.mjs → play-HRQKGTXA.mjs} +18 -17
- package/dist/cli/{providers-PSAKV6CJ.mjs → providers-JWJRFRR5.mjs} +6 -6
- package/dist/cli/{providers-3N3ECMTY.js → providers-P5O676MZ.js} +9 -9
- package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-S7NZUQRO.mjs} +4 -4
- package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-YCY72TAO.js} +6 -6
- package/dist/cli/{run-F6ZXTASZ.js → run-MHLLGF4G.js} +41 -40
- package/dist/cli/{run-F3TLDGUO.mjs → run-QWMRIUIU.mjs} +23 -22
- package/dist/cli/{search-CZLCY3D2.mjs → search-4BFTQUEP.mjs} +8 -7
- package/dist/cli/search-QPUHOEIL.js +33 -0
- package/dist/cli/{search-output-R5XDNILW.js → search-output-62LBVZHN.js} +6 -6
- package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-LIYHDTBP.mjs} +4 -4
- package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-GW27V77E.mjs} +6 -6
- package/dist/cli/{secrets-DCJYHDSY.js → secrets-KKKHVSOO.js} +15 -15
- package/dist/cli/{sessions-Z4JYJSDP.js → sessions-R3OEINAR.js} +6 -6
- package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-R75LBGIL.mjs} +5 -5
- package/dist/cli/{settings-G7QEXA4N.mjs → settings-I3AQZSYG.mjs} +12 -11
- package/dist/cli/{settings-UVXXAT4A.js → settings-MQIHAEZN.js} +79 -78
- package/dist/cli/{setup-QHJU3DUI.mjs → setup-2YA5MYMS.mjs} +10 -9
- package/dist/cli/{setup-5I42W7D4.js → setup-X3QRJERP.js} +50 -49
- package/dist/cli/{skills-5LRF4UKX.mjs → skills-7252FOOI.mjs} +8 -7
- package/dist/cli/skills-BPZWMZSL.js +37 -0
- package/dist/cli/tools-F7RVQ3IK.js +57 -0
- package/dist/cli/{tools-PUT6STVG.mjs → tools-SKQTSVGE.mjs} +17 -16
- package/dist/cli/{update-CJ2GA64X.mjs → update-GNBBSKTB.mjs} +10 -9
- package/dist/cli/update-TLSY6LC2.js +35 -0
- package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-OJSAL5FO.mjs} +7 -7
- package/dist/cli/{workflow-O67MEBCP.js → workflow-QB7YYWPP.js} +17 -17
- package/dist/{client-CIwenMFS.d.ts → client-B3GSaSFn.d.ts} +1 -1
- package/dist/{client-DYAfJpaN.d.mts → client-DEJg0CZn.d.mts} +1 -1
- package/dist/{client-core-DlzP8vEs.d.mts → client-core-C404E33V.d.mts} +5 -0
- package/dist/{client-core-CRjtyMAI.d.ts → client-core-GQmy3N8y.d.ts} +5 -0
- 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 +107 -104
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-UPK4IIIN.js +0 -43
- package/dist/cli/describe-OYS7LZJD.js +0 -49
- package/dist/cli/git-5YQJSJFR.js +0 -25
- package/dist/cli/search-R5VEWJO2.js +0 -32
- package/dist/cli/skills-FB6TV52O.js +0 -36
- package/dist/cli/tools-L2364RPA.js +0 -56
- package/dist/cli/update-ESYJGYVZ.js +0 -34
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGXMNOUHPjs = require('./chunk-GXMNOUHP.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -10,17 +10,17 @@ var _chunk5Z6EULD5js = require('./chunk-5Z6EULD5.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk45XYW477js = require('./chunk-45XYW477.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
20
|
+
var _chunkCA3SYXCSjs = require('./chunk-CA3SYXCS.js');
|
|
21
|
+
require('./chunk-HASFFOSU.js');
|
|
22
|
+
require('./chunk-JSTKLYYD.js');
|
|
23
|
+
require('./chunk-Y52XY56V.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -32,21 +32,23 @@ require('./chunk-GRAGUYIE.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
|
|
35
36
|
|
|
36
37
|
|
|
38
|
+
var _chunkWPCF7C6Bjs = require('./chunk-WPCF7C6B.js');
|
|
37
39
|
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
|
|
41
|
-
var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
|
|
42
43
|
|
|
43
44
|
|
|
44
|
-
var _chunkMJTK6Q3Gjs = require('./chunk-MJTK6Q3G.js');
|
|
45
45
|
|
|
46
|
+
var _chunkQYGYVCRIjs = require('./chunk-QYGYVCRI.js');
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
|
|
51
|
+
var _chunkK26YOPDOjs = require('./chunk-K26YOPDO.js');
|
|
50
52
|
require('./chunk-R7J7CJPZ.js');
|
|
51
53
|
require('./chunk-YGCKMI5P.js');
|
|
52
54
|
|
|
@@ -61,7 +63,7 @@ require('./chunk-YGCKMI5P.js');
|
|
|
61
63
|
|
|
62
64
|
|
|
63
65
|
|
|
64
|
-
var
|
|
66
|
+
var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
|
|
@@ -69,18 +71,18 @@ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
|
|
|
69
71
|
|
|
70
72
|
|
|
71
73
|
|
|
72
|
-
var
|
|
74
|
+
var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
|
|
73
75
|
|
|
74
76
|
|
|
75
77
|
|
|
76
78
|
|
|
77
|
-
var
|
|
79
|
+
var _chunkSPN7U3MVjs = require('./chunk-SPN7U3MV.js');
|
|
78
80
|
|
|
79
81
|
|
|
80
82
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
81
83
|
require('./chunk-XNYIZMNQ.js');
|
|
82
84
|
require('./chunk-DIAWYWT5.js');
|
|
83
|
-
require('./chunk-
|
|
85
|
+
require('./chunk-XHPB6RGY.js');
|
|
84
86
|
require('./chunk-OG64RBAC.js');
|
|
85
87
|
require('./chunk-RLX5ZFNX.js');
|
|
86
88
|
require('./chunk-COGTRVWW.js');
|
|
@@ -161,56 +163,56 @@ var _os = require('os');
|
|
|
161
163
|
var COMMAND_GROUPS = [
|
|
162
164
|
{
|
|
163
165
|
names: ["auth"],
|
|
164
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
166
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-SEPKNRHV.js")))).registerAuthCommands
|
|
165
167
|
},
|
|
166
168
|
{
|
|
167
169
|
names: ["providers"],
|
|
168
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
170
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-P5O676MZ.js")))).registerProviderCommands
|
|
169
171
|
},
|
|
170
172
|
{
|
|
171
173
|
names: ["search"],
|
|
172
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
174
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-QPUHOEIL.js")))).registerSearchCommand
|
|
173
175
|
},
|
|
174
176
|
{
|
|
175
177
|
names: ["describe"],
|
|
176
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
178
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-HVQBTKFM.js")))).registerDescribeCommand
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
names: ["run"],
|
|
180
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
182
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-MHLLGF4G.js")))).registerRunCommand
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
185
|
names: ["tools"],
|
|
184
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
186
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-F7RVQ3IK.js")))).registerToolsCommands
|
|
185
187
|
},
|
|
186
188
|
{
|
|
187
189
|
names: ["executions"],
|
|
188
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
190
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-UQG6LWEN.js")))).registerExecutionsCommands
|
|
189
191
|
},
|
|
190
192
|
{
|
|
191
193
|
names: ["plays", "runs"],
|
|
192
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
194
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2HMZ57EZ.js")))).registerPlayCommands
|
|
193
195
|
},
|
|
194
196
|
{
|
|
195
197
|
names: ["sessions"],
|
|
196
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
198
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-R3OEINAR.js")))).registerSessionsCommands
|
|
197
199
|
},
|
|
198
200
|
{
|
|
199
201
|
names: ["workflows"],
|
|
200
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
202
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-QB7YYWPP.js")))).registerWorkflowCommands
|
|
201
203
|
},
|
|
202
204
|
{
|
|
203
205
|
names: ["pages"],
|
|
204
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-
|
|
206
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-SRXTU7XO.js")))).registerPagesCommands
|
|
205
207
|
},
|
|
206
208
|
{
|
|
207
209
|
names: ["secrets"],
|
|
208
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
210
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-KKKHVSOO.js")))).registerSecretsCommands
|
|
209
211
|
},
|
|
210
212
|
{
|
|
211
213
|
names: ["settings", "notifications"],
|
|
212
214
|
load: async () => {
|
|
213
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
215
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-MQIHAEZN.js")));
|
|
214
216
|
return (p) => {
|
|
215
217
|
commands.registerSettingsCommands(p);
|
|
216
218
|
commands.registerNotificationCommands(p);
|
|
@@ -219,51 +221,51 @@ var COMMAND_GROUPS = [
|
|
|
219
221
|
},
|
|
220
222
|
{
|
|
221
223
|
names: ["billing"],
|
|
222
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
224
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-JOIZPHON.js")))).registerBillingCommands
|
|
223
225
|
},
|
|
224
226
|
{
|
|
225
227
|
names: ["monitors"],
|
|
226
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
228
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-KOWN7M3V.js")))).registerMonitorsCommands
|
|
227
229
|
},
|
|
228
230
|
{
|
|
229
231
|
names: ["org"],
|
|
230
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
232
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-2T5K2VP5.js")))).registerOrgCommands
|
|
231
233
|
},
|
|
232
234
|
{
|
|
233
235
|
names: ["git", "projects", "deployments"],
|
|
234
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
236
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-TUB2ZUEH.js")))).registerGitCommands
|
|
235
237
|
},
|
|
236
238
|
{
|
|
237
239
|
names: ["csv"],
|
|
238
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
240
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-DZHVIW3G.js")))).registerCsvCommands
|
|
239
241
|
},
|
|
240
242
|
{
|
|
241
243
|
names: ["db"],
|
|
242
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
244
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-D7LPPNCC.js")))).registerDbCommands
|
|
243
245
|
},
|
|
244
246
|
{
|
|
245
247
|
names: ["feedback"],
|
|
246
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
248
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-TCHA67IA.js")))).registerFeedbackCommands
|
|
247
249
|
},
|
|
248
250
|
{
|
|
249
251
|
names: ["enrich", "session", "backend"],
|
|
250
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
252
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-23WRA7DH.js")))).registerDeprecatedCommands
|
|
251
253
|
},
|
|
252
254
|
{
|
|
253
255
|
names: ["update"],
|
|
254
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
256
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-TLSY6LC2.js")))).registerUpdateCommand
|
|
255
257
|
},
|
|
256
258
|
{
|
|
257
259
|
names: ["skills", "skills-auto-sync"],
|
|
258
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
260
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-BPZWMZSL.js")))).registerSkillsCommand
|
|
259
261
|
},
|
|
260
262
|
{
|
|
261
263
|
names: ["setup", "doctor"],
|
|
262
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
264
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-X3QRJERP.js")))).registerSetupCommands
|
|
263
265
|
},
|
|
264
266
|
{
|
|
265
267
|
names: ["quickstart"],
|
|
266
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
268
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-YCY72TAO.js")))).registerQuickstartCommands
|
|
267
269
|
}
|
|
268
270
|
];
|
|
269
271
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -289,8 +291,8 @@ function registerDeeplineInlineCommands(program) {
|
|
|
289
291
|
function createDeferredPlayRunMaintenance(input) {
|
|
290
292
|
return async () => {
|
|
291
293
|
try {
|
|
292
|
-
const skillsVersion =
|
|
293
|
-
const compatibility = await
|
|
294
|
+
const skillsVersion = _chunkZLN2B5YAjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
295
|
+
const compatibility = await _chunkCA3SYXCSjs.traceCliSpan.call(void 0,
|
|
294
296
|
"cli.sdk_compatibility_deferred",
|
|
295
297
|
{
|
|
296
298
|
baseUrl: input.baseUrl,
|
|
@@ -298,24 +300,24 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
298
300
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
299
301
|
},
|
|
300
302
|
async () => {
|
|
301
|
-
const trusted =
|
|
303
|
+
const trusted = _chunkMHZAG2ZQjs.readTrustedCleanCompatibility.call(void 0,
|
|
302
304
|
input.baseUrl,
|
|
303
305
|
"plays run",
|
|
304
306
|
skillsVersion
|
|
305
307
|
);
|
|
306
308
|
if (trusted) return { response: trusted, error: null };
|
|
307
|
-
return
|
|
309
|
+
return _chunkMHZAG2ZQjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
308
310
|
command: "plays run",
|
|
309
311
|
skillsVersion,
|
|
310
312
|
persistCache: input.policy !== "off",
|
|
311
|
-
catalog:
|
|
313
|
+
catalog: _chunk45XYW477js.compatibilityCatalog.call(void 0, input.command)
|
|
312
314
|
});
|
|
313
315
|
}
|
|
314
316
|
);
|
|
315
317
|
if (compatibility.error || !compatibility.response) return;
|
|
316
318
|
const automaticUpdate = compatibility.response.auto_update;
|
|
317
319
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
318
|
-
await
|
|
320
|
+
await _chunk45XYW477js.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
319
321
|
compatibility.response,
|
|
320
322
|
input.baseUrl,
|
|
321
323
|
input.policy
|
|
@@ -325,7 +327,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
325
327
|
compatibility.response,
|
|
326
328
|
"skills"
|
|
327
329
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
328
|
-
await
|
|
330
|
+
await _chunkMHZAG2ZQjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
329
331
|
update: skillsUpdate,
|
|
330
332
|
mode: "detached"
|
|
331
333
|
});
|
|
@@ -353,8 +355,8 @@ var MAX_SESSIONS = 20;
|
|
|
353
355
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
354
356
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
355
357
|
}
|
|
356
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
357
|
-
const explicit =
|
|
358
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkSPN7U3MVjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
359
|
+
const explicit = _chunkK26YOPDOjs.helpDetailFromArgv.call(void 0, argv);
|
|
358
360
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
359
361
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
360
362
|
const path = helpSeenPath(homeDir);
|
|
@@ -451,7 +453,7 @@ function shouldReport(stdout, stderr) {
|
|
|
451
453
|
}
|
|
452
454
|
function toolName(action) {
|
|
453
455
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
454
|
-
return typeof toolId === "string" ?
|
|
456
|
+
return typeof toolId === "string" ? _chunkQYGYVCRIjs.redactFailureText.call(void 0, toolId) : null;
|
|
455
457
|
}
|
|
456
458
|
function chunkText(chunk) {
|
|
457
459
|
if (typeof chunk === "string") return chunk;
|
|
@@ -482,14 +484,14 @@ function watch(stream) {
|
|
|
482
484
|
}
|
|
483
485
|
async function postCommandOutput(body) {
|
|
484
486
|
try {
|
|
485
|
-
const baseUrl =
|
|
486
|
-
const apiKey =
|
|
487
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
488
|
+
const apiKey = _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
487
489
|
if (!apiKey) return;
|
|
488
|
-
const agentSessionId =
|
|
490
|
+
const agentSessionId = _chunkSPN7U3MVjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
489
491
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
490
492
|
method: "POST",
|
|
491
493
|
headers: {
|
|
492
|
-
...
|
|
494
|
+
..._chunkQYGYVCRIjs.failureReportHeaders.call(void 0, apiKey),
|
|
493
495
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
494
496
|
},
|
|
495
497
|
body: JSON.stringify(body),
|
|
@@ -505,14 +507,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
505
507
|
const stdoutWatch = watch(streams.stdout);
|
|
506
508
|
const stderrWatch = watch(streams.stderr);
|
|
507
509
|
return async (finished) => {
|
|
508
|
-
if (
|
|
510
|
+
if (_chunkQYGYVCRIjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
509
511
|
const [stdout, stderr] = await Promise.all([
|
|
510
512
|
stdoutWatch.settled(),
|
|
511
513
|
stderrWatch.settled()
|
|
512
514
|
]);
|
|
513
515
|
if (!shouldReport(stdout, stderr)) return;
|
|
514
516
|
await postCommandOutput({
|
|
515
|
-
command:
|
|
517
|
+
command: _chunkQYGYVCRIjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
516
518
|
tool: toolName(finished.action),
|
|
517
519
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
518
520
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -543,7 +545,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
543
545
|
function printUsageErrorJson(code, message, commandPath) {
|
|
544
546
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
545
547
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
546
|
-
|
|
548
|
+
_chunkEMUFF6EUjs.printJson.call(void 0, {
|
|
547
549
|
ok: false,
|
|
548
550
|
error: {
|
|
549
551
|
code,
|
|
@@ -605,7 +607,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
605
607
|
);
|
|
606
608
|
}
|
|
607
609
|
async function runPlayRunnerHealthCheck() {
|
|
608
|
-
|
|
610
|
+
_chunkZLN2B5YAjs.resolveConfig.call(void 0, );
|
|
609
611
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
610
612
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
611
613
|
try {
|
|
@@ -635,7 +637,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
635
637
|
});
|
|
636
638
|
let exitCode = 1;
|
|
637
639
|
try {
|
|
638
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
640
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2HMZ57EZ.js")));
|
|
639
641
|
exitCode = await handlePlayRun([
|
|
640
642
|
file,
|
|
641
643
|
"--input",
|
|
@@ -675,7 +677,7 @@ function preflightErrorMessage(error) {
|
|
|
675
677
|
return error instanceof Error ? error.message : String(error);
|
|
676
678
|
}
|
|
677
679
|
async function runPreflightCheck() {
|
|
678
|
-
const baseUrl =
|
|
680
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
679
681
|
const healthController = new AbortController();
|
|
680
682
|
const healthTimeout = setTimeout(
|
|
681
683
|
() => healthController.abort(),
|
|
@@ -692,14 +694,14 @@ async function runPreflightCheck() {
|
|
|
692
694
|
}).catch((error) => ({
|
|
693
695
|
status: "unreachable",
|
|
694
696
|
version: null,
|
|
695
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
697
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkSPN7U3MVjs.connectionFailureMessage.call(void 0,
|
|
696
698
|
baseUrl,
|
|
697
699
|
error instanceof Error ? error : new Error(String(error))
|
|
698
700
|
)
|
|
699
701
|
})).finally(() => clearTimeout(healthTimeout));
|
|
700
|
-
const apiKey =
|
|
701
|
-
const http = apiKey ? new (0,
|
|
702
|
-
|
|
702
|
+
const apiKey = _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
703
|
+
const http = apiKey ? new (0, _chunkZLN2B5YAjs.HttpClient)(
|
|
704
|
+
_chunkZLN2B5YAjs.resolveConfig.call(void 0, {
|
|
703
705
|
baseUrl,
|
|
704
706
|
apiKey,
|
|
705
707
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -744,7 +746,7 @@ async function runPreflightCheck() {
|
|
|
744
746
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
745
747
|
return {
|
|
746
748
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
747
|
-
cli_version:
|
|
749
|
+
cli_version: _chunkSPN7U3MVjs.SDK_VERSION,
|
|
748
750
|
host: baseUrl,
|
|
749
751
|
health: {
|
|
750
752
|
status: healthResult.status,
|
|
@@ -771,7 +773,7 @@ async function runPreflightCheck() {
|
|
|
771
773
|
{
|
|
772
774
|
title: "preflight",
|
|
773
775
|
lines: [
|
|
774
|
-
`cli: ${
|
|
776
|
+
`cli: ${_chunkSPN7U3MVjs.SDK_VERSION}`,
|
|
775
777
|
`host: ${baseUrl}`,
|
|
776
778
|
`health: ${healthResult.status}`,
|
|
777
779
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -798,12 +800,12 @@ function printPreflightHuman(data) {
|
|
|
798
800
|
}
|
|
799
801
|
async function newerCliCommandHint(baseUrl, command) {
|
|
800
802
|
if (!command.trim()) return null;
|
|
801
|
-
const { response, error } = await
|
|
803
|
+
const { response, error } = await _chunkMHZAG2ZQjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
802
804
|
if (error || !response) return null;
|
|
803
805
|
const introduced = response.command_introduced_in;
|
|
804
806
|
if (introduced) {
|
|
805
807
|
return [
|
|
806
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
808
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkSPN7U3MVjs.SDK_VERSION}.`,
|
|
807
809
|
` ${introduced.reason}`,
|
|
808
810
|
` Update with: ${response.update_command}`,
|
|
809
811
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -812,32 +814,32 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
812
814
|
if (!response.update_required) return null;
|
|
813
815
|
return [
|
|
814
816
|
response.message,
|
|
815
|
-
` Installed: ${
|
|
817
|
+
` Installed: ${_chunkSPN7U3MVjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
816
818
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
817
819
|
].join("\n");
|
|
818
820
|
}
|
|
819
821
|
async function runMain(ensureTransport, onAction) {
|
|
820
822
|
const mainStartedAt = Date.now();
|
|
821
|
-
|
|
823
|
+
_chunkEMUFF6EUjs.installJsonStderrGuard.call(void 0, );
|
|
822
824
|
let rootHelpStatus = "";
|
|
823
825
|
let commandFailed = false;
|
|
824
826
|
const deferredMaintenance = { inlinePlay: null };
|
|
825
|
-
|
|
827
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
826
828
|
phase: "cli.main_start",
|
|
827
829
|
argv: process.argv.slice(2)
|
|
828
830
|
});
|
|
829
831
|
const printStartupPhase = shouldPrintStartupPhase();
|
|
830
|
-
const progress = printStartupPhase ?
|
|
832
|
+
const progress = printStartupPhase ? _chunkWPCF7C6Bjs.createCliProgress.call(void 0, true) : null;
|
|
831
833
|
if (printStartupPhase) {
|
|
832
834
|
_optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
|
|
833
835
|
}
|
|
834
836
|
const program = new (0, _commander.Command)();
|
|
835
837
|
program.name("deepline").description(
|
|
836
838
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
837
|
-
).version(
|
|
839
|
+
).version(_chunkSPN7U3MVjs.SDK_VERSION, "-v, --version", "Show version").option(
|
|
838
840
|
"--maintenance <policy>",
|
|
839
841
|
"Installation maintenance: configured preferences or off; independent of output format",
|
|
840
|
-
|
|
842
|
+
_chunkCA3SYXCSjs.parseCliMaintenancePolicy,
|
|
841
843
|
"configured"
|
|
842
844
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
843
845
|
"beforeAll",
|
|
@@ -886,33 +888,33 @@ Exit codes:
|
|
|
886
888
|
5 server/runtime/provider failure; 7 validation/check failed.
|
|
887
889
|
`
|
|
888
890
|
).addHelpText("afterAll", ({ command }) => {
|
|
889
|
-
const key =
|
|
891
|
+
const key = _chunkK26YOPDOjs.commandDocKey.call(void 0, command);
|
|
890
892
|
const { detail, firstRead } = resolveHelpDetail(process.argv, key);
|
|
891
|
-
return
|
|
893
|
+
return _chunkK26YOPDOjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
|
|
892
894
|
});
|
|
893
895
|
program.hook("preAction", async (_thisCommand, actionCommand) => {
|
|
894
896
|
onAction({
|
|
895
897
|
path: compatibilityCommandPath(actionCommand),
|
|
896
898
|
args: actionCommand.processedArgs
|
|
897
899
|
});
|
|
898
|
-
const maintenance =
|
|
900
|
+
const maintenance = _chunkCA3SYXCSjs.resolveCliMaintenancePolicy.call(void 0,
|
|
899
901
|
actionCommand.optsWithGlobals()
|
|
900
902
|
);
|
|
901
903
|
if (actionCommand.name() !== "version") {
|
|
902
904
|
await ensureTransport();
|
|
903
905
|
}
|
|
904
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
906
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkMHZAG2ZQjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
|
|
905
907
|
return;
|
|
906
908
|
}
|
|
907
909
|
const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
|
|
908
910
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
909
911
|
if (isToolExecuteCommand) {
|
|
910
|
-
|
|
912
|
+
_chunk45XYW477js.beginToolExecuteCommand.call(void 0, );
|
|
911
913
|
}
|
|
912
914
|
if (isToolExecuteCommand) {
|
|
913
|
-
const baseUrl =
|
|
914
|
-
if (maintenance !== "off")
|
|
915
|
-
|
|
915
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
916
|
+
if (maintenance !== "off") _chunkMHZAG2ZQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
917
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
916
918
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
917
919
|
baseUrl,
|
|
918
920
|
command: compatibilityCommand
|
|
@@ -920,9 +922,9 @@ Exit codes:
|
|
|
920
922
|
return;
|
|
921
923
|
}
|
|
922
924
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
923
|
-
if (!playDryRun &&
|
|
925
|
+
if (!playDryRun && _chunkGXMNOUHPjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
924
926
|
if (maintenance !== "off") {
|
|
925
|
-
const baseUrl =
|
|
927
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
926
928
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
927
929
|
baseUrl,
|
|
928
930
|
command: actionCommand,
|
|
@@ -931,27 +933,27 @@ Exit codes:
|
|
|
931
933
|
}
|
|
932
934
|
return;
|
|
933
935
|
}
|
|
934
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
936
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunk45XYW477js.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
935
937
|
if (printStartupPhase) {
|
|
936
938
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
937
939
|
}
|
|
938
940
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
939
|
-
const baseUrl =
|
|
940
|
-
if (maintenance !== "off")
|
|
941
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
942
|
+
if (maintenance !== "off") _chunkMHZAG2ZQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
941
943
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
942
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
943
|
-
const trusted = isToolExecuteCommand ? null :
|
|
944
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkZLN2B5YAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
945
|
+
const trusted = isToolExecuteCommand ? null : _chunkMHZAG2ZQjs.readTrustedCleanCompatibility.call(void 0,
|
|
944
946
|
baseUrl,
|
|
945
947
|
compatibilityCommand,
|
|
946
948
|
skillsVersion
|
|
947
949
|
);
|
|
948
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
950
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkMHZAG2ZQjs.readFreshCleanCompatibility.call(void 0,
|
|
949
951
|
baseUrl,
|
|
950
952
|
compatibilityCommand,
|
|
951
953
|
skillsVersion
|
|
952
954
|
) !== null;
|
|
953
955
|
if (trusted) {
|
|
954
|
-
|
|
956
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
955
957
|
phase: "cli.sdk_compatibility",
|
|
956
958
|
ms: 0,
|
|
957
959
|
ok: true,
|
|
@@ -961,7 +963,7 @@ Exit codes:
|
|
|
961
963
|
source: "trusted_cache"
|
|
962
964
|
});
|
|
963
965
|
}
|
|
964
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
966
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkCA3SYXCSjs.traceCliSpan.call(void 0,
|
|
965
967
|
"cli.sdk_compatibility",
|
|
966
968
|
{
|
|
967
969
|
baseUrl,
|
|
@@ -969,12 +971,12 @@ Exit codes:
|
|
|
969
971
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
970
972
|
fastDeadline
|
|
971
973
|
},
|
|
972
|
-
() =>
|
|
974
|
+
() => _chunkMHZAG2ZQjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
973
975
|
command: compatibilityCommand,
|
|
974
976
|
skillsVersion,
|
|
975
977
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
976
|
-
catalog:
|
|
977
|
-
...fastDeadline ? { timeoutMs:
|
|
978
|
+
catalog: _chunk45XYW477js.compatibilityCatalog.call(void 0, actionCommand),
|
|
979
|
+
...fastDeadline ? { timeoutMs: _chunkMHZAG2ZQjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
978
980
|
})
|
|
979
981
|
);
|
|
980
982
|
if (compatibility.error) {
|
|
@@ -985,7 +987,7 @@ Exit codes:
|
|
|
985
987
|
response: null
|
|
986
988
|
};
|
|
987
989
|
}
|
|
988
|
-
const relaunched = await
|
|
990
|
+
const relaunched = await _chunk45XYW477js.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
989
991
|
compatibility.response,
|
|
990
992
|
baseUrl,
|
|
991
993
|
maintenance
|
|
@@ -999,14 +1001,14 @@ Exit codes:
|
|
|
999
1001
|
};
|
|
1000
1002
|
}
|
|
1001
1003
|
const policy = compatibility.response;
|
|
1002
|
-
const jsonOutput =
|
|
1003
|
-
|
|
1004
|
+
const jsonOutput = _chunkEMUFF6EUjs.isJsonOutputMode.call(void 0, );
|
|
1005
|
+
_chunkMHZAG2ZQjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
1004
1006
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
1005
|
-
|
|
1007
|
+
_chunk45XYW477js.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkMHZAG2ZQjs.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
1006
1008
|
});
|
|
1007
1009
|
const advisory = compatibility.response;
|
|
1008
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
1009
|
-
|
|
1010
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkMHZAG2ZQjs.isCiEnvironment.call(void 0, ) && !_chunk45XYW477js.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1011
|
+
_chunkEMUFF6EUjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
1010
1012
|
}
|
|
1011
1013
|
return {
|
|
1012
1014
|
shouldContinue: true,
|
|
@@ -1023,10 +1025,10 @@ Exit codes:
|
|
|
1023
1025
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
1024
1026
|
await runStartupStage(
|
|
1025
1027
|
"agent skills sync",
|
|
1026
|
-
() =>
|
|
1028
|
+
() => _chunkCA3SYXCSjs.traceCliSpan.call(void 0,
|
|
1027
1029
|
"cli.sdk_skills_sync",
|
|
1028
1030
|
{ baseUrl: startup.baseUrl },
|
|
1029
|
-
() =>
|
|
1031
|
+
() => _chunkMHZAG2ZQjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1030
1032
|
update: skillsUpdate,
|
|
1031
1033
|
mode: "detached"
|
|
1032
1034
|
})
|
|
@@ -1038,16 +1040,16 @@ Exit codes:
|
|
|
1038
1040
|
program,
|
|
1039
1041
|
process.argv.slice(2)
|
|
1040
1042
|
);
|
|
1041
|
-
const commandRegistrationStartedAt =
|
|
1043
|
+
const commandRegistrationStartedAt = _chunkCA3SYXCSjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1042
1044
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1043
1045
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1044
|
-
|
|
1046
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
1045
1047
|
phase: "cli.command_registration",
|
|
1046
1048
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1047
1049
|
});
|
|
1048
1050
|
}
|
|
1049
1051
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1050
|
-
if (
|
|
1052
|
+
if (_chunkEMUFF6EUjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1051
1053
|
preflight.addHelpText(
|
|
1052
1054
|
"after",
|
|
1053
1055
|
`
|
|
@@ -1063,8 +1065,8 @@ Examples:
|
|
|
1063
1065
|
`
|
|
1064
1066
|
).action(async (options) => {
|
|
1065
1067
|
const data = await runPreflightCheck();
|
|
1066
|
-
if (
|
|
1067
|
-
|
|
1068
|
+
if (_chunkEMUFF6EUjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1069
|
+
_chunkEMUFF6EUjs.printJson.call(void 0, data);
|
|
1068
1070
|
} else {
|
|
1069
1071
|
printPreflightHuman(data);
|
|
1070
1072
|
}
|
|
@@ -1089,7 +1091,7 @@ Examples:
|
|
|
1089
1091
|
).action(async (options) => {
|
|
1090
1092
|
if (options.playRunner) {
|
|
1091
1093
|
const data = await runPlayRunnerHealthCheck();
|
|
1092
|
-
|
|
1094
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, data, {
|
|
1093
1095
|
json: options.json,
|
|
1094
1096
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1095
1097
|
`
|
|
@@ -1097,15 +1099,15 @@ Examples:
|
|
|
1097
1099
|
return;
|
|
1098
1100
|
}
|
|
1099
1101
|
try {
|
|
1100
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1101
|
-
const baseUrl =
|
|
1102
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-SEPKNRHV.js")));
|
|
1103
|
+
const baseUrl = _chunkZLN2B5YAjs.resolveBaseUrlOnly.call(void 0, );
|
|
1102
1104
|
const [{ status, data }, banner] = await Promise.all([
|
|
1103
1105
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1104
1106
|
readStatusBanner(baseUrl)
|
|
1105
1107
|
]);
|
|
1106
1108
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1107
1109
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1108
|
-
|
|
1110
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
|
|
1109
1111
|
{ ...data, status_banner: banner },
|
|
1110
1112
|
{
|
|
1111
1113
|
json: options.json,
|
|
@@ -1133,16 +1135,16 @@ Examples:
|
|
|
1133
1135
|
`
|
|
1134
1136
|
).action((options) => {
|
|
1135
1137
|
if (options.json) {
|
|
1136
|
-
|
|
1138
|
+
_chunkEMUFF6EUjs.printCompactJson.call(void 0, { version: _chunkSPN7U3MVjs.SDK_VERSION });
|
|
1137
1139
|
return;
|
|
1138
1140
|
}
|
|
1139
|
-
process.stdout.write(`deepline ${
|
|
1141
|
+
process.stdout.write(`deepline ${_chunkSPN7U3MVjs.SDK_VERSION}
|
|
1140
1142
|
`);
|
|
1141
1143
|
});
|
|
1142
1144
|
if (process.argv.slice(2).length === 0) {
|
|
1143
1145
|
program.outputHelp({ error: true });
|
|
1144
1146
|
console.error("\nerror: missing command (see usage above)");
|
|
1145
|
-
|
|
1147
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
1146
1148
|
phase: "cli.main_total",
|
|
1147
1149
|
ms: Date.now() - mainStartedAt,
|
|
1148
1150
|
ok: false,
|
|
@@ -1154,16 +1156,16 @@ Examples:
|
|
|
1154
1156
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1155
1157
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1156
1158
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1157
|
-
if (!
|
|
1158
|
-
const baseUrl =
|
|
1159
|
+
if (!_chunkEMUFF6EUjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1160
|
+
const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, );
|
|
1159
1161
|
await ensureTransport();
|
|
1160
1162
|
const versionHint = await newerCliCommandHint(
|
|
1161
1163
|
baseUrl,
|
|
1162
1164
|
requestedTopLevelCommand
|
|
1163
1165
|
);
|
|
1164
|
-
if (
|
|
1166
|
+
if (_chunkEMUFF6EUjs.isJsonOutputMode.call(void 0, )) {
|
|
1165
1167
|
if (versionHint) {
|
|
1166
|
-
|
|
1168
|
+
_chunkEMUFF6EUjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1167
1169
|
}
|
|
1168
1170
|
printUsageErrorJson(
|
|
1169
1171
|
"commander.unknownCommand",
|
|
@@ -1185,18 +1187,18 @@ Examples:
|
|
|
1185
1187
|
const helpArgs = process.argv.slice(2);
|
|
1186
1188
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1187
1189
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1188
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1189
|
-
rootHelpStatus = `Version: ${
|
|
1190
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-SEPKNRHV.js")));
|
|
1191
|
+
rootHelpStatus = `Version: ${_chunkSPN7U3MVjs.SDK_VERSION}
|
|
1190
1192
|
${await authStatusLine()}
|
|
1191
1193
|
`;
|
|
1192
1194
|
}
|
|
1193
1195
|
await program.parseAsync(process.argv);
|
|
1194
|
-
|
|
1196
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
1195
1197
|
phase: "cli.main_total",
|
|
1196
1198
|
ms: Date.now() - mainStartedAt,
|
|
1197
1199
|
ok: true
|
|
1198
1200
|
});
|
|
1199
|
-
await
|
|
1201
|
+
await _chunkQYGYVCRIjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1200
1202
|
argv: process.argv.slice(2),
|
|
1201
1203
|
startedAtMs: mainStartedAt,
|
|
1202
1204
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
@@ -1204,14 +1206,14 @@ ${await authStatusLine()}
|
|
|
1204
1206
|
} catch (error) {
|
|
1205
1207
|
commandFailed = true;
|
|
1206
1208
|
const commanderError = asCommanderError(error);
|
|
1207
|
-
|
|
1209
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
1208
1210
|
phase: "cli.main_total",
|
|
1209
1211
|
ms: Date.now() - mainStartedAt,
|
|
1210
1212
|
ok: false,
|
|
1211
1213
|
error: error instanceof Error ? error.message : String(error)
|
|
1212
1214
|
});
|
|
1213
1215
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1214
|
-
const wantsJson =
|
|
1216
|
+
const wantsJson = _chunkEMUFF6EUjs.isJsonOutputMode.call(void 0, );
|
|
1215
1217
|
if (commanderError) {
|
|
1216
1218
|
const grammarError = [
|
|
1217
1219
|
"commander.unknownCommand",
|
|
@@ -1222,12 +1224,12 @@ ${await authStatusLine()}
|
|
|
1222
1224
|
if (grammarError) {
|
|
1223
1225
|
await ensureTransport();
|
|
1224
1226
|
const versionHint = await newerCliCommandHint(
|
|
1225
|
-
|
|
1227
|
+
_chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ),
|
|
1226
1228
|
commandPath
|
|
1227
1229
|
);
|
|
1228
1230
|
if (wantsJson) {
|
|
1229
1231
|
if (versionHint) {
|
|
1230
|
-
|
|
1232
|
+
_chunkEMUFF6EUjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1231
1233
|
}
|
|
1232
1234
|
} else {
|
|
1233
1235
|
if (versionHint) console.error(versionHint);
|
|
@@ -1247,55 +1249,55 @@ ${await authStatusLine()}
|
|
|
1247
1249
|
return;
|
|
1248
1250
|
} else if (wantsJson) {
|
|
1249
1251
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1250
|
-
|
|
1252
|
+
_chunkEMUFF6EUjs.addJsonNotice.call(void 0, {
|
|
1251
1253
|
code: "auth_required",
|
|
1252
1254
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1253
1255
|
});
|
|
1254
1256
|
}
|
|
1255
|
-
const providerConcurrency =
|
|
1257
|
+
const providerConcurrency = _chunkEMUFF6EUjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1256
1258
|
if (providerConcurrency) {
|
|
1257
|
-
|
|
1259
|
+
_chunkEMUFF6EUjs.addJsonNotice.call(void 0, {
|
|
1258
1260
|
code: "provider_concurrency",
|
|
1259
1261
|
message: providerConcurrency
|
|
1260
1262
|
});
|
|
1261
1263
|
}
|
|
1262
|
-
const payload =
|
|
1263
|
-
|
|
1264
|
+
const payload = _chunkEMUFF6EUjs.errorToJsonPayload.call(void 0, error);
|
|
1265
|
+
_chunkEMUFF6EUjs.printJson.call(void 0, {
|
|
1264
1266
|
...payload,
|
|
1265
1267
|
// The envelope names the code the process exits with, so a caller
|
|
1266
1268
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1267
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1269
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkQYGYVCRIjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1268
1270
|
...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1269
1271
|
});
|
|
1270
1272
|
} else if (error instanceof Error) {
|
|
1271
1273
|
console.error(`Error: ${error.message}`);
|
|
1272
|
-
const toolDiagnostic =
|
|
1274
|
+
const toolDiagnostic = _chunkEMUFF6EUjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1273
1275
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1274
1276
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1275
1277
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1276
1278
|
}
|
|
1277
|
-
const providerConcurrency =
|
|
1279
|
+
const providerConcurrency = _chunkEMUFF6EUjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1278
1280
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1279
1281
|
} else {
|
|
1280
1282
|
console.error(`Error: ${String(error)}`);
|
|
1281
1283
|
}
|
|
1282
1284
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1283
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1285
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkQYGYVCRIjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1284
1286
|
process.exitCode = failureExitCode;
|
|
1285
|
-
await
|
|
1287
|
+
await _chunkQYGYVCRIjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1286
1288
|
argv: process.argv.slice(2),
|
|
1287
1289
|
startedAtMs: mainStartedAt,
|
|
1288
1290
|
exitCode: failureExitCode,
|
|
1289
1291
|
error
|
|
1290
1292
|
});
|
|
1291
1293
|
} finally {
|
|
1292
|
-
|
|
1294
|
+
_chunk45XYW477js.finishToolExecuteCommand.call(void 0, );
|
|
1293
1295
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1294
1296
|
deferredMaintenance.inlinePlay = null;
|
|
1295
1297
|
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1296
1298
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1297
1299
|
}
|
|
1298
|
-
await
|
|
1300
|
+
await _chunk45XYW477js.runDeferredAutoUpdate.call(void 0, );
|
|
1299
1301
|
}
|
|
1300
1302
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1301
1303
|
}
|
|
@@ -1303,7 +1305,7 @@ async function main() {
|
|
|
1303
1305
|
let disposeTransport;
|
|
1304
1306
|
const ensureTransport = async () => {
|
|
1305
1307
|
if (disposeTransport) return;
|
|
1306
|
-
const transportStartedAt =
|
|
1308
|
+
const transportStartedAt = _chunkCA3SYXCSjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1307
1309
|
const hasProxy = [
|
|
1308
1310
|
"HTTP_PROXY",
|
|
1309
1311
|
"http_proxy",
|
|
@@ -1315,7 +1317,7 @@ async function main() {
|
|
|
1315
1317
|
disposeTransport = configureCliTransport();
|
|
1316
1318
|
}
|
|
1317
1319
|
if (transportStartedAt !== void 0) {
|
|
1318
|
-
|
|
1320
|
+
_chunkCA3SYXCSjs.recordCliTrace.call(void 0, {
|
|
1319
1321
|
phase: "cli.transport_setup",
|
|
1320
1322
|
ms: performance.now() - transportStartedAt
|
|
1321
1323
|
});
|
|
@@ -1332,9 +1334,9 @@ async function main() {
|
|
|
1332
1334
|
action = dispatched;
|
|
1333
1335
|
skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
|
|
1334
1336
|
});
|
|
1335
|
-
const silentFailure =
|
|
1337
|
+
const silentFailure = _chunkEMUFF6EUjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1336
1338
|
if (silentFailure) {
|
|
1337
|
-
|
|
1339
|
+
_chunkEMUFF6EUjs.printJson.call(void 0, {
|
|
1338
1340
|
ok: false,
|
|
1339
1341
|
exitCode: Number(process.exitCode),
|
|
1340
1342
|
error: { code: "CLI_ERROR", message: silentFailure }
|