deepline 0.3.535 → 0.3.536
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 +232 -147
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -23
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
- package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
- package/dist/cli/auth-6XQKFOLG.js +43 -0
- package/dist/cli/{auth-ZCTMB5RA.mjs → auth-KCTCUO7P.mjs} +7 -7
- package/dist/cli/{billing-GVFKZQH3.js → billing-4VBGZ3CT.js} +273 -112
- package/dist/cli/{billing-OU2ZHL72.mjs → billing-OOJHKLNS.mjs} +185 -24
- package/dist/cli/{chunk-FGN75ZN6.js → chunk-2B4IOGFD.js} +390 -382
- package/dist/cli/{chunk-KOZBZPRM.js → chunk-2FCSUOYN.js} +55 -55
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-2YWJS76L.mjs} +1 -1
- package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
- package/dist/cli/{chunk-UUQ2OXMH.js → chunk-4E5JXZ3W.js} +18 -20
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
- package/dist/cli/{chunk-PHLNYBAA.js → chunk-6VUGBQZQ.js} +5 -5
- package/dist/cli/{chunk-G2DLG32W.mjs → chunk-AB2GBOD4.mjs} +40 -27
- package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-ANUKBZ6W.mjs} +475 -11
- package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-BASLYGXK.mjs} +85 -77
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-PI5R65OQ.js → chunk-CIDN5K23.js} +1 -1
- package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
- package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
- package/dist/cli/{chunk-D4MHCCIR.js → chunk-CWSLUNA6.js} +33 -33
- package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
- package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-DA2I2M7D.mjs} +2 -2
- package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-DQHUJMCL.mjs} +5 -5
- package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-DUYAMLOC.mjs} +1 -1
- package/dist/cli/{chunk-K53NKWZO.mjs → chunk-E24UGPGG.mjs} +13 -15
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-7R5DAANG.mjs → chunk-GF32SBST.mjs} +1 -1
- package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-GHLDCLSC.mjs} +1 -1
- package/dist/cli/{chunk-ZUVE63Y7.js → chunk-GTVZKY3F.js} +2 -2
- package/dist/cli/{chunk-J75DANZY.mjs → chunk-HAJQGP5V.mjs} +2 -2
- package/dist/cli/{chunk-RFQWSH6I.js → chunk-HWDKRN7L.js} +3 -3
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-K76AEBFY.mjs → chunk-JUHDJNSI.mjs} +4 -4
- package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-KPQHUVYW.mjs} +5 -5
- package/dist/cli/{chunk-6LHX33VN.js → chunk-KWYGWO4Y.js} +9 -6
- package/dist/cli/{chunk-7PXP2FQK.js → chunk-LDGZFDUB.js} +2 -2
- package/dist/cli/{chunk-KWGXHPHL.js → chunk-LN6RXDTB.js} +523 -59
- package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-LZXZQPA2.mjs} +4 -1
- package/dist/cli/{chunk-2D6SWQTK.js → chunk-MSP4DTSD.js} +13 -13
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-OUDTOMZC.mjs} +7 -9
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-PNY3BWHP.mjs} +2 -2
- package/dist/cli/{chunk-DYIWDUY4.js → chunk-Q4MNUOS4.js} +316 -303
- package/dist/cli/{chunk-5EKNDNFQ.js → chunk-Q5CXV3E3.js} +2 -2
- package/dist/cli/{chunk-W6T23EUC.mjs → chunk-RVSSQPQO.mjs} +1 -1
- package/dist/cli/{chunk-WNNA4L6Z.js → chunk-SLPJ3LXI.js} +22 -22
- package/dist/cli/{chunk-K3IPGMGP.js → chunk-TX5TUHJN.js} +17 -19
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-4NLRWKZB.js → chunk-VBDZIMWD.js} +26 -26
- package/dist/cli/{chunk-DAPKLYST.js → chunk-W7AEIGZR.js} +41 -41
- package/dist/cli/{chunk-LVISZFYO.mjs → chunk-WC5M3JXE.mjs} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-243O3FH5.js → chunk-XBAH3TKU.js} +5 -5
- package/dist/cli/{chunk-DFJODFMC.mjs → chunk-XJD2GYUP.mjs} +5 -5
- package/dist/cli/{chunk-BF65LB7X.mjs → chunk-XVZRJJDS.mjs} +4 -4
- package/dist/cli/{chunk-OM732MGV.js → chunk-Y2NTPYGS.js} +17 -17
- package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-YBMHOH6H.mjs} +4 -4
- package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-YRLAUGQY.mjs} +3 -3
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Z7UIOGW4.mjs} +3 -3
- package/dist/cli/{chunk-HYBZWSSH.js → chunk-ZEV2Y56V.js} +44 -44
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-HWPOXCCK.js → chunk-ZILSRDIN.js} +8 -8
- package/dist/cli/{chunk-CIDATNTY.js → chunk-ZISEH7OL.js} +16 -16
- package/dist/cli/{chunk-KA6ZERJL.js → chunk-ZZ4MF2GI.js} +6 -6
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-CD55KEIO.js → csv-2V2DIFNG.js} +15 -15
- package/dist/cli/{csv-CLPVMIRF.mjs → csv-P3HLK4GO.mjs} +6 -6
- package/dist/cli/{db-MQKLDAEO.js → db-MREAQVW6.js} +36 -36
- package/dist/cli/{db-AU4SMWUN.mjs → db-ZYOY3QRQ.mjs} +9 -9
- package/dist/cli/describe-IKZFOADR.mjs +49 -0
- package/dist/cli/describe-WW3OQRLP.js +49 -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 +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-77GOLWRM.js → executions-H5IJ7QSQ.js} +11 -11
- package/dist/cli/{executions-TFIJPUX7.mjs → executions-KTSY5M34.mjs} +9 -9
- package/dist/cli/{feedback-OV5YAL3A.js → feedback-724QK3Z5.js} +16 -16
- package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-WWJRIXEU.mjs} +8 -8
- package/dist/cli/git-PHYRD56H.js +25 -0
- package/dist/cli/{git-VNS4ATLZ.mjs → git-R5VRG7X6.mjs} +7 -7
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-C6GDEGPU.js} +11 -11
- package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
- package/dist/cli/{monitors-5IUMHH3E.js → monitors-VAVQ4WCE.js} +125 -122
- package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-WQSKMHAP.mjs} +19 -16
- package/dist/cli/{org-ADW2EVAC.js → org-CWWRWXZQ.js} +89 -89
- package/dist/cli/{org-G4YGZPHS.mjs → org-MAL4QPVF.mjs} +9 -9
- package/dist/cli/{play-7GQ56C2D.mjs → play-ILW6MSNG.mjs} +123 -76
- package/dist/cli/{play-EHSOSSHT.js → play-WJOWK5PQ.js} +641 -594
- package/dist/cli/{providers-WL3YTCSV.mjs → providers-4V2NMLZZ.mjs} +9 -9
- package/dist/cli/{providers-PWCF6OOO.js → providers-W662ANCH.js} +12 -12
- package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-BW6EBUYX.js} +8 -8
- package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-C22BR743.mjs} +6 -6
- package/dist/cli/{run-XZPWA6JS.js → run-KW7KW4FX.js} +50 -53
- package/dist/cli/{run-ZCNZU3K2.mjs → run-SPAU5IMW.mjs} +31 -34
- package/dist/cli/search-HLE54W5G.js +32 -0
- package/dist/cli/{search-CVLVSFMJ.mjs → search-XPC75HLM.mjs} +10 -11
- package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-JKYJSEPM.mjs} +6 -6
- package/dist/cli/{search-output-7HRSSRBS.js → search-output-VJYE7USJ.js} +8 -8
- package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-OJG73GXQ.mjs} +9 -9
- package/dist/cli/{secrets-IYD5VKY4.js → secrets-YB57KGSB.js} +18 -18
- package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-7ZL37BW4.mjs} +8 -8
- package/dist/cli/sessions-VEBYZIEU.js +22 -0
- package/dist/cli/{settings-CANK4HJQ.js → settings-A7DD2ZYE.js} +88 -89
- package/dist/cli/{settings-BN5MJZ3C.mjs → settings-RKSQB7FA.mjs} +15 -16
- package/dist/cli/{setup-JNMSCCU4.mjs → setup-NXDUTITY.mjs} +11 -12
- package/dist/cli/{setup-YSGKGLSJ.js → setup-S3K5YU62.js} +51 -52
- package/dist/cli/skills-NVQ744CN.js +36 -0
- package/dist/cli/{skills-QCQN2UM2.mjs → skills-VMFAIDO6.mjs} +9 -10
- package/dist/cli/{tools-CDPOID7V.mjs → tools-52NTHBSJ.mjs} +20 -21
- package/dist/cli/tools-SBDUL3WB.js +56 -0
- package/dist/cli/update-HHVFZPCV.js +34 -0
- package/dist/cli/{update-D3ZERUQ3.mjs → update-SAKBEKMV.mjs} +11 -12
- package/dist/cli/{views-RDZRWQBQ.mjs → views-ACRV7MD6.mjs} +54 -10
- package/dist/cli/{views-4NV2KQKA.js → views-C3GJOBDG.js} +66 -22
- package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-CS22E7TC.mjs} +10 -10
- package/dist/cli/{workflow-RABJCAZC.js → workflow-ZNWCZEGN.js} +20 -20
- package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
- package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
- package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
- package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
- package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/index.mjs +11 -11
- package/dist/install-integrity.json +129 -132
- package/dist/monitor-fleet-contract.d.mts +17 -11
- package/dist/monitor-fleet-contract.d.ts +17 -11
- package/dist/monitor-fleet-contract.js +3 -3
- package/dist/monitor-fleet-contract.mjs +2 -2
- package/dist/monitor-input-contract.js +2 -2
- package/dist/monitor-input-contract.mjs +1 -1
- 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 +17 -5
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +3 -3
- package/dist/plays/run-request.mjs +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +12 -12
- package/dist/server.mjs +6 -6
- package/package.json +1 -1
- package/dist/cli/auth-VDCU3T6A.js +0 -43
- package/dist/cli/chunk-4QELPWUW.mjs +0 -405
- package/dist/cli/chunk-T7RBM2WX.js +0 -405
- package/dist/cli/describe-5BFNHT5V.js +0 -50
- package/dist/cli/describe-AWJUXE2U.mjs +0 -50
- package/dist/cli/git-HGMX52XU.js +0 -25
- package/dist/cli/pages-KXKWSCEV.mjs +0 -266
- package/dist/cli/pages-VTJGAI2D.js +0 -266
- package/dist/cli/search-J6EY7DQN.js +0 -33
- package/dist/cli/sessions-7HPIVSQ4.js +0 -22
- package/dist/cli/skills-WDGSSKJZ.js +0 -37
- package/dist/cli/tools-URNVXSTZ.js +0 -57
- package/dist/cli/update-Q6JW32IA.js +0 -35
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WC5M3JXE.mjs";
|
|
4
|
+
import "./chunk-BASLYGXK.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-Z2XA6YU4.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-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
13
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
14
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
15
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
18
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -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-
|
|
3
|
+
var _chunkXBAH3TKUjs = require('./chunk-XBAH3TKU.js');
|
|
4
|
+
require('./chunk-2B4IOGFD.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-CQDQNZGH.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-
|
|
15
|
-
require('./chunk-
|
|
12
|
+
var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
|
|
13
|
+
require('./chunk-ZILSRDIN.js');
|
|
14
|
+
require('./chunk-CWSLUNA6.js');
|
|
15
|
+
require('./chunk-2GJZLIKW.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-BBTKAASQ.js');
|
|
18
|
+
require('./chunk-CIDN5K23.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, _chunkXBAH3TKUjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkLN6RXDTBjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
|
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
_chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
count: providers.length,
|
|
@@ -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-
|
|
7
|
-
require('./chunk-
|
|
4
|
+
var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
|
|
5
|
+
require('./chunk-ZILSRDIN.js');
|
|
6
|
+
require('./chunk-CWSLUNA6.js');
|
|
7
|
+
require('./chunk-2GJZLIKW.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-BBTKAASQ.js');
|
|
10
|
+
require('./chunk-CIDN5K23.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 = _chunkLN6RXDTBjs.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
|
+
_chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
5
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
6
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
7
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
10
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,53 +1,54 @@
|
|
|
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 _chunkY2NTPYGSjs = require('./chunk-Y2NTPYGS.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunk4E5JXZ3Wjs = require('./chunk-4E5JXZ3W.js');
|
|
9
|
+
require('./chunk-Q4MNUOS4.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkKWYGWO4Yjs = require('./chunk-KWYGWO4Y.js');
|
|
16
|
+
require('./chunk-TX5TUHJN.js');
|
|
17
17
|
require('./chunk-D3BCSAN7.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
20
|
+
var _chunkIPVRMYWTjs = require('./chunk-IPVRMYWT.js');
|
|
21
|
+
require('./chunk-UNDLNT3V.js');
|
|
22
22
|
require('./chunk-XYIECA7M.js');
|
|
23
23
|
require('./chunk-AID3OYVJ.js');
|
|
24
24
|
require('./chunk-VLEVVDWG.js');
|
|
25
25
|
require('./chunk-J33TSWO5.js');
|
|
26
26
|
require('./chunk-HGFFYVXN.js');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-XBAH3TKU.js');
|
|
28
28
|
require('./chunk-BLMB4N63.js');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-2B4IOGFD.js');
|
|
30
30
|
require('./chunk-E4CABWXL.js');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-CQDQNZGH.js');
|
|
32
32
|
require('./chunk-PMH4GLMD.js');
|
|
33
33
|
require('./chunk-XDVT3GOM.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-SLPJ3LXI.js');
|
|
35
|
+
require('./chunk-LDGZFDUB.js');
|
|
36
|
+
require('./chunk-ZISEH7OL.js');
|
|
37
|
+
require('./chunk-Q5CXV3E3.js');
|
|
38
|
+
require('./chunk-W7AEIGZR.js');
|
|
39
|
+
require('./chunk-ZEV2Y56V.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
require('./chunk-
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
42
|
+
var _chunkHWDKRN7Ljs = require('./chunk-HWDKRN7L.js');
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
|
|
46
|
+
require('./chunk-ZILSRDIN.js');
|
|
47
|
+
require('./chunk-CWSLUNA6.js');
|
|
48
|
+
require('./chunk-2GJZLIKW.js');
|
|
48
49
|
require('./chunk-XNYIZMNQ.js');
|
|
49
|
-
require('./chunk-
|
|
50
|
-
require('./chunk-
|
|
50
|
+
require('./chunk-BBTKAASQ.js');
|
|
51
|
+
require('./chunk-CIDN5K23.js');
|
|
51
52
|
require('./chunk-OG64RBAC.js');
|
|
52
53
|
require('./chunk-RLX5ZFNX.js');
|
|
53
54
|
require('./chunk-COGTRVWW.js');
|
|
@@ -83,7 +84,7 @@ function readInput(options) {
|
|
|
83
84
|
return input;
|
|
84
85
|
}
|
|
85
86
|
function refuse(message, output) {
|
|
86
|
-
|
|
87
|
+
_chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
87
88
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
88
89
|
output
|
|
89
90
|
);
|
|
@@ -99,7 +100,7 @@ async function runAnything(name, options) {
|
|
|
99
100
|
logsOut: options.logsOut,
|
|
100
101
|
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)])
|
|
101
102
|
};
|
|
102
|
-
if (!
|
|
103
|
+
if (!_chunkKWYGWO4Yjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
103
104
|
let input;
|
|
104
105
|
let timeoutMs;
|
|
105
106
|
try {
|
|
@@ -117,7 +118,7 @@ async function runAnything(name, options) {
|
|
|
117
118
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
118
119
|
}
|
|
119
120
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
120
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
121
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-SBDUL3WB.js")));
|
|
121
122
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
122
123
|
}
|
|
123
124
|
} catch (error) {
|
|
@@ -138,7 +139,7 @@ async function runAnything(name, options) {
|
|
|
138
139
|
if (name !== void 0) {
|
|
139
140
|
return refuse("Use a name or -e, not both.", output);
|
|
140
141
|
}
|
|
141
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
142
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WJOWK5PQ.js")));
|
|
142
143
|
let file;
|
|
143
144
|
try {
|
|
144
145
|
file = writeInlinePlay(options.eval);
|
|
@@ -161,23 +162,23 @@ async function runAnything(name, options) {
|
|
|
161
162
|
output
|
|
162
163
|
);
|
|
163
164
|
}
|
|
164
|
-
if (
|
|
165
|
+
if (_chunkY2NTPYGSjs.looksLikeFilePath.call(void 0, name)) {
|
|
165
166
|
output.label = `${name} (play file)`;
|
|
166
167
|
return runPlay(name, play);
|
|
167
168
|
}
|
|
168
169
|
let { base, revision } = splitRevision(name);
|
|
169
|
-
let found = await
|
|
170
|
+
let found = await _chunk4E5JXZ3Wjs.findNamed.call(void 0, base, {});
|
|
170
171
|
if (!found.chosen && revision) {
|
|
171
|
-
found = await
|
|
172
|
+
found = await _chunk4E5JXZ3Wjs.findNamed.call(void 0, name, {});
|
|
172
173
|
if (found.chosen)
|
|
173
174
|
({ base, revision } = { base: name, revision: void 0 });
|
|
174
175
|
}
|
|
175
176
|
const { chosen, shadowed } = found;
|
|
176
|
-
if (!chosen) return refuse(
|
|
177
|
+
if (!chosen) return refuse(_chunk4E5JXZ3Wjs.nothingNamed.call(void 0, base), output);
|
|
177
178
|
const { described } = chosen;
|
|
178
179
|
if (described.kind === "custom_play" && shadowed) {
|
|
179
180
|
console.error(
|
|
180
|
-
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${
|
|
181
|
+
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkIPVRMYWTjs.DEEPLINE_NAMESPACE}${base}`
|
|
181
182
|
);
|
|
182
183
|
}
|
|
183
184
|
const { runner } = described;
|
|
@@ -198,7 +199,7 @@ async function runAnything(name, options) {
|
|
|
198
199
|
if (runner.via === "play") {
|
|
199
200
|
return runPlay(runner.reference, { ...play, revision });
|
|
200
201
|
}
|
|
201
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
202
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-SBDUL3WB.js")));
|
|
202
203
|
return executeToolForReceipt({
|
|
203
204
|
toolId: runner.toolId,
|
|
204
205
|
params: input,
|
|
@@ -212,7 +213,7 @@ function dryRun(described, input, output) {
|
|
|
212
213
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
213
214
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
214
215
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
215
|
-
|
|
216
|
+
_chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
216
217
|
{
|
|
217
218
|
id: null,
|
|
218
219
|
status: "dry_run",
|
|
@@ -229,22 +230,20 @@ function dryRun(described, input, output) {
|
|
|
229
230
|
return missing.length ? 2 : 0;
|
|
230
231
|
}
|
|
231
232
|
async function runPlay(reference, play) {
|
|
232
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
233
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WJOWK5PQ.js")));
|
|
233
234
|
const { output, options, revision } = play;
|
|
234
235
|
if (options.dryRun) {
|
|
235
|
-
const dryRunOptions =
|
|
236
|
+
const dryRunOptions = _chunkY2NTPYGSjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
236
237
|
input: JSON.stringify(play.input),
|
|
237
238
|
dryRun: true,
|
|
238
239
|
json: output.receiptJson === true
|
|
239
240
|
});
|
|
240
241
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
241
|
-
const writeDryRunError = (error) =>
|
|
242
|
+
const writeDryRunError = (error) => _chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
242
243
|
{
|
|
243
244
|
id: null,
|
|
244
245
|
status: "failed",
|
|
245
|
-
error:
|
|
246
|
-
message: error instanceof Error ? error.message : String(error)
|
|
247
|
-
},
|
|
246
|
+
error: _chunkLN6RXDTBjs.errorToJsonPayload.call(void 0, error).error,
|
|
248
247
|
ran: false
|
|
249
248
|
},
|
|
250
249
|
output
|
|
@@ -252,7 +251,7 @@ async function runPlay(reference, play) {
|
|
|
252
251
|
try {
|
|
253
252
|
return await handlePlayRun(dryRunOptions, {
|
|
254
253
|
writeDryRunError,
|
|
255
|
-
writeDryRunPlan: (plan) =>
|
|
254
|
+
writeDryRunPlan: (plan) => _chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
256
255
|
{
|
|
257
256
|
id: null,
|
|
258
257
|
status: "dry_run",
|
|
@@ -263,19 +262,19 @@ async function runPlay(reference, play) {
|
|
|
263
262
|
)
|
|
264
263
|
});
|
|
265
264
|
} catch (error) {
|
|
266
|
-
if (error instanceof
|
|
265
|
+
if (error instanceof _chunkKWYGWO4Yjs.ExecutionOutputError) throw error;
|
|
267
266
|
writeDryRunError(error);
|
|
268
267
|
return 1;
|
|
269
268
|
}
|
|
270
269
|
}
|
|
271
270
|
let id = null;
|
|
272
271
|
let written = false;
|
|
273
|
-
const progress =
|
|
274
|
-
if (!play.noWait) progress.setLogWriter(
|
|
272
|
+
const progress = _chunkHWDKRN7Ljs.createCliProgress.call(void 0, true);
|
|
273
|
+
if (!play.noWait) progress.setLogWriter(_chunkKWYGWO4Yjs.openLogDestination.call(void 0, output));
|
|
275
274
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
276
275
|
try {
|
|
277
276
|
const code = await handlePlayRun(
|
|
278
|
-
|
|
277
|
+
_chunkY2NTPYGSjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
279
278
|
input: JSON.stringify(play.input),
|
|
280
279
|
// The receipt is the only thing on stdout.
|
|
281
280
|
json: true,
|
|
@@ -308,7 +307,7 @@ async function runPlay(reference, play) {
|
|
|
308
307
|
},
|
|
309
308
|
writeStarted: (runId, status, page) => {
|
|
310
309
|
written = true;
|
|
311
|
-
|
|
310
|
+
_chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
312
311
|
{
|
|
313
312
|
id: runId,
|
|
314
313
|
status,
|
|
@@ -324,7 +323,7 @@ async function runPlay(reference, play) {
|
|
|
324
323
|
}
|
|
325
324
|
);
|
|
326
325
|
if (!written) {
|
|
327
|
-
|
|
326
|
+
_chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
328
327
|
{
|
|
329
328
|
id,
|
|
330
329
|
status: "failed",
|
|
@@ -336,13 +335,11 @@ async function runPlay(reference, play) {
|
|
|
336
335
|
return code;
|
|
337
336
|
} catch (error) {
|
|
338
337
|
if (written) throw error;
|
|
339
|
-
|
|
338
|
+
_chunkKWYGWO4Yjs.writeExecutionOutput.call(void 0,
|
|
340
339
|
{
|
|
341
340
|
id,
|
|
342
341
|
status: "failed",
|
|
343
|
-
error:
|
|
344
|
-
message: error instanceof Error ? error.message : String(error)
|
|
345
|
-
},
|
|
342
|
+
error: _chunkLN6RXDTBjs.errorToJsonPayload.call(void 0, error).error,
|
|
346
343
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
347
344
|
},
|
|
348
345
|
output
|
|
@@ -368,7 +365,7 @@ function registerRunCommand(program) {
|
|
|
368
365
|
try {
|
|
369
366
|
process.exitCode = await runAnything(name, options);
|
|
370
367
|
} catch (error) {
|
|
371
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
368
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkKWYGWO4Yjs.ExecutionOutputError)) {
|
|
372
369
|
throw error;
|
|
373
370
|
}
|
|
374
371
|
process.exitCode = 1;
|
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YBMHOH6H.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-OUDTOMZC.mjs";
|
|
9
|
+
import "./chunk-AB2GBOD4.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-LZXZQPA2.mjs";
|
|
16
|
+
import "./chunk-E24UGPGG.mjs";
|
|
17
17
|
import "./chunk-5AEDYVB6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
DEEPLINE_NAMESPACE
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-OLH2PHMC.mjs";
|
|
21
|
+
import "./chunk-OVX3Q5Q3.mjs";
|
|
22
22
|
import "./chunk-7AOFSZJM.mjs";
|
|
23
23
|
import "./chunk-OVDNJAJN.mjs";
|
|
24
24
|
import "./chunk-F6QV42MC.mjs";
|
|
25
25
|
import "./chunk-FR2ILQ4G.mjs";
|
|
26
26
|
import "./chunk-FIVKWNMT.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WC5M3JXE.mjs";
|
|
28
28
|
import "./chunk-2GEYN3H4.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BASLYGXK.mjs";
|
|
30
30
|
import "./chunk-L2VKAASU.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-Z2XA6YU4.mjs";
|
|
32
32
|
import "./chunk-PSX3WHIH.mjs";
|
|
33
33
|
import "./chunk-UBKA33KY.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-KPQHUVYW.mjs";
|
|
35
|
+
import "./chunk-DUYAMLOC.mjs";
|
|
36
|
+
import "./chunk-DQHUJMCL.mjs";
|
|
37
|
+
import "./chunk-2YWJS76L.mjs";
|
|
38
|
+
import "./chunk-JUHDJNSI.mjs";
|
|
39
|
+
import "./chunk-XJD2GYUP.mjs";
|
|
40
40
|
import {
|
|
41
41
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-GF32SBST.mjs";
|
|
43
|
+
import {
|
|
44
|
+
errorToJsonPayload
|
|
45
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
46
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
47
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
48
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
48
49
|
import "./chunk-DLIRSHV6.mjs";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
51
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
51
52
|
import "./chunk-WZYKRD7T.mjs";
|
|
52
53
|
import "./chunk-5JPKRDFC.mjs";
|
|
53
54
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -117,7 +118,7 @@ async function runAnything(name, options) {
|
|
|
117
118
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
118
119
|
}
|
|
119
120
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
120
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
121
|
+
const { parseToolExecuteTimeout } = await import("./tools-52NTHBSJ.mjs");
|
|
121
122
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
122
123
|
}
|
|
123
124
|
} catch (error) {
|
|
@@ -138,7 +139,7 @@ async function runAnything(name, options) {
|
|
|
138
139
|
if (name !== void 0) {
|
|
139
140
|
return refuse("Use a name or -e, not both.", output);
|
|
140
141
|
}
|
|
141
|
-
const { writeInlinePlay } = await import("./play-
|
|
142
|
+
const { writeInlinePlay } = await import("./play-ILW6MSNG.mjs");
|
|
142
143
|
let file;
|
|
143
144
|
try {
|
|
144
145
|
file = writeInlinePlay(options.eval);
|
|
@@ -198,7 +199,7 @@ async function runAnything(name, options) {
|
|
|
198
199
|
if (runner.via === "play") {
|
|
199
200
|
return runPlay(runner.reference, { ...play, revision });
|
|
200
201
|
}
|
|
201
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
202
|
+
const { executeToolForReceipt } = await import("./tools-52NTHBSJ.mjs");
|
|
202
203
|
return executeToolForReceipt({
|
|
203
204
|
toolId: runner.toolId,
|
|
204
205
|
params: input,
|
|
@@ -229,7 +230,7 @@ function dryRun(described, input, output) {
|
|
|
229
230
|
return missing.length ? 2 : 0;
|
|
230
231
|
}
|
|
231
232
|
async function runPlay(reference, play) {
|
|
232
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
233
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-ILW6MSNG.mjs");
|
|
233
234
|
const { output, options, revision } = play;
|
|
234
235
|
if (options.dryRun) {
|
|
235
236
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -242,9 +243,7 @@ async function runPlay(reference, play) {
|
|
|
242
243
|
{
|
|
243
244
|
id: null,
|
|
244
245
|
status: "failed",
|
|
245
|
-
error:
|
|
246
|
-
message: error instanceof Error ? error.message : String(error)
|
|
247
|
-
},
|
|
246
|
+
error: errorToJsonPayload(error).error,
|
|
248
247
|
ran: false
|
|
249
248
|
},
|
|
250
249
|
output
|
|
@@ -340,9 +339,7 @@ async function runPlay(reference, play) {
|
|
|
340
339
|
{
|
|
341
340
|
id,
|
|
342
341
|
status: "failed",
|
|
343
|
-
error:
|
|
344
|
-
message: error instanceof Error ? error.message : String(error)
|
|
345
|
-
},
|
|
342
|
+
error: errorToJsonPayload(error).error,
|
|
346
343
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
347
344
|
},
|
|
348
345
|
output
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkTX5TUHJNjs = require('./chunk-TX5TUHJN.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-XBAH3TKU.js');
|
|
11
|
+
require('./chunk-2B4IOGFD.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-CQDQNZGH.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-LN6RXDTB.js');
|
|
17
|
+
require('./chunk-ZILSRDIN.js');
|
|
18
|
+
require('./chunk-CWSLUNA6.js');
|
|
19
|
+
require('./chunk-2GJZLIKW.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-BBTKAASQ.js');
|
|
22
|
+
require('./chunk-CIDN5K23.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkTX5TUHJNjs.SEARCH_TYPES; exports.appendCsv = _chunkTX5TUHJNjs.appendCsv; exports.parseTypes = _chunkTX5TUHJNjs.parseTypes; exports.pointAtDescribe = _chunkTX5TUHJNjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkTX5TUHJNjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkTX5TUHJNjs.registerSearchCommand;
|
|
@@ -5,22 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E24UGPGG.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-WC5M3JXE.mjs";
|
|
11
|
+
import "./chunk-BASLYGXK.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Z2XA6YU4.mjs";
|
|
14
14
|
import "./chunk-PSX3WHIH.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-QNHHZ63P.mjs";
|
|
16
|
+
import "./chunk-ANUKBZ6W.mjs";
|
|
17
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
18
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
19
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
21
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
22
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
24
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
25
24
|
import "./chunk-KRD6H754.mjs";
|
|
26
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-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
7
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
8
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
9
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
12
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__commonJS,
|