deepline 0.3.582 → 0.3.583
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/internal-bootstrap-token.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +53 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +69 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +33 -4
- package/dist/cli/{agents-UAXDG4FS.mjs → agents-G344SPW2.mjs} +68 -4
- package/dist/cli/{agents-2L73CJHH.js → agents-ZPDXVPEE.js} +95 -31
- package/dist/cli/{auth-3B2QB4UH.mjs → auth-V66RP2A6.mjs} +5 -5
- package/dist/cli/auth-VU6VIPVY.js +44 -0
- package/dist/cli/{billing-CPBRWG3M.mjs → billing-BTMGZJCR.mjs} +9 -9
- package/dist/cli/{billing-E7FO622G.js → billing-ROYUQF67.js} +105 -105
- package/dist/cli/{chunk-V54YQHPV.js → chunk-23LYXVI4.js} +6 -6
- package/dist/cli/{chunk-CYZSHD66.js → chunk-2D5YISAL.js} +2 -2
- package/dist/cli/{chunk-OUFOJTEJ.mjs → chunk-2QIVGZKS.mjs} +5 -5
- package/dist/cli/{chunk-NZR5PBNP.mjs → chunk-43MKV6E4.mjs} +3 -3
- package/dist/cli/{chunk-EGH4JNJP.js → chunk-6GYGMWQV.js} +8 -8
- package/dist/cli/{chunk-KDITCSPN.mjs → chunk-6S3OAJCJ.mjs} +19 -0
- package/dist/cli/{chunk-JD7P73ZW.mjs → chunk-72MEXMSH.mjs} +1 -1
- package/dist/cli/{chunk-ISN4F6AY.js → chunk-73IZARR5.js} +13 -13
- package/dist/cli/{chunk-NVHICORD.mjs → chunk-7AFTLM74.mjs} +2 -2
- package/dist/cli/{chunk-7QX5PCHP.mjs → chunk-ACS6BYE5.mjs} +2 -2
- package/dist/cli/{chunk-POYADK77.js → chunk-AHQDUMDM.js} +20 -20
- package/dist/cli/{chunk-JF4DUC2F.mjs → chunk-AXKFZIXC.mjs} +2 -2
- package/dist/cli/{chunk-LDMCTV2Z.mjs → chunk-AXOQ2FMS.mjs} +1 -1
- package/dist/cli/{chunk-HP6A3JCX.js → chunk-BUMCOVBP.js} +5 -5
- package/dist/cli/{chunk-SYWLWTWM.mjs → chunk-C233ZRNX.mjs} +4 -4
- package/dist/cli/{chunk-EB2YLLZJ.js → chunk-C7UCDL2K.js} +41 -41
- package/dist/cli/{chunk-H3KVMALU.js → chunk-CCC3NIYB.js} +9 -9
- package/dist/cli/{chunk-4ZAWRCB6.mjs → chunk-DNYFNOWG.mjs} +5 -5
- package/dist/cli/{chunk-ZARGHLZZ.mjs → chunk-EHV52KUV.mjs} +1 -1
- package/dist/cli/{chunk-6NEMTKTA.mjs → chunk-GFX6CDAB.mjs} +5 -5
- package/dist/cli/{chunk-JUZIMW4S.js → chunk-GQHZV7EQ.js} +7 -7
- package/dist/cli/{chunk-ZH23XGJO.js → chunk-H4BYWEV5.js} +4 -4
- package/dist/cli/{chunk-I5J6HGVR.mjs → chunk-H7F3ROT3.mjs} +2 -2
- package/dist/cli/{chunk-2K6EIL2D.mjs → chunk-HOGRT5X6.mjs} +1 -1
- package/dist/cli/{chunk-DPLYQITT.js → chunk-HYT5B2NL.js} +2 -2
- package/dist/cli/{chunk-G5YU6RJ4.mjs → chunk-J54DMFV5.mjs} +2 -2
- package/dist/cli/{chunk-FWB3QR7W.mjs → chunk-JQT3SHXL.mjs} +1 -1
- package/dist/cli/{chunk-4TTEAUZV.mjs → chunk-K6GDSCFL.mjs} +3 -3
- package/dist/cli/{chunk-XYQMOXP4.mjs → chunk-KSXBLXLV.mjs} +1 -1
- package/dist/cli/{chunk-Y36SQMSN.js → chunk-LHD3HOYN.js} +19 -0
- package/dist/cli/{chunk-LHA45DNY.mjs → chunk-LVJAHM2I.mjs} +3 -3
- package/dist/cli/{chunk-YPP436NM.js → chunk-MEAWK5G7.js} +53 -53
- package/dist/cli/{chunk-MRSYC74T.js → chunk-MFPHCUHK.js} +5 -5
- package/dist/cli/{chunk-D7J33HTK.mjs → chunk-N5RCXI3M.mjs} +5 -5
- package/dist/cli/{chunk-KQEW3EAU.js → chunk-N5XRUZRS.js} +16 -16
- package/dist/cli/{chunk-U2QQQNWW.mjs → chunk-P2YNTAGL.mjs} +2 -2
- package/dist/cli/{chunk-CPZL6Z7D.js → chunk-PGUK5VPC.js} +2 -2
- package/dist/cli/{chunk-VA35T3AF.js → chunk-PULU5YGX.js} +20 -20
- package/dist/cli/{chunk-ABJZQHON.mjs → chunk-PVDP3AZY.mjs} +4 -4
- package/dist/cli/{chunk-NJGXYYHN.js → chunk-QGOHEJVJ.js} +5 -5
- package/dist/cli/{chunk-3EOET5UB.js → chunk-QPN662ZP.js} +100 -100
- package/dist/cli/{chunk-Z3IAEHID.js → chunk-RO2LTLJA.js} +48 -48
- package/dist/cli/{chunk-3DVWSTAI.mjs → chunk-ROWROMXD.mjs} +1 -1
- package/dist/cli/{chunk-ROUNT4NX.mjs → chunk-U6BTY4WS.mjs} +1 -1
- package/dist/cli/{chunk-FBSPHBAF.js → chunk-VH45GV3T.js} +1 -1
- package/dist/cli/{chunk-5436ZJPH.js → chunk-VXDKL434.js} +3 -3
- package/dist/cli/{chunk-PNQVB4UD.mjs → chunk-VXEZKZU4.mjs} +11 -11
- package/dist/cli/{chunk-SKKRESFB.js → chunk-W3ECB7GC.js} +3 -3
- package/dist/cli/{chunk-RNZXMOA6.mjs → chunk-W5WLWRKL.mjs} +2 -2
- package/dist/cli/{chunk-DI5MULNX.js → chunk-WAZR72D5.js} +26 -26
- package/dist/cli/{chunk-GZBXN56A.js → chunk-WUVDJSZE.js} +23 -23
- package/dist/cli/{chunk-ZL3O7F5J.js → chunk-YRNWA2IL.js} +15 -15
- package/dist/cli/{chunk-3HIJNXRB.js → chunk-ZFJNIZHI.js} +10 -10
- package/dist/cli/{chunk-DSHIB2XQ.mjs → chunk-ZHIJA4MW.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-6WUNDV77.js +22 -0
- package/dist/cli/{concurrent-runs-help-UFNYQYU2.mjs → concurrent-runs-help-A2Y33OQ5.mjs} +6 -6
- package/dist/cli/{csv-QSDRGLQH.mjs → csv-PS74WVXE.mjs} +4 -4
- package/dist/cli/{csv-ZI5LYFHF.js → csv-TKSR2LFV.js} +13 -13
- package/dist/cli/{db-WVWXNNMO.mjs → db-EXLBRZ7K.mjs} +6 -6
- package/dist/cli/{db-ZDL6Q53U.js → db-R6GOM4VC.js} +27 -27
- package/dist/cli/describe-CA2FL2OS.js +50 -0
- package/dist/cli/{describe-UUQBKUVL.mjs → describe-JJBXFPVQ.mjs} +18 -18
- package/dist/cli/{executions-SCGHTWTC.js → executions-474U7R3Y.js} +8 -8
- package/dist/cli/{executions-QN3OYJKT.mjs → executions-5PEODJQG.mjs} +6 -6
- package/dist/cli/{feedback-7QPHLXGU.mjs → feedback-QUQVRDBD.mjs} +6 -6
- package/dist/cli/{feedback-6QQ7ONLW.js → feedback-URTCAOXP.js} +14 -14
- package/dist/cli/{git-HFPJX573.mjs → git-AQF23KKU.mjs} +5 -5
- package/dist/cli/git-WJ4V2B4T.js +26 -0
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-4SZ5O24P.mjs → integrations-5POBI72U.mjs} +7 -7
- package/dist/cli/{integrations-ND2HULSH.js → integrations-NMFOOSS4.js} +29 -29
- package/dist/cli/{legacy-noops-WUP3TBR2.mjs → legacy-noops-6YVCOSFO.mjs} +6 -6
- package/dist/cli/{legacy-noops-GQF6AYP5.js → legacy-noops-V75T5LHV.js} +9 -9
- package/dist/cli/{mcp-3GUFYGCQ.mjs → mcp-7WEYQ5V7.mjs} +4 -4
- package/dist/cli/{mcp-L3YYVEU6.js → mcp-N6GYXCUQ.js} +24 -24
- package/dist/cli/{monitors-CVZZN5WG.js → monitors-HW4H4PE5.js} +100 -100
- package/dist/cli/{monitors-OFCVJSH5.mjs → monitors-TAK4M5Y4.mjs} +7 -7
- package/dist/cli/{org-3DTAYA52.mjs → org-3C2RN36N.mjs} +6 -6
- package/dist/cli/{org-MQ5AUN7I.js → org-FULXOXNE.js} +121 -121
- package/dist/cli/{outcomes-42W24EXG.mjs → outcomes-4KRZL6OL.mjs} +6 -6
- package/dist/cli/{outcomes-MGDUYHUD.js → outcomes-O3HDQWGN.js} +14 -14
- package/dist/cli/{play-IMAD7QTV.js → play-HA4RGX7T.js} +336 -336
- package/dist/cli/{play-PD45RNYZ.mjs → play-ZTRWUODW.mjs} +19 -19
- package/dist/cli/{providers-WONHPTRG.js → providers-DXMKWBZN.js} +9 -9
- package/dist/cli/{providers-DYKHG7NV.mjs → providers-FAKWWJE2.mjs} +6 -6
- package/dist/cli/{quickstart-6AAFULGC.js → quickstart-MA74UPNI.js} +6 -6
- package/dist/cli/{quickstart-5QPGHLEX.mjs → quickstart-YWGBTW77.mjs} +4 -4
- package/dist/cli/{run-WOW7QO3W.js → run-4DXSGXRB.js} +44 -44
- package/dist/cli/{run-4K6ZU7H7.mjs → run-QHCYMSBP.mjs} +23 -23
- package/dist/cli/{search-CKVFWVXQ.mjs → search-N4ZOK5XX.mjs} +7 -7
- package/dist/cli/search-V765JH2H.js +32 -0
- package/dist/cli/{search-output-B5QE7ZNK.js → search-output-D5VAC52B.js} +6 -6
- package/dist/cli/{search-output-WWB25JWA.mjs → search-output-F2OYLVK2.mjs} +4 -4
- package/dist/cli/{secrets-WKIMR346.js → secrets-3KETOTDS.js} +15 -15
- package/dist/cli/{secrets-SVZB6TSW.mjs → secrets-LD4FVAQI.mjs} +6 -6
- package/dist/cli/{sessions-P3QENG6T.mjs → sessions-LPLI4Z4O.mjs} +6 -6
- package/dist/cli/sessions-XC65OMDS.js +23 -0
- package/dist/cli/{settings-V5ABL6D2.mjs → settings-NCGPJG3Z.mjs} +12 -12
- package/dist/cli/{settings-UIFRGJW3.js → settings-NFBTCOMB.js} +85 -85
- package/dist/cli/{setup-A5MIJU3S.js → setup-ATBSUSH4.js} +49 -49
- package/dist/cli/{setup-E67NJTEF.mjs → setup-NH6MRYXZ.mjs} +9 -9
- package/dist/cli/skills-4NQBTGOL.js +37 -0
- package/dist/cli/{skills-WLHOQ4DO.mjs → skills-ITPBPIXD.mjs} +7 -7
- package/dist/cli/{tools-EG4KL3BB.mjs → tools-2XZPR65V.mjs} +17 -17
- package/dist/cli/tools-ZVOFATX2.js +57 -0
- package/dist/cli/update-QME3KPOP.js +37 -0
- package/dist/cli/{update-IPFBE6SA.mjs → update-VFB22FWO.mjs} +9 -9
- package/dist/cli/{views-XDN6SEWY.mjs → views-MRN3HWTG.mjs} +6 -6
- package/dist/cli/{views-ZIBY2RVB.js → views-WJUZOQM2.js} +21 -21
- package/dist/cli/{workflow-O2XPMOVL.mjs → workflow-A6P7YV5W.mjs} +42 -18
- package/dist/cli/{workflow-BLKPBRBT.js → workflow-Q4JFBTVH.js} +53 -29
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +116 -116
- 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-ALBG5LF4.js +0 -44
- package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +0 -22
- package/dist/cli/describe-QB5T47B3.js +0 -50
- package/dist/cli/git-4FXTWHXT.js +0 -26
- package/dist/cli/search-YZIJS7QU.js +0 -32
- package/dist/cli/sessions-VQPGPXMU.js +0 -23
- package/dist/cli/skills-GTBK33MV.js +0 -37
- package/dist/cli/tools-GPAIPRPQ.js +0 -57
- package/dist/cli/update-QLWS32WR.js +0 -37
|
@@ -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(); } } 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 _chunkW3ECB7GCjs = require('./chunk-W3ECB7GC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkPULU5YGXjs = require('./chunk-PULU5YGX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -18,20 +18,20 @@ var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkVXDKL434js = require('./chunk-VXDKL434.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkH4BYWEV5js = require('./chunk-H4BYWEV5.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkVH45GV3Tjs = require('./chunk-VH45GV3T.js');
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
var _crypto = require('crypto');
|
|
@@ -66,7 +66,7 @@ function shouldSkipCompatibilityCheck() {
|
|
|
66
66
|
return value === "1" || value === "true" || value === "yes";
|
|
67
67
|
}
|
|
68
68
|
function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
|
|
69
|
-
return _path.join.call(void 0,
|
|
69
|
+
return _path.join.call(void 0, _chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
|
|
70
70
|
}
|
|
71
71
|
function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
|
|
72
72
|
return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
|
|
@@ -74,9 +74,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
|
|
|
74
74
|
function compatibilityCacheKey(baseUrl, command, skillsVersion) {
|
|
75
75
|
return JSON.stringify({
|
|
76
76
|
baseUrl: baseUrl.replace(/\/$/, ""),
|
|
77
|
-
version:
|
|
78
|
-
apiContract:
|
|
79
|
-
apiMajor:
|
|
77
|
+
version: _chunkH4BYWEV5js.SDK_VERSION,
|
|
78
|
+
apiContract: _chunkH4BYWEV5js.SDK_API_CONTRACT,
|
|
79
|
+
apiMajor: _chunkH4BYWEV5js.SDK_API_MAJOR,
|
|
80
80
|
command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
|
|
81
81
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
82
82
|
});
|
|
@@ -84,8 +84,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
|
|
|
84
84
|
function legacyCompatibilityCacheKey(baseUrl, command) {
|
|
85
85
|
return JSON.stringify({
|
|
86
86
|
baseUrl: baseUrl.replace(/\/$/, ""),
|
|
87
|
-
version:
|
|
88
|
-
apiContract:
|
|
87
|
+
version: _chunkH4BYWEV5js.SDK_VERSION,
|
|
88
|
+
apiContract: _chunkH4BYWEV5js.SDK_API_CONTRACT,
|
|
89
89
|
command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
|
|
90
90
|
});
|
|
91
91
|
}
|
|
@@ -110,7 +110,7 @@ function isSavedWithin(savedAt, windowMs, now) {
|
|
|
110
110
|
}
|
|
111
111
|
var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
112
112
|
function claimUpdateAdvisory(baseUrl, now = Date.now()) {
|
|
113
|
-
const path = _path.join.call(void 0,
|
|
113
|
+
const path = _path.join.call(void 0, _chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
|
|
114
114
|
try {
|
|
115
115
|
const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
|
|
116
116
|
if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
|
|
@@ -195,7 +195,7 @@ async function attemptSdkCompatibility(baseUrl, options, timeoutMs) {
|
|
|
195
195
|
const timeout = setTimeout(() => controller.abort(), timeoutMs);
|
|
196
196
|
try {
|
|
197
197
|
const url = new URL("/api/v2/sdk/compat", baseUrl);
|
|
198
|
-
url.searchParams.set("version",
|
|
198
|
+
url.searchParams.set("version", _chunkH4BYWEV5js.SDK_VERSION);
|
|
199
199
|
if (_optionalChain([options, 'access', _34 => _34.command, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()])) {
|
|
200
200
|
url.searchParams.set("command", options.command.trim());
|
|
201
201
|
}
|
|
@@ -203,7 +203,7 @@ async function attemptSdkCompatibility(baseUrl, options, timeoutMs) {
|
|
|
203
203
|
url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
|
|
204
204
|
url.searchParams.set(
|
|
205
205
|
"skills_cli_capability",
|
|
206
|
-
String(
|
|
206
|
+
String(_chunkVH45GV3Tjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
if (options.catalog) {
|
|
@@ -215,14 +215,14 @@ async function attemptSdkCompatibility(baseUrl, options, timeoutMs) {
|
|
|
215
215
|
const response = await fetch(url, {
|
|
216
216
|
method: "GET",
|
|
217
217
|
headers: {
|
|
218
|
-
...
|
|
219
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
220
|
-
"X-Deepline-SDK-Version":
|
|
221
|
-
"X-Deepline-API-Major": String(
|
|
222
|
-
"X-Deepline-API-Contract":
|
|
218
|
+
..._chunkH4BYWEV5js.deploymentProtectionHeaders.call(void 0, ),
|
|
219
|
+
"User-Agent": `deepline-ts-sdk/${_chunkH4BYWEV5js.SDK_VERSION}`,
|
|
220
|
+
"X-Deepline-SDK-Version": _chunkH4BYWEV5js.SDK_VERSION,
|
|
221
|
+
"X-Deepline-API-Major": String(_chunkH4BYWEV5js.SDK_API_MAJOR),
|
|
222
|
+
"X-Deepline-API-Contract": _chunkH4BYWEV5js.SDK_API_CONTRACT,
|
|
223
223
|
"X-Deepline-CLI-Update-Preferences": "1",
|
|
224
224
|
"X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
|
|
225
|
-
...options.catalog ? { Authorization: `Bearer ${
|
|
225
|
+
...options.catalog ? { Authorization: `Bearer ${_chunkVXDKL434js.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
|
|
226
226
|
..._optionalChain([options, 'access', _37 => _37.catalog, 'optionalAccess', _38 => _38.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
|
|
227
227
|
},
|
|
228
228
|
signal: controller.signal
|
|
@@ -238,7 +238,7 @@ async function attemptSdkCompatibility(baseUrl, options, timeoutMs) {
|
|
|
238
238
|
if (!raw || typeof raw.ok !== "boolean" || typeof raw.status !== "string") {
|
|
239
239
|
return {
|
|
240
240
|
ok: false,
|
|
241
|
-
transient:
|
|
241
|
+
transient: _chunkVXDKL434js.TRANSIENT_HTTP_STATUSES.has(response.status),
|
|
242
242
|
error: new Error(
|
|
243
243
|
`SDK compatibility endpoint returned a non-policy response (HTTP ${response.status}).`
|
|
244
244
|
)
|
|
@@ -309,8 +309,8 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
|
|
|
309
309
|
}
|
|
310
310
|
async function requireSdkCompatibility(baseUrl, options = {}) {
|
|
311
311
|
if (shouldSkipCompatibilityCheck()) return null;
|
|
312
|
-
const maxRetries = _nullishCoalesce(options.maxRetries, () => (
|
|
313
|
-
const backoffMs = _nullishCoalesce(options.backoffMs, () => (
|
|
312
|
+
const maxRetries = _nullishCoalesce(options.maxRetries, () => ( _chunkVXDKL434js.DEFAULT_MAX_RETRIES));
|
|
313
|
+
const backoffMs = _nullishCoalesce(options.backoffMs, () => ( _chunkVXDKL434js.defaultRetryBackoffMs));
|
|
314
314
|
let attempt;
|
|
315
315
|
let attempts = 0;
|
|
316
316
|
for (; ; ) {
|
|
@@ -318,7 +318,7 @@ async function requireSdkCompatibility(baseUrl, options = {}) {
|
|
|
318
318
|
attempt = await attemptSdkCompatibility(
|
|
319
319
|
baseUrl,
|
|
320
320
|
options,
|
|
321
|
-
_nullishCoalesce(options.attemptTimeoutMs, () => (
|
|
321
|
+
_nullishCoalesce(options.attemptTimeoutMs, () => ( _chunkVXDKL434js.DEFAULT_TIMEOUT))
|
|
322
322
|
);
|
|
323
323
|
if (attempt.ok) return acceptSdkCompatibility(baseUrl, options, attempt);
|
|
324
324
|
if (!attempt.transient || attempts > maxRetries) break;
|
|
@@ -467,7 +467,7 @@ function skillsSourceUrl(baseUrl) {
|
|
|
467
467
|
function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
|
|
468
468
|
const skillNames = Array.isArray(skillName) ? skillName : [skillName];
|
|
469
469
|
const [firstSkillName, ...extraSkillNames] = skillNames;
|
|
470
|
-
const agents = _nullishCoalesce(options.agents, () => (
|
|
470
|
+
const agents = _nullishCoalesce(options.agents, () => ( _chunkVXDKL434js.DEFAULT_SKILL_AGENTS));
|
|
471
471
|
const values = {
|
|
472
472
|
skills_index_url: skillsIndexUrl(baseUrl),
|
|
473
473
|
skills_source_url: skillsSourceUrl(baseUrl),
|
|
@@ -598,25 +598,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
|
|
|
598
598
|
var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
|
|
599
599
|
var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
|
|
600
600
|
function shouldSkipSkillsSync() {
|
|
601
|
-
if (
|
|
601
|
+
if (_chunkH4BYWEV5js.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
|
|
602
602
|
return true;
|
|
603
603
|
}
|
|
604
604
|
const value = _optionalChain([process, 'access', _62 => _62.env, 'access', _63 => _63.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65(), 'access', _66 => _66.toLowerCase, 'call', _67 => _67()]);
|
|
605
605
|
return value === "1" || value === "true" || value === "yes" || value === "on" || !isCliSkillsSyncEnabled();
|
|
606
606
|
}
|
|
607
607
|
function unavailableSkillsNoticePath(baseUrl) {
|
|
608
|
-
return _path.join.call(void 0,
|
|
608
|
+
return _path.join.call(void 0, _chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
|
|
609
609
|
}
|
|
610
610
|
var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
|
|
611
611
|
var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
|
|
612
|
-
var agentLeaseSegment =
|
|
612
|
+
var agentLeaseSegment = _chunkVXDKL434js.skillsAgentPathSegment;
|
|
613
613
|
function sortedLeaseAgents(agents) {
|
|
614
|
-
const expanded = agents.includes("*") ? [...agents, ...
|
|
614
|
+
const expanded = agents.includes("*") ? [...agents, ..._chunkVXDKL434js.KNOWN_SKILL_AGENTS] : agents;
|
|
615
615
|
return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
|
|
616
616
|
}
|
|
617
617
|
function inProgressSkillsSyncPath(baseUrl, agent) {
|
|
618
618
|
return _path.join.call(void 0,
|
|
619
|
-
|
|
619
|
+
_chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
620
620
|
`skills-sync-in-progress-${agentLeaseSegment(agent)}`
|
|
621
621
|
);
|
|
622
622
|
}
|
|
@@ -775,7 +775,7 @@ var SkillsStateUnavailableError = class extends Error {
|
|
|
775
775
|
constructor(baseUrl, error) {
|
|
776
776
|
const detail = error instanceof Error ? error.message : String(error);
|
|
777
777
|
super(
|
|
778
|
-
`Could not save skills state in ${
|
|
778
|
+
`Could not save skills state in ${_chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
|
|
779
779
|
);
|
|
780
780
|
this.name = "SkillsStateUnavailableError";
|
|
781
781
|
}
|
|
@@ -860,7 +860,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
|
|
|
860
860
|
}
|
|
861
861
|
function deferredSkillsNoticePath(baseUrl, agents) {
|
|
862
862
|
return _path.join.call(void 0,
|
|
863
|
-
|
|
863
|
+
_chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
864
864
|
`skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
|
|
865
865
|
);
|
|
866
866
|
}
|
|
@@ -894,8 +894,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
|
|
|
894
894
|
if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
|
|
895
895
|
}
|
|
896
896
|
function flushDeferredSkillsSyncNotices(baseUrl) {
|
|
897
|
-
if (shouldSkipSkillsSync() ||
|
|
898
|
-
const agents =
|
|
897
|
+
if (shouldSkipSkillsSync() || _chunkVXDKL434js.hasActivePluginSkills.call(void 0, )) return;
|
|
898
|
+
const agents = _chunkVXDKL434js.resolveAutoSyncSkillAgents.call(void 0, );
|
|
899
899
|
if (agents.length === 0) return;
|
|
900
900
|
flushDeferredSkillsNotices(baseUrl, agents);
|
|
901
901
|
}
|
|
@@ -918,7 +918,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
|
|
|
918
918
|
}
|
|
919
919
|
function failedSkillsSyncPath(baseUrl, agents) {
|
|
920
920
|
return _path.join.call(void 0,
|
|
921
|
-
|
|
921
|
+
_chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
922
922
|
`skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
|
|
923
923
|
);
|
|
924
924
|
}
|
|
@@ -947,7 +947,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
|
|
|
947
947
|
if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
|
|
948
948
|
writeMarkedSkillsSyncVersion(path, remoteVersion);
|
|
949
949
|
const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
|
|
950
|
-
const manualCommand = _optionalChain([probes, 'optionalAccess', _71 => _71.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames,
|
|
950
|
+
const manualCommand = _optionalChain([probes, 'optionalAccess', _71 => _71.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkVXDKL434js.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
|
|
951
951
|
const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _72 => _72.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
|
|
952
952
|
notice(
|
|
953
953
|
`Deepline agent skills are out of date, but ${explanation} To install manually, run:
|
|
@@ -1035,7 +1035,7 @@ function buildSdkSkillNames(v1SkillNames2) {
|
|
|
1035
1035
|
return sortedUniqueSkillNames(v1SkillNames2);
|
|
1036
1036
|
}
|
|
1037
1037
|
function isDefaultAgentSet(agents) {
|
|
1038
|
-
return agents.length ===
|
|
1038
|
+
return agents.length === _chunkVXDKL434js.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkVXDKL434js.DEFAULT_SKILL_AGENTS[index]);
|
|
1039
1039
|
}
|
|
1040
1040
|
function safeSkillFilePath(value) {
|
|
1041
1041
|
if (typeof value !== "string" || !value) return false;
|
|
@@ -1192,10 +1192,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
|
|
|
1192
1192
|
method: "POST",
|
|
1193
1193
|
headers: { "Content-Type": "application/json" },
|
|
1194
1194
|
body: JSON.stringify({
|
|
1195
|
-
sdk_cli: { version:
|
|
1195
|
+
sdk_cli: { version: _chunkH4BYWEV5js.SDK_VERSION },
|
|
1196
1196
|
skills: {
|
|
1197
1197
|
version: localVersion,
|
|
1198
|
-
capability:
|
|
1198
|
+
capability: _chunkVH45GV3Tjs.SDK_RELEASE.packageCapabilities.skillsGuidance
|
|
1199
1199
|
}
|
|
1200
1200
|
}),
|
|
1201
1201
|
signal: controller.signal
|
|
@@ -1234,7 +1234,7 @@ function probeInstallers(timeoutMs) {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
function noInstallerProbePath(baseUrl) {
|
|
1236
1236
|
return _path.join.call(void 0,
|
|
1237
|
-
|
|
1237
|
+
_chunkVXDKL434js.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
1238
1238
|
"skills-sync-no-installer-unknown.json"
|
|
1239
1239
|
);
|
|
1240
1240
|
}
|
|
@@ -1314,7 +1314,7 @@ function temporarySkillsSyncSkipCommand() {
|
|
|
1314
1314
|
function resolveSkillsInstallSpawn(install, platform = process.platform) {
|
|
1315
1315
|
return resolveShellSpawn(install.command, install.args, platform);
|
|
1316
1316
|
}
|
|
1317
|
-
function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents =
|
|
1317
|
+
function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkVXDKL434js.DEFAULT_SKILL_AGENTS, knownProbes) {
|
|
1318
1318
|
const commands = [];
|
|
1319
1319
|
const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
|
|
1320
1320
|
if (probes.bunx === "available") {
|
|
@@ -1458,7 +1458,7 @@ function runLegacySkillsCleanup(agents) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
function writeSdkSkillsStatusLine(line) {
|
|
1461
|
-
const progress =
|
|
1461
|
+
const progress = _chunkW3ECB7GCjs.getActiveCliProgress.call(void 0, );
|
|
1462
1462
|
if (progress) {
|
|
1463
1463
|
progress.writeLine(line);
|
|
1464
1464
|
return;
|
|
@@ -1469,11 +1469,11 @@ function writeSdkSkillsStatusLine(line) {
|
|
|
1469
1469
|
async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
1470
1470
|
const skip = shouldSkipSkillsSync();
|
|
1471
1471
|
if (skip && !options.claim) return;
|
|
1472
|
-
const usingPluginSkills =
|
|
1472
|
+
const usingPluginSkills = _chunkVXDKL434js.hasActivePluginSkills.call(void 0, );
|
|
1473
1473
|
if (usingPluginSkills) {
|
|
1474
1474
|
return;
|
|
1475
1475
|
}
|
|
1476
|
-
const agents =
|
|
1476
|
+
const agents = _chunkVXDKL434js.resolveAutoSyncSkillAgents.call(void 0, );
|
|
1477
1477
|
if (options.mode === "detached" && agents.length > 0) {
|
|
1478
1478
|
flushDeferredSkillsNotices(baseUrl, agents);
|
|
1479
1479
|
}
|
|
@@ -1510,7 +1510,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
|
1510
1510
|
return;
|
|
1511
1511
|
}
|
|
1512
1512
|
try {
|
|
1513
|
-
const localVersion =
|
|
1513
|
+
const localVersion = _chunkVXDKL434js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
1514
1514
|
const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
|
|
1515
1515
|
needsUpdate: options.update.needs_update,
|
|
1516
1516
|
remoteVersion: options.update.remote.version
|
|
@@ -1632,7 +1632,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
|
|
|
1632
1632
|
update.remoteVersion,
|
|
1633
1633
|
agents
|
|
1634
1634
|
);
|
|
1635
|
-
void
|
|
1635
|
+
void _chunkPULU5YGXjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
|
|
1636
1636
|
baseUrl,
|
|
1637
1637
|
remoteSkillsVersion: update.remoteVersion,
|
|
1638
1638
|
agents,
|
|
@@ -1663,7 +1663,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
|
|
|
1663
1663
|
notice(
|
|
1664
1664
|
publishedFailure ? `Deepline could not verify the published skills: ${detail}. The local version remains stale; it will retry automatically on a later command.` : `Deepline agent-skills refresh could not verify the five installed targets: ${detail}. The local version remains stale. After fixing the install, remove ${failedSkillsSyncPath(baseUrl, agents)} to retry this version automatically.`
|
|
1665
1665
|
);
|
|
1666
|
-
void
|
|
1666
|
+
void _chunkPULU5YGXjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
|
|
1667
1667
|
baseUrl,
|
|
1668
1668
|
remoteSkillsVersion: update.remoteVersion,
|
|
1669
1669
|
agents,
|
|
@@ -1676,7 +1676,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
1678
|
runLegacySkillsCleanup(agents);
|
|
1679
|
-
if (!
|
|
1679
|
+
if (!_chunkVXDKL434js.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
|
|
1680
1680
|
notice(
|
|
1681
1681
|
"Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
|
|
1682
1682
|
);
|
|
@@ -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.583",
|
|
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,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 _chunkH4BYWEV5js = require('./chunk-H4BYWEV5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -778,7 +778,7 @@ function readSkillsVersionFile(path) {
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
function resolveAutoSyncSkillAgents() {
|
|
781
|
-
switch (
|
|
781
|
+
switch (_chunkH4BYWEV5js.detectAgentRuntime.call(void 0, )) {
|
|
782
782
|
case "codex":
|
|
783
783
|
return ["codex"];
|
|
784
784
|
case "claude_code":
|
|
@@ -848,7 +848,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
// src/http.ts
|
|
851
|
-
var HttpClient2 = class extends
|
|
851
|
+
var HttpClient2 = class extends _chunkH4BYWEV5js.HttpClient {
|
|
852
852
|
constructor(config) {
|
|
853
853
|
super(config, readSdkSkillsLocalVersion);
|
|
854
854
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JQT3SHXL.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-43MKV6E4.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C233ZRNX.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-P2YNTAGL.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZHIJA4MW.mjs";
|
|
64
64
|
import {
|
|
65
65
|
beginToolExecuteCommand,
|
|
66
66
|
getToolExecuteInvocationId,
|
|
67
67
|
maybeAutoUpdateAndRelaunch,
|
|
68
68
|
registerCompatibilityCatalog,
|
|
69
69
|
runToolExecuteStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-GFX6CDAB.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-72MEXMSH.mjs";
|
|
76
76
|
import {
|
|
77
77
|
checkSdkCompatibility,
|
|
78
78
|
enforceSdkCompatibilityResponse,
|
|
79
79
|
flushDeferredSkillsSyncNotices,
|
|
80
80
|
requireSdkCompatibility,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DNYFNOWG.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-7AFTLM74.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-U6BTY4WS.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1057,7 +1057,7 @@ Examples:
|
|
|
1057
1057
|
process.exitCode = await narrowView();
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
|
-
const { describeAnything } = await import("./describe-
|
|
1060
|
+
const { describeAnything } = await import("./describe-JJBXFPVQ.mjs");
|
|
1061
1061
|
process.exitCode = await describeAnything(
|
|
1062
1062
|
toolId,
|
|
1063
1063
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPULU5YGXjs = require('./chunk-PULU5YGX.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
|
|
|
19
19
|
__init9() {this.quiet = false}
|
|
20
20
|
// --json output is one JSON document: progress never renders under it.
|
|
21
21
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
|
|
22
|
-
this.enabled = enabled && !
|
|
22
|
+
this.enabled = enabled && !_chunkPULU5YGXjs.isJsonOutputMode.call(void 0, );
|
|
23
23
|
}
|
|
24
24
|
setLogWriter(writer) {
|
|
25
25
|
this.logWriter = writer;
|
|
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
|
|
|
59
59
|
this.logWriter(line);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (_chunkPULU5YGXjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
traceCliSpan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-72MEXMSH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
enforceSdkCompatibilityResponse,
|
|
6
6
|
flushDeferredSkillsSyncNotices,
|
|
7
7
|
requireSdkCompatibility
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DNYFNOWG.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|