deepline 0.3.483 → 0.3.485
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 +91 -30
- package/dist/bundling-sources/sdk/src/compat.ts +13 -0
- package/dist/bundling-sources/sdk/src/plays/client-core.ts +4 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +143 -9
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +31 -4
- package/dist/bundling-sources/sdk/src/tool-calls.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +7 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +100 -9
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +32 -3
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +126 -41
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +231 -25
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-runtime-config.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +130 -19
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +105 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +4 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +194 -56
- package/dist/bundling-sources/shared_libs/play-runtime/log-provenance.ts +11 -6
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/ports.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/postgres-adapter.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +195 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-contract.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +102 -23
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/progress-sidecar.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-control-transport.ts +25 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +133 -82
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +58 -16
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-sandbox-absence.ts +171 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +69 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +100 -40
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +67 -9
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +5 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +6 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-errors.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-writer.ts +87 -31
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +204 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +39 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/ambiguous-modal-create-state.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/compute-billing-job-state.ts +23 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement-state.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/outbox-repair-operation-state.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +44 -15
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +60 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +743 -70
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +34 -34
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/sandbox-cleanup-job-state.ts +23 -0
- package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +21 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/source-authoring-edition.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/destination-state.ts +93 -0
- package/dist/cli/auth-ABZBH55L.js +43 -0
- package/dist/cli/{auth-2NXF6Q3Q.mjs → auth-OWMUENCU.mjs} +5 -5
- package/dist/cli/{billing-5PW4L5WD.js → billing-2FMNQGOX.js} +80 -80
- package/dist/cli/{billing-W2Y4EOZP.mjs → billing-JX4H3VFF.mjs} +7 -7
- package/dist/cli/{chunk-UGBZ6MCR.js → chunk-2ILND7XX.js} +2 -2
- package/dist/cli/{chunk-25IGCYJP.mjs → chunk-2ZEQ43B7.mjs} +3 -3
- package/dist/cli/{chunk-J7S3DJB4.mjs → chunk-3DBW6C7M.mjs} +13 -4
- package/dist/cli/{chunk-7APXZ3CX.mjs → chunk-3DYU3JQN.mjs} +2 -2
- package/dist/cli/{chunk-VFEW53L5.js → chunk-3OF7NSGR.js} +322 -294
- package/dist/cli/{chunk-UDF2CY4D.mjs → chunk-3Z24NKW7.mjs} +62 -34
- package/dist/cli/{chunk-62XGOB2D.js → chunk-5DCQWQCP.js} +26 -26
- package/dist/cli/{chunk-4X23YY2E.mjs → chunk-62PJ6PK7.mjs} +5 -5
- package/dist/cli/{chunk-YL64JIQ7.mjs → chunk-676NZ7K4.mjs} +1 -1
- package/dist/cli/{chunk-T5GZZJ7O.js → chunk-775AZTO7.js} +323 -247
- package/dist/cli/{chunk-C3LJSOQ6.mjs → chunk-ACTUAZYP.mjs} +5 -5
- package/dist/cli/{chunk-R2OR4RHV.js → chunk-AFADYKFE.js} +8 -8
- package/dist/cli/{chunk-GVAENVIG.js → chunk-AUQQVDAB.js} +110 -21
- package/dist/cli/{chunk-GONUMUBM.js → chunk-BSKPQB2P.js} +7 -7
- package/dist/cli/chunk-C6QWRSMQ.js +42 -0
- package/dist/cli/{chunk-AK7UKQ5R.js → chunk-CSBMKHTV.js} +5 -5
- package/dist/cli/{chunk-PRL7EKJZ.mjs → chunk-CW6TAQBF.mjs} +15 -4
- package/dist/cli/{chunk-75IIHFN6.js → chunk-DMNVM34J.js} +5 -4
- package/dist/cli/{chunk-IEV5UWPN.mjs → chunk-E73JXJA3.mjs} +1 -1
- package/dist/cli/{chunk-DS455RPF.js → chunk-EC2CVPN5.js} +3 -3
- package/dist/cli/{chunk-B7HQL77V.js → chunk-ECIXZNSW.js} +87 -76
- package/dist/cli/{chunk-JJSLEMQQ.mjs → chunk-FJY6K3BG.mjs} +93 -17
- package/dist/cli/{chunk-FK47YUPC.mjs → chunk-G5PI3RNT.mjs} +1 -1
- package/dist/cli/{chunk-GRE3ID5E.mjs → chunk-GHHJWCMD.mjs} +2 -1
- package/dist/cli/{chunk-2JWG2H2N.js → chunk-HKGXGGIV.js} +1 -1
- package/dist/cli/{chunk-2MKX3HV3.js → chunk-IHMYIHF4.js} +5 -5
- package/dist/cli/{chunk-SD7QWZTV.mjs → chunk-INW22YP7.mjs} +1 -1
- package/dist/cli/{chunk-OWUZKXE7.mjs → chunk-J7EENGKJ.mjs} +1 -1
- package/dist/cli/{chunk-AWAFYRFV.mjs → chunk-JD6HKNKD.mjs} +1 -1
- package/dist/cli/{chunk-UY7OXFVU.js → chunk-JQXUWYWX.js} +13 -13
- package/dist/cli/{chunk-GGJQ4HJW.mjs → chunk-KZTNNLIL.mjs} +2 -2
- package/dist/cli/{chunk-NREZRYPU.mjs → chunk-L352NOE3.mjs} +2 -2
- package/dist/cli/{chunk-WI2HNYQX.js → chunk-L7IQ3DFH.js} +53 -53
- package/dist/cli/{chunk-4IOY2SCQ.js → chunk-LOX3BISD.js} +4 -4
- package/dist/cli/{chunk-XRIQN6EP.js → chunk-NKPTM7SK.js} +7 -7
- package/dist/cli/{chunk-5ICAG4RE.js → chunk-NLRTFJGH.js} +14 -14
- package/dist/cli/{chunk-WKB6Y43W.js → chunk-NRNWPWBW.js} +37 -37
- package/dist/cli/{chunk-HNRELVCS.mjs → chunk-ONONSV2Q.mjs} +96 -7
- package/dist/cli/{chunk-MYB6JVSD.js → chunk-OW4OTEFF.js} +16 -16
- package/dist/cli/{chunk-ISP7ZENV.mjs → chunk-RZE5I2XJ.mjs} +4 -4
- package/dist/cli/{chunk-5LHU7NUS.js → chunk-S3WQJ5VG.js} +3 -3
- package/dist/cli/{chunk-EDMCD7MX.mjs → chunk-SR6S4EYG.mjs} +5 -5
- package/dist/cli/{chunk-2T4OSJEH.js → chunk-T4G2T5DS.js} +21 -21
- package/dist/cli/{chunk-EGHYGTJM.mjs → chunk-TMCC7ORQ.mjs} +1 -1
- package/dist/cli/{chunk-SCPFOH5Z.mjs → chunk-TSCUWWTM.mjs} +1 -1
- package/dist/cli/{chunk-7TKLISLM.js → chunk-TVW6USSG.js} +3 -3
- package/dist/cli/{chunk-QSYA6VE4.js → chunk-U6WEGDD3.js} +2 -2
- package/dist/cli/{chunk-FGEC5SWP.mjs → chunk-UPHXGZCE.mjs} +4 -4
- package/dist/cli/{chunk-5JCXS4MP.js → chunk-UQ3LQ6IF.js} +5 -5
- package/dist/cli/{chunk-JYEZ6BWX.mjs → chunk-VZYTLWOM.mjs} +2 -2
- package/dist/cli/{chunk-FAZTLYJO.mjs → chunk-W33OL4F2.mjs} +2 -2
- package/dist/cli/{chunk-ZM2YPJQJ.js → chunk-XK5DMLZE.js} +5 -1
- package/dist/cli/{chunk-LJ5747UC.mjs → chunk-XRDXNAAY.mjs} +5 -1
- package/dist/cli/{chunk-S24CK3CJ.mjs → chunk-YDA3PMKK.mjs} +3 -3
- package/dist/cli/{csv-EKEFLUIW.js → csv-HFEQPGNY.js} +13 -13
- package/dist/cli/{csv-DIFVIR23.mjs → csv-OHF3Y5KB.mjs} +4 -4
- package/dist/cli/{db-DOW4EVEU.mjs → db-M456OUXD.mjs} +7 -7
- package/dist/cli/{db-S7DDRUHX.js → db-VLQKCYQS.js} +28 -28
- package/dist/cli/describe-CP35DZ5Z.js +49 -0
- package/dist/cli/{describe-KSZFOWKV.mjs → describe-M6VXFYVL.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-CAG7YC5K.mjs → executions-4FGRBPJF.mjs} +7 -7
- package/dist/cli/{executions-3DU5IXB6.js → executions-GKINJZI6.js} +9 -9
- package/dist/cli/{feedback-BQMPTE47.mjs → feedback-D2WMGK3V.mjs} +4 -4
- package/dist/cli/{feedback-I65JMCP2.js → feedback-ZH5K7WV7.js} +8 -8
- package/dist/cli/git-IDALMZDN.js +25 -0
- package/dist/cli/{git-UQUCD7XZ.mjs → git-OCIJ5ME4.mjs} +5 -5
- package/dist/cli/index.js +142 -139
- package/dist/cli/index.mjs +45 -42
- package/dist/cli/{legacy-noops-OLNT2BG5.js → legacy-noops-QNIVP7LO.js} +8 -8
- package/dist/cli/{legacy-noops-JXKLHUI3.mjs → legacy-noops-V6Q2X34P.mjs} +5 -5
- package/dist/cli/{monitors-DLTHHAFQ.mjs → monitors-2USHTG5G.mjs} +8 -8
- package/dist/cli/{monitors-Z5X56AZN.js → monitors-5DNK7W2K.js} +92 -92
- package/dist/cli/{org-XBHJLKUG.js → org-RPGM5AN4.js} +73 -73
- package/dist/cli/{org-6EZZHD3M.mjs → org-TL2YPYSE.mjs} +7 -7
- package/dist/cli/{pages-XVJ34SCN.js → pages-PNUKPFWV.js} +18 -18
- package/dist/cli/{pages-MYXROSVK.mjs → pages-XDEW6EE3.mjs} +7 -7
- package/dist/cli/{play-ACC4T2XQ.js → play-F5LHRKV5.js} +858 -632
- package/dist/cli/{play-5PV4LAHE.mjs → play-WINNQ4HZ.mjs} +372 -146
- package/dist/cli/{providers-JCI3KNE4.js → providers-BD4IS5U5.js} +10 -10
- package/dist/cli/{providers-2DLUGIFF.mjs → providers-PXGL3FRE.mjs} +7 -7
- package/dist/cli/{quickstart-PDSQEDLD.js → quickstart-7LVF6HZF.js} +6 -6
- package/dist/cli/{quickstart-NSL3C76K.mjs → quickstart-XTH3UQWZ.mjs} +4 -4
- package/dist/cli/{run-X5MXCM4P.mjs → run-MBMUENR7.mjs} +26 -26
- package/dist/cli/{run-UCFMHOQC.js → run-NH2BAWPA.js} +41 -41
- package/dist/cli/{search-RPEMXV6N.mjs → search-BMRWBV66.mjs} +8 -8
- package/dist/cli/search-R3MQJQMT.js +32 -0
- package/dist/cli/{search-output-MZH3HLVE.js → search-output-5NNT337U.js} +22 -16
- package/dist/cli/{search-output-6UO47B7G.mjs → search-output-QKKRD4MF.mjs} +14 -8
- package/dist/cli/{secrets-NLEQURD3.mjs → secrets-AWEXBTJV.mjs} +7 -7
- package/dist/cli/{secrets-UFBASYGY.js → secrets-KQSTOREN.js} +16 -16
- package/dist/cli/{sessions-JYH4DBEE.js → sessions-DSPLZYCJ.js} +6 -6
- package/dist/cli/{sessions-3ALFLWVU.mjs → sessions-RO25Q67X.mjs} +5 -5
- package/dist/cli/{settings-MQYKNAMB.js → settings-7JXIKNKI.js} +79 -79
- package/dist/cli/{settings-YPRILREA.mjs → settings-JMGXGK4Z.mjs} +12 -12
- package/dist/cli/{setup-5IGSHH4E.js → setup-5QFAQQRW.js} +47 -47
- package/dist/cli/{setup-DK4GM227.mjs → setup-ZQZ47FHB.mjs} +9 -9
- package/dist/cli/skills-EDZXY7DV.js +33 -0
- package/dist/cli/{skills-KYBZH3IT.mjs → skills-W3H2DL56.mjs} +7 -7
- package/dist/cli/{tools-4B2MHNBN.mjs → tools-2BZCVNBS.mjs} +19 -19
- package/dist/cli/tools-2EY2ETCZ.js +56 -0
- package/dist/cli/{update-S6VEO7NB.mjs → update-GAWYMGAW.mjs} +9 -9
- package/dist/cli/update-UKDQKNBY.js +33 -0
- package/dist/cli/{workflow-KXZZYFEF.mjs → workflow-M6LLHQ2I.mjs} +8 -8
- package/dist/cli/{workflow-FU2XVPUK.js → workflow-ZPTDFPKW.js} +18 -18
- package/dist/{client-DJ3r8VQJ.d.mts → client-BkbDHRIg.d.mts} +1 -1
- package/dist/{client-JPSNljtj.d.ts → client-D3hVHXjK.d.ts} +1 -1
- package/dist/{client-core-3SJlNsKU.d.mts → client-core-BZoSMKcY.d.mts} +30 -15
- package/dist/{client-core-rCoQ5Xz3.d.ts → client-core-DUdVqO_m.d.ts} +30 -15
- package/dist/{compiler-manifest-gkO9ZkVg.d.mts → compiler-manifest-BFTwq1HI.d.mts} +1 -1
- package/dist/{compiler-manifest-gkO9ZkVg.d.ts → compiler-manifest-BFTwq1HI.d.ts} +1 -1
- package/dist/{errors-Cc92LKH-.d.ts → errors-c3pMsylw.d.ts} +1 -1
- package/dist/{errors-CeCCOKSA.d.mts → errors-w31ybrQM.d.mts} +1 -1
- package/dist/{index-DJQKdV76.d.ts → index-CQ-15-QL.d.ts} +1 -1
- package/dist/{index-DsqWJL3Q.d.mts → index-DvNtxucX.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +123 -116
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +12 -2
- package/dist/plays/run-request.mjs +11 -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 +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-JHQKM6QY.js +0 -43
- package/dist/cli/chunk-PHDEQ6W3.js +0 -33
- package/dist/cli/describe-RXYQCJRR.js +0 -49
- package/dist/cli/git-ADIABNMQ.js +0 -25
- package/dist/cli/search-YILJZD36.js +0 -32
- package/dist/cli/skills-I4IUZN3U.js +0 -33
- package/dist/cli/tools-NLZR7ABS.js +0 -56
- package/dist/cli/update-RVDEUJTE.js +0 -33
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-3DBW6C7M.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-62PJ6PK7.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-676NZ7K4.mjs";
|
|
21
|
+
import "./chunk-SR6S4EYG.mjs";
|
|
22
|
+
import "./chunk-E73JXJA3.mjs";
|
|
23
|
+
import "./chunk-UPHXGZCE.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
26
26
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
resolveSdkCliFailureExitCode,
|
|
39
39
|
sanitizeCommand,
|
|
40
40
|
syncSdkSkillsIfNeeded
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CW6TAQBF.mjs";
|
|
42
42
|
import {
|
|
43
43
|
createCliProgress
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TMCC7ORQ.mjs";
|
|
45
45
|
import {
|
|
46
46
|
commandDocKey,
|
|
47
47
|
helpDetailFromArgv,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
printJson,
|
|
60
60
|
shouldEmitJson,
|
|
61
61
|
takeSilentJsonFailureMessage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-L352NOE3.mjs";
|
|
63
63
|
import {
|
|
64
64
|
HttpClient,
|
|
65
65
|
autoDetectBaseUrl,
|
|
@@ -67,18 +67,18 @@ import {
|
|
|
67
67
|
resolveApiKeyForBaseUrl,
|
|
68
68
|
resolveBaseUrlOnly,
|
|
69
69
|
resolveConfig
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-G5PI3RNT.mjs";
|
|
71
71
|
import {
|
|
72
72
|
SDK_VERSION,
|
|
73
73
|
agentSessionIdFromEnvironment,
|
|
74
74
|
connectionFailureMessage
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-GHHJWCMD.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-TSCUWWTM.mjs";
|
|
82
82
|
import "./chunk-WZYKRD7T.mjs";
|
|
83
83
|
import "./chunk-KRD6H754.mjs";
|
|
84
84
|
|
|
@@ -158,56 +158,56 @@ import { Command as Command2 } from "commander";
|
|
|
158
158
|
var COMMAND_GROUPS = [
|
|
159
159
|
{
|
|
160
160
|
names: ["auth"],
|
|
161
|
-
load: async () => (await import("./auth-
|
|
161
|
+
load: async () => (await import("./auth-OWMUENCU.mjs")).registerAuthCommands
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
names: ["providers"],
|
|
165
|
-
load: async () => (await import("./providers-
|
|
165
|
+
load: async () => (await import("./providers-PXGL3FRE.mjs")).registerProviderCommands
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
names: ["search"],
|
|
169
|
-
load: async () => (await import("./search-
|
|
169
|
+
load: async () => (await import("./search-BMRWBV66.mjs")).registerSearchCommand
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
names: ["describe"],
|
|
173
|
-
load: async () => (await import("./describe-
|
|
173
|
+
load: async () => (await import("./describe-M6VXFYVL.mjs")).registerDescribeCommand
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
names: ["run"],
|
|
177
|
-
load: async () => (await import("./run-
|
|
177
|
+
load: async () => (await import("./run-MBMUENR7.mjs")).registerRunCommand
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
names: ["tools"],
|
|
181
|
-
load: async () => (await import("./tools-
|
|
181
|
+
load: async () => (await import("./tools-2BZCVNBS.mjs")).registerToolsCommands
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
names: ["executions"],
|
|
185
|
-
load: async () => (await import("./executions-
|
|
185
|
+
load: async () => (await import("./executions-4FGRBPJF.mjs")).registerExecutionsCommands
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
names: ["plays", "runs"],
|
|
189
|
-
load: async () => (await import("./play-
|
|
189
|
+
load: async () => (await import("./play-WINNQ4HZ.mjs")).registerPlayCommands
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
names: ["sessions"],
|
|
193
|
-
load: async () => (await import("./sessions-
|
|
193
|
+
load: async () => (await import("./sessions-RO25Q67X.mjs")).registerSessionsCommands
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
names: ["workflows"],
|
|
197
|
-
load: async () => (await import("./workflow-
|
|
197
|
+
load: async () => (await import("./workflow-M6LLHQ2I.mjs")).registerWorkflowCommands
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
names: ["pages"],
|
|
201
|
-
load: async () => (await import("./pages-
|
|
201
|
+
load: async () => (await import("./pages-XDEW6EE3.mjs")).registerPagesCommands
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
names: ["secrets"],
|
|
205
|
-
load: async () => (await import("./secrets-
|
|
205
|
+
load: async () => (await import("./secrets-AWEXBTJV.mjs")).registerSecretsCommands
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
names: ["settings", "notifications"],
|
|
209
209
|
load: async () => {
|
|
210
|
-
const commands = await import("./settings-
|
|
210
|
+
const commands = await import("./settings-JMGXGK4Z.mjs");
|
|
211
211
|
return (p) => {
|
|
212
212
|
commands.registerSettingsCommands(p);
|
|
213
213
|
commands.registerNotificationCommands(p);
|
|
@@ -216,51 +216,51 @@ var COMMAND_GROUPS = [
|
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
names: ["billing"],
|
|
219
|
-
load: async () => (await import("./billing-
|
|
219
|
+
load: async () => (await import("./billing-JX4H3VFF.mjs")).registerBillingCommands
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
names: ["monitors"],
|
|
223
|
-
load: async () => (await import("./monitors-
|
|
223
|
+
load: async () => (await import("./monitors-2USHTG5G.mjs")).registerMonitorsCommands
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
names: ["org"],
|
|
227
|
-
load: async () => (await import("./org-
|
|
227
|
+
load: async () => (await import("./org-TL2YPYSE.mjs")).registerOrgCommands
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
names: ["git", "projects", "deployments"],
|
|
231
|
-
load: async () => (await import("./git-
|
|
231
|
+
load: async () => (await import("./git-OCIJ5ME4.mjs")).registerGitCommands
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
names: ["csv"],
|
|
235
|
-
load: async () => (await import("./csv-
|
|
235
|
+
load: async () => (await import("./csv-OHF3Y5KB.mjs")).registerCsvCommands
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
names: ["db"],
|
|
239
|
-
load: async () => (await import("./db-
|
|
239
|
+
load: async () => (await import("./db-M456OUXD.mjs")).registerDbCommands
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
names: ["feedback"],
|
|
243
|
-
load: async () => (await import("./feedback-
|
|
243
|
+
load: async () => (await import("./feedback-D2WMGK3V.mjs")).registerFeedbackCommands
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
names: ["enrich", "session", "backend"],
|
|
247
|
-
load: async () => (await import("./legacy-noops-
|
|
247
|
+
load: async () => (await import("./legacy-noops-V6Q2X34P.mjs")).registerDeprecatedCommands
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
names: ["update"],
|
|
251
|
-
load: async () => (await import("./update-
|
|
251
|
+
load: async () => (await import("./update-GAWYMGAW.mjs")).registerUpdateCommand
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
names: ["skills", "skills-auto-sync"],
|
|
255
|
-
load: async () => (await import("./skills-
|
|
255
|
+
load: async () => (await import("./skills-W3H2DL56.mjs")).registerSkillsCommand
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
names: ["setup", "doctor"],
|
|
259
|
-
load: async () => (await import("./setup-
|
|
259
|
+
load: async () => (await import("./setup-ZQZ47FHB.mjs")).registerSetupCommands
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
names: ["quickstart"],
|
|
263
|
-
load: async () => (await import("./quickstart-
|
|
263
|
+
load: async () => (await import("./quickstart-XTH3UQWZ.mjs")).registerQuickstartCommands
|
|
264
264
|
}
|
|
265
265
|
];
|
|
266
266
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -632,7 +632,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
632
632
|
});
|
|
633
633
|
let exitCode = 1;
|
|
634
634
|
try {
|
|
635
|
-
const { handlePlayRun } = await import("./play-
|
|
635
|
+
const { handlePlayRun } = await import("./play-WINNQ4HZ.mjs");
|
|
636
636
|
exitCode = await handlePlayRun([
|
|
637
637
|
file,
|
|
638
638
|
"--input",
|
|
@@ -817,6 +817,7 @@ async function runMain(ensureTransport, onAction) {
|
|
|
817
817
|
const mainStartedAt = Date.now();
|
|
818
818
|
installJsonStderrGuard();
|
|
819
819
|
let rootHelpStatus = "";
|
|
820
|
+
let commandFailed = false;
|
|
820
821
|
const deferredMaintenance = { inlinePlay: null };
|
|
821
822
|
recordCliTrace({
|
|
822
823
|
phase: "cli.main_start",
|
|
@@ -919,7 +920,6 @@ Exit codes:
|
|
|
919
920
|
if (!playDryRun && usesInlinePlayAdmission(compatibilityCommand, process.argv.slice(2))) {
|
|
920
921
|
if (maintenance !== "off") {
|
|
921
922
|
const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
|
|
922
|
-
flushDeferredSkillsSyncNotices(baseUrl);
|
|
923
923
|
deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
|
|
924
924
|
baseUrl,
|
|
925
925
|
command: actionCommand,
|
|
@@ -1094,7 +1094,7 @@ Examples:
|
|
|
1094
1094
|
return;
|
|
1095
1095
|
}
|
|
1096
1096
|
try {
|
|
1097
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1097
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-OWMUENCU.mjs");
|
|
1098
1098
|
const baseUrl = resolveBaseUrlOnly();
|
|
1099
1099
|
const [{ status, data }, banner] = await Promise.all([
|
|
1100
1100
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1182,7 +1182,7 @@ Examples:
|
|
|
1182
1182
|
const helpArgs = process.argv.slice(2);
|
|
1183
1183
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1184
1184
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1185
|
-
const { authStatusLine } = await import("./auth-
|
|
1185
|
+
const { authStatusLine } = await import("./auth-OWMUENCU.mjs");
|
|
1186
1186
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1187
1187
|
${await authStatusLine()}
|
|
1188
1188
|
`;
|
|
@@ -1199,6 +1199,7 @@ ${await authStatusLine()}
|
|
|
1199
1199
|
exitCode: typeof process.exitCode === "number" ? process.exitCode : null
|
|
1200
1200
|
});
|
|
1201
1201
|
} catch (error) {
|
|
1202
|
+
commandFailed = true;
|
|
1202
1203
|
const commanderError = asCommanderError(error);
|
|
1203
1204
|
recordCliTrace({
|
|
1204
1205
|
phase: "cli.main_total",
|
|
@@ -1288,7 +1289,9 @@ ${await authStatusLine()}
|
|
|
1288
1289
|
finishToolExecuteCommand();
|
|
1289
1290
|
const maintainInlinePlay = deferredMaintenance.inlinePlay;
|
|
1290
1291
|
deferredMaintenance.inlinePlay = null;
|
|
1291
|
-
|
|
1292
|
+
if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
|
|
1293
|
+
await maintainInlinePlay?.();
|
|
1294
|
+
}
|
|
1292
1295
|
await runDeferredAutoUpdate();
|
|
1293
1296
|
}
|
|
1294
1297
|
process.exitCode = process.exitCode ?? 0;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAFADYKFEjs = require('./chunk-AFADYKFE.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 _chunkBSKPQB2Pjs = require('./chunk-BSKPQB2P.js');
|
|
10
|
+
require('./chunk-S3WQJ5VG.js');
|
|
11
|
+
require('./chunk-DMNVM34J.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-HKGXGGIV.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
|
+
_chunkBSKPQB2Pjs.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
|
+
_chunkBSKPQB2Pjs.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
|
+
_chunkAFADYKFEjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
120
120
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
121
121
|
addDeprecatedSubcommand(
|
|
122
122
|
session,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VZYTLWOM.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-L352NOE3.mjs";
|
|
10
|
+
import "./chunk-G5PI3RNT.mjs";
|
|
11
|
+
import "./chunk-GHHJWCMD.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-TSCUWWTM.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
|
|
@@ -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-3DYU3JQN.mjs";
|
|
5
|
+
import "./chunk-FJY6K3BG.mjs";
|
|
6
6
|
import "./chunk-L2VKAASU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ONONSV2Q.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-TMCC7ORQ.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-L352NOE3.mjs";
|
|
27
|
+
import "./chunk-G5PI3RNT.mjs";
|
|
28
|
+
import "./chunk-GHHJWCMD.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-TSCUWWTM.mjs";
|
|
37
37
|
import "./chunk-WZYKRD7T.mjs";
|
|
38
38
|
import "./chunk-KRD6H754.mjs";
|
|
39
39
|
|