deepline 0.3.553 → 0.3.554
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/release.ts +1 -1
- package/dist/cli/{auth-I3QAU4RV.mjs → auth-HJUNW7T2.mjs} +5 -5
- package/dist/cli/auth-SP6SKZJZ.js +44 -0
- package/dist/cli/{billing-YGFFVAIC.js → billing-4TSA5HEC.js} +102 -102
- package/dist/cli/{billing-3IC54OQQ.mjs → billing-SJYRJAQ2.mjs} +9 -9
- package/dist/cli/{chunk-2B5B5KAW.js → chunk-2HMN5H54.js} +53 -50
- package/dist/cli/{chunk-72V4PDH5.mjs → chunk-2ORPFQUA.mjs} +3 -3
- package/dist/cli/{chunk-BVDKFS2T.js → chunk-2OVHNHCF.js} +2 -2
- package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-33WRQSQ2.mjs} +4 -0
- package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
- package/dist/cli/{chunk-INEMTYMT.mjs → chunk-3Z4VFCXO.mjs} +7 -7
- package/dist/cli/{chunk-HEBO3XNZ.js → chunk-4DOFGIEJ.js} +12 -12
- package/dist/cli/{chunk-LFOERUQY.mjs → chunk-52Q5KETX.mjs} +1 -1
- package/dist/cli/{chunk-AGLR6QVN.js → chunk-5CYZHOKI.js} +4 -4
- package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-62AUAWQV.mjs} +4 -4
- package/dist/cli/{chunk-NDNHYONK.mjs → chunk-62HWJXST.mjs} +2 -2
- package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-6EXOAT6T.mjs} +2 -2
- package/dist/cli/{chunk-Y6SP3JMI.js → chunk-7OWI736E.js} +30 -30
- package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-B6HO2XWH.mjs} +13 -13
- package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-BOZAP2EM.mjs} +10 -7
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-D6Z6POKE.mjs} +5 -5
- package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-DSKSFFK2.mjs} +1 -1
- package/dist/cli/{chunk-JLGP5XAJ.js → chunk-DUBXUAAO.js} +5 -5
- package/dist/cli/{chunk-IMX7J4DU.js → chunk-E74KGKFZ.js} +5 -5
- package/dist/cli/{chunk-YUA6HA6D.js → chunk-ECHKAC7M.js} +2 -2
- package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
- package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-F7CMRKSK.mjs} +1 -1
- package/dist/cli/{chunk-SBH4CKPN.js → chunk-FBAFX43W.js} +10 -10
- package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-FXQ3JKE3.mjs} +1 -1
- package/dist/cli/{chunk-55F6HNOY.mjs → chunk-GA2M3G3Y.mjs} +4 -4
- package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-GHT2NDL7.js} +9 -9
- package/dist/cli/{chunk-WOCHZCUJ.js → chunk-GRZENGNE.js} +2 -2
- package/dist/cli/{chunk-7O6J6A7P.js → chunk-IVZKMJUK.js} +4 -0
- package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-KVBQY4ST.mjs} +2 -2
- package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-KZHBDMGF.mjs} +2 -2
- package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
- package/dist/cli/{chunk-RTV4RF7N.js → chunk-M7STM3MZ.js} +26 -26
- package/dist/cli/{chunk-7GEMELKI.js → chunk-OPTV7D2V.js} +431 -330
- package/dist/cli/{chunk-CACFJODG.js → chunk-OVEYWO4H.js} +8 -8
- package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
- package/dist/cli/{chunk-4747TPLV.js → chunk-PQQMPUCZ.js} +3 -3
- package/dist/cli/{chunk-45OAVGU6.mjs → chunk-Q7ACILL2.mjs} +2 -2
- package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-RBBTCYQB.mjs} +3 -3
- package/dist/cli/{chunk-7YRJ5UC4.js → chunk-RTHMGSZX.js} +20 -20
- package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-S6W6SJ6E.mjs} +1 -1
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
- package/dist/cli/{chunk-74RES4DS.js → chunk-TJ6HLN56.js} +5 -5
- package/dist/cli/{chunk-IUOGII7D.js → chunk-TOO3YM5N.js} +6 -6
- package/dist/cli/{chunk-UVQJYV76.mjs → chunk-UBBYHB2B.mjs} +2 -2
- package/dist/cli/{chunk-AGICYWGN.mjs → chunk-UC4BDZKI.mjs} +2 -2
- package/dist/cli/{chunk-6NE3RRRY.js → chunk-UNNOZKRT.js} +1 -1
- package/dist/cli/{chunk-FM7LPUPA.js → chunk-UOT7HPBH.js} +41 -41
- package/dist/cli/{chunk-DP2VH7CO.js → chunk-UYCZFQYQ.js} +11 -11
- package/dist/cli/{chunk-MLABYI4M.js → chunk-VIUUTEHY.js} +3 -3
- package/dist/cli/{chunk-LH5PZKER.mjs → chunk-VLO5NFH2.mjs} +1 -1
- package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-VQ75KX7G.mjs} +2 -2
- package/dist/cli/{chunk-3NTP2OSG.js → chunk-VV4XGZ24.js} +13 -13
- package/dist/cli/{chunk-LRDHPOZW.js → chunk-W6CZDTIR.js} +53 -53
- package/dist/cli/{chunk-7SERLBNR.js → chunk-WL7P32PI.js} +20 -20
- package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-XD3MFTHA.mjs} +1 -1
- package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
- package/dist/cli/{chunk-DP64MD6U.mjs → chunk-XU6QNM4D.mjs} +1 -1
- package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-YCOGPOUX.mjs} +2 -2
- package/dist/cli/{chunk-XLIHTJVM.js → chunk-YQKCH4R7.js} +20 -20
- package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-YY55NYAH.mjs} +133 -32
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
- package/dist/cli/{csv-SA6ELJY6.js → csv-4ZQ2RATI.js} +13 -13
- package/dist/cli/{csv-ZXZGHWOM.mjs → csv-Y3BFPEM6.mjs} +4 -4
- package/dist/cli/{db-A54SP6AD.mjs → db-3JYY4JNN.mjs} +7 -7
- package/dist/cli/{db-JHFEIQBU.js → db-VEIFS4M7.js} +29 -29
- package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
- package/dist/cli/describe-FG625QPF.js +50 -0
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-TLFZRHBJ.js → executions-HPZXOOVX.js} +8 -8
- package/dist/cli/{executions-HL2M2DFU.mjs → executions-PCXZKEHM.mjs} +6 -6
- package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-Y6VKZNY6.mjs} +6 -6
- package/dist/cli/{feedback-5UEX5UZK.js → feedback-ZKFHFVL6.js} +14 -14
- package/dist/cli/git-RUBMALLH.js +26 -0
- package/dist/cli/{git-LKGXVIVC.mjs → git-UMPR2QYC.mjs} +5 -5
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-6RUTLMN7.js → integrations-3GQCTRTF.js} +15 -15
- package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-V3TM6XAB.mjs} +7 -7
- package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-JZBUD7ZE.mjs} +6 -6
- package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-VYCO7NGW.js} +9 -9
- package/dist/cli/{mcp-6LWFP7RW.js → mcp-4OIWTCE6.js} +24 -24
- package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-PH4KZ76P.mjs} +4 -4
- package/dist/cli/{monitors-STM6A7OU.js → monitors-E2A6VPBY.js} +100 -100
- package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-SSMGIDGX.mjs} +7 -7
- package/dist/cli/{org-3SYOUQCX.mjs → org-SFDKSK5D.mjs} +6 -6
- package/dist/cli/{org-ZOBSNSIB.js → org-WUDZGWBT.js} +121 -121
- package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-QT7LQBPK.mjs} +6 -6
- package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-Y7SZTLSL.js} +14 -14
- package/dist/cli/{play-SN5YWLS7.mjs → play-EK7KSFPL.mjs} +21 -21
- package/dist/cli/{play-SM4CW2GS.js → play-GDNHCRRR.js} +372 -372
- package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-FVZLRXAU.mjs} +6 -6
- package/dist/cli/{providers-WZARYMCF.js → providers-ZKOSECLV.js} +9 -9
- package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-KSDKIXYD.js} +6 -6
- package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UJZ6PIQV.mjs} +4 -4
- package/dist/cli/{run-ZUHCZOJS.mjs → run-E7MZ7P35.mjs} +30 -28
- package/dist/cli/{run-FLZ6OTM7.js → run-PD2BBG6S.js} +51 -49
- package/dist/cli/search-TKSPTPHA.js +32 -0
- package/dist/cli/{search-HLPPKQEO.mjs → search-VTFUFTOY.mjs} +7 -7
- package/dist/cli/{search-output-RXJLU36B.js → search-output-G2AGDCOY.js} +9 -9
- package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-PFVXQCWA.mjs} +6 -6
- package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-7CIMEMX7.mjs} +6 -6
- package/dist/cli/{secrets-QJNG7G2Y.js → secrets-BCOQ4U7U.js} +15 -15
- package/dist/cli/sessions-4CO556VD.js +23 -0
- package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-IUCQZEF7.mjs} +6 -6
- package/dist/cli/{settings-RR3LZXL7.mjs → settings-KZN62UQK.mjs} +12 -12
- package/dist/cli/{settings-44I44P5F.js → settings-REL4736M.js} +85 -85
- package/dist/cli/{setup-KGWRWH4B.mjs → setup-2P7OG3OU.mjs} +11 -14
- package/dist/cli/{setup-KTEYOCJO.js → setup-2XIVBBCS.js} +51 -54
- package/dist/cli/skills-JYT5DEY6.js +37 -0
- package/dist/cli/{skills-FPRID2I5.mjs → skills-VIGNDJKI.mjs} +7 -7
- package/dist/cli/tools-NTVUQ2TG.js +57 -0
- package/dist/cli/{tools-PI4WMDLY.mjs → tools-W3QT5EJY.mjs} +20 -20
- package/dist/cli/{update-VJOJAZ7B.mjs → update-GZVBVMY3.mjs} +9 -9
- package/dist/cli/update-TWJZPUZM.js +37 -0
- package/dist/cli/{views-OVPSINZO.mjs → views-BOGEH424.mjs} +6 -6
- package/dist/cli/{views-NTUOLNQU.js → views-TOLJNLSV.js} +21 -21
- package/dist/cli/{workflow-2UDYDM6F.js → workflow-ENWFRK5M.js} +17 -17
- package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-VDG2FDQV.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +122 -122
- 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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-MQCN7WGZ.js +0 -44
- package/dist/cli/chunk-AID3OYVJ.js +0 -8
- package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
- package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
- package/dist/cli/describe-PHQ33AGS.mjs +0 -50
- package/dist/cli/describe-RHJ4XRFI.js +0 -50
- package/dist/cli/git-4JWOOHBG.js +0 -26
- package/dist/cli/search-JJWVHR3N.js +0 -32
- package/dist/cli/sessions-DHTBT2GN.js +0 -23
- package/dist/cli/skills-EPZPEXI2.js +0 -37
- package/dist/cli/tools-IGQQ5TML.js +0 -57
- package/dist/cli/update-4RNCVYGE.js +0 -37
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk3IKGZ4CGjs = require('./chunk-3IKGZ4CG.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _chunkHVI55MTKjs = require('./chunk-HVI55MTK.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -31,13 +31,13 @@ var VIEWS = {
|
|
|
31
31
|
details: model,
|
|
32
32
|
lines: [
|
|
33
33
|
...unlisted,
|
|
34
|
-
...
|
|
34
|
+
..._chunk3IKGZ4CGjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
|
|
35
35
|
]
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
38
|
byok: async (_value, tool) => ({
|
|
39
39
|
details: _nullishCoalesce(tool.byok, () => ( {})),
|
|
40
|
-
lines:
|
|
40
|
+
lines: _chunkLY5MMXFFjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
|
|
41
41
|
})
|
|
42
42
|
};
|
|
43
43
|
var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
|
|
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
|
|
|
133
133
|
const record = await lookups.play(reference2);
|
|
134
134
|
if (!record) return null;
|
|
135
135
|
return {
|
|
136
|
-
described:
|
|
136
|
+
described: _chunkLY5MMXFFjs.describedPlay.call(void 0, record),
|
|
137
137
|
record: { ...record },
|
|
138
138
|
schemas: {
|
|
139
139
|
inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
|
|
@@ -153,15 +153,15 @@ async function findNamed(reference, options, lookups) {
|
|
|
153
153
|
const features = toolFeatures(record);
|
|
154
154
|
return {
|
|
155
155
|
described: {
|
|
156
|
-
...
|
|
156
|
+
..._chunk3IKGZ4CGjs.describedTool.call(void 0, record, name),
|
|
157
157
|
...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
|
|
158
158
|
},
|
|
159
|
-
record:
|
|
159
|
+
record: _chunk3IKGZ4CGjs.toolMetadataJsonForDescribe.call(void 0,
|
|
160
160
|
record,
|
|
161
161
|
name,
|
|
162
162
|
lookups.seedStarterScript
|
|
163
163
|
),
|
|
164
|
-
schemas:
|
|
164
|
+
schemas: _chunk3IKGZ4CGjs.publicToolSchemas.call(void 0, record),
|
|
165
165
|
feature: (featureName, value) => {
|
|
166
166
|
const feature = features.find(({ name: name2 }) => name2 === featureName);
|
|
167
167
|
return feature ? describeFeature(record, feature, value, {
|
|
@@ -208,7 +208,7 @@ async function describeName(name, options, lookups) {
|
|
|
208
208
|
const note = shadows ? `Showing your org play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
|
|
209
209
|
const verbose = options.verbose === true;
|
|
210
210
|
const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
|
|
211
|
-
const dashboardUrl = isPlay ?
|
|
211
|
+
const dashboardUrl = isPlay ? _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
|
|
212
212
|
if (options.webUrl) {
|
|
213
213
|
if (!dashboardUrl) {
|
|
214
214
|
return {
|
|
@@ -272,7 +272,7 @@ async function describeName(name, options, lookups) {
|
|
|
272
272
|
},
|
|
273
273
|
lines: [
|
|
274
274
|
`${described.id} [${described.kind.replace("_", " ")}]`,
|
|
275
|
-
...
|
|
275
|
+
..._chunkLY5MMXFFjs.schemaLines.call(void 0, described, {
|
|
276
276
|
full: true,
|
|
277
277
|
secondary: true,
|
|
278
278
|
...fields.length ? { fields } : {}
|
|
@@ -281,17 +281,17 @@ async function describeName(name, options, lookups) {
|
|
|
281
281
|
} : {
|
|
282
282
|
envelope: {
|
|
283
283
|
...summary,
|
|
284
|
-
inputs: inputs.map(
|
|
285
|
-
outputs: outputs.map(
|
|
286
|
-
...described.rowInputs ? { rowInputs: described.rowInputs.map(
|
|
287
|
-
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(
|
|
288
|
-
runExamples:
|
|
284
|
+
inputs: inputs.map(_chunkLY5MMXFFjs.topLevelField),
|
|
285
|
+
outputs: outputs.map(_chunkLY5MMXFFjs.topLevelField),
|
|
286
|
+
...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkLY5MMXFFjs.topLevelField) } : {},
|
|
287
|
+
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkLY5MMXFFjs.topLevelField) } : {},
|
|
288
|
+
runExamples: _chunkLY5MMXFFjs.examples.call(void 0, described, { verbose }),
|
|
289
289
|
...dashboardUrl ? { dashboardUrl } : {},
|
|
290
290
|
...shadows ? { shadows, note } : {}
|
|
291
291
|
},
|
|
292
292
|
lines: [
|
|
293
293
|
...note ? [`Note: ${note}`, ""] : [],
|
|
294
|
-
...
|
|
294
|
+
..._chunkLY5MMXFFjs.describedLines.call(void 0, described, {
|
|
295
295
|
cli: shown && (!named || options.cliExample === true),
|
|
296
296
|
play: shown && (!named || options.playExample === true),
|
|
297
297
|
explain: named,
|
|
@@ -308,7 +308,7 @@ async function describeName(name, options, lookups) {
|
|
|
308
308
|
// its value stands, so callers of the older commands read what they did.
|
|
309
309
|
{ ...view.envelope, ...record }
|
|
310
310
|
) : {
|
|
311
|
-
...
|
|
311
|
+
..._chunkLY5MMXFFjs.describedJson.call(void 0, described, {
|
|
312
312
|
secondary: verbose || fields.length > 0,
|
|
313
313
|
verbose
|
|
314
314
|
}),
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
var _commander = require('commander');
|
|
@@ -22,7 +22,7 @@ var _fs = require('fs');
|
|
|
22
22
|
var _path = require('path');
|
|
23
23
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
24
24
|
function lastSearchPath() {
|
|
25
|
-
return _path.join.call(void 0,
|
|
25
|
+
return _path.join.call(void 0, _chunkVIUUTEHYjs.sdkCliStateDirPath.call(void 0, _chunkVIUUTEHYjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
26
26
|
}
|
|
27
27
|
function rememberSearchRef(searchRef) {
|
|
28
28
|
writeSearchRefs({ searchRef });
|
|
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
132
132
|
console.error("--summary-width must be an integer of at least 2.");
|
|
133
133
|
return 1;
|
|
134
134
|
}
|
|
135
|
-
const client = new (0,
|
|
135
|
+
const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-G2AGDCOY.js")));
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
157
157
|
const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
|
|
158
158
|
if (!multiple) {
|
|
159
159
|
if (searchRef) rememberSearchRef(searchRef);
|
|
160
|
-
|
|
160
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0, result, { json, text });
|
|
161
161
|
return 0;
|
|
162
162
|
}
|
|
163
163
|
searches.push({ ...result, query });
|
|
@@ -171,8 +171,8 @@ ${text}`);
|
|
|
171
171
|
}
|
|
172
172
|
} catch (error) {
|
|
173
173
|
if (!multiple) throw error;
|
|
174
|
-
const payload =
|
|
175
|
-
const queryExitCode = _nullishCoalesce(payload.exitCode, () => (
|
|
174
|
+
const payload = _chunkYQKCH4R7js.errorToJsonPayload.call(void 0, error);
|
|
175
|
+
const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkYQKCH4R7js.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
176
176
|
searches.push({ ...payload, query, exitCode: queryExitCode });
|
|
177
177
|
if (!json) {
|
|
178
178
|
console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
|
|
@@ -184,7 +184,7 @@ Search failed.
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
rememberSearchRefsByTool(refs);
|
|
187
|
-
|
|
187
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
188
188
|
{ searches },
|
|
189
189
|
{
|
|
190
190
|
json,
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.554",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6EXOAT6T.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-52Q5KETX.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-PFVXQCWA.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOVEYWO4Hjs = require('./chunk-OVEYWO4H.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkYQKCH4R7js.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkYQKCH4R7js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
657
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
const parsed =
|
|
660
|
+
const parsed = _chunkOVEYWO4Hjs.parseLogLevel.call(void 0, value);
|
|
661
661
|
if (!parsed) {
|
|
662
662
|
throw new Error(
|
|
663
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
990
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
991
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
992
992
|
);
|
|
993
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkOVEYWO4Hjs.parseLogLevel.call(void 0, options.logLevel);
|
|
994
994
|
if (!logLevel)
|
|
995
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
996
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1004
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
1005
1005
|
logLevel = "debug";
|
|
1006
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
1007
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
1008
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkYQKCH4R7js.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkYQKCH4R7js.jsonFieldArgs.call(void 0, options.json)],
|
|
1009
1009
|
"run"
|
|
1010
1010
|
).fields;
|
|
1011
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
1012
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
1013
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkYQKCH4R7js.argsWantJson.call(void 0, []) : explicitJson;
|
|
1014
1014
|
const verboseLogs = Boolean(
|
|
1015
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1016
1016
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkYQKCH4R7js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -1041,6 +1041,10 @@ Input:
|
|
|
1041
1041
|
--input '{"email":"a@b.com"}' inline JSON object
|
|
1042
1042
|
--input @input.json read the JSON object from a file
|
|
1043
1043
|
-p email=a@b.com one key=value per -p, repeatable
|
|
1044
|
+
A -p value is text unless the tool's input schema types it as a boolean or
|
|
1045
|
+
number: -p only_verified_email=true sends true. Windows: cmd.exe has no
|
|
1046
|
+
single quotes and Windows PowerShell 5.1 strips the quotes inside JSON, so
|
|
1047
|
+
use --input "@input.json" there (PowerShell reads a bare @ as splatting).
|
|
1044
1048
|
--payload is an alias of --input. There is no --payload-file flag; use
|
|
1045
1049
|
@path. --out <file.csv> writes row-shaped output to a CSV file.
|
|
1046
1050
|
--connection <name> selects an org authorization for supported
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
SCHEMA_LINE_LIMIT,
|
|
3
3
|
fieldBlockLines,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XFZX6FNM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
csvSafeJsonString,
|
|
8
8
|
csvStringFromRows,
|
|
9
9
|
formatCliFailureDiagnostic,
|
|
10
10
|
markJsonOutputHandled,
|
|
11
11
|
writeRawStderr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-52Q5KETX.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkBVXIGOBZjs = require('./chunk-BVXIGOBZ.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
@@ -606,7 +607,9 @@ function examples(described, options) {
|
|
|
606
607
|
if (!(error instanceof InputFileExampleRequired)) throw error;
|
|
607
608
|
}
|
|
608
609
|
const input = inputValue && JSON.stringify(inputValue);
|
|
609
|
-
const
|
|
610
|
+
const jsonInput = input === void 0 ? void 0 : _chunkBVXIGOBZjs.exampleJsonInput.call(void 0, input, options.platform);
|
|
611
|
+
const inputArgument = _nullishCoalesce(_optionalChain([jsonInput, 'optionalAccess', _13 => _13.argument]), () => ( "--input-file input.json"));
|
|
612
|
+
const inputFile = _optionalChain([jsonInput, 'optionalAccess', _14 => _14.file]) ? { inputFile: jsonInput.file } : {};
|
|
610
613
|
const inputExpression = _nullishCoalesce(input, () => ( "input"));
|
|
611
614
|
const read = options.verbose ? described.outputs : described.outputs.filter((field) => !field.secondary).slice(0, 1);
|
|
612
615
|
const reads = (expression) => read.flatMap((field) => {
|
|
@@ -629,6 +632,7 @@ function examples(described, options) {
|
|
|
629
632
|
return {
|
|
630
633
|
cli: `deepline run ${runner.toolId} ${inputArgument}`,
|
|
631
634
|
...inputValue ? { input: inputValue } : {},
|
|
635
|
+
...inputFile,
|
|
632
636
|
play: playFunction(
|
|
633
637
|
[
|
|
634
638
|
"const result = await deepline.tools.execute({",
|
|
@@ -647,6 +651,7 @@ function examples(described, options) {
|
|
|
647
651
|
return {
|
|
648
652
|
cli: `deepline run ${runner.reference} ${inputArgument}`,
|
|
649
653
|
...inputValue ? { input: inputValue } : {},
|
|
654
|
+
...inputFile,
|
|
650
655
|
play: playFunction(
|
|
651
656
|
[
|
|
652
657
|
`const output = await deepline.runPlay('${safeIdentifier(runner.reference.replace(/^.*\//, ""))}', '${runner.reference}', ${inputExpression});`,
|
|
@@ -674,14 +679,14 @@ function discoveryAuthLines(auth) {
|
|
|
674
679
|
return auth.modes.flatMap((mode) => [
|
|
675
680
|
`Access \u2014 ${mode.kind.replaceAll("_", " ")}: ${mode.status.replaceAll("_", " ")}`,
|
|
676
681
|
...(_nullishCoalesce(mode.connections, () => ( []))).map(
|
|
677
|
-
({ name, verifiedScopes }) => ` ${name}${_optionalChain([verifiedScopes, 'optionalAccess',
|
|
682
|
+
({ name, verifiedScopes }) => ` ${name}${_optionalChain([verifiedScopes, 'optionalAccess', _15 => _15.length]) ? ` (verified: ${verifiedScopes.join(", ")})` : ""}`
|
|
678
683
|
),
|
|
679
|
-
..._optionalChain([mode, 'access',
|
|
684
|
+
..._optionalChain([mode, 'access', _16 => _16.requiredScopes, 'optionalAccess', _17 => _17.length]) ? [` Required scopes: ${mode.requiredScopes.join(", ")}`] : [],
|
|
680
685
|
...mode.setupPath && mode.status !== "available" ? [` Setup: ${mode.setupPath}`] : []
|
|
681
686
|
]);
|
|
682
687
|
}
|
|
683
688
|
function describedLines(described, view) {
|
|
684
|
-
const { cli, play } = examples(described, view);
|
|
689
|
+
const { cli, play, inputFile } = examples(described, view);
|
|
685
690
|
const explanation = EXPLANATIONS[described.runner.via];
|
|
686
691
|
const indented = (text) => text.split("\n").map((line) => ` ${line}`);
|
|
687
692
|
const section = (lines) => lines.length ? ["", ...lines] : [];
|
|
@@ -692,7 +697,7 @@ function describedLines(described, view) {
|
|
|
692
697
|
...described.cost ? [`Cost: ${described.cost}`] : [],
|
|
693
698
|
...described.guidance.map((line) => `Guidance: ${line}`),
|
|
694
699
|
...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
|
|
695
|
-
..._optionalChain([described, 'access',
|
|
700
|
+
..._optionalChain([described, 'access', _18 => _18.toolUsage, 'optionalAccess', _19 => _19.effect]) ? [`Effect: ${described.toolUsage.effect}`] : [],
|
|
696
701
|
...described.auth ? discoveryAuthLines(described.auth) : [],
|
|
697
702
|
...!described.auth && described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this org."] : [],
|
|
698
703
|
...described.byok ? byokLines(described.byok) : [],
|
|
@@ -711,6 +716,7 @@ function describedLines(described, view) {
|
|
|
711
716
|
...section(
|
|
712
717
|
view.cli ? [
|
|
713
718
|
"Run from the CLI:",
|
|
719
|
+
...inputFile ? indented(_chunkBVXIGOBZjs.exampleInputFileLine.call(void 0, inputFile)) : [],
|
|
714
720
|
...indented(cli),
|
|
715
721
|
...view.explain ? indented(explanation.cli) : []
|
|
716
722
|
] : []
|
|
@@ -740,15 +746,15 @@ function jsonFields(fields, options) {
|
|
|
740
746
|
return [
|
|
741
747
|
field.name,
|
|
742
748
|
{
|
|
743
|
-
type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess',
|
|
749
|
+
type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _20 => _20.name]), () => ( "object"))),
|
|
744
750
|
...options.input ? { required: field.required } : {},
|
|
745
751
|
...field.means ? { means: field.means } : {},
|
|
746
752
|
...field.example !== void 0 ? { example: field.example } : {},
|
|
747
|
-
...field.description && field.description !== _optionalChain([shape, 'optionalAccess',
|
|
753
|
+
...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _21 => _21.description]) ? { description: field.description } : {},
|
|
748
754
|
...field.secondary ? { secondary: true } : {},
|
|
749
755
|
...field.read ? { read: field.read } : {},
|
|
750
756
|
...field.in ? { in: field.in } : {},
|
|
751
|
-
..._optionalChain([field, 'access',
|
|
757
|
+
..._optionalChain([field, 'access', _22 => _22.paths, 'optionalAccess', _23 => _23.length]) ? { paths: field.paths } : {},
|
|
752
758
|
...field.fields && !shape ? { fields: jsonFields(field.fields, options) } : {}
|
|
753
759
|
}
|
|
754
760
|
];
|
|
@@ -769,7 +775,7 @@ function describedJson(described, view) {
|
|
|
769
775
|
const used = /* @__PURE__ */ new Set();
|
|
770
776
|
const blocks = Object.fromEntries(
|
|
771
777
|
sections.flatMap(
|
|
772
|
-
([key, fields, input2]) => _optionalChain([fields, 'optionalAccess',
|
|
778
|
+
([key, fields, input2]) => _optionalChain([fields, 'optionalAccess', _24 => _24.length]) ? [
|
|
773
779
|
[
|
|
774
780
|
key,
|
|
775
781
|
jsonFields(fields, {
|
|
@@ -794,7 +800,9 @@ function describedJson(described, view) {
|
|
|
794
800
|
})
|
|
795
801
|
};
|
|
796
802
|
}
|
|
797
|
-
const { cli, play, input } = examples(described, {
|
|
803
|
+
const { cli, play, input, inputFile } = examples(described, {
|
|
804
|
+
verbose: view.verbose
|
|
805
|
+
});
|
|
798
806
|
return {
|
|
799
807
|
kind: described.kind,
|
|
800
808
|
id: described.id,
|
|
@@ -810,14 +818,20 @@ function describedJson(described, view) {
|
|
|
810
818
|
...described.connectCommand ? { connectCommand: described.connectCommand } : {},
|
|
811
819
|
...described.auth ? { auth: described.auth } : {},
|
|
812
820
|
...described.toolUsage ? { toolUsage: described.toolUsage } : {},
|
|
813
|
-
..._optionalChain([described, 'access',
|
|
821
|
+
..._optionalChain([described, 'access', _25 => _25.features, 'optionalAccess', _26 => _26.length]) ? { features: described.features } : {},
|
|
814
822
|
...described.guidance.length ? { guidance: described.guidance } : {},
|
|
815
823
|
...blocks,
|
|
816
824
|
// The input that takes the CSV whose columns are rowInputs.
|
|
817
825
|
...described.csvInput ? { csvInput: described.csvInput } : {},
|
|
818
826
|
...used.size ? { types } : {},
|
|
819
827
|
...described.exclusive ? { exclusive: described.exclusive } : {},
|
|
820
|
-
run: {
|
|
828
|
+
run: {
|
|
829
|
+
cli,
|
|
830
|
+
...play ? { play } : {},
|
|
831
|
+
...input ? { input } : {},
|
|
832
|
+
// On Windows `cli` reads `input` from this file instead of inline.
|
|
833
|
+
...inputFile ? { inputFile: inputFile.path } : {}
|
|
834
|
+
},
|
|
821
835
|
...described.source ? { source: described.source } : {},
|
|
822
836
|
...hidden.length ? { hidden } : {}
|
|
823
837
|
};
|
|
@@ -880,7 +894,7 @@ function describedPlay(play) {
|
|
|
880
894
|
...starter ? { source: starter.command } : {},
|
|
881
895
|
...exclusive ? { exclusive } : {},
|
|
882
896
|
// A prebuilt's cost is what its recent runs were charged; there is no rate.
|
|
883
|
-
..._optionalChain([play, 'access',
|
|
897
|
+
..._optionalChain([play, 'access', _27 => _27.observedCost, 'optionalAccess', _28 => _28.displayText]) ? { cost: play.observedCost.displayText } : {}
|
|
884
898
|
};
|
|
885
899
|
}
|
|
886
900
|
|