deepline 0.3.508 → 0.3.510
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/shared_libs/monitors/org-monitor-limits.ts +7 -2
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +94 -43
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +111 -27
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +79 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +80 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-transient-retry.ts +571 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
- package/dist/cli/auth-S2Z5YMU3.js +43 -0
- package/dist/cli/{auth-2URIN52G.mjs → auth-USS2W3UV.mjs} +5 -5
- package/dist/cli/{billing-IW23GSR5.mjs → billing-JCUWM5XB.mjs} +7 -7
- package/dist/cli/{billing-R2HY2ZVJ.js → billing-LQQHU443.js} +82 -82
- package/dist/cli/{chunk-7PELFO3C.js → chunk-2JXEZAJF.js} +21 -21
- package/dist/cli/chunk-3LXU22UZ.js +77 -0
- package/dist/cli/{chunk-74UO7THC.js → chunk-4NJK6P5T.js} +4 -4
- package/dist/cli/{chunk-FXKKFM7J.js → chunk-4ZIIS6KG.js} +9 -9
- package/dist/cli/{chunk-63MCLOR2.mjs → chunk-563HM4D2.mjs} +6 -6
- package/dist/cli/{chunk-XSOLA2ED.mjs → chunk-5DU7RXDW.mjs} +4 -4
- package/dist/cli/{chunk-OWH7SSBO.mjs → chunk-5MYXW6M6.mjs} +2 -2
- package/dist/cli/{chunk-3BZ74K27.js → chunk-5N2HFB3G.js} +16 -16
- package/dist/cli/{chunk-2YOM5J3G.js → chunk-63DHG7BM.js} +26 -26
- package/dist/cli/{chunk-P7GOQTUN.js → chunk-6AL2VF3E.js} +14 -14
- package/dist/cli/{chunk-QBZECLNG.mjs → chunk-7BF4R26M.mjs} +3 -3
- package/dist/cli/{chunk-JRHMPZJX.js → chunk-7VQKU6MS.js} +7 -7
- package/dist/cli/{chunk-3C6VBHNW.mjs → chunk-7VT7RMZ2.mjs} +2 -2
- package/dist/cli/{chunk-M37I4A2Z.js → chunk-ASBWPRBN.js} +16 -16
- package/dist/cli/{chunk-3ZNPIJX6.js → chunk-B2T7PBS6.js} +41 -41
- package/dist/cli/{chunk-NC2FIUPX.mjs → chunk-B2U3LVSO.mjs} +1 -1
- package/dist/cli/{chunk-RNZQ7RDW.mjs → chunk-B6Q6BHSY.mjs} +2 -2
- package/dist/cli/{chunk-IZZ7FFWP.js → chunk-BPGFNVH2.js} +44 -44
- package/dist/cli/{chunk-2PYFXXYA.mjs → chunk-CLV4T5FN.mjs} +2 -2
- package/dist/cli/{chunk-JEB6BNIU.mjs → chunk-DEPBCRKG.mjs} +15 -4
- package/dist/cli/{chunk-DZ7JCRAL.mjs → chunk-DMF56C6D.mjs} +2 -2
- package/dist/cli/{chunk-RWXHMG6F.js → chunk-EEQ2QQOH.js} +21 -10
- package/dist/cli/{chunk-UDH3YMBI.mjs → chunk-EJ57CA2L.mjs} +1 -1
- package/dist/cli/{chunk-JYNHHO3J.js → chunk-F6IXWFPF.js} +6 -6
- package/dist/cli/{chunk-DWV7KM6H.mjs → chunk-FFPLCSTZ.mjs} +10 -10
- package/dist/cli/{chunk-VXNL4HLE.mjs → chunk-FND6GZZ4.mjs} +5 -5
- package/dist/cli/{chunk-D73YB5NQ.js → chunk-HC27PYJM.js} +2 -2
- package/dist/cli/{chunk-FRT5MFLF.mjs → chunk-HOKOJGQW.mjs} +1 -1
- package/dist/cli/{chunk-AYNO4VFW.js → chunk-JNECQ5QF.js} +11 -11
- package/dist/cli/chunk-JVEU6MXD.mjs +77 -0
- package/dist/cli/{chunk-ZLIAUR2E.js → chunk-JY73USD7.js} +2 -2
- package/dist/cli/{chunk-K4RME7AV.mjs → chunk-KXSOZYCS.mjs} +1 -1
- package/dist/cli/{chunk-ESVK4Z7S.js → chunk-LF3FF2B2.js} +1 -1
- package/dist/cli/{chunk-63BGKU3A.js → chunk-N7FV7OM3.js} +96 -96
- package/dist/cli/{chunk-Q4I5YKN4.mjs → chunk-OEG6VCK4.mjs} +1 -1
- package/dist/cli/{chunk-2LY42EZJ.mjs → chunk-PQ56GE55.mjs} +1 -1
- package/dist/cli/{chunk-GRGZKXLL.mjs → chunk-Q5EJO4TE.mjs} +5 -5
- package/dist/cli/{chunk-N5HRBS4K.js → chunk-QRQBKLOM.js} +3 -3
- package/dist/cli/{chunk-4DAR2GYV.mjs → chunk-RHKFNEV2.mjs} +2 -2
- package/dist/cli/{chunk-C6TP4DR3.mjs → chunk-UV524JZ5.mjs} +1 -1
- package/dist/cli/{chunk-KSQO32L5.mjs → chunk-V6DLYRSO.mjs} +1 -1
- package/dist/cli/{chunk-J3LJ37WD.js → chunk-VPJSQMWQ.js} +3 -3
- package/dist/cli/{chunk-3XBI4KZM.mjs → chunk-WAOLTP6R.mjs} +2 -2
- package/dist/cli/{chunk-JXYVBF5L.mjs → chunk-WC5754QJ.mjs} +5 -5
- package/dist/cli/{chunk-RUD77W2Y.js → chunk-XJZU7KO4.js} +5 -5
- package/dist/cli/{chunk-GDHLL5EQ.js → chunk-XK3AJFYQ.js} +35 -10
- package/dist/cli/{chunk-JUYW6TSU.js → chunk-XL4FFVWL.js} +7 -7
- package/dist/cli/{chunk-ZL2ME3UT.js → chunk-XRLE2FPE.js} +6 -6
- package/dist/cli/{chunk-R4S2AK3Q.js → chunk-YDALHHUC.js} +53 -53
- package/dist/cli/{chunk-IF242BIJ.mjs → chunk-YYUVOUEH.mjs} +5 -5
- package/dist/cli/{chunk-TVADI7K5.js → chunk-ZCYV6MZH.js} +5 -5
- package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-ZRACZKEE.mjs} +35 -10
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-CMJSMC2I.mjs → csv-MTFVEDPU.mjs} +4 -4
- package/dist/cli/{csv-DPDO6BU6.js → csv-UXFQZLZM.js} +13 -13
- package/dist/cli/{db-SL3EFN6V.mjs → db-3WPUYCCI.mjs} +6 -6
- package/dist/cli/{db-PPPKNTT5.js → db-RGWT6B7K.js} +27 -27
- package/dist/cli/describe-LNCLA2LA.js +50 -0
- package/dist/cli/{describe-XLN33FJX.mjs → describe-XJY5654F.mjs} +18 -18
- package/dist/cli/{executions-6YDTV2J6.js → executions-IWTALFNB.js} +8 -8
- package/dist/cli/{executions-O6Z5B5NY.mjs → executions-PDE4V5YH.mjs} +6 -6
- package/dist/cli/{feedback-DP7LPWAD.mjs → feedback-BMOVTPC4.mjs} +11 -7
- package/dist/cli/{feedback-BZ434BN4.js → feedback-I72P4XZS.js} +15 -11
- package/dist/cli/{git-MI7E5WGL.mjs → git-QJG3EF4P.mjs} +5 -5
- package/dist/cli/git-QWH7SPGF.js +25 -0
- package/dist/cli/index.js +173 -156
- package/dist/cli/index.mjs +76 -59
- package/dist/cli/{legacy-noops-65WNPQVZ.js → legacy-noops-5P75CQC7.js} +9 -8
- package/dist/cli/{legacy-noops-6VYXF2MG.mjs → legacy-noops-MZ45GDMK.mjs} +6 -5
- package/dist/cli/{monitors-BYUCTVSC.js → monitors-5PHQZDZM.js} +100 -100
- package/dist/cli/{monitors-Y7I5ZVCN.mjs → monitors-VIOBUG2X.mjs} +7 -7
- package/dist/cli/{org-F2ASWTFY.js → org-B5LDVP2P.js} +72 -72
- package/dist/cli/{org-IW3YD6JZ.mjs → org-D5RTFJNY.mjs} +6 -6
- package/dist/cli/{pages-X6HLRQNV.js → pages-BUJYG3JL.js} +18 -18
- package/dist/cli/{pages-H2CXNIDB.mjs → pages-XWZL3YV2.mjs} +6 -6
- package/dist/cli/{play-LLEEDXRX.mjs → play-OSXLGCLZ.mjs} +93 -54
- package/dist/cli/{play-H2EM7DTI.js → play-SEC3EE7H.js} +468 -429
- package/dist/cli/{providers-BZR5JONN.mjs → providers-ENSURIW6.mjs} +6 -6
- package/dist/cli/{providers-6R2SPOEV.js → providers-RQPUASLI.js} +9 -9
- package/dist/cli/{quickstart-KVES7R6D.mjs → quickstart-HJTK6XWI.mjs} +4 -4
- package/dist/cli/{quickstart-PW7ONQUH.js → quickstart-XDTU4MAT.js} +6 -6
- package/dist/cli/{run-HVUQROBE.js → run-GX2SU5AT.js} +41 -41
- package/dist/cli/{run-RDI3Q6GO.mjs → run-ZMWSQAR2.mjs} +23 -23
- package/dist/cli/search-7WPABWYO.js +33 -0
- package/dist/cli/{search-3TJ24CUF.mjs → search-DZHZBHWT.mjs} +8 -8
- package/dist/cli/{search-output-JHT553SL.js → search-output-3JVZERNV.js} +6 -6
- package/dist/cli/{search-output-Y57OBQXX.mjs → search-output-MNHAR754.mjs} +4 -4
- package/dist/cli/{secrets-OZK7GRD5.mjs → secrets-VALVNVXB.mjs} +6 -6
- package/dist/cli/{secrets-U5JHWAXU.js → secrets-WO2LMDQ2.js} +15 -15
- package/dist/cli/sessions-2IA2DGWO.js +18 -0
- package/dist/cli/{sessions-D6DSEQ2T.mjs → sessions-EPYCH3AY.mjs} +6 -5
- package/dist/cli/{settings-DLPEHYGS.js → settings-OSF4O5HM.js} +109 -82
- package/dist/cli/{settings-ITLSLT2R.mjs → settings-W2ABZUD4.mjs} +39 -12
- package/dist/cli/{setup-Y5ZYEC6U.js → setup-DCXNQG6R.js} +50 -50
- package/dist/cli/{setup-XTYLF2CF.mjs → setup-XI2ERSMQ.mjs} +10 -10
- package/dist/cli/skills-QMD2WARJ.js +37 -0
- package/dist/cli/{skills-C4WCAVII.mjs → skills-ZO4AH2YR.mjs} +8 -8
- package/dist/cli/tools-53E6GBQU.js +57 -0
- package/dist/cli/{tools-ZESAPVOW.mjs → tools-FTECXZYA.mjs} +17 -17
- package/dist/cli/update-PPPNR6J5.js +35 -0
- package/dist/cli/{update-4PCKVDCS.mjs → update-WPFZO2JE.mjs} +10 -10
- package/dist/cli/{workflow-42CL4TVR.mjs → workflow-7X75IP3D.mjs} +7 -7
- package/dist/cli/{workflow-XXKXMPTI.js → workflow-PKMU33LV.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +105 -102
- 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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-LFU77QDI.js +0 -43
- package/dist/cli/describe-JKZ67X3E.js +0 -50
- package/dist/cli/git-U5N6CTML.js +0 -25
- package/dist/cli/search-NKEEGLY6.js +0 -33
- package/dist/cli/sessions-PNMYAJNB.js +0 -17
- package/dist/cli/skills-K6FVG3BX.js +0 -37
- package/dist/cli/tools-LSALTN7I.js +0 -57
- package/dist/cli/update-P5KGNFNL.js +0 -35
package/dist/cli/index.mjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
usesInlinePlayAdmission
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B6Q6BHSY.mjs";
|
|
5
|
+
import {
|
|
6
|
+
feedbackSendRestriction
|
|
7
|
+
} from "./chunk-JVEU6MXD.mjs";
|
|
5
8
|
import {
|
|
6
9
|
beginToolExecuteCommand,
|
|
7
10
|
compatibilityCatalog,
|
|
@@ -10,17 +13,17 @@ import {
|
|
|
10
13
|
maybeAutoUpdateAndRelaunch,
|
|
11
14
|
runDeferredAutoUpdate,
|
|
12
15
|
runToolExecuteStage
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YYUVOUEH.mjs";
|
|
14
17
|
import {
|
|
15
18
|
isCliTraceEnabled,
|
|
16
19
|
parseCliMaintenancePolicy,
|
|
17
20
|
recordCliTrace,
|
|
18
21
|
resolveCliMaintenancePolicy,
|
|
19
22
|
traceCliSpan
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-EJ57CA2L.mjs";
|
|
24
|
+
import "./chunk-FND6GZZ4.mjs";
|
|
25
|
+
import "./chunk-KXSOZYCS.mjs";
|
|
26
|
+
import "./chunk-5DU7RXDW.mjs";
|
|
24
27
|
import {
|
|
25
28
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
26
29
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -32,10 +35,10 @@ import {
|
|
|
32
35
|
readFreshCleanCompatibility,
|
|
33
36
|
readTrustedCleanCompatibility,
|
|
34
37
|
syncSdkSkillsIfNeeded
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-Q5EJO4TE.mjs";
|
|
36
39
|
import {
|
|
37
40
|
createCliProgress
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B2U3LVSO.mjs";
|
|
39
42
|
import {
|
|
40
43
|
failureReportHeaders,
|
|
41
44
|
isFailureReportingDisabled,
|
|
@@ -43,12 +46,12 @@ import {
|
|
|
43
46
|
redactFailureText,
|
|
44
47
|
resolveSdkCliFailureExitCode,
|
|
45
48
|
sanitizeCommand
|
|
46
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WAOLTP6R.mjs";
|
|
47
50
|
import {
|
|
48
51
|
commandDocKey,
|
|
49
52
|
helpDetailFromArgv,
|
|
50
53
|
renderCommandExplanation
|
|
51
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ZRACZKEE.mjs";
|
|
52
55
|
import "./chunk-5LUF4LAR.mjs";
|
|
53
56
|
import "./chunk-7I4B6V2S.mjs";
|
|
54
57
|
import {
|
|
@@ -63,7 +66,7 @@ import {
|
|
|
63
66
|
printJson,
|
|
64
67
|
shouldEmitJson,
|
|
65
68
|
takeSilentJsonFailureMessage
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-DMF56C6D.mjs";
|
|
67
70
|
import {
|
|
68
71
|
HttpClient,
|
|
69
72
|
autoDetectBaseUrl,
|
|
@@ -71,18 +74,18 @@ import {
|
|
|
71
74
|
resolveApiKeyForBaseUrl,
|
|
72
75
|
resolveBaseUrlOnly,
|
|
73
76
|
resolveConfig
|
|
74
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-HOKOJGQW.mjs";
|
|
75
78
|
import {
|
|
76
79
|
SDK_VERSION,
|
|
77
80
|
agentSessionIdFromEnvironment,
|
|
78
81
|
connectionFailureMessage
|
|
79
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-PQ56GE55.mjs";
|
|
80
83
|
import {
|
|
81
84
|
AuthError
|
|
82
85
|
} from "./chunk-4QF2K7TM.mjs";
|
|
83
86
|
import "./chunk-DLIRSHV6.mjs";
|
|
84
87
|
import "./chunk-HBL4PM5Q.mjs";
|
|
85
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-V6DLYRSO.mjs";
|
|
86
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
87
90
|
import "./chunk-5JPKRDFC.mjs";
|
|
88
91
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -163,56 +166,56 @@ import { Command as Command2 } from "commander";
|
|
|
163
166
|
var COMMAND_GROUPS = [
|
|
164
167
|
{
|
|
165
168
|
names: ["auth"],
|
|
166
|
-
load: async () => (await import("./auth-
|
|
169
|
+
load: async () => (await import("./auth-USS2W3UV.mjs")).registerAuthCommands
|
|
167
170
|
},
|
|
168
171
|
{
|
|
169
172
|
names: ["providers"],
|
|
170
|
-
load: async () => (await import("./providers-
|
|
173
|
+
load: async () => (await import("./providers-ENSURIW6.mjs")).registerProviderCommands
|
|
171
174
|
},
|
|
172
175
|
{
|
|
173
176
|
names: ["search"],
|
|
174
|
-
load: async () => (await import("./search-
|
|
177
|
+
load: async () => (await import("./search-DZHZBHWT.mjs")).registerSearchCommand
|
|
175
178
|
},
|
|
176
179
|
{
|
|
177
180
|
names: ["describe"],
|
|
178
|
-
load: async () => (await import("./describe-
|
|
181
|
+
load: async () => (await import("./describe-XJY5654F.mjs")).registerDescribeCommand
|
|
179
182
|
},
|
|
180
183
|
{
|
|
181
184
|
names: ["run"],
|
|
182
|
-
load: async () => (await import("./run-
|
|
185
|
+
load: async () => (await import("./run-ZMWSQAR2.mjs")).registerRunCommand
|
|
183
186
|
},
|
|
184
187
|
{
|
|
185
188
|
names: ["tools"],
|
|
186
|
-
load: async () => (await import("./tools-
|
|
189
|
+
load: async () => (await import("./tools-FTECXZYA.mjs")).registerToolsCommands
|
|
187
190
|
},
|
|
188
191
|
{
|
|
189
192
|
names: ["executions"],
|
|
190
|
-
load: async () => (await import("./executions-
|
|
193
|
+
load: async () => (await import("./executions-PDE4V5YH.mjs")).registerExecutionsCommands
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
names: ["plays", "runs"],
|
|
194
|
-
load: async () => (await import("./play-
|
|
197
|
+
load: async () => (await import("./play-OSXLGCLZ.mjs")).registerPlayCommands
|
|
195
198
|
},
|
|
196
199
|
{
|
|
197
200
|
names: ["sessions"],
|
|
198
|
-
load: async () => (await import("./sessions-
|
|
201
|
+
load: async () => (await import("./sessions-EPYCH3AY.mjs")).registerSessionsCommands
|
|
199
202
|
},
|
|
200
203
|
{
|
|
201
204
|
names: ["workflows"],
|
|
202
|
-
load: async () => (await import("./workflow-
|
|
205
|
+
load: async () => (await import("./workflow-7X75IP3D.mjs")).registerWorkflowCommands
|
|
203
206
|
},
|
|
204
207
|
{
|
|
205
208
|
names: ["pages"],
|
|
206
|
-
load: async () => (await import("./pages-
|
|
209
|
+
load: async () => (await import("./pages-XWZL3YV2.mjs")).registerPagesCommands
|
|
207
210
|
},
|
|
208
211
|
{
|
|
209
212
|
names: ["secrets"],
|
|
210
|
-
load: async () => (await import("./secrets-
|
|
213
|
+
load: async () => (await import("./secrets-VALVNVXB.mjs")).registerSecretsCommands
|
|
211
214
|
},
|
|
212
215
|
{
|
|
213
216
|
names: ["settings", "notifications"],
|
|
214
217
|
load: async () => {
|
|
215
|
-
const commands = await import("./settings-
|
|
218
|
+
const commands = await import("./settings-W2ABZUD4.mjs");
|
|
216
219
|
return (p) => {
|
|
217
220
|
commands.registerSettingsCommands(p);
|
|
218
221
|
commands.registerNotificationCommands(p);
|
|
@@ -221,51 +224,51 @@ var COMMAND_GROUPS = [
|
|
|
221
224
|
},
|
|
222
225
|
{
|
|
223
226
|
names: ["billing"],
|
|
224
|
-
load: async () => (await import("./billing-
|
|
227
|
+
load: async () => (await import("./billing-JCUWM5XB.mjs")).registerBillingCommands
|
|
225
228
|
},
|
|
226
229
|
{
|
|
227
230
|
names: ["monitors"],
|
|
228
|
-
load: async () => (await import("./monitors-
|
|
231
|
+
load: async () => (await import("./monitors-VIOBUG2X.mjs")).registerMonitorsCommands
|
|
229
232
|
},
|
|
230
233
|
{
|
|
231
234
|
names: ["org"],
|
|
232
|
-
load: async () => (await import("./org-
|
|
235
|
+
load: async () => (await import("./org-D5RTFJNY.mjs")).registerOrgCommands
|
|
233
236
|
},
|
|
234
237
|
{
|
|
235
238
|
names: ["git", "projects", "deployments"],
|
|
236
|
-
load: async () => (await import("./git-
|
|
239
|
+
load: async () => (await import("./git-QJG3EF4P.mjs")).registerGitCommands
|
|
237
240
|
},
|
|
238
241
|
{
|
|
239
242
|
names: ["csv"],
|
|
240
|
-
load: async () => (await import("./csv-
|
|
243
|
+
load: async () => (await import("./csv-MTFVEDPU.mjs")).registerCsvCommands
|
|
241
244
|
},
|
|
242
245
|
{
|
|
243
246
|
names: ["db"],
|
|
244
|
-
load: async () => (await import("./db-
|
|
247
|
+
load: async () => (await import("./db-3WPUYCCI.mjs")).registerDbCommands
|
|
245
248
|
},
|
|
246
249
|
{
|
|
247
250
|
names: ["feedback"],
|
|
248
|
-
load: async () => (await import("./feedback-
|
|
251
|
+
load: async () => (await import("./feedback-BMOVTPC4.mjs")).registerFeedbackCommands
|
|
249
252
|
},
|
|
250
253
|
{
|
|
251
254
|
names: ["enrich", "session", "backend"],
|
|
252
|
-
load: async () => (await import("./legacy-noops-
|
|
255
|
+
load: async () => (await import("./legacy-noops-MZ45GDMK.mjs")).registerDeprecatedCommands
|
|
253
256
|
},
|
|
254
257
|
{
|
|
255
258
|
names: ["update"],
|
|
256
|
-
load: async () => (await import("./update-
|
|
259
|
+
load: async () => (await import("./update-WPFZO2JE.mjs")).registerUpdateCommand
|
|
257
260
|
},
|
|
258
261
|
{
|
|
259
262
|
names: ["skills", "skills-auto-sync"],
|
|
260
|
-
load: async () => (await import("./skills-
|
|
263
|
+
load: async () => (await import("./skills-ZO4AH2YR.mjs")).registerSkillsCommand
|
|
261
264
|
},
|
|
262
265
|
{
|
|
263
266
|
names: ["setup", "doctor"],
|
|
264
|
-
load: async () => (await import("./setup-
|
|
267
|
+
load: async () => (await import("./setup-XI2ERSMQ.mjs")).registerSetupCommands
|
|
265
268
|
},
|
|
266
269
|
{
|
|
267
270
|
names: ["quickstart"],
|
|
268
|
-
load: async () => (await import("./quickstart-
|
|
271
|
+
load: async () => (await import("./quickstart-HJTK6XWI.mjs")).registerQuickstartCommands
|
|
269
272
|
}
|
|
270
273
|
];
|
|
271
274
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -633,7 +636,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
633
636
|
});
|
|
634
637
|
let exitCode = 1;
|
|
635
638
|
try {
|
|
636
|
-
const { handlePlayRun } = await import("./play-
|
|
639
|
+
const { handlePlayRun } = await import("./play-OSXLGCLZ.mjs");
|
|
637
640
|
exitCode = await handlePlayRun([
|
|
638
641
|
file,
|
|
639
642
|
"--input",
|
|
@@ -814,7 +817,7 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
814
817
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
815
818
|
].join("\n");
|
|
816
819
|
}
|
|
817
|
-
async function runMain(ensureTransport, onAction) {
|
|
820
|
+
async function runMain(ensureTransport, onAction, suppressOutputReport) {
|
|
818
821
|
const mainStartedAt = Date.now();
|
|
819
822
|
installJsonStderrGuard();
|
|
820
823
|
let rootHelpStatus = "";
|
|
@@ -900,7 +903,9 @@ Exit codes:
|
|
|
900
903
|
if (actionCommand.name() !== "version") {
|
|
901
904
|
await ensureTransport();
|
|
902
905
|
}
|
|
903
|
-
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation())
|
|
906
|
+
if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation() || compatibilityCommand === "settings feedback" || compatibilityCommand.startsWith("settings feedback ") || ["feedback send", "sessions send", "session send"].includes(
|
|
907
|
+
compatibilityCommand
|
|
908
|
+
) && feedbackSendRestriction(actionCommand.optsWithGlobals().requested)) {
|
|
904
909
|
return;
|
|
905
910
|
}
|
|
906
911
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
@@ -1036,6 +1041,8 @@ Exit codes:
|
|
|
1036
1041
|
program,
|
|
1037
1042
|
process.argv.slice(2)
|
|
1038
1043
|
);
|
|
1044
|
+
const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
|
|
1045
|
+
if (carriesFeedback) suppressOutputReport();
|
|
1039
1046
|
const commandRegistrationStartedAt = isCliTraceEnabled() ? performance.now() : void 0;
|
|
1040
1047
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1041
1048
|
if (commandRegistrationStartedAt !== void 0) {
|
|
@@ -1095,7 +1102,7 @@ Examples:
|
|
|
1095
1102
|
return;
|
|
1096
1103
|
}
|
|
1097
1104
|
try {
|
|
1098
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1105
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-USS2W3UV.mjs");
|
|
1099
1106
|
const baseUrl = resolveBaseUrlOnly();
|
|
1100
1107
|
const [{ status, data }, banner] = await Promise.all([
|
|
1101
1108
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1183,7 +1190,7 @@ Examples:
|
|
|
1183
1190
|
const helpArgs = process.argv.slice(2);
|
|
1184
1191
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1185
1192
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1186
|
-
const { authStatusLine } = await import("./auth-
|
|
1193
|
+
const { authStatusLine } = await import("./auth-USS2W3UV.mjs");
|
|
1187
1194
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1188
1195
|
${await authStatusLine()}
|
|
1189
1196
|
`;
|
|
@@ -1194,11 +1201,13 @@ ${await authStatusLine()}
|
|
|
1194
1201
|
ms: Date.now() - mainStartedAt,
|
|
1195
1202
|
ok: true
|
|
1196
1203
|
});
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1204
|
+
if (!carriesFeedback) {
|
|
1205
|
+
await maybeReportSdkCliFailure({
|
|
1206
|
+
argv: process.argv.slice(2),
|
|
1207
|
+
startedAtMs: mainStartedAt,
|
|
1208
|
+
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1202
1211
|
} catch (error) {
|
|
1203
1212
|
commandFailed = true;
|
|
1204
1213
|
const commanderError = asCommanderError(error);
|
|
@@ -1280,12 +1289,14 @@ ${await authStatusLine()}
|
|
|
1280
1289
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1281
1290
|
const failureExitCode = explicitExitCode ?? resolveSdkCliFailureExitCode(error);
|
|
1282
1291
|
process.exitCode = failureExitCode;
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1292
|
+
if (!carriesFeedback) {
|
|
1293
|
+
await maybeReportSdkCliFailure({
|
|
1294
|
+
argv: process.argv.slice(2),
|
|
1295
|
+
startedAtMs: mainStartedAt,
|
|
1296
|
+
exitCode: failureExitCode,
|
|
1297
|
+
error
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1289
1300
|
} finally {
|
|
1290
1301
|
finishToolExecuteCommand();
|
|
1291
1302
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
@@ -1326,10 +1337,16 @@ async function main() {
|
|
|
1326
1337
|
let action = null;
|
|
1327
1338
|
let skipOutputReport = false;
|
|
1328
1339
|
try {
|
|
1329
|
-
await runMain(
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1340
|
+
await runMain(
|
|
1341
|
+
ensureTransport,
|
|
1342
|
+
(dispatched) => {
|
|
1343
|
+
action = dispatched;
|
|
1344
|
+
skipOutputReport ||= dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
|
|
1345
|
+
},
|
|
1346
|
+
() => {
|
|
1347
|
+
skipOutputReport = true;
|
|
1348
|
+
}
|
|
1349
|
+
);
|
|
1333
1350
|
const silentFailure = takeSilentJsonFailureMessage(process.exitCode);
|
|
1334
1351
|
if (silentFailure) {
|
|
1335
1352
|
printJson({
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEEQ2QQOHjs = require('./chunk-EEQ2QQOH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
|
+
require('./chunk-3LXU22UZ.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
|
|
11
|
+
require('./chunk-VPJSQMWQ.js');
|
|
12
|
+
require('./chunk-4NJK6P5T.js');
|
|
12
13
|
require('./chunk-ALJJRZNJ.js');
|
|
13
14
|
require('./chunk-XNYIZMNQ.js');
|
|
14
15
|
require('./chunk-DIAWYWT5.js');
|
|
15
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-LF3FF2B2.js');
|
|
16
17
|
require('./chunk-OG64RBAC.js');
|
|
17
18
|
require('./chunk-COGTRVWW.js');
|
|
18
19
|
|
|
@@ -53,7 +54,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
function printDeprecatedCommand(input) {
|
|
56
|
-
|
|
57
|
+
_chunkXL4FFVWLjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
57
58
|
json: input.options.json
|
|
58
59
|
});
|
|
59
60
|
process.exitCode = 2;
|
|
@@ -73,7 +74,7 @@ function registerDeprecatedCommands(program) {
|
|
|
73
74
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
74
75
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
75
76
|
`).action((_args, options) => {
|
|
76
|
-
|
|
77
|
+
_chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
|
|
77
78
|
{
|
|
78
79
|
ok: false,
|
|
79
80
|
command: "deepline enrich",
|
|
@@ -116,7 +117,7 @@ Examples:
|
|
|
116
117
|
options
|
|
117
118
|
});
|
|
118
119
|
});
|
|
119
|
-
|
|
120
|
+
_chunkEEQ2QQOHjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
120
121
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
121
122
|
addDeprecatedSubcommand(
|
|
122
123
|
session,
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEPBCRKG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
|
+
import "./chunk-JVEU6MXD.mjs";
|
|
7
8
|
import {
|
|
8
9
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DMF56C6D.mjs";
|
|
11
|
+
import "./chunk-HOKOJGQW.mjs";
|
|
12
|
+
import "./chunk-PQ56GE55.mjs";
|
|
12
13
|
import "./chunk-4QF2K7TM.mjs";
|
|
13
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
15
|
import "./chunk-HBL4PM5Q.mjs";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-V6DLYRSO.mjs";
|
|
16
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
18
|
import "./chunk-KRD6H754.mjs";
|
|
18
19
|
|