deepline 0.3.550 → 0.3.552
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 +23 -0
- package/dist/bundling-sources/sdk/src/http-core.ts +6 -2
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +58 -29
- package/dist/bundling-sources/sdk/src/types.ts +22 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +80 -13
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
- package/dist/bundling-sources/shared_libs/monitors/tamradar-countries.ts +285 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +163 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +137 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +20 -16
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +47 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +48 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +102 -29
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +37 -7
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
- package/dist/cli/{auth-UJCAHGZG.mjs → auth-KVSBJZOX.mjs} +5 -5
- package/dist/cli/auth-MMNVWATX.js +43 -0
- package/dist/cli/{billing-RYWMI7JJ.mjs → billing-54RHFEBI.mjs} +20 -13
- package/dist/cli/{billing-VO2O5O5O.js → billing-FQREA7UA.js} +109 -102
- package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
- package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
- package/dist/cli/{chunk-SBNNK73L.js → chunk-3FD5EQ62.js} +6 -6
- package/dist/cli/{chunk-JLFOQRWM.js → chunk-45PVGZST.js} +270 -270
- package/dist/cli/{chunk-YSYOQYZE.js → chunk-4MK42735.js} +48 -44
- package/dist/cli/{chunk-2IW5GKB4.js → chunk-4NQF6KJ3.js} +13 -13
- package/dist/cli/{chunk-72NXIFOT.mjs → chunk-4TALT2M3.mjs} +1 -1
- package/dist/cli/{chunk-ADWMIZCB.js → chunk-4UUR4TCH.js} +22 -13
- package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-57VZVF5D.mjs} +3 -3
- package/dist/cli/{chunk-5J3TRWTB.js → chunk-634ZDA3F.js} +1 -1
- package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-6O5HOODW.mjs} +13 -13
- package/dist/cli/{chunk-HCFH2V27.mjs → chunk-6PRW5UBA.mjs} +3 -2
- package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-6RZOWL2V.mjs} +1 -1
- package/dist/cli/{chunk-JKLDCFY5.js → chunk-6YCA5NKJ.js} +11 -11
- package/dist/cli/{chunk-5LUF4LAR.mjs → chunk-6ZORHRKB.mjs} +1 -0
- package/dist/cli/{chunk-DGUTBLXF.js → chunk-77AAAGVB.js} +3 -2
- package/dist/cli/{chunk-OKNOQRQ3.js → chunk-7IKQKKNX.js} +3 -3
- package/dist/cli/{chunk-JYUIIDZO.js → chunk-ADRC5I3R.js} +23 -22
- package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-AQWQ2BFX.mjs} +1 -1
- package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-AWJPDPMA.mjs} +1 -1
- package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-AZQ264ID.mjs} +1 -1
- package/dist/cli/{chunk-EU23QOJ6.js → chunk-BAIST2BR.js} +26 -26
- package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
- package/dist/cli/{chunk-COHCKZQK.mjs → chunk-DJ2JDK4O.mjs} +2 -1
- package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-EOPEYCY7.mjs} +3 -3
- package/dist/cli/{chunk-LUULRAQB.mjs → chunk-EUPVF4SU.mjs} +10 -7
- package/dist/cli/{chunk-TB3WT76F.js → chunk-F2LH7TGF.js} +23 -20
- package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-FTJLJCE5.mjs} +2 -2
- package/dist/cli/{chunk-3WG2GURT.js → chunk-G4O75EXF.js} +9 -9
- package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
- package/dist/cli/{chunk-R5CYKRA2.js → chunk-GKYAYLRI.js} +12 -12
- package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
- package/dist/cli/{chunk-LWHWMU4V.js → chunk-HO3XK3R7.js} +7 -7
- package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-HYC4MKGK.mjs} +3 -3
- package/dist/cli/{chunk-KSUTNW3X.js → chunk-IDVVIXPJ.js} +42 -41
- package/dist/cli/{chunk-BJO7ZXAK.js → chunk-IHRKLXZN.js} +5 -5
- package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-IYSTRCLX.mjs} +5 -4
- package/dist/cli/{chunk-SMLWC7PM.js → chunk-JWUAX6OP.js} +10 -10
- package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
- package/dist/cli/{chunk-I62PCYU6.js → chunk-MF2GHZDO.js} +2 -2
- package/dist/cli/{chunk-XKE2PGZ2.js → chunk-PFO3ISXA.js} +26 -15
- package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-PTVD2GVQ.mjs} +6 -5
- package/dist/cli/{chunk-QD2KT7II.mjs → chunk-QAORXEY3.mjs} +2 -2
- package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-QILKGXYF.mjs} +2 -2
- package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-QPKH23EC.mjs} +4 -4
- package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-QX7LFGJR.mjs} +18 -9
- package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-QY3ZNU6Z.mjs} +2 -2
- package/dist/cli/{chunk-MJDQZYKO.js → chunk-RBEUVDZF.js} +10 -6
- package/dist/cli/{chunk-RS6ZSKX6.js → chunk-RQZQVFCJ.js} +2 -2
- package/dist/cli/{chunk-QNWNR6DG.js → chunk-S46HWQKO.js} +53 -53
- package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-S5S355UY.mjs} +2 -2
- package/dist/cli/{chunk-NM3AYEDI.js → chunk-SHLFOPD6.js} +5 -5
- package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-U7QRMBIY.mjs} +2 -2
- package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
- package/dist/cli/{chunk-R7J7CJPZ.js → chunk-V436Z54K.js} +1 -0
- package/dist/cli/{chunk-RINUMR6C.js → chunk-VQALXEXO.js} +20 -19
- package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-WE5HES3H.mjs} +7 -5
- package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
- package/dist/cli/{chunk-SZNX3XU3.js → chunk-WLN3SUIA.js} +3 -3
- package/dist/cli/{chunk-3W44AJOE.js → chunk-XVB7V4N7.js} +18 -16
- package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-YJHE3O5M.mjs} +9 -5
- package/dist/cli/{chunk-GVW5V562.mjs → chunk-YLTMXJFC.mjs} +7 -3
- package/dist/cli/{chunk-TL3WIXDH.mjs → chunk-Z5TSLLOW.mjs} +19 -8
- package/dist/cli/{chunk-KLQILE2I.mjs → chunk-ZIAXDBXX.mjs} +2 -2
- package/dist/cli/command-docs.js +4 -4
- package/dist/cli/command-docs.mjs +3 -3
- package/dist/cli/concurrent-runs-help-FQAIHKKC.js +21 -0
- package/dist/cli/{concurrent-runs-help-766HVJR3.mjs → concurrent-runs-help-Q4KPAUJX.mjs} +7 -7
- package/dist/cli/{csv-VU52KZOX.mjs → csv-2PTVDNO6.mjs} +10 -5
- package/dist/cli/{csv-4DZKGYCU.js → csv-F5VAGX4K.js} +19 -14
- package/dist/cli/{db-UBGW373S.mjs → db-IEDXAUF7.mjs} +6 -6
- package/dist/cli/{db-KPIH4HPW.js → db-Z3OIUFMM.js} +27 -27
- package/dist/cli/{describe-NGITP6RA.mjs → describe-QDANCTS3.mjs} +21 -21
- package/dist/cli/describe-VUTT5ZKU.js +50 -0
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-G3X25U3V.js → executions-H6H5655J.js} +8 -8
- package/dist/cli/{executions-CO5UF3CV.mjs → executions-R3LP74QN.mjs} +6 -6
- package/dist/cli/{feedback-ZYF65WPH.js → feedback-VFOUR66B.js} +14 -14
- package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-WL3MRVT5.mjs} +6 -6
- package/dist/cli/git-ETB3GH3K.js +25 -0
- package/dist/cli/{git-AYJD5CLS.mjs → git-YX2J4GCI.mjs} +5 -5
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-LKEGGTZO.mjs → integrations-5ZK5KLVP.mjs} +7 -7
- package/dist/cli/{integrations-GSXXJ4CF.js → integrations-E2JZYKHS.js} +15 -15
- package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-3VW4IJTH.js} +9 -9
- package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-SMN3GSXY.mjs} +6 -6
- package/dist/cli/{mcp-RTNC6LP3.js → mcp-UQV2K4EW.js} +24 -24
- package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-V6MGCYAG.mjs} +4 -4
- package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-GGKS5W6M.mjs} +7 -7
- package/dist/cli/{monitors-WMWB6EKQ.js → monitors-R3BBDCRC.js} +100 -100
- package/dist/cli/{org-33Q7CXJB.js → org-GRYVMNSW.js} +88 -88
- package/dist/cli/{org-ZXUSYREQ.mjs → org-Z37NGJV4.mjs} +6 -6
- package/dist/cli/{play-N24XV6TI.js → play-2MVO27VO.js} +332 -332
- package/dist/cli/{play-IPWFGNRE.mjs → play-MDWPR4XG.mjs} +19 -19
- package/dist/cli/{providers-AUI7MMQS.js → providers-2AACRUZH.js} +9 -9
- package/dist/cli/{providers-MSVE7UZS.mjs → providers-AKDYFZJZ.mjs} +6 -6
- package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-H6IV3PV3.js} +6 -6
- package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-QDGRJFZY.mjs} +4 -4
- package/dist/cli/{run-UTIX7CJY.js → run-2634REDK.js} +47 -47
- package/dist/cli/{run-EYTT2DHO.mjs → run-RTSQNGRD.mjs} +26 -26
- package/dist/cli/{search-FVE7PM72.mjs → search-6AOJ4XPP.mjs} +7 -7
- package/dist/cli/search-VTW2YNBS.js +32 -0
- package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-6ADMTOU5.mjs} +40 -10
- package/dist/cli/{search-output-O463JNLR.js → search-output-S5ODBL5E.js} +43 -13
- package/dist/cli/{secrets-TWZ2GO73.js → secrets-LHCIIHMT.js} +15 -15
- package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-TFIFBFB3.mjs} +6 -6
- package/dist/cli/sessions-CJ4FJ2WB.js +22 -0
- package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-WHBVUHVW.mjs} +6 -6
- package/dist/cli/{settings-SCR654U7.js → settings-CP4FVK2W.js} +85 -85
- package/dist/cli/{settings-4JFKCKII.mjs → settings-EBONWL5C.mjs} +12 -12
- package/dist/cli/{setup-Q2YOPGOI.mjs → setup-I5AZE3IU.mjs} +15 -10
- package/dist/cli/{setup-O6GH3UWT.js → setup-LFGHTNLQ.js} +55 -50
- package/dist/cli/skills-R7EBXREW.js +36 -0
- package/dist/cli/{skills-QHPZ6H2G.mjs → skills-W76AO5XE.mjs} +7 -7
- package/dist/cli/{tools-YO22H46E.mjs → tools-7IJHGF6W.mjs} +19 -19
- package/dist/cli/tools-V7U2BDXM.js +57 -0
- package/dist/cli/update-4COPZETK.js +34 -0
- package/dist/cli/{update-WHBC5IHE.mjs → update-GFOPZTHY.mjs} +9 -9
- package/dist/cli/{views-4CZJ5BLG.js → views-BPL2TQJ4.js} +21 -21
- package/dist/cli/{views-XNLXV2BT.mjs → views-D4NX4SBG.mjs} +6 -6
- package/dist/cli/{workflow-QUWP2CG2.mjs → workflow-YXP42FUI.mjs} +7 -7
- package/dist/cli/{workflow-C4VBARIE.js → workflow-ZYNAUCKC.js} +17 -17
- package/dist/{client-Ceo295L2.d.ts → client-Bf3IpUKN.d.ts} +1 -1
- package/dist/{client-BEJqhQAj.d.mts → client-CyXGrO4D.d.mts} +1 -1
- package/dist/{client-core-BPYuWfBC.d.ts → client-core-BWd0lX0Z.d.ts} +110 -4
- package/dist/{client-core-BqetRxx-.d.mts → client-core-BxsLnXlm.d.mts} +110 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +127 -126
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +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 +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-J4OW5RNJ.js +0 -43
- package/dist/cli/chunk-NIPLY25A.mjs +0 -7
- package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
- package/dist/cli/describe-4BI6E2CM.js +0 -50
- package/dist/cli/git-QRZP4DNA.js +0 -25
- package/dist/cli/search-CQ6JG2EN.js +0 -32
- package/dist/cli/sessions-LMPXUPUH.js +0 -22
- package/dist/cli/skills-M4CFE65Z.js +0 -36
- package/dist/cli/tools-CV7XA2V6.js +0 -57
- package/dist/cli/update-PUWBKPWJ.js +0 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleDeploymentGet,
|
|
3
3
|
handleDeploymentsList
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S5S355UY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS,
|
|
7
7
|
MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parsePlayRunHeaderFlag,
|
|
10
10
|
parsePlayRunOptions,
|
|
11
11
|
resolvePlayRunCliOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U7QRMBIY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ExecutionOutputError,
|
|
15
15
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
underscoreKeysLast,
|
|
23
23
|
writeExecutionOutput,
|
|
24
24
|
writeRunDatasetCsv
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FTJLJCE5.mjs";
|
|
26
26
|
import {
|
|
27
27
|
registerDeprecatedSearchCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QPKH23EC.mjs";
|
|
29
29
|
import "./chunk-5AEDYVB6.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
32
32
|
buildPlayRunUrl
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GGGAEVCX.mjs";
|
|
34
34
|
import {
|
|
35
35
|
shellQuote
|
|
36
36
|
} from "./chunk-OVDNJAJN.mjs";
|
|
@@ -51,10 +51,10 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
pinLocalPlayImports,
|
|
53
53
|
planLocalPlayExecution
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-QILKGXYF.mjs";
|
|
55
55
|
import {
|
|
56
56
|
DeeplineClient
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-QY3ZNU6Z.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-Z5TSLLOW.mjs";
|
|
71
71
|
import "./chunk-FZHMNK6F.mjs";
|
|
72
72
|
import {
|
|
73
73
|
CSV_DATA_INPUT_KEY,
|
|
@@ -91,21 +91,21 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
91
91
|
import {
|
|
92
92
|
checkPlayRunCompatibility,
|
|
93
93
|
usesCliPlayAdmission
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-QAORXEY3.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-6RZOWL2V.mjs";
|
|
101
|
+
import "./chunk-YJHE3O5M.mjs";
|
|
102
102
|
import {
|
|
103
103
|
createCliProgress,
|
|
104
104
|
getActiveCliProgress
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-AZQ264ID.mjs";
|
|
106
106
|
import {
|
|
107
107
|
formatNonStandardSandboxRuntimeWarning
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-6ZORHRKB.mjs";
|
|
109
109
|
import {
|
|
110
110
|
STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS,
|
|
111
111
|
resolvePlaySandboxRuntimeLimits
|
|
@@ -123,17 +123,17 @@ import {
|
|
|
123
123
|
printJsonError,
|
|
124
124
|
renderCommandEnvelopeText,
|
|
125
125
|
shouldEmitJson
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import "./chunk-
|
|
126
|
+
} from "./chunk-6PRW5UBA.mjs";
|
|
127
|
+
import "./chunk-4TALT2M3.mjs";
|
|
128
128
|
import {
|
|
129
129
|
fetchWithDeploymentProtection
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-YLTMXJFC.mjs";
|
|
131
131
|
import "./chunk-NURW5XH4.mjs";
|
|
132
132
|
import "./chunk-DLIRSHV6.mjs";
|
|
133
133
|
import {
|
|
134
134
|
DeeplineError
|
|
135
135
|
} from "./chunk-JL2OTMSG.mjs";
|
|
136
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-AQWQ2BFX.mjs";
|
|
137
137
|
import "./chunk-WZYKRD7T.mjs";
|
|
138
138
|
import {
|
|
139
139
|
__commonJS,
|
|
@@ -17564,7 +17564,7 @@ Examples:
|
|
|
17564
17564
|
process.exitCode = await ownView();
|
|
17565
17565
|
return;
|
|
17566
17566
|
}
|
|
17567
|
-
const { describeAnything } = await import("./describe-
|
|
17567
|
+
const { describeAnything } = await import("./describe-QDANCTS3.mjs");
|
|
17568
17568
|
process.exitCode = await describeAnything(
|
|
17569
17569
|
name,
|
|
17570
17570
|
{
|
|
@@ -17907,7 +17907,7 @@ Examples:
|
|
|
17907
17907
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17908
17908
|
).action(async (runId, options) => {
|
|
17909
17909
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17910
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17910
|
+
const { getToolExecutionReceipt } = await import("./tools-7IJHGF6W.mjs");
|
|
17911
17911
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17912
17912
|
receiptJson: options.json !== void 0
|
|
17913
17913
|
});
|
|
@@ -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 _chunkSHLFOPD6js = require('./chunk-SHLFOPD6.js');
|
|
4
|
+
require('./chunk-PFO3ISXA.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-SL6MYJYM.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 _chunkVQALXEXOjs = require('./chunk-VQALXEXO.js');
|
|
13
|
+
require('./chunk-7IKQKKNX.js');
|
|
14
|
+
require('./chunk-RBEUVDZF.js');
|
|
15
15
|
require('./chunk-EITMD3A5.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-BBTKAASQ.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-634ZDA3F.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, _chunkSHLFOPD6js.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkVQALXEXOjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -43,7 +43,7 @@ async function listProviders(options = {}) {
|
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
_chunkVQALXEXOjs.printCommandEnvelope.call(void 0,
|
|
47
47
|
{
|
|
48
48
|
providers,
|
|
49
49
|
count: providers.length,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QY3ZNU6Z.mjs";
|
|
4
|
+
import "./chunk-Z5TSLLOW.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-LX35AXTN.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-6PRW5UBA.mjs";
|
|
13
|
+
import "./chunk-4TALT2M3.mjs";
|
|
14
|
+
import "./chunk-YLTMXJFC.mjs";
|
|
15
15
|
import "./chunk-NURW5XH4.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-JL2OTMSG.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-AQWQ2BFX.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -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 _chunkVQALXEXOjs = require('./chunk-VQALXEXO.js');
|
|
5
|
+
require('./chunk-7IKQKKNX.js');
|
|
6
|
+
require('./chunk-RBEUVDZF.js');
|
|
7
7
|
require('./chunk-EITMD3A5.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-BBTKAASQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-634ZDA3F.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 = _chunkVQALXEXOjs.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
|
+
_chunkVQALXEXOjs.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-
|
|
4
|
+
} from "./chunk-6PRW5UBA.mjs";
|
|
5
|
+
import "./chunk-4TALT2M3.mjs";
|
|
6
|
+
import "./chunk-YLTMXJFC.mjs";
|
|
7
7
|
import "./chunk-NURW5XH4.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-JL2OTMSG.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-AQWQ2BFX.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,55 +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 _chunkG4O75EXFjs = require('./chunk-G4O75EXF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkF2LH7TGFjs = require('./chunk-F2LH7TGF.js');
|
|
9
|
+
require('./chunk-45PVGZST.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
15
|
+
var _chunk6YCA5NKJjs = require('./chunk-6YCA5NKJ.js');
|
|
16
|
+
require('./chunk-GKYAYLRI.js');
|
|
17
|
+
require('./chunk-JWUAX6OP.js');
|
|
18
18
|
require('./chunk-D3BCSAN7.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
21
|
+
var _chunkKWSH5T7Kjs = require('./chunk-KWSH5T7K.js');
|
|
22
|
+
require('./chunk-UPMRIVZB.js');
|
|
23
|
+
require('./chunk-2WFPHBR4.js');
|
|
24
24
|
require('./chunk-AID3OYVJ.js');
|
|
25
25
|
require('./chunk-CSPHSNBW.js');
|
|
26
26
|
require('./chunk-J33TSWO5.js');
|
|
27
27
|
require('./chunk-HGFFYVXN.js');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-SHLFOPD6.js');
|
|
29
29
|
require('./chunk-BLMB4N63.js');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-PFO3ISXA.js');
|
|
31
31
|
require('./chunk-4WAM6TLD.js');
|
|
32
32
|
require('./chunk-SL6MYJYM.js');
|
|
33
33
|
require('./chunk-PMH4GLMD.js');
|
|
34
34
|
require('./chunk-XDVT3GOM.js');
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
40
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-ADRC5I3R.js');
|
|
36
|
+
require('./chunk-MF2GHZDO.js');
|
|
37
|
+
require('./chunk-XVB7V4N7.js');
|
|
38
|
+
require('./chunk-77AAAGVB.js');
|
|
39
|
+
require('./chunk-IDVVIXPJ.js');
|
|
40
|
+
require('./chunk-4MK42735.js');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkWLN3SUIAjs = require('./chunk-WLN3SUIA.js');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
46
|
+
var _chunkVQALXEXOjs = require('./chunk-VQALXEXO.js');
|
|
47
|
+
require('./chunk-7IKQKKNX.js');
|
|
48
|
+
require('./chunk-RBEUVDZF.js');
|
|
49
49
|
require('./chunk-EITMD3A5.js');
|
|
50
50
|
require('./chunk-XNYIZMNQ.js');
|
|
51
51
|
require('./chunk-BBTKAASQ.js');
|
|
52
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-634ZDA3F.js');
|
|
53
53
|
require('./chunk-OG64RBAC.js');
|
|
54
54
|
require('./chunk-RLX5ZFNX.js');
|
|
55
55
|
require('./chunk-COGTRVWW.js');
|
|
@@ -85,7 +85,7 @@ function readInput(options) {
|
|
|
85
85
|
return input;
|
|
86
86
|
}
|
|
87
87
|
function refuse(message, output) {
|
|
88
|
-
|
|
88
|
+
_chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
89
89
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
90
90
|
output
|
|
91
91
|
);
|
|
@@ -101,7 +101,7 @@ async function runAnything(name, options) {
|
|
|
101
101
|
logsOut: options.logsOut,
|
|
102
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)])
|
|
103
103
|
};
|
|
104
|
-
if (!
|
|
104
|
+
if (!_chunk6YCA5NKJjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
105
105
|
let input;
|
|
106
106
|
let timeoutMs;
|
|
107
107
|
try {
|
|
@@ -119,7 +119,7 @@ async function runAnything(name, options) {
|
|
|
119
119
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
120
|
}
|
|
121
121
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
122
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-V7U2BDXM.js")));
|
|
123
123
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
124
|
}
|
|
125
125
|
} catch (error) {
|
|
@@ -140,7 +140,7 @@ async function runAnything(name, options) {
|
|
|
140
140
|
if (name !== void 0) {
|
|
141
141
|
return refuse("Use a name or -e, not both.", output);
|
|
142
142
|
}
|
|
143
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
143
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2MVO27VO.js")));
|
|
144
144
|
let file;
|
|
145
145
|
try {
|
|
146
146
|
file = writeInlinePlay(options.eval);
|
|
@@ -163,23 +163,23 @@ async function runAnything(name, options) {
|
|
|
163
163
|
output
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
|
-
if (
|
|
166
|
+
if (_chunkG4O75EXFjs.looksLikeFilePath.call(void 0, name)) {
|
|
167
167
|
output.label = `${name} (play file)`;
|
|
168
168
|
return runPlay(name, play);
|
|
169
169
|
}
|
|
170
170
|
let { base, revision } = splitRevision(name);
|
|
171
|
-
let found = await
|
|
171
|
+
let found = await _chunkF2LH7TGFjs.findNamed.call(void 0, base, {});
|
|
172
172
|
if (!found.chosen && revision) {
|
|
173
|
-
found = await
|
|
173
|
+
found = await _chunkF2LH7TGFjs.findNamed.call(void 0, name, {});
|
|
174
174
|
if (found.chosen)
|
|
175
175
|
({ base, revision } = { base: name, revision: void 0 });
|
|
176
176
|
}
|
|
177
177
|
const { chosen, shadowed } = found;
|
|
178
|
-
if (!chosen) return refuse(
|
|
178
|
+
if (!chosen) return refuse(_chunkF2LH7TGFjs.nothingNamed.call(void 0, base), output);
|
|
179
179
|
const { described } = chosen;
|
|
180
180
|
if (described.kind === "custom_play" && shadowed) {
|
|
181
181
|
console.error(
|
|
182
|
-
`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 ${_chunkKWSH5T7Kjs.DEEPLINE_NAMESPACE}${base}`
|
|
183
183
|
);
|
|
184
184
|
}
|
|
185
185
|
const { runner } = described;
|
|
@@ -200,7 +200,7 @@ async function runAnything(name, options) {
|
|
|
200
200
|
if (runner.via === "play") {
|
|
201
201
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
202
|
}
|
|
203
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
203
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-V7U2BDXM.js")));
|
|
204
204
|
return executeToolForReceipt({
|
|
205
205
|
toolId: runner.toolId,
|
|
206
206
|
params: input,
|
|
@@ -214,7 +214,7 @@ function dryRun(described, input, output) {
|
|
|
214
214
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
215
215
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
216
216
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
217
|
-
|
|
217
|
+
_chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
218
218
|
{
|
|
219
219
|
id: null,
|
|
220
220
|
status: "dry_run",
|
|
@@ -231,20 +231,20 @@ function dryRun(described, input, output) {
|
|
|
231
231
|
return missing.length ? 2 : 0;
|
|
232
232
|
}
|
|
233
233
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
234
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-2MVO27VO.js")));
|
|
235
235
|
const { output, options, revision } = play;
|
|
236
236
|
if (options.dryRun) {
|
|
237
|
-
const dryRunOptions =
|
|
237
|
+
const dryRunOptions = _chunkG4O75EXFjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
238
238
|
input: JSON.stringify(play.input),
|
|
239
239
|
dryRun: true,
|
|
240
240
|
json: output.receiptJson === true
|
|
241
241
|
});
|
|
242
242
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
243
|
-
const writeDryRunError = (error) =>
|
|
243
|
+
const writeDryRunError = (error) => _chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
244
244
|
{
|
|
245
245
|
id: null,
|
|
246
246
|
status: "failed",
|
|
247
|
-
error:
|
|
247
|
+
error: _chunkVQALXEXOjs.errorToJsonPayload.call(void 0, error).error,
|
|
248
248
|
ran: false
|
|
249
249
|
},
|
|
250
250
|
output
|
|
@@ -252,7 +252,7 @@ async function runPlay(reference, play) {
|
|
|
252
252
|
try {
|
|
253
253
|
return await handlePlayRun(dryRunOptions, {
|
|
254
254
|
writeDryRunError,
|
|
255
|
-
writeDryRunPlan: (plan) =>
|
|
255
|
+
writeDryRunPlan: (plan) => _chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
256
256
|
{
|
|
257
257
|
id: null,
|
|
258
258
|
status: "dry_run",
|
|
@@ -263,19 +263,19 @@ async function runPlay(reference, play) {
|
|
|
263
263
|
)
|
|
264
264
|
});
|
|
265
265
|
} catch (error) {
|
|
266
|
-
if (error instanceof
|
|
266
|
+
if (error instanceof _chunk6YCA5NKJjs.ExecutionOutputError) throw error;
|
|
267
267
|
writeDryRunError(error);
|
|
268
268
|
return 1;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
let id = null;
|
|
272
272
|
let written = false;
|
|
273
|
-
const progress =
|
|
274
|
-
if (!play.noWait) progress.setLogWriter(
|
|
273
|
+
const progress = _chunkWLN3SUIAjs.createCliProgress.call(void 0, true);
|
|
274
|
+
if (!play.noWait) progress.setLogWriter(_chunk6YCA5NKJjs.openLogDestination.call(void 0, output));
|
|
275
275
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
276
276
|
try {
|
|
277
277
|
const code = await handlePlayRun(
|
|
278
|
-
|
|
278
|
+
_chunkG4O75EXFjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
279
279
|
input: JSON.stringify(play.input),
|
|
280
280
|
// The receipt is the only thing on stdout.
|
|
281
281
|
json: true,
|
|
@@ -308,7 +308,7 @@ async function runPlay(reference, play) {
|
|
|
308
308
|
},
|
|
309
309
|
writeStarted: (runId, status, page) => {
|
|
310
310
|
written = true;
|
|
311
|
-
|
|
311
|
+
_chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
312
312
|
{
|
|
313
313
|
id: runId,
|
|
314
314
|
status,
|
|
@@ -324,7 +324,7 @@ async function runPlay(reference, play) {
|
|
|
324
324
|
}
|
|
325
325
|
);
|
|
326
326
|
if (!written) {
|
|
327
|
-
|
|
327
|
+
_chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
328
328
|
{
|
|
329
329
|
id,
|
|
330
330
|
status: "failed",
|
|
@@ -336,11 +336,11 @@ async function runPlay(reference, play) {
|
|
|
336
336
|
return code;
|
|
337
337
|
} catch (error) {
|
|
338
338
|
if (written) throw error;
|
|
339
|
-
|
|
339
|
+
_chunk6YCA5NKJjs.writeExecutionOutput.call(void 0,
|
|
340
340
|
{
|
|
341
341
|
id,
|
|
342
342
|
status: "failed",
|
|
343
|
-
error:
|
|
343
|
+
error: _chunkVQALXEXOjs.errorToJsonPayload.call(void 0, error).error,
|
|
344
344
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
345
345
|
},
|
|
346
346
|
output
|
|
@@ -366,7 +366,7 @@ function registerRunCommand(program) {
|
|
|
366
366
|
try {
|
|
367
367
|
process.exitCode = await runAnything(name, options);
|
|
368
368
|
} catch (error) {
|
|
369
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
369
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunk6YCA5NKJjs.ExecutionOutputError)) {
|
|
370
370
|
throw error;
|
|
371
371
|
}
|
|
372
372
|
process.exitCode = 1;
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U7QRMBIY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EUPVF4SU.mjs";
|
|
9
|
+
import "./chunk-6O5HOODW.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ExecutionOutputError,
|
|
12
12
|
openLogDestination,
|
|
13
13
|
preflightExecutionOutput,
|
|
14
14
|
writeExecutionOutput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-FTJLJCE5.mjs";
|
|
16
|
+
import "./chunk-ZIAXDBXX.mjs";
|
|
17
|
+
import "./chunk-QPKH23EC.mjs";
|
|
18
18
|
import "./chunk-5AEDYVB6.mjs";
|
|
19
19
|
import {
|
|
20
20
|
DEEPLINE_NAMESPACE
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-BGBJV26E.mjs";
|
|
22
|
+
import "./chunk-WEHCBH5R.mjs";
|
|
23
|
+
import "./chunk-GGGAEVCX.mjs";
|
|
24
24
|
import "./chunk-OVDNJAJN.mjs";
|
|
25
25
|
import "./chunk-MF7PCM6C.mjs";
|
|
26
26
|
import "./chunk-FR2ILQ4G.mjs";
|
|
27
27
|
import "./chunk-FIVKWNMT.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-QY3ZNU6Z.mjs";
|
|
29
29
|
import "./chunk-2GEYN3H4.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-Z5TSLLOW.mjs";
|
|
31
31
|
import "./chunk-FZHMNK6F.mjs";
|
|
32
32
|
import "./chunk-LX35AXTN.mjs";
|
|
33
33
|
import "./chunk-PSX3WHIH.mjs";
|
|
34
34
|
import "./chunk-UBKA33KY.mjs";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PTVD2GVQ.mjs";
|
|
36
|
+
import "./chunk-6RZOWL2V.mjs";
|
|
37
|
+
import "./chunk-WE5HES3H.mjs";
|
|
38
|
+
import "./chunk-DJ2JDK4O.mjs";
|
|
39
|
+
import "./chunk-IYSTRCLX.mjs";
|
|
40
|
+
import "./chunk-YJHE3O5M.mjs";
|
|
41
41
|
import {
|
|
42
42
|
createCliProgress
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AZQ264ID.mjs";
|
|
44
44
|
import {
|
|
45
45
|
errorToJsonPayload
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-6PRW5UBA.mjs";
|
|
47
|
+
import "./chunk-4TALT2M3.mjs";
|
|
48
|
+
import "./chunk-YLTMXJFC.mjs";
|
|
49
49
|
import "./chunk-NURW5XH4.mjs";
|
|
50
50
|
import "./chunk-DLIRSHV6.mjs";
|
|
51
51
|
import "./chunk-JL2OTMSG.mjs";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-AQWQ2BFX.mjs";
|
|
53
53
|
import "./chunk-WZYKRD7T.mjs";
|
|
54
54
|
import "./chunk-5JPKRDFC.mjs";
|
|
55
55
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -119,7 +119,7 @@ async function runAnything(name, options) {
|
|
|
119
119
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
120
|
}
|
|
121
121
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
122
|
+
const { parseToolExecuteTimeout } = await import("./tools-7IJHGF6W.mjs");
|
|
123
123
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
124
|
}
|
|
125
125
|
} catch (error) {
|
|
@@ -140,7 +140,7 @@ async function runAnything(name, options) {
|
|
|
140
140
|
if (name !== void 0) {
|
|
141
141
|
return refuse("Use a name or -e, not both.", output);
|
|
142
142
|
}
|
|
143
|
-
const { writeInlinePlay } = await import("./play-
|
|
143
|
+
const { writeInlinePlay } = await import("./play-MDWPR4XG.mjs");
|
|
144
144
|
let file;
|
|
145
145
|
try {
|
|
146
146
|
file = writeInlinePlay(options.eval);
|
|
@@ -200,7 +200,7 @@ async function runAnything(name, options) {
|
|
|
200
200
|
if (runner.via === "play") {
|
|
201
201
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
202
|
}
|
|
203
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
203
|
+
const { executeToolForReceipt } = await import("./tools-7IJHGF6W.mjs");
|
|
204
204
|
return executeToolForReceipt({
|
|
205
205
|
toolId: runner.toolId,
|
|
206
206
|
params: input,
|
|
@@ -231,7 +231,7 @@ function dryRun(described, input, output) {
|
|
|
231
231
|
return missing.length ? 2 : 0;
|
|
232
232
|
}
|
|
233
233
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
234
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-MDWPR4XG.mjs");
|
|
235
235
|
const { output, options, revision } = play;
|
|
236
236
|
if (options.dryRun) {
|
|
237
237
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QPKH23EC.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QY3ZNU6Z.mjs";
|
|
11
|
+
import "./chunk-Z5TSLLOW.mjs";
|
|
12
12
|
import "./chunk-FZHMNK6F.mjs";
|
|
13
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-6PRW5UBA.mjs";
|
|
17
|
+
import "./chunk-4TALT2M3.mjs";
|
|
18
|
+
import "./chunk-YLTMXJFC.mjs";
|
|
19
19
|
import "./chunk-NURW5XH4.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-JL2OTMSG.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-AQWQ2BFX.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|