deepline 0.3.480 → 0.3.481
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 +35 -1
- package/dist/bundling-sources/sdk/src/http-core.ts +2 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +54 -31
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/legacy-radar-forward-routes.ts +569 -0
- package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +451 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +5 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +13 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +125 -22
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +16 -53
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +34 -48
- package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +44 -0
- package/dist/cli/auth-EQWYBNIE.js +43 -0
- package/dist/cli/{auth-KMKFQX7X.mjs → auth-FYY65LYD.mjs} +5 -5
- package/dist/cli/{billing-G3Y5FTQM.mjs → billing-3MELYUTI.mjs} +7 -7
- package/dist/cli/{billing-R5RCTEW6.js → billing-TROHWBSE.js} +80 -80
- package/dist/cli/{chunk-4V6KEXCM.js → chunk-27BYXQU4.js} +1 -1
- package/dist/cli/{chunk-OQOXR6JL.js → chunk-4CIVXXSU.js} +26 -26
- package/dist/cli/{chunk-RPJSVGSC.js → chunk-5ONCPLWC.js} +16 -16
- package/dist/cli/{chunk-K7E2DO5P.js → chunk-6VKDKATO.js} +53 -53
- package/dist/cli/{chunk-WQBJHB63.js → chunk-6WWBVWFQ.js} +7 -7
- package/dist/cli/{chunk-LLEBPM3N.mjs → chunk-6ZMUAASO.mjs} +4 -4
- package/dist/cli/{chunk-IQ6WL36K.mjs → chunk-75LUK4E5.mjs} +1 -1
- package/dist/cli/{chunk-AKCYZDBO.mjs → chunk-7VVC4RZX.mjs} +1 -1
- package/dist/cli/{chunk-JBQKBDDN.mjs → chunk-ASQJUUGB.mjs} +5 -5
- package/dist/cli/{chunk-DIDWIPMA.mjs → chunk-BJ5UFTWL.mjs} +28 -7
- package/dist/cli/{chunk-JH77OHD5.js → chunk-BJMEXKZY.js} +2 -2
- package/dist/cli/{chunk-53LLOGNV.mjs → chunk-C7UIUKW6.mjs} +2 -2
- package/dist/cli/{chunk-LHU6BMDV.js → chunk-CM3KC74A.js} +3 -3
- package/dist/cli/{chunk-XNXE7YWI.mjs → chunk-CS2P3EQS.mjs} +2 -2
- package/dist/cli/{chunk-APFFHSPL.js → chunk-CUSWZTS7.js} +8 -8
- package/dist/cli/{chunk-6AYQK7Z6.js → chunk-D3UHG54V.js} +199 -178
- package/dist/cli/{chunk-PM2CT7HZ.mjs → chunk-EJTU6X6C.mjs} +3 -3
- package/dist/cli/{chunk-FZX2DGQZ.js → chunk-EPEAQA6O.js} +37 -37
- package/dist/cli/{chunk-57MJL2HU.mjs → chunk-EPZSX7FZ.mjs} +4 -4
- package/dist/cli/{chunk-FZ42SO3Q.mjs → chunk-FXLMDAAY.mjs} +1 -1
- package/dist/cli/chunk-GBAT5NMI.mjs +789 -0
- package/dist/cli/{chunk-VPO2D7WV.js → chunk-GJOKFJ2Y.js} +10 -10
- package/dist/cli/{chunk-JDMR33HS.js → chunk-GVAENVIG.js} +28 -19
- package/dist/cli/{chunk-NELMCOWK.mjs → chunk-HNRELVCS.mjs} +27 -18
- package/dist/cli/{chunk-SUTQCM7U.mjs → chunk-HXG7TYRS.mjs} +2 -2
- package/dist/cli/{chunk-PDDUX5UY.js → chunk-J4D3PCQ2.js} +5 -5
- package/dist/cli/{chunk-PC42DFZC.mjs → chunk-JE27DTQM.mjs} +3 -3
- package/dist/cli/{chunk-MEJJD7PA.js → chunk-KDU6TSGE.js} +2 -2
- package/dist/cli/{chunk-NVTVS4AV.js → chunk-KPXP2DIY.js} +7 -9
- package/dist/cli/chunk-KQSTV4MW.js +789 -0
- package/dist/cli/{chunk-2AYWC63S.mjs → chunk-LISZBUA7.mjs} +2 -2
- package/dist/cli/{chunk-44TVNYYV.mjs → chunk-LTOY2GUJ.mjs} +10 -10
- package/dist/cli/{chunk-OGXG46LY.js → chunk-MKDWU3ZI.js} +93 -93
- package/dist/cli/{chunk-MTMOYZMK.mjs → chunk-N5267HEH.mjs} +1 -1
- package/dist/cli/{chunk-T7EWDIVM.mjs → chunk-PDJS6LFI.mjs} +2 -1
- package/dist/cli/{chunk-QEV3GFDS.js → chunk-R4EFW2I2.js} +3 -3
- package/dist/cli/{chunk-KQNQCZLB.mjs → chunk-RV2GB7KW.mjs} +2 -2
- package/dist/cli/{chunk-PYIWO4GS.mjs → chunk-S5BM6NPJ.mjs} +3 -5
- package/dist/cli/{chunk-7LMLHUCP.mjs → chunk-S5WXSC3P.mjs} +5 -5
- package/dist/cli/{chunk-63QH6FL3.mjs → chunk-SOGLBLMH.mjs} +4 -4
- package/dist/cli/{chunk-5IVGZCKY.js → chunk-SVPM2E2U.js} +5 -5
- package/dist/cli/{chunk-ZSWY5E3W.mjs → chunk-UUGSZZZH.mjs} +1 -1
- package/dist/cli/{chunk-TBJ23WKT.js → chunk-VBDR2DP6.js} +3 -3
- package/dist/cli/{chunk-TXFURKHD.mjs → chunk-VRAOWHXJ.mjs} +1 -1
- package/dist/cli/{chunk-ASARTL6E.mjs → chunk-VTKAIGW6.mjs} +3 -3
- package/dist/cli/{chunk-DQYJXVAF.js → chunk-WF5QE2IW.js} +17 -16
- package/dist/cli/{chunk-NBXG4S2X.js → chunk-WICQQ7GY.js} +53 -53
- package/dist/cli/{chunk-FFSOXQEM.js → chunk-WTWRZ5ZI.js} +8 -8
- package/dist/cli/{chunk-LBZLV6QF.js → chunk-X4XZFIK6.js} +14 -14
- package/dist/cli/{chunk-A3PZKD47.js → chunk-X6MEQBAT.js} +21 -21
- package/dist/cli/{csv-P3AEI4G4.mjs → csv-2EG7JW7V.mjs} +4 -4
- package/dist/cli/{csv-57D62T7L.js → csv-OUALOZBF.js} +13 -13
- package/dist/cli/{db-FWFYU34R.js → db-7BTOI6YB.js} +28 -28
- package/dist/cli/{db-PJQMPZJP.mjs → db-ECDQWI2Y.mjs} +7 -7
- package/dist/cli/describe-EXSH6OZD.js +48 -0
- package/dist/cli/{describe-F57VZZML.mjs → describe-KO6WKQIB.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-ZAJGMAAT.mjs → executions-3VMFBZT4.mjs} +7 -7
- package/dist/cli/{executions-YBT7NTY5.js → executions-VZSG3F3E.js} +9 -9
- package/dist/cli/{feedback-YLYY2EG4.js → feedback-ASKBWRXR.js} +8 -8
- package/dist/cli/{feedback-L3ZQCSY6.mjs → feedback-SN7AVALN.mjs} +4 -4
- package/dist/cli/{git-M7735NWJ.mjs → git-W2DZXEAY.mjs} +5 -5
- package/dist/cli/git-X2XUKYYX.js +25 -0
- package/dist/cli/index.js +167 -144
- package/dist/cli/index.mjs +73 -50
- package/dist/cli/{legacy-noops-TX37UP3U.js → legacy-noops-6KOC6LV7.js} +8 -8
- package/dist/cli/{legacy-noops-PKNMQMGY.mjs → legacy-noops-R2SML7ED.mjs} +5 -5
- package/dist/cli/{monitors-U7AUIOFZ.mjs → monitors-4VGZGJBT.mjs} +8 -8
- package/dist/cli/{monitors-5YTGQSGD.js → monitors-OJXDYU4G.js} +92 -92
- package/dist/cli/{org-N6DSSLLD.js → org-AELMZFUT.js} +73 -73
- package/dist/cli/{org-SRKZRVVH.mjs → org-UGN5ZG2Y.mjs} +7 -7
- package/dist/cli/{pages-YPN54RCC.js → pages-L26N7MK3.js} +18 -18
- package/dist/cli/{pages-UOPJUFCF.mjs → pages-ZYPAAYSS.mjs} +7 -7
- package/dist/cli/{play-4IK4WXWU.mjs → play-ENYB7X4S.mjs} +125 -53
- package/dist/cli/{play-MEYZEYOV.js → play-VTZWB3N5.js} +620 -548
- package/dist/cli/{providers-UGHUYP4C.mjs → providers-BZQTVAQG.mjs} +7 -7
- package/dist/cli/{providers-VS5MK4ZH.js → providers-HWBY6MGQ.js} +10 -10
- package/dist/cli/{quickstart-GW2ERQ2A.js → quickstart-D54IJ3PX.js} +6 -6
- package/dist/cli/{quickstart-YBOQSLFV.mjs → quickstart-SSQJDWPB.mjs} +4 -4
- package/dist/cli/{run-IVGMLY3J.js → run-45NKE7UY.js} +37 -37
- package/dist/cli/{run-44JT5GJM.mjs → run-FR3TPYT3.mjs} +23 -23
- package/dist/cli/{search-43NY73VR.mjs → search-CZCWSR5L.mjs} +8 -8
- package/dist/cli/search-V2GJKQQQ.js +32 -0
- package/dist/cli/{secrets-DABUD3B7.js → secrets-KJ5ZEDWT.js} +16 -16
- package/dist/cli/{secrets-ONDQGW3B.mjs → secrets-KKK55B4Y.mjs} +7 -7
- package/dist/cli/{sessions-AIAKKLSR.mjs → sessions-2YKA54PH.mjs} +5 -5
- package/dist/cli/{sessions-4ILQMBKR.js → sessions-QCNPUTDZ.js} +6 -6
- package/dist/cli/{settings-HSGKYOJT.mjs → settings-4NI2AS5V.mjs} +12 -12
- package/dist/cli/{settings-BWNLL7TP.js → settings-KM3LCPWD.js} +79 -79
- package/dist/cli/{setup-LE4OVH4M.mjs → setup-BZF3M54I.mjs} +9 -9
- package/dist/cli/{setup-37QOD4UT.js → setup-V5MTS2AA.js} +47 -47
- package/dist/cli/skills-CRFYW767.js +33 -0
- package/dist/cli/{skills-A3ZVR2YX.mjs → skills-NXYNB3LP.mjs} +7 -7
- package/dist/cli/{tools-ITKPPUDT.mjs → tools-57MWFRIZ.mjs} +17 -17
- package/dist/cli/tools-Q662HPVJ.js +55 -0
- package/dist/cli/{update-XJOSCOK5.mjs → update-QM6H677U.mjs} +9 -9
- package/dist/cli/update-TYHKF7F5.js +33 -0
- package/dist/cli/{workflow-KYQYFSND.mjs → workflow-NHYDIUWY.mjs} +8 -8
- package/dist/cli/{workflow-LERZ3TYV.js → workflow-TGEC4ITO.js} +18 -18
- package/dist/{client-B9N1bcGc.d.mts → client-DJ3r8VQJ.d.mts} +1 -1
- package/dist/{client-Btw075Hq.d.ts → client-JPSNljtj.d.ts} +1 -1
- package/dist/{client-core-TulbIeRB.d.mts → client-core-3SJlNsKU.d.mts} +21 -2
- package/dist/{client-core-DvGWlwtX.d.ts → client-core-rCoQ5Xz3.d.ts} +21 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +106 -104
- package/dist/plays/bundle-play-file.mjs +5426 -12
- 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/plays/run-request.js +4 -2
- package/dist/plays/run-request.mjs +3 -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 +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-7FOB243B.js +0 -43
- package/dist/cli/chunk-7UFFWPQ2.js +0 -6188
- package/dist/cli/chunk-ZBSUXXZS.mjs +0 -6188
- package/dist/cli/describe-ZAYUBNUQ.js +0 -48
- package/dist/cli/git-A3433UTN.js +0 -25
- package/dist/cli/search-2XTYY7BF.js +0 -32
- package/dist/cli/skills-TULQXRQJ.js +0 -33
- package/dist/cli/tools-QYYBWDXU.js +0 -55
- package/dist/cli/update-XSMY7KWH.js +0 -33
package/dist/cli/index.js
CHANGED
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
10
|
+
var _chunkX6MEQBATjs = require('./chunk-X6MEQBAT.js');
|
|
11
|
+
require('./chunk-5ONCPLWC.js');
|
|
12
|
+
require('./chunk-KDU6TSGE.js');
|
|
13
|
+
require('./chunk-EPEAQA6O.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkKPXP2DIYjs = require('./chunk-KPXP2DIY.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkBJMEXKZYjs = require('./chunk-BJMEXKZY.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -38,10 +38,10 @@ var _chunkJH77OHD5js = require('./chunk-JH77OHD5.js');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkWICQQ7GYjs = require('./chunk-WICQQ7GY.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkCM3KC74Ajs = require('./chunk-CM3KC74A.js');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -59,7 +59,7 @@ var _chunkOKAZHDYNjs = require('./chunk-OKAZHDYN.js');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _chunk6WWBVWFQjs = require('./chunk-6WWBVWFQ.js');
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
@@ -67,23 +67,38 @@ var _chunkWQBJHB63js = require('./chunk-WQBJHB63.js');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkVBDR2DP6js = require('./chunk-VBDR2DP6.js');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
var
|
|
75
|
+
var _chunkWF5QE2IWjs = require('./chunk-WF5QE2IW.js');
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
79
79
|
require('./chunk-XNYIZMNQ.js');
|
|
80
80
|
require('./chunk-DIAWYWT5.js');
|
|
81
|
-
require('./chunk-
|
|
81
|
+
require('./chunk-27BYXQU4.js');
|
|
82
82
|
require('./chunk-OG64RBAC.js');
|
|
83
83
|
require('./chunk-COGTRVWW.js');
|
|
84
84
|
|
|
85
85
|
// src/cli/command-invocation.ts
|
|
86
86
|
var _commander = require('commander');
|
|
87
|
+
function requestedCliCommandGroup(program, argv) {
|
|
88
|
+
const parser = new (0, _commander.Command)().exitOverride().configureOutput({ writeOut: () => {
|
|
89
|
+
}, writeErr: () => {
|
|
90
|
+
} });
|
|
91
|
+
for (const option of program.options) parser.addOption(option);
|
|
92
|
+
try {
|
|
93
|
+
const { operands } = parser.parseOptions([...argv]);
|
|
94
|
+
const command = operands[0];
|
|
95
|
+
if (command) return command === "help" ? void 0 : command;
|
|
96
|
+
if (argv.includes("-v") || argv.includes("--version")) return "--version";
|
|
97
|
+
} catch (error) {
|
|
98
|
+
if (!(error instanceof _commander.CommanderError)) throw error;
|
|
99
|
+
}
|
|
100
|
+
return void 0;
|
|
101
|
+
}
|
|
87
102
|
function parserPolicy(command, name) {
|
|
88
103
|
const value = _optionalChain([Object, 'access', _ => _.getOwnPropertyDescriptor, 'call', _2 => _2(command, name), 'optionalAccess', _3 => _3.value]);
|
|
89
104
|
if (typeof value !== "boolean")
|
|
@@ -143,56 +158,56 @@ var _os = require('os');
|
|
|
143
158
|
var COMMAND_GROUPS = [
|
|
144
159
|
{
|
|
145
160
|
names: ["auth"],
|
|
146
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
161
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-EQWYBNIE.js")))).registerAuthCommands
|
|
147
162
|
},
|
|
148
163
|
{
|
|
149
164
|
names: ["providers"],
|
|
150
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-
|
|
165
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-HWBY6MGQ.js")))).registerProviderCommands
|
|
151
166
|
},
|
|
152
167
|
{
|
|
153
168
|
names: ["search"],
|
|
154
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-
|
|
169
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-V2GJKQQQ.js")))).registerSearchCommand
|
|
155
170
|
},
|
|
156
171
|
{
|
|
157
172
|
names: ["describe"],
|
|
158
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
173
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-EXSH6OZD.js")))).registerDescribeCommand
|
|
159
174
|
},
|
|
160
175
|
{
|
|
161
176
|
names: ["run"],
|
|
162
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-
|
|
177
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-45NKE7UY.js")))).registerRunCommand
|
|
163
178
|
},
|
|
164
179
|
{
|
|
165
180
|
names: ["tools"],
|
|
166
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
181
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Q662HPVJ.js")))).registerToolsCommands
|
|
167
182
|
},
|
|
168
183
|
{
|
|
169
184
|
names: ["executions"],
|
|
170
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-
|
|
185
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-VZSG3F3E.js")))).registerExecutionsCommands
|
|
171
186
|
},
|
|
172
187
|
{
|
|
173
188
|
names: ["plays", "runs"],
|
|
174
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
189
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-VTZWB3N5.js")))).registerPlayCommands
|
|
175
190
|
},
|
|
176
191
|
{
|
|
177
192
|
names: ["sessions"],
|
|
178
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-
|
|
193
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-QCNPUTDZ.js")))).registerSessionsCommands
|
|
179
194
|
},
|
|
180
195
|
{
|
|
181
196
|
names: ["workflows"],
|
|
182
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
197
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-TGEC4ITO.js")))).registerWorkflowCommands
|
|
183
198
|
},
|
|
184
199
|
{
|
|
185
200
|
names: ["pages"],
|
|
186
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-
|
|
201
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-L26N7MK3.js")))).registerPagesCommands
|
|
187
202
|
},
|
|
188
203
|
{
|
|
189
204
|
names: ["secrets"],
|
|
190
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-
|
|
205
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-KJ5ZEDWT.js")))).registerSecretsCommands
|
|
191
206
|
},
|
|
192
207
|
{
|
|
193
208
|
names: ["settings", "notifications"],
|
|
194
209
|
load: async () => {
|
|
195
|
-
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-
|
|
210
|
+
const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-KM3LCPWD.js")));
|
|
196
211
|
return (p) => {
|
|
197
212
|
commands.registerSettingsCommands(p);
|
|
198
213
|
commands.registerNotificationCommands(p);
|
|
@@ -201,51 +216,51 @@ var COMMAND_GROUPS = [
|
|
|
201
216
|
},
|
|
202
217
|
{
|
|
203
218
|
names: ["billing"],
|
|
204
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
219
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-TROHWBSE.js")))).registerBillingCommands
|
|
205
220
|
},
|
|
206
221
|
{
|
|
207
222
|
names: ["monitors"],
|
|
208
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-
|
|
223
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-OJXDYU4G.js")))).registerMonitorsCommands
|
|
209
224
|
},
|
|
210
225
|
{
|
|
211
226
|
names: ["org"],
|
|
212
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-
|
|
227
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-AELMZFUT.js")))).registerOrgCommands
|
|
213
228
|
},
|
|
214
229
|
{
|
|
215
230
|
names: ["git", "projects", "deployments"],
|
|
216
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-
|
|
231
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-X2XUKYYX.js")))).registerGitCommands
|
|
217
232
|
},
|
|
218
233
|
{
|
|
219
234
|
names: ["csv"],
|
|
220
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-
|
|
235
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-OUALOZBF.js")))).registerCsvCommands
|
|
221
236
|
},
|
|
222
237
|
{
|
|
223
238
|
names: ["db"],
|
|
224
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-
|
|
239
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-7BTOI6YB.js")))).registerDbCommands
|
|
225
240
|
},
|
|
226
241
|
{
|
|
227
242
|
names: ["feedback"],
|
|
228
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-
|
|
243
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-ASKBWRXR.js")))).registerFeedbackCommands
|
|
229
244
|
},
|
|
230
245
|
{
|
|
231
246
|
names: ["enrich", "session", "backend"],
|
|
232
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-
|
|
247
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-6KOC6LV7.js")))).registerDeprecatedCommands
|
|
233
248
|
},
|
|
234
249
|
{
|
|
235
250
|
names: ["update"],
|
|
236
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-
|
|
251
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-TYHKF7F5.js")))).registerUpdateCommand
|
|
237
252
|
},
|
|
238
253
|
{
|
|
239
254
|
names: ["skills", "skills-auto-sync"],
|
|
240
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-
|
|
255
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-CRFYW767.js")))).registerSkillsCommand
|
|
241
256
|
},
|
|
242
257
|
{
|
|
243
258
|
names: ["setup", "doctor"],
|
|
244
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-
|
|
259
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-V5MTS2AA.js")))).registerSetupCommands
|
|
245
260
|
},
|
|
246
261
|
{
|
|
247
262
|
names: ["quickstart"],
|
|
248
|
-
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-
|
|
263
|
+
load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-D54IJ3PX.js")))).registerQuickstartCommands
|
|
249
264
|
}
|
|
250
265
|
];
|
|
251
266
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -271,25 +286,33 @@ function registerDeeplineInlineCommands(program) {
|
|
|
271
286
|
function createDeferredPlayRunMaintenance(input) {
|
|
272
287
|
return async () => {
|
|
273
288
|
try {
|
|
274
|
-
const skillsVersion =
|
|
275
|
-
const compatibility = await
|
|
289
|
+
const skillsVersion = _chunkVBDR2DP6js.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
|
|
290
|
+
const compatibility = await _chunkBJMEXKZYjs.traceCliSpan.call(void 0,
|
|
276
291
|
"cli.sdk_compatibility_deferred",
|
|
277
292
|
{
|
|
278
293
|
baseUrl: input.baseUrl,
|
|
279
294
|
command: "plays run",
|
|
280
295
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
281
296
|
},
|
|
282
|
-
() =>
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
297
|
+
async () => {
|
|
298
|
+
const trusted = _chunkWICQQ7GYjs.readTrustedCleanCompatibility.call(void 0,
|
|
299
|
+
input.baseUrl,
|
|
300
|
+
"plays run",
|
|
301
|
+
skillsVersion
|
|
302
|
+
);
|
|
303
|
+
if (trusted) return { response: trusted, error: null };
|
|
304
|
+
return _chunkWICQQ7GYjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
|
|
305
|
+
command: "plays run",
|
|
306
|
+
skillsVersion,
|
|
307
|
+
persistCache: input.policy !== "off",
|
|
308
|
+
catalog: _chunkX6MEQBATjs.compatibilityCatalog.call(void 0, input.command)
|
|
309
|
+
});
|
|
310
|
+
}
|
|
288
311
|
);
|
|
289
312
|
if (compatibility.error || !compatibility.response) return;
|
|
290
313
|
const automaticUpdate = compatibility.response.auto_update;
|
|
291
314
|
if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
|
|
292
|
-
await
|
|
315
|
+
await _chunkX6MEQBATjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
293
316
|
compatibility.response,
|
|
294
317
|
input.baseUrl,
|
|
295
318
|
input.policy
|
|
@@ -299,7 +322,7 @@ function createDeferredPlayRunMaintenance(input) {
|
|
|
299
322
|
compatibility.response,
|
|
300
323
|
"skills"
|
|
301
324
|
) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
|
|
302
|
-
await
|
|
325
|
+
await _chunkWICQQ7GYjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
|
|
303
326
|
update: skillsUpdate,
|
|
304
327
|
mode: "detached"
|
|
305
328
|
});
|
|
@@ -327,7 +350,7 @@ var MAX_SESSIONS = 20;
|
|
|
327
350
|
function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
|
|
328
351
|
return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
|
|
329
352
|
}
|
|
330
|
-
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId =
|
|
353
|
+
function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkWF5QE2IWjs.agentSessionIdFromEnvironment.call(void 0, )) {
|
|
331
354
|
const explicit = _chunkOKAZHDYNjs.helpDetailFromArgv.call(void 0, argv);
|
|
332
355
|
if (explicit === "quiet") return { detail: "quiet", firstRead: false };
|
|
333
356
|
if (!sessionId) return { detail: explicit, firstRead: false };
|
|
@@ -425,7 +448,7 @@ function shouldReport(stdout, stderr) {
|
|
|
425
448
|
}
|
|
426
449
|
function toolName(action) {
|
|
427
450
|
const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
|
|
428
|
-
return typeof toolId === "string" ?
|
|
451
|
+
return typeof toolId === "string" ? _chunkWICQQ7GYjs.redactFailureText.call(void 0, toolId) : null;
|
|
429
452
|
}
|
|
430
453
|
function chunkText(chunk) {
|
|
431
454
|
if (typeof chunk === "string") return chunk;
|
|
@@ -456,14 +479,14 @@ function watch(stream) {
|
|
|
456
479
|
}
|
|
457
480
|
async function postCommandOutput(body) {
|
|
458
481
|
try {
|
|
459
|
-
const baseUrl =
|
|
460
|
-
const apiKey =
|
|
482
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
483
|
+
const apiKey = _chunkVBDR2DP6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
461
484
|
if (!apiKey) return;
|
|
462
|
-
const agentSessionId =
|
|
485
|
+
const agentSessionId = _chunkWF5QE2IWjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
463
486
|
await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
|
|
464
487
|
method: "POST",
|
|
465
488
|
headers: {
|
|
466
|
-
...
|
|
489
|
+
..._chunkWICQQ7GYjs.failureReportHeaders.call(void 0, apiKey),
|
|
467
490
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
|
|
468
491
|
},
|
|
469
492
|
body: JSON.stringify(body),
|
|
@@ -479,14 +502,14 @@ function startOutputSizeReporting(invocation, streams = {
|
|
|
479
502
|
const stdoutWatch = watch(streams.stdout);
|
|
480
503
|
const stderrWatch = watch(streams.stderr);
|
|
481
504
|
return async (finished) => {
|
|
482
|
-
if (
|
|
505
|
+
if (_chunkWICQQ7GYjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
483
506
|
const [stdout, stderr] = await Promise.all([
|
|
484
507
|
stdoutWatch.settled(),
|
|
485
508
|
stderrWatch.settled()
|
|
486
509
|
]);
|
|
487
510
|
if (!shouldReport(stdout, stderr)) return;
|
|
488
511
|
await postCommandOutput({
|
|
489
|
-
command:
|
|
512
|
+
command: _chunkWICQQ7GYjs.sanitizeCommand.call(void 0, invocation.argv),
|
|
490
513
|
tool: toolName(finished.action),
|
|
491
514
|
exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
|
|
492
515
|
duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
|
|
@@ -517,7 +540,7 @@ function silenceCommanderErrorOutput(command) {
|
|
|
517
540
|
function printUsageErrorJson(code, message, commandPath) {
|
|
518
541
|
const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
|
|
519
542
|
const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
|
|
520
|
-
|
|
543
|
+
_chunk6WWBVWFQjs.printJson.call(void 0, {
|
|
521
544
|
ok: false,
|
|
522
545
|
error: {
|
|
523
546
|
code,
|
|
@@ -579,7 +602,7 @@ function topLevelCommandKnown(program, commandName) {
|
|
|
579
602
|
);
|
|
580
603
|
}
|
|
581
604
|
async function runPlayRunnerHealthCheck() {
|
|
582
|
-
|
|
605
|
+
_chunkVBDR2DP6js.resolveConfig.call(void 0, );
|
|
583
606
|
const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
|
|
584
607
|
const file = _path.join.call(void 0, dir, "health-check.play.ts");
|
|
585
608
|
try {
|
|
@@ -609,7 +632,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
609
632
|
});
|
|
610
633
|
let exitCode = 1;
|
|
611
634
|
try {
|
|
612
|
-
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
635
|
+
const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-VTZWB3N5.js")));
|
|
613
636
|
exitCode = await handlePlayRun([
|
|
614
637
|
file,
|
|
615
638
|
"--input",
|
|
@@ -649,7 +672,7 @@ function preflightErrorMessage(error) {
|
|
|
649
672
|
return error instanceof Error ? error.message : String(error);
|
|
650
673
|
}
|
|
651
674
|
async function runPreflightCheck() {
|
|
652
|
-
const baseUrl =
|
|
675
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
653
676
|
const healthController = new AbortController();
|
|
654
677
|
const healthTimeout = setTimeout(
|
|
655
678
|
() => healthController.abort(),
|
|
@@ -666,14 +689,14 @@ async function runPreflightCheck() {
|
|
|
666
689
|
}).catch((error) => ({
|
|
667
690
|
status: "unreachable",
|
|
668
691
|
version: null,
|
|
669
|
-
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` :
|
|
692
|
+
error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkWF5QE2IWjs.connectionFailureMessage.call(void 0,
|
|
670
693
|
baseUrl,
|
|
671
694
|
error instanceof Error ? error : new Error(String(error))
|
|
672
695
|
)
|
|
673
696
|
})).finally(() => clearTimeout(healthTimeout));
|
|
674
|
-
const apiKey =
|
|
675
|
-
const http = apiKey ? new (0,
|
|
676
|
-
|
|
697
|
+
const apiKey = _chunkVBDR2DP6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
698
|
+
const http = apiKey ? new (0, _chunkVBDR2DP6js.HttpClient)(
|
|
699
|
+
_chunkVBDR2DP6js.resolveConfig.call(void 0, {
|
|
677
700
|
baseUrl,
|
|
678
701
|
apiKey,
|
|
679
702
|
timeout: PREFLIGHT_TIMEOUT_MS,
|
|
@@ -718,7 +741,7 @@ async function runPreflightCheck() {
|
|
|
718
741
|
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
719
742
|
return {
|
|
720
743
|
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
721
|
-
cli_version:
|
|
744
|
+
cli_version: _chunkWF5QE2IWjs.SDK_VERSION,
|
|
722
745
|
host: baseUrl,
|
|
723
746
|
health: {
|
|
724
747
|
status: healthResult.status,
|
|
@@ -745,7 +768,7 @@ async function runPreflightCheck() {
|
|
|
745
768
|
{
|
|
746
769
|
title: "preflight",
|
|
747
770
|
lines: [
|
|
748
|
-
`cli: ${
|
|
771
|
+
`cli: ${_chunkWF5QE2IWjs.SDK_VERSION}`,
|
|
749
772
|
`host: ${baseUrl}`,
|
|
750
773
|
`health: ${healthResult.status}`,
|
|
751
774
|
..."error" in healthResult ? [` ${healthResult.error}`] : [],
|
|
@@ -772,12 +795,12 @@ function printPreflightHuman(data) {
|
|
|
772
795
|
}
|
|
773
796
|
async function newerCliCommandHint(baseUrl, command) {
|
|
774
797
|
if (!command.trim()) return null;
|
|
775
|
-
const { response, error } = await
|
|
798
|
+
const { response, error } = await _chunkWICQQ7GYjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
|
|
776
799
|
if (error || !response) return null;
|
|
777
800
|
const introduced = response.command_introduced_in;
|
|
778
801
|
if (introduced) {
|
|
779
802
|
return [
|
|
780
|
-
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${
|
|
803
|
+
`\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkWF5QE2IWjs.SDK_VERSION}.`,
|
|
781
804
|
` ${introduced.reason}`,
|
|
782
805
|
` Update with: ${response.update_command}`,
|
|
783
806
|
" Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
|
|
@@ -786,31 +809,31 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
786
809
|
if (!response.update_required) return null;
|
|
787
810
|
return [
|
|
788
811
|
response.message,
|
|
789
|
-
` Installed: ${
|
|
812
|
+
` Installed: ${_chunkWF5QE2IWjs.SDK_VERSION}. Run: ${response.update_command}`,
|
|
790
813
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
791
814
|
].join("\n");
|
|
792
815
|
}
|
|
793
816
|
async function runMain(ensureTransport, onAction) {
|
|
794
817
|
const mainStartedAt = Date.now();
|
|
795
|
-
|
|
818
|
+
_chunk6WWBVWFQjs.installJsonStderrGuard.call(void 0, );
|
|
796
819
|
let rootHelpStatus = "";
|
|
797
820
|
const deferredMaintenance = { inlinePlay: null };
|
|
798
|
-
|
|
821
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
799
822
|
phase: "cli.main_start",
|
|
800
823
|
argv: process.argv.slice(2)
|
|
801
824
|
});
|
|
802
825
|
const printStartupPhase = shouldPrintStartupPhase();
|
|
803
|
-
const progress = printStartupPhase ?
|
|
826
|
+
const progress = printStartupPhase ? _chunkCM3KC74Ajs.createCliProgress.call(void 0, true) : null;
|
|
804
827
|
if (printStartupPhase) {
|
|
805
828
|
_optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
|
|
806
829
|
}
|
|
807
830
|
const program = new (0, _commander.Command)();
|
|
808
831
|
program.name("deepline").description(
|
|
809
832
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
810
|
-
).version(
|
|
833
|
+
).version(_chunkWF5QE2IWjs.SDK_VERSION, "-v, --version", "Show version").option(
|
|
811
834
|
"--maintenance <policy>",
|
|
812
835
|
"Installation maintenance: configured preferences or off; independent of output format",
|
|
813
|
-
|
|
836
|
+
_chunkBJMEXKZYjs.parseCliMaintenancePolicy,
|
|
814
837
|
"configured"
|
|
815
838
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
816
839
|
"beforeAll",
|
|
@@ -868,24 +891,24 @@ Exit codes:
|
|
|
868
891
|
path: compatibilityCommandPath(actionCommand),
|
|
869
892
|
args: actionCommand.processedArgs
|
|
870
893
|
});
|
|
871
|
-
const maintenance =
|
|
894
|
+
const maintenance = _chunkBJMEXKZYjs.resolveCliMaintenancePolicy.call(void 0,
|
|
872
895
|
actionCommand.optsWithGlobals()
|
|
873
896
|
);
|
|
874
897
|
if (actionCommand.name() !== "version") {
|
|
875
898
|
await ensureTransport();
|
|
876
899
|
}
|
|
877
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() ===
|
|
900
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkWICQQ7GYjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
|
|
878
901
|
return;
|
|
879
902
|
}
|
|
880
903
|
const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
|
|
881
904
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
882
905
|
if (isToolExecuteCommand) {
|
|
883
|
-
|
|
906
|
+
_chunkX6MEQBATjs.beginToolExecuteCommand.call(void 0, );
|
|
884
907
|
}
|
|
885
908
|
if (isToolExecuteCommand) {
|
|
886
|
-
const baseUrl =
|
|
887
|
-
if (maintenance !== "off")
|
|
888
|
-
|
|
909
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
910
|
+
if (maintenance !== "off") _chunkWICQQ7GYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
911
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
889
912
|
phase: "cli.sdk_compatibility_deferred_to_tool_execute",
|
|
890
913
|
baseUrl,
|
|
891
914
|
command: compatibilityCommand
|
|
@@ -893,10 +916,10 @@ Exit codes:
|
|
|
893
916
|
return;
|
|
894
917
|
}
|
|
895
918
|
const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
|
|
896
|
-
if (!playDryRun &&
|
|
919
|
+
if (!playDryRun && _chunkKPXP2DIYjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
|
|
897
920
|
if (maintenance !== "off") {
|
|
898
|
-
const baseUrl =
|
|
899
|
-
|
|
921
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
922
|
+
_chunkWICQQ7GYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
900
923
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
901
924
|
baseUrl,
|
|
902
925
|
command: actionCommand,
|
|
@@ -905,27 +928,27 @@ Exit codes:
|
|
|
905
928
|
}
|
|
906
929
|
return;
|
|
907
930
|
}
|
|
908
|
-
const runStartupStage = (stage, action) => isToolExecuteCommand ?
|
|
931
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkX6MEQBATjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
|
|
909
932
|
if (printStartupPhase) {
|
|
910
933
|
_optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
|
|
911
934
|
}
|
|
912
935
|
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
913
|
-
const baseUrl =
|
|
914
|
-
if (maintenance !== "off")
|
|
936
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
937
|
+
if (maintenance !== "off") _chunkWICQQ7GYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
915
938
|
const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
|
|
916
|
-
const skillsVersion = shouldDeferSkillsSync ? void 0 :
|
|
917
|
-
const trusted = isToolExecuteCommand ? null :
|
|
939
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkVBDR2DP6js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
940
|
+
const trusted = isToolExecuteCommand ? null : _chunkWICQQ7GYjs.readTrustedCleanCompatibility.call(void 0,
|
|
918
941
|
baseUrl,
|
|
919
942
|
compatibilityCommand,
|
|
920
943
|
skillsVersion
|
|
921
944
|
);
|
|
922
|
-
const fastDeadline = !isToolExecuteCommand && trusted === null &&
|
|
945
|
+
const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkWICQQ7GYjs.readFreshCleanCompatibility.call(void 0,
|
|
923
946
|
baseUrl,
|
|
924
947
|
compatibilityCommand,
|
|
925
948
|
skillsVersion
|
|
926
949
|
) !== null;
|
|
927
950
|
if (trusted) {
|
|
928
|
-
|
|
951
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
929
952
|
phase: "cli.sdk_compatibility",
|
|
930
953
|
ms: 0,
|
|
931
954
|
ok: true,
|
|
@@ -935,7 +958,7 @@ Exit codes:
|
|
|
935
958
|
source: "trusted_cache"
|
|
936
959
|
});
|
|
937
960
|
}
|
|
938
|
-
const compatibility = trusted ? { response: trusted, error: null } : await
|
|
961
|
+
const compatibility = trusted ? { response: trusted, error: null } : await _chunkBJMEXKZYjs.traceCliSpan.call(void 0,
|
|
939
962
|
"cli.sdk_compatibility",
|
|
940
963
|
{
|
|
941
964
|
baseUrl,
|
|
@@ -943,12 +966,12 @@ Exit codes:
|
|
|
943
966
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
|
|
944
967
|
fastDeadline
|
|
945
968
|
},
|
|
946
|
-
() =>
|
|
969
|
+
() => _chunkWICQQ7GYjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
947
970
|
command: compatibilityCommand,
|
|
948
971
|
skillsVersion,
|
|
949
972
|
persistCache: !isToolExecuteCommand && maintenance !== "off",
|
|
950
|
-
catalog:
|
|
951
|
-
...fastDeadline ? { timeoutMs:
|
|
973
|
+
catalog: _chunkX6MEQBATjs.compatibilityCatalog.call(void 0, actionCommand),
|
|
974
|
+
...fastDeadline ? { timeoutMs: _chunkWICQQ7GYjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
952
975
|
})
|
|
953
976
|
);
|
|
954
977
|
if (compatibility.error) {
|
|
@@ -959,7 +982,7 @@ Exit codes:
|
|
|
959
982
|
response: null
|
|
960
983
|
};
|
|
961
984
|
}
|
|
962
|
-
const relaunched = await
|
|
985
|
+
const relaunched = await _chunkX6MEQBATjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
963
986
|
compatibility.response,
|
|
964
987
|
baseUrl,
|
|
965
988
|
maintenance
|
|
@@ -973,14 +996,14 @@ Exit codes:
|
|
|
973
996
|
};
|
|
974
997
|
}
|
|
975
998
|
const policy = compatibility.response;
|
|
976
|
-
const jsonOutput =
|
|
977
|
-
|
|
999
|
+
const jsonOutput = _chunk6WWBVWFQjs.isJsonOutputMode.call(void 0, );
|
|
1000
|
+
_chunkWICQQ7GYjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
|
|
978
1001
|
quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
|
|
979
|
-
|
|
1002
|
+
_chunkX6MEQBATjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkWICQQ7GYjs.claimUpdateAdvisory.call(void 0, baseUrl)
|
|
980
1003
|
});
|
|
981
1004
|
const advisory = compatibility.response;
|
|
982
|
-
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !
|
|
983
|
-
|
|
1005
|
+
if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkWICQQ7GYjs.isCiEnvironment.call(void 0, ) && !_chunkX6MEQBATjs.hasDeferredAutoUpdate.call(void 0, )) {
|
|
1006
|
+
_chunk6WWBVWFQjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
|
|
984
1007
|
}
|
|
985
1008
|
return {
|
|
986
1009
|
shouldContinue: true,
|
|
@@ -997,10 +1020,10 @@ Exit codes:
|
|
|
997
1020
|
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
|
|
998
1021
|
await runStartupStage(
|
|
999
1022
|
"agent skills sync",
|
|
1000
|
-
() =>
|
|
1023
|
+
() => _chunkBJMEXKZYjs.traceCliSpan.call(void 0,
|
|
1001
1024
|
"cli.sdk_skills_sync",
|
|
1002
1025
|
{ baseUrl: startup.baseUrl },
|
|
1003
|
-
() =>
|
|
1026
|
+
() => _chunkWICQQ7GYjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
|
|
1004
1027
|
update: skillsUpdate,
|
|
1005
1028
|
mode: "detached"
|
|
1006
1029
|
})
|
|
@@ -1008,20 +1031,20 @@ Exit codes:
|
|
|
1008
1031
|
);
|
|
1009
1032
|
}
|
|
1010
1033
|
});
|
|
1011
|
-
const requestedCommand =
|
|
1012
|
-
const commandRegistrationStartedAt = _chunkJH77OHD5js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1013
|
-
await registerDeeplineCommandGroups(
|
|
1034
|
+
const requestedCommand = requestedCliCommandGroup(
|
|
1014
1035
|
program,
|
|
1015
|
-
|
|
1036
|
+
process.argv.slice(2)
|
|
1016
1037
|
);
|
|
1038
|
+
const commandRegistrationStartedAt = _chunkBJMEXKZYjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1039
|
+
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1017
1040
|
if (commandRegistrationStartedAt !== void 0) {
|
|
1018
|
-
|
|
1041
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
1019
1042
|
phase: "cli.command_registration",
|
|
1020
1043
|
ms: performance.now() - commandRegistrationStartedAt
|
|
1021
1044
|
});
|
|
1022
1045
|
}
|
|
1023
1046
|
const { preflight, health, version } = registerDeeplineInlineCommands(program);
|
|
1024
|
-
if (
|
|
1047
|
+
if (_chunk6WWBVWFQjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
|
|
1025
1048
|
preflight.addHelpText(
|
|
1026
1049
|
"after",
|
|
1027
1050
|
`
|
|
@@ -1037,8 +1060,8 @@ Examples:
|
|
|
1037
1060
|
`
|
|
1038
1061
|
).action(async (options) => {
|
|
1039
1062
|
const data = await runPreflightCheck();
|
|
1040
|
-
if (
|
|
1041
|
-
|
|
1063
|
+
if (_chunk6WWBVWFQjs.shouldEmitJson.call(void 0, options.json)) {
|
|
1064
|
+
_chunk6WWBVWFQjs.printJson.call(void 0, data);
|
|
1042
1065
|
} else {
|
|
1043
1066
|
printPreflightHuman(data);
|
|
1044
1067
|
}
|
|
@@ -1063,7 +1086,7 @@ Examples:
|
|
|
1063
1086
|
).action(async (options) => {
|
|
1064
1087
|
if (options.playRunner) {
|
|
1065
1088
|
const data = await runPlayRunnerHealthCheck();
|
|
1066
|
-
|
|
1089
|
+
_chunk6WWBVWFQjs.printCommandEnvelope.call(void 0, data, {
|
|
1067
1090
|
json: options.json,
|
|
1068
1091
|
text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
|
|
1069
1092
|
`
|
|
@@ -1071,15 +1094,15 @@ Examples:
|
|
|
1071
1094
|
return;
|
|
1072
1095
|
}
|
|
1073
1096
|
try {
|
|
1074
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1075
|
-
const baseUrl =
|
|
1097
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-EQWYBNIE.js")));
|
|
1098
|
+
const baseUrl = _chunkVBDR2DP6js.resolveBaseUrlOnly.call(void 0, );
|
|
1076
1099
|
const [{ status, data }, banner] = await Promise.all([
|
|
1077
1100
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
1078
1101
|
readStatusBanner(baseUrl)
|
|
1079
1102
|
]);
|
|
1080
1103
|
if (status !== 200) throw new Error(`HTTP ${status}`);
|
|
1081
1104
|
const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
|
|
1082
|
-
|
|
1105
|
+
_chunk6WWBVWFQjs.printCommandEnvelope.call(void 0,
|
|
1083
1106
|
{ ...data, status_banner: banner },
|
|
1084
1107
|
{
|
|
1085
1108
|
json: options.json,
|
|
@@ -1107,16 +1130,16 @@ Examples:
|
|
|
1107
1130
|
`
|
|
1108
1131
|
).action((options) => {
|
|
1109
1132
|
if (options.json) {
|
|
1110
|
-
|
|
1133
|
+
_chunk6WWBVWFQjs.printCompactJson.call(void 0, { version: _chunkWF5QE2IWjs.SDK_VERSION });
|
|
1111
1134
|
return;
|
|
1112
1135
|
}
|
|
1113
|
-
process.stdout.write(`deepline ${
|
|
1136
|
+
process.stdout.write(`deepline ${_chunkWF5QE2IWjs.SDK_VERSION}
|
|
1114
1137
|
`);
|
|
1115
1138
|
});
|
|
1116
1139
|
if (process.argv.slice(2).length === 0) {
|
|
1117
1140
|
program.outputHelp({ error: true });
|
|
1118
1141
|
console.error("\nerror: missing command (see usage above)");
|
|
1119
|
-
|
|
1142
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
1120
1143
|
phase: "cli.main_total",
|
|
1121
1144
|
ms: Date.now() - mainStartedAt,
|
|
1122
1145
|
ok: false,
|
|
@@ -1128,16 +1151,16 @@ Examples:
|
|
|
1128
1151
|
const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
|
|
1129
1152
|
if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
|
|
1130
1153
|
const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
|
|
1131
|
-
if (!
|
|
1132
|
-
const baseUrl =
|
|
1154
|
+
if (!_chunk6WWBVWFQjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
|
|
1155
|
+
const baseUrl = _chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, );
|
|
1133
1156
|
await ensureTransport();
|
|
1134
1157
|
const versionHint = await newerCliCommandHint(
|
|
1135
1158
|
baseUrl,
|
|
1136
1159
|
requestedTopLevelCommand
|
|
1137
1160
|
);
|
|
1138
|
-
if (
|
|
1161
|
+
if (_chunk6WWBVWFQjs.isJsonOutputMode.call(void 0, )) {
|
|
1139
1162
|
if (versionHint) {
|
|
1140
|
-
|
|
1163
|
+
_chunk6WWBVWFQjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1141
1164
|
}
|
|
1142
1165
|
printUsageErrorJson(
|
|
1143
1166
|
"commander.unknownCommand",
|
|
@@ -1159,32 +1182,32 @@ Examples:
|
|
|
1159
1182
|
const helpArgs = process.argv.slice(2);
|
|
1160
1183
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1161
1184
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1162
|
-
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-
|
|
1163
|
-
rootHelpStatus = `Version: ${
|
|
1185
|
+
const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-EQWYBNIE.js")));
|
|
1186
|
+
rootHelpStatus = `Version: ${_chunkWF5QE2IWjs.SDK_VERSION}
|
|
1164
1187
|
${await authStatusLine()}
|
|
1165
1188
|
`;
|
|
1166
1189
|
}
|
|
1167
1190
|
await program.parseAsync(process.argv);
|
|
1168
|
-
|
|
1191
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
1169
1192
|
phase: "cli.main_total",
|
|
1170
1193
|
ms: Date.now() - mainStartedAt,
|
|
1171
1194
|
ok: true
|
|
1172
1195
|
});
|
|
1173
|
-
await
|
|
1196
|
+
await _chunkWICQQ7GYjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1174
1197
|
argv: process.argv.slice(2),
|
|
1175
1198
|
startedAtMs: mainStartedAt,
|
|
1176
1199
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
1177
1200
|
});
|
|
1178
1201
|
} catch (error) {
|
|
1179
1202
|
const commanderError = asCommanderError(error);
|
|
1180
|
-
|
|
1203
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
1181
1204
|
phase: "cli.main_total",
|
|
1182
1205
|
ms: Date.now() - mainStartedAt,
|
|
1183
1206
|
ok: false,
|
|
1184
1207
|
error: error instanceof Error ? error.message : String(error)
|
|
1185
1208
|
});
|
|
1186
1209
|
_optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
|
|
1187
|
-
const wantsJson =
|
|
1210
|
+
const wantsJson = _chunk6WWBVWFQjs.isJsonOutputMode.call(void 0, );
|
|
1188
1211
|
if (commanderError) {
|
|
1189
1212
|
const grammarError = [
|
|
1190
1213
|
"commander.unknownCommand",
|
|
@@ -1195,12 +1218,12 @@ ${await authStatusLine()}
|
|
|
1195
1218
|
if (grammarError) {
|
|
1196
1219
|
await ensureTransport();
|
|
1197
1220
|
const versionHint = await newerCliCommandHint(
|
|
1198
|
-
|
|
1221
|
+
_chunkVBDR2DP6js.autoDetectBaseUrl.call(void 0, ),
|
|
1199
1222
|
commandPath
|
|
1200
1223
|
);
|
|
1201
1224
|
if (wantsJson) {
|
|
1202
1225
|
if (versionHint) {
|
|
1203
|
-
|
|
1226
|
+
_chunk6WWBVWFQjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
|
|
1204
1227
|
}
|
|
1205
1228
|
} else {
|
|
1206
1229
|
if (versionHint) console.error(versionHint);
|
|
@@ -1220,53 +1243,53 @@ ${await authStatusLine()}
|
|
|
1220
1243
|
return;
|
|
1221
1244
|
} else if (wantsJson) {
|
|
1222
1245
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1223
|
-
|
|
1246
|
+
_chunk6WWBVWFQjs.addJsonNotice.call(void 0, {
|
|
1224
1247
|
code: "auth_required",
|
|
1225
1248
|
message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
|
|
1226
1249
|
});
|
|
1227
1250
|
}
|
|
1228
|
-
const providerConcurrency =
|
|
1251
|
+
const providerConcurrency = _chunk6WWBVWFQjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1229
1252
|
if (providerConcurrency) {
|
|
1230
|
-
|
|
1253
|
+
_chunk6WWBVWFQjs.addJsonNotice.call(void 0, {
|
|
1231
1254
|
code: "provider_concurrency",
|
|
1232
1255
|
message: providerConcurrency
|
|
1233
1256
|
});
|
|
1234
1257
|
}
|
|
1235
|
-
const payload =
|
|
1236
|
-
|
|
1258
|
+
const payload = _chunk6WWBVWFQjs.errorToJsonPayload.call(void 0, error);
|
|
1259
|
+
_chunk6WWBVWFQjs.printJson.call(void 0, {
|
|
1237
1260
|
...payload,
|
|
1238
1261
|
// The envelope names the code the process exits with, so a caller
|
|
1239
1262
|
// that only reads stdout still cannot mistake a failure for data.
|
|
1240
|
-
exitCode: _nullishCoalesce(payload.exitCode, () => (
|
|
1263
|
+
exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkWICQQ7GYjs.resolveSdkCliFailureExitCode.call(void 0, error))),
|
|
1241
1264
|
...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1242
1265
|
});
|
|
1243
1266
|
} else if (error instanceof Error) {
|
|
1244
1267
|
console.error(`Error: ${error.message}`);
|
|
1245
|
-
const toolDiagnostic =
|
|
1268
|
+
const toolDiagnostic = _chunk6WWBVWFQjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
|
|
1246
1269
|
if (toolDiagnostic) console.error(toolDiagnostic);
|
|
1247
1270
|
if (error instanceof _chunkALJJRZNJjs.AuthError) {
|
|
1248
1271
|
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1249
1272
|
}
|
|
1250
|
-
const providerConcurrency =
|
|
1273
|
+
const providerConcurrency = _chunk6WWBVWFQjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
|
|
1251
1274
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1252
1275
|
} else {
|
|
1253
1276
|
console.error(`Error: ${String(error)}`);
|
|
1254
1277
|
}
|
|
1255
1278
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1256
|
-
const failureExitCode = _nullishCoalesce(explicitExitCode, () => (
|
|
1279
|
+
const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkWICQQ7GYjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
1257
1280
|
process.exitCode = failureExitCode;
|
|
1258
|
-
await
|
|
1281
|
+
await _chunkWICQQ7GYjs.maybeReportSdkCliFailure.call(void 0, {
|
|
1259
1282
|
argv: process.argv.slice(2),
|
|
1260
1283
|
startedAtMs: mainStartedAt,
|
|
1261
1284
|
exitCode: failureExitCode,
|
|
1262
1285
|
error
|
|
1263
1286
|
});
|
|
1264
1287
|
} finally {
|
|
1265
|
-
|
|
1288
|
+
_chunkX6MEQBATjs.finishToolExecuteCommand.call(void 0, );
|
|
1266
1289
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1267
1290
|
deferredMaintenance.inlinePlay = null;
|
|
1268
1291
|
await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
|
|
1269
|
-
await
|
|
1292
|
+
await _chunkX6MEQBATjs.runDeferredAutoUpdate.call(void 0, );
|
|
1270
1293
|
}
|
|
1271
1294
|
process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
|
|
1272
1295
|
}
|
|
@@ -1274,7 +1297,7 @@ async function main() {
|
|
|
1274
1297
|
let disposeTransport;
|
|
1275
1298
|
const ensureTransport = async () => {
|
|
1276
1299
|
if (disposeTransport) return;
|
|
1277
|
-
const transportStartedAt =
|
|
1300
|
+
const transportStartedAt = _chunkBJMEXKZYjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
|
|
1278
1301
|
const hasProxy = [
|
|
1279
1302
|
"HTTP_PROXY",
|
|
1280
1303
|
"http_proxy",
|
|
@@ -1286,7 +1309,7 @@ async function main() {
|
|
|
1286
1309
|
disposeTransport = configureCliTransport();
|
|
1287
1310
|
}
|
|
1288
1311
|
if (transportStartedAt !== void 0) {
|
|
1289
|
-
|
|
1312
|
+
_chunkBJMEXKZYjs.recordCliTrace.call(void 0, {
|
|
1290
1313
|
phase: "cli.transport_setup",
|
|
1291
1314
|
ms: performance.now() - transportStartedAt
|
|
1292
1315
|
});
|
|
@@ -1303,9 +1326,9 @@ async function main() {
|
|
|
1303
1326
|
action = dispatched;
|
|
1304
1327
|
skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
|
|
1305
1328
|
});
|
|
1306
|
-
const silentFailure =
|
|
1329
|
+
const silentFailure = _chunk6WWBVWFQjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
|
|
1307
1330
|
if (silentFailure) {
|
|
1308
|
-
|
|
1331
|
+
_chunk6WWBVWFQjs.printJson.call(void 0, {
|
|
1309
1332
|
ok: false,
|
|
1310
1333
|
exitCode: Number(process.exitCode),
|
|
1311
1334
|
error: { code: "CLI_ERROR", message: silentFailure }
|