deepline 0.3.509 → 0.3.511
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/client-core.ts +159 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +7 -2
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +3 -3
- 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/play-runtime/scheduler-backends/absurd-runtime-worker.ts +218 -33
- package/dist/cli/artifacts-G6JHRHY5.mjs +268 -0
- package/dist/cli/artifacts-PLF5ZUS7.js +268 -0
- package/dist/cli/{auth-6IR2QH4N.mjs → auth-2XMJMDWG.mjs} +5 -5
- package/dist/cli/auth-PI2KS2CD.js +43 -0
- package/dist/cli/{billing-WEWHH6ST.mjs → billing-6C5AI42X.mjs} +7 -7
- package/dist/cli/{billing-SYBK3ZYU.js → billing-Z3XFXP3H.js} +82 -82
- package/dist/cli/{chunk-JZJNA57M.js → chunk-2Q4H2Y6N.js} +6 -6
- package/dist/cli/{chunk-VTVZ7EUA.js → chunk-2YVRIXVR.js} +9 -9
- package/dist/cli/{chunk-RSKAPLST.mjs → chunk-5WTLXL6O.mjs} +1 -1
- package/dist/cli/{chunk-YJM3NOME.mjs → chunk-77DPQI6W.mjs} +94 -10
- package/dist/cli/{chunk-FNLGMMJJ.mjs → chunk-ASXOFBF7.mjs} +2 -2
- package/dist/cli/{chunk-AO63MXT6.js → chunk-BHV7JKXQ.js} +1 -1
- package/dist/cli/{chunk-RA2NKHV5.js → chunk-D5VWSR4D.js} +5 -5
- package/dist/cli/{chunk-CMSPA5VX.js → chunk-FAGSSIOY.js} +6 -6
- package/dist/cli/{chunk-J5P4PDRT.js → chunk-FF25PDQ2.js} +94 -10
- package/dist/cli/{chunk-SEQIB5WJ.mjs → chunk-FTT2SBBH.mjs} +5 -5
- package/dist/cli/{chunk-5Y3I5LEQ.js → chunk-FV4PASXH.js} +16 -16
- package/dist/cli/{chunk-GTAU4C44.js → chunk-GD3ES3JU.js} +14 -14
- package/dist/cli/{chunk-HMAETS53.js → chunk-GGQHOLH6.js} +3 -3
- package/dist/cli/{chunk-T67NAGSD.mjs → chunk-GJWL4KTY.mjs} +4 -4
- package/dist/cli/{chunk-6KBVQ76G.mjs → chunk-HLEZQDEZ.mjs} +2 -2
- package/dist/cli/{chunk-WJ6H2W3O.mjs → chunk-ISY7PBIK.mjs} +5 -5
- package/dist/cli/{chunk-AD45WJHN.js → chunk-IYWN7M4I.js} +5 -5
- package/dist/cli/{chunk-3CZHC24N.mjs → chunk-JDDKJIZU.mjs} +1 -1
- package/dist/cli/{chunk-E3HWUGDT.mjs → chunk-JHBZBCU4.mjs} +1 -1
- package/dist/cli/{chunk-7KALZEDZ.js → chunk-JIY25SUX.js} +4 -4
- package/dist/cli/{chunk-726UDAV2.js → chunk-JYFLIQPE.js} +7 -7
- package/dist/cli/{chunk-DGOSW42X.js → chunk-K4JB2BZP.js} +96 -96
- package/dist/cli/{chunk-XEQH65DT.mjs → chunk-KK6NZHAJ.mjs} +1 -1
- package/dist/cli/chunk-KUDNPJ43.js +77 -0
- package/dist/cli/{chunk-IZW7IOD6.mjs → chunk-KXGH4YUQ.mjs} +1 -1
- package/dist/cli/{chunk-Q7G6WORO.js → chunk-KZBKQPSA.js} +2 -2
- package/dist/cli/{chunk-4DVANPBN.js → chunk-LDZYGM7W.js} +41 -41
- package/dist/cli/{chunk-XPKBYMJH.js → chunk-LKSJXTRP.js} +53 -53
- package/dist/cli/{chunk-Q5UO2ENN.js → chunk-NVMNMKZW.js} +3 -3
- package/dist/cli/{chunk-VZ773N7G.js → chunk-O37BQ2CG.js} +21 -10
- package/dist/cli/{chunk-OOD5LGUS.mjs → chunk-OQ4YBPOQ.mjs} +3 -3
- package/dist/cli/{chunk-UART6FGK.mjs → chunk-PCI4MMH7.mjs} +1 -1
- package/dist/cli/{chunk-2ZJRCAHG.js → chunk-PI45LZ5B.js} +11 -11
- package/dist/cli/{chunk-O527H5GY.js → chunk-PUFEARWT.js} +16 -16
- package/dist/cli/{chunk-25MAOMVS.mjs → chunk-QDWNVTTO.mjs} +2 -2
- package/dist/cli/{chunk-WUKNKFB3.mjs → chunk-RPPU3XB3.mjs} +2 -2
- package/dist/cli/{chunk-XIBNY6H6.mjs → chunk-S5C4CWSS.mjs} +5 -5
- package/dist/cli/{chunk-2U7Z4LFG.mjs → chunk-S6KEACD3.mjs} +6 -6
- package/dist/cli/{chunk-Y4M5HPQV.mjs → chunk-SI4QXATV.mjs} +5 -5
- package/dist/cli/{chunk-R2KNJMOY.mjs → chunk-VEOFISLZ.mjs} +1 -1
- package/dist/cli/{chunk-Z2LVZDO5.js → chunk-VHFTN6VY.js} +44 -44
- package/dist/cli/{chunk-54YPOG5W.mjs → chunk-VQ74WMKG.mjs} +15 -4
- package/dist/cli/{chunk-ZXGMWXZW.js → chunk-WDBEWOU6.js} +2 -2
- package/dist/cli/{chunk-6TBRWRJ2.js → chunk-XGXXNT4O.js} +270 -199
- package/dist/cli/chunk-XREZY4FA.mjs +77 -0
- package/dist/cli/{chunk-K2RCVD7S.mjs → chunk-XSBGWMI6.mjs} +72 -1
- package/dist/cli/{chunk-S7JEF2MR.mjs → chunk-XXQZYLLL.mjs} +2 -2
- package/dist/cli/{chunk-EEEWADSR.mjs → chunk-XZ6IZIQJ.mjs} +2 -2
- package/dist/cli/{chunk-WPBTWRKG.js → chunk-YX7E2VQM.js} +26 -26
- package/dist/cli/{chunk-FQCIYGQY.mjs → chunk-ZFJ2U76O.mjs} +2 -2
- package/dist/cli/{chunk-7NMPGX3W.js → chunk-ZWGBQKW7.js} +21 -21
- package/dist/cli/{chunk-VH522HUP.mjs → chunk-ZYVR4A4P.mjs} +10 -10
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-4LAJ2ZKG.mjs → csv-CNK6ZF3T.mjs} +4 -4
- package/dist/cli/{csv-5KNONIAX.js → csv-S44OGG2O.js} +13 -13
- package/dist/cli/{db-BEVCJI66.mjs → db-AVO6QJU6.mjs} +6 -6
- package/dist/cli/{db-5PEXOSN3.js → db-WKZ6EXNG.js} +27 -27
- package/dist/cli/{describe-TDJIUSD6.mjs → describe-2HQRT5MI.mjs} +18 -18
- package/dist/cli/describe-CCK77NER.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-KXCPU6YC.mjs → executions-DKHOR7HD.mjs} +6 -6
- package/dist/cli/{executions-36GV3A27.js → executions-MTAHNARA.js} +8 -8
- package/dist/cli/{feedback-GEUUT4S7.mjs → feedback-K6SJS4LG.mjs} +11 -7
- package/dist/cli/{feedback-SPQABV33.js → feedback-R2UABU3E.js} +15 -11
- package/dist/cli/{git-AE36X2R6.mjs → git-3EPA7433.mjs} +5 -5
- package/dist/cli/git-7L3PY2A4.js +25 -0
- package/dist/cli/index.js +177 -156
- package/dist/cli/index.mjs +80 -59
- package/dist/cli/{legacy-noops-TKPHN7WT.js → legacy-noops-3Q2D2F24.js} +9 -8
- package/dist/cli/{legacy-noops-LUEDAK7J.mjs → legacy-noops-66OPCJJD.mjs} +6 -5
- package/dist/cli/{monitors-JHJZ5XG7.mjs → monitors-2PYPRWT4.mjs} +7 -7
- package/dist/cli/{monitors-B2EAIGZI.js → monitors-KHH4MZDF.js} +100 -100
- package/dist/cli/{org-GUICCEBZ.mjs → org-WAW3OL7B.mjs} +6 -6
- package/dist/cli/{org-PYCPXEAU.js → org-X5G36B2Q.js} +72 -72
- package/dist/cli/{pages-Y2XI36HY.mjs → pages-KABWXDGW.mjs} +6 -6
- package/dist/cli/{pages-CV4TQNFY.js → pages-XDPHCHHU.js} +18 -18
- package/dist/cli/{play-VWCQNGZZ.mjs → play-654B2HQU.mjs} +18 -18
- package/dist/cli/{play-MTVK66JK.js → play-UE5FKQCO.js} +317 -317
- package/dist/cli/{providers-N72BUCXZ.js → providers-QT2BZMJ7.js} +9 -9
- package/dist/cli/{providers-ZOZTST3A.mjs → providers-SKNGX6IT.mjs} +6 -6
- package/dist/cli/{quickstart-DXIC3NHS.mjs → quickstart-BX7XMJIQ.mjs} +4 -4
- package/dist/cli/{quickstart-FK53VZB3.js → quickstart-XWDVAQTT.js} +6 -6
- package/dist/cli/{run-NNAYDCEN.js → run-C6YYD4AK.js} +41 -41
- package/dist/cli/{run-IL2KI33N.mjs → run-JTU4K4MY.mjs} +23 -23
- package/dist/cli/{search-7IPVMQCO.mjs → search-NHV4Y4SX.mjs} +8 -8
- package/dist/cli/search-RIFW5JCK.js +33 -0
- package/dist/cli/{search-output-ZY2GE35S.mjs → search-output-AAOMFK7K.mjs} +4 -4
- package/dist/cli/{search-output-YHTWLSDE.js → search-output-WLFFEGCY.js} +6 -6
- package/dist/cli/{secrets-ZML76SH2.js → secrets-H4WTLQJJ.js} +15 -15
- package/dist/cli/{secrets-BGUMHDZ7.mjs → secrets-S66PZSRO.mjs} +6 -6
- package/dist/cli/sessions-EFWO62XJ.js +18 -0
- package/dist/cli/{sessions-F5XO6HZJ.mjs → sessions-PY6FJX3O.mjs} +6 -5
- package/dist/cli/{settings-73SMIICV.mjs → settings-V7BM42KQ.mjs} +39 -12
- package/dist/cli/{settings-TOX2P5M5.js → settings-YO4FFPN6.js} +109 -82
- package/dist/cli/{setup-DNFHFQ7N.js → setup-IFZYYQ2W.js} +50 -50
- package/dist/cli/{setup-FDJZYBMS.mjs → setup-VUBM2HMH.mjs} +10 -10
- package/dist/cli/{skills-6HJ2IAY6.mjs → skills-EYWRSQQJ.mjs} +8 -8
- package/dist/cli/skills-LFP53SWQ.js +37 -0
- package/dist/cli/tools-SR2Q7KC5.js +57 -0
- package/dist/cli/{tools-4FJIIE4R.mjs → tools-VZOW4MUD.mjs} +17 -17
- package/dist/cli/update-ADZBZZZS.js +35 -0
- package/dist/cli/{update-UMRPPILV.mjs → update-CQDJJYU2.mjs} +10 -10
- package/dist/cli/{workflow-LSFOG5VU.mjs → workflow-2VRDIPF3.mjs} +7 -7
- package/dist/cli/{workflow-SK3BUHB4.js → workflow-XS3JEU6X.js} +17 -17
- package/dist/{client-DMpsMNH9.d.mts → client-By7bUS8h.d.mts} +1 -1
- package/dist/{client-BlwD-G4v.d.ts → client-CmlKSBXd.d.ts} +1 -1
- package/dist/{client-core-DwBLuEkm.d.ts → client-core-BM0mKhgp.d.ts} +93 -1
- package/dist/{client-core-CITtRTbB.d.mts → client-core-BZ3tpY_J.d.mts} +93 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +111 -106
- 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-SUTQ4SZQ.js +0 -43
- package/dist/cli/describe-ZB6G6DOV.js +0 -50
- package/dist/cli/git-UX7L6R32.js +0 -25
- package/dist/cli/search-OZHP5ZE2.js +0 -33
- package/dist/cli/sessions-WDINUUZ3.js +0 -17
- package/dist/cli/skills-NE7WN5PP.js +0 -37
- package/dist/cli/tools-ETX4MNNO.js +0 -57
- package/dist/cli/update-N2DMPSUH.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-XXQZYLLL.mjs";
|
|
5
|
+
import {
|
|
6
|
+
feedbackSendRestriction
|
|
7
|
+
} from "./chunk-XREZY4FA.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-FTT2SBBH.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-KK6NZHAJ.mjs";
|
|
24
|
+
import "./chunk-ISY7PBIK.mjs";
|
|
25
|
+
import "./chunk-KXGH4YUQ.mjs";
|
|
26
|
+
import "./chunk-GJWL4KTY.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-S5C4CWSS.mjs";
|
|
36
39
|
import {
|
|
37
40
|
createCliProgress
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PCI4MMH7.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-QDWNVTTO.mjs";
|
|
47
50
|
import {
|
|
48
51
|
commandDocKey,
|
|
49
52
|
helpDetailFromArgv,
|
|
50
53
|
renderCommandExplanation
|
|
51
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-77DPQI6W.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-HLEZQDEZ.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-VEOFISLZ.mjs";
|
|
75
78
|
import {
|
|
76
79
|
SDK_VERSION,
|
|
77
80
|
agentSessionIdFromEnvironment,
|
|
78
81
|
connectionFailureMessage
|
|
79
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JDDKJIZU.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-5WTLXL6O.mjs";
|
|
86
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
87
90
|
import "./chunk-5JPKRDFC.mjs";
|
|
88
91
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -163,56 +166,60 @@ 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-2XMJMDWG.mjs")).registerAuthCommands
|
|
167
170
|
},
|
|
168
171
|
{
|
|
169
172
|
names: ["providers"],
|
|
170
|
-
load: async () => (await import("./providers-
|
|
173
|
+
load: async () => (await import("./providers-SKNGX6IT.mjs")).registerProviderCommands
|
|
171
174
|
},
|
|
172
175
|
{
|
|
173
176
|
names: ["search"],
|
|
174
|
-
load: async () => (await import("./search-
|
|
177
|
+
load: async () => (await import("./search-NHV4Y4SX.mjs")).registerSearchCommand
|
|
175
178
|
},
|
|
176
179
|
{
|
|
177
180
|
names: ["describe"],
|
|
178
|
-
load: async () => (await import("./describe-
|
|
181
|
+
load: async () => (await import("./describe-2HQRT5MI.mjs")).registerDescribeCommand
|
|
179
182
|
},
|
|
180
183
|
{
|
|
181
184
|
names: ["run"],
|
|
182
|
-
load: async () => (await import("./run-
|
|
185
|
+
load: async () => (await import("./run-JTU4K4MY.mjs")).registerRunCommand
|
|
183
186
|
},
|
|
184
187
|
{
|
|
185
188
|
names: ["tools"],
|
|
186
|
-
load: async () => (await import("./tools-
|
|
189
|
+
load: async () => (await import("./tools-VZOW4MUD.mjs")).registerToolsCommands
|
|
187
190
|
},
|
|
188
191
|
{
|
|
189
192
|
names: ["executions"],
|
|
190
|
-
load: async () => (await import("./executions-
|
|
193
|
+
load: async () => (await import("./executions-DKHOR7HD.mjs")).registerExecutionsCommands
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
names: ["plays", "runs"],
|
|
194
|
-
load: async () => (await import("./play-
|
|
197
|
+
load: async () => (await import("./play-654B2HQU.mjs")).registerPlayCommands
|
|
195
198
|
},
|
|
196
199
|
{
|
|
197
200
|
names: ["sessions"],
|
|
198
|
-
load: async () => (await import("./sessions-
|
|
201
|
+
load: async () => (await import("./sessions-PY6FJX3O.mjs")).registerSessionsCommands
|
|
199
202
|
},
|
|
200
203
|
{
|
|
201
204
|
names: ["workflows"],
|
|
202
|
-
load: async () => (await import("./workflow-
|
|
205
|
+
load: async () => (await import("./workflow-2VRDIPF3.mjs")).registerWorkflowCommands
|
|
203
206
|
},
|
|
204
207
|
{
|
|
205
208
|
names: ["pages"],
|
|
206
|
-
load: async () => (await import("./pages-
|
|
209
|
+
load: async () => (await import("./pages-KABWXDGW.mjs")).registerPagesCommands
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
names: ["artifacts"],
|
|
213
|
+
load: async () => (await import("./artifacts-G6JHRHY5.mjs")).registerArtifactsCommands
|
|
207
214
|
},
|
|
208
215
|
{
|
|
209
216
|
names: ["secrets"],
|
|
210
|
-
load: async () => (await import("./secrets-
|
|
217
|
+
load: async () => (await import("./secrets-S66PZSRO.mjs")).registerSecretsCommands
|
|
211
218
|
},
|
|
212
219
|
{
|
|
213
220
|
names: ["settings", "notifications"],
|
|
214
221
|
load: async () => {
|
|
215
|
-
const commands = await import("./settings-
|
|
222
|
+
const commands = await import("./settings-V7BM42KQ.mjs");
|
|
216
223
|
return (p) => {
|
|
217
224
|
commands.registerSettingsCommands(p);
|
|
218
225
|
commands.registerNotificationCommands(p);
|
|
@@ -221,51 +228,51 @@ var COMMAND_GROUPS = [
|
|
|
221
228
|
},
|
|
222
229
|
{
|
|
223
230
|
names: ["billing"],
|
|
224
|
-
load: async () => (await import("./billing-
|
|
231
|
+
load: async () => (await import("./billing-6C5AI42X.mjs")).registerBillingCommands
|
|
225
232
|
},
|
|
226
233
|
{
|
|
227
234
|
names: ["monitors"],
|
|
228
|
-
load: async () => (await import("./monitors-
|
|
235
|
+
load: async () => (await import("./monitors-2PYPRWT4.mjs")).registerMonitorsCommands
|
|
229
236
|
},
|
|
230
237
|
{
|
|
231
238
|
names: ["org"],
|
|
232
|
-
load: async () => (await import("./org-
|
|
239
|
+
load: async () => (await import("./org-WAW3OL7B.mjs")).registerOrgCommands
|
|
233
240
|
},
|
|
234
241
|
{
|
|
235
242
|
names: ["git", "projects", "deployments"],
|
|
236
|
-
load: async () => (await import("./git-
|
|
243
|
+
load: async () => (await import("./git-3EPA7433.mjs")).registerGitCommands
|
|
237
244
|
},
|
|
238
245
|
{
|
|
239
246
|
names: ["csv"],
|
|
240
|
-
load: async () => (await import("./csv-
|
|
247
|
+
load: async () => (await import("./csv-CNK6ZF3T.mjs")).registerCsvCommands
|
|
241
248
|
},
|
|
242
249
|
{
|
|
243
250
|
names: ["db"],
|
|
244
|
-
load: async () => (await import("./db-
|
|
251
|
+
load: async () => (await import("./db-AVO6QJU6.mjs")).registerDbCommands
|
|
245
252
|
},
|
|
246
253
|
{
|
|
247
254
|
names: ["feedback"],
|
|
248
|
-
load: async () => (await import("./feedback-
|
|
255
|
+
load: async () => (await import("./feedback-K6SJS4LG.mjs")).registerFeedbackCommands
|
|
249
256
|
},
|
|
250
257
|
{
|
|
251
258
|
names: ["enrich", "session", "backend"],
|
|
252
|
-
load: async () => (await import("./legacy-noops-
|
|
259
|
+
load: async () => (await import("./legacy-noops-66OPCJJD.mjs")).registerDeprecatedCommands
|
|
253
260
|
},
|
|
254
261
|
{
|
|
255
262
|
names: ["update"],
|
|
256
|
-
load: async () => (await import("./update-
|
|
263
|
+
load: async () => (await import("./update-CQDJJYU2.mjs")).registerUpdateCommand
|
|
257
264
|
},
|
|
258
265
|
{
|
|
259
266
|
names: ["skills", "skills-auto-sync"],
|
|
260
|
-
load: async () => (await import("./skills-
|
|
267
|
+
load: async () => (await import("./skills-EYWRSQQJ.mjs")).registerSkillsCommand
|
|
261
268
|
},
|
|
262
269
|
{
|
|
263
270
|
names: ["setup", "doctor"],
|
|
264
|
-
load: async () => (await import("./setup-
|
|
271
|
+
load: async () => (await import("./setup-VUBM2HMH.mjs")).registerSetupCommands
|
|
265
272
|
},
|
|
266
273
|
{
|
|
267
274
|
names: ["quickstart"],
|
|
268
|
-
load: async () => (await import("./quickstart-
|
|
275
|
+
load: async () => (await import("./quickstart-BX7XMJIQ.mjs")).registerQuickstartCommands
|
|
269
276
|
}
|
|
270
277
|
];
|
|
271
278
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -633,7 +640,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
633
640
|
});
|
|
634
641
|
let exitCode = 1;
|
|
635
642
|
try {
|
|
636
|
-
const { handlePlayRun } = await import("./play-
|
|
643
|
+
const { handlePlayRun } = await import("./play-654B2HQU.mjs");
|
|
637
644
|
exitCode = await handlePlayRun([
|
|
638
645
|
file,
|
|
639
646
|
"--input",
|
|
@@ -814,7 +821,7 @@ async function newerCliCommandHint(baseUrl, command) {
|
|
|
814
821
|
" If an agent skill told you to run this, the skill is newer than this CLI."
|
|
815
822
|
].join("\n");
|
|
816
823
|
}
|
|
817
|
-
async function runMain(ensureTransport, onAction) {
|
|
824
|
+
async function runMain(ensureTransport, onAction, suppressOutputReport) {
|
|
818
825
|
const mainStartedAt = Date.now();
|
|
819
826
|
installJsonStderrGuard();
|
|
820
827
|
let rootHelpStatus = "";
|
|
@@ -900,7 +907,9 @@ Exit codes:
|
|
|
900
907
|
if (actionCommand.name() !== "version") {
|
|
901
908
|
await ensureTransport();
|
|
902
909
|
}
|
|
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())
|
|
910
|
+
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(
|
|
911
|
+
compatibilityCommand
|
|
912
|
+
) && feedbackSendRestriction(actionCommand.optsWithGlobals().requested)) {
|
|
904
913
|
return;
|
|
905
914
|
}
|
|
906
915
|
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
@@ -1036,6 +1045,8 @@ Exit codes:
|
|
|
1036
1045
|
program,
|
|
1037
1046
|
process.argv.slice(2)
|
|
1038
1047
|
);
|
|
1048
|
+
const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
|
|
1049
|
+
if (carriesFeedback) suppressOutputReport();
|
|
1039
1050
|
const commandRegistrationStartedAt = isCliTraceEnabled() ? performance.now() : void 0;
|
|
1040
1051
|
await registerDeeplineCommandGroups(program, requestedCommand);
|
|
1041
1052
|
if (commandRegistrationStartedAt !== void 0) {
|
|
@@ -1095,7 +1106,7 @@ Examples:
|
|
|
1095
1106
|
return;
|
|
1096
1107
|
}
|
|
1097
1108
|
try {
|
|
1098
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1109
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-2XMJMDWG.mjs");
|
|
1099
1110
|
const baseUrl = resolveBaseUrlOnly();
|
|
1100
1111
|
const [{ status, data }, banner] = await Promise.all([
|
|
1101
1112
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1183,7 +1194,7 @@ Examples:
|
|
|
1183
1194
|
const helpArgs = process.argv.slice(2);
|
|
1184
1195
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1185
1196
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1186
|
-
const { authStatusLine } = await import("./auth-
|
|
1197
|
+
const { authStatusLine } = await import("./auth-2XMJMDWG.mjs");
|
|
1187
1198
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1188
1199
|
${await authStatusLine()}
|
|
1189
1200
|
`;
|
|
@@ -1194,11 +1205,13 @@ ${await authStatusLine()}
|
|
|
1194
1205
|
ms: Date.now() - mainStartedAt,
|
|
1195
1206
|
ok: true
|
|
1196
1207
|
});
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1208
|
+
if (!carriesFeedback) {
|
|
1209
|
+
await maybeReportSdkCliFailure({
|
|
1210
|
+
argv: process.argv.slice(2),
|
|
1211
|
+
startedAtMs: mainStartedAt,
|
|
1212
|
+
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1202
1215
|
} catch (error) {
|
|
1203
1216
|
commandFailed = true;
|
|
1204
1217
|
const commanderError = asCommanderError(error);
|
|
@@ -1280,12 +1293,14 @@ ${await authStatusLine()}
|
|
|
1280
1293
|
const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
|
|
1281
1294
|
const failureExitCode = explicitExitCode ?? resolveSdkCliFailureExitCode(error);
|
|
1282
1295
|
process.exitCode = failureExitCode;
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1296
|
+
if (!carriesFeedback) {
|
|
1297
|
+
await maybeReportSdkCliFailure({
|
|
1298
|
+
argv: process.argv.slice(2),
|
|
1299
|
+
startedAtMs: mainStartedAt,
|
|
1300
|
+
exitCode: failureExitCode,
|
|
1301
|
+
error
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1289
1304
|
} finally {
|
|
1290
1305
|
finishToolExecuteCommand();
|
|
1291
1306
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
@@ -1326,10 +1341,16 @@ async function main() {
|
|
|
1326
1341
|
let action = null;
|
|
1327
1342
|
let skipOutputReport = false;
|
|
1328
1343
|
try {
|
|
1329
|
-
await runMain(
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1344
|
+
await runMain(
|
|
1345
|
+
ensureTransport,
|
|
1346
|
+
(dispatched) => {
|
|
1347
|
+
action = dispatched;
|
|
1348
|
+
skipOutputReport ||= dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
|
|
1349
|
+
},
|
|
1350
|
+
() => {
|
|
1351
|
+
skipOutputReport = true;
|
|
1352
|
+
}
|
|
1353
|
+
);
|
|
1333
1354
|
const silentFailure = takeSilentJsonFailureMessage(process.exitCode);
|
|
1334
1355
|
if (silentFailure) {
|
|
1335
1356
|
printJson({
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkO37BQ2CGjs = require('./chunk-O37BQ2CG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
|
+
require('./chunk-KUDNPJ43.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
|
|
11
|
+
require('./chunk-GGQHOLH6.js');
|
|
12
|
+
require('./chunk-JIY25SUX.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-BHV7JKXQ.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
|
+
_chunkJYFLIQPEjs.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
|
+
_chunkJYFLIQPEjs.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
|
+
_chunkO37BQ2CGjs.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-VQ74WMKG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
|
+
import "./chunk-XREZY4FA.mjs";
|
|
7
8
|
import {
|
|
8
9
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-HLEZQDEZ.mjs";
|
|
11
|
+
import "./chunk-VEOFISLZ.mjs";
|
|
12
|
+
import "./chunk-JDDKJIZU.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-5WTLXL6O.mjs";
|
|
16
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
18
|
import "./chunk-KRD6H754.mjs";
|
|
18
19
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-EXMLR72R.mjs";
|
|
2
2
|
import {
|
|
3
3
|
DeeplineClient
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZFJ2U76O.mjs";
|
|
5
|
+
import "./chunk-XSBGWMI6.mjs";
|
|
6
6
|
import "./chunk-L2VKAASU.mjs";
|
|
7
7
|
import "./chunk-N4TR6QRI.mjs";
|
|
8
8
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
} from "./chunk-MI6ZP7XI.mjs";
|
|
18
18
|
import {
|
|
19
19
|
createCliProgress
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PCI4MMH7.mjs";
|
|
21
21
|
import {
|
|
22
22
|
errorToJsonPayload,
|
|
23
23
|
printCommandEnvelope,
|
|
24
24
|
printJson,
|
|
25
25
|
shouldEmitJson
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-HLEZQDEZ.mjs";
|
|
27
|
+
import "./chunk-VEOFISLZ.mjs";
|
|
28
|
+
import "./chunk-JDDKJIZU.mjs";
|
|
29
29
|
import {
|
|
30
30
|
AuthError
|
|
31
31
|
} from "./chunk-4QF2K7TM.mjs";
|
|
@@ -33,7 +33,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-5WTLXL6O.mjs";
|
|
37
37
|
import "./chunk-WZYKRD7T.mjs";
|
|
38
38
|
import "./chunk-KRD6H754.mjs";
|
|
39
39
|
|