deepline 0.3.542 → 0.3.543
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 +106 -2
- package/dist/bundling-sources/sdk/src/index.ts +7 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +198 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +3 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +35 -11
- package/dist/bundling-sources/sdk/src/types.ts +10 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +132 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -1
- 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 +5 -5
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +34 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +11 -5
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +9 -7
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +235 -12
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +39 -30
- package/dist/bundling-sources/shared_libs/play-runtime/event-wait-tools.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +10 -4
- package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +209 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +24 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +37 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +42 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +23 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +320 -836
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/vercel-sandbox.ts +1061 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +862 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +45 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +11 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-contract.ts +20 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +71 -34
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-provider-profile.ts +286 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +12 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +46 -55
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +127 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +214 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/managed-sandbox-resource-sql.ts +118 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +226 -144
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +11 -13
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +42 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/vercel-sandbox-runtime-config.ts +217 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +23 -0
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/script-entry.ts +76 -6
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +1 -0
- package/dist/bundling-sources/shared_libs/security/credential-revision.ts +50 -0
- package/dist/bundling-sources/shared_libs/security/internal-actor.ts +2 -1
- package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +37 -0
- package/dist/cli/{auth-IGBGOB4E.mjs → auth-ITAELTOA.mjs} +5 -5
- package/dist/cli/auth-S6B5WUU5.js +43 -0
- package/dist/cli/{billing-IB2TWE74.js → billing-33XVFDUJ.js} +101 -101
- package/dist/cli/{billing-N37W2I62.mjs → billing-WZ7RVZW4.mjs} +12 -12
- package/dist/cli/{chunk-D44DP4KJ.js → chunk-23D224GI.js} +37 -17
- package/dist/cli/{chunk-B5NP3SHX.mjs → chunk-274WKLSY.mjs} +2 -2
- package/dist/cli/{chunk-GBAT5NMI.mjs → chunk-2HSZCQMT.mjs} +48 -6
- package/dist/cli/{chunk-VLEVVDWG.js → chunk-2JHYYB3F.js} +3 -3
- package/dist/cli/{chunk-FGGPCAGC.js → chunk-2KTGZKRE.js} +18 -18
- package/dist/cli/{chunk-AWLPERL3.js → chunk-2LNTKICO.js} +3 -3
- package/dist/cli/{chunk-5CAVURVS.js → chunk-2NCJQEZH.js} +53 -53
- package/dist/cli/{chunk-6SLEHAXX.js → chunk-3JZXU5OB.js} +5 -5
- package/dist/cli/{chunk-4I47NCRI.js → chunk-46BEBZ3M.js} +497 -328
- package/dist/cli/{chunk-V4EYJKGJ.js → chunk-4JQEAYN3.js} +156 -17
- package/dist/cli/{chunk-DADH3WPE.mjs → chunk-4SKDSSPU.mjs} +2 -2
- package/dist/cli/{chunk-FX4OWXKK.mjs → chunk-52YK3EII.mjs} +2 -2
- package/dist/cli/{chunk-HAITCPCG.js → chunk-5MN3BKNB.js} +16 -16
- package/dist/cli/{chunk-FFDZT255.mjs → chunk-5VIPTLRX.mjs} +1 -1
- package/dist/cli/{chunk-OLH2PHMC.mjs → chunk-6P7TGCHQ.mjs} +1 -1
- package/dist/cli/{chunk-YK7NNZD4.mjs → chunk-6SJZMMD5.mjs} +37 -190
- package/dist/cli/chunk-7AUQTNLB.mjs +455 -0
- package/dist/cli/{chunk-I5EAIFGO.mjs → chunk-AACKPOGA.mjs} +1 -1
- package/dist/cli/{chunk-GM73TZ2W.js → chunk-BGAUADV4.js} +41 -41
- package/dist/cli/{chunk-KQSTV4MW.js → chunk-BLYW6FFB.js} +60 -18
- package/dist/cli/{chunk-LFMQVSEI.js → chunk-C35NLLSA.js} +5 -5
- package/dist/cli/{chunk-5APOJWJF.mjs → chunk-D6YAU3CF.mjs} +182 -13
- package/dist/cli/{chunk-TT4JUUC3.mjs → chunk-DH43ECTN.mjs} +7 -3
- package/dist/cli/{chunk-TTBHOMAA.js → chunk-DI3GL3T6.js} +316 -469
- package/dist/cli/{chunk-D7GWEBMF.js → chunk-DUGTPVT7.js} +7 -7
- package/dist/cli/{chunk-UNDLNT3V.js → chunk-ECWOIXAV.js} +1 -1
- package/dist/cli/{chunk-CFZCRM6R.js → chunk-EHUG6EUT.js} +26 -26
- package/dist/cli/chunk-F6VSQ5LN.js +455 -0
- package/dist/cli/{chunk-ACVTMAW4.mjs → chunk-FNW2SGPD.mjs} +2 -2
- package/dist/cli/{chunk-EHLCWGWN.js → chunk-GRCFX2EG.js} +4 -4
- package/dist/cli/{chunk-OVX3Q5Q3.mjs → chunk-GWNYLIF7.mjs} +1 -1
- package/dist/cli/{chunk-6WQDHEVF.mjs → chunk-HKJ26NRN.mjs} +5 -5
- package/dist/cli/{chunk-L2VKAASU.mjs → chunk-HXIR3VQL.mjs} +21 -0
- package/dist/cli/{chunk-WL2GUGNZ.js → chunk-J2F6F5GL.js} +7 -7
- package/dist/cli/{chunk-2VRKBHMD.mjs → chunk-JXG7HWBA.mjs} +1 -1
- package/dist/cli/{chunk-Z2XA6YU4.mjs → chunk-LX35AXTN.mjs} +1 -0
- package/dist/cli/{chunk-DNGACHFX.js → chunk-MCBUWK5K.js} +22 -22
- package/dist/cli/{chunk-Q7WDXLYO.js → chunk-NHKP2NSU.js} +2 -2
- package/dist/cli/{chunk-FANIRW74.mjs → chunk-NIPLY25A.mjs} +0 -2
- package/dist/cli/{chunk-AKY7KZRJ.js → chunk-NLENABRU.js} +6 -6
- package/dist/cli/{chunk-ORA5TMML.mjs → chunk-NR3O56FT.mjs} +5 -5
- package/dist/cli/{chunk-3XXXMSSP.js → chunk-O2KLWUNI.js} +44 -44
- package/dist/cli/{chunk-ZVNYBQ77.mjs → chunk-OAFKUHN5.mjs} +4 -4
- package/dist/cli/{chunk-2ZGSHVZE.mjs → chunk-OELJKQOL.mjs} +24 -4
- package/dist/cli/{chunk-E7B73LGT.js → chunk-PX7XAVUC.js} +24 -20
- package/dist/cli/{chunk-VHJUH3TB.js → chunk-QFRMVI4S.js} +3 -3
- package/dist/cli/{chunk-Z5YRKX7K.mjs → chunk-R57UCXQG.mjs} +1 -1
- package/dist/cli/{chunk-IPVRMYWT.js → chunk-RKF263LR.js} +5 -5
- package/dist/cli/{chunk-CQDQNZGH.js → chunk-SL6MYJYM.js} +1 -0
- package/dist/cli/{chunk-JPT6VE54.js → chunk-STXG2LFC.js} +2 -2
- package/dist/cli/{chunk-SCLP5H4P.mjs → chunk-SU4K4SUU.mjs} +1 -1
- package/dist/cli/{chunk-NLZHLEHD.mjs → chunk-SYOPHFKB.mjs} +6 -6
- package/dist/cli/{chunk-WACIN4PR.mjs → chunk-SZNJENGT.mjs} +3 -3
- package/dist/cli/{chunk-QXNOSCYL.js → chunk-TBCNL2T5.js} +1 -1
- package/dist/cli/{chunk-E4CABWXL.js → chunk-TI6DTURF.js} +22 -1
- package/dist/cli/{chunk-NDNEARE3.js → chunk-UJ6GOV7K.js} +13 -13
- package/dist/cli/{chunk-GWHA4DAC.js → chunk-UV4RU2TE.js} +0 -2
- package/dist/cli/{chunk-P4MDTBAA.mjs → chunk-VSJEOSYL.mjs} +1 -1
- package/dist/cli/{chunk-EGOCGWCI.mjs → chunk-W2OPPSAZ.mjs} +3 -3
- package/dist/cli/{chunk-46V7QSJE.mjs → chunk-XBM3KABD.mjs} +3 -3
- package/dist/cli/{chunk-QONO7FRF.mjs → chunk-XFPVFWZR.mjs} +1 -1
- package/dist/cli/{chunk-PLIKPGOO.mjs → chunk-XSN6BAZT.mjs} +5 -5
- package/dist/cli/{chunk-IDDKNMFX.mjs → chunk-Y3T5GWYK.mjs} +153 -14
- package/dist/cli/{chunk-AUFE624T.js → chunk-YE3T73BV.js} +10 -10
- package/dist/cli/{chunk-DMXLZ57N.js → chunk-YJYKZ2U3.js} +2 -2
- package/dist/cli/{chunk-F6QV42MC.mjs → chunk-Z7SXGOIQ.mjs} +1 -1
- package/dist/cli/{chunk-SWO5QOXB.mjs → chunk-ZRT2PNYY.mjs} +1 -1
- package/dist/cli/{chunk-3LEUSRV3.mjs → chunk-ZSPBJB7I.mjs} +4 -4
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-E4OYD3DS.js +21 -0
- package/dist/cli/{concurrent-runs-help-DIBGMEIN.mjs → concurrent-runs-help-Z6ODNL4E.mjs} +7 -7
- package/dist/cli/{csv-CAVA3EMS.mjs → csv-5QW2HPHT.mjs} +4 -4
- package/dist/cli/{csv-XZAM7EYZ.js → csv-SSOFTXHU.js} +13 -13
- package/dist/cli/{db-PPGEOBNG.js → db-4LK5AJNO.js} +29 -29
- package/dist/cli/{db-HD332QI7.mjs → db-K2JMR6EM.mjs} +8 -8
- package/dist/cli/describe-AC6PLEFP.js +50 -0
- package/dist/cli/describe-AXHQZHTT.mjs +50 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +3 -3
- package/dist/cli/describe-core.mjs +2 -2
- package/dist/cli/{executions-4ZKBL7IC.js → executions-AATJQQAQ.js} +10 -10
- package/dist/cli/{executions-AFEOLB4A.mjs → executions-FY2XTX2W.mjs} +8 -8
- package/dist/cli/{feedback-J2YPLKMF.mjs → feedback-MKBPRGS6.mjs} +6 -6
- package/dist/cli/{feedback-M6Y33JKT.js → feedback-QPVJER75.js} +14 -14
- package/dist/cli/{git-632RYEF6.mjs → git-AGRFZR3K.mjs} +5 -5
- package/dist/cli/git-RUYFQEJX.js +25 -0
- package/dist/cli/index.js +150 -146
- package/dist/cli/index.mjs +49 -45
- package/dist/cli/integrations-OUQ6U33M.mjs +98 -0
- package/dist/cli/integrations-R6OUFZXI.js +98 -0
- package/dist/cli/{legacy-noops-KWZMXYAU.mjs → legacy-noops-DVL2RRKL.mjs} +6 -6
- package/dist/cli/{legacy-noops-4Y62TKPC.js → legacy-noops-H7INM2QN.js} +9 -9
- package/dist/cli/{mcp-PESLHAAC.mjs → mcp-2Z2YVOLK.mjs} +72 -15
- package/dist/cli/{mcp-35QA6YG7.js → mcp-33F7D7WI.js} +89 -32
- package/dist/cli/{monitors-4DTUZLAI.js → monitors-KDUJHAKJ.js} +102 -102
- package/dist/cli/{monitors-YVBKBJBU.mjs → monitors-NZD2WIKK.mjs} +9 -9
- package/dist/cli/{org-FWCBZMER.js → org-4PQGHLEB.js} +90 -90
- package/dist/cli/{org-DJNKMFCZ.mjs → org-EJW45RUA.mjs} +8 -8
- package/dist/cli/{play-PHVQEEEZ.mjs → play-3CM5RT5J.mjs} +44 -25
- package/dist/cli/{play-FZ45M4KD.js → play-MLHMQL4G.js} +374 -355
- package/dist/cli/{providers-46E67QG7.mjs → providers-BHYBJI4R.mjs} +10 -9
- package/dist/cli/{providers-QJU6FMDD.js → providers-YBJG7277.js} +13 -12
- package/dist/cli/{quickstart-6HMJJ4RR.mjs → quickstart-LL3MR562.mjs} +4 -4
- package/dist/cli/{quickstart-HOL7H5FS.js → quickstart-O7L2NNGJ.js} +6 -6
- package/dist/cli/{run-WKSIRXEC.js → run-HJ2AR6CM.js} +49 -48
- package/dist/cli/{run-2W2TJ6QA.mjs → run-OK545H5Q.mjs} +28 -27
- package/dist/cli/search-UUNS6BCC.js +32 -0
- package/dist/cli/{search-Y2CFLSYB.mjs → search-Z5ZKMRTX.mjs} +9 -9
- package/dist/cli/{search-output-FCZ35PHF.mjs → search-output-Q5VHNUWG.mjs} +4 -4
- package/dist/cli/{search-output-2IK6ZZDY.js → search-output-SVW4DETG.js} +6 -6
- package/dist/cli/{secrets-JVJIHGU4.js → secrets-ENQWMCB5.js} +17 -17
- package/dist/cli/{secrets-PNPNUZLX.mjs → secrets-QIKIEFWB.mjs} +8 -8
- package/dist/cli/{sessions-GY5VVQGO.mjs → sessions-AETO22RF.mjs} +6 -6
- package/dist/cli/sessions-FNSUDERA.js +22 -0
- package/dist/cli/{settings-YQOPF3AI.mjs → settings-G5RGRPFV.mjs} +16 -16
- package/dist/cli/{settings-5WHMFRNQ.js → settings-OFLIFTMZ.js} +89 -89
- package/dist/cli/{setup-O5U5IEVW.mjs → setup-G4N3X6KG.mjs} +9 -9
- package/dist/cli/{setup-3VJMKDEU.js → setup-QW7Y62XD.js} +49 -49
- package/dist/cli/skills-3IXIY2IV.js +36 -0
- package/dist/cli/{skills-G6J5PF35.mjs → skills-QRFQGHNA.mjs} +7 -7
- package/dist/cli/{tools-AG7SWL5Y.mjs → tools-52BH7UTF.mjs} +20 -19
- package/dist/cli/tools-MYBUMPKH.js +57 -0
- package/dist/cli/update-GT7574UU.js +34 -0
- package/dist/cli/{update-K73DD6CR.mjs → update-SDGZLAGL.mjs} +9 -9
- package/dist/cli/{views-MO6DIOMR.mjs → views-3BIJFJMQ.mjs} +8 -8
- package/dist/cli/{views-4D2OTLIO.js → views-5QKAWYPI.js} +23 -23
- package/dist/cli/{workflow-ZEMFCS4Y.js → workflow-G67RPWVY.js} +19 -19
- package/dist/cli/{workflow-MMZMAELI.mjs → workflow-QAK773FR.mjs} +9 -9
- package/dist/{client-X-FJD5Dp.d.ts → client-D1ga52xq.d.ts} +1 -1
- package/dist/{client-DLG9mHDh.d.mts → client-bd4QQIXo.d.mts} +1 -1
- package/dist/{client-core-0jmHfFBv.d.ts → client-core-B6eMVx8h.d.ts} +334 -3
- package/dist/{client-core-WtnqyBwY.d.mts → client-core-CqfWNf2Q.d.mts} +334 -3
- package/dist/{compiler-manifest-Cys06iYg.d.mts → compiler-manifest-BWFtsQIC.d.mts} +21 -0
- package/dist/{compiler-manifest-Cys06iYg.d.ts → compiler-manifest-BWFtsQIC.d.ts} +21 -0
- package/dist/{errors-B6eMjKcr.d.mts → errors-CwKXXtuu.d.mts} +1 -1
- package/dist/{errors-rdOUqcU2.d.ts → errors-Lm9_vJHZ.d.ts} +1 -1
- package/dist/{index-ejWadAL5.d.ts → index-3vJ-V9yw.d.ts} +1 -1
- package/dist/{index-CZdYO81A.d.mts → index-DjwsAt82.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +12 -12
- package/dist/index.mjs +8 -8
- package/dist/install-integrity.json +147 -133
- 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 +23 -4
- 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 +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 +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +7 -7
- package/dist/server.mjs +5 -5
- package/package.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +0 -222
- package/dist/cli/auth-2PH6RSKL.js +0 -43
- package/dist/cli/concurrent-runs-help-BNIDBKML.js +0 -21
- package/dist/cli/describe-5TFFB2PM.js +0 -49
- package/dist/cli/describe-THQU7N47.mjs +0 -49
- package/dist/cli/git-AQLQYWRI.js +0 -25
- package/dist/cli/search-YLJFCJTK.js +0 -32
- package/dist/cli/sessions-TZ33UCPS.js +0 -22
- package/dist/cli/skills-WZY3XDT3.js +0 -36
- package/dist/cli/tools-BXQBL72Q.js +0 -56
- package/dist/cli/update-XYP5EII6.js +0 -34
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handleDeploymentGet,
|
|
3
|
+
handleDeploymentsList
|
|
4
|
+
} from "./chunk-FNW2SGPD.mjs";
|
|
1
5
|
import {
|
|
2
6
|
DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS,
|
|
3
7
|
MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS,
|
|
@@ -5,7 +9,7 @@ import {
|
|
|
5
9
|
parsePlayRunHeaderFlag,
|
|
6
10
|
parsePlayRunOptions,
|
|
7
11
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OELJKQOL.mjs";
|
|
9
13
|
import {
|
|
10
14
|
ExecutionOutputError,
|
|
11
15
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -18,15 +22,11 @@ import {
|
|
|
18
22
|
underscoreKeysLast,
|
|
19
23
|
writeExecutionOutput,
|
|
20
24
|
writeRunDatasetCsv
|
|
21
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XFPVFWZR.mjs";
|
|
22
26
|
import {
|
|
23
27
|
registerDeprecatedSearchCommand
|
|
24
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OAFKUHN5.mjs";
|
|
25
29
|
import "./chunk-5AEDYVB6.mjs";
|
|
26
|
-
import {
|
|
27
|
-
handleDeploymentGet,
|
|
28
|
-
handleDeploymentsList
|
|
29
|
-
} from "./chunk-ACVTMAW4.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
isAstNode,
|
|
42
42
|
listPlayFileExports,
|
|
43
43
|
parsePlaySourceForAnalysis
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2HSZCQMT.mjs";
|
|
45
45
|
import {
|
|
46
46
|
resolveEnabledExecutionProfile
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-Z7SXGOIQ.mjs";
|
|
48
48
|
import {
|
|
49
49
|
parseCsvDataInput
|
|
50
50
|
} from "./chunk-FSIVF2SI.mjs";
|
|
51
51
|
import {
|
|
52
52
|
pinLocalPlayImports,
|
|
53
53
|
planLocalPlayExecution
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-274WKLSY.mjs";
|
|
55
55
|
import {
|
|
56
56
|
DeeplineClient
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4SKDSSPU.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
60
60
|
RunEventQueryInputError,
|
|
@@ -67,8 +67,8 @@ import {
|
|
|
67
67
|
normalizePlayStatus,
|
|
68
68
|
normalizeRunEventOperationRequest,
|
|
69
69
|
parseLogLevel
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-D6YAU3CF.mjs";
|
|
71
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
72
72
|
import {
|
|
73
73
|
CSV_DATA_INPUT_KEY,
|
|
74
74
|
CliPlayAdmissionCallerIntentV2UnsupportedError,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
sqlSafePlayColumnName,
|
|
83
83
|
stageFileInputs,
|
|
84
84
|
stagedFileContentType
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-LX35AXTN.mjs";
|
|
86
86
|
import {
|
|
87
87
|
CSV_HEADER_MATCHING_NOTE,
|
|
88
88
|
playInputExampleArgs
|
|
@@ -91,18 +91,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
91
91
|
import {
|
|
92
92
|
checkPlayRunCompatibility,
|
|
93
93
|
usesCliPlayAdmission
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-52YK3EII.mjs";
|
|
95
95
|
import {
|
|
96
96
|
isCliTraceEnabled,
|
|
97
97
|
recordCliTrace,
|
|
98
98
|
resolveCliMaintenancePolicy,
|
|
99
99
|
traceCliSpan
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-5VIPTLRX.mjs";
|
|
101
|
+
import "./chunk-NR3O56FT.mjs";
|
|
102
102
|
import {
|
|
103
103
|
createCliProgress,
|
|
104
104
|
getActiveCliProgress
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VSJEOSYL.mjs";
|
|
106
106
|
import {
|
|
107
107
|
formatNonStandardSandboxRuntimeWarning
|
|
108
108
|
} from "./chunk-5LUF4LAR.mjs";
|
|
@@ -122,17 +122,17 @@ import {
|
|
|
122
122
|
printJsonError,
|
|
123
123
|
renderCommandEnvelopeText,
|
|
124
124
|
shouldEmitJson
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
126
|
+
import "./chunk-R57UCXQG.mjs";
|
|
127
127
|
import {
|
|
128
128
|
fetchWithDeploymentProtection
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-JXG7HWBA.mjs";
|
|
130
130
|
import "./chunk-CQBIO6HW.mjs";
|
|
131
131
|
import "./chunk-DLIRSHV6.mjs";
|
|
132
132
|
import {
|
|
133
133
|
DeeplineError
|
|
134
134
|
} from "./chunk-JL2OTMSG.mjs";
|
|
135
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
136
136
|
import "./chunk-WZYKRD7T.mjs";
|
|
137
137
|
import {
|
|
138
138
|
__commonJS,
|
|
@@ -12856,6 +12856,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
12856
12856
|
...stagedFileInputs.packagedFiles.length ? { packagedFiles: stagedFileInputs.packagedFiles } : {},
|
|
12857
12857
|
...options.force ? { force: true } : {},
|
|
12858
12858
|
...options.forceToolRefresh ? { forceToolRefresh: true } : {},
|
|
12859
|
+
...options.cacheReuseWindowSeconds !== null ? { cacheReuseWindowSeconds: options.cacheReuseWindowSeconds } : {},
|
|
12859
12860
|
...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
|
|
12860
12861
|
...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
|
|
12861
12862
|
...options.maxCredits !== null ? { maxCredits: options.maxCredits } : {},
|
|
@@ -13102,6 +13103,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13102
13103
|
...options.maxTotalCredits !== null ? { maxTotalCredits: options.maxTotalCredits } : {},
|
|
13103
13104
|
...options.force ? { force: true } : {},
|
|
13104
13105
|
...options.forceToolRefresh ? { forceToolRefresh: true } : {},
|
|
13106
|
+
...options.cacheReuseWindowSeconds !== null ? { cacheReuseWindowSeconds: options.cacheReuseWindowSeconds } : {},
|
|
13105
13107
|
...options.maxConcurrentExternalCalls !== null ? { maxConcurrentExternalCalls: options.maxConcurrentExternalCalls } : {},
|
|
13106
13108
|
...options.maxConcurrentRows !== null ? { maxConcurrentRows: options.maxConcurrentRows } : {},
|
|
13107
13109
|
...options.maxCredits !== null ? { maxCredits: options.maxCredits } : {},
|
|
@@ -14677,6 +14679,14 @@ async function handleRunStop(args) {
|
|
|
14677
14679
|
}
|
|
14678
14680
|
const client = new DeeplineClient();
|
|
14679
14681
|
const result = await client.runs.stop(runId, { reason });
|
|
14682
|
+
const communicationNotes = [
|
|
14683
|
+
...result.communicationCancelledCount ? [
|
|
14684
|
+
`cancelled message waits: ${result.communicationCancelledCount}${result.communicationCancelledCountPartial ? "+" : ""}`
|
|
14685
|
+
] : [],
|
|
14686
|
+
...result.communicationCancellationPending ? [
|
|
14687
|
+
`warning: message wait cleanup is pending; retry 'deepline runs stop ${runId}'`
|
|
14688
|
+
] : []
|
|
14689
|
+
];
|
|
14680
14690
|
const state = resolveRunStopState(result);
|
|
14681
14691
|
const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
|
|
14682
14692
|
if (state === "cancelling" && !hitlCleanupIncomplete) {
|
|
@@ -14687,6 +14697,7 @@ async function handleRunStop(args) {
|
|
|
14687
14697
|
} = result;
|
|
14688
14698
|
const lines2 = [
|
|
14689
14699
|
`Cancelling run ${result.runId || runId}; sandbox cleanup and the final run update are pending.`,
|
|
14700
|
+
...communicationNotes,
|
|
14690
14701
|
...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
|
|
14691
14702
|
`inspect: deepline runs get ${runId} --full`
|
|
14692
14703
|
];
|
|
@@ -14713,6 +14724,7 @@ async function handleRunStop(args) {
|
|
|
14713
14724
|
const detail = typeof result.error === "string" && result.error.trim() ? result.error.trim() : hitlCleanupIncomplete ? "cancellation is queued, but HITL cleanup is still pending" : result.staleSchedulerState === true ? "scheduler state for the run is stale" : "the server did not confirm the stop";
|
|
14714
14725
|
const lines2 = [
|
|
14715
14726
|
`Failed to stop run ${runId}: ${detail}.`,
|
|
14727
|
+
...communicationNotes,
|
|
14716
14728
|
...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
|
|
14717
14729
|
...result.hitlCancellationPending === true ? [
|
|
14718
14730
|
"warning: HITL cancellation or same-card Slack refresh is still pending"
|
|
@@ -14743,6 +14755,7 @@ async function handleRunStop(args) {
|
|
|
14743
14755
|
}
|
|
14744
14756
|
const lines = [
|
|
14745
14757
|
`Stopped ${result.runId}`,
|
|
14758
|
+
...communicationNotes,
|
|
14746
14759
|
...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
|
|
14747
14760
|
...result.hitlCancellationPending === true ? [
|
|
14748
14761
|
`warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
|
|
@@ -16451,7 +16464,13 @@ Examples:
|
|
|
16451
16464
|
).option(
|
|
16452
16465
|
"--max-concurrent-rows <count>",
|
|
16453
16466
|
`Run-wide dataset map row resolver ceiling (max ${MAX_CONFIGURABLE_CONCURRENT_ROWS})`
|
|
16454
|
-
).option("--max-credits <credits>", "Deepline-credit cap for this run").
|
|
16467
|
+
).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
|
|
16468
|
+
// Internal only: the server refuses it without play_run.cache_reuse_window.
|
|
16469
|
+
new Option2(
|
|
16470
|
+
"--cache-reuse-window-seconds <seconds>",
|
|
16471
|
+
"Internal: reuse completed provider results up to this age"
|
|
16472
|
+
).hideHelp()
|
|
16473
|
+
).option("--open", "Open the run page in a browser after the run starts").option(
|
|
16455
16474
|
"--debug-map-latency",
|
|
16456
16475
|
"Internal diagnostics: emit one aggregate latency profile per dataset map"
|
|
16457
16476
|
).option(
|
|
@@ -16767,7 +16786,7 @@ Examples:
|
|
|
16767
16786
|
process.exitCode = await ownView();
|
|
16768
16787
|
return;
|
|
16769
16788
|
}
|
|
16770
|
-
const { describeAnything } = await import("./describe-
|
|
16789
|
+
const { describeAnything } = await import("./describe-AXHQZHTT.mjs");
|
|
16771
16790
|
process.exitCode = await describeAnything(
|
|
16772
16791
|
name,
|
|
16773
16792
|
{
|
|
@@ -17110,7 +17129,7 @@ Examples:
|
|
|
17110
17129
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17111
17130
|
).action(async (runId, options) => {
|
|
17112
17131
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17113
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17132
|
+
const { getToolExecutionReceipt } = await import("./tools-52BH7UTF.mjs");
|
|
17114
17133
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17115
17134
|
receiptJson: options.json !== void 0
|
|
17116
17135
|
});
|