deepline 0.3.488 → 0.3.489
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 +7 -1
- package/dist/cli/{auth-3BTWD5NT.mjs → auth-5RIU6GT7.mjs} +5 -5
- package/dist/cli/auth-PSIS3XA6.js +43 -0
- package/dist/cli/{billing-QROEPF5K.mjs → billing-T4TMPRFS.mjs} +6 -6
- package/dist/cli/{billing-CHCBRT2F.js → billing-T5MAGF25.js} +79 -79
- package/dist/cli/{chunk-N7LKHN5C.mjs → chunk-2QUROYZU.mjs} +1 -1
- package/dist/cli/{chunk-NSAI3D4H.mjs → chunk-35N4S2E6.mjs} +1 -1
- package/dist/cli/{chunk-2LNTFODA.mjs → chunk-3S5VBG6Z.mjs} +2 -2
- package/dist/cli/{chunk-KV5MCYQE.js → chunk-4EFD6R2V.js} +37 -37
- package/dist/cli/{chunk-QRBDW3X6.mjs → chunk-4GWEZPZR.mjs} +6 -1
- package/dist/cli/{chunk-SV2VOJF4.js → chunk-5DEJ3TLB.js} +7 -7
- package/dist/cli/{chunk-ZYJBIZLV.js → chunk-6FMP5XRF.js} +6 -6
- package/dist/cli/{chunk-IXQQWEYK.mjs → chunk-6PHHQDM6.mjs} +1 -1
- package/dist/cli/{chunk-TKK4TR7B.mjs → chunk-7R243PYK.mjs} +1 -1
- package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
- package/dist/cli/{chunk-IS24BRFV.mjs → chunk-C55LNEUF.mjs} +1 -1
- package/dist/cli/{chunk-EMPGZXFN.mjs → chunk-DHAJSTSH.mjs} +4 -4
- package/dist/cli/{chunk-OWYXDSU5.js → chunk-DY7T6VNT.js} +21 -21
- package/dist/cli/{chunk-4BVJ6YSN.js → chunk-F3TDT57M.js} +5 -5
- package/dist/cli/{chunk-TMIWNHL4.js → chunk-FFDWL5N2.js} +16 -16
- package/dist/cli/{chunk-QHMEOHN4.js → chunk-FH7ZABHW.js} +94 -94
- package/dist/cli/{chunk-XGQBBMSP.js → chunk-FL7NHJTS.js} +10 -10
- package/dist/cli/{chunk-6JTJWIXZ.js → chunk-FNKSRKTA.js} +3 -3
- package/dist/cli/{chunk-QT2SPITP.mjs → chunk-G7POOFBJ.mjs} +2 -2
- package/dist/cli/{chunk-KI74RLCP.js → chunk-GW6HV7Z7.js} +3 -3
- package/dist/cli/{chunk-6RZ2UVFW.mjs → chunk-H66YVVT7.mjs} +1 -1
- package/dist/cli/{chunk-GBQLNEB7.js → chunk-I4NWMPT3.js} +53 -53
- package/dist/cli/{chunk-SE252VCN.js → chunk-K2RUSHZ7.js} +4 -4
- package/dist/cli/{chunk-CVBMI2HY.mjs → chunk-L2GMFNAO.mjs} +3 -3
- package/dist/cli/{chunk-P2IEBDEG.js → chunk-LM5UIDFA.js} +7 -7
- package/dist/cli/{chunk-HDUDLOGI.mjs → chunk-LMUOUIBV.mjs} +5 -5
- package/dist/cli/{chunk-HO4PLJHS.mjs → chunk-NBHCEVWY.mjs} +4 -4
- package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
- package/dist/cli/{chunk-GXZK35XL.mjs → chunk-OTQ2CO6M.mjs} +2 -2
- package/dist/cli/{chunk-F4W4J6BT.mjs → chunk-QJ4FWKUU.mjs} +2 -2
- package/dist/cli/{chunk-TZSRQYKH.mjs → chunk-QXWE6PHI.mjs} +2 -2
- package/dist/cli/{chunk-2OHR2B5U.js → chunk-R23HZ6AV.js} +2 -2
- package/dist/cli/{chunk-TJRGYEDA.mjs → chunk-RACN23LT.mjs} +4 -4
- package/dist/cli/{chunk-4BQEGVNC.js → chunk-RI2PLVD4.js} +7 -7
- package/dist/cli/{chunk-73H5KG5T.js → chunk-S4F2R2LO.js} +9 -9
- package/dist/cli/{chunk-AYJVYXES.mjs → chunk-S5PMBDY6.mjs} +10 -10
- package/dist/cli/{chunk-LBFU3VRY.js → chunk-SZHNIKTR.js} +26 -26
- package/dist/cli/{chunk-3T6HNVZN.mjs → chunk-TMQ3PCSY.mjs} +2 -2
- package/dist/cli/{chunk-MBHPAZEA.js → chunk-UI67QLIR.js} +53 -53
- package/dist/cli/{chunk-WER5FPHI.js → chunk-UYZNRLDE.js} +6 -1
- package/dist/cli/{chunk-BU2MZXN6.js → chunk-UZ7VPOTA.js} +3 -3
- package/dist/cli/{chunk-ZJVQXD7M.js → chunk-VP65YKOA.js} +5 -5
- package/dist/cli/{chunk-QWEQV3R3.js → chunk-WIKIF67Q.js} +8 -8
- package/dist/cli/{chunk-KQKPDXIZ.mjs → chunk-WRJ6MEY5.mjs} +1 -1
- package/dist/cli/{chunk-C5M43H4F.mjs → chunk-Y3SG26KP.mjs} +4 -4
- package/dist/cli/{chunk-UUKMZK23.mjs → chunk-YEX3VNAY.mjs} +2 -2
- package/dist/cli/{chunk-G52LFTXC.js → chunk-YSB44HZB.js} +2 -2
- package/dist/cli/{chunk-XMBIESQ7.mjs → chunk-ZICPJKMP.mjs} +5 -5
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-74EFMI3L.mjs → csv-WAD54M7T.mjs} +4 -4
- package/dist/cli/{csv-WQ5IPBPJ.js → csv-XTKN255I.js} +13 -13
- package/dist/cli/{db-JMTHP7J2.mjs → db-2ELZMJFC.mjs} +6 -6
- package/dist/cli/{db-LUU3EFBM.js → db-TTS6Y4FI.js} +27 -27
- package/dist/cli/describe-2V7H5LJP.js +49 -0
- package/dist/cli/{describe-PKBLERG6.mjs → describe-Z7GWMGKU.mjs} +17 -17
- package/dist/cli/{executions-SM32REFN.mjs → executions-2TQH54AB.mjs} +6 -6
- package/dist/cli/{executions-LVMXG5GY.js → executions-WUBVVJXN.js} +8 -8
- package/dist/cli/{feedback-AECGZDEG.js → feedback-6KAY4LE6.js} +8 -8
- package/dist/cli/{feedback-V7PEANAR.mjs → feedback-QI75ZVF2.mjs} +4 -4
- package/dist/cli/{git-BDX3U6NA.mjs → git-3PI2SXVS.mjs} +5 -5
- package/dist/cli/git-DCADFTQ6.js +25 -0
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-JRGBSX4O.js → legacy-noops-BNEVRTQT.js} +8 -8
- package/dist/cli/{legacy-noops-W6E7TXE4.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
- package/dist/cli/{monitors-RKWUYNER.mjs → monitors-BYQ5V5MX.mjs} +7 -7
- package/dist/cli/{monitors-JT6QZITH.js → monitors-WRWVVXUZ.js} +91 -91
- package/dist/cli/{org-PALGDO5U.js → org-KWCSSJ3Y.js} +72 -72
- package/dist/cli/{org-5XOHJY6O.mjs → org-OZNDX3G2.mjs} +6 -6
- package/dist/cli/{pages-Q5MG4J6F.mjs → pages-DXU3TNND.mjs} +6 -6
- package/dist/cli/{pages-UKICE2RA.js → pages-OQVOMVF5.js} +17 -17
- package/dist/cli/{play-MR324ZTD.js → play-6D7U66KO.js} +312 -312
- package/dist/cli/{play-PY5AT3JQ.mjs → play-ZFG4HDDX.mjs} +17 -17
- package/dist/cli/{providers-V3YMXJFB.mjs → providers-4RRQIK3Q.mjs} +6 -6
- package/dist/cli/{providers-MGBLIMRF.js → providers-H7R3Z5HS.js} +9 -9
- package/dist/cli/{quickstart-LYQ5N6VI.js → quickstart-FQ5E5G6O.js} +6 -6
- package/dist/cli/{quickstart-MMETU4RG.mjs → quickstart-TFKRPMCH.mjs} +4 -4
- package/dist/cli/{run-PZ7CWOJJ.mjs → run-GRCGGUUM.mjs} +29 -134
- package/dist/cli/{run-A5CNTDYQ.js → run-QRDJTXKB.js} +43 -148
- package/dist/cli/search-2FB7WQUS.js +32 -0
- package/dist/cli/{search-IRDHHP7N.mjs → search-OEVSDE3U.mjs} +7 -7
- package/dist/cli/{search-output-N7RQNWBW.js → search-output-F6KBWKT2.js} +6 -6
- package/dist/cli/{search-output-7UAKSD7H.mjs → search-output-VK5ZDVKL.mjs} +4 -4
- package/dist/cli/{secrets-XN4UDYNN.mjs → secrets-DCRVVQV2.mjs} +6 -6
- package/dist/cli/{secrets-XJGQ3BLJ.js → secrets-KKAAZENS.js} +15 -15
- package/dist/cli/{sessions-4UUVDBAO.js → sessions-FDHENJVG.js} +6 -6
- package/dist/cli/{sessions-324MFEFP.mjs → sessions-XVBIXCXU.mjs} +5 -5
- package/dist/cli/{settings-REBKKLBF.js → settings-36HMWFAP.js} +78 -78
- package/dist/cli/{settings-4EZEUQOS.mjs → settings-OBVR52US.mjs} +11 -11
- package/dist/cli/{setup-G3VQ5NCJ.mjs → setup-KFYQZYP3.mjs} +9 -9
- package/dist/cli/{setup-ELPVMUCK.js → setup-M6OWOPMB.js} +47 -47
- package/dist/cli/{skills-RLUDQJWB.mjs → skills-AZDPA6IQ.mjs} +7 -7
- package/dist/cli/skills-URCPOKZZ.js +33 -0
- package/dist/cli/tools-4G5J5NQP.js +56 -0
- package/dist/cli/{tools-MRAFK3MJ.mjs → tools-F6XEUK7H.mjs} +16 -16
- package/dist/cli/{update-WRTYTP3Y.mjs → update-QMGJRICE.mjs} +9 -9
- package/dist/cli/update-UWVL2OYA.js +33 -0
- package/dist/cli/{workflow-ALJ3HLW4.mjs → workflow-L5WNCAPB.mjs} +7 -7
- package/dist/cli/{workflow-LHS32WIT.js → workflow-M4YPUASM.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +100 -100
- package/dist/release.d.mts +5 -1
- package/dist/release.d.ts +5 -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-F3OYGJ7T.js +0 -43
- package/dist/cli/describe-35UK3DNO.js +0 -49
- package/dist/cli/git-3KBELBUI.js +0 -25
- package/dist/cli/search-4SG3UMIQ.js +0 -32
- package/dist/cli/skills-X5FY5KJM.js +0 -33
- package/dist/cli/tools-PCRPD5XD.js +0 -56
- package/dist/cli/update-Q4ND4F7E.js +0 -33
|
@@ -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
|
|
4
|
+
var _chunkS4F2R2LOjs = require('./chunk-S4F2R2LO.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkFL7NHJTSjs = require('./chunk-FL7NHJTS.js');
|
|
9
|
+
require('./chunk-FH7ZABHW.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkGW6HV7Z7js = require('./chunk-GW6HV7Z7.js');
|
|
15
|
+
require('./chunk-LM5UIDFA.js');
|
|
16
16
|
require('./chunk-D3BCSAN7.js');
|
|
17
17
|
|
|
18
18
|
|
|
@@ -24,29 +24,29 @@ require('./chunk-XK5DMLZE.js');
|
|
|
24
24
|
require('./chunk-VLEVVDWG.js');
|
|
25
25
|
require('./chunk-J33TSWO5.js');
|
|
26
26
|
require('./chunk-HGFFYVXN.js');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-F3TDT57M.js');
|
|
28
28
|
require('./chunk-NPZBE64X.js');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-5DEJ3TLB.js');
|
|
30
30
|
require('./chunk-E4CABWXL.js');
|
|
31
31
|
require('./chunk-AUQQVDAB.js');
|
|
32
32
|
require('./chunk-NMU3VR5U.js');
|
|
33
33
|
require('./chunk-XDVT3GOM.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-DY7T6VNT.js');
|
|
35
|
+
require('./chunk-YSB44HZB.js');
|
|
36
|
+
require('./chunk-FFDWL5N2.js');
|
|
37
|
+
require('./chunk-R23HZ6AV.js');
|
|
38
|
+
require('./chunk-4EFD6R2V.js');
|
|
39
|
+
require('./chunk-UI67QLIR.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
43
|
-
require('./chunk-
|
|
44
|
-
require('./chunk-
|
|
45
|
-
require('./chunk-
|
|
42
|
+
var _chunkFNKSRKTAjs = require('./chunk-FNKSRKTA.js');
|
|
43
|
+
require('./chunk-RI2PLVD4.js');
|
|
44
|
+
require('./chunk-UZ7VPOTA.js');
|
|
45
|
+
require('./chunk-K2RUSHZ7.js');
|
|
46
46
|
require('./chunk-ALJJRZNJ.js');
|
|
47
47
|
require('./chunk-XNYIZMNQ.js');
|
|
48
48
|
require('./chunk-DIAWYWT5.js');
|
|
49
|
-
require('./chunk-
|
|
49
|
+
require('./chunk-UYZNRLDE.js');
|
|
50
50
|
require('./chunk-OG64RBAC.js');
|
|
51
51
|
require('./chunk-COGTRVWW.js');
|
|
52
52
|
|
|
@@ -81,7 +81,7 @@ function readInput(options) {
|
|
|
81
81
|
return input;
|
|
82
82
|
}
|
|
83
83
|
function refuse(message, output) {
|
|
84
|
-
|
|
84
|
+
_chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
|
|
85
85
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
86
86
|
output
|
|
87
87
|
);
|
|
@@ -97,7 +97,7 @@ async function runAnything(name, options) {
|
|
|
97
97
|
logsOut: options.logsOut,
|
|
98
98
|
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)])
|
|
99
99
|
};
|
|
100
|
-
if (!
|
|
100
|
+
if (!_chunkGW6HV7Z7js.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
101
101
|
let input;
|
|
102
102
|
let timeoutMs;
|
|
103
103
|
try {
|
|
@@ -115,7 +115,7 @@ async function runAnything(name, options) {
|
|
|
115
115
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
116
116
|
}
|
|
117
117
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
118
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
118
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-4G5J5NQP.js")));
|
|
119
119
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
120
120
|
}
|
|
121
121
|
} catch (error) {
|
|
@@ -136,7 +136,7 @@ async function runAnything(name, options) {
|
|
|
136
136
|
if (name !== void 0) {
|
|
137
137
|
return refuse("Use a name or -e, not both.", output);
|
|
138
138
|
}
|
|
139
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
139
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-6D7U66KO.js")));
|
|
140
140
|
let file;
|
|
141
141
|
try {
|
|
142
142
|
file = writeInlinePlay(options.eval);
|
|
@@ -159,19 +159,19 @@ async function runAnything(name, options) {
|
|
|
159
159
|
output
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
|
-
if (
|
|
162
|
+
if (_chunkS4F2R2LOjs.looksLikeFilePath.call(void 0, name)) {
|
|
163
163
|
output.label = `${name} (play file)`;
|
|
164
164
|
return runPlay(name, play);
|
|
165
165
|
}
|
|
166
166
|
let { base, revision } = splitRevision(name);
|
|
167
|
-
let found = await
|
|
167
|
+
let found = await _chunkFL7NHJTSjs.findNamed.call(void 0, base, {});
|
|
168
168
|
if (!found.chosen && revision) {
|
|
169
|
-
found = await
|
|
169
|
+
found = await _chunkFL7NHJTSjs.findNamed.call(void 0, name, {});
|
|
170
170
|
if (found.chosen)
|
|
171
171
|
({ base, revision } = { base: name, revision: void 0 });
|
|
172
172
|
}
|
|
173
173
|
const { chosen, shadowed } = found;
|
|
174
|
-
if (!chosen) return refuse(
|
|
174
|
+
if (!chosen) return refuse(_chunkFL7NHJTSjs.nothingNamed.call(void 0, base), output);
|
|
175
175
|
const { described } = chosen;
|
|
176
176
|
if (described.kind === "custom_play" && shadowed) {
|
|
177
177
|
console.error(
|
|
@@ -196,7 +196,7 @@ async function runAnything(name, options) {
|
|
|
196
196
|
if (runner.via === "play") {
|
|
197
197
|
return runPlay(runner.reference, { ...play, revision });
|
|
198
198
|
}
|
|
199
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
199
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-4G5J5NQP.js")));
|
|
200
200
|
return executeToolForReceipt({
|
|
201
201
|
toolId: runner.toolId,
|
|
202
202
|
params: input,
|
|
@@ -210,7 +210,7 @@ function dryRun(described, input, output) {
|
|
|
210
210
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
211
211
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
212
212
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
213
|
-
|
|
213
|
+
_chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
|
|
214
214
|
{
|
|
215
215
|
id: null,
|
|
216
216
|
status: "dry_run",
|
|
@@ -227,11 +227,11 @@ function dryRun(described, input, output) {
|
|
|
227
227
|
return missing.length ? 2 : 0;
|
|
228
228
|
}
|
|
229
229
|
async function runPlay(reference, play) {
|
|
230
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
230
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-6D7U66KO.js")));
|
|
231
231
|
const { output, options, revision } = play;
|
|
232
232
|
if (options.dryRun) {
|
|
233
233
|
return handlePlayRun(
|
|
234
|
-
|
|
234
|
+
_chunkS4F2R2LOjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
235
235
|
input: JSON.stringify(play.input),
|
|
236
236
|
dryRun: true,
|
|
237
237
|
json: output.receiptJson === true
|
|
@@ -240,12 +240,12 @@ async function runPlay(reference, play) {
|
|
|
240
240
|
}
|
|
241
241
|
let id = null;
|
|
242
242
|
let written = false;
|
|
243
|
-
const progress =
|
|
244
|
-
if (!play.noWait) progress.setLogWriter(
|
|
243
|
+
const progress = _chunkFNKSRKTAjs.createCliProgress.call(void 0, true);
|
|
244
|
+
if (!play.noWait) progress.setLogWriter(_chunkGW6HV7Z7js.openLogDestination.call(void 0, output));
|
|
245
245
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
246
246
|
try {
|
|
247
247
|
const code = await handlePlayRun(
|
|
248
|
-
|
|
248
|
+
_chunkS4F2R2LOjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
249
249
|
input: JSON.stringify(play.input),
|
|
250
250
|
// The receipt is the only thing on stdout.
|
|
251
251
|
json: true,
|
|
@@ -278,7 +278,7 @@ async function runPlay(reference, play) {
|
|
|
278
278
|
},
|
|
279
279
|
writeStarted: (runId, status) => {
|
|
280
280
|
written = true;
|
|
281
|
-
|
|
281
|
+
_chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
|
|
282
282
|
{
|
|
283
283
|
id: runId,
|
|
284
284
|
status,
|
|
@@ -293,7 +293,7 @@ async function runPlay(reference, play) {
|
|
|
293
293
|
}
|
|
294
294
|
);
|
|
295
295
|
if (!written) {
|
|
296
|
-
|
|
296
|
+
_chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
|
|
297
297
|
{
|
|
298
298
|
id,
|
|
299
299
|
status: "failed",
|
|
@@ -305,7 +305,7 @@ async function runPlay(reference, play) {
|
|
|
305
305
|
return code;
|
|
306
306
|
} catch (error) {
|
|
307
307
|
if (written) throw error;
|
|
308
|
-
|
|
308
|
+
_chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
|
|
309
309
|
{
|
|
310
310
|
id,
|
|
311
311
|
status: "failed",
|
|
@@ -320,122 +320,17 @@ async function runPlay(reference, play) {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
function registerRunCommand(program) {
|
|
323
|
-
program.command("run [name]").description(
|
|
324
|
-
"Run anything search returns: a tool, a play, or a local play file."
|
|
325
|
-
).option(
|
|
323
|
+
program.command("run [name]").description("Run a tool, a play, a play file, or inline code.").option(
|
|
326
324
|
"-e, --eval <code>",
|
|
327
|
-
"
|
|
328
|
-
).option("--input <json>", "Input as a JSON object").option(
|
|
329
|
-
"--input-file <path>",
|
|
330
|
-
"Input as a JSON object read from a file; - reads stdin"
|
|
331
|
-
).option(
|
|
332
|
-
"--json-out <path>",
|
|
333
|
-
"Save the whole result as JSON to this new file; - writes it to stdout"
|
|
334
|
-
).option(
|
|
325
|
+
"Code to run as a play body, instead of a name"
|
|
326
|
+
).option("--input <json>", "Input as a JSON object").option("--input-file <path>", "Input from a JSON file; - reads stdin").option("--json-out <path>", "Save the result as JSON to this new file").option(
|
|
335
327
|
"--csv-out <[list=]path>",
|
|
336
|
-
"Save
|
|
328
|
+
"Save rows as CSV to this new file; repeat for more lists",
|
|
337
329
|
(value, previous = []) => [...previous, value]
|
|
338
|
-
).option(
|
|
339
|
-
"--fields <paths>",
|
|
340
|
-
"Only these comma-separated dotted paths, in the receipt and the CSV"
|
|
341
|
-
).option("--full", "Show every field's type and first value").option("--lines <n>", "Show up to this many lines of values (default 32)").option("--json", "Print the receipt as JSON instead of text").option(
|
|
342
|
-
"--receipt-out <path>",
|
|
343
|
-
"Also save the JSON receipt to this new file"
|
|
344
|
-
).option(
|
|
345
|
-
"--dry-run",
|
|
346
|
-
"Check the input against the contract and show the price; nothing is sent"
|
|
347
|
-
).option(
|
|
348
|
-
"--fresh",
|
|
349
|
-
"Call providers again instead of reusing results saved by earlier runs"
|
|
350
|
-
).option(
|
|
351
|
-
"--max-credits <credits>",
|
|
352
|
-
"Stop a play run that would spend more Deepline credits than this"
|
|
353
|
-
).option(
|
|
330
|
+
).option("--fields <paths>", "Only these dotted paths, comma-separated").option("--dry-run", "Check the input and show the price; runs nothing").option(
|
|
354
331
|
"--timeout <duration>",
|
|
355
|
-
"Stop waiting after
|
|
356
|
-
).option(
|
|
357
|
-
"--logs-out <path>",
|
|
358
|
-
"Write a play's live logs to this new file; - writes them to stdout"
|
|
359
|
-
).addHelpText(
|
|
360
|
-
"after",
|
|
361
|
-
`
|
|
362
|
-
Name:
|
|
363
|
-
Any id deepline search returns: a tool id, a play name or reference, or a
|
|
364
|
-
local play file. It resolves as deepline describe resolves it.
|
|
365
|
-
deepline/<name> the Deepline tool or play, when a play your workspace
|
|
366
|
-
created has the same name (that one runs by default)
|
|
367
|
-
<play>@latest the newest saved revision; <play>@<revision-id> one
|
|
368
|
-
revision. The live revision runs by default.
|
|
369
|
-
-e '<code>' in place of a name: the code is the body of a play
|
|
370
|
-
function, input holds --input, and deepline is the
|
|
371
|
-
runtime, as in a .play.ts file in this directory.
|
|
372
|
-
|
|
373
|
-
Input:
|
|
374
|
-
One JSON object whose fields are the inputs deepline describe lists.
|
|
375
|
-
A play that reads a CSV takes the path as a field: '{"csv":"leads.csv"}'.
|
|
376
|
-
|
|
377
|
-
Output:
|
|
378
|
-
The data is always saved to a file: a new temporary one unless --json-out
|
|
379
|
-
or --csv-out names one. Output paths must not exist yet. A tool's data is
|
|
380
|
-
the provider's response; a play's is its result, each dataset handle
|
|
381
|
-
replaced by that dataset's rows.
|
|
382
|
-
The receipt says what ran, how it ended and what it cost, where the data
|
|
383
|
-
is, and what came back, within 32 lines (--lines changes it):
|
|
384
|
-
default the tool's declared outputs, else the data itself, read
|
|
385
|
-
breadth-first: every top-level field before nested ones
|
|
386
|
-
--fields only the paths you name; a path through a list applies to
|
|
387
|
-
each item, so people.email is every person's email
|
|
388
|
-
--full every field's type and first value
|
|
389
|
-
--csv-out writes the row list it names, else the one --fields reaches
|
|
390
|
-
into, else the tool's declared row list, else the largest:
|
|
391
|
-
--csv-out people=people.csv. Repeat it for more lists. --fields under a
|
|
392
|
-
list's path choose its columns; company.domain becomes its own column.
|
|
393
|
-
The full JSON Schema goes to a file the receipt names. --json prints the
|
|
394
|
-
receipt as JSON; --receipt-out also saves it to a file.
|
|
395
|
-
|
|
396
|
-
Where things are printed:
|
|
397
|
-
stdout the receipt; or the data, under --json-out - or --csv-out -
|
|
398
|
-
stderr progress, the live logs' path, and the receipt when the data
|
|
399
|
-
is on stdout
|
|
400
|
-
Only one of --json-out, --csv-out and --logs-out may use -.
|
|
401
|
-
|
|
402
|
-
Waiting:
|
|
403
|
-
run waits for the result. --timeout stops waiting, not the work: a play
|
|
404
|
-
keeps running and the receipt says how to check on it. --timeout 0
|
|
405
|
-
returns a play's run id at once. A play's live logs go to a temporary
|
|
406
|
-
file named on stderr when it starts; --logs-out chooses the file.
|
|
407
|
-
|
|
408
|
-
Reuse:
|
|
409
|
-
A tool call is saved under a retry key before it is sent. Running the same
|
|
410
|
-
call again within the hour, after an interruption, replays it instead of
|
|
411
|
-
paying twice. Plays reuse the results of calls they made before.
|
|
412
|
-
--fresh calls the providers again.
|
|
413
|
-
|
|
414
|
-
Cost:
|
|
415
|
-
--dry-run shows the price first. --max-credits caps one play run, in
|
|
416
|
-
place of the play's own billing.maxCreditsPerRun: a run that reaches it
|
|
417
|
-
stops, and its receipt says so. A tool call has one price, so the cap
|
|
418
|
-
applies to plays.
|
|
419
|
-
|
|
420
|
-
Follow-up:
|
|
421
|
-
deepline runs get <id> reads a run, or a tool call for 24 hours, again
|
|
422
|
-
by the id its receipt gave.
|
|
423
|
-
|
|
424
|
-
Exit codes:
|
|
425
|
-
0 completed
|
|
426
|
-
1 the tool or play failed, or is still running after --timeout
|
|
427
|
-
2 nothing ran: bad input or flags, an existing output file, an unknown
|
|
428
|
-
name, a monitor type, or a --dry-run that found missing input
|
|
429
|
-
|
|
430
|
-
Examples:
|
|
431
|
-
deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
432
|
-
deepline run person-linkedin-to-email --input-file input.json --dry-run
|
|
433
|
-
deepline run my.play.ts --input '{"csv":"leads.csv"}' --csv-out out.csv
|
|
434
|
-
deepline run company-search --input-file - --json-out - < input.json
|
|
435
|
-
deepline run my-play@latest --timeout 0
|
|
436
|
-
deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
|
|
437
|
-
`
|
|
438
|
-
).action(async (name, options) => {
|
|
332
|
+
"Stop waiting after 90s, 10m, 1h; 0 returns at once"
|
|
333
|
+
).option("--max-credits <credits>", "Stop a play run that would spend more").option("--fresh", "Call providers again instead of reusing saved results").option("--json", "Print the receipt as JSON").option("--full", "Show every field of the result").option("--lines <n>", "Lines of values in the receipt (default 32)").option("--receipt-out <path>", "Also save the receipt as JSON").option("--logs-out <path>", "Save a play's live logs here; - prints them").action(async (name, options) => {
|
|
439
334
|
process.exitCode = await runAnything(name, options);
|
|
440
335
|
});
|
|
441
336
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkLM5UIDFAjs = require('./chunk-LM5UIDFA.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-F3TDT57M.js');
|
|
11
|
+
require('./chunk-5DEJ3TLB.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-AUQQVDAB.js');
|
|
14
|
+
require('./chunk-NMU3VR5U.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-RI2PLVD4.js');
|
|
17
|
+
require('./chunk-UZ7VPOTA.js');
|
|
18
|
+
require('./chunk-K2RUSHZ7.js');
|
|
19
|
+
require('./chunk-ALJJRZNJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-DIAWYWT5.js');
|
|
22
|
+
require('./chunk-UYZNRLDE.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkLM5UIDFAjs.SEARCH_TYPES; exports.appendCsv = _chunkLM5UIDFAjs.appendCsv; exports.parseTypes = _chunkLM5UIDFAjs.parseTypes; exports.pointAtDescribe = _chunkLM5UIDFAjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkLM5UIDFAjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkLM5UIDFAjs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NBHCEVWY.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QXWE6PHI.mjs";
|
|
11
|
+
import "./chunk-C55LNEUF.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
13
|
import "./chunk-ONONSV2Q.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-YEX3VNAY.mjs";
|
|
17
|
+
import "./chunk-2QUROYZU.mjs";
|
|
18
|
+
import "./chunk-WRJ6MEY5.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-4GWEZPZR.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -6,13 +6,13 @@ var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
|
6
6
|
var _chunkXK5DMLZEjs = require('./chunk-XK5DMLZE.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
|
|
10
|
+
require('./chunk-UZ7VPOTA.js');
|
|
11
|
+
require('./chunk-K2RUSHZ7.js');
|
|
12
12
|
require('./chunk-ALJJRZNJ.js');
|
|
13
13
|
require('./chunk-XNYIZMNQ.js');
|
|
14
14
|
require('./chunk-DIAWYWT5.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-UYZNRLDE.js');
|
|
16
16
|
require('./chunk-OG64RBAC.js');
|
|
17
17
|
|
|
18
18
|
|
|
@@ -5854,7 +5854,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5854
5854
|
];
|
|
5855
5855
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
5856
5856
|
if (result.results.length === 0)
|
|
5857
|
-
return
|
|
5857
|
+
return _chunkRI2PLVD4js.renderCommandEnvelopeText.call(void 0, result);
|
|
5858
5858
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5859
5859
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5860
5860
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5879,7 +5879,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
5879
5879
|
actions: _optionalChain([render, 'optionalAccess', _16 => _16.actions])
|
|
5880
5880
|
};
|
|
5881
5881
|
const followUps = _optionalChain([remaining, 'access', _17 => _17.sections, 'optionalAccess', _18 => _18.length]) || _optionalChain([remaining, 'access', _19 => _19.actions, 'optionalAccess', _20 => _20.length]) ? `
|
|
5882
|
-
${
|
|
5882
|
+
${_chunkRI2PLVD4js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5883
5883
|
const notes = rows.flatMap(
|
|
5884
5884
|
(row) => row.notes.map((note) => ` ${row.id}: ${note}`)
|
|
5885
5885
|
);
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-XRDXNAAY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
renderCommandEnvelopeText
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YEX3VNAY.mjs";
|
|
10
|
+
import "./chunk-2QUROYZU.mjs";
|
|
11
|
+
import "./chunk-WRJ6MEY5.mjs";
|
|
12
12
|
import "./chunk-4QF2K7TM.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-HBL4PM5Q.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4GWEZPZR.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QXWE6PHI.mjs";
|
|
4
|
+
import "./chunk-C55LNEUF.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-ONONSV2Q.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-YEX3VNAY.mjs";
|
|
13
|
+
import "./chunk-2QUROYZU.mjs";
|
|
14
|
+
import "./chunk-WRJ6MEY5.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-4GWEZPZR.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkF3TDT57Mjs = require('./chunk-F3TDT57M.js');
|
|
4
|
+
require('./chunk-5DEJ3TLB.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-AUQQVDAB.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -9,13 +9,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
|
|
13
|
+
require('./chunk-UZ7VPOTA.js');
|
|
14
|
+
require('./chunk-K2RUSHZ7.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-UYZNRLDE.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
@@ -207,9 +207,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async function handleList(options) {
|
|
210
|
-
const client = new (0,
|
|
210
|
+
const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
|
|
211
211
|
const secrets = await client.listSecrets();
|
|
212
|
-
|
|
212
|
+
_chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
secrets,
|
|
215
215
|
count: secrets.length,
|
|
@@ -227,14 +227,14 @@ async function handleList(options) {
|
|
|
227
227
|
}
|
|
228
228
|
async function handleCheck(nameInput, options) {
|
|
229
229
|
const name = normalizeSecretName(nameInput);
|
|
230
|
-
const client = new (0,
|
|
230
|
+
const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
|
|
231
231
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
232
232
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
233
233
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
234
234
|
const ok = check ? check.ok : Boolean(secret);
|
|
235
235
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
236
236
|
const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
|
|
237
|
-
|
|
237
|
+
_chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
|
|
238
238
|
{
|
|
239
239
|
ok,
|
|
240
240
|
name,
|
|
@@ -262,7 +262,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
262
262
|
const name = normalizeSecretName(nameInput);
|
|
263
263
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
264
264
|
const value = await readSecretValueFromOptions(options);
|
|
265
|
-
const { http } =
|
|
265
|
+
const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
|
|
266
266
|
const response = await http.post(
|
|
267
267
|
"/api/v2/secrets",
|
|
268
268
|
{
|
|
@@ -274,7 +274,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
276
|
const secret = response.secret;
|
|
277
|
-
|
|
277
|
+
_chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
|
|
278
278
|
{
|
|
279
279
|
ok: true,
|
|
280
280
|
secret,
|
|
@@ -302,7 +302,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
302
302
|
}
|
|
303
303
|
const note = options.clear ? "" : noteInput;
|
|
304
304
|
if (options.dryRun) {
|
|
305
|
-
|
|
305
|
+
_chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
|
|
306
306
|
{
|
|
307
307
|
ok: true,
|
|
308
308
|
dryRun: true,
|
|
@@ -323,9 +323,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
323
323
|
);
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
|
-
const client = new (0,
|
|
326
|
+
const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
|
|
327
327
|
const secret = await client.updateSecretNote(secretId, note);
|
|
328
|
-
|
|
328
|
+
_chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
|
|
329
329
|
{
|
|
330
330
|
ok: true,
|
|
331
331
|
secret,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
4
|
+
var _chunkWIKIF67Qjs = require('./chunk-WIKIF67Q.js');
|
|
5
|
+
require('./chunk-RI2PLVD4.js');
|
|
6
|
+
require('./chunk-UZ7VPOTA.js');
|
|
7
|
+
require('./chunk-K2RUSHZ7.js');
|
|
8
8
|
require('./chunk-ALJJRZNJ.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
10
|
require('./chunk-DIAWYWT5.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-UYZNRLDE.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
require('./chunk-COGTRVWW.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.registerSessionSendRenderCommands =
|
|
17
|
+
exports.registerSessionSendRenderCommands = _chunkWIKIF67Qjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkWIKIF67Qjs.registerSessionsCommands;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands,
|
|
3
3
|
registerSessionsCommands
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3S5VBG6Z.mjs";
|
|
5
|
+
import "./chunk-YEX3VNAY.mjs";
|
|
6
|
+
import "./chunk-2QUROYZU.mjs";
|
|
7
|
+
import "./chunk-WRJ6MEY5.mjs";
|
|
8
8
|
import "./chunk-4QF2K7TM.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-HBL4PM5Q.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4GWEZPZR.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
export {
|