deepline 0.3.560 → 0.3.561
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/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +57 -2
- package/dist/cli/auth-3NPCF7CL.js +44 -0
- package/dist/cli/{auth-5DIOQ3MO.mjs → auth-3WPN7C5X.mjs} +5 -5
- package/dist/cli/{billing-N5NS5CU6.js → billing-DOHRRK73.js} +99 -99
- package/dist/cli/{billing-K7EJAM55.mjs → billing-NCTL4WRP.mjs} +8 -8
- package/dist/cli/{chunk-ZY64JRBV.js → chunk-2YNYWHBI.js} +10 -10
- package/dist/cli/{chunk-Q77PM7U2.js → chunk-3CZLPUBB.js} +20 -20
- package/dist/cli/{chunk-FW2WRBZO.js → chunk-3VBYUQ4G.js} +9 -9
- package/dist/cli/{chunk-RQKCNQ5Q.mjs → chunk-42RBMROP.mjs} +2 -2
- package/dist/cli/{chunk-KP4B3JOT.js → chunk-4OITRR2V.js} +13 -13
- package/dist/cli/{chunk-4MAY2TA3.mjs → chunk-5FJGP5NZ.mjs} +2 -2
- package/dist/cli/{chunk-UTPANENL.js → chunk-5TWCVY3S.js} +12 -12
- package/dist/cli/{chunk-MCGR7NG3.js → chunk-65L4IL3E.js} +6 -6
- package/dist/cli/{chunk-5QMEJPN5.js → chunk-6EJOADKB.js} +8 -8
- package/dist/cli/{chunk-AMUMEL4C.mjs → chunk-7HGJKBNU.mjs} +1 -1
- package/dist/cli/{chunk-ZSDZ3Q5P.mjs → chunk-AEIRQFS3.mjs} +1 -1
- package/dist/cli/{chunk-5VC6K4NJ.js → chunk-AH5T5LX2.js} +26 -26
- package/dist/cli/{chunk-V7OFUYMO.mjs → chunk-BIIKWKTD.mjs} +2 -2
- package/dist/cli/{chunk-GR5WG72L.mjs → chunk-CCRGOHC2.mjs} +2 -2
- package/dist/cli/{chunk-E76MM3SC.js → chunk-CUU5CL3V.js} +20 -20
- package/dist/cli/{chunk-V7ZOAXZ4.js → chunk-DSOQL4ZF.js} +23 -23
- package/dist/cli/{chunk-BQ2Z6PSE.mjs → chunk-EAU5JJXS.mjs} +5 -5
- package/dist/cli/{chunk-CQJMFUMK.mjs → chunk-EN36QYE7.mjs} +1 -1
- package/dist/cli/{chunk-YDWFE7MX.js → chunk-F5XQN6PU.js} +2 -2
- package/dist/cli/{chunk-GKONGPVW.mjs → chunk-GCBXXN4P.mjs} +5 -5
- package/dist/cli/{chunk-XLM7L4UY.mjs → chunk-GITMBBDH.mjs} +1 -1
- package/dist/cli/{chunk-JHS7WKRS.mjs → chunk-GPGNBG3E.mjs} +3 -3
- package/dist/cli/{chunk-4PBYS3PS.mjs → chunk-HLWNMRSF.mjs} +1 -1
- package/dist/cli/{chunk-BW4NVW5T.js → chunk-HSRYGNCA.js} +3 -3
- package/dist/cli/{chunk-NNKZ4JYP.mjs → chunk-I4FFGMIQ.mjs} +5 -5
- package/dist/cli/{chunk-OS3FDGKX.mjs → chunk-IEVV72X5.mjs} +4 -4
- package/dist/cli/{chunk-G33LSF4T.mjs → chunk-JKBSEUFN.mjs} +2 -2
- package/dist/cli/{chunk-GTRGJITW.mjs → chunk-JNI4353Z.mjs} +11 -11
- package/dist/cli/{chunk-WOZKGI6H.mjs → chunk-JRQDDQLZ.mjs} +1 -1
- package/dist/cli/{chunk-MBLPUJ5I.js → chunk-JV3WBT3X.js} +5 -5
- package/dist/cli/{chunk-4CQ7LVRT.js → chunk-K72PGYSH.js} +48 -48
- package/dist/cli/{chunk-ZJJUVUP6.mjs → chunk-LRQZ2XO5.mjs} +2 -2
- package/dist/cli/{chunk-ZXB2Y3SG.js → chunk-M4ZL2H5B.js} +4 -4
- package/dist/cli/{chunk-F5CZ3Q2I.mjs → chunk-MTD7OXGL.mjs} +1 -1
- package/dist/cli/{chunk-24GZT76F.js → chunk-NGIQXZIE.js} +7 -7
- package/dist/cli/{chunk-SCM6BR4Q.mjs → chunk-O5TXP65R.mjs} +1 -1
- package/dist/cli/{chunk-UI7BBF2O.mjs → chunk-OBQOFQX2.mjs} +5 -5
- package/dist/cli/{chunk-JYT6P2M2.js → chunk-OML66OOS.js} +2 -2
- package/dist/cli/{chunk-Z4FWF237.js → chunk-OTOID2SE.js} +15 -15
- package/dist/cli/{chunk-Y5CZWGO4.js → chunk-PLQ4OMYO.js} +1 -1
- package/dist/cli/{chunk-A4X2O75M.mjs → chunk-PQLQ2YV7.mjs} +2 -2
- package/dist/cli/{chunk-I7CQJ7JP.js → chunk-PSXPGRZK.js} +2 -2
- package/dist/cli/{chunk-A62A73U6.mjs → chunk-QO5MVJWJ.mjs} +3 -3
- package/dist/cli/{chunk-4GRIMNDO.js → chunk-RSFBTSJZ.js} +41 -41
- package/dist/cli/{chunk-DOAD7ZCA.mjs → chunk-S4WTJQEJ.mjs} +1 -1
- package/dist/cli/{chunk-5XMABMQU.mjs → chunk-SBUFCQ3W.mjs} +2 -2
- package/dist/cli/{chunk-JQDVX3D4.mjs → chunk-T5WVODJY.mjs} +4 -4
- package/dist/cli/{chunk-7ZE6DF6B.js → chunk-X6IDT5II.js} +3 -3
- package/dist/cli/{chunk-CQS5E6D2.js → chunk-XDTI5HF7.js} +100 -100
- package/dist/cli/{chunk-OPT36HX4.js → chunk-XFEBBBYA.js} +53 -53
- package/dist/cli/{chunk-TE2NSUT5.js → chunk-XKYNEKG2.js} +5 -5
- package/dist/cli/{chunk-LMY7CGI7.js → chunk-ZFTQYCMB.js} +5 -5
- package/dist/cli/concurrent-runs-help-HWDISMIC.js +22 -0
- package/dist/cli/{concurrent-runs-help-TCB2EKTR.mjs → concurrent-runs-help-YGCPBET7.mjs} +6 -6
- package/dist/cli/{csv-R45YJYUO.mjs → csv-FWL7B2BV.mjs} +4 -4
- package/dist/cli/{csv-DWC44DLD.js → csv-QEDNA7FG.js} +13 -13
- package/dist/cli/{db-XZXNKW7B.mjs → db-RJEX3BRW.mjs} +6 -6
- package/dist/cli/{db-XIN3KF47.js → db-SRNS2IET.js} +27 -27
- package/dist/cli/{describe-6KSAHJBD.mjs → describe-N7EFSCTT.mjs} +18 -18
- package/dist/cli/describe-OHO4OETQ.js +50 -0
- package/dist/cli/{executions-C3UZLR7Y.js → executions-FVZYM5X7.js} +8 -8
- package/dist/cli/{executions-RSPQRWYL.mjs → executions-UIB2VWM3.mjs} +6 -6
- package/dist/cli/{feedback-7RCSKLW4.mjs → feedback-2UFZ73PJ.mjs} +6 -6
- package/dist/cli/{feedback-A7WP67XL.js → feedback-4DPMGP54.js} +14 -14
- package/dist/cli/git-6AKXBYB7.js +26 -0
- package/dist/cli/{git-JE6TFEK4.mjs → git-LBADM335.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-DEU3ZW5P.mjs → integrations-2MLNXLEQ.mjs} +7 -7
- package/dist/cli/{integrations-L2D3EY3H.js → integrations-YNXYTLOA.js} +20 -20
- package/dist/cli/{legacy-noops-AHTEO6EF.js → legacy-noops-KZ4TWNLG.js} +9 -9
- package/dist/cli/{legacy-noops-TL5PBCVQ.mjs → legacy-noops-MLULOC4E.mjs} +6 -6
- package/dist/cli/{mcp-KXR7YJEG.js → mcp-B3KGTSQW.js} +24 -24
- package/dist/cli/{mcp-PVRF5CGK.mjs → mcp-LBP6ZNGI.mjs} +4 -4
- package/dist/cli/{monitors-YHF6RQGU.js → monitors-7OB3JGLF.js} +100 -100
- package/dist/cli/{monitors-BMGSROH3.mjs → monitors-IUJPNNJJ.mjs} +7 -7
- package/dist/cli/{org-OO6LQPS6.mjs → org-4BJVKLJ4.mjs} +6 -6
- package/dist/cli/{org-IQJO6DJ7.js → org-ZETP5SLA.js} +121 -121
- package/dist/cli/{outcomes-6QO6NEKO.mjs → outcomes-4IH5QXAA.mjs} +6 -6
- package/dist/cli/{outcomes-NAEAOCNT.js → outcomes-XZLWT7OK.js} +14 -14
- package/dist/cli/{play-TYIBTW4E.js → play-KMXUSZ3W.js} +324 -324
- package/dist/cli/{play-MZQSOYVV.mjs → play-QGYAHOX6.mjs} +19 -19
- package/dist/cli/{providers-JDSSPMWH.js → providers-A4FNCWOJ.js} +9 -9
- package/dist/cli/{providers-JR4OWXRX.mjs → providers-LXMG2WMM.mjs} +6 -6
- package/dist/cli/{quickstart-JBX6BKGZ.mjs → quickstart-3L4ZMV5Y.mjs} +4 -4
- package/dist/cli/{quickstart-T363ASLH.js → quickstart-BRN25JX5.js} +6 -6
- package/dist/cli/{run-J3KWBIXA.js → run-36GX6EWC.js} +44 -44
- package/dist/cli/{run-6PWTGRJI.mjs → run-P3WFKNPE.mjs} +23 -23
- package/dist/cli/search-EEJ2VPS3.js +32 -0
- package/dist/cli/{search-XQG7UXAE.mjs → search-SEQFDQKQ.mjs} +7 -7
- package/dist/cli/{search-output-DNONJFPF.mjs → search-output-I5U5EI75.mjs} +4 -4
- package/dist/cli/{search-output-YZYLNDU6.js → search-output-Y32YHSQ3.js} +6 -6
- package/dist/cli/{secrets-SCKPXIT7.js → secrets-DH46W2VF.js} +15 -15
- package/dist/cli/{secrets-MR7VXG74.mjs → secrets-OIXJK4E4.mjs} +6 -6
- package/dist/cli/{sessions-MPIJTGWQ.mjs → sessions-OADAVWXU.mjs} +6 -6
- package/dist/cli/sessions-UJVLZK2H.js +23 -0
- package/dist/cli/{settings-Y5NW74ER.mjs → settings-2N5IJ7CZ.mjs} +12 -12
- package/dist/cli/{settings-YPKR5JFF.js → settings-DNJBXD5N.js} +85 -85
- package/dist/cli/{setup-5RJCLRZI.mjs → setup-5LLJ77BQ.mjs} +9 -9
- package/dist/cli/{setup-673Q3LGR.js → setup-KKZXSKN6.js} +49 -49
- package/dist/cli/skills-HRGWKTL6.js +37 -0
- package/dist/cli/{skills-2QVBD4LD.mjs → skills-U76N7CTT.mjs} +7 -7
- package/dist/cli/{tools-627KG34F.mjs → tools-4US4UIIT.mjs} +17 -17
- package/dist/cli/tools-RTNCLQEP.js +57 -0
- package/dist/cli/{update-535TTARD.mjs → update-AH44HYX7.mjs} +9 -9
- package/dist/cli/update-YY5PZGYJ.js +37 -0
- package/dist/cli/{views-FQNWZUWB.js → views-HOCGYKC5.js} +21 -21
- package/dist/cli/{views-3M24ZTXA.mjs → views-YJAFUL2K.mjs} +6 -6
- package/dist/cli/{workflow-CN46XZPG.mjs → workflow-UCVXUIRX.mjs} +7 -7
- package/dist/cli/{workflow-H6F7WAOE.js → workflow-ZNP5BLMJ.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +112 -112
- 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-R2S7KYAA.js +0 -44
- package/dist/cli/concurrent-runs-help-TKAZVMA4.js +0 -22
- package/dist/cli/describe-WLRAQDYC.js +0 -50
- package/dist/cli/git-E6XV5MEY.js +0 -26
- package/dist/cli/search-DPVHT5MJ.js +0 -32
- package/dist/cli/sessions-VNWLXJR2.js +0 -23
- package/dist/cli/skills-YGFFPGCR.js +0 -37
- package/dist/cli/tools-2BC7K3ZU.js +0 -57
- package/dist/cli/update-HWEOSPDS.js +0 -37
|
@@ -9,7 +9,7 @@ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
|
|
|
250
250
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
251
251
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
252
252
|
if (typeof logicalValue === "object") {
|
|
253
|
-
return
|
|
253
|
+
return _chunkCUU5CL3Vjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
254
254
|
}
|
|
255
255
|
return logicalValue;
|
|
256
256
|
}
|
|
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
|
|
|
642
642
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
643
643
|
columns
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return _chunkCUU5CL3Vjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
648
648
|
let temp;
|
|
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
770
770
|
};
|
|
771
771
|
if (options.receiptOut && !skipReceiptFile) {
|
|
772
772
|
persist(options.receiptOut, jsonText(receipt));
|
|
773
|
-
|
|
773
|
+
_chunkCUU5CL3Vjs.markJsonOutputHandled.call(void 0, );
|
|
774
774
|
} else {
|
|
775
775
|
printReceipt(receipt, options, {
|
|
776
776
|
data: hasData ? result.data : void 0,
|
|
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
|
|
|
939
939
|
problems.push(
|
|
940
940
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
941
941
|
);
|
|
942
|
-
const diagnostic =
|
|
942
|
+
const diagnostic = _chunkCUU5CL3Vjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
943
943
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
944
944
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
945
945
|
problems.push(
|
|
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1032
1032
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1033
1033
|
` : receiptText(receipt, options, extra);
|
|
1034
1034
|
if (options.receiptOut !== void 0) {
|
|
1035
|
-
|
|
1036
|
-
|
|
1035
|
+
_chunkCUU5CL3Vjs.writeRawStderr.call(void 0, text);
|
|
1036
|
+
_chunkCUU5CL3Vjs.markJsonOutputHandled.call(void 0, );
|
|
1037
1037
|
} else {
|
|
1038
1038
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1039
1039
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JNI4353Z.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O5TXP65R.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-BM4GE67C.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-42RBMROP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JKBSEUFN.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EN36QYE7.mjs";
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
import { writeFileSync } from "fs";
|
|
@@ -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(); } } 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
|
|
3
|
+
var _chunkK72PGYSHjs = require('./chunk-K72PGYSH.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkK72PGYSHjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
windowsHide: true,
|
|
19
19
|
encoding: "utf8",
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkXDTI5HF7js = require('./chunk-XDTI5HF7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNGIQXZIEjs = require('./chunk-NGIQXZIE.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,16 +14,16 @@ var _chunk6ASDTHENjs = require('./chunk-6ASDTHEN.js');
|
|
|
14
14
|
var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkZFTQYCMBjs = require('./chunk-ZFTQYCMB.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
var _fs = require('fs');
|
|
@@ -32,14 +32,14 @@ var _path = require('path');
|
|
|
32
32
|
// src/cli/doc-read-reporting.ts
|
|
33
33
|
var REPORT_TIMEOUT_MS = 1e3;
|
|
34
34
|
async function reportDocRead(docId) {
|
|
35
|
-
if (
|
|
35
|
+
if (_chunkCUU5CL3Vjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
36
36
|
try {
|
|
37
|
-
const baseUrl =
|
|
38
|
-
const apiKey =
|
|
37
|
+
const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
38
|
+
const apiKey = _chunkX6IDT5IIjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
39
39
|
if (!apiKey) return;
|
|
40
40
|
await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
|
|
41
41
|
method: "POST",
|
|
42
|
-
headers:
|
|
42
|
+
headers: _chunkCUU5CL3Vjs.failureReportHeaders.call(void 0, apiKey),
|
|
43
43
|
body: JSON.stringify({ doc_id: docId }),
|
|
44
44
|
signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
|
|
45
45
|
});
|
|
@@ -52,16 +52,16 @@ function nothingNamed(name) {
|
|
|
52
52
|
return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
|
|
53
53
|
}
|
|
54
54
|
function findNamed2(name, options) {
|
|
55
|
-
return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0,
|
|
55
|
+
return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunkZFTQYCMBjs.DeeplineClient)()));
|
|
56
56
|
}
|
|
57
57
|
async function describeAnything(name, options, onMissing) {
|
|
58
|
-
const client = new (0,
|
|
58
|
+
const client = new (0, _chunkZFTQYCMBjs.DeeplineClient)();
|
|
59
59
|
const lookups = _chunk6ASDTHENjs.describeLookupsFor.call(void 0, client);
|
|
60
60
|
const outcome = await _chunk6ASDTHENjs.describeName.call(void 0, name, options, {
|
|
61
61
|
...lookups,
|
|
62
62
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
63
63
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
64
|
-
seedStarterScript:
|
|
64
|
+
seedStarterScript: _chunkXDTI5HF7js.seedToolListScript
|
|
65
65
|
});
|
|
66
66
|
if (outcome.status === "missing") {
|
|
67
67
|
if (onMissing) return onMissing();
|
|
@@ -90,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
90
90
|
` : text;
|
|
91
91
|
_fs.writeFileSync.call(void 0, path, content);
|
|
92
92
|
const bytes = Buffer.byteLength(content);
|
|
93
|
-
|
|
93
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
94
94
|
{ path, bytes },
|
|
95
95
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
96
96
|
` }
|
|
97
97
|
);
|
|
98
98
|
return 0;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
101
101
|
return 0;
|
|
102
102
|
}
|
|
103
103
|
function registerDescribeCommand(program) {
|
|
104
|
-
|
|
104
|
+
_chunkNGIQXZIEjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
|
|
105
105
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
106
106
|
).addHelpText(
|
|
107
107
|
"after",
|
|
@@ -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.561",
|
|
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."
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-42RBMROP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JKBSEUFN.mjs";
|
|
7
7
|
|
|
8
8
|
// src/cli/commands/integration-commands.ts
|
|
9
9
|
import { Option } from "commander";
|
|
@@ -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 _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.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
|
+
_chunkCUU5CL3Vjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rejectRestrictedFeedback
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HLWNMRSF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getAuthedHttpClient,
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JKBSEUFN.mjs";
|
|
8
8
|
import {
|
|
9
9
|
agentSessionIdFromEnvironment,
|
|
10
10
|
claudeProjectsRoots,
|
|
11
11
|
coworkTranscriptFromEnvironment
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7HGJKBNU.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
import {
|
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkK72PGYSHjs = require('./chunk-K72PGYSH.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
|
|
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
|
|
|
145
145
|
return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
|
|
146
146
|
}
|
|
147
147
|
function resolveLocalRoot() {
|
|
148
|
-
const target =
|
|
148
|
+
const target = _chunkX6IDT5IIjs.resolveProjectPinTarget.call(void 0, );
|
|
149
149
|
if (!target.ok) {
|
|
150
150
|
throw new Error(
|
|
151
151
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
|
|
|
156
156
|
return target.dir;
|
|
157
157
|
}
|
|
158
158
|
function detectSkillsAgents(input) {
|
|
159
|
-
const runtime = _nullishCoalesce(input.runtime, () => (
|
|
159
|
+
const runtime = _nullishCoalesce(input.runtime, () => ( _chunkM4ZL2H5Bjs.detectAgentRuntime.call(void 0, )));
|
|
160
160
|
const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
|
|
161
161
|
if (knownAgent) return [knownAgent];
|
|
162
162
|
const roots = [
|
|
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
|
|
|
171
171
|
return detected.length > 0 ? detected : ["*"];
|
|
172
172
|
}
|
|
173
173
|
function skillsStatePathForScope(baseUrl, scope, root) {
|
|
174
|
-
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0,
|
|
174
|
+
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkX6IDT5IIjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
|
|
175
175
|
}
|
|
176
176
|
function buildSkillsPlan(input) {
|
|
177
177
|
const scopeArgs = input.scope === "global" ? ["--global"] : [];
|
|
178
|
-
const legacyNames = [...
|
|
178
|
+
const legacyNames = [..._chunkK72PGYSHjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
|
|
179
179
|
(a, b) => a.localeCompare(b)
|
|
180
180
|
);
|
|
181
181
|
return {
|
|
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
|
|
|
189
189
|
args: [
|
|
190
190
|
"exec",
|
|
191
191
|
"--yes",
|
|
192
|
-
`--package=${
|
|
192
|
+
`--package=${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE}`,
|
|
193
193
|
"--",
|
|
194
194
|
"skills",
|
|
195
195
|
"remove",
|
|
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
|
|
|
205
205
|
args: [
|
|
206
206
|
"exec",
|
|
207
207
|
"--yes",
|
|
208
|
-
`--package=${
|
|
208
|
+
`--package=${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE}`,
|
|
209
209
|
"--",
|
|
210
210
|
"skills",
|
|
211
211
|
"add",
|
|
212
|
-
|
|
212
|
+
_chunkK72PGYSHjs.skillsSourceUrl.call(void 0, input.baseUrl),
|
|
213
213
|
"--agent",
|
|
214
214
|
...input.agents,
|
|
215
215
|
...scopeArgs,
|
|
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
|
|
|
246
246
|
}
|
|
247
247
|
function runProcess(command, args, cwd) {
|
|
248
248
|
return new Promise((resolve, reject) => {
|
|
249
|
-
const plan =
|
|
249
|
+
const plan = _chunkK72PGYSHjs.resolveShellSpawn.call(void 0,
|
|
250
250
|
command,
|
|
251
251
|
args,
|
|
252
252
|
process.platform,
|
|
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
|
|
|
269
269
|
child.kill("SIGTERM");
|
|
270
270
|
reject(
|
|
271
271
|
new Error(
|
|
272
|
-
`${
|
|
272
|
+
`${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
|
|
273
273
|
)
|
|
274
274
|
);
|
|
275
275
|
}, SKILLS_PROCESS_TIMEOUT_MS);
|
|
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
|
|
|
280
280
|
child.once("close", (code) => {
|
|
281
281
|
clearTimeout(timeout);
|
|
282
282
|
if (code && stderr.trim()) {
|
|
283
|
-
process.stderr.write(`${
|
|
283
|
+
process.stderr.write(`${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE} exited ${code}.
|
|
284
284
|
`);
|
|
285
285
|
}
|
|
286
286
|
resolve(_nullishCoalesce(code, () => ( 1)));
|
|
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
|
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
290
|
async function showSkills(options, name) {
|
|
291
|
-
const baseUrl =
|
|
291
|
+
const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
292
292
|
const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
|
|
293
293
|
try {
|
|
294
294
|
const response = await fetch(url, {
|
|
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
|
|
|
301
301
|
}
|
|
302
302
|
if (name) {
|
|
303
303
|
const markdown = await response.text();
|
|
304
|
-
|
|
304
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
305
305
|
{ ok: true, status: "completed", skill: { name, markdown } },
|
|
306
306
|
{ json: options.json, text: markdown }
|
|
307
307
|
);
|
|
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
|
|
|
311
311
|
const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
|
|
312
312
|
(skill) => skill.install_surface === "v1" && skill.name
|
|
313
313
|
);
|
|
314
|
-
|
|
314
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
315
315
|
{
|
|
316
316
|
ok: true,
|
|
317
317
|
status: "completed",
|
|
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
|
|
|
328
328
|
);
|
|
329
329
|
return 0;
|
|
330
330
|
} catch (error) {
|
|
331
|
-
|
|
331
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
332
332
|
{
|
|
333
333
|
ok: false,
|
|
334
334
|
status: "failed",
|
|
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
351
351
|
scope = normalizeScope(options.scope);
|
|
352
352
|
root = scope === "local" ? resolveLocalRoot() : null;
|
|
353
353
|
} catch (error) {
|
|
354
|
-
|
|
354
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
355
355
|
{
|
|
356
356
|
ok: false,
|
|
357
357
|
status: "failed",
|
|
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
363
363
|
);
|
|
364
364
|
return 2;
|
|
365
365
|
}
|
|
366
|
-
const baseUrl =
|
|
366
|
+
const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
367
367
|
const catalog = {
|
|
368
|
-
skillNames: [...
|
|
369
|
-
version:
|
|
368
|
+
skillNames: [..._chunkK72PGYSHjs.DEFAULT_SDK_SKILL_NAMES],
|
|
369
|
+
version: _chunkM4ZL2H5Bjs.SDK_VERSION
|
|
370
370
|
};
|
|
371
371
|
const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
|
|
372
372
|
const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
|
|
373
373
|
if (options.dryRun) {
|
|
374
|
-
|
|
374
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
375
375
|
{ ok: true, status: "planned", dryRun: true, ...plan },
|
|
376
376
|
{ json: options.json }
|
|
377
377
|
);
|
|
378
378
|
return 0;
|
|
379
379
|
}
|
|
380
|
-
if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !
|
|
381
|
-
|
|
380
|
+
if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkK72PGYSHjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
|
|
381
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
382
382
|
{
|
|
383
383
|
ok: true,
|
|
384
384
|
status: "current",
|
|
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
410
410
|
}
|
|
411
411
|
if (scope === "local" && root) {
|
|
412
412
|
const managedNames = [
|
|
413
|
-
.../* @__PURE__ */ new Set([...plan.skillNames, ...
|
|
413
|
+
.../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkK72PGYSHjs.LEGACY_SKILL_NAMES_TO_REMOVE])
|
|
414
414
|
];
|
|
415
415
|
const agentRoots = workspaceSkillRootsForAgents(plan.agents);
|
|
416
|
-
|
|
416
|
+
_chunkX6IDT5IIjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
|
|
417
417
|
".deepline/",
|
|
418
418
|
...agentRoots.flatMap(
|
|
419
419
|
(agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
|
|
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
422
422
|
}
|
|
423
423
|
let lease;
|
|
424
424
|
try {
|
|
425
|
-
lease = scope === "global" ? await
|
|
425
|
+
lease = scope === "global" ? await _chunkK72PGYSHjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
|
|
426
426
|
waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
|
|
427
427
|
onWait: () => process.stderr.write(
|
|
428
428
|
"Waiting for a background Deepline skills refresh to finish...\n"
|
|
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
430
430
|
}) : { release: () => {
|
|
431
431
|
} };
|
|
432
432
|
} catch (error) {
|
|
433
|
-
if (!(error instanceof
|
|
434
|
-
|
|
433
|
+
if (!(error instanceof _chunkK72PGYSHjs.SkillsStateUnavailableError)) throw error;
|
|
434
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
435
435
|
{
|
|
436
436
|
ok: false,
|
|
437
437
|
status: "failed",
|
|
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
447
447
|
return 5;
|
|
448
448
|
}
|
|
449
449
|
if (!lease) {
|
|
450
|
-
|
|
450
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
451
451
|
{
|
|
452
452
|
ok: false,
|
|
453
453
|
status: "failed",
|
|
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
456
456
|
scope,
|
|
457
457
|
agents,
|
|
458
458
|
message: "A background Deepline skills refresh is still running for these agents.",
|
|
459
|
-
next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${
|
|
459
|
+
next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkK72PGYSHjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
|
|
460
460
|
},
|
|
461
461
|
{ json: options.json }
|
|
462
462
|
);
|
|
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
} catch (error) {
|
|
508
|
-
|
|
508
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
509
509
|
{
|
|
510
510
|
ok: false,
|
|
511
511
|
status: "failed",
|
|
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
521
521
|
return 5;
|
|
522
522
|
}
|
|
523
523
|
if (missing.length > 0) {
|
|
524
|
-
|
|
524
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
525
525
|
{
|
|
526
526
|
ok: false,
|
|
527
527
|
status: "failed",
|
|
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
561
561
|
{
|
|
562
562
|
schemaVersion: 1,
|
|
563
563
|
installedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
564
|
-
cliVersion:
|
|
564
|
+
cliVersion: _chunkM4ZL2H5Bjs.SDK_VERSION,
|
|
565
565
|
scope,
|
|
566
566
|
agents,
|
|
567
567
|
skillsVersion: plan.version,
|
|
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
|
|
|
574
574
|
"utf8"
|
|
575
575
|
);
|
|
576
576
|
if (scope === "global") {
|
|
577
|
-
|
|
577
|
+
_chunkK72PGYSHjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
580
580
|
{
|
|
581
581
|
ok: true,
|
|
582
582
|
status: "complete",
|
|
@@ -625,7 +625,7 @@ Examples:
|
|
|
625
625
|
"after",
|
|
626
626
|
`
|
|
627
627
|
Notes:
|
|
628
|
-
This command reinstalls current Deepline-managed skills using ${
|
|
628
|
+
This command reinstalls current Deepline-managed skills using ${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE},
|
|
629
629
|
then removes legacy Deepline skill names. Local scope writes into the resolved
|
|
630
630
|
persistent project.
|
|
631
631
|
|
|
@@ -637,13 +637,13 @@ Examples:
|
|
|
637
637
|
).action(async (options) => {
|
|
638
638
|
process.exitCode = await runSkillsCommand(options);
|
|
639
639
|
});
|
|
640
|
-
program.command(
|
|
640
|
+
program.command(_chunkK72PGYSHjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
|
|
641
641
|
"--claim <token>",
|
|
642
642
|
"Owner token of the leases this child was started for."
|
|
643
643
|
).action(async (options) => {
|
|
644
644
|
const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
|
|
645
645
|
if (!claim) {
|
|
646
|
-
|
|
646
|
+
_chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
|
|
647
647
|
{
|
|
648
648
|
ok: false,
|
|
649
649
|
status: "failed",
|
|
@@ -656,7 +656,7 @@ Examples:
|
|
|
656
656
|
process.exitCode = 2;
|
|
657
657
|
return;
|
|
658
658
|
}
|
|
659
|
-
await
|
|
659
|
+
await _chunkK72PGYSHjs.syncSdkSkillsIfNeeded.call(void 0, _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
|
|
660
660
|
mode: "inline",
|
|
661
661
|
notices: "defer",
|
|
662
662
|
claim
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MTD7OXGL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EN36QYE7.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-42RBMROP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JKBSEUFN.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EN36QYE7.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-I5U5EI75.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -771,7 +771,7 @@ function readSkillsVersionFile(path) {
|
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
773
|
function resolveAutoSyncSkillAgents() {
|
|
774
|
-
switch (
|
|
774
|
+
switch (_chunkM4ZL2H5Bjs.detectAgentRuntime.call(void 0, )) {
|
|
775
775
|
case "codex":
|
|
776
776
|
return ["codex"];
|
|
777
777
|
case "claude_code":
|
|
@@ -841,7 +841,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
841
841
|
}
|
|
842
842
|
|
|
843
843
|
// src/http.ts
|
|
844
|
-
var HttpClient2 = class extends
|
|
844
|
+
var HttpClient2 = class extends _chunkM4ZL2H5Bjs.HttpClient {
|
|
845
845
|
constructor(config) {
|
|
846
846
|
super(config, readSdkSkillsLocalVersion);
|
|
847
847
|
}
|