deepline 0.3.569 → 0.3.570
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 +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +17 -1
- package/dist/cli/{auth-VNJLXDGF.mjs → auth-KHJKNEYN.mjs} +5 -5
- package/dist/cli/auth-X2LWGPF4.js +44 -0
- package/dist/cli/{billing-OTIIK5ZQ.js → billing-Q4BRUODF.js} +99 -99
- package/dist/cli/{billing-6HD5LEI2.mjs → billing-R5AO4M3S.mjs} +8 -8
- package/dist/cli/{chunk-YNSVWNRY.mjs → chunk-2GBOHROU.mjs} +1 -1
- package/dist/cli/{chunk-HLRSNCPM.js → chunk-2GTLZNSK.js} +53 -53
- package/dist/cli/{chunk-FSAOU4HA.js → chunk-2MXS53XJ.js} +20 -20
- package/dist/cli/{chunk-FPRLFIYT.mjs → chunk-3YHMHV6U.mjs} +4 -4
- package/dist/cli/{chunk-TALKTQK5.mjs → chunk-5OOGWYSR.mjs} +1 -1
- package/dist/cli/{chunk-7QH52S3E.mjs → chunk-73RTZMDV.mjs} +3 -3
- package/dist/cli/{chunk-D3BJ2KZX.mjs → chunk-77HEH4RY.mjs} +1 -1
- package/dist/cli/{chunk-UOMMXLDU.mjs → chunk-BEE5VGCL.mjs} +11 -11
- package/dist/cli/{chunk-44HOKKIN.js → chunk-CHHXUEVC.js} +100 -100
- package/dist/cli/{chunk-MIGJHZ3P.js → chunk-DPZAEVPO.js} +20 -20
- package/dist/cli/{chunk-AKNJDDSM.mjs → chunk-EEUBKKJE.mjs} +1 -1
- package/dist/cli/{chunk-YLZ63U7S.mjs → chunk-EJB4V77N.mjs} +5 -5
- package/dist/cli/{chunk-6SBGYX25.mjs → chunk-EYEPXZNS.mjs} +2 -2
- package/dist/cli/{chunk-WVS2ITKP.js → chunk-FABLUH75.js} +3 -3
- package/dist/cli/{chunk-SWREMC6J.js → chunk-FDSQSUZF.js} +5 -5
- package/dist/cli/{chunk-DG6ILAO7.mjs → chunk-GFGXDDJH.mjs} +2 -2
- package/dist/cli/{chunk-ANXJNE2G.js → chunk-GPXLMRCB.js} +3 -3
- package/dist/cli/{chunk-IEOIGU5A.mjs → chunk-HPWP2B3D.mjs} +1 -1
- package/dist/cli/{chunk-P2LVKWU6.mjs → chunk-I4N62RWB.mjs} +2 -2
- package/dist/cli/{chunk-X4WPW5O3.mjs → chunk-I5EZZFQL.mjs} +3 -3
- package/dist/cli/{chunk-IS4NFIQY.js → chunk-J6M2AX3P.js} +8 -8
- package/dist/cli/{chunk-QLMMNBJW.js → chunk-J6PTH725.js} +6 -6
- package/dist/cli/{chunk-TH2GHSF6.js → chunk-JSHE4W6W.js} +5 -5
- package/dist/cli/{chunk-EDNWMQZQ.mjs → chunk-MH3WE5O6.mjs} +2 -2
- package/dist/cli/{chunk-TRE5X6VQ.mjs → chunk-MVHKTZCX.mjs} +1 -1
- package/dist/cli/{chunk-6Z7B3IOW.js → chunk-NIO2T6OC.js} +2 -2
- package/dist/cli/{chunk-4CLEOTG6.js → chunk-NR7QW2E7.js} +2 -2
- package/dist/cli/{chunk-SRMDDVWK.mjs → chunk-NVYQ6WCW.mjs} +5 -5
- package/dist/cli/{chunk-SMAXLMM3.js → chunk-NWAFCOUF.js} +15 -15
- package/dist/cli/{chunk-OFBP336D.mjs → chunk-O3ET4XR3.mjs} +4 -4
- package/dist/cli/{chunk-6D4WBX7E.mjs → chunk-OOTXBEHG.mjs} +1 -1
- package/dist/cli/{chunk-N5ZOD3LA.js → chunk-OPZHUL6T.js} +10 -10
- package/dist/cli/{chunk-YTOILYBU.js → chunk-OV6EKORX.js} +26 -26
- package/dist/cli/{chunk-H3SQMLHO.js → chunk-OWEUQCBZ.js} +48 -48
- package/dist/cli/{chunk-TZVKEUM6.js → chunk-PERYT4ZA.js} +1 -1
- package/dist/cli/{chunk-3WZ3X46C.js → chunk-PSMYOQFI.js} +13 -13
- package/dist/cli/{chunk-7MZUSBSI.js → chunk-Q4P6STRD.js} +23 -23
- package/dist/cli/{chunk-WPCY5PR3.mjs → chunk-RS6KPFQX.mjs} +5 -5
- package/dist/cli/{chunk-S3VGWMFX.js → chunk-SOZ2SB43.js} +9 -9
- package/dist/cli/{chunk-GSUHJUNZ.mjs → chunk-TMT3S2JR.mjs} +2 -2
- package/dist/cli/{chunk-45OTCUAC.mjs → chunk-TWHTVGGW.mjs} +2 -2
- package/dist/cli/{chunk-H7DRZXYF.js → chunk-UDN6EYBJ.js} +4 -4
- package/dist/cli/{chunk-YTYDKSK7.mjs → chunk-UWQLRBXY.mjs} +5 -5
- package/dist/cli/{chunk-IGIUAHTR.js → chunk-W26YT37U.js} +41 -41
- package/dist/cli/{chunk-CK6U2NH2.mjs → chunk-WINZRS3A.mjs} +1 -1
- package/dist/cli/{chunk-PAFSVZCZ.js → chunk-WNUFRUNS.js} +15 -15
- package/dist/cli/{chunk-7NP7WZV2.mjs → chunk-XHFSNMEU.mjs} +3 -3
- package/dist/cli/{chunk-LOF7H5V3.js → chunk-YQP4ZUOJ.js} +7 -7
- package/dist/cli/{chunk-6HEZRKAO.mjs → chunk-YXJVYY5V.mjs} +2 -2
- package/dist/cli/{chunk-QKPKVLTG.js → chunk-ZGOCDLJQ.js} +2 -2
- package/dist/cli/{chunk-JXRWSBJZ.mjs → chunk-ZZ4D74UL.mjs} +1 -1
- package/dist/cli/{chunk-S4MDYDCF.js → chunk-ZZ7ZH27W.js} +5 -5
- package/dist/cli/{concurrent-runs-help-BVBGDMNV.mjs → concurrent-runs-help-Q26CEJ7I.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-QDURIV4N.js +22 -0
- package/dist/cli/{csv-BUZIP2TV.mjs → csv-6LI6HLKG.mjs} +4 -4
- package/dist/cli/{csv-G25E43QV.js → csv-Z34I5QIU.js} +13 -13
- package/dist/cli/{db-EUN7RRDX.mjs → db-K5GKIKQU.mjs} +6 -6
- package/dist/cli/{db-KYIDDEEE.js → db-NUDEYQCF.js} +27 -27
- package/dist/cli/describe-BY7LKP53.js +50 -0
- package/dist/cli/{describe-CTYSKRQB.mjs → describe-EB4KTEPT.mjs} +18 -18
- package/dist/cli/{executions-BRSOIIV7.mjs → executions-DAGHJZEI.mjs} +6 -6
- package/dist/cli/{executions-LQA34Z76.js → executions-KHOUABZ3.js} +8 -8
- package/dist/cli/{feedback-JYL2FTWI.mjs → feedback-A57YETEA.mjs} +6 -6
- package/dist/cli/{feedback-RVYWQRSZ.js → feedback-XLAWTPK2.js} +14 -14
- package/dist/cli/git-CR6PBWBH.js +26 -0
- package/dist/cli/{git-2Z2KYPCV.mjs → git-U3FNR34D.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-QFS62VWE.mjs → integrations-LXUMB4RY.mjs} +7 -7
- package/dist/cli/{integrations-JK3OT5BT.js → integrations-YVOJ5D6W.js} +29 -29
- package/dist/cli/{legacy-noops-NBKBFVDO.mjs → legacy-noops-4Z2RBTHW.mjs} +6 -6
- package/dist/cli/{legacy-noops-RYP5LN5D.js → legacy-noops-IZVLGQZJ.js} +9 -9
- package/dist/cli/{mcp-KPY7NZPI.js → mcp-GRGI3KYH.js} +24 -24
- package/dist/cli/{mcp-KVGJK3SM.mjs → mcp-ZHXRVV7D.mjs} +4 -4
- package/dist/cli/{monitors-H3UWQMMI.mjs → monitors-7ZVYJ3CX.mjs} +7 -7
- package/dist/cli/{monitors-DE5SX3CP.js → monitors-XFN5D6EW.js} +100 -100
- package/dist/cli/{org-CDCSMG3J.js → org-RWWXN5TK.js} +121 -121
- package/dist/cli/{org-N6I5K56T.mjs → org-YY5JTKNV.mjs} +6 -6
- package/dist/cli/{outcomes-UNAOLWWO.js → outcomes-AOZVYNJT.js} +14 -14
- package/dist/cli/{outcomes-EPEMTJVB.mjs → outcomes-MGWUZNQ6.mjs} +6 -6
- package/dist/cli/{play-VVM5XJFT.mjs → play-AJR7BT3R.mjs} +19 -19
- package/dist/cli/{play-7TVJ3DFQ.js → play-S34KIOWS.js} +324 -324
- package/dist/cli/{providers-47CT527B.mjs → providers-QRWQGVIC.mjs} +6 -6
- package/dist/cli/{providers-ANYRJ56K.js → providers-S4WMWHBW.js} +9 -9
- package/dist/cli/{quickstart-H4MI6LVO.js → quickstart-GET2M3BQ.js} +6 -6
- package/dist/cli/{quickstart-QHMC5YCM.mjs → quickstart-NLAIOXVY.mjs} +4 -4
- package/dist/cli/{run-V4UAYPAX.js → run-BOHHBZSI.js} +44 -44
- package/dist/cli/{run-NXC5W5CW.mjs → run-R2RYHNVS.mjs} +23 -23
- package/dist/cli/search-CZVM2OX5.js +32 -0
- package/dist/cli/{search-BEU4VBY4.mjs → search-VBIVRRRO.mjs} +7 -7
- package/dist/cli/{search-output-NUGUU7VJ.js → search-output-EVNRKEGZ.js} +6 -6
- package/dist/cli/{search-output-DUA3WDB7.mjs → search-output-OCYIQFV6.mjs} +4 -4
- package/dist/cli/{secrets-PFDBC5KO.js → secrets-52T2SCZ5.js} +15 -15
- package/dist/cli/{secrets-XQOOWTH2.mjs → secrets-TNCO45WJ.mjs} +6 -6
- package/dist/cli/{sessions-U2ZS5R42.mjs → sessions-4XE7AR3A.mjs} +6 -6
- package/dist/cli/sessions-GOHYDYMH.js +23 -0
- package/dist/cli/{settings-ATYARYCR.js → settings-TKRF2B3K.js} +85 -85
- package/dist/cli/{settings-GPDE7DL2.mjs → settings-ZFCHR7MW.mjs} +12 -12
- package/dist/cli/{setup-4AYMU7NK.js → setup-AWNE4VNL.js} +49 -49
- package/dist/cli/{setup-UDO6BY5A.mjs → setup-QY3ZML4C.mjs} +9 -9
- package/dist/cli/skills-54CGCMPF.js +37 -0
- package/dist/cli/{skills-RACTA7VV.mjs → skills-GUGJDCFY.mjs} +7 -7
- package/dist/cli/tools-A7FEGDPX.js +57 -0
- package/dist/cli/{tools-TXI6XFHE.mjs → tools-NBKPWOWD.mjs} +17 -17
- package/dist/cli/update-3J52CJHB.js +37 -0
- package/dist/cli/{update-VHTKWNXO.mjs → update-KLGVIBRY.mjs} +9 -9
- package/dist/cli/{views-DVBO3L63.js → views-MDXEIVQ7.js} +21 -21
- package/dist/cli/{views-GCNEHB7D.mjs → views-OEOW2EZO.mjs} +6 -6
- package/dist/cli/{workflow-R3A6EGB5.mjs → workflow-LK4SIUOM.mjs} +7 -7
- package/dist/cli/{workflow-TFRJ5JKX.js → workflow-PUSTWPW4.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-77NOPZ6A.js +0 -44
- package/dist/cli/concurrent-runs-help-QPUTOBFB.js +0 -22
- package/dist/cli/describe-PJIQSXJ4.js +0 -50
- package/dist/cli/git-MJRG55H7.js +0 -26
- package/dist/cli/search-TUK2STXB.js +0 -32
- package/dist/cli/sessions-5333FFSY.js +0 -23
- package/dist/cli/skills-LB56HJOY.js +0 -37
- package/dist/cli/tools-3Y7KCKZX.js +0 -57
- package/dist/cli/update-EWOLMH3E.js +0 -37
|
@@ -1,23 +1,23 @@
|
|
|
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 _chunkNR7QW2E7js = require('./chunk-NR7QW2E7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkW26YT37Ujs = require('./chunk-W26YT37U.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkOWEUQCBZjs = require('./chunk-OWEUQCBZ.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkFABLUH75js = require('./chunk-FABLUH75.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
var _child_process = require('child_process');
|
|
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
|
|
|
499
499
|
}
|
|
500
500
|
function resolveNpmGlobalPrefix(env) {
|
|
501
501
|
try {
|
|
502
|
-
const plan =
|
|
502
|
+
const plan = _chunkOWEUQCBZjs.resolveShellSpawn.call(void 0,
|
|
503
503
|
"npm",
|
|
504
504
|
["prefix", "-g"],
|
|
505
505
|
process.platform,
|
|
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
561
561
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
562
562
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
563
563
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
564
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
565
|
-
const npmGlobalInstallFlags =
|
|
564
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkNR7QW2E7js.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
565
|
+
const npmGlobalInstallFlags = _chunkNR7QW2E7js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
566
566
|
const args = installPrefix ? [
|
|
567
567
|
"install",
|
|
568
568
|
"-g",
|
|
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
572
572
|
packageSpec
|
|
573
573
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
574
574
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
575
|
-
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) ||
|
|
575
|
+
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkFABLUH75js.autoDetectBaseUrl.call(void 0, )
|
|
576
576
|
);
|
|
577
577
|
return {
|
|
578
578
|
kind: "npm-global",
|
|
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
821
821
|
function runCommand(command, args, env = process.env) {
|
|
822
822
|
return new Promise((resolveResult) => {
|
|
823
823
|
let output = "";
|
|
824
|
-
const plan =
|
|
824
|
+
const plan = _chunkOWEUQCBZjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
825
825
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
826
826
|
windowsHide: true,
|
|
827
827
|
stdio: ["inherit", "pipe", "pipe"],
|
|
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
async function readPinMetadata(registryUrl, version) {
|
|
1171
1171
|
const controller = new AbortController();
|
|
1172
|
-
const timeout = setTimeout(() => controller.abort(),
|
|
1172
|
+
const timeout = setTimeout(() => controller.abort(), _chunkFABLUH75js.DEFAULT_TIMEOUT);
|
|
1173
1173
|
try {
|
|
1174
1174
|
const response = await fetch(
|
|
1175
1175
|
new URL(
|
|
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
|
|
|
1185
1185
|
if (!response.ok) {
|
|
1186
1186
|
return {
|
|
1187
1187
|
kind: "miss",
|
|
1188
|
-
transient:
|
|
1188
|
+
transient: _chunkFABLUH75js.TRANSIENT_HTTP_STATUSES.has(response.status),
|
|
1189
1189
|
error: new Error(`${registryUrl} returned HTTP ${response.status}`)
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
|
|
|
1219
1219
|
"https://registry.npmjs.org/",
|
|
1220
1220
|
...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
|
|
1221
1221
|
];
|
|
1222
|
-
const maxRetries = _nullishCoalesce(retry.maxRetries, () => (
|
|
1223
|
-
const backoffMs = _nullishCoalesce(retry.backoffMs, () => (
|
|
1222
|
+
const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkFABLUH75js.DEFAULT_MAX_RETRIES));
|
|
1223
|
+
const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkFABLUH75js.defaultRetryBackoffMs));
|
|
1224
1224
|
let lastError = null;
|
|
1225
1225
|
for (let round = 1; ; round += 1) {
|
|
1226
1226
|
let transientOnly = true;
|
|
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
|
|
|
1283
1283
|
return null;
|
|
1284
1284
|
}
|
|
1285
1285
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1286
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1286
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFABLUH75js.autoDetectBaseUrl));
|
|
1287
1287
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1288
1288
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1289
1289
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1290
1290
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1291
1291
|
process.stdout.write = (() => true);
|
|
1292
1292
|
try {
|
|
1293
|
-
const exitCode = await
|
|
1293
|
+
const exitCode = await _chunkW26YT37Ujs.runSkillsCommand.call(void 0, { json: true });
|
|
1294
1294
|
if (exitCode !== 0) {
|
|
1295
1295
|
throw new Error(
|
|
1296
1296
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
if (options.json && !options.executeWithJson) {
|
|
1365
1365
|
const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
|
|
1366
|
-
|
|
1366
|
+
_chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
|
|
1367
1367
|
{
|
|
1368
1368
|
...plan,
|
|
1369
1369
|
updated: false,
|
|
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1375
1375
|
return 0;
|
|
1376
1376
|
}
|
|
1377
1377
|
if (options.printCommand) {
|
|
1378
|
-
|
|
1378
|
+
_chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
|
|
1379
1379
|
{
|
|
1380
1380
|
...plan,
|
|
1381
1381
|
render: {
|
|
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1388
1388
|
return 0;
|
|
1389
1389
|
}
|
|
1390
1390
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1391
|
-
|
|
1391
|
+
_chunk2MXS53XJjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1392
1392
|
return 0;
|
|
1393
1393
|
}
|
|
1394
1394
|
const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
|
|
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
|
|
|
1426
1426
|
);
|
|
1427
1427
|
}
|
|
1428
1428
|
if (options.executeWithJson && options.json) {
|
|
1429
|
-
|
|
1429
|
+
_chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
|
|
1430
1430
|
{
|
|
1431
1431
|
ok: true,
|
|
1432
1432
|
pinnedVersion,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EEUBKKJE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3YHMHV6U.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UWQLRBXY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I4N62RWB.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MAX_RETRIES,
|
|
16
16
|
DEFAULT_TIMEOUT,
|
|
17
17
|
TRANSIENT_HTTP_STATUSES,
|
|
18
18
|
autoDetectBaseUrl,
|
|
19
19
|
defaultRetryBackoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
traceCliSpan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZZ4D74UL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
enforceSdkCompatibilityResponse,
|
|
6
6
|
flushDeferredSkillsSyncNotices,
|
|
7
7
|
requireSdkCompatibility
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UWQLRBXY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -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 _chunkUDN6EYBJjs = require('./chunk-UDN6EYBJ.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 (_chunkUDN6EYBJjs.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 _chunkUDN6EYBJjs.HttpClient {
|
|
845
845
|
constructor(config) {
|
|
846
846
|
super(config, readSdkSkillsLocalVersion);
|
|
847
847
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkJ6M2AX3Pjs = require('./chunk-J6M2AX3P.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFABLUH75js = require('./chunk-FABLUH75.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkFABLUH75js.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkJ6M2AX3Pjs.PlayClient)(
|
|
142
|
+
new (0, _chunkFABLUH75js.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I4N62RWB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -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 _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.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 && !_chunk2MXS53XJjs.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 (_chunk2MXS53XJjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime,
|
|
13
13
|
readToolFailureHint
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HPWP2B3D.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError,
|
|
17
17
|
normalizeToolExecutionFailure,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I4N62RWB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
saveHostEnvValues,
|
|
23
23
|
saveProjectDeeplineEnvValues,
|
|
24
24
|
storedHostApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SDK_API_CONTRACT,
|
|
28
28
|
SDK_VERSION,
|
|
29
29
|
connectionFailureMessage,
|
|
30
30
|
detectAgentRuntime,
|
|
31
31
|
networkCauseCode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HPWP2B3D.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkUDN6EYBJjs = require('./chunk-UDN6EYBJ.js');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -963,7 +963,7 @@ var ToolCalls = class {
|
|
|
963
963
|
idempotencyKey,
|
|
964
964
|
onResponse: (response2) => {
|
|
965
965
|
lastResponse = null;
|
|
966
|
-
atomicToolsSupported = response2.headers.get(
|
|
966
|
+
atomicToolsSupported = response2.headers.get(_chunkUDN6EYBJjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
967
967
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
968
968
|
if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
|
|
969
969
|
try {
|
|
@@ -1350,15 +1350,15 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
|
|
1352
1352
|
return {
|
|
1353
|
-
[
|
|
1354
|
-
...receivers ? { [
|
|
1353
|
+
[_chunkUDN6EYBJjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1354
|
+
...receivers ? { [_chunkUDN6EYBJjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
function playRunStartHeaders(runtime, env) {
|
|
1358
1358
|
const headers = runtimeSelectionHeaders(runtime, env);
|
|
1359
1359
|
const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
|
|
1360
1360
|
if (!experimentSwitches) return headers;
|
|
1361
|
-
return { ...headers, [
|
|
1361
|
+
return { ...headers, [_chunkUDN6EYBJjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
|
|
1362
1362
|
}
|
|
1363
1363
|
function normalizeTestPolicyOverrides(value, source) {
|
|
1364
1364
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -1428,7 +1428,7 @@ var PlayClient = class {
|
|
|
1428
1428
|
return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
|
|
1429
1429
|
this.http,
|
|
1430
1430
|
resolved.request,
|
|
1431
|
-
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1431
|
+
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkUDN6EYBJjs.SDK_API_MAJOR) } : headers,
|
|
1432
1432
|
options
|
|
1433
1433
|
);
|
|
1434
1434
|
}
|
|
@@ -3546,7 +3546,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3546
3546
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3547
3547
|
);
|
|
3548
3548
|
}
|
|
3549
|
-
return { [
|
|
3549
|
+
return { [_chunkUDN6EYBJjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3550
3550
|
}
|
|
3551
3551
|
function sleep(ms) {
|
|
3552
3552
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4482,7 +4482,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4482
4482
|
);
|
|
4483
4483
|
const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
|
|
4484
4484
|
...runtimeHeaders,
|
|
4485
|
-
"X-Deepline-API-Major": String(
|
|
4485
|
+
"X-Deepline-API-Major": String(_chunkUDN6EYBJjs.SDK_API_MAJOR)
|
|
4486
4486
|
} : runtimeHeaders;
|
|
4487
4487
|
const http = this.http;
|
|
4488
4488
|
let submitted = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNIO2T6OCjs = require('./chunk-NIO2T6OC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOWEUQCBZjs = require('./chunk-OWEUQCBZ.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkOWEUQCBZjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkNIO2T6OCjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkOWEUQCBZjs.requireSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
|
-
|
|
32
|
+
_chunkOWEUQCBZjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2GTLZNSKjs = require('./chunk-2GTLZNSK.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkFABLUH75js = require('./chunk-FABLUH75.js');
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
|
|
|
24
24
|
return plans ? `${here} Plan limits: ${plans}.` : here;
|
|
25
25
|
}
|
|
26
26
|
async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
|
|
27
|
-
const baseUrl =
|
|
28
|
-
const apiKey =
|
|
27
|
+
const baseUrl = _chunkFABLUH75js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
28
|
+
const apiKey = _chunkFABLUH75js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
29
29
|
if (!apiKey) return "";
|
|
30
30
|
try {
|
|
31
|
-
const { status, data } = await
|
|
31
|
+
const { status, data } = await _chunk2GTLZNSKjs.httpJson.call(void 0,
|
|
32
32
|
"GET",
|
|
33
33
|
`${baseUrl}/api/v2/billing/entitlements`,
|
|
34
34
|
apiKey,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I5EZZFQL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRICING_PAGE_NOTE
|
|
6
6
|
} from "./chunk-2RIKOPIM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autoDetectBaseUrl,
|
|
9
9
|
resolveApiKeyForBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -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 _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.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
|
+
_chunk2MXS53XJjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -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 _chunkOWEUQCBZjs = require('./chunk-OWEUQCBZ.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 = _chunkOWEUQCBZjs.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",
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EJB4V77N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
resolveShellSpawn,
|
|
11
11
|
syncSdkSkillsIfNeeded
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UWQLRBXY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
addJsonNotice,
|
|
15
15
|
isJsonOutputMode
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I4N62RWB.mjs";
|
|
17
17
|
import {
|
|
18
18
|
resolveApiKeyForBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77HEH4RY.mjs";
|
|
20
20
|
import {
|
|
21
21
|
SDK_VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HPWP2B3D.mjs";
|
|
23
23
|
|
|
24
24
|
// src/cli/compatibility-catalog.ts
|
|
25
25
|
var readers = /* @__PURE__ */ new WeakMap();
|