deepline 0.3.536 → 0.3.538
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 +22 -5
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/plays/client-core.ts +18 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +33 -4
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +330 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +717 -133
- package/dist/bundling-sources/shared_libs/play-runtime/coordinator-headers.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-payload-contract.ts +22 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +123 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +480 -0
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +24 -16
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +293 -53
- package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +57 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/budget-state-backend.ts +43 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +141 -9
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-supervisor-sidecar.ts +556 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +155 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/relay-connection-counter.ts +103 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +75 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +59 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +544 -73
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +8 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/detached-runner-readiness-pacing.ts +19 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2390 -110
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +42 -8
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-read-through.ts +287 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-finish.ts +606 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +274 -119
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-traffic-policy.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-work-counters.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-play-run-task.ts +18 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +18 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +219 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-claim-affinity.ts +340 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +623 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +340 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runner-push.ts +61 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +269 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +238 -5
- package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +11 -0
- package/dist/cli/auth-4WEVLYK4.js +43 -0
- package/dist/cli/{auth-KCTCUO7P.mjs → auth-KYH7N7RQ.mjs} +5 -5
- package/dist/cli/{billing-4VBGZ3CT.js → billing-4KTUVZ4S.js} +114 -90
- package/dist/cli/{billing-OOJHKLNS.mjs → billing-WK346KAI.mjs} +31 -7
- package/dist/cli/{chunk-4E5JXZ3W.js → chunk-25RGHJQL.js} +15 -15
- package/dist/cli/{chunk-MSP4DTSD.js → chunk-34PLG5OE.js} +13 -13
- package/dist/cli/{chunk-DQHUJMCL.mjs → chunk-35OCRH5C.mjs} +5 -5
- package/dist/cli/{chunk-2B4IOGFD.js → chunk-3I5TU5XE.js} +292 -279
- package/dist/cli/{chunk-Z7UIOGW4.mjs → chunk-4KZF6OYY.mjs} +3 -3
- package/dist/cli/{chunk-2YWJS76L.mjs → chunk-4NEOGPKD.mjs} +1 -1
- package/dist/cli/{chunk-LZXZQPA2.mjs → chunk-4WQR4DG4.mjs} +1 -1
- package/dist/cli/{chunk-KWYGWO4Y.js → chunk-5VSPRRTI.js} +7 -7
- package/dist/cli/{chunk-ANUKBZ6W.mjs → chunk-6JG3MRTM.mjs} +2 -2
- package/dist/cli/{chunk-VBDZIMWD.js → chunk-6SLQLWWL.js} +26 -26
- package/dist/cli/{chunk-E24UGPGG.mjs → chunk-7XDJKIM2.mjs} +4 -4
- package/dist/cli/{chunk-OUDTOMZC.mjs → chunk-A6E7TCK2.mjs} +5 -5
- package/dist/cli/{chunk-ZZ4MF2GI.js → chunk-ADLDU2QG.js} +6 -6
- package/dist/cli/{chunk-XVZRJJDS.mjs → chunk-ALARRSMZ.mjs} +3 -3
- package/dist/cli/{chunk-HWDKRN7L.js → chunk-B2BTBHX2.js} +3 -3
- package/dist/cli/{chunk-ZISEH7OL.js → chunk-BBS2BLPV.js} +16 -16
- package/dist/cli/{chunk-YRLAUGQY.mjs → chunk-CLO562KG.mjs} +3 -1
- package/dist/cli/{chunk-CXTW7SRW.mjs → chunk-E7D37PLM.mjs} +8 -0
- package/dist/cli/{chunk-SLPJ3LXI.js → chunk-ESX3H7Q7.js} +22 -22
- package/dist/cli/{chunk-AB2GBOD4.mjs → chunk-FJ5KPGCS.mjs} +10 -10
- package/dist/cli/{chunk-DUYAMLOC.mjs → chunk-FWE37N2P.mjs} +1 -1
- package/dist/cli/{chunk-3PCYV6ZJ.mjs → chunk-ICTA5ICE.mjs} +1 -1
- package/dist/cli/{chunk-ZILSRDIN.js → chunk-IMLFB66A.js} +3 -3
- package/dist/cli/{chunk-PNY3BWHP.mjs → chunk-IP3XJTWA.mjs} +2 -2
- package/dist/cli/{chunk-6VUGBQZQ.js → chunk-JCLRSMUP.js} +5 -5
- package/dist/cli/{chunk-YBMHOH6H.mjs → chunk-JPEBKN3K.mjs} +2 -2
- package/dist/cli/{chunk-GF32SBST.mjs → chunk-JTOV5RUA.mjs} +1 -1
- package/dist/cli/{chunk-Q5CXV3E3.js → chunk-KCUQNH4K.js} +2 -2
- package/dist/cli/{chunk-DA2I2M7D.mjs → chunk-KNIYEZVV.mjs} +2 -2
- package/dist/cli/{chunk-CWSLUNA6.js → chunk-LPTBHNGB.js} +7 -5
- package/dist/cli/{chunk-WC5M3JXE.mjs → chunk-M3NCXGNN.mjs} +2 -2
- package/dist/cli/{chunk-TX5TUHJN.js → chunk-MNBIGX6O.js} +10 -10
- package/dist/cli/{chunk-ZEV2Y56V.js → chunk-MYSPQUAO.js} +44 -44
- package/dist/cli/{chunk-KPQHUVYW.mjs → chunk-N2BCPZVR.mjs} +5 -5
- package/dist/cli/{chunk-XBAH3TKU.js → chunk-N5HSG4OV.js} +5 -5
- package/dist/cli/{chunk-GTVZKY3F.js → chunk-O765M4LT.js} +2 -2
- package/dist/cli/{chunk-2FCSUOYN.js → chunk-OOLBE6FR.js} +53 -53
- package/dist/cli/{chunk-W7AEIGZR.js → chunk-P3DP56HB.js} +41 -41
- package/dist/cli/{chunk-LN6RXDTB.js → chunk-PQKD5DMT.js} +19 -19
- package/dist/cli/{chunk-GHLDCLSC.mjs → chunk-T6GPTJ5F.mjs} +1 -1
- package/dist/cli/{chunk-XJD2GYUP.mjs → chunk-TWWYCJJW.mjs} +5 -5
- package/dist/cli/{chunk-BASLYGXK.mjs → chunk-UE7JHAZ2.mjs} +29 -16
- package/dist/cli/{chunk-Q4MNUOS4.js → chunk-UEZNIPFO.js} +107 -107
- package/dist/cli/{chunk-RVSSQPQO.mjs → chunk-VCHV4LS3.mjs} +1 -1
- package/dist/cli/{chunk-LDGZFDUB.js → chunk-VIFLWQXS.js} +2 -2
- package/dist/cli/{chunk-6BBGUQJJ.js → chunk-XTYHZEJ2.js} +8 -0
- package/dist/cli/{chunk-CIDN5K23.js → chunk-YQURGSRB.js} +1 -1
- package/dist/cli/{chunk-Y2NTPYGS.js → chunk-YZ2ZPHWR.js} +9 -9
- package/dist/cli/{chunk-HAJQGP5V.mjs → chunk-ZDLDCXY3.mjs} +2 -2
- package/dist/cli/{chunk-JUHDJNSI.mjs → chunk-ZU6JBRV5.mjs} +4 -4
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-P3HLK4GO.mjs → csv-2YKLUKDR.mjs} +4 -4
- package/dist/cli/{csv-2V2DIFNG.js → csv-LM7FBECI.js} +13 -13
- package/dist/cli/{db-ZYOY3QRQ.mjs → db-234UBWJH.mjs} +6 -6
- package/dist/cli/{db-MREAQVW6.js → db-5PMA4IVW.js} +27 -27
- package/dist/cli/describe-C7GOSGYB.js +49 -0
- package/dist/cli/{describe-IKZFOADR.mjs → describe-W26LW5O7.mjs} +17 -17
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-H5IJ7QSQ.js → executions-3S736GXX.js} +8 -8
- package/dist/cli/{executions-KTSY5M34.mjs → executions-GD7GXTJM.mjs} +6 -6
- package/dist/cli/{feedback-724QK3Z5.js → feedback-BUWTDY4R.js} +14 -14
- package/dist/cli/{feedback-WWJRIXEU.mjs → feedback-GBV5HJJZ.mjs} +6 -6
- package/dist/cli/git-YG36MROC.js +25 -0
- package/dist/cli/{git-R5VRG7X6.mjs → git-YXJGTDQL.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-PWZ5XLAO.mjs → legacy-noops-UJM6GBNP.mjs} +6 -6
- package/dist/cli/{legacy-noops-C6GDEGPU.js → legacy-noops-ZSF64V2U.js} +9 -9
- package/dist/cli/{monitors-WQSKMHAP.mjs → monitors-UERUQ6CT.mjs} +7 -7
- package/dist/cli/{monitors-VAVQ4WCE.js → monitors-XQ2GNH6D.js} +100 -100
- package/dist/cli/{org-MAL4QPVF.mjs → org-CP4VLH6M.mjs} +6 -6
- package/dist/cli/{org-CWWRWXZQ.js → org-IF6MPVNR.js} +86 -86
- package/dist/cli/{play-WJOWK5PQ.js → play-2NHQO5MO.js} +317 -317
- package/dist/cli/{play-ILW6MSNG.mjs → play-ZWDYYVPI.mjs} +17 -17
- package/dist/cli/{providers-4V2NMLZZ.mjs → providers-2CVIATU4.mjs} +6 -6
- package/dist/cli/{providers-W662ANCH.js → providers-LOPXQN56.js} +9 -9
- package/dist/cli/{quickstart-C22BR743.mjs → quickstart-KVCFXLID.mjs} +4 -4
- package/dist/cli/{quickstart-BW6EBUYX.js → quickstart-N4WDEQZY.js} +6 -6
- package/dist/cli/{run-KW7KW4FX.js → run-BDT5LK3I.js} +42 -42
- package/dist/cli/{run-SPAU5IMW.mjs → run-RUXHYWLF.mjs} +22 -22
- package/dist/cli/search-ATDDVADT.js +32 -0
- package/dist/cli/{search-XPC75HLM.mjs → search-BFUTNPA5.mjs} +7 -7
- package/dist/cli/{search-output-VJYE7USJ.js → search-output-CTXI2QZU.js} +6 -6
- package/dist/cli/{search-output-JKYJSEPM.mjs → search-output-WUGH4PZA.mjs} +4 -4
- package/dist/cli/{secrets-YB57KGSB.js → secrets-BZJZYFOU.js} +15 -15
- package/dist/cli/{secrets-OJG73GXQ.mjs → secrets-Z4XQVTC6.mjs} +6 -6
- package/dist/cli/sessions-HNU35AFM.js +22 -0
- package/dist/cli/{sessions-7ZL37BW4.mjs → sessions-VZXR3MQZ.mjs} +6 -6
- package/dist/cli/{settings-RKSQB7FA.mjs → settings-VYEZFR4L.mjs} +12 -12
- package/dist/cli/{settings-A7DD2ZYE.js → settings-WBYA4JMM.js} +85 -85
- package/dist/cli/{setup-S3K5YU62.js → setup-FS2RMSS2.js} +49 -49
- package/dist/cli/{setup-NXDUTITY.mjs → setup-H7KCI4SO.mjs} +9 -9
- package/dist/cli/skills-VPIURCAZ.js +36 -0
- package/dist/cli/{skills-VMFAIDO6.mjs → skills-YQNSJUUG.mjs} +7 -7
- package/dist/cli/tools-273GS5HU.js +56 -0
- package/dist/cli/{tools-52NTHBSJ.mjs → tools-ZF6SVEGW.mjs} +16 -16
- package/dist/cli/{update-SAKBEKMV.mjs → update-RKQNNJM4.mjs} +9 -9
- package/dist/cli/update-TOD3XY55.js +34 -0
- package/dist/cli/{views-ACRV7MD6.mjs → views-JHHOTWDU.mjs} +6 -6
- package/dist/cli/{views-C3GJOBDG.js → views-KN7FEDGT.js} +21 -21
- package/dist/cli/{workflow-ZNWCZEGN.js → workflow-2WHSKTTV.js} +17 -17
- package/dist/cli/{workflow-CS22E7TC.mjs → workflow-AAYLCLWA.mjs} +7 -7
- package/dist/{client-BlLYQDNo.d.mts → client-D0uDBybG.d.mts} +1 -1
- package/dist/{client-DSQlkIDO.d.ts → client-DZTnAv4B.d.ts} +1 -1
- package/dist/{client-core-rX7n2H8U.d.mts → client-core-BhWf8Y1b.d.mts} +15 -2
- package/dist/{client-core-CDwapXy5.d.ts → client-core-og3AP1LL.d.ts} +15 -2
- package/dist/{compiler-manifest-BHNC4RL-.d.mts → compiler-manifest-Bes3OVA3.d.mts} +1 -1
- package/dist/{compiler-manifest-BHNC4RL-.d.ts → compiler-manifest-Bes3OVA3.d.ts} +1 -1
- package/dist/{errors-lhtIWG5Z.d.ts → errors-BJm4lLWc.d.ts} +1 -1
- package/dist/{errors-D7sPXrvB.d.mts → errors-Dc5r42ks.d.mts} +1 -1
- package/dist/{index-CQTBHXHr.d.ts → index-BfV7mRPF.d.ts} +1 -1
- package/dist/{index-NaDZq2xf.d.mts → index-DTkiz_Ur.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +120 -112
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-6XQKFOLG.js +0 -43
- package/dist/cli/describe-WW3OQRLP.js +0 -49
- package/dist/cli/git-PHYRD56H.js +0 -25
- package/dist/cli/search-HLE54W5G.js +0 -32
- package/dist/cli/sessions-VEBYZIEU.js +0 -22
- package/dist/cli/skills-NVQ744CN.js +0 -36
- package/dist/cli/tools-SBDUL3WB.js +0 -56
- package/dist/cli/update-HHVFZPCV.js +0 -34
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JPEBKN3K.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ExecutionOutputError,
|
|
11
11
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
underscoreKeysLast,
|
|
19
19
|
writeExecutionOutput,
|
|
20
20
|
writeRunDatasetCsv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4WQR4DG4.mjs";
|
|
22
22
|
import {
|
|
23
23
|
registerDeprecatedSearchCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7XDJKIM2.mjs";
|
|
25
25
|
import "./chunk-5AEDYVB6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
handleDeploymentGet,
|
|
28
28
|
handleDeploymentsList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KNIYEZVV.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
@@ -51,10 +51,10 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
pinLocalPlayImports,
|
|
53
53
|
planLocalPlayExecution
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IP3XJTWA.mjs";
|
|
55
55
|
import {
|
|
56
56
|
DeeplineClient
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-M3NCXGNN.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
60
60
|
RunEventQueryInputError,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
normalizePlayStatus,
|
|
68
68
|
normalizeRunEventOperationRequest,
|
|
69
69
|
parseLogLevel
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-UE7JHAZ2.mjs";
|
|
71
71
|
import "./chunk-L2VKAASU.mjs";
|
|
72
72
|
import {
|
|
73
73
|
CSV_DATA_INPUT_KEY,
|
|
@@ -91,18 +91,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
91
91
|
import {
|
|
92
92
|
checkPlayRunCompatibility,
|
|
93
93
|
usesCliPlayAdmission
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ZDLDCXY3.mjs";
|
|
95
95
|
import {
|
|
96
96
|
isCliTraceEnabled,
|
|
97
97
|
recordCliTrace,
|
|
98
98
|
resolveCliMaintenancePolicy,
|
|
99
99
|
traceCliSpan
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-FWE37N2P.mjs";
|
|
101
|
+
import "./chunk-TWWYCJJW.mjs";
|
|
102
102
|
import {
|
|
103
103
|
createCliProgress,
|
|
104
104
|
getActiveCliProgress
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-JTOV5RUA.mjs";
|
|
106
106
|
import {
|
|
107
107
|
formatNonStandardSandboxRuntimeWarning
|
|
108
108
|
} from "./chunk-5LUF4LAR.mjs";
|
|
@@ -122,17 +122,17 @@ import {
|
|
|
122
122
|
printJsonError,
|
|
123
123
|
renderCommandEnvelopeText,
|
|
124
124
|
shouldEmitJson
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-6JG3MRTM.mjs";
|
|
126
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
127
127
|
import {
|
|
128
128
|
fetchWithDeploymentProtection
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-CLO562KG.mjs";
|
|
130
130
|
import "./chunk-CQBIO6HW.mjs";
|
|
131
131
|
import "./chunk-DLIRSHV6.mjs";
|
|
132
132
|
import {
|
|
133
133
|
DeeplineError
|
|
134
134
|
} from "./chunk-JL2OTMSG.mjs";
|
|
135
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-T6GPTJ5F.mjs";
|
|
136
136
|
import "./chunk-WZYKRD7T.mjs";
|
|
137
137
|
import {
|
|
138
138
|
__commonJS,
|
|
@@ -16749,7 +16749,7 @@ Examples:
|
|
|
16749
16749
|
process.exitCode = await ownView();
|
|
16750
16750
|
return;
|
|
16751
16751
|
}
|
|
16752
|
-
const { describeAnything } = await import("./describe-
|
|
16752
|
+
const { describeAnything } = await import("./describe-W26LW5O7.mjs");
|
|
16753
16753
|
process.exitCode = await describeAnything(
|
|
16754
16754
|
name,
|
|
16755
16755
|
{
|
|
@@ -17092,7 +17092,7 @@ Examples:
|
|
|
17092
17092
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17093
17093
|
).action(async (runId, options) => {
|
|
17094
17094
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17095
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17095
|
+
const { getToolExecutionReceipt } = await import("./tools-ZF6SVEGW.mjs");
|
|
17096
17096
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17097
17097
|
receiptJson: options.json !== void 0
|
|
17098
17098
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-M3NCXGNN.mjs";
|
|
4
|
+
import "./chunk-UE7JHAZ2.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-Z2XA6YU4.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
@@ -9,13 +9,13 @@ 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-6JG3MRTM.mjs";
|
|
13
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
14
|
+
import "./chunk-CLO562KG.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-T6GPTJ5F.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkN5HSG4OVjs = require('./chunk-N5HSG4OV.js');
|
|
4
|
+
require('./chunk-3I5TU5XE.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-CQDQNZGH.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
@@ -9,21 +9,21 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
|
|
13
|
+
require('./chunk-IMLFB66A.js');
|
|
14
|
+
require('./chunk-LPTBHNGB.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-YQURGSRB.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, _chunkN5HSG4OVjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkPQKD5DMTjs.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
|
+
_chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
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-6JG3MRTM.mjs";
|
|
5
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
6
|
+
import "./chunk-CLO562KG.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-T6GPTJ5F.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 _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
|
|
5
|
+
require('./chunk-IMLFB66A.js');
|
|
6
|
+
require('./chunk-LPTBHNGB.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-YQURGSRB.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 = _chunkPQKD5DMTjs.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
|
+
_chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|
|
@@ -1,19 +1,19 @@
|
|
|
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 _chunkYZ2ZPHWRjs = require('./chunk-YZ2ZPHWR.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunk25RGHJQLjs = require('./chunk-25RGHJQL.js');
|
|
9
|
+
require('./chunk-UEZNIPFO.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunk5VSPRRTIjs = require('./chunk-5VSPRRTI.js');
|
|
16
|
+
require('./chunk-MNBIGX6O.js');
|
|
17
17
|
require('./chunk-D3BCSAN7.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -24,31 +24,31 @@ 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-N5HSG4OV.js');
|
|
28
28
|
require('./chunk-BLMB4N63.js');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-3I5TU5XE.js');
|
|
30
30
|
require('./chunk-E4CABWXL.js');
|
|
31
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-ESX3H7Q7.js');
|
|
35
|
+
require('./chunk-VIFLWQXS.js');
|
|
36
|
+
require('./chunk-BBS2BLPV.js');
|
|
37
|
+
require('./chunk-KCUQNH4K.js');
|
|
38
|
+
require('./chunk-P3DP56HB.js');
|
|
39
|
+
require('./chunk-MYSPQUAO.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkB2BTBHX2js = require('./chunk-B2BTBHX2.js');
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
45
|
+
var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
|
|
46
|
+
require('./chunk-IMLFB66A.js');
|
|
47
|
+
require('./chunk-LPTBHNGB.js');
|
|
48
48
|
require('./chunk-2GJZLIKW.js');
|
|
49
49
|
require('./chunk-XNYIZMNQ.js');
|
|
50
50
|
require('./chunk-BBTKAASQ.js');
|
|
51
|
-
require('./chunk-
|
|
51
|
+
require('./chunk-YQURGSRB.js');
|
|
52
52
|
require('./chunk-OG64RBAC.js');
|
|
53
53
|
require('./chunk-RLX5ZFNX.js');
|
|
54
54
|
require('./chunk-COGTRVWW.js');
|
|
@@ -84,7 +84,7 @@ function readInput(options) {
|
|
|
84
84
|
return input;
|
|
85
85
|
}
|
|
86
86
|
function refuse(message, output) {
|
|
87
|
-
|
|
87
|
+
_chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
88
88
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
89
89
|
output
|
|
90
90
|
);
|
|
@@ -100,7 +100,7 @@ async function runAnything(name, options) {
|
|
|
100
100
|
logsOut: options.logsOut,
|
|
101
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)])
|
|
102
102
|
};
|
|
103
|
-
if (!
|
|
103
|
+
if (!_chunk5VSPRRTIjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
104
104
|
let input;
|
|
105
105
|
let timeoutMs;
|
|
106
106
|
try {
|
|
@@ -118,7 +118,7 @@ async function runAnything(name, options) {
|
|
|
118
118
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
119
119
|
}
|
|
120
120
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
121
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
121
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-273GS5HU.js")));
|
|
122
122
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
123
123
|
}
|
|
124
124
|
} catch (error) {
|
|
@@ -139,7 +139,7 @@ async function runAnything(name, options) {
|
|
|
139
139
|
if (name !== void 0) {
|
|
140
140
|
return refuse("Use a name or -e, not both.", output);
|
|
141
141
|
}
|
|
142
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
142
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2NHQO5MO.js")));
|
|
143
143
|
let file;
|
|
144
144
|
try {
|
|
145
145
|
file = writeInlinePlay(options.eval);
|
|
@@ -162,19 +162,19 @@ async function runAnything(name, options) {
|
|
|
162
162
|
output
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
if (
|
|
165
|
+
if (_chunkYZ2ZPHWRjs.looksLikeFilePath.call(void 0, name)) {
|
|
166
166
|
output.label = `${name} (play file)`;
|
|
167
167
|
return runPlay(name, play);
|
|
168
168
|
}
|
|
169
169
|
let { base, revision } = splitRevision(name);
|
|
170
|
-
let found = await
|
|
170
|
+
let found = await _chunk25RGHJQLjs.findNamed.call(void 0, base, {});
|
|
171
171
|
if (!found.chosen && revision) {
|
|
172
|
-
found = await
|
|
172
|
+
found = await _chunk25RGHJQLjs.findNamed.call(void 0, name, {});
|
|
173
173
|
if (found.chosen)
|
|
174
174
|
({ base, revision } = { base: name, revision: void 0 });
|
|
175
175
|
}
|
|
176
176
|
const { chosen, shadowed } = found;
|
|
177
|
-
if (!chosen) return refuse(
|
|
177
|
+
if (!chosen) return refuse(_chunk25RGHJQLjs.nothingNamed.call(void 0, base), output);
|
|
178
178
|
const { described } = chosen;
|
|
179
179
|
if (described.kind === "custom_play" && shadowed) {
|
|
180
180
|
console.error(
|
|
@@ -199,7 +199,7 @@ async function runAnything(name, options) {
|
|
|
199
199
|
if (runner.via === "play") {
|
|
200
200
|
return runPlay(runner.reference, { ...play, revision });
|
|
201
201
|
}
|
|
202
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
202
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-273GS5HU.js")));
|
|
203
203
|
return executeToolForReceipt({
|
|
204
204
|
toolId: runner.toolId,
|
|
205
205
|
params: input,
|
|
@@ -213,7 +213,7 @@ function dryRun(described, input, output) {
|
|
|
213
213
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
214
214
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
215
215
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
216
|
-
|
|
216
|
+
_chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
217
217
|
{
|
|
218
218
|
id: null,
|
|
219
219
|
status: "dry_run",
|
|
@@ -230,20 +230,20 @@ function dryRun(described, input, output) {
|
|
|
230
230
|
return missing.length ? 2 : 0;
|
|
231
231
|
}
|
|
232
232
|
async function runPlay(reference, play) {
|
|
233
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
233
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2NHQO5MO.js")));
|
|
234
234
|
const { output, options, revision } = play;
|
|
235
235
|
if (options.dryRun) {
|
|
236
|
-
const dryRunOptions =
|
|
236
|
+
const dryRunOptions = _chunkYZ2ZPHWRjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
237
237
|
input: JSON.stringify(play.input),
|
|
238
238
|
dryRun: true,
|
|
239
239
|
json: output.receiptJson === true
|
|
240
240
|
});
|
|
241
241
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
242
|
-
const writeDryRunError = (error) =>
|
|
242
|
+
const writeDryRunError = (error) => _chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
243
243
|
{
|
|
244
244
|
id: null,
|
|
245
245
|
status: "failed",
|
|
246
|
-
error:
|
|
246
|
+
error: _chunkPQKD5DMTjs.errorToJsonPayload.call(void 0, error).error,
|
|
247
247
|
ran: false
|
|
248
248
|
},
|
|
249
249
|
output
|
|
@@ -251,7 +251,7 @@ async function runPlay(reference, play) {
|
|
|
251
251
|
try {
|
|
252
252
|
return await handlePlayRun(dryRunOptions, {
|
|
253
253
|
writeDryRunError,
|
|
254
|
-
writeDryRunPlan: (plan) =>
|
|
254
|
+
writeDryRunPlan: (plan) => _chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
id: null,
|
|
257
257
|
status: "dry_run",
|
|
@@ -262,19 +262,19 @@ async function runPlay(reference, play) {
|
|
|
262
262
|
)
|
|
263
263
|
});
|
|
264
264
|
} catch (error) {
|
|
265
|
-
if (error instanceof
|
|
265
|
+
if (error instanceof _chunk5VSPRRTIjs.ExecutionOutputError) throw error;
|
|
266
266
|
writeDryRunError(error);
|
|
267
267
|
return 1;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
let id = null;
|
|
271
271
|
let written = false;
|
|
272
|
-
const progress =
|
|
273
|
-
if (!play.noWait) progress.setLogWriter(
|
|
272
|
+
const progress = _chunkB2BTBHX2js.createCliProgress.call(void 0, true);
|
|
273
|
+
if (!play.noWait) progress.setLogWriter(_chunk5VSPRRTIjs.openLogDestination.call(void 0, output));
|
|
274
274
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
275
275
|
try {
|
|
276
276
|
const code = await handlePlayRun(
|
|
277
|
-
|
|
277
|
+
_chunkYZ2ZPHWRjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
278
278
|
input: JSON.stringify(play.input),
|
|
279
279
|
// The receipt is the only thing on stdout.
|
|
280
280
|
json: true,
|
|
@@ -307,7 +307,7 @@ async function runPlay(reference, play) {
|
|
|
307
307
|
},
|
|
308
308
|
writeStarted: (runId, status, page) => {
|
|
309
309
|
written = true;
|
|
310
|
-
|
|
310
|
+
_chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
311
311
|
{
|
|
312
312
|
id: runId,
|
|
313
313
|
status,
|
|
@@ -323,7 +323,7 @@ async function runPlay(reference, play) {
|
|
|
323
323
|
}
|
|
324
324
|
);
|
|
325
325
|
if (!written) {
|
|
326
|
-
|
|
326
|
+
_chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
327
327
|
{
|
|
328
328
|
id,
|
|
329
329
|
status: "failed",
|
|
@@ -335,11 +335,11 @@ async function runPlay(reference, play) {
|
|
|
335
335
|
return code;
|
|
336
336
|
} catch (error) {
|
|
337
337
|
if (written) throw error;
|
|
338
|
-
|
|
338
|
+
_chunk5VSPRRTIjs.writeExecutionOutput.call(void 0,
|
|
339
339
|
{
|
|
340
340
|
id,
|
|
341
341
|
status: "failed",
|
|
342
|
-
error:
|
|
342
|
+
error: _chunkPQKD5DMTjs.errorToJsonPayload.call(void 0, error).error,
|
|
343
343
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
344
344
|
},
|
|
345
345
|
output
|
|
@@ -365,7 +365,7 @@ function registerRunCommand(program) {
|
|
|
365
365
|
try {
|
|
366
366
|
process.exitCode = await runAnything(name, options);
|
|
367
367
|
} catch (error) {
|
|
368
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
368
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunk5VSPRRTIjs.ExecutionOutputError)) {
|
|
369
369
|
throw error;
|
|
370
370
|
}
|
|
371
371
|
process.exitCode = 1;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JPEBKN3K.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-A6E7TCK2.mjs";
|
|
9
|
+
import "./chunk-FJ5KPGCS.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-4WQR4DG4.mjs";
|
|
16
|
+
import "./chunk-7XDJKIM2.mjs";
|
|
17
17
|
import "./chunk-5AEDYVB6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
DEEPLINE_NAMESPACE
|
|
@@ -24,31 +24,31 @@ 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-M3NCXGNN.mjs";
|
|
28
28
|
import "./chunk-2GEYN3H4.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-UE7JHAZ2.mjs";
|
|
30
30
|
import "./chunk-L2VKAASU.mjs";
|
|
31
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-N2BCPZVR.mjs";
|
|
35
|
+
import "./chunk-FWE37N2P.mjs";
|
|
36
|
+
import "./chunk-35OCRH5C.mjs";
|
|
37
|
+
import "./chunk-4NEOGPKD.mjs";
|
|
38
|
+
import "./chunk-ZU6JBRV5.mjs";
|
|
39
|
+
import "./chunk-TWWYCJJW.mjs";
|
|
40
40
|
import {
|
|
41
41
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JTOV5RUA.mjs";
|
|
43
43
|
import {
|
|
44
44
|
errorToJsonPayload
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-6JG3MRTM.mjs";
|
|
46
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
47
|
+
import "./chunk-CLO562KG.mjs";
|
|
48
48
|
import "./chunk-CQBIO6HW.mjs";
|
|
49
49
|
import "./chunk-DLIRSHV6.mjs";
|
|
50
50
|
import "./chunk-JL2OTMSG.mjs";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-T6GPTJ5F.mjs";
|
|
52
52
|
import "./chunk-WZYKRD7T.mjs";
|
|
53
53
|
import "./chunk-5JPKRDFC.mjs";
|
|
54
54
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -118,7 +118,7 @@ async function runAnything(name, options) {
|
|
|
118
118
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
119
119
|
}
|
|
120
120
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
121
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
121
|
+
const { parseToolExecuteTimeout } = await import("./tools-ZF6SVEGW.mjs");
|
|
122
122
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
123
123
|
}
|
|
124
124
|
} catch (error) {
|
|
@@ -139,7 +139,7 @@ async function runAnything(name, options) {
|
|
|
139
139
|
if (name !== void 0) {
|
|
140
140
|
return refuse("Use a name or -e, not both.", output);
|
|
141
141
|
}
|
|
142
|
-
const { writeInlinePlay } = await import("./play-
|
|
142
|
+
const { writeInlinePlay } = await import("./play-ZWDYYVPI.mjs");
|
|
143
143
|
let file;
|
|
144
144
|
try {
|
|
145
145
|
file = writeInlinePlay(options.eval);
|
|
@@ -199,7 +199,7 @@ async function runAnything(name, options) {
|
|
|
199
199
|
if (runner.via === "play") {
|
|
200
200
|
return runPlay(runner.reference, { ...play, revision });
|
|
201
201
|
}
|
|
202
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
202
|
+
const { executeToolForReceipt } = await import("./tools-ZF6SVEGW.mjs");
|
|
203
203
|
return executeToolForReceipt({
|
|
204
204
|
toolId: runner.toolId,
|
|
205
205
|
params: input,
|
|
@@ -230,7 +230,7 @@ function dryRun(described, input, output) {
|
|
|
230
230
|
return missing.length ? 2 : 0;
|
|
231
231
|
}
|
|
232
232
|
async function runPlay(reference, play) {
|
|
233
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
233
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-ZWDYYVPI.mjs");
|
|
234
234
|
const { output, options, revision } = play;
|
|
235
235
|
if (options.dryRun) {
|
|
236
236
|
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 _chunkMNBIGX6Ojs = require('./chunk-MNBIGX6O.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-N5HSG4OV.js');
|
|
11
|
+
require('./chunk-3I5TU5XE.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-CQDQNZGH.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-PQKD5DMT.js');
|
|
17
|
+
require('./chunk-IMLFB66A.js');
|
|
18
|
+
require('./chunk-LPTBHNGB.js');
|
|
19
|
+
require('./chunk-2GJZLIKW.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-BBTKAASQ.js');
|
|
22
|
+
require('./chunk-YQURGSRB.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkMNBIGX6Ojs.SEARCH_TYPES; exports.appendCsv = _chunkMNBIGX6Ojs.appendCsv; exports.parseTypes = _chunkMNBIGX6Ojs.parseTypes; exports.pointAtDescribe = _chunkMNBIGX6Ojs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkMNBIGX6Ojs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkMNBIGX6Ojs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7XDJKIM2.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-M3NCXGNN.mjs";
|
|
11
|
+
import "./chunk-UE7JHAZ2.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
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-
|
|
16
|
+
import "./chunk-6JG3MRTM.mjs";
|
|
17
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
18
|
+
import "./chunk-CLO562KG.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-T6GPTJ5F.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|