deepline 0.3.492 → 0.3.493
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 +11 -5
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
- package/dist/cli/{auth-4I6QY5WX.mjs → auth-3NAY3AST.mjs} +5 -5
- package/dist/cli/auth-KYQLDI6V.js +43 -0
- package/dist/cli/{billing-2H4GOJZY.js → billing-FSB4BBBO.js} +80 -80
- package/dist/cli/{billing-4F6L4JSI.mjs → billing-SBWQCC7B.mjs} +7 -7
- package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-2BRTYIAH.mjs} +23 -9
- package/dist/cli/{chunk-E47VAVAR.js → chunk-2H4OFVR5.js} +5 -5
- package/dist/cli/{chunk-ZDTPSVGF.js → chunk-2I7VN65H.js} +10 -10
- package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-2IHGVAGT.mjs} +2 -2
- package/dist/cli/{chunk-BDUFZSUL.js → chunk-2NGIBJM2.js} +8 -8
- package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-3QGUWB6E.mjs} +4 -4
- package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-4IJFQV3O.mjs} +1 -1
- package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-4NIGNT7X.mjs} +1 -1
- package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-5DIZ2G74.mjs} +2 -2
- package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
- package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
- package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-67ZG7XZV.mjs} +3 -3
- package/dist/cli/{chunk-W4FEX5ZF.js → chunk-7HABWOMB.js} +261 -261
- package/dist/cli/{chunk-FPLN7PHP.js → chunk-AGTXL6LZ.js} +5 -5
- package/dist/cli/{chunk-SE23YSBK.js → chunk-AWMCZAUR.js} +3 -3
- package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
- package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
- package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
- package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-DYP27IWC.mjs} +99 -24
- package/dist/cli/{chunk-EANFUHRM.mjs → chunk-E5ILCMKQ.mjs} +1 -1
- package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-EBAS3UT2.mjs} +6 -6
- package/dist/cli/{chunk-DJOLMS2A.js → chunk-EFO5GVYS.js} +1 -1
- package/dist/cli/{chunk-NF7NUKWF.js → chunk-EYG336YV.js} +132 -57
- package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GSC35TPZ.mjs} +2 -2
- package/dist/cli/{chunk-MPITIXW4.mjs → chunk-HLM2UFQ5.mjs} +13 -5
- package/dist/cli/{chunk-TVUE4CPW.js → chunk-HTUSTPP4.js} +32 -32
- package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-IJJ6D5WL.mjs} +12 -12
- package/dist/cli/{chunk-3TISK5RQ.js → chunk-IJOHWGPF.js} +6 -6
- package/dist/cli/{chunk-NBL6JMIY.js → chunk-IOBPR2VO.js} +17 -17
- package/dist/cli/{chunk-EFFHRXKB.js → chunk-IOMEJKGK.js} +2 -2
- package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
- package/dist/cli/{chunk-B2JE3HD6.js → chunk-JO2JZUBR.js} +3 -3
- package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
- package/dist/cli/{chunk-O2FB42N2.js → chunk-KCDZWS2B.js} +56 -56
- package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
- package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-KKSKYZO4.mjs} +1 -1
- package/dist/cli/{chunk-OTDX4A4W.js → chunk-LGTZYI5B.js} +21 -21
- package/dist/cli/{chunk-JJAHWKJ2.js → chunk-MLEUOTEQ.js} +73 -59
- package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-NALJJTPS.mjs} +5 -5
- package/dist/cli/{chunk-HFEJ7JJT.js → chunk-NPNAEPY4.js} +26 -26
- package/dist/cli/{chunk-3IBKEOL4.js → chunk-NWIDPT7H.js} +4 -4
- package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
- package/dist/cli/{chunk-4RB74KJX.js → chunk-QTPS5RLG.js} +15 -15
- package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
- package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
- package/dist/cli/{chunk-RC366IJS.mjs → chunk-SXD2EYAH.mjs} +6 -6
- package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
- package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-TNQOR6XQ.mjs} +1 -1
- package/dist/cli/{chunk-OGNIB64W.js → chunk-UCMY2SO2.js} +23 -15
- package/dist/cli/{chunk-O65HDVA7.mjs → chunk-VFHIYWMC.mjs} +5 -5
- package/dist/cli/{chunk-JHBRJDUC.js → chunk-WCZFCOMZ.js} +7 -7
- package/dist/cli/{chunk-FFOJRD53.mjs → chunk-WTFI7BVH.mjs} +3 -3
- package/dist/cli/{chunk-42Z6VC2Q.js → chunk-XLE7KXE7.js} +2 -2
- package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-XQX476QK.js} +14 -14
- package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-Y3NN2UAF.mjs} +2 -2
- package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-ZQH4TXM2.mjs} +2 -2
- package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-ZVW7EWTC.mjs} +7 -7
- package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-ZVXB7OU7.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-JGJNDRSA.js → csv-DKYZE2KM.js} +13 -13
- package/dist/cli/{csv-VGXGV7YM.mjs → csv-XR22YQXT.mjs} +4 -4
- package/dist/cli/{db-OYG27ZBM.mjs → db-EOKG36YN.mjs} +7 -7
- package/dist/cli/{db-W52WJ6E5.js → db-RNYRTCMV.js} +28 -28
- package/dist/cli/describe-ICFXOQBW.mjs +50 -0
- package/dist/cli/describe-RS75I33X.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-EVE4KUGL.mjs → executions-3RAOACNS.mjs} +7 -7
- package/dist/cli/{executions-LAJHZGPY.js → executions-OBWPSWH7.js} +9 -9
- package/dist/cli/{feedback-75QB7KVG.mjs → feedback-6EQRVBKF.mjs} +4 -4
- package/dist/cli/{feedback-ZABCN7RT.js → feedback-6GPEUBLF.js} +8 -8
- package/dist/cli/getting-started.d.mts +12 -10
- package/dist/cli/getting-started.d.ts +12 -10
- package/dist/cli/getting-started.js +4 -2
- package/dist/cli/getting-started.mjs +3 -1
- package/dist/cli/{git-QIFEYQGY.mjs → git-CVQ24DTR.mjs} +5 -5
- package/dist/cli/git-DEFE4SSB.js +25 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
- package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-XPOATG5V.js} +8 -8
- package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-AFT5YJPZ.mjs} +49 -9
- package/dist/cli/{monitors-UKBOEGBS.js → monitors-OJ4CMREE.js} +169 -129
- package/dist/cli/{org-E7A6QLBW.js → org-RKT52CSL.js} +73 -73
- package/dist/cli/{org-JRUKUOUF.mjs → org-WHKNXANG.mjs} +7 -7
- package/dist/cli/{pages-K76HA473.mjs → pages-EEAQFGVD.mjs} +7 -7
- package/dist/cli/{pages-EUDFFLLD.js → pages-SOE3R667.js} +18 -18
- package/dist/cli/{play-DG2N66SV.mjs → play-LXFWHUBP.mjs} +147 -52
- package/dist/cli/{play-UWHNUJRA.js → play-OTJJ4E4T.js} +661 -566
- package/dist/cli/{providers-DZX6TTC6.js → providers-RU4HIAT3.js} +10 -10
- package/dist/cli/{providers-RUTTPUZD.mjs → providers-U3CPKTMM.mjs} +7 -7
- package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-75AO2AJC.mjs} +5 -5
- package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-N72IVA2Y.js} +13 -13
- package/dist/cli/{run-MOJWQYFQ.mjs → run-IGWFL6WH.mjs} +29 -28
- package/dist/cli/{run-5UNF4FHG.js → run-MMYES3IW.js} +44 -43
- package/dist/cli/search-EQURI7SZ.js +32 -0
- package/dist/cli/{search-5B3ZDU7H.mjs → search-FIYESBLZ.mjs} +8 -8
- package/dist/cli/{search-output-VQWJS3FN.js → search-output-2FXN4ZWD.js} +9 -6
- package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-3I5KSW36.mjs} +7 -4
- package/dist/cli/{secrets-S3PJMEAC.js → secrets-HCZQ6JNP.js} +16 -16
- package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-O7IUQ3VT.mjs} +7 -7
- package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-5AYTT4IW.js} +6 -6
- package/dist/cli/{sessions-5V3X24XI.mjs → sessions-KY7A3EZO.mjs} +5 -5
- package/dist/cli/{settings-3U6RRO5F.js → settings-P4VFYWJK.js} +80 -80
- package/dist/cli/{settings-LHZYY5PT.mjs → settings-WSMRR2GS.mjs} +13 -13
- package/dist/cli/{setup-MLLIGO2S.js → setup-J7CA3EJL.js} +57 -57
- package/dist/cli/{setup-AJLWXYAN.mjs → setup-YTVKVQC7.mjs} +13 -13
- package/dist/cli/skills-KKPEGLAR.js +36 -0
- package/dist/cli/{skills-5O2MUWKK.mjs → skills-W5WY764N.mjs} +10 -10
- package/dist/cli/tools-65Y4QTW6.js +57 -0
- package/dist/cli/{tools-PWNMI5CD.mjs → tools-YECI6N3N.mjs} +20 -20
- package/dist/cli/{update-SXT4QW7S.mjs → update-BIFBIEII.mjs} +10 -10
- package/dist/cli/update-WDG7VFOW.js +34 -0
- package/dist/cli/{workflow-3WTF5IYT.js → workflow-D2TUFFH6.js} +18 -18
- package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-XZVDNARC.mjs} +8 -8
- package/dist/{client-Cb1ej1Vr.d.ts → client-BDB_VbE4.d.ts} +1 -1
- package/dist/{client-vWpbLNCB.d.mts → client-CNzJ1LTF.d.mts} +1 -1
- package/dist/{client-core-CoBTvsXG.d.mts → client-core-CSv3DlPD.d.mts} +10 -3
- package/dist/{client-core-BmVs6SP0.d.ts → client-core-xEa9x3pl.d.ts} +10 -3
- 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 +115 -114
- 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 +2 -2
- package/dist/plays/run-request.mjs +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 +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-7BCLZU6K.js +0 -43
- package/dist/cli/describe-FIXCRO5N.mjs +0 -50
- package/dist/cli/describe-G3O6OUBG.js +0 -50
- package/dist/cli/git-QBAR46NW.js +0 -25
- package/dist/cli/search-3DAEJL6S.js +0 -32
- package/dist/cli/skills-BBLIML5M.js +0 -36
- package/dist/cli/tools-X5SQXUMM.js +0 -57
- package/dist/cli/update-AEJ2ZSZQ.js +0 -34
package/dist/cli/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
usesInlinePlayAdmission
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZQH4TXM2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
beginToolExecuteCommand,
|
|
7
7
|
compatibilityCatalog,
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
maybeAutoUpdateAndRelaunch,
|
|
11
11
|
runDeferredAutoUpdate,
|
|
12
12
|
runToolExecuteStage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NALJJTPS.mjs";
|
|
14
14
|
import {
|
|
15
15
|
isCliTraceEnabled,
|
|
16
16
|
parseCliMaintenancePolicy,
|
|
17
17
|
recordCliTrace,
|
|
18
18
|
resolveCliMaintenancePolicy,
|
|
19
19
|
traceCliSpan
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-ZVXB7OU7.mjs";
|
|
21
|
+
import "./chunk-EBAS3UT2.mjs";
|
|
22
|
+
import "./chunk-4IJFQV3O.mjs";
|
|
23
|
+
import "./chunk-DYP27IWC.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
26
26
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -38,15 +38,15 @@ import {
|
|
|
38
38
|
resolveSdkCliFailureExitCode,
|
|
39
39
|
sanitizeCommand,
|
|
40
40
|
syncSdkSkillsIfNeeded
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZVW7EWTC.mjs";
|
|
42
42
|
import {
|
|
43
43
|
createCliProgress
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E5ILCMKQ.mjs";
|
|
45
45
|
import {
|
|
46
46
|
commandDocKey,
|
|
47
47
|
helpDetailFromArgv,
|
|
48
48
|
renderCommandExplanation
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IRDYBMA7.mjs";
|
|
50
50
|
import {
|
|
51
51
|
addJsonNotice,
|
|
52
52
|
errorToJsonPayload,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
printJson,
|
|
60
60
|
shouldEmitJson,
|
|
61
61
|
takeSilentJsonFailureMessage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-VFHIYWMC.mjs";
|
|
63
63
|
import {
|
|
64
64
|
HttpClient,
|
|
65
65
|
autoDetectBaseUrl,
|
|
@@ -67,20 +67,20 @@ import {
|
|
|
67
67
|
resolveApiKeyForBaseUrl,
|
|
68
68
|
resolveBaseUrlOnly,
|
|
69
69
|
resolveConfig
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4NIGNT7X.mjs";
|
|
71
71
|
import {
|
|
72
72
|
SDK_VERSION,
|
|
73
73
|
agentSessionIdFromEnvironment,
|
|
74
74
|
connectionFailureMessage
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-TNQOR6XQ.mjs";
|
|
76
76
|
import {
|
|
77
77
|
AuthError
|
|
78
78
|
} from "./chunk-4QF2K7TM.mjs";
|
|
79
79
|
import "./chunk-DLIRSHV6.mjs";
|
|
80
80
|
import "./chunk-HBL4PM5Q.mjs";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
82
82
|
import "./chunk-WZYKRD7T.mjs";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-5JPKRDFC.mjs";
|
|
84
84
|
import "./chunk-KRD6H754.mjs";
|
|
85
85
|
|
|
86
86
|
// src/cli/command-invocation.ts
|
|
@@ -159,56 +159,56 @@ import { Command as Command2 } from "commander";
|
|
|
159
159
|
var COMMAND_GROUPS = [
|
|
160
160
|
{
|
|
161
161
|
names: ["auth"],
|
|
162
|
-
load: async () => (await import("./auth-
|
|
162
|
+
load: async () => (await import("./auth-3NAY3AST.mjs")).registerAuthCommands
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
names: ["providers"],
|
|
166
|
-
load: async () => (await import("./providers-
|
|
166
|
+
load: async () => (await import("./providers-U3CPKTMM.mjs")).registerProviderCommands
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
names: ["search"],
|
|
170
|
-
load: async () => (await import("./search-
|
|
170
|
+
load: async () => (await import("./search-FIYESBLZ.mjs")).registerSearchCommand
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
names: ["describe"],
|
|
174
|
-
load: async () => (await import("./describe-
|
|
174
|
+
load: async () => (await import("./describe-ICFXOQBW.mjs")).registerDescribeCommand
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
names: ["run"],
|
|
178
|
-
load: async () => (await import("./run-
|
|
178
|
+
load: async () => (await import("./run-IGWFL6WH.mjs")).registerRunCommand
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
names: ["tools"],
|
|
182
|
-
load: async () => (await import("./tools-
|
|
182
|
+
load: async () => (await import("./tools-YECI6N3N.mjs")).registerToolsCommands
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
names: ["executions"],
|
|
186
|
-
load: async () => (await import("./executions-
|
|
186
|
+
load: async () => (await import("./executions-3RAOACNS.mjs")).registerExecutionsCommands
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
names: ["plays", "runs"],
|
|
190
|
-
load: async () => (await import("./play-
|
|
190
|
+
load: async () => (await import("./play-LXFWHUBP.mjs")).registerPlayCommands
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
names: ["sessions"],
|
|
194
|
-
load: async () => (await import("./sessions-
|
|
194
|
+
load: async () => (await import("./sessions-KY7A3EZO.mjs")).registerSessionsCommands
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
names: ["workflows"],
|
|
198
|
-
load: async () => (await import("./workflow-
|
|
198
|
+
load: async () => (await import("./workflow-XZVDNARC.mjs")).registerWorkflowCommands
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
names: ["pages"],
|
|
202
|
-
load: async () => (await import("./pages-
|
|
202
|
+
load: async () => (await import("./pages-EEAQFGVD.mjs")).registerPagesCommands
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
names: ["secrets"],
|
|
206
|
-
load: async () => (await import("./secrets-
|
|
206
|
+
load: async () => (await import("./secrets-O7IUQ3VT.mjs")).registerSecretsCommands
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
names: ["settings", "notifications"],
|
|
210
210
|
load: async () => {
|
|
211
|
-
const commands = await import("./settings-
|
|
211
|
+
const commands = await import("./settings-WSMRR2GS.mjs");
|
|
212
212
|
return (p) => {
|
|
213
213
|
commands.registerSettingsCommands(p);
|
|
214
214
|
commands.registerNotificationCommands(p);
|
|
@@ -217,51 +217,51 @@ var COMMAND_GROUPS = [
|
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
names: ["billing"],
|
|
220
|
-
load: async () => (await import("./billing-
|
|
220
|
+
load: async () => (await import("./billing-SBWQCC7B.mjs")).registerBillingCommands
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
names: ["monitors"],
|
|
224
|
-
load: async () => (await import("./monitors-
|
|
224
|
+
load: async () => (await import("./monitors-AFT5YJPZ.mjs")).registerMonitorsCommands
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
names: ["org"],
|
|
228
|
-
load: async () => (await import("./org-
|
|
228
|
+
load: async () => (await import("./org-WHKNXANG.mjs")).registerOrgCommands
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
names: ["git", "projects", "deployments"],
|
|
232
|
-
load: async () => (await import("./git-
|
|
232
|
+
load: async () => (await import("./git-CVQ24DTR.mjs")).registerGitCommands
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
names: ["csv"],
|
|
236
|
-
load: async () => (await import("./csv-
|
|
236
|
+
load: async () => (await import("./csv-XR22YQXT.mjs")).registerCsvCommands
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
names: ["db"],
|
|
240
|
-
load: async () => (await import("./db-
|
|
240
|
+
load: async () => (await import("./db-EOKG36YN.mjs")).registerDbCommands
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
names: ["feedback"],
|
|
244
|
-
load: async () => (await import("./feedback-
|
|
244
|
+
load: async () => (await import("./feedback-6EQRVBKF.mjs")).registerFeedbackCommands
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
names: ["enrich", "session", "backend"],
|
|
248
|
-
load: async () => (await import("./legacy-noops-
|
|
248
|
+
load: async () => (await import("./legacy-noops-QULJZYNH.mjs")).registerDeprecatedCommands
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
names: ["update"],
|
|
252
|
-
load: async () => (await import("./update-
|
|
252
|
+
load: async () => (await import("./update-BIFBIEII.mjs")).registerUpdateCommand
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
names: ["skills", "skills-auto-sync"],
|
|
256
|
-
load: async () => (await import("./skills-
|
|
256
|
+
load: async () => (await import("./skills-W5WY764N.mjs")).registerSkillsCommand
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
names: ["setup", "doctor"],
|
|
260
|
-
load: async () => (await import("./setup-
|
|
260
|
+
load: async () => (await import("./setup-YTVKVQC7.mjs")).registerSetupCommands
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
names: ["quickstart"],
|
|
264
|
-
load: async () => (await import("./quickstart-
|
|
264
|
+
load: async () => (await import("./quickstart-75AO2AJC.mjs")).registerQuickstartCommands
|
|
265
265
|
}
|
|
266
266
|
];
|
|
267
267
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -633,7 +633,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
633
633
|
});
|
|
634
634
|
let exitCode = 1;
|
|
635
635
|
try {
|
|
636
|
-
const { handlePlayRun } = await import("./play-
|
|
636
|
+
const { handlePlayRun } = await import("./play-LXFWHUBP.mjs");
|
|
637
637
|
exitCode = await handlePlayRun([
|
|
638
638
|
file,
|
|
639
639
|
"--input",
|
|
@@ -839,7 +839,7 @@ async function runMain(ensureTransport, onAction) {
|
|
|
839
839
|
"configured"
|
|
840
840
|
).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
841
841
|
"beforeAll",
|
|
842
|
-
"for agents: ensure you are using the /deepline-gtm skill\n"
|
|
842
|
+
"for agents: ensure you are using the /deepline-gtm skill; read it with: deepline skills show; all skills: deepline skills list\n"
|
|
843
843
|
).addHelpText("before", () => rootHelpStatus).addHelpText(
|
|
844
844
|
"after",
|
|
845
845
|
`
|
|
@@ -1095,7 +1095,7 @@ Examples:
|
|
|
1095
1095
|
return;
|
|
1096
1096
|
}
|
|
1097
1097
|
try {
|
|
1098
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1098
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-3NAY3AST.mjs");
|
|
1099
1099
|
const baseUrl = resolveBaseUrlOnly();
|
|
1100
1100
|
const [{ status, data }, banner] = await Promise.all([
|
|
1101
1101
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1183,7 +1183,7 @@ Examples:
|
|
|
1183
1183
|
const helpArgs = process.argv.slice(2);
|
|
1184
1184
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1185
1185
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1186
|
-
const { authStatusLine } = await import("./auth-
|
|
1186
|
+
const { authStatusLine } = await import("./auth-3NAY3AST.mjs");
|
|
1187
1187
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1188
1188
|
${await authStatusLine()}
|
|
1189
1189
|
`;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2IHGVAGT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-VFHIYWMC.mjs";
|
|
10
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
11
|
+
import "./chunk-TNQOR6XQ.mjs";
|
|
12
12
|
import "./chunk-4QF2K7TM.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-HBL4PM5Q.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2NGIBJM2js = require('./chunk-2NGIBJM2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
|
|
10
|
+
require('./chunk-JO2JZUBR.js');
|
|
11
|
+
require('./chunk-NWIDPT7H.js');
|
|
12
12
|
require('./chunk-ALJJRZNJ.js');
|
|
13
13
|
require('./chunk-XNYIZMNQ.js');
|
|
14
14
|
require('./chunk-DIAWYWT5.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-EFO5GVYS.js');
|
|
16
16
|
require('./chunk-OG64RBAC.js');
|
|
17
17
|
require('./chunk-COGTRVWW.js');
|
|
18
18
|
|
|
@@ -53,7 +53,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
function printDeprecatedCommand(input) {
|
|
56
|
-
|
|
56
|
+
_chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
57
57
|
json: input.options.json
|
|
58
58
|
});
|
|
59
59
|
process.exitCode = 2;
|
|
@@ -73,7 +73,7 @@ function registerDeprecatedCommands(program) {
|
|
|
73
73
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
74
74
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
75
75
|
`).action((_args, options) => {
|
|
76
|
-
|
|
76
|
+
_chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
|
|
77
77
|
{
|
|
78
78
|
ok: false,
|
|
79
79
|
command: "deepline enrich",
|
|
@@ -116,7 +116,7 @@ Examples:
|
|
|
116
116
|
options
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
|
-
|
|
119
|
+
_chunk2NGIBJM2js.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
120
120
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
121
121
|
addDeprecatedSubcommand(
|
|
122
122
|
session,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-EXMLR72R.mjs";
|
|
2
2
|
import {
|
|
3
3
|
DeeplineClient
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GSC35TPZ.mjs";
|
|
5
|
+
import "./chunk-WTFI7BVH.mjs";
|
|
6
6
|
import "./chunk-L2VKAASU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DVQHG6AM.mjs";
|
|
8
8
|
import "./chunk-S3A4IXBQ.mjs";
|
|
9
9
|
import "./chunk-UBKA33KY.mjs";
|
|
10
10
|
import {
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
} from "./chunk-MI6ZP7XI.mjs";
|
|
18
18
|
import {
|
|
19
19
|
createCliProgress
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E5ILCMKQ.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-VFHIYWMC.mjs";
|
|
27
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
28
|
+
import "./chunk-TNQOR6XQ.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-KKSKYZO4.mjs";
|
|
37
37
|
import "./chunk-WZYKRD7T.mjs";
|
|
38
38
|
import "./chunk-KRD6H754.mjs";
|
|
39
39
|
|
|
@@ -1488,6 +1488,23 @@ Next: ${error.next}
|
|
|
1488
1488
|
);
|
|
1489
1489
|
process.exitCode = monitorsErrorExitCode(error);
|
|
1490
1490
|
}
|
|
1491
|
+
function fleetBillingSuspendedError(fleetId, payload, options) {
|
|
1492
|
+
const reason = asString(asRecord(payload.billing_suspension)?.reason);
|
|
1493
|
+
const suspended = `Fleet ${fleetId} is suspended for billing${reason ? ` (${reason})` : ""}: its monitors are stopped`;
|
|
1494
|
+
if (options?.deactivating) {
|
|
1495
|
+
const deactivateCommand = `deepline monitors fleets deactivate ${fleetShellArg(fleetId)} --yes --wait`;
|
|
1496
|
+
return new MonitorFleetStateError({
|
|
1497
|
+
code: "MONITOR_FLEET_BILLING_SUSPENDED",
|
|
1498
|
+
message: `${suspended}, but it is not deactivated. To finish, run: ${deactivateCommand}`,
|
|
1499
|
+
next: fleetServerNext(payload) ?? deactivateCommand
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
return new MonitorFleetStateError({
|
|
1503
|
+
code: "MONITOR_FLEET_BILLING_SUSPENDED",
|
|
1504
|
+
message: `${suspended}, and waiting will not restart them. Once the workspace can pay again, run: deepline monitors fleets reactivate ${fleetShellArg(fleetId)} --yes --wait`,
|
|
1505
|
+
next: fleetServerNext(payload) ?? "deepline billing balance"
|
|
1506
|
+
});
|
|
1507
|
+
}
|
|
1491
1508
|
function fleetSourceTable(value) {
|
|
1492
1509
|
const [schema, table, extra] = value?.trim().split(".") ?? [];
|
|
1493
1510
|
if (!schema || !table || extra || !/^[A-Za-z_][A-Za-z0-9_]*$/.test(schema) || !/^[A-Za-z_][A-Za-z0-9_]*$/.test(table)) {
|
|
@@ -1700,6 +1717,13 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
|
|
|
1700
1717
|
printCommandEnvelope(envelope, { json: options.json, text: summary });
|
|
1701
1718
|
return;
|
|
1702
1719
|
}
|
|
1720
|
+
if (status === "billing_suspended") {
|
|
1721
|
+
reportFleetState(envelope, fleetBillingSuspendedError(fleetId, final), {
|
|
1722
|
+
json: options.json,
|
|
1723
|
+
text: summary
|
|
1724
|
+
});
|
|
1725
|
+
return;
|
|
1726
|
+
}
|
|
1703
1727
|
const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
|
|
1704
1728
|
if (status === "degraded") {
|
|
1705
1729
|
reportFleetState(
|
|
@@ -1816,6 +1840,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
|
|
|
1816
1840
|
printCommandEnvelope(envelope, { json: options.json, text });
|
|
1817
1841
|
return;
|
|
1818
1842
|
}
|
|
1843
|
+
if (fleetStatus(final) === "billing_suspended") {
|
|
1844
|
+
reportFleetState(envelope, fleetBillingSuspendedError(fleetId, final), {
|
|
1845
|
+
json: options.json,
|
|
1846
|
+
text
|
|
1847
|
+
});
|
|
1848
|
+
return;
|
|
1849
|
+
}
|
|
1819
1850
|
reportFleetState(
|
|
1820
1851
|
envelope,
|
|
1821
1852
|
new MonitorFleetStateError({
|
|
@@ -1940,6 +1971,14 @@ Preview the blast radius first:
|
|
|
1940
1971
|
printCommandEnvelope(envelope, { json: options.json, text: summary });
|
|
1941
1972
|
return;
|
|
1942
1973
|
}
|
|
1974
|
+
if (fleetStatus(final) === "billing_suspended") {
|
|
1975
|
+
reportFleetState(
|
|
1976
|
+
envelope,
|
|
1977
|
+
fleetBillingSuspendedError(fleetId, final, { deactivating: true }),
|
|
1978
|
+
{ json: options.json, text: summary }
|
|
1979
|
+
);
|
|
1980
|
+
return;
|
|
1981
|
+
}
|
|
1943
1982
|
reportFleetState(
|
|
1944
1983
|
envelope,
|
|
1945
1984
|
new MonitorFleetStateError({
|
|
@@ -3235,7 +3274,8 @@ Notes:
|
|
|
3235
3274
|
never becomes a request. A bare <fleet-id> re-plans the stored definition.
|
|
3236
3275
|
The plan always shows blocked members; they are never hidden.
|
|
3237
3276
|
--wait polls until Deepline reports a terminal status: converged exits 0,
|
|
3238
|
-
degraded exits 6, and a timeout exits 6
|
|
3277
|
+
degraded or billing_suspended exits 6 at once, and a timeout exits 6
|
|
3278
|
+
without implying anything broke.
|
|
3239
3279
|
Progress goes to stderr, so stdout stays exactly one JSON object.
|
|
3240
3280
|
|
|
3241
3281
|
Examples:
|