deepline 0.3.502 → 0.3.503
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 +26 -0
- package/dist/bundling-sources/sdk/src/index.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +9 -0
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
- package/dist/cli/{auth-EFHLOVG4.mjs → auth-IC4WLSE3.mjs} +5 -5
- package/dist/cli/auth-ZCMSXZO4.js +43 -0
- package/dist/cli/{billing-Q5XKEYPP.mjs → billing-2VOV64SD.mjs} +6 -6
- package/dist/cli/{billing-SKT2VE34.js → billing-LWQOII22.js} +79 -79
- package/dist/cli/{chunk-TAK3MVXY.js → chunk-2626LTU3.js} +284 -267
- package/dist/cli/{chunk-OEUMXKR5.js → chunk-26RSSTCF.js} +26 -26
- package/dist/cli/{chunk-JFBJLNBI.js → chunk-2K2QBLYO.js} +53 -53
- package/dist/cli/{chunk-32YQBJON.js → chunk-33JUK73X.js} +7 -7
- package/dist/cli/{chunk-X5MGQ7UT.js → chunk-3CXHK4TW.js} +10 -10
- package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
- package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-5GI6NKOE.mjs} +20 -1
- package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
- package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-6XTE6C3W.mjs} +32 -15
- package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7HEDCIR3.mjs} +1 -1
- package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
- package/dist/cli/{chunk-JL6H4H3G.js → chunk-A2C6ONWA.js} +6 -6
- package/dist/cli/{chunk-DKAMCJIT.js → chunk-AARF4SOW.js} +17 -13
- package/dist/cli/{chunk-QNELA7SX.js → chunk-B3X4YWQ6.js} +53 -53
- package/dist/cli/{chunk-NZXB27TP.mjs → chunk-BI2Q45SY.mjs} +4 -4
- package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
- package/dist/cli/{chunk-UOANF3DR.js → chunk-C5RQTTLP.js} +26 -7
- package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-D27HP3HS.mjs} +2 -2
- package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-DPI5OYVU.mjs} +10 -6
- package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-EDMV4JT5.mjs} +2 -2
- package/dist/cli/{chunk-MYUISF3P.mjs → chunk-EQ3WMKFY.mjs} +5 -5
- package/dist/cli/{chunk-YDXEXVBV.js → chunk-F73PD2XD.js} +7 -7
- package/dist/cli/{chunk-L5CTJY74.mjs → chunk-FHJ54BHH.mjs} +2 -2
- package/dist/cli/{chunk-EUWRKWT4.js → chunk-FIUTDSJX.js} +5 -4
- package/dist/cli/{chunk-WKFAX2K7.js → chunk-FVDTERO2.js} +21 -21
- package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-FZHOWPSN.js} +23 -21
- package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-GIHNEYBG.mjs} +1 -1
- package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-GLZBFBJS.mjs} +5 -5
- package/dist/cli/{chunk-DYHTXGLX.js → chunk-HRTDCXHI.js} +2 -2
- package/dist/cli/{chunk-JLYDLK6X.js → chunk-HS63YBT5.js} +3 -3
- package/dist/cli/{chunk-LA3UYRVZ.js → chunk-IIP46RVC.js} +1 -1
- package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
- package/dist/cli/{chunk-54QXWK3C.mjs → chunk-J6RBOLK7.mjs} +1 -1
- package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-JJVN7OIX.mjs} +4 -4
- package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-JPDD4Y53.mjs} +10 -8
- package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-K7NFFQFU.mjs} +2 -2
- package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-KGLVATEB.mjs} +2 -2
- package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-KPBBT6OS.mjs} +2 -1
- package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-L3TZV625.mjs} +1 -1
- package/dist/cli/{chunk-GINKIZ7S.js → chunk-MJQOG4TZ.js} +16 -16
- package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
- package/dist/cli/{chunk-QOJBRCAS.js → chunk-PVA3MWCO.js} +3 -3
- package/dist/cli/{chunk-OVZOMSH2.js → chunk-QIEYEY6Z.js} +8 -8
- package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
- package/dist/cli/{chunk-2S2F6YSI.js → chunk-RVOBFO7C.js} +41 -41
- package/dist/cli/{chunk-XMKUJ44Z.js → chunk-TCQYWZFS.js} +5 -5
- package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
- package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-URZNSJE2.mjs} +4 -4
- package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-VC5B462T.mjs} +2 -2
- package/dist/cli/{chunk-IL666WJE.js → chunk-WHP3FJ7T.js} +5 -5
- package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-WS274KID.mjs} +1 -1
- package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-XYZZZLN6.mjs} +2 -2
- package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-YXGPMTAK.js} +2 -2
- package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-ZEQPCEV4.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-6AEPKKCO.mjs → csv-2TXOI3UE.mjs} +4 -4
- package/dist/cli/{csv-OXGSCV75.js → csv-NEWCNOSZ.js} +13 -13
- package/dist/cli/{db-6NVHDUZY.js → db-J3IJS4OG.js} +27 -27
- package/dist/cli/{db-K3KRK4CZ.mjs → db-PX7EQEIG.mjs} +6 -6
- package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-GQHGTZSL.mjs} +20 -20
- package/dist/cli/describe-LE7EZCL4.js +49 -0
- package/dist/cli/describe-core.d.mts +8 -4
- package/dist/cli/describe-core.d.ts +8 -4
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-I7XW6WWK.mjs → executions-FFKK24RY.mjs} +6 -6
- package/dist/cli/{executions-2C2FFG52.js → executions-RO3TJUXL.js} +8 -8
- package/dist/cli/{feedback-47B57A5Y.js → feedback-XRR4HIS6.js} +8 -8
- package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-ZTO56SRL.mjs} +4 -4
- package/dist/cli/git-26AH4XIO.js +25 -0
- package/dist/cli/{git-3G5AFKBT.mjs → git-FIPBVFYZ.mjs} +5 -5
- package/dist/cli/index.js +142 -142
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
- package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-MTBBGM27.js} +8 -8
- package/dist/cli/{monitors-KUPZODZS.mjs → monitors-24LDKDJX.mjs} +7 -7
- package/dist/cli/{monitors-IPWAD7LS.js → monitors-42PIGLBF.js} +95 -95
- package/dist/cli/{org-ZCQGEM3L.mjs → org-4B7SCFRL.mjs} +6 -6
- package/dist/cli/{org-WFC3N672.js → org-GQMCA3MN.js} +72 -72
- package/dist/cli/{pages-VE66IU7B.mjs → pages-PD5EGL2R.mjs} +6 -6
- package/dist/cli/{pages-N5BNC67L.js → pages-RL2M62GJ.js} +18 -18
- package/dist/cli/{play-EIMDIAJB.mjs → play-5V54VTUR.mjs} +132 -26
- package/dist/cli/{play-NKIRJSKX.js → play-FST6ZAHW.js} +447 -341
- package/dist/cli/{providers-XU3AGY2F.js → providers-HBUUPN7J.js} +9 -9
- package/dist/cli/{providers-KDTJ63ED.mjs → providers-N5YVCKPL.mjs} +6 -6
- package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-4QIQNSHG.js} +6 -6
- package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-NJDDVTQR.mjs} +4 -4
- package/dist/cli/{run-ET2KVTPK.js → run-FGOKCG4J.js} +44 -44
- package/dist/cli/{run-ODGML35U.mjs → run-JHI5MTHD.mjs} +25 -25
- package/dist/cli/search-CTKSEVSO.js +32 -0
- package/dist/cli/{search-DK67K6PR.mjs → search-EWIZBIY2.mjs} +7 -7
- package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-NAK3MWBH.mjs} +5 -5
- package/dist/cli/{search-output-KXP4FA62.js → search-output-TMQTRC2W.js} +7 -7
- package/dist/cli/{secrets-WPS6NMNK.js → secrets-5TSUEOJB.js} +15 -15
- package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-ONQVW5SR.mjs} +6 -6
- package/dist/cli/{sessions-PXVOH34X.mjs → sessions-B7F5O3ZR.mjs} +5 -5
- package/dist/cli/{sessions-IP562J5Z.js → sessions-BSGE5EET.js} +6 -6
- package/dist/cli/{settings-SUDUIVMY.js → settings-47LARBRU.js} +78 -78
- package/dist/cli/{settings-FBUQGYVJ.mjs → settings-SGGFQV5R.mjs} +11 -11
- package/dist/cli/{setup-JSIMTR73.mjs → setup-ATGNXQUK.mjs} +9 -9
- package/dist/cli/{setup-I5H6IOEY.js → setup-BNFZFXO6.js} +49 -49
- package/dist/cli/skills-6RD25MVM.js +36 -0
- package/dist/cli/{skills-FJQ3LX6N.mjs → skills-CIMBRM5R.mjs} +7 -7
- package/dist/cli/{tools-IGBK4BVE.mjs → tools-DTDXAULX.mjs} +18 -18
- package/dist/cli/tools-TDZH4XHS.js +56 -0
- package/dist/cli/{update-7MTT6F5K.mjs → update-EOIJBJCO.mjs} +9 -9
- package/dist/cli/update-Y32VT4VL.js +34 -0
- package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-IWXUJPWY.mjs} +7 -7
- package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-V5VKPICQ.js} +17 -17
- package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
- package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
- package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
- package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
- package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
- package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
- package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
- package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
- package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
- package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- 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 +8 -1
- 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/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 +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-VM3IKP5F.js +0 -43
- package/dist/cli/describe-JOUAXXPE.js +0 -49
- package/dist/cli/git-OPKIC6JQ.js +0 -25
- package/dist/cli/search-6U54Y3OK.js +0 -32
- package/dist/cli/skills-VHININXC.js +0 -36
- package/dist/cli/tools-XMBMHVKF.js +0 -56
- package/dist/cli/update-H7JVW43I.js +0 -34
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DPI5OYVU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ExecutionOutputError,
|
|
11
11
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
underscoreKeysLast,
|
|
19
19
|
writeExecutionOutput,
|
|
20
20
|
writeRunDatasetCsv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FHJ54BHH.mjs";
|
|
22
22
|
import {
|
|
23
23
|
registerDeprecatedSearchCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-URZNSJE2.mjs";
|
|
25
25
|
import "./chunk-5AEDYVB6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
handleDeploymentGet,
|
|
28
28
|
handleDeploymentsList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XYZZZLN6.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ITJ7NB2D.mjs";
|
|
34
34
|
import {
|
|
35
35
|
shellQuote
|
|
36
36
|
} from "./chunk-OVDNJAJN.mjs";
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
pinLocalPlayImports,
|
|
61
61
|
planLocalPlayExecution
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EDMV4JT5.mjs";
|
|
63
63
|
import {
|
|
64
64
|
DeeplineClient
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-D27HP3HS.mjs";
|
|
66
66
|
import {
|
|
67
67
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
68
68
|
RunEventQueryInputError,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
normalizePlayStatus,
|
|
76
76
|
normalizeRunEventOperationRequest,
|
|
77
77
|
parseLogLevel
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-5GI6NKOE.mjs";
|
|
79
79
|
import "./chunk-L2VKAASU.mjs";
|
|
80
80
|
import {
|
|
81
81
|
CSV_DATA_INPUT_KEY,
|
|
@@ -98,18 +98,18 @@ import "./chunk-BMCRTI6Z.mjs";
|
|
|
98
98
|
import {
|
|
99
99
|
checkPlayRunCompatibility,
|
|
100
100
|
usesCliPlayAdmission
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-K7NFFQFU.mjs";
|
|
102
102
|
import {
|
|
103
103
|
isCliTraceEnabled,
|
|
104
104
|
recordCliTrace,
|
|
105
105
|
resolveCliMaintenancePolicy,
|
|
106
106
|
traceCliSpan
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
107
|
+
} from "./chunk-WS274KID.mjs";
|
|
108
|
+
import "./chunk-BI2Q45SY.mjs";
|
|
109
109
|
import {
|
|
110
110
|
createCliProgress,
|
|
111
111
|
getActiveCliProgress
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-GIHNEYBG.mjs";
|
|
113
113
|
import {
|
|
114
114
|
argsWantJson,
|
|
115
115
|
describeArgs,
|
|
@@ -123,17 +123,17 @@ import {
|
|
|
123
123
|
printJsonError,
|
|
124
124
|
renderCommandEnvelopeText,
|
|
125
125
|
shouldEmitJson
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import "./chunk-
|
|
126
|
+
} from "./chunk-KGLVATEB.mjs";
|
|
127
|
+
import "./chunk-L3TZV625.mjs";
|
|
128
128
|
import {
|
|
129
129
|
fetchWithDeploymentProtection
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-KPBBT6OS.mjs";
|
|
131
131
|
import "./chunk-4QF2K7TM.mjs";
|
|
132
132
|
import "./chunk-DLIRSHV6.mjs";
|
|
133
133
|
import {
|
|
134
134
|
DeeplineError
|
|
135
135
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
136
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-7HEDCIR3.mjs";
|
|
137
137
|
import "./chunk-WZYKRD7T.mjs";
|
|
138
138
|
import {
|
|
139
139
|
__commonJS,
|
|
@@ -4256,6 +4256,7 @@ async function runRunsRerunCommand(runId, options) {
|
|
|
4256
4256
|
return 1;
|
|
4257
4257
|
}
|
|
4258
4258
|
}
|
|
4259
|
+
if (options.notice) console.error(options.notice);
|
|
4259
4260
|
const result = await new DeeplineClient().runs.rerun(runId, {
|
|
4260
4261
|
...idempotencyKey === void 0 ? {} : { idempotencyKey },
|
|
4261
4262
|
...inputOverrides === void 0 ? {} : { inputOverrides }
|
|
@@ -4282,6 +4283,26 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
|
|
|
4282
4283
|
return 0;
|
|
4283
4284
|
}
|
|
4284
4285
|
|
|
4286
|
+
// src/cli/operations/runs-resume.ts
|
|
4287
|
+
async function runRunsResumeCommand(runId) {
|
|
4288
|
+
try {
|
|
4289
|
+
const result = await new DeeplineClient().runs.resume(runId);
|
|
4290
|
+
if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
|
|
4291
|
+
throw new Error(
|
|
4292
|
+
"Invalid resume receipt: expected the requested run and a new positive epoch."
|
|
4293
|
+
);
|
|
4294
|
+
console.log(
|
|
4295
|
+
`Resumed run ${result.runId} at epoch ${result.epoch}. Completed calls will be reused; only unfinished work runs.`
|
|
4296
|
+
);
|
|
4297
|
+
console.log(` inspect: deepline runs get ${result.runId}`);
|
|
4298
|
+
return 0;
|
|
4299
|
+
} catch (error) {
|
|
4300
|
+
if (error instanceof DeeplineError && error.code && !error.message.includes(error.code))
|
|
4301
|
+
error.message = `${error.code}: ${error.message}`;
|
|
4302
|
+
throw error;
|
|
4303
|
+
}
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4285
4306
|
// ../plays/cascade-falloff.ts
|
|
4286
4307
|
function cascadeFalloff(input) {
|
|
4287
4308
|
const order = new Map(input.legs.map((leg, index) => [leg, index]));
|
|
@@ -13939,6 +13960,9 @@ async function handleRunLifecycleStatus(args) {
|
|
|
13939
13960
|
}
|
|
13940
13961
|
return 0;
|
|
13941
13962
|
}
|
|
13963
|
+
function runsRerunRenameNotice(runId) {
|
|
13964
|
+
return `runs rerun starts a new run. To continue a stopped run without repeating its completed work, use: deepline runs resume ${runId}. To start over, use: deepline plays run --from-run ${runId}.`;
|
|
13965
|
+
}
|
|
13942
13966
|
async function handleRunsRerun(args) {
|
|
13943
13967
|
const usage2 = "Usage: deepline runs rerun <run-id> [--idempotency-key <key>] [--input-overrides <json>] [--json]";
|
|
13944
13968
|
let runId;
|
|
@@ -16259,10 +16283,14 @@ Notes:
|
|
|
16259
16283
|
the server accepts the run. The destination must not already exist.
|
|
16260
16284
|
The run page URL is printed when the run starts. Pass --open to open it in a browser.
|
|
16261
16285
|
Concurrent runs for the same play are allowed.
|
|
16262
|
-
--
|
|
16263
|
-
It does not cancel active sibling runs.
|
|
16264
|
-
--
|
|
16265
|
-
|
|
16286
|
+
--from-start starts a fresh run graph without refreshing completed provider calls.
|
|
16287
|
+
It does not cancel active sibling runs. (Formerly --force.)
|
|
16288
|
+
--refresh-cache skips cached reads, calls providers again, and updates the
|
|
16289
|
+
shared result other Plays reuse, billing those calls again. It is independent
|
|
16290
|
+
from --from-start. (Formerly --force-tool-refresh.)
|
|
16291
|
+
--from-run <run-id> starts a new run of the same Play with that run's
|
|
16292
|
+
retained input and pinned revision, and returns once it starts. It accepts
|
|
16293
|
+
only --json.
|
|
16266
16294
|
--max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
|
|
16267
16295
|
resident-work ceiling. Default: ${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
|
|
16268
16296
|
Provider pacing and sandbox memory limits still apply.
|
|
@@ -16321,6 +16349,7 @@ Examples:
|
|
|
16321
16349
|
deepline plays run my.play.ts --max-credits 50
|
|
16322
16350
|
deepline plays run my.play.ts --input @input.json
|
|
16323
16351
|
deepline plays run cto-search.play.ts --limit 5
|
|
16352
|
+
deepline plays run --from-run <run-id>
|
|
16324
16353
|
deepline runs export <run-id> --out output.csv
|
|
16325
16354
|
deepline runs get <run-id>
|
|
16326
16355
|
`
|
|
@@ -16376,9 +16405,19 @@ Examples:
|
|
|
16376
16405
|
).option(
|
|
16377
16406
|
"--tail-timeout-ms <ms>",
|
|
16378
16407
|
"Timeout while waiting for terminal run status"
|
|
16379
|
-
).option("--
|
|
16380
|
-
"--force-
|
|
16381
|
-
|
|
16408
|
+
).option("--from-start", "Start a fresh run graph").addOption(
|
|
16409
|
+
new Option2("--force", "Compatibility alias for --from-start").hideHelp()
|
|
16410
|
+
).option(
|
|
16411
|
+
"--from-run <run-id>",
|
|
16412
|
+
"Start a new run from an earlier run's retained input and pinned revision"
|
|
16413
|
+
).option(
|
|
16414
|
+
"--refresh-cache",
|
|
16415
|
+
"Skip cached reads and call providers again (bills those calls again)"
|
|
16416
|
+
).addOption(
|
|
16417
|
+
new Option2(
|
|
16418
|
+
"--force-tool-refresh",
|
|
16419
|
+
"Compatibility alias for --refresh-cache"
|
|
16420
|
+
).hideHelp()
|
|
16382
16421
|
).option(
|
|
16383
16422
|
"--max-concurrent-external-calls <count>",
|
|
16384
16423
|
`Concurrent provider-tool and deepline.fetch executions (${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
|
|
@@ -16405,6 +16444,11 @@ JSON field selection:
|
|
|
16405
16444
|
`
|
|
16406
16445
|
).action(
|
|
16407
16446
|
async (target, cliOptions, command) => {
|
|
16447
|
+
warnRenamedPlayRunFlags(cliOptions);
|
|
16448
|
+
if (cliOptions.fromRun !== void 0) {
|
|
16449
|
+
process.exitCode = await runPlayFromRun(target, cliOptions, command);
|
|
16450
|
+
return;
|
|
16451
|
+
}
|
|
16408
16452
|
const inlineFile = cliOptions.eval === void 0 ? null : writeInlinePlay(cliOptions.eval);
|
|
16409
16453
|
try {
|
|
16410
16454
|
process.exitCode = await runPlayCommand(
|
|
@@ -16417,6 +16461,42 @@ JSON field selection:
|
|
|
16417
16461
|
}
|
|
16418
16462
|
}
|
|
16419
16463
|
);
|
|
16464
|
+
function warnRenamedPlayRunFlags(options) {
|
|
16465
|
+
if (options.force) {
|
|
16466
|
+
console.error(
|
|
16467
|
+
"--force is now --from-start; the old name will be removed after a migration window."
|
|
16468
|
+
);
|
|
16469
|
+
}
|
|
16470
|
+
if (options.forceToolRefresh) {
|
|
16471
|
+
console.error(
|
|
16472
|
+
"--force-tool-refresh is now --refresh-cache; the old name will be removed after a migration window."
|
|
16473
|
+
);
|
|
16474
|
+
}
|
|
16475
|
+
}
|
|
16476
|
+
async function runPlayFromRun(target, options, command) {
|
|
16477
|
+
const runId = options.fromRun?.trim();
|
|
16478
|
+
if (!runId || runId.startsWith("--")) {
|
|
16479
|
+
console.error("--from-run requires a run id.");
|
|
16480
|
+
return 1;
|
|
16481
|
+
}
|
|
16482
|
+
const conflicting = Object.entries(options).filter(
|
|
16483
|
+
([key, value]) => value !== void 0 && key !== "fromRun" && key !== "json" && !(key === "wait" && value === true)
|
|
16484
|
+
).map(
|
|
16485
|
+
([key]) => `--${key.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`)}`
|
|
16486
|
+
);
|
|
16487
|
+
if (target !== void 0 || command.args.length > 0) {
|
|
16488
|
+
conflicting.unshift("a play target or input");
|
|
16489
|
+
}
|
|
16490
|
+
if (conflicting.length > 0) {
|
|
16491
|
+
console.error(
|
|
16492
|
+
`--from-run reuses the earlier run's play, input and revision; it cannot be combined with ${conflicting.join(", ")}.`
|
|
16493
|
+
);
|
|
16494
|
+
return 1;
|
|
16495
|
+
}
|
|
16496
|
+
return runRunsRerunCommand(runId, {
|
|
16497
|
+
...options.json === void 0 ? {} : { json: Boolean(options.json) }
|
|
16498
|
+
});
|
|
16499
|
+
}
|
|
16420
16500
|
async function runPlayCommand(target, options, command) {
|
|
16421
16501
|
const passthroughArgs = [...command.args];
|
|
16422
16502
|
const explicitTarget = options.file || options.name;
|
|
@@ -16651,7 +16731,7 @@ Examples:
|
|
|
16651
16731
|
process.exitCode = await ownView();
|
|
16652
16732
|
return;
|
|
16653
16733
|
}
|
|
16654
|
-
const { describeAnything } = await import("./describe-
|
|
16734
|
+
const { describeAnything } = await import("./describe-GQHGTZSL.mjs");
|
|
16655
16735
|
process.exitCode = await describeAnything(
|
|
16656
16736
|
name,
|
|
16657
16737
|
{
|
|
@@ -16989,7 +17069,7 @@ Examples:
|
|
|
16989
17069
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
16990
17070
|
).action(async (runId, options) => {
|
|
16991
17071
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
16992
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17072
|
+
const { getToolExecutionReceipt } = await import("./tools-DTDXAULX.mjs");
|
|
16993
17073
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
16994
17074
|
receiptJson: options.json !== void 0
|
|
16995
17075
|
});
|
|
@@ -17014,6 +17094,9 @@ Examples:
|
|
|
17014
17094
|
`
|
|
17015
17095
|
Notes:
|
|
17016
17096
|
Creates a new run. It never mutates the original run.
|
|
17097
|
+
To continue a stopped run without repeating its completed work, use
|
|
17098
|
+
deepline runs resume <run-id>. To start over, use
|
|
17099
|
+
deepline plays run --from-run <run-id> (the same operation as this command).
|
|
17017
17100
|
The rerun uses the original input and exact saved revision. Normal completed
|
|
17018
17101
|
tool receipts may be reused; inspect the new run before forcing any external
|
|
17019
17102
|
side effect.
|
|
@@ -17035,7 +17118,30 @@ Examples:
|
|
|
17035
17118
|
"--input-overrides <json>",
|
|
17036
17119
|
"Override existing scalar fields in the retained input for this rerun"
|
|
17037
17120
|
).option("--json", "Emit JSON output").action(async (runId, options) => {
|
|
17038
|
-
process.exitCode = await runRunsRerunCommand(runId,
|
|
17121
|
+
process.exitCode = await runRunsRerunCommand(runId, {
|
|
17122
|
+
...options,
|
|
17123
|
+
notice: runsRerunRenameNotice(runId)
|
|
17124
|
+
});
|
|
17125
|
+
});
|
|
17126
|
+
runs.command("resume <runId>").description(
|
|
17127
|
+
"Continue a failed or cancelled run as the same run, reusing its completed work."
|
|
17128
|
+
).addHelpText(
|
|
17129
|
+
"after",
|
|
17130
|
+
`
|
|
17131
|
+
Notes:
|
|
17132
|
+
Continues the same run id with its original input and pinned revision.
|
|
17133
|
+
Completed calls are reused; only work the run had not finished runs.
|
|
17134
|
+
A run can be resumed for 14 days after it stops. To start over as a new
|
|
17135
|
+
run instead, use deepline plays run --from-run <run-id>.
|
|
17136
|
+
The server refuses while the run is still active, while its last attempt
|
|
17137
|
+
or sandbox cleanup is still finishing (try again in a minute), and after
|
|
17138
|
+
the 14-day window.
|
|
17139
|
+
|
|
17140
|
+
Examples:
|
|
17141
|
+
deepline runs resume play/my-play/run/20260501t000000-000
|
|
17142
|
+
`
|
|
17143
|
+
).action(async (runId) => {
|
|
17144
|
+
process.exitCode = await runRunsResumeCommand(runId);
|
|
17039
17145
|
});
|
|
17040
17146
|
runs.command("list").description("List play runs.").addHelpText(
|
|
17041
17147
|
"after",
|