deepline 0.3.579 → 0.3.580
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/client-core.ts +13 -2
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/billing/public-pricing.ts +470 -15
- package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +12 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +59 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +5 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +139 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +39 -2
- package/dist/cli/{agents-D5RZEVXQ.js → agents-BF5VX5ZB.js} +31 -31
- package/dist/cli/{agents-FJTRTYCL.mjs → agents-JRFTZE7G.mjs} +4 -4
- package/dist/cli/auth-25MVD7TK.js +44 -0
- package/dist/cli/{auth-OMYIDVXZ.mjs → auth-XJXZ64R4.mjs} +5 -5
- package/dist/cli/{billing-XK3LBNYS.mjs → billing-TXJBGP2I.mjs} +67 -64
- package/dist/cli/{billing-EWFUDLQ7.js → billing-VGMTJI7W.js} +156 -153
- package/dist/cli/{chunk-TVAFWAOQ.js → chunk-2ZCFAUCV.js} +3 -3
- package/dist/cli/{chunk-HEZW2IDK.js → chunk-3OSNEWGR.js} +279 -276
- package/dist/cli/{chunk-TFNDOH4W.mjs → chunk-3P4QZIJ5.mjs} +1 -1
- package/dist/cli/{chunk-QA55PGJH.js → chunk-3S5KFHQH.js} +7 -7
- package/dist/cli/{chunk-6DMGKAWO.mjs → chunk-3ZBPXNSW.mjs} +2 -2
- package/dist/cli/{chunk-27ZYRIQC.mjs → chunk-5BPJW6X5.mjs} +5 -5
- package/dist/cli/{chunk-6MIEJJSO.js → chunk-6VSUP4WN.js} +4 -4
- package/dist/cli/{chunk-6GON36H3.mjs → chunk-7HOG3JZE.mjs} +17 -14
- package/dist/cli/{chunk-JFS4KHA3.mjs → chunk-7ORX33JX.mjs} +5 -5
- package/dist/cli/{chunk-NWZU6HL4.js → chunk-ANX3PYLT.js} +13 -13
- package/dist/cli/{chunk-FKXSIIR4.js → chunk-APJ7IPRT.js} +15 -15
- package/dist/cli/{chunk-44NTNNKC.js → chunk-AZTQJJH7.js} +6 -0
- package/dist/cli/{chunk-WQQQP3FH.mjs → chunk-BAXLPQTM.mjs} +4 -4
- package/dist/cli/{chunk-M4YWN5BT.mjs → chunk-BK4Z62CF.mjs} +4 -4
- package/dist/cli/{chunk-KQAEXBVQ.mjs → chunk-C6YXUGX2.mjs} +3 -3
- package/dist/cli/{chunk-PLWZ3NB7.js → chunk-COAAKSFX.js} +5 -5
- package/dist/cli/{chunk-LCPJR3IY.js → chunk-D6I7QWOZ.js} +2 -2
- package/dist/cli/{chunk-LQ45LCH7.js → chunk-DQEHBAHL.js} +9 -9
- package/dist/cli/{chunk-6EVVUVU3.mjs → chunk-EI7KTESB.mjs} +2 -2
- package/dist/cli/{chunk-F57NDSKT.mjs → chunk-FCJJPEKN.mjs} +5 -5
- package/dist/cli/{chunk-7JMCRYXU.js → chunk-GDBNH57Z.js} +10 -10
- package/dist/cli/{chunk-NONMY5CY.mjs → chunk-GE4ZEMMA.mjs} +2 -2
- package/dist/cli/{chunk-6NYHMXC7.mjs → chunk-GIZIWNL5.mjs} +1 -1
- package/dist/cli/{chunk-SZIWFQI2.mjs → chunk-H3B6QM6V.mjs} +3 -3
- package/dist/cli/{chunk-NKUXW4WB.js → chunk-HEZ24K5F.js} +2 -2
- package/dist/cli/{chunk-LV2LGW2Q.mjs → chunk-HLMF53HZ.mjs} +1 -1
- package/dist/cli/{chunk-S2OXA7QS.mjs → chunk-IERWFFDB.mjs} +7 -7
- package/dist/cli/{chunk-I2TSRLOI.mjs → chunk-IG3CXIJY.mjs} +1 -1
- package/dist/cli/{chunk-OSRATALX.mjs → chunk-IM322G7M.mjs} +1 -1
- package/dist/cli/{chunk-VFIIRK7S.mjs → chunk-KLBIHDZB.mjs} +2 -2
- package/dist/cli/{chunk-N6X2UKYQ.mjs → chunk-LC4ETCOA.mjs} +2 -2
- package/dist/cli/{chunk-G5CZDRY3.js → chunk-LHV3HPAY.js} +26 -26
- package/dist/cli/{chunk-NOMO5GPI.js → chunk-MBOPKQJF.js} +1 -1
- package/dist/cli/{chunk-BLEYV4BJ.js → chunk-MCYZO3RB.js} +21 -21
- package/dist/cli/{chunk-X6LPC3SU.mjs → chunk-MEDA3STC.mjs} +1 -1
- package/dist/cli/{chunk-PGRRMVQ5.js → chunk-MOZDEYQC.js} +2 -1
- package/dist/cli/{chunk-XQYBBCFI.mjs → chunk-MP6XUVAJ.mjs} +2 -2
- package/dist/cli/{chunk-OOGP737I.js → chunk-NNWEQDZR.js} +20 -20
- package/dist/cli/{chunk-HGUFTSB5.mjs → chunk-NV5IJ3NY.mjs} +6 -0
- package/dist/cli/{chunk-LYBZLA6F.mjs → chunk-O7AWGIDD.mjs} +2 -2
- package/dist/cli/{chunk-WWSGXX6U.js → chunk-PFNYLTCZ.js} +5 -5
- package/dist/cli/{chunk-BZ4M7OFO.mjs → chunk-QXQBTTRD.mjs} +1 -1
- package/dist/cli/{chunk-XTM6NOJ6.js → chunk-R77IVVEZ.js} +53 -53
- package/dist/cli/{chunk-Q4VKMF3B.js → chunk-S2YKIWCD.js} +17 -17
- package/dist/cli/{chunk-DTQBQSUU.mjs → chunk-SECFDB27.mjs} +1 -0
- package/dist/cli/{chunk-KIIOKQFY.mjs → chunk-SQBSK74D.mjs} +7 -3
- package/dist/cli/{chunk-AP7PIGL5.js → chunk-TSOXJZSW.js} +41 -41
- package/dist/cli/{chunk-YCWRKSLB.mjs → chunk-U4VCAECC.mjs} +2 -2
- package/dist/cli/{chunk-KWQHQG53.js → chunk-URZPR54R.js} +6 -6
- package/dist/cli/{chunk-ABH6PUDZ.js → chunk-V5NDHTBB.js} +23 -23
- package/dist/cli/{chunk-SUHCW7U5.mjs → chunk-VF3EGTHU.mjs} +3 -3
- package/dist/cli/{chunk-DH736ASH.js → chunk-VOQWPUIF.js} +20 -20
- package/dist/cli/{chunk-7HOYKXVY.js → chunk-WJUAVMQC.js} +217 -213
- package/dist/cli/{chunk-3Z4TVZE7.mjs → chunk-X5RXG6VS.mjs} +1 -1
- package/dist/cli/{chunk-UYCBG75H.js → chunk-XFVJ3JNA.js} +5 -5
- package/dist/cli/{chunk-LYJ2NSHD.js → chunk-XQUVLYOL.js} +13 -13
- package/dist/cli/{chunk-K2BU67UC.js → chunk-YY6EB252.js} +2 -2
- package/dist/cli/{chunk-Y2ND6PPW.js → chunk-Z6DERGHY.js} +48 -48
- package/dist/cli/{chunk-72TWLORR.js → chunk-ZADJC22U.js} +3 -3
- package/dist/cli/{chunk-7SZCJC4R.mjs → chunk-ZR7PDXIA.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-DEN63DUM.js +22 -0
- package/dist/cli/{concurrent-runs-help-IQBZBTD5.mjs → concurrent-runs-help-DSUQRWZQ.mjs} +6 -6
- package/dist/cli/{csv-T7TWLIGD.js → csv-HSHF6JYZ.js} +13 -13
- package/dist/cli/{csv-6BEOWTGM.mjs → csv-QNXJBT5T.mjs} +4 -4
- package/dist/cli/{db-FA5QGXZ7.mjs → db-RAWY3SWS.mjs} +6 -6
- package/dist/cli/{db-MFTUN3DF.js → db-VHYWVLLU.js} +27 -27
- package/dist/cli/{describe-TITEQNVE.mjs → describe-WZOVHWAM.mjs} +21 -21
- package/dist/cli/describe-YHZ2EGBQ.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-QW3L7G7J.js → executions-DQIFH4Z6.js} +8 -8
- package/dist/cli/{executions-DMYJJIRB.mjs → executions-QABOXV4K.mjs} +6 -6
- package/dist/cli/{feedback-6JZGE7OQ.js → feedback-6IER2W4G.js} +14 -14
- package/dist/cli/{feedback-WPSNSFRC.mjs → feedback-DW4O63DG.mjs} +6 -6
- package/dist/cli/{git-GO65XRM3.mjs → git-3NAPGZGR.mjs} +5 -5
- package/dist/cli/git-SQ2MAKAH.js +26 -0
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-T5JPSZXN.js → integrations-5LHIBBXB.js} +29 -29
- package/dist/cli/{integrations-EEBPETH2.mjs → integrations-TSRUTENK.mjs} +7 -7
- package/dist/cli/{legacy-noops-XDNZ46IR.mjs → legacy-noops-4N63A6H7.mjs} +6 -6
- package/dist/cli/{legacy-noops-B55OMNH7.js → legacy-noops-S22XGYGN.js} +9 -9
- package/dist/cli/{mcp-4QIUAAWS.mjs → mcp-4EJHRRFV.mjs} +4 -4
- package/dist/cli/{mcp-3YA333TQ.js → mcp-JERBGJYE.js} +24 -24
- package/dist/cli/{monitors-BVUPS4CE.mjs → monitors-7BTLBD6S.mjs} +16 -11
- package/dist/cli/{monitors-FOS7MWZO.js → monitors-FF35CGC4.js} +109 -104
- package/dist/cli/{org-CYM7HFLN.js → org-ADCDO7KU.js} +121 -121
- package/dist/cli/{org-TCMRRVFC.mjs → org-QYIIBKA2.mjs} +6 -6
- package/dist/cli/{outcomes-VDJVP5YC.js → outcomes-2LW4GK2L.js} +14 -14
- package/dist/cli/{outcomes-2JSWXWQ3.mjs → outcomes-C5DIBG4Q.mjs} +6 -6
- package/dist/cli/{play-CPP4EBYF.mjs → play-DTTDTISL.mjs} +20 -20
- package/dist/cli/{play-U3G73VIR.js → play-S5MZ2GRA.js} +349 -349
- package/dist/cli/{providers-RVMIX5ED.mjs → providers-AXOEFQ6Q.mjs} +6 -6
- package/dist/cli/{providers-2ZB67TK7.js → providers-N2IWEJBW.js} +9 -9
- package/dist/cli/{quickstart-L3YO3OWZ.mjs → quickstart-ADWSZBV6.mjs} +4 -4
- package/dist/cli/{quickstart-V3Y7XZ47.js → quickstart-UC5AJZWU.js} +6 -6
- package/dist/cli/{run-M2CADJ6E.js → run-6TDYUL7L.js} +48 -48
- package/dist/cli/{run-PQ3Z2GOF.mjs → run-R2FVH3K6.mjs} +26 -26
- package/dist/cli/{search-QVLGI7SZ.mjs → search-GRHUFSLY.mjs} +7 -7
- package/dist/cli/search-V7ANBX3J.js +32 -0
- package/dist/cli/{search-output-IUANVHWU.js → search-output-O7NY3VMD.js} +8 -8
- package/dist/cli/{search-output-PN3V7MSO.mjs → search-output-UPQNAFAF.mjs} +5 -5
- package/dist/cli/{secrets-AOW6F67J.js → secrets-72GJHFER.js} +15 -15
- package/dist/cli/{secrets-HK25G4K2.mjs → secrets-NKAEJLIQ.mjs} +6 -6
- package/dist/cli/sessions-EO6RTMUC.js +23 -0
- package/dist/cli/{sessions-YN2OIAGR.mjs → sessions-VIMF3UF5.mjs} +6 -6
- package/dist/cli/{settings-6EV2FPGF.js → settings-HFAW5HIF.js} +85 -85
- package/dist/cli/{settings-7UW5TWSM.mjs → settings-KCQHBFNZ.mjs} +12 -12
- package/dist/cli/{setup-ZQPD2R5K.js → setup-2MHWGEAD.js} +49 -49
- package/dist/cli/{setup-BG56SHKH.mjs → setup-2ZD5ZIUH.mjs} +9 -9
- package/dist/cli/skills-ID6KKDLH.js +37 -0
- package/dist/cli/{skills-MQV2TNUZ.mjs → skills-X2DZZG5P.mjs} +7 -7
- package/dist/cli/tools-7UY7GERW.js +57 -0
- package/dist/cli/{tools-RGI4OE5T.mjs → tools-KPTOWKD4.mjs} +19 -19
- package/dist/cli/{update-SQKGHQKF.mjs → update-6PMQCEUP.mjs} +9 -9
- package/dist/cli/update-T2RDLLSY.js +37 -0
- package/dist/cli/{views-BUKVHCRD.js → views-MNBHNO6C.js} +37 -24
- package/dist/cli/{views-734T2CXF.mjs → views-VRZ5CTFL.mjs} +21 -8
- package/dist/cli/{workflow-JNRRBMEK.mjs → workflow-7JUJWA5S.mjs} +7 -7
- package/dist/cli/{workflow-LPJC6RHP.js → workflow-SSMFO7YE.js} +17 -17
- package/dist/{client-CNYctEBh.d.mts → client-CmG8MT0x.d.mts} +1 -1
- package/dist/{client-C1AubrWJ.d.ts → client-QznpkWrk.d.ts} +1 -1
- package/dist/{client-core-D6zAE46g.d.ts → client-core-CXDqfeiB.d.ts} +5 -1
- package/dist/{client-core-Bb06TCx5.d.mts → client-core-CY0jNW0e.d.mts} +5 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +126 -126
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-Q4O7MJU4.js +0 -44
- package/dist/cli/concurrent-runs-help-D6XH3FY5.js +0 -22
- package/dist/cli/describe-TYZ5YH3V.js +0 -50
- package/dist/cli/git-UGGRLGTQ.js +0 -26
- package/dist/cli/search-RHPPZZFG.js +0 -32
- package/dist/cli/sessions-AEGGTZ3K.js +0 -23
- package/dist/cli/skills-C6ZEZWBE.js +0 -37
- package/dist/cli/tools-PM3MC3RR.js +0 -57
- package/dist/cli/update-ZHUPF2HT.js +0 -37
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3ZBPXNSW.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-X5RXG6VS.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-IG3CXIJY.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -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 _chunkYY6EB252js = require('./chunk-YY6EB252.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTSOXJZSWjs = require('./chunk-TSOXJZSW.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZ6DERGHYjs = require('./chunk-Z6DERGHY.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkNNWEQDZRjs = require('./chunk-NNWEQDZR.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk2ZCFAUCVjs = require('./chunk-2ZCFAUCV.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 = _chunkZ6DERGHYjs.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 ? _chunkYY6EB252js.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
565
|
+
const npmGlobalInstallFlags = _chunkYY6EB252js.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()]) || _chunk2ZCFAUCVjs.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 = _chunkZ6DERGHYjs.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(), _chunk2ZCFAUCVjs.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: _chunk2ZCFAUCVjs.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, () => ( _chunk2ZCFAUCVjs.DEFAULT_MAX_RETRIES));
|
|
1223
|
+
const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk2ZCFAUCVjs.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, () => ( _chunk2ZCFAUCVjs.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 _chunkTSOXJZSWjs.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
|
+
_chunkNNWEQDZRjs.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
|
+
_chunkNNWEQDZRjs.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
|
+
_chunkNNWEQDZRjs.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
|
+
_chunkNNWEQDZRjs.printCommandEnvelope.call(void 0,
|
|
1430
1430
|
{
|
|
1431
1431
|
ok: true,
|
|
1432
1432
|
pinnedVersion,
|