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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4SKDSSPU.mjs";
|
|
4
|
+
import "./chunk-D6YAU3CF.mjs";
|
|
5
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
6
|
+
import "./chunk-LX35AXTN.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope,
|
|
11
11
|
shouldEmitJson
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
13
|
+
import "./chunk-R57UCXQG.mjs";
|
|
14
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
15
15
|
import "./chunk-CQBIO6HW.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-JL2OTMSG.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -31,7 +31,8 @@ async function listProviders(options = {}) {
|
|
|
31
31
|
title: changed ? `${providers.length} recently added providers:` : `${providers.length} providers:`,
|
|
32
32
|
lines: providers.map((provider) => {
|
|
33
33
|
const release = provider.releasedAt ? ` - v${provider.version ?? "unknown"} (${provider.releasedAt})` : "";
|
|
34
|
-
|
|
34
|
+
const beta = provider.beta ? " [Beta]" : "";
|
|
35
|
+
return `${provider.provider} (${provider.displayName})${beta} - ${provider.toolCount} tools${release}`;
|
|
35
36
|
})
|
|
36
37
|
},
|
|
37
38
|
{
|
|
@@ -1,29 +1,29 @@
|
|
|
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
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
13
|
+
require('./chunk-QFRMVI4S.js');
|
|
14
|
+
require('./chunk-GRCFX2EG.js');
|
|
15
15
|
require('./chunk-2GJZLIKW.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-BBTKAASQ.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-TBCNL2T5.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/providers.ts
|
|
23
23
|
async function listProviders(options = {}) {
|
|
24
|
-
const client = new (0,
|
|
24
|
+
const client = new (0, _chunk3JZXU5OBjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkPX7XAVUCjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -31,7 +31,8 @@ async function listProviders(options = {}) {
|
|
|
31
31
|
title: changed ? `${providers.length} recently added providers:` : `${providers.length} providers:`,
|
|
32
32
|
lines: providers.map((provider) => {
|
|
33
33
|
const release = provider.releasedAt ? ` - v${_nullishCoalesce(provider.version, () => ( "unknown"))} (${provider.releasedAt})` : "";
|
|
34
|
-
|
|
34
|
+
const beta = provider.beta ? " [Beta]" : "";
|
|
35
|
+
return `${provider.provider} (${provider.displayName})${beta} - ${provider.toolCount} tools${release}`;
|
|
35
36
|
})
|
|
36
37
|
},
|
|
37
38
|
{
|
|
@@ -42,7 +43,7 @@ async function listProviders(options = {}) {
|
|
|
42
43
|
}
|
|
43
44
|
]
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
|
|
46
47
|
{
|
|
47
48
|
providers,
|
|
48
49
|
count: providers.length,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
5
|
+
import "./chunk-R57UCXQG.mjs";
|
|
6
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
7
7
|
import "./chunk-CQBIO6HW.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-JL2OTMSG.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
5
|
+
require('./chunk-QFRMVI4S.js');
|
|
6
|
+
require('./chunk-GRCFX2EG.js');
|
|
7
7
|
require('./chunk-2GJZLIKW.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-BBTKAASQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-TBCNL2T5.js');
|
|
11
11
|
require('./chunk-OG64RBAC.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -17,12 +17,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/quickstart.ts
|
|
19
19
|
async function handleQuickstart(options) {
|
|
20
|
-
const jsonOutput =
|
|
20
|
+
const jsonOutput = _chunkPX7XAVUCjs.shouldEmitJson.call(void 0, options.json === true);
|
|
21
21
|
const gettingStarted = {
|
|
22
22
|
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
23
23
|
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|
|
@@ -1,54 +1,55 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk23D224GIjs = require('./chunk-23D224GI.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunk2KTGZKREjs = require('./chunk-2KTGZKRE.js');
|
|
9
|
+
require('./chunk-DI3GL3T6.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkDUGTPVT7js = require('./chunk-DUGTPVT7.js');
|
|
16
|
+
require('./chunk-F6VSQ5LN.js');
|
|
17
|
+
require('./chunk-YE3T73BV.js');
|
|
17
18
|
require('./chunk-D3BCSAN7.js');
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
21
|
+
var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
|
|
22
|
+
require('./chunk-ECWOIXAV.js');
|
|
22
23
|
require('./chunk-XYIECA7M.js');
|
|
23
24
|
require('./chunk-AID3OYVJ.js');
|
|
24
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-2JHYYB3F.js');
|
|
25
26
|
require('./chunk-J33TSWO5.js');
|
|
26
27
|
require('./chunk-HGFFYVXN.js');
|
|
27
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-3JZXU5OB.js');
|
|
28
29
|
require('./chunk-BLMB4N63.js');
|
|
29
|
-
require('./chunk-
|
|
30
|
-
require('./chunk-
|
|
31
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-46BEBZ3M.js');
|
|
31
|
+
require('./chunk-TI6DTURF.js');
|
|
32
|
+
require('./chunk-SL6MYJYM.js');
|
|
32
33
|
require('./chunk-PMH4GLMD.js');
|
|
33
34
|
require('./chunk-XDVT3GOM.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-MCBUWK5K.js');
|
|
36
|
+
require('./chunk-NHKP2NSU.js');
|
|
37
|
+
require('./chunk-5MN3BKNB.js');
|
|
38
|
+
require('./chunk-STXG2LFC.js');
|
|
39
|
+
require('./chunk-BGAUADV4.js');
|
|
40
|
+
require('./chunk-O2KLWUNI.js');
|
|
40
41
|
|
|
41
42
|
|
|
42
|
-
var
|
|
43
|
+
var _chunk2LNTKICOjs = require('./chunk-2LNTKICO.js');
|
|
43
44
|
|
|
44
45
|
|
|
45
|
-
var
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
46
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
47
|
+
require('./chunk-QFRMVI4S.js');
|
|
48
|
+
require('./chunk-GRCFX2EG.js');
|
|
48
49
|
require('./chunk-2GJZLIKW.js');
|
|
49
50
|
require('./chunk-XNYIZMNQ.js');
|
|
50
51
|
require('./chunk-BBTKAASQ.js');
|
|
51
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-TBCNL2T5.js');
|
|
52
53
|
require('./chunk-OG64RBAC.js');
|
|
53
54
|
require('./chunk-RLX5ZFNX.js');
|
|
54
55
|
require('./chunk-COGTRVWW.js');
|
|
@@ -84,7 +85,7 @@ function readInput(options) {
|
|
|
84
85
|
return input;
|
|
85
86
|
}
|
|
86
87
|
function refuse(message, output) {
|
|
87
|
-
|
|
88
|
+
_chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
88
89
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
89
90
|
output
|
|
90
91
|
);
|
|
@@ -100,7 +101,7 @@ async function runAnything(name, options) {
|
|
|
100
101
|
logsOut: options.logsOut,
|
|
101
102
|
fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
|
|
102
103
|
};
|
|
103
|
-
if (!
|
|
104
|
+
if (!_chunkDUGTPVT7js.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
104
105
|
let input;
|
|
105
106
|
let timeoutMs;
|
|
106
107
|
try {
|
|
@@ -118,7 +119,7 @@ async function runAnything(name, options) {
|
|
|
118
119
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
119
120
|
}
|
|
120
121
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
121
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
122
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-MYBUMPKH.js")));
|
|
122
123
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
123
124
|
}
|
|
124
125
|
} catch (error) {
|
|
@@ -139,7 +140,7 @@ async function runAnything(name, options) {
|
|
|
139
140
|
if (name !== void 0) {
|
|
140
141
|
return refuse("Use a name or -e, not both.", output);
|
|
141
142
|
}
|
|
142
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
143
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-MLHMQL4G.js")));
|
|
143
144
|
let file;
|
|
144
145
|
try {
|
|
145
146
|
file = writeInlinePlay(options.eval);
|
|
@@ -162,23 +163,23 @@ async function runAnything(name, options) {
|
|
|
162
163
|
output
|
|
163
164
|
);
|
|
164
165
|
}
|
|
165
|
-
if (
|
|
166
|
+
if (_chunk23D224GIjs.looksLikeFilePath.call(void 0, name)) {
|
|
166
167
|
output.label = `${name} (play file)`;
|
|
167
168
|
return runPlay(name, play);
|
|
168
169
|
}
|
|
169
170
|
let { base, revision } = splitRevision(name);
|
|
170
|
-
let found = await
|
|
171
|
+
let found = await _chunk2KTGZKREjs.findNamed.call(void 0, base, {});
|
|
171
172
|
if (!found.chosen && revision) {
|
|
172
|
-
found = await
|
|
173
|
+
found = await _chunk2KTGZKREjs.findNamed.call(void 0, name, {});
|
|
173
174
|
if (found.chosen)
|
|
174
175
|
({ base, revision } = { base: name, revision: void 0 });
|
|
175
176
|
}
|
|
176
177
|
const { chosen, shadowed } = found;
|
|
177
|
-
if (!chosen) return refuse(
|
|
178
|
+
if (!chosen) return refuse(_chunk2KTGZKREjs.nothingNamed.call(void 0, base), output);
|
|
178
179
|
const { described } = chosen;
|
|
179
180
|
if (described.kind === "custom_play" && shadowed) {
|
|
180
181
|
console.error(
|
|
181
|
-
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${
|
|
182
|
+
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkRKF263LRjs.DEEPLINE_NAMESPACE}${base}`
|
|
182
183
|
);
|
|
183
184
|
}
|
|
184
185
|
const { runner } = described;
|
|
@@ -199,7 +200,7 @@ async function runAnything(name, options) {
|
|
|
199
200
|
if (runner.via === "play") {
|
|
200
201
|
return runPlay(runner.reference, { ...play, revision });
|
|
201
202
|
}
|
|
202
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
203
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-MYBUMPKH.js")));
|
|
203
204
|
return executeToolForReceipt({
|
|
204
205
|
toolId: runner.toolId,
|
|
205
206
|
params: input,
|
|
@@ -213,7 +214,7 @@ function dryRun(described, input, output) {
|
|
|
213
214
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
214
215
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
215
216
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
216
|
-
|
|
217
|
+
_chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
217
218
|
{
|
|
218
219
|
id: null,
|
|
219
220
|
status: "dry_run",
|
|
@@ -230,20 +231,20 @@ function dryRun(described, input, output) {
|
|
|
230
231
|
return missing.length ? 2 : 0;
|
|
231
232
|
}
|
|
232
233
|
async function runPlay(reference, play) {
|
|
233
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
234
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-MLHMQL4G.js")));
|
|
234
235
|
const { output, options, revision } = play;
|
|
235
236
|
if (options.dryRun) {
|
|
236
|
-
const dryRunOptions =
|
|
237
|
+
const dryRunOptions = _chunk23D224GIjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
237
238
|
input: JSON.stringify(play.input),
|
|
238
239
|
dryRun: true,
|
|
239
240
|
json: output.receiptJson === true
|
|
240
241
|
});
|
|
241
242
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
242
|
-
const writeDryRunError = (error) =>
|
|
243
|
+
const writeDryRunError = (error) => _chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
243
244
|
{
|
|
244
245
|
id: null,
|
|
245
246
|
status: "failed",
|
|
246
|
-
error:
|
|
247
|
+
error: _chunkPX7XAVUCjs.errorToJsonPayload.call(void 0, error).error,
|
|
247
248
|
ran: false
|
|
248
249
|
},
|
|
249
250
|
output
|
|
@@ -251,7 +252,7 @@ async function runPlay(reference, play) {
|
|
|
251
252
|
try {
|
|
252
253
|
return await handlePlayRun(dryRunOptions, {
|
|
253
254
|
writeDryRunError,
|
|
254
|
-
writeDryRunPlan: (plan) =>
|
|
255
|
+
writeDryRunPlan: (plan) => _chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
255
256
|
{
|
|
256
257
|
id: null,
|
|
257
258
|
status: "dry_run",
|
|
@@ -262,19 +263,19 @@ async function runPlay(reference, play) {
|
|
|
262
263
|
)
|
|
263
264
|
});
|
|
264
265
|
} catch (error) {
|
|
265
|
-
if (error instanceof
|
|
266
|
+
if (error instanceof _chunkDUGTPVT7js.ExecutionOutputError) throw error;
|
|
266
267
|
writeDryRunError(error);
|
|
267
268
|
return 1;
|
|
268
269
|
}
|
|
269
270
|
}
|
|
270
271
|
let id = null;
|
|
271
272
|
let written = false;
|
|
272
|
-
const progress =
|
|
273
|
-
if (!play.noWait) progress.setLogWriter(
|
|
273
|
+
const progress = _chunk2LNTKICOjs.createCliProgress.call(void 0, true);
|
|
274
|
+
if (!play.noWait) progress.setLogWriter(_chunkDUGTPVT7js.openLogDestination.call(void 0, output));
|
|
274
275
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
275
276
|
try {
|
|
276
277
|
const code = await handlePlayRun(
|
|
277
|
-
|
|
278
|
+
_chunk23D224GIjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
278
279
|
input: JSON.stringify(play.input),
|
|
279
280
|
// The receipt is the only thing on stdout.
|
|
280
281
|
json: true,
|
|
@@ -307,7 +308,7 @@ async function runPlay(reference, play) {
|
|
|
307
308
|
},
|
|
308
309
|
writeStarted: (runId, status, page) => {
|
|
309
310
|
written = true;
|
|
310
|
-
|
|
311
|
+
_chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
311
312
|
{
|
|
312
313
|
id: runId,
|
|
313
314
|
status,
|
|
@@ -323,7 +324,7 @@ async function runPlay(reference, play) {
|
|
|
323
324
|
}
|
|
324
325
|
);
|
|
325
326
|
if (!written) {
|
|
326
|
-
|
|
327
|
+
_chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
327
328
|
{
|
|
328
329
|
id,
|
|
329
330
|
status: "failed",
|
|
@@ -335,11 +336,11 @@ async function runPlay(reference, play) {
|
|
|
335
336
|
return code;
|
|
336
337
|
} catch (error) {
|
|
337
338
|
if (written) throw error;
|
|
338
|
-
|
|
339
|
+
_chunkDUGTPVT7js.writeExecutionOutput.call(void 0,
|
|
339
340
|
{
|
|
340
341
|
id,
|
|
341
342
|
status: "failed",
|
|
342
|
-
error:
|
|
343
|
+
error: _chunkPX7XAVUCjs.errorToJsonPayload.call(void 0, error).error,
|
|
343
344
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
344
345
|
},
|
|
345
346
|
output
|
|
@@ -365,7 +366,7 @@ function registerRunCommand(program) {
|
|
|
365
366
|
try {
|
|
366
367
|
process.exitCode = await runAnything(name, options);
|
|
367
368
|
} catch (error) {
|
|
368
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
369
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkDUGTPVT7js.ExecutionOutputError)) {
|
|
369
370
|
throw error;
|
|
370
371
|
}
|
|
371
372
|
process.exitCode = 1;
|
|
@@ -1,54 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OELJKQOL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SYOPHFKB.mjs";
|
|
9
|
+
import "./chunk-6SJZMMD5.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ExecutionOutputError,
|
|
12
12
|
openLogDestination,
|
|
13
13
|
preflightExecutionOutput,
|
|
14
14
|
writeExecutionOutput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-XFPVFWZR.mjs";
|
|
16
|
+
import "./chunk-7AUQTNLB.mjs";
|
|
17
|
+
import "./chunk-OAFKUHN5.mjs";
|
|
17
18
|
import "./chunk-5AEDYVB6.mjs";
|
|
18
19
|
import {
|
|
19
20
|
DEEPLINE_NAMESPACE
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-6P7TGCHQ.mjs";
|
|
22
|
+
import "./chunk-GWNYLIF7.mjs";
|
|
22
23
|
import "./chunk-7AOFSZJM.mjs";
|
|
23
24
|
import "./chunk-OVDNJAJN.mjs";
|
|
24
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-Z7SXGOIQ.mjs";
|
|
25
26
|
import "./chunk-FR2ILQ4G.mjs";
|
|
26
27
|
import "./chunk-FIVKWNMT.mjs";
|
|
27
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-4SKDSSPU.mjs";
|
|
28
29
|
import "./chunk-2GEYN3H4.mjs";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-D6YAU3CF.mjs";
|
|
31
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
32
|
+
import "./chunk-LX35AXTN.mjs";
|
|
32
33
|
import "./chunk-PSX3WHIH.mjs";
|
|
33
34
|
import "./chunk-UBKA33KY.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-XSN6BAZT.mjs";
|
|
36
|
+
import "./chunk-5VIPTLRX.mjs";
|
|
37
|
+
import "./chunk-HKJ26NRN.mjs";
|
|
38
|
+
import "./chunk-AACKPOGA.mjs";
|
|
39
|
+
import "./chunk-ZSPBJB7I.mjs";
|
|
40
|
+
import "./chunk-NR3O56FT.mjs";
|
|
40
41
|
import {
|
|
41
42
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VSJEOSYL.mjs";
|
|
43
44
|
import {
|
|
44
45
|
errorToJsonPayload
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
47
|
+
import "./chunk-R57UCXQG.mjs";
|
|
48
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
48
49
|
import "./chunk-CQBIO6HW.mjs";
|
|
49
50
|
import "./chunk-DLIRSHV6.mjs";
|
|
50
51
|
import "./chunk-JL2OTMSG.mjs";
|
|
51
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
52
53
|
import "./chunk-WZYKRD7T.mjs";
|
|
53
54
|
import "./chunk-5JPKRDFC.mjs";
|
|
54
55
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -118,7 +119,7 @@ async function runAnything(name, options) {
|
|
|
118
119
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
119
120
|
}
|
|
120
121
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
121
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
122
|
+
const { parseToolExecuteTimeout } = await import("./tools-52BH7UTF.mjs");
|
|
122
123
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
123
124
|
}
|
|
124
125
|
} catch (error) {
|
|
@@ -139,7 +140,7 @@ async function runAnything(name, options) {
|
|
|
139
140
|
if (name !== void 0) {
|
|
140
141
|
return refuse("Use a name or -e, not both.", output);
|
|
141
142
|
}
|
|
142
|
-
const { writeInlinePlay } = await import("./play-
|
|
143
|
+
const { writeInlinePlay } = await import("./play-3CM5RT5J.mjs");
|
|
143
144
|
let file;
|
|
144
145
|
try {
|
|
145
146
|
file = writeInlinePlay(options.eval);
|
|
@@ -199,7 +200,7 @@ async function runAnything(name, options) {
|
|
|
199
200
|
if (runner.via === "play") {
|
|
200
201
|
return runPlay(runner.reference, { ...play, revision });
|
|
201
202
|
}
|
|
202
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
203
|
+
const { executeToolForReceipt } = await import("./tools-52BH7UTF.mjs");
|
|
203
204
|
return executeToolForReceipt({
|
|
204
205
|
toolId: runner.toolId,
|
|
205
206
|
params: input,
|
|
@@ -230,7 +231,7 @@ function dryRun(described, input, output) {
|
|
|
230
231
|
return missing.length ? 2 : 0;
|
|
231
232
|
}
|
|
232
233
|
async function runPlay(reference, play) {
|
|
233
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
234
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-3CM5RT5J.mjs");
|
|
234
235
|
const { output, options, revision } = play;
|
|
235
236
|
if (options.dryRun) {
|
|
236
237
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkYE3T73BVjs = require('./chunk-YE3T73BV.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-3JZXU5OB.js');
|
|
11
|
+
require('./chunk-46BEBZ3M.js');
|
|
12
|
+
require('./chunk-TI6DTURF.js');
|
|
13
|
+
require('./chunk-SL6MYJYM.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-PX7XAVUC.js');
|
|
17
|
+
require('./chunk-QFRMVI4S.js');
|
|
18
|
+
require('./chunk-GRCFX2EG.js');
|
|
19
|
+
require('./chunk-2GJZLIKW.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-BBTKAASQ.js');
|
|
22
|
+
require('./chunk-TBCNL2T5.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkYE3T73BVjs.SEARCH_TYPES; exports.appendCsv = _chunkYE3T73BVjs.appendCsv; exports.parseTypes = _chunkYE3T73BVjs.parseTypes; exports.pointAtDescribe = _chunkYE3T73BVjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkYE3T73BVjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkYE3T73BVjs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OAFKUHN5.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-4SKDSSPU.mjs";
|
|
11
|
+
import "./chunk-D6YAU3CF.mjs";
|
|
12
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
13
|
+
import "./chunk-LX35AXTN.mjs";
|
|
14
14
|
import "./chunk-PSX3WHIH.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DH43ECTN.mjs";
|
|
17
|
+
import "./chunk-R57UCXQG.mjs";
|
|
18
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
19
19
|
import "./chunk-CQBIO6HW.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-JL2OTMSG.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
renderCommandEnvelopeText
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
7
|
+
import "./chunk-R57UCXQG.mjs";
|
|
8
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
9
9
|
import "./chunk-CQBIO6HW.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-JL2OTMSG.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__commonJS,
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
7
|
+
require('./chunk-QFRMVI4S.js');
|
|
8
|
+
require('./chunk-GRCFX2EG.js');
|
|
9
9
|
require('./chunk-2GJZLIKW.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-BBTKAASQ.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-TBCNL2T5.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -5827,7 +5827,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5827
5827
|
];
|
|
5828
5828
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
5829
5829
|
if (result.results.length === 0)
|
|
5830
|
-
return
|
|
5830
|
+
return _chunkPX7XAVUCjs.renderCommandEnvelopeText.call(void 0, result);
|
|
5831
5831
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5832
5832
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5833
5833
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5854,7 +5854,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
5854
5854
|
actions: _optionalChain([render, 'optionalAccess', _18 => _18.actions])
|
|
5855
5855
|
};
|
|
5856
5856
|
const followUps = _optionalChain([remaining, 'access', _19 => _19.sections, 'optionalAccess', _20 => _20.length]) || _optionalChain([remaining, 'access', _21 => _21.actions, 'optionalAccess', _22 => _22.length]) ? `
|
|
5857
|
-
${
|
|
5857
|
+
${_chunkPX7XAVUCjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5858
5858
|
const missingConnections = /* @__PURE__ */ new Set();
|
|
5859
5859
|
for (const item of result.results) {
|
|
5860
5860
|
if (item.credentialStatus !== "requires_connection") continue;
|