deepline 0.3.471 → 0.3.472
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 +9 -0
- package/dist/bundling-sources/sdk/src/index.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +7 -0
- package/dist/cli/{auth-MUCIXHJF.mjs → auth-35DAEPHC.mjs} +5 -5
- package/dist/cli/auth-Q5TM66UI.js +41 -0
- package/dist/cli/{billing-BQQNTCTV.js → billing-5ED5X2IO.js} +79 -79
- package/dist/cli/{billing-QGCTDE2N.mjs → billing-CXVBJEC4.mjs} +6 -6
- package/dist/cli/{chunk-RUWBAU6V.js → chunk-2DND7LLL.js} +8 -8
- package/dist/cli/{chunk-WDXJUZCY.js → chunk-2G4R4APL.js} +2 -2
- package/dist/cli/{chunk-ZAF54BQK.mjs → chunk-2S36YV2K.mjs} +1 -1
- package/dist/cli/{chunk-NPJY5QRC.js → chunk-3L76SFGN.js} +53 -53
- package/dist/cli/{chunk-OYHCMKZM.mjs → chunk-4NFBYW7X.mjs} +2 -2
- package/dist/cli/{chunk-FJBGBPYY.mjs → chunk-52VOORHM.mjs} +2 -2
- package/dist/cli/{chunk-MLQJVAVS.js → chunk-5FHU67AT.js} +3 -3
- package/dist/cli/{chunk-SIQV6UYG.mjs → chunk-6PKONIIP.mjs} +4 -4
- package/dist/cli/{chunk-6DTW6JND.js → chunk-6ZTSHKJF.js} +19 -5
- package/dist/cli/{chunk-J2NYCUTK.js → chunk-7KAS4QOW.js} +94 -89
- package/dist/cli/{chunk-IE5KAVTI.mjs → chunk-C5PY2PP6.mjs} +3 -3
- package/dist/cli/{chunk-U5RGCQWJ.mjs → chunk-CFDQZQE2.mjs} +2 -2
- package/dist/cli/{chunk-4OAA43RX.mjs → chunk-FHIO7WI2.mjs} +2 -2
- package/dist/cli/{chunk-NBPNYD54.js → chunk-GJPRBELO.js} +16 -16
- package/dist/cli/{chunk-YRM5TPXL.js → chunk-H7YFUC3J.js} +7 -7
- package/dist/cli/{chunk-KSUGLTX3.js → chunk-HBVT4FW5.js} +6 -6
- package/dist/cli/{chunk-VGIAOWCD.js → chunk-IIQ6O5F3.js} +5 -5
- package/dist/cli/{chunk-ATKFOOVD.mjs → chunk-IPJ27SD2.mjs} +5 -5
- package/dist/cli/{chunk-3PT2HJKC.mjs → chunk-JRZW4LWK.mjs} +1 -1
- package/dist/cli/{chunk-FVGT5EBA.mjs → chunk-KQJHIVCE.mjs} +1 -1
- package/dist/cli/{chunk-DFMFYOML.js → chunk-L3AXQXNT.js} +10 -10
- package/dist/cli/{chunk-CR2F3JZN.js → chunk-LQUOZGM6.js} +51 -51
- package/dist/cli/{chunk-RWCTGSD7.js → chunk-M475BQ77.js} +3 -3
- package/dist/cli/{chunk-K5USD25Z.mjs → chunk-MRZ7AO72.mjs} +10 -10
- package/dist/cli/{chunk-IPFUDUSY.mjs → chunk-NZBZFEVA.mjs} +4 -4
- package/dist/cli/{chunk-TWRK4NOU.js → chunk-ODAARZSK.js} +36 -36
- package/dist/cli/{chunk-ZMJOSD7R.mjs → chunk-OMPW5ELS.mjs} +1 -1
- package/dist/cli/{chunk-4PT2WZD2.js → chunk-QLVYYDUI.js} +26 -26
- package/dist/cli/{chunk-PVEEGJFN.mjs → chunk-QSCLOPWR.mjs} +1 -1
- package/dist/cli/{chunk-VVY3HGFM.mjs → chunk-R6L6JRDR.mjs} +2 -2
- package/dist/cli/{chunk-EHVVDHNU.mjs → chunk-R73LE2IM.mjs} +1 -1
- package/dist/cli/{chunk-FX3QM6WN.js → chunk-RDOPZK7A.js} +3 -3
- package/dist/cli/{chunk-E3WTQ3JI.js → chunk-RMQB72WW.js} +9 -9
- package/dist/cli/{chunk-5QWGL2QO.js → chunk-SBPI7AEB.js} +93 -93
- package/dist/cli/{chunk-VDRGX2XL.js → chunk-SKVMC6K6.js} +5 -5
- package/dist/cli/{chunk-DK5Y5BD3.js → chunk-SYWOSAW7.js} +4 -4
- package/dist/cli/{chunk-EYKMITTY.mjs → chunk-T5H7ETIM.mjs} +4 -4
- package/dist/cli/{chunk-AMUSZHCE.mjs → chunk-TMMODGPV.mjs} +2 -2
- package/dist/cli/{chunk-G6RQXAJ2.js → chunk-UKKCS6Z4.js} +1 -1
- package/dist/cli/{chunk-ZHM7VCKH.js → chunk-UPXGN62E.js} +21 -21
- package/dist/cli/{chunk-DV4V5IWI.mjs → chunk-UXFUD2MB.mjs} +5 -5
- package/dist/cli/{chunk-NLT3CFVJ.js → chunk-VDHDTXCK.js} +2 -2
- package/dist/cli/{chunk-GPSVXVDZ.js → chunk-XSSIBO74.js} +8 -8
- package/dist/cli/{chunk-MV6HL67R.mjs → chunk-YK64LQPQ.mjs} +6 -1
- package/dist/cli/{chunk-RYGJWMWL.mjs → chunk-YMB2CD55.mjs} +1 -1
- package/dist/cli/{chunk-E2SHDT7T.mjs → chunk-YNW47NOJ.mjs} +2 -2
- package/dist/cli/{chunk-V2WMJXU6.mjs → chunk-YUNPYX5T.mjs} +19 -5
- package/dist/cli/{chunk-2KBRY5CA.mjs → chunk-ZZQIS3TH.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-Q6BSRCBJ.mjs → csv-OSDYY3QW.mjs} +4 -4
- package/dist/cli/{csv-UE7RZDUV.js → csv-SQJQM3B2.js} +13 -13
- package/dist/cli/{db-FI6XXB2H.mjs → db-2M6BU6G5.mjs} +6 -6
- package/dist/cli/{db-T7A7EE3D.js → db-ATDYXAD5.js} +27 -27
- package/dist/cli/describe-37QXXDCF.js +48 -0
- package/dist/cli/{describe-4GGU6NU3.mjs → describe-WIAJCWF3.mjs} +17 -17
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-S46XI7NX.mjs → executions-2J6CCJL2.mjs} +6 -6
- package/dist/cli/{executions-4I6F5RMS.js → executions-Y32LMYH6.js} +8 -8
- package/dist/cli/{feedback-3LJ7NZE7.mjs → feedback-L4AVIMGI.mjs} +4 -4
- package/dist/cli/{feedback-VEGUNKSP.js → feedback-RXQLS6QU.js} +8 -8
- package/dist/cli/git-JGUR335T.js +25 -0
- package/dist/cli/{git-W7SFD7AA.mjs → git-V3K77AWH.mjs} +5 -5
- package/dist/cli/index.js +139 -139
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-3EMB5SJH.js → legacy-noops-B2KJT4CZ.js} +8 -8
- package/dist/cli/{legacy-noops-FIR5PSHG.mjs → legacy-noops-LOGMYOY5.mjs} +5 -5
- package/dist/cli/{monitors-4DKW25PV.mjs → monitors-5ETSB7S7.mjs} +7 -7
- package/dist/cli/{monitors-53LPJH6R.js → monitors-A5WYUCGD.js} +91 -91
- package/dist/cli/{org-CYLJFX4Q.js → org-7EZDWYKK.js} +72 -72
- package/dist/cli/{org-6ZV2DBGI.mjs → org-BJOAUSXL.mjs} +6 -6
- package/dist/cli/{pages-V3LEXCRL.mjs → pages-3BYGBTVK.mjs} +6 -6
- package/dist/cli/{pages-42E3WIMH.js → pages-45VNTEQU.js} +17 -17
- package/dist/cli/{play-O3OY556F.js → play-5KER3JFU.js} +334 -306
- package/dist/cli/{play-X7REMNNG.mjs → play-R7JQV533.mjs} +47 -19
- package/dist/cli/{providers-NZ7TISS3.js → providers-OHMZ6QIF.js} +9 -9
- package/dist/cli/{providers-L2DJVAXN.mjs → providers-RMFCE6MM.mjs} +6 -6
- package/dist/cli/{quickstart-IKNGAQRO.js → quickstart-GNRE4SAT.js} +6 -6
- package/dist/cli/{quickstart-ROWMAUXQ.mjs → quickstart-IHR4VC5K.mjs} +4 -4
- package/dist/cli/{run-JG6DLOYR.js → run-77QIMUUV.js} +36 -36
- package/dist/cli/{run-PJI577J2.mjs → run-Y4MIRFJY.mjs} +22 -22
- package/dist/cli/{search-DOVJ745X.mjs → search-24YKTHMK.mjs} +7 -7
- package/dist/cli/search-S3VO2UKV.js +32 -0
- package/dist/cli/{secrets-OKDFNCRJ.mjs → secrets-KHX62AWC.mjs} +6 -6
- package/dist/cli/{secrets-R5LWXIG6.js → secrets-SSEBT3IS.js} +15 -15
- package/dist/cli/{sessions-L3DSAY2T.js → sessions-E6KNWYEH.js} +6 -6
- package/dist/cli/{sessions-KX4C2CKS.mjs → sessions-H7T25HGE.mjs} +5 -5
- package/dist/cli/{settings-NKTNNTAP.js → settings-GXUYF5G7.js} +78 -78
- package/dist/cli/{settings-W3SMDBYS.mjs → settings-XSJG6M32.mjs} +11 -11
- package/dist/cli/{setup-7KFKKW2W.mjs → setup-GD7IOD4U.mjs} +9 -9
- package/dist/cli/{setup-5WZEXWQR.js → setup-JP5YPIA4.js} +44 -44
- package/dist/cli/skills-C4KTW3US.js +31 -0
- package/dist/cli/{skills-X5TLATOL.mjs → skills-HLHE3ENN.mjs} +7 -7
- package/dist/cli/tools-KS7JMRK6.js +55 -0
- package/dist/cli/{tools-27J5EOKO.mjs → tools-Q4XIQX7W.mjs} +16 -16
- package/dist/cli/{update-EWL477FJ.mjs → update-3KRMR2QJ.mjs} +9 -9
- package/dist/cli/update-GYTQYK2W.js +33 -0
- package/dist/cli/{workflow-GFNGGHJE.js → workflow-NMUESL3O.js} +17 -17
- package/dist/cli/{workflow-YXR6YMT2.mjs → workflow-NOZ7WFEY.mjs} +7 -7
- package/dist/{client-DitOgp8N.d.mts → client-C9bJ0QXu.d.mts} +1 -1
- package/dist/{client-DIpVmXcj.d.ts → client-CuNH54w3.d.ts} +1 -1
- package/dist/{client-core-k543Fg6D.d.ts → client-core-C8Q6DKga.d.ts} +11 -1
- package/dist/{client-core-COZteOww.d.mts → client-core-CSiXbe2n.d.mts} +11 -1
- 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 +102 -102
- 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-2MMOFS3O.js +0 -41
- package/dist/cli/describe-UM2VGRY7.js +0 -48
- package/dist/cli/git-EVWKNIUA.js +0 -25
- package/dist/cli/search-RHKW5GSR.js +0 -32
- package/dist/cli/skills-UFAABPCQ.js +0 -31
- package/dist/cli/tools-IVU3BCIY.js +0 -55
- package/dist/cli/update-G7HFHKPG.js +0 -33
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FHIO7WI2.mjs";
|
|
9
9
|
import {
|
|
10
10
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
11
11
|
addDescribeOptions,
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
underscoreKeysLast,
|
|
18
18
|
writeExecutionOutput,
|
|
19
19
|
writeRunDatasetCsv
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QSCLOPWR.mjs";
|
|
21
21
|
import {
|
|
22
22
|
registerDeprecatedSearchCommand
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-C5PY2PP6.mjs";
|
|
24
24
|
import {
|
|
25
25
|
handleDeploymentGet,
|
|
26
26
|
handleDeploymentsList
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-R6L6JRDR.mjs";
|
|
28
28
|
import {
|
|
29
29
|
buildPlayDashboardUrl
|
|
30
30
|
} from "./chunk-JVHOS3K3.mjs";
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
pinLocalPlayImports,
|
|
54
54
|
planLocalPlayExecution
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TMMODGPV.mjs";
|
|
56
56
|
import {
|
|
57
57
|
DeeplineClient
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-CFDQZQE2.mjs";
|
|
59
59
|
import "./chunk-ZCALLYF6.mjs";
|
|
60
60
|
import {
|
|
61
61
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
normalizePlayStatus,
|
|
70
70
|
normalizeRunEventOperationRequest,
|
|
71
71
|
parseLogLevel
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-YK64LQPQ.mjs";
|
|
73
73
|
import "./chunk-L2VKAASU.mjs";
|
|
74
74
|
import {
|
|
75
75
|
CSV_DATA_INPUT_KEY,
|
|
@@ -89,18 +89,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
89
89
|
import {
|
|
90
90
|
checkPlayRunCompatibility,
|
|
91
91
|
usesInlinePlayAdmission
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-52VOORHM.mjs";
|
|
93
93
|
import {
|
|
94
94
|
isCliTraceEnabled,
|
|
95
95
|
recordCliTrace,
|
|
96
96
|
resolveCliMaintenancePolicy,
|
|
97
97
|
traceCliSpan
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-
|
|
98
|
+
} from "./chunk-2S36YV2K.mjs";
|
|
99
|
+
import "./chunk-T5H7ETIM.mjs";
|
|
100
100
|
import {
|
|
101
101
|
createCliProgress,
|
|
102
102
|
getActiveCliProgress
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-R73LE2IM.mjs";
|
|
104
104
|
import {
|
|
105
105
|
argsWantJson,
|
|
106
106
|
describeArgs,
|
|
@@ -114,17 +114,17 @@ import {
|
|
|
114
114
|
printJsonError,
|
|
115
115
|
renderCommandEnvelopeText,
|
|
116
116
|
shouldEmitJson
|
|
117
|
-
} from "./chunk-
|
|
118
|
-
import "./chunk-
|
|
117
|
+
} from "./chunk-4NFBYW7X.mjs";
|
|
118
|
+
import "./chunk-KQJHIVCE.mjs";
|
|
119
119
|
import {
|
|
120
120
|
fetchWithDeploymentProtection
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-OMPW5ELS.mjs";
|
|
122
122
|
import "./chunk-4QF2K7TM.mjs";
|
|
123
123
|
import "./chunk-DLIRSHV6.mjs";
|
|
124
124
|
import {
|
|
125
125
|
DeeplineError
|
|
126
126
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
127
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-JRZW4LWK.mjs";
|
|
128
128
|
import "./chunk-WZYKRD7T.mjs";
|
|
129
129
|
import {
|
|
130
130
|
__commonJS,
|
|
@@ -14881,6 +14881,20 @@ var PREBUILT_PLAY_TAG_KEYS = [
|
|
|
14881
14881
|
"contact-info",
|
|
14882
14882
|
"signals"
|
|
14883
14883
|
];
|
|
14884
|
+
async function handlePlayCost(args) {
|
|
14885
|
+
const name = args[0];
|
|
14886
|
+
if (!name) {
|
|
14887
|
+
console.error("Usage: deepline plays cost <play> [--json]");
|
|
14888
|
+
return 2;
|
|
14889
|
+
}
|
|
14890
|
+
const result = await new DeeplineClient().getPlayCostEstimate(name);
|
|
14891
|
+
if (argsWantJson(args)) console.log(JSON.stringify(result, null, 2));
|
|
14892
|
+
else
|
|
14893
|
+
console.log(
|
|
14894
|
+
`${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
|
|
14895
|
+
);
|
|
14896
|
+
return 0;
|
|
14897
|
+
}
|
|
14884
14898
|
async function handlePlayList(args) {
|
|
14885
14899
|
const jsonOutput = argsWantJson(args);
|
|
14886
14900
|
const showCost = args.includes("--show-cost");
|
|
@@ -14914,8 +14928,9 @@ async function handlePlayList(args) {
|
|
|
14914
14928
|
const page = await client.listPlaysPage({
|
|
14915
14929
|
categories,
|
|
14916
14930
|
...tags.length > 0 ? { tags } : {},
|
|
14917
|
-
includeToolCategories:
|
|
14931
|
+
includeToolCategories: !args.includes("--summary"),
|
|
14918
14932
|
...showCost ? { includeCostEstimates: true } : {},
|
|
14933
|
+
...args.includes("--summary") ? { summaryOnly: true } : {},
|
|
14919
14934
|
limit,
|
|
14920
14935
|
cursor
|
|
14921
14936
|
});
|
|
@@ -16124,6 +16139,14 @@ Examples:
|
|
|
16124
16139
|
next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
|
|
16125
16140
|
});
|
|
16126
16141
|
});
|
|
16142
|
+
play.command("cost <play>").description(
|
|
16143
|
+
"Estimate one saved or prebuilt Play in the current workspace."
|
|
16144
|
+
).option("--json", "Emit the cost estimate as JSON").action(async (name, options) => {
|
|
16145
|
+
process.exitCode = await handlePlayCost([
|
|
16146
|
+
name,
|
|
16147
|
+
...options.json ? ["--json"] : []
|
|
16148
|
+
]);
|
|
16149
|
+
});
|
|
16127
16150
|
play.command("list").description("List saved and prebuilt plays.").addHelpText(
|
|
16128
16151
|
"after",
|
|
16129
16152
|
`
|
|
@@ -16142,7 +16165,10 @@ Examples:
|
|
|
16142
16165
|
deepline plays list --tag smb
|
|
16143
16166
|
deepline search "name and company domain -> work email" --type prebuilts
|
|
16144
16167
|
`
|
|
16145
|
-
).option("--limit <count>", "Page size").option("--cursor <cursor>", "Continue a previous page").option("--show-cost", "Include the per-row or per-run cost estimate").option(
|
|
16168
|
+
).option("--limit <count>", "Page size").option("--cursor <cursor>", "Continue a previous page").option("--show-cost", "Include the per-row or per-run cost estimate").option(
|
|
16169
|
+
"--summary",
|
|
16170
|
+
"Load metadata without authored source or revision payloads"
|
|
16171
|
+
).option("--json", "Emit JSON output").option(
|
|
16146
16172
|
"--categories <categories>",
|
|
16147
16173
|
"Filter by comma-separated canonical tool categories"
|
|
16148
16174
|
).option(
|
|
@@ -16153,6 +16179,7 @@ Examples:
|
|
|
16153
16179
|
...options.limit ? ["--limit", options.limit] : [],
|
|
16154
16180
|
...options.cursor ? ["--cursor", options.cursor] : [],
|
|
16155
16181
|
...options.showCost ? ["--show-cost"] : [],
|
|
16182
|
+
...options.summary ? ["--summary"] : [],
|
|
16156
16183
|
...options.categories ? ["--categories", options.categories] : [],
|
|
16157
16184
|
...(options.tag ?? []).flatMap((tag) => ["--tag", tag]),
|
|
16158
16185
|
...options.json ? ["--json"] : []
|
|
@@ -16263,7 +16290,7 @@ Examples:
|
|
|
16263
16290
|
process.exitCode = await ownView();
|
|
16264
16291
|
return;
|
|
16265
16292
|
}
|
|
16266
|
-
const { describeAnything } = await import("./describe-
|
|
16293
|
+
const { describeAnything } = await import("./describe-WIAJCWF3.mjs");
|
|
16267
16294
|
process.exitCode = await describeAnything(
|
|
16268
16295
|
name,
|
|
16269
16296
|
{
|
|
@@ -16597,7 +16624,7 @@ Examples:
|
|
|
16597
16624
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
16598
16625
|
).action(async (runId, options) => {
|
|
16599
16626
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
16600
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
16627
|
+
const { getToolExecutionReceipt } = await import("./tools-Q4XIQX7W.mjs");
|
|
16601
16628
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
16602
16629
|
receiptJson: options.json !== void 0
|
|
16603
16630
|
});
|
|
@@ -17291,6 +17318,7 @@ export {
|
|
|
17291
17318
|
getRunningHeartbeatLine,
|
|
17292
17319
|
getStepTransitionLineFromLiveEvent,
|
|
17293
17320
|
handlePlayCheck,
|
|
17321
|
+
handlePlayCost,
|
|
17294
17322
|
handlePlayDelete,
|
|
17295
17323
|
handlePlayDescribe,
|
|
17296
17324
|
handlePlayGet,
|
|
@@ -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 _chunkSKVMC6K6js = require('./chunk-SKVMC6K6.js');
|
|
4
|
+
require('./chunk-7KAS4QOW.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-JDMR33HS.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.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 _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
|
|
13
|
+
require('./chunk-5FHU67AT.js');
|
|
14
|
+
require('./chunk-SYWOSAW7.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-UKKCS6Z4.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, _chunkSKVMC6K6js.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkH7YFUC3Jjs.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
|
+
_chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
count: providers.length,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CFDQZQE2.mjs";
|
|
4
|
+
import "./chunk-YK64LQPQ.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-NELMCOWK.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.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-4NFBYW7X.mjs";
|
|
13
|
+
import "./chunk-KQJHIVCE.mjs";
|
|
14
|
+
import "./chunk-OMPW5ELS.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JRZW4LWK.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 _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
|
|
5
|
+
require('./chunk-5FHU67AT.js');
|
|
6
|
+
require('./chunk-SYWOSAW7.js');
|
|
7
7
|
require('./chunk-ALJJRZNJ.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-DIAWYWT5.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-UKKCS6Z4.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 = _chunkH7YFUC3Jjs.shouldEmitJson.call(void 0, options.json === true);
|
|
21
21
|
const gettingStarted = {
|
|
22
22
|
skill: _chunk6V7KVRR5js.DEEPLINE_GTM_SKILL,
|
|
23
23
|
examples: _chunk6V7KVRR5js.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
_chunkH7YFUC3Jjs.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-4NFBYW7X.mjs";
|
|
5
|
+
import "./chunk-KQJHIVCE.mjs";
|
|
6
|
+
import "./chunk-OMPW5ELS.mjs";
|
|
7
7
|
import "./chunk-4QF2K7TM.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-HBL4PM5Q.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-JRZW4LWK.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkL3AXQXNTjs = require('./chunk-L3AXQXNT.js');
|
|
5
|
+
require('./chunk-SBPI7AEB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRMQB72WWjs = require('./chunk-RMQB72WW.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkRDOPZK7Ajs = require('./chunk-RDOPZK7A.js');
|
|
15
|
+
require('./chunk-2DND7LLL.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkT5GRG37Bjs = require('./chunk-T5GRG37B.js');
|
|
@@ -23,29 +23,29 @@ require('./chunk-ZM2YPJQJ.js');
|
|
|
23
23
|
require('./chunk-VLEVVDWG.js');
|
|
24
24
|
require('./chunk-J33TSWO5.js');
|
|
25
25
|
require('./chunk-HGFFYVXN.js');
|
|
26
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-SKVMC6K6.js');
|
|
27
27
|
require('./chunk-NPZBE64X.js');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-7KAS4QOW.js');
|
|
29
29
|
require('./chunk-E4CABWXL.js');
|
|
30
30
|
require('./chunk-JDMR33HS.js');
|
|
31
31
|
require('./chunk-NMU3VR5U.js');
|
|
32
32
|
require('./chunk-XDVT3GOM.js');
|
|
33
|
-
require('./chunk-
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-UPXGN62E.js');
|
|
34
|
+
require('./chunk-GJPRBELO.js');
|
|
35
|
+
require('./chunk-VDHDTXCK.js');
|
|
36
|
+
require('./chunk-ODAARZSK.js');
|
|
37
|
+
require('./chunk-2G4R4APL.js');
|
|
38
|
+
require('./chunk-3L76SFGN.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
42
|
-
require('./chunk-
|
|
43
|
-
require('./chunk-
|
|
44
|
-
require('./chunk-
|
|
41
|
+
var _chunkM475BQ77js = require('./chunk-M475BQ77.js');
|
|
42
|
+
require('./chunk-H7YFUC3J.js');
|
|
43
|
+
require('./chunk-5FHU67AT.js');
|
|
44
|
+
require('./chunk-SYWOSAW7.js');
|
|
45
45
|
require('./chunk-ALJJRZNJ.js');
|
|
46
46
|
require('./chunk-XNYIZMNQ.js');
|
|
47
47
|
require('./chunk-DIAWYWT5.js');
|
|
48
|
-
require('./chunk-
|
|
48
|
+
require('./chunk-UKKCS6Z4.js');
|
|
49
49
|
require('./chunk-OG64RBAC.js');
|
|
50
50
|
require('./chunk-COGTRVWW.js');
|
|
51
51
|
|
|
@@ -80,7 +80,7 @@ function readInput(options) {
|
|
|
80
80
|
return input;
|
|
81
81
|
}
|
|
82
82
|
function refuse(message, output) {
|
|
83
|
-
|
|
83
|
+
_chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
|
|
84
84
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
85
85
|
output
|
|
86
86
|
);
|
|
@@ -96,7 +96,7 @@ async function runAnything(name, options) {
|
|
|
96
96
|
logsOut: options.logsOut,
|
|
97
97
|
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)])
|
|
98
98
|
};
|
|
99
|
-
if (!
|
|
99
|
+
if (!_chunkRDOPZK7Ajs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
100
100
|
let input;
|
|
101
101
|
let timeoutMs;
|
|
102
102
|
try {
|
|
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
|
|
|
114
114
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
115
115
|
}
|
|
116
116
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
117
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
117
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KS7JMRK6.js")));
|
|
118
118
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
119
119
|
}
|
|
120
120
|
} catch (error) {
|
|
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
|
|
|
135
135
|
if (name !== void 0) {
|
|
136
136
|
return refuse("Use a name or -e, not both.", output);
|
|
137
137
|
}
|
|
138
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
138
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-5KER3JFU.js")));
|
|
139
139
|
let file;
|
|
140
140
|
try {
|
|
141
141
|
file = writeInlinePlay(options.eval);
|
|
@@ -158,19 +158,19 @@ async function runAnything(name, options) {
|
|
|
158
158
|
output
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
|
-
if (
|
|
161
|
+
if (_chunkRMQB72WWjs.looksLikeFilePath.call(void 0, name)) {
|
|
162
162
|
output.label = `${name} (play file)`;
|
|
163
163
|
return runPlay(name, play);
|
|
164
164
|
}
|
|
165
165
|
let { base, revision } = splitRevision(name);
|
|
166
|
-
let found = await
|
|
166
|
+
let found = await _chunkL3AXQXNTjs.findNamed.call(void 0, base, {});
|
|
167
167
|
if (!found.chosen && revision) {
|
|
168
|
-
found = await
|
|
168
|
+
found = await _chunkL3AXQXNTjs.findNamed.call(void 0, name, {});
|
|
169
169
|
if (found.chosen)
|
|
170
170
|
({ base, revision } = { base: name, revision: void 0 });
|
|
171
171
|
}
|
|
172
172
|
const { chosen, shadowed } = found;
|
|
173
|
-
if (!chosen) return refuse(
|
|
173
|
+
if (!chosen) return refuse(_chunkL3AXQXNTjs.nothingNamed.call(void 0, base), output);
|
|
174
174
|
const { described } = chosen;
|
|
175
175
|
if (described.kind === "custom_play" && shadowed) {
|
|
176
176
|
console.error(
|
|
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
|
|
|
195
195
|
if (runner.via === "play") {
|
|
196
196
|
return runPlay(runner.reference, { ...play, revision });
|
|
197
197
|
}
|
|
198
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
198
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KS7JMRK6.js")));
|
|
199
199
|
return executeToolForReceipt({
|
|
200
200
|
toolId: runner.toolId,
|
|
201
201
|
params: input,
|
|
@@ -209,7 +209,7 @@ function dryRun(described, input, output) {
|
|
|
209
209
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
210
210
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
211
211
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
212
|
-
|
|
212
|
+
_chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
id: null,
|
|
215
215
|
status: "dry_run",
|
|
@@ -226,11 +226,11 @@ function dryRun(described, input, output) {
|
|
|
226
226
|
return missing.length ? 2 : 0;
|
|
227
227
|
}
|
|
228
228
|
async function runPlay(reference, play) {
|
|
229
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
229
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-5KER3JFU.js")));
|
|
230
230
|
const { output, options, revision } = play;
|
|
231
231
|
if (options.dryRun) {
|
|
232
232
|
return handlePlayRun(
|
|
233
|
-
|
|
233
|
+
_chunkRMQB72WWjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
234
234
|
input: JSON.stringify(play.input),
|
|
235
235
|
dryRun: true,
|
|
236
236
|
json: output.receiptJson === true
|
|
@@ -239,11 +239,11 @@ async function runPlay(reference, play) {
|
|
|
239
239
|
}
|
|
240
240
|
let id = null;
|
|
241
241
|
let written = false;
|
|
242
|
-
const progress =
|
|
243
|
-
if (!play.noWait) progress.setLogWriter(
|
|
242
|
+
const progress = _chunkM475BQ77js.createCliProgress.call(void 0, true);
|
|
243
|
+
if (!play.noWait) progress.setLogWriter(_chunkRDOPZK7Ajs.openLogDestination.call(void 0, output));
|
|
244
244
|
try {
|
|
245
245
|
const code = await handlePlayRun(
|
|
246
|
-
|
|
246
|
+
_chunkRMQB72WWjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
247
247
|
input: JSON.stringify(play.input),
|
|
248
248
|
// The receipt is the only thing on stdout.
|
|
249
249
|
json: true,
|
|
@@ -276,7 +276,7 @@ async function runPlay(reference, play) {
|
|
|
276
276
|
},
|
|
277
277
|
writeStarted: (runId, status) => {
|
|
278
278
|
written = true;
|
|
279
|
-
|
|
279
|
+
_chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
|
|
280
280
|
{
|
|
281
281
|
id: runId,
|
|
282
282
|
status,
|
|
@@ -291,7 +291,7 @@ async function runPlay(reference, play) {
|
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
293
|
if (!written) {
|
|
294
|
-
|
|
294
|
+
_chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
|
|
295
295
|
{
|
|
296
296
|
id,
|
|
297
297
|
status: "failed",
|
|
@@ -303,7 +303,7 @@ async function runPlay(reference, play) {
|
|
|
303
303
|
return code;
|
|
304
304
|
} catch (error) {
|
|
305
305
|
if (written) throw error;
|
|
306
|
-
|
|
306
|
+
_chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
|
|
307
307
|
{
|
|
308
308
|
id,
|
|
309
309
|
status: "failed",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findNamed,
|
|
3
3
|
nothingNamed
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6PKONIIP.mjs";
|
|
5
|
+
import "./chunk-MRZ7AO72.mjs";
|
|
6
6
|
import {
|
|
7
7
|
looksLikeFilePath,
|
|
8
8
|
resolvePlayRunCliOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FHIO7WI2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
openLogDestination,
|
|
12
12
|
preflightExecutionOutput,
|
|
13
13
|
writeExecutionOutput
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-QSCLOPWR.mjs";
|
|
15
|
+
import "./chunk-C5PY2PP6.mjs";
|
|
16
16
|
import {
|
|
17
17
|
DEEPLINE_NAMESPACE
|
|
18
18
|
} from "./chunk-X3RAGNNZ.mjs";
|
|
@@ -23,29 +23,29 @@ import "./chunk-LJ5747UC.mjs";
|
|
|
23
23
|
import "./chunk-F6QV42MC.mjs";
|
|
24
24
|
import "./chunk-FR2ILQ4G.mjs";
|
|
25
25
|
import "./chunk-FIVKWNMT.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CFDQZQE2.mjs";
|
|
27
27
|
import "./chunk-3RGWTKK3.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-YK64LQPQ.mjs";
|
|
29
29
|
import "./chunk-L2VKAASU.mjs";
|
|
30
30
|
import "./chunk-NELMCOWK.mjs";
|
|
31
31
|
import "./chunk-S3A4IXBQ.mjs";
|
|
32
32
|
import "./chunk-UBKA33KY.mjs";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-IPJ27SD2.mjs";
|
|
34
|
+
import "./chunk-UXFUD2MB.mjs";
|
|
35
|
+
import "./chunk-YMB2CD55.mjs";
|
|
36
|
+
import "./chunk-NZBZFEVA.mjs";
|
|
37
|
+
import "./chunk-2S36YV2K.mjs";
|
|
38
|
+
import "./chunk-T5H7ETIM.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-R73LE2IM.mjs";
|
|
42
|
+
import "./chunk-4NFBYW7X.mjs";
|
|
43
|
+
import "./chunk-KQJHIVCE.mjs";
|
|
44
|
+
import "./chunk-OMPW5ELS.mjs";
|
|
45
45
|
import "./chunk-4QF2K7TM.mjs";
|
|
46
46
|
import "./chunk-DLIRSHV6.mjs";
|
|
47
47
|
import "./chunk-HBL4PM5Q.mjs";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-JRZW4LWK.mjs";
|
|
49
49
|
import "./chunk-WZYKRD7T.mjs";
|
|
50
50
|
import "./chunk-KRD6H754.mjs";
|
|
51
51
|
|
|
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
|
|
|
114
114
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
115
115
|
}
|
|
116
116
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
117
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
117
|
+
const { parseToolExecuteTimeout } = await import("./tools-Q4XIQX7W.mjs");
|
|
118
118
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
119
119
|
}
|
|
120
120
|
} catch (error) {
|
|
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
|
|
|
135
135
|
if (name !== void 0) {
|
|
136
136
|
return refuse("Use a name or -e, not both.", output);
|
|
137
137
|
}
|
|
138
|
-
const { writeInlinePlay } = await import("./play-
|
|
138
|
+
const { writeInlinePlay } = await import("./play-R7JQV533.mjs");
|
|
139
139
|
let file;
|
|
140
140
|
try {
|
|
141
141
|
file = writeInlinePlay(options.eval);
|
|
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
|
|
|
195
195
|
if (runner.via === "play") {
|
|
196
196
|
return runPlay(runner.reference, { ...play, revision });
|
|
197
197
|
}
|
|
198
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
198
|
+
const { executeToolForReceipt } = await import("./tools-Q4XIQX7W.mjs");
|
|
199
199
|
return executeToolForReceipt({
|
|
200
200
|
toolId: runner.toolId,
|
|
201
201
|
params: input,
|
|
@@ -226,7 +226,7 @@ function dryRun(described, input, output) {
|
|
|
226
226
|
return missing.length ? 2 : 0;
|
|
227
227
|
}
|
|
228
228
|
async function runPlay(reference, play) {
|
|
229
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
229
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-R7JQV533.mjs");
|
|
230
230
|
const { output, options, revision } = play;
|
|
231
231
|
if (options.dryRun) {
|
|
232
232
|
return handlePlayRun(
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C5PY2PP6.mjs";
|
|
9
9
|
import "./chunk-LJ5747UC.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-CFDQZQE2.mjs";
|
|
11
|
+
import "./chunk-YK64LQPQ.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
13
|
import "./chunk-NELMCOWK.mjs";
|
|
14
14
|
import "./chunk-S3A4IXBQ.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4NFBYW7X.mjs";
|
|
17
|
+
import "./chunk-KQJHIVCE.mjs";
|
|
18
|
+
import "./chunk-OMPW5ELS.mjs";
|
|
19
19
|
import "./chunk-4QF2K7TM.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-HBL4PM5Q.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JRZW4LWK.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|