deepline 0.3.541 → 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 +17 -1
- 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-WJXA7XGM.mjs → auth-ITAELTOA.mjs} +5 -5
- package/dist/cli/auth-S6B5WUU5.js +43 -0
- package/dist/cli/{billing-34IV5DSV.js → billing-33XVFDUJ.js} +101 -101
- package/dist/cli/{billing-SHS4HMWT.mjs → billing-WZ7RVZW4.mjs} +12 -12
- package/dist/cli/{chunk-UKO6POLZ.js → chunk-23D224GI.js} +37 -17
- package/dist/cli/{chunk-DF7ARQRB.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-FVZ5Y5L6.js → chunk-2KTGZKRE.js} +18 -18
- package/dist/cli/{chunk-6TZEDCN7.js → chunk-2LNTKICO.js} +3 -3
- package/dist/cli/{chunk-FYQWTENQ.js → chunk-2NCJQEZH.js} +53 -53
- package/dist/cli/{chunk-CNBPATLI.js → chunk-3JZXU5OB.js} +5 -5
- package/dist/cli/{chunk-323I5KQ5.js → chunk-46BEBZ3M.js} +497 -328
- package/dist/cli/{chunk-V4EYJKGJ.js → chunk-4JQEAYN3.js} +156 -17
- package/dist/cli/{chunk-XO2SGONT.mjs → chunk-4SKDSSPU.mjs} +2 -2
- package/dist/cli/{chunk-53QZ24DP.mjs → chunk-52YK3EII.mjs} +2 -2
- package/dist/cli/{chunk-S7NKIEHL.js → chunk-5MN3BKNB.js} +16 -16
- package/dist/cli/{chunk-XTR32PMA.mjs → chunk-5VIPTLRX.mjs} +1 -1
- package/dist/cli/{chunk-OLH2PHMC.mjs → chunk-6P7TGCHQ.mjs} +1 -1
- package/dist/cli/{chunk-QI76LGE3.mjs → chunk-6SJZMMD5.mjs} +37 -190
- package/dist/cli/chunk-7AUQTNLB.mjs +455 -0
- package/dist/cli/{chunk-GLINYHY7.mjs → chunk-AACKPOGA.mjs} +1 -1
- package/dist/cli/{chunk-Q66ADD4O.js → chunk-BGAUADV4.js} +41 -41
- package/dist/cli/{chunk-KQSTV4MW.js → chunk-BLYW6FFB.js} +60 -18
- package/dist/cli/{chunk-F3TLGM2U.js → chunk-C35NLLSA.js} +5 -5
- package/dist/cli/{chunk-LRPFCB2P.mjs → chunk-D6YAU3CF.mjs} +182 -13
- package/dist/cli/{chunk-FRPJSFNL.mjs → chunk-DH43ECTN.mjs} +7 -3
- package/dist/cli/{chunk-IZXMX65M.js → chunk-DI3GL3T6.js} +316 -469
- package/dist/cli/{chunk-OK4JMVTM.js → chunk-DUGTPVT7.js} +7 -7
- package/dist/cli/{chunk-UNDLNT3V.js → chunk-ECWOIXAV.js} +1 -1
- package/dist/cli/{chunk-KIYETQ6K.js → chunk-EHUG6EUT.js} +26 -26
- package/dist/cli/chunk-F6VSQ5LN.js +455 -0
- package/dist/cli/{chunk-JZNKEHXQ.mjs → chunk-FNW2SGPD.mjs} +2 -2
- package/dist/cli/{chunk-M6XIKHBS.js → chunk-GRCFX2EG.js} +4 -4
- package/dist/cli/{chunk-OVX3Q5Q3.mjs → chunk-GWNYLIF7.mjs} +1 -1
- package/dist/cli/{chunk-FTKX7OGB.mjs → chunk-HKJ26NRN.mjs} +5 -5
- package/dist/cli/{chunk-L2VKAASU.mjs → chunk-HXIR3VQL.mjs} +21 -0
- package/dist/cli/{chunk-POZPEDW7.js → chunk-J2F6F5GL.js} +7 -7
- package/dist/cli/{chunk-7AUQSK24.mjs → chunk-JXG7HWBA.mjs} +1 -1
- package/dist/cli/{chunk-Z2XA6YU4.mjs → chunk-LX35AXTN.mjs} +1 -0
- package/dist/cli/{chunk-WIV3E6Y7.js → chunk-MCBUWK5K.js} +22 -22
- package/dist/cli/{chunk-2TAGAPLL.js → chunk-NHKP2NSU.js} +2 -2
- package/dist/cli/{chunk-FANIRW74.mjs → chunk-NIPLY25A.mjs} +0 -2
- package/dist/cli/{chunk-UXXFCOE3.js → chunk-NLENABRU.js} +6 -6
- package/dist/cli/{chunk-DHC7EGI7.mjs → chunk-NR3O56FT.mjs} +5 -5
- package/dist/cli/{chunk-MPYM6TUO.js → chunk-O2KLWUNI.js} +44 -44
- package/dist/cli/{chunk-BMNLD63A.mjs → chunk-OAFKUHN5.mjs} +4 -4
- package/dist/cli/{chunk-RYYGNUNO.mjs → chunk-OELJKQOL.mjs} +24 -4
- package/dist/cli/{chunk-ZD673XAL.js → chunk-PX7XAVUC.js} +24 -20
- package/dist/cli/{chunk-FOCNY4GV.js → chunk-QFRMVI4S.js} +3 -3
- package/dist/cli/{chunk-AU7ZKXW5.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-BUCTWJBM.js → chunk-STXG2LFC.js} +2 -2
- package/dist/cli/{chunk-ECPCZVDM.mjs → chunk-SU4K4SUU.mjs} +1 -1
- package/dist/cli/{chunk-ABDXKELH.mjs → chunk-SYOPHFKB.mjs} +6 -6
- package/dist/cli/{chunk-H74CLEMB.mjs → chunk-SZNJENGT.mjs} +3 -3
- package/dist/cli/{chunk-5N4ENMYE.js → chunk-TBCNL2T5.js} +1 -1
- package/dist/cli/{chunk-E4CABWXL.js → chunk-TI6DTURF.js} +22 -1
- package/dist/cli/{chunk-C2LYJ3EX.js → chunk-UJ6GOV7K.js} +13 -13
- package/dist/cli/{chunk-GWHA4DAC.js → chunk-UV4RU2TE.js} +0 -2
- package/dist/cli/{chunk-6PJAC3P5.mjs → chunk-VSJEOSYL.mjs} +1 -1
- package/dist/cli/{chunk-NB4AIXEA.mjs → chunk-W2OPPSAZ.mjs} +3 -3
- package/dist/cli/{chunk-5LNWLEO3.mjs → chunk-XBM3KABD.mjs} +3 -3
- package/dist/cli/{chunk-VMIIUMAN.mjs → chunk-XFPVFWZR.mjs} +1 -1
- package/dist/cli/{chunk-UC5QFQGC.mjs → chunk-XSN6BAZT.mjs} +5 -5
- package/dist/cli/{chunk-IDDKNMFX.mjs → chunk-Y3T5GWYK.mjs} +153 -14
- package/dist/cli/{chunk-S6FF7Q5P.js → chunk-YE3T73BV.js} +10 -10
- package/dist/cli/{chunk-CY5LW6DW.js → chunk-YJYKZ2U3.js} +2 -2
- package/dist/cli/{chunk-F6QV42MC.mjs → chunk-Z7SXGOIQ.mjs} +1 -1
- package/dist/cli/{chunk-ZL2DER5D.mjs → chunk-ZRT2PNYY.mjs} +1 -1
- package/dist/cli/{chunk-WZMG2M65.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-ZJ77SAEU.mjs → concurrent-runs-help-Z6ODNL4E.mjs} +7 -7
- package/dist/cli/{csv-PX7F5YJN.mjs → csv-5QW2HPHT.mjs} +4 -4
- package/dist/cli/{csv-MJLIZZOR.js → csv-SSOFTXHU.js} +13 -13
- package/dist/cli/{db-BNCNAY4G.js → db-4LK5AJNO.js} +29 -29
- package/dist/cli/{db-KPKGTHPA.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-YNOFR7T2.js → executions-AATJQQAQ.js} +10 -10
- package/dist/cli/{executions-NMQY4GEY.mjs → executions-FY2XTX2W.mjs} +8 -8
- package/dist/cli/{feedback-LWYEO5LL.mjs → feedback-MKBPRGS6.mjs} +6 -6
- package/dist/cli/{feedback-RCP5DPO6.js → feedback-QPVJER75.js} +14 -14
- package/dist/cli/{git-3O4PFP3Q.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-KFP674JT.mjs → legacy-noops-DVL2RRKL.mjs} +6 -6
- package/dist/cli/{legacy-noops-ZPZRG366.js → legacy-noops-H7INM2QN.js} +9 -9
- package/dist/cli/{mcp-OCYUXQ6L.mjs → mcp-2Z2YVOLK.mjs} +72 -15
- package/dist/cli/{mcp-HCXDW6PL.js → mcp-33F7D7WI.js} +89 -32
- package/dist/cli/{monitors-7Q7YT22Y.js → monitors-KDUJHAKJ.js} +102 -102
- package/dist/cli/{monitors-V5KJIJJE.mjs → monitors-NZD2WIKK.mjs} +9 -9
- package/dist/cli/{org-S37K6QYH.js → org-4PQGHLEB.js} +164 -88
- package/dist/cli/{org-C3QLHX7U.mjs → org-EJW45RUA.mjs} +84 -8
- package/dist/cli/{play-MXQ2DKML.mjs → play-3CM5RT5J.mjs} +44 -25
- package/dist/cli/{play-MLREAYHJ.js → play-MLHMQL4G.js} +374 -355
- package/dist/cli/{providers-FDJ4ZOST.mjs → providers-BHYBJI4R.mjs} +10 -9
- package/dist/cli/{providers-PPDWY7DH.js → providers-YBJG7277.js} +13 -12
- package/dist/cli/{quickstart-2Z57AMB7.mjs → quickstart-LL3MR562.mjs} +4 -4
- package/dist/cli/{quickstart-BOWQM7S7.js → quickstart-O7L2NNGJ.js} +6 -6
- package/dist/cli/{run-66HXNJNV.js → run-HJ2AR6CM.js} +49 -48
- package/dist/cli/{run-5RNJGPQ2.mjs → run-OK545H5Q.mjs} +28 -27
- package/dist/cli/search-UUNS6BCC.js +32 -0
- package/dist/cli/{search-7G4FYQYO.mjs → search-Z5ZKMRTX.mjs} +9 -9
- package/dist/cli/{search-output-6K4FHCVI.mjs → search-output-Q5VHNUWG.mjs} +4 -4
- package/dist/cli/{search-output-L6ICQDBL.js → search-output-SVW4DETG.js} +6 -6
- package/dist/cli/{secrets-PWFJKF7G.js → secrets-ENQWMCB5.js} +17 -17
- package/dist/cli/{secrets-FTQPCU7O.mjs → secrets-QIKIEFWB.mjs} +8 -8
- package/dist/cli/{sessions-YSSAAQVJ.mjs → sessions-AETO22RF.mjs} +6 -6
- package/dist/cli/sessions-FNSUDERA.js +22 -0
- package/dist/cli/{settings-KN7GNZ5J.mjs → settings-G5RGRPFV.mjs} +16 -16
- package/dist/cli/{settings-CZEMF2WD.js → settings-OFLIFTMZ.js} +89 -89
- package/dist/cli/{setup-5WLHGH57.mjs → setup-G4N3X6KG.mjs} +9 -9
- package/dist/cli/{setup-RW4X6DX4.js → setup-QW7Y62XD.js} +49 -49
- package/dist/cli/skills-3IXIY2IV.js +36 -0
- package/dist/cli/{skills-DLVI7IZK.mjs → skills-QRFQGHNA.mjs} +7 -7
- package/dist/cli/{tools-JVYQF7P3.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-XKLXU7YS.mjs → update-SDGZLAGL.mjs} +9 -9
- package/dist/cli/{views-QRRCWP6B.mjs → views-3BIJFJMQ.mjs} +8 -8
- package/dist/cli/{views-YNUYFS3S.js → views-5QKAWYPI.js} +23 -23
- package/dist/cli/{workflow-YUKADKCJ.js → workflow-G67RPWVY.js} +19 -19
- package/dist/cli/{workflow-KYFMA4LM.mjs → workflow-QAK773FR.mjs} +9 -9
- package/dist/{client-B1fixtK1.d.ts → client-D1ga52xq.d.ts} +1 -1
- package/dist/{client-CE4QBVbp.d.mts → client-bd4QQIXo.d.mts} +1 -1
- package/dist/{client-core-C-3FVlVq.d.ts → client-core-B6eMVx8h.d.ts} +335 -4
- package/dist/{client-core-2BkNBgrx.d.mts → client-core-CqfWNf2Q.d.mts} +335 -4
- package/dist/{compiler-manifest-Cys06iYg.d.ts → compiler-manifest-BWFtsQIC.d.mts} +21 -0
- package/dist/{compiler-manifest-Cys06iYg.d.mts → 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-V76O674K.js +0 -43
- package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +0 -21
- package/dist/cli/describe-5OUJA5TH.mjs +0 -49
- package/dist/cli/describe-7MF5AHIU.js +0 -49
- package/dist/cli/git-WLQ3BS6K.js +0 -25
- package/dist/cli/search-LTUIIV6W.js +0 -32
- package/dist/cli/sessions-2IVFGTPA.js +0 -22
- package/dist/cli/skills-WT42AZVH.js +0 -36
- package/dist/cli/tools-D6STYBQG.js +0 -56
- package/dist/cli/update-XTUKBC3J.js +0 -34
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var _chunk3JZXU5OBjs = require('./chunk-3JZXU5OB.js');
|
|
4
|
+
require('./chunk-46BEBZ3M.js');
|
|
5
|
+
require('./chunk-TI6DTURF.js');
|
|
6
|
+
require('./chunk-SL6MYJYM.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkQFRMVI4Sjs = require('./chunk-QFRMVI4S.js');
|
|
15
|
+
require('./chunk-GRCFX2EG.js');
|
|
16
16
|
require('./chunk-2GJZLIKW.js');
|
|
17
17
|
require('./chunk-XNYIZMNQ.js');
|
|
18
18
|
require('./chunk-BBTKAASQ.js');
|
|
19
|
-
require('./chunk-
|
|
19
|
+
require('./chunk-TBCNL2T5.js');
|
|
20
20
|
require('./chunk-OG64RBAC.js');
|
|
21
21
|
require('./chunk-COGTRVWW.js');
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ require('./chunk-COGTRVWW.js');
|
|
|
24
24
|
var _promises = require('fs/promises');
|
|
25
25
|
var VIEWS_FEATURE = "views";
|
|
26
26
|
function print(command, json, data, lines) {
|
|
27
|
-
|
|
27
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
|
|
28
28
|
{ command, ...data, render: { sections: [{ title: command, lines }] } },
|
|
29
29
|
{ json: Boolean(json), text: `${lines.join("\n")}
|
|
30
30
|
` }
|
|
@@ -56,7 +56,7 @@ function viewLines(view) {
|
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
function registerViewsCommands(program) {
|
|
59
|
-
const views = program.command("views", { hidden: !
|
|
59
|
+
const views = program.command("views", { hidden: !_chunkQFRMVI4Sjs.cliFeatureEnabled.call(void 0, VIEWS_FEATURE) }).description(
|
|
60
60
|
"Show what a Play returns at a fixed URL on views.deepline.com."
|
|
61
61
|
).addHelpText(
|
|
62
62
|
"after",
|
|
@@ -69,7 +69,7 @@ Examples:
|
|
|
69
69
|
);
|
|
70
70
|
views.command("list").description("List this workspace's views.").option("--cursor <cursor>", "Continue from a previous page of results").option("--limit <n>", "Results per request, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
71
71
|
async (options) => run(async () => {
|
|
72
|
-
const result = await new (0,
|
|
72
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().listViews({
|
|
73
73
|
cursor: options.cursor,
|
|
74
74
|
limit: options.limit
|
|
75
75
|
});
|
|
@@ -84,7 +84,7 @@ Examples:
|
|
|
84
84
|
);
|
|
85
85
|
views.command("get <id>").description("Show one view and what you may do with it.").option("--json", "Emit raw JSON response").action(
|
|
86
86
|
async (id, options) => run(async () => {
|
|
87
|
-
const view = await new (0,
|
|
87
|
+
const view = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().getView(id);
|
|
88
88
|
print("views get", options.json, view, [
|
|
89
89
|
...viewLines(view),
|
|
90
90
|
` saved input ${JSON.stringify(view.input)}`
|
|
@@ -106,7 +106,7 @@ Examples:
|
|
|
106
106
|
`
|
|
107
107
|
).action(
|
|
108
108
|
async (options) => run(async () => {
|
|
109
|
-
const view = await new (0,
|
|
109
|
+
const view = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().createView({
|
|
110
110
|
name: options.name,
|
|
111
111
|
play: options.play,
|
|
112
112
|
...options.input !== void 0 ? {
|
|
@@ -146,7 +146,7 @@ Examples:
|
|
|
146
146
|
"Nothing to change. See: deepline views edit --help"
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
|
-
const view = await new (0,
|
|
149
|
+
const view = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().updateView(id, fields);
|
|
150
150
|
print(
|
|
151
151
|
"views edit",
|
|
152
152
|
options.json,
|
|
@@ -157,7 +157,7 @@ Examples:
|
|
|
157
157
|
);
|
|
158
158
|
views.command("runs <id>").description("List runs of the view's Play, newest first.").option("--limit <n>", "Runs to list, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
159
159
|
async (id, options) => run(async () => {
|
|
160
|
-
const result = await new (0,
|
|
160
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().listViewRuns(id, {
|
|
161
161
|
limit: options.limit
|
|
162
162
|
});
|
|
163
163
|
print("views runs", options.json, result, [
|
|
@@ -176,7 +176,7 @@ Examples:
|
|
|
176
176
|
).option("--json", "Emit raw JSON response").action(
|
|
177
177
|
async (id, options) => run(async () => {
|
|
178
178
|
const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
|
|
179
|
-
const started = await new (0,
|
|
179
|
+
const started = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().refreshView(id, input);
|
|
180
180
|
print("views refresh", options.json, started, [
|
|
181
181
|
`Started run ${started.workflowId}.`,
|
|
182
182
|
`Watch it: deepline runs get ${started.workflowId}`
|
|
@@ -190,7 +190,7 @@ Examples:
|
|
|
190
190
|
if (access !== "workspace" && access !== "public") {
|
|
191
191
|
throw new Error("Access is workspace or public.");
|
|
192
192
|
}
|
|
193
|
-
const view = await new (0,
|
|
193
|
+
const view = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().setViewAccess(
|
|
194
194
|
id,
|
|
195
195
|
access
|
|
196
196
|
);
|
|
@@ -212,7 +212,7 @@ Examples:
|
|
|
212
212
|
}
|
|
213
213
|
links.command("list <id>", { isDefault: true }).description("List a view's share links. Their URLs are shown only once, when created.").option("--json", "Emit raw JSON response").action(
|
|
214
214
|
async (id, options) => run(async () => {
|
|
215
|
-
const result = await new (0,
|
|
215
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().listViewShareLinks(id);
|
|
216
216
|
print(
|
|
217
217
|
"views links list",
|
|
218
218
|
options.json,
|
|
@@ -226,7 +226,7 @@ Examples:
|
|
|
226
226
|
).requiredOption("--expires <expiry>", "How long the link lasts: 1d, 7d, 30d or never").option("--label <label>", "What the link is for, shown in the list").option("--email <emails>", "Comma-separated addresses Deepline emails the link to").option("--json", "Emit raw JSON response").action(
|
|
227
227
|
async (id, options) => run(async () => {
|
|
228
228
|
const emails = options.email ? String(options.email).split(",").map((email) => email.trim()).filter(Boolean) : void 0;
|
|
229
|
-
const link = await new (0,
|
|
229
|
+
const link = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().createViewShareLink(id, {
|
|
230
230
|
expires: options.expires,
|
|
231
231
|
...options.label ? { label: options.label } : {},
|
|
232
232
|
...emails ? { emails } : {}
|
|
@@ -242,13 +242,13 @@ Examples:
|
|
|
242
242
|
);
|
|
243
243
|
links.command("revoke <id> <linkId>").description("Revoke a share link. It stops opening the view at once.").option("--json", "Emit raw JSON response").action(
|
|
244
244
|
async (id, linkId, options) => run(async () => {
|
|
245
|
-
const link = await new (0,
|
|
245
|
+
const link = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().revokeViewShareLink(id, linkId);
|
|
246
246
|
print("views links revoke", options.json, link, [linkLine(link)]);
|
|
247
247
|
})
|
|
248
248
|
);
|
|
249
249
|
views.command("delete <id>").description("Delete a view. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
|
|
250
250
|
async (id, options) => run(async () => {
|
|
251
|
-
const result = await new (0,
|
|
251
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().deleteView(id);
|
|
252
252
|
print("views delete", options.json, result, [
|
|
253
253
|
`Deleted view ${id}.`
|
|
254
254
|
]);
|
|
@@ -259,7 +259,7 @@ Examples:
|
|
|
259
259
|
);
|
|
260
260
|
permissions.command("get", { isDefault: true }).description("Show the workspace's view rules and what you may do.").option("--json", "Emit raw JSON response").action(
|
|
261
261
|
async (options) => run(async () => {
|
|
262
|
-
const result = await new (0,
|
|
262
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().getViewPermissions();
|
|
263
263
|
print("views permissions", options.json, result, [
|
|
264
264
|
...Object.entries(result.rules).map(
|
|
265
265
|
([verb, level]) => `${verb}: ${level}`
|
|
@@ -297,7 +297,7 @@ Examples:
|
|
|
297
297
|
"Pass at least one rule. See: deepline views permissions set --help"
|
|
298
298
|
);
|
|
299
299
|
}
|
|
300
|
-
const result = await new (0,
|
|
300
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().setViewPermissions(rules);
|
|
301
301
|
print(
|
|
302
302
|
"views permissions set",
|
|
303
303
|
options.json,
|
|
@@ -6,10 +6,10 @@ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
|
6
6
|
var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
9
|
+
var _chunk3JZXU5OBjs = require('./chunk-3JZXU5OB.js');
|
|
10
|
+
require('./chunk-46BEBZ3M.js');
|
|
11
|
+
require('./chunk-TI6DTURF.js');
|
|
12
|
+
require('./chunk-SL6MYJYM.js');
|
|
13
13
|
require('./chunk-PMH4GLMD.js');
|
|
14
14
|
require('./chunk-XDVT3GOM.js');
|
|
15
15
|
|
|
@@ -17,13 +17,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
20
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
21
|
+
require('./chunk-QFRMVI4S.js');
|
|
22
|
+
require('./chunk-GRCFX2EG.js');
|
|
23
23
|
require('./chunk-2GJZLIKW.js');
|
|
24
24
|
require('./chunk-XNYIZMNQ.js');
|
|
25
25
|
require('./chunk-BBTKAASQ.js');
|
|
26
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-TBCNL2T5.js');
|
|
27
27
|
require('./chunk-OG64RBAC.js');
|
|
28
28
|
require('./chunk-COGTRVWW.js');
|
|
29
29
|
|
|
@@ -1629,18 +1629,18 @@ function noticeToStderr(command) {
|
|
|
1629
1629
|
);
|
|
1630
1630
|
}
|
|
1631
1631
|
function emitPassThrough(command, payload, options) {
|
|
1632
|
-
const json =
|
|
1632
|
+
const json = _chunkPX7XAVUCjs.shouldEmitJson.call(void 0, options.json);
|
|
1633
1633
|
const deprecation = migrationDeprecation(command);
|
|
1634
1634
|
if (json) {
|
|
1635
1635
|
const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
|
|
1636
|
-
|
|
1636
|
+
_chunkPX7XAVUCjs.printJson.call(void 0, enriched);
|
|
1637
1637
|
return;
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
_chunkPX7XAVUCjs.printJson.call(void 0, payload);
|
|
1640
1640
|
noticeToStderr(command);
|
|
1641
1641
|
}
|
|
1642
1642
|
function client() {
|
|
1643
|
-
return new (0,
|
|
1643
|
+
return new (0, _chunk3JZXU5OBjs.DeeplineClient)();
|
|
1644
1644
|
}
|
|
1645
1645
|
function clientWithTimeout(timeoutSeconds) {
|
|
1646
1646
|
if (!timeoutSeconds) return client();
|
|
@@ -1648,7 +1648,7 @@ function clientWithTimeout(timeoutSeconds) {
|
|
|
1648
1648
|
if (!Number.isFinite(seconds) || seconds <= 0) {
|
|
1649
1649
|
throw new Error("--timeout must be a positive number of seconds.");
|
|
1650
1650
|
}
|
|
1651
|
-
return new (0,
|
|
1651
|
+
return new (0, _chunk3JZXU5OBjs.DeeplineClient)({ timeout: seconds * 1e3 });
|
|
1652
1652
|
}
|
|
1653
1653
|
function readStatus(payload) {
|
|
1654
1654
|
if (!payload || typeof payload !== "object") return null;
|
|
@@ -1702,7 +1702,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1702
1702
|
await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
|
|
1703
1703
|
let published = false;
|
|
1704
1704
|
if (publish) {
|
|
1705
|
-
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
1705
|
+
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-MLHMQL4G.js")));
|
|
1706
1706
|
const code = await handlePlayPublish([file]);
|
|
1707
1707
|
if (code !== 0) {
|
|
1708
1708
|
return {
|
|
@@ -1777,10 +1777,10 @@ async function handleTransform(id, options) {
|
|
|
1777
1777
|
for (const workflowId of ids) {
|
|
1778
1778
|
outcomes.push(await transformOne(api, workflowId, outDir, publish));
|
|
1779
1779
|
}
|
|
1780
|
-
|
|
1780
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
|
|
1781
1781
|
{ outcomes, deprecation: null },
|
|
1782
1782
|
{
|
|
1783
|
-
json:
|
|
1783
|
+
json: _chunkPX7XAVUCjs.shouldEmitJson.call(void 0, options.json),
|
|
1784
1784
|
text: renderTransformReport(outcomes)
|
|
1785
1785
|
}
|
|
1786
1786
|
);
|
|
@@ -1801,11 +1801,11 @@ async function handleDelete(id, options) {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
async function handleDisable(id, options) {
|
|
1803
1803
|
const result = await client().disableWorkflow(id);
|
|
1804
|
-
|
|
1804
|
+
_chunkPX7XAVUCjs.printJson.call(void 0, result);
|
|
1805
1805
|
}
|
|
1806
1806
|
async function handleEnable(id, options) {
|
|
1807
1807
|
const result = await client().enableWorkflow(id);
|
|
1808
|
-
|
|
1808
|
+
_chunkPX7XAVUCjs.printJson.call(void 0, result);
|
|
1809
1809
|
}
|
|
1810
1810
|
async function handleApply(options) {
|
|
1811
1811
|
const body = await readJsonOption(options.payload, options.file);
|
|
@@ -1870,7 +1870,7 @@ async function handleTail(id, runId, options) {
|
|
|
1870
1870
|
if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
|
|
1871
1871
|
return;
|
|
1872
1872
|
}
|
|
1873
|
-
await
|
|
1873
|
+
await _chunkPX7XAVUCjs.sleep.call(void 0, intervalMs);
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
function registerWorkflowCommands(program) {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-H7HIDGZ7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DeeplineClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4SKDSSPU.mjs";
|
|
10
|
+
import "./chunk-D6YAU3CF.mjs";
|
|
11
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
12
|
+
import "./chunk-LX35AXTN.mjs";
|
|
13
13
|
import "./chunk-PSX3WHIH.mjs";
|
|
14
14
|
import "./chunk-UBKA33KY.mjs";
|
|
15
15
|
import {
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
printJson,
|
|
18
18
|
shouldEmitJson,
|
|
19
19
|
sleep
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
21
|
+
import "./chunk-R57UCXQG.mjs";
|
|
22
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
23
23
|
import "./chunk-CQBIO6HW.mjs";
|
|
24
24
|
import "./chunk-DLIRSHV6.mjs";
|
|
25
25
|
import "./chunk-JL2OTMSG.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
27
27
|
import "./chunk-WZYKRD7T.mjs";
|
|
28
28
|
import "./chunk-KRD6H754.mjs";
|
|
29
29
|
|
|
@@ -1702,7 +1702,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1702
1702
|
await writeFile(file, compiled.sourceCode, "utf8");
|
|
1703
1703
|
let published = false;
|
|
1704
1704
|
if (publish) {
|
|
1705
|
-
const { handlePlayPublish } = await import("./play-
|
|
1705
|
+
const { handlePlayPublish } = await import("./play-3CM5RT5J.mjs");
|
|
1706
1706
|
const code = await handlePlayPublish([file]);
|
|
1707
1707
|
if (code !== 0) {
|
|
1708
1708
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-B6eMVx8h.js';
|
|
3
3
|
|
|
4
4
|
/** Deepline SDK client with environment and local credential discovery. */
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-CqfWNf2Q.mjs';
|
|
3
3
|
|
|
4
4
|
/** Deepline SDK client with environment and local credential discovery. */
|
|
5
5
|
|