deepline 0.3.575 → 0.3.577
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 +13 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +145 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +153 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +41 -5
- package/dist/cli/{agents-ULGDKUTM.mjs → agents-SUJRATC2.mjs} +58 -10
- package/dist/cli/{agents-BCLO3KQJ.js → agents-ZIGK3FQ2.js} +84 -36
- package/dist/cli/auth-A5U6GVCF.js +44 -0
- package/dist/cli/{auth-4WCL7A6W.mjs → auth-TRKPRZK6.mjs} +5 -5
- package/dist/cli/{billing-BF5LVXOM.js → billing-6RAF4DQY.js} +102 -102
- package/dist/cli/{billing-7JQ6EUQU.mjs → billing-WPQT3QRS.mjs} +9 -9
- package/dist/cli/{chunk-636GD4IR.js → chunk-2NFDB6CL.js} +2 -2
- package/dist/cli/{chunk-UQZP7XBQ.mjs → chunk-425SUSDJ.mjs} +5 -5
- package/dist/cli/{chunk-TTBZ7QXX.mjs → chunk-4ANO4DM5.mjs} +1 -1
- package/dist/cli/{chunk-V5XLENWK.js → chunk-772IV64Y.js} +5 -5
- package/dist/cli/{chunk-NF722E6C.mjs → chunk-APJ6YIYW.mjs} +1 -1
- package/dist/cli/{chunk-XFV353R2.js → chunk-APOWCBO7.js} +23 -23
- package/dist/cli/{chunk-IOWLFWWG.mjs → chunk-ATW77ZBL.mjs} +2 -2
- package/dist/cli/{chunk-RHRRY2BX.mjs → chunk-CCGFSELM.mjs} +3 -3
- package/dist/cli/{chunk-3PVKXUSJ.mjs → chunk-CWHXE6HJ.mjs} +1 -1
- package/dist/cli/{chunk-5H6254MJ.js → chunk-CZF2LKIT.js} +16 -16
- package/dist/cli/{chunk-GQZFZG6R.mjs → chunk-DA5C5WOI.mjs} +2 -2
- package/dist/cli/{chunk-EZIXKNKM.js → chunk-DJP7CJQC.js} +3 -3
- package/dist/cli/{chunk-G4WPDCXA.js → chunk-EJN43WGD.js} +48 -48
- package/dist/cli/{chunk-ZYSJND73.js → chunk-EKZ6JD6K.js} +9 -9
- package/dist/cli/{chunk-737Y7QGT.js → chunk-EV47DV25.js} +41 -41
- package/dist/cli/{chunk-IBYMGR5Y.mjs → chunk-FHYNK7GL.mjs} +1 -1
- package/dist/cli/{chunk-7DLAJ6JJ.js → chunk-FRYLXDNP.js} +53 -53
- package/dist/cli/{chunk-EV3OPDHF.js → chunk-FXN5WSTY.js} +20 -20
- package/dist/cli/{chunk-MN7JLH2T.mjs → chunk-GFWVBXAK.mjs} +2 -2
- package/dist/cli/{chunk-MWLOBURN.mjs → chunk-H6NF5SNY.mjs} +2 -2
- package/dist/cli/{chunk-E4RYSSXX.mjs → chunk-I44Y4MPK.mjs} +1 -1
- package/dist/cli/{chunk-BM536WWR.mjs → chunk-ID5WQZ2H.mjs} +11 -1
- package/dist/cli/{chunk-ZS6DT4LD.js → chunk-ITK5TGQ7.js} +15 -15
- package/dist/cli/{chunk-AO56MZ7D.js → chunk-JHQ7FORY.js} +3 -3
- package/dist/cli/{chunk-G2H6SQQY.js → chunk-JWLV3XRF.js} +7 -7
- package/dist/cli/{chunk-DMPGJCNZ.js → chunk-KVDIN2YW.js} +29 -1
- package/dist/cli/{chunk-5D7OJY4W.mjs → chunk-LUQMTNFB.mjs} +1 -1
- package/dist/cli/{chunk-H3CG72RZ.mjs → chunk-LXM36EXW.mjs} +11 -11
- package/dist/cli/{chunk-QKP3WYSZ.mjs → chunk-MDP3CNDM.mjs} +2 -2
- package/dist/cli/{chunk-H6JMRLAZ.js → chunk-MOWABWHT.js} +100 -100
- package/dist/cli/{chunk-ZQXJYO5P.js → chunk-MTHAVEQN.js} +5 -5
- package/dist/cli/{chunk-IAJ65IDZ.mjs → chunk-MTM6WNPP.mjs} +4 -4
- package/dist/cli/{chunk-CVY4MBXH.mjs → chunk-MVCKEPWF.mjs} +5 -5
- package/dist/cli/{chunk-JGLCK2XF.mjs → chunk-N6EU2FRF.mjs} +2 -2
- package/dist/cli/{chunk-TMFR2B45.mjs → chunk-NDMKFA6W.mjs} +3 -3
- package/dist/cli/{chunk-HO76C7AE.js → chunk-NMSDMXYS.js} +2 -2
- package/dist/cli/{chunk-FXXERR52.js → chunk-NRBIYZUG.js} +10 -10
- package/dist/cli/{chunk-YNAXKA23.js → chunk-NVJGVNEN.js} +5 -5
- package/dist/cli/{chunk-X47J55ZJ.mjs → chunk-O35BHZLQ.mjs} +2 -2
- package/dist/cli/{chunk-2UM3I2MY.js → chunk-OBZB4J7B.js} +11 -1
- package/dist/cli/{chunk-2T7XOKVL.mjs → chunk-OQQDNJ2D.mjs} +5 -5
- package/dist/cli/{chunk-FDCU3VAJ.mjs → chunk-ORLJIJVX.mjs} +29 -1
- package/dist/cli/{chunk-BQUAE6LQ.mjs → chunk-Q3WDT3YA.mjs} +1 -1
- package/dist/cli/{chunk-GB4IZ5TV.js → chunk-QXAPAHIG.js} +13 -13
- package/dist/cli/{chunk-KNCNFL76.js → chunk-RSZSKTRC.js} +4 -4
- package/dist/cli/{chunk-HEOM3FAC.js → chunk-RVICQWXU.js} +20 -20
- package/dist/cli/{chunk-SYQTBHRX.mjs → chunk-U6Y4HX6J.mjs} +3 -3
- package/dist/cli/{chunk-AS5XGOZY.js → chunk-V5SF5CJ7.js} +2 -2
- package/dist/cli/{chunk-BONMEBWZ.mjs → chunk-WP4Q5PTK.mjs} +4 -4
- package/dist/cli/{chunk-5VSHQG5E.js → chunk-X5ZE7K4J.js} +8 -8
- package/dist/cli/{chunk-56N3XAT6.mjs → chunk-X7Y4T7CV.mjs} +5 -5
- package/dist/cli/{chunk-QEDRUURT.mjs → chunk-XQTJET2Y.mjs} +1 -1
- package/dist/cli/{chunk-6IKLITVH.js → chunk-Y37JQZBP.js} +6 -6
- package/dist/cli/{chunk-PQYDO72W.js → chunk-ZHJIDDYR.js} +26 -26
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-HITK6EOO.mjs → concurrent-runs-help-6CGXMTFQ.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-VJDPVGXM.js +22 -0
- package/dist/cli/{csv-RS7XHQ4P.js → csv-7UZT2LGE.js} +13 -13
- package/dist/cli/{csv-V2T23MXT.mjs → csv-L7P6PC6I.mjs} +4 -4
- package/dist/cli/{db-OQ4RNTGE.mjs → db-4OOEC5KV.mjs} +6 -6
- package/dist/cli/{db-WFIVRPKY.js → db-7KETOIZY.js} +27 -27
- package/dist/cli/{describe-AXV2EEX3.mjs → describe-M6HEFS46.mjs} +18 -18
- package/dist/cli/describe-RLWJYZIR.js +50 -0
- package/dist/cli/{executions-THP5ZDBQ.mjs → executions-U27R2LY4.mjs} +6 -6
- package/dist/cli/{executions-5H2RIWZ3.js → executions-UIR6RQFM.js} +8 -8
- package/dist/cli/{feedback-UOI6UEGA.js → feedback-CQ5FUE4T.js} +14 -14
- package/dist/cli/{feedback-2EJPILGE.mjs → feedback-UUUISTGQ.mjs} +6 -6
- package/dist/cli/{git-DI3LJIAT.mjs → git-DTILSRIQ.mjs} +5 -5
- package/dist/cli/git-ZGDD3BVX.js +26 -0
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-TYN2BSQ6.js → integrations-ABBLLEJH.js} +29 -29
- package/dist/cli/{integrations-DJYS5VRK.mjs → integrations-NNACG3HD.mjs} +7 -7
- package/dist/cli/{legacy-noops-GXQHNLGJ.js → legacy-noops-3JLS5OD7.js} +9 -9
- package/dist/cli/{legacy-noops-Z457BB6O.mjs → legacy-noops-KQW7AIYU.mjs} +6 -6
- package/dist/cli/{mcp-NAW3GFNN.mjs → mcp-7NHGPYZH.mjs} +4 -4
- package/dist/cli/{mcp-WMBOOTQL.js → mcp-JPBFKR26.js} +24 -24
- package/dist/cli/{monitors-OOQVE7XR.js → monitors-J6HK5KCN.js} +100 -100
- package/dist/cli/{monitors-A7NYAXSJ.mjs → monitors-JOE2DALW.mjs} +7 -7
- package/dist/cli/{org-7YCDUSZE.mjs → org-VZZ4LN4O.mjs} +6 -6
- package/dist/cli/{org-D2AMIVBS.js → org-WFZFQIXQ.js} +121 -121
- package/dist/cli/{outcomes-TNTKCUEO.mjs → outcomes-H2WEZYNT.mjs} +6 -6
- package/dist/cli/{outcomes-2FKZDJSQ.js → outcomes-RZWL47BJ.js} +14 -14
- package/dist/cli/{play-NWKHCHVZ.js → play-2ZEBUF5T.js} +336 -336
- package/dist/cli/{play-L6CVHSN4.mjs → play-KMWA7GVN.mjs} +19 -19
- package/dist/cli/{providers-22LO747B.mjs → providers-2BIA3OWA.mjs} +6 -6
- package/dist/cli/{providers-PZGOI5CN.js → providers-57AZWFSW.js} +9 -9
- package/dist/cli/{quickstart-LLWOC2GR.js → quickstart-EYJFERQO.js} +6 -6
- package/dist/cli/{quickstart-3ZRVKGMH.mjs → quickstart-NSDM2RXV.mjs} +4 -4
- package/dist/cli/{run-SNF23STR.js → run-BW62DZGQ.js} +44 -44
- package/dist/cli/{run-D46W2GUA.mjs → run-X6H5SCEE.mjs} +23 -23
- package/dist/cli/{search-XWVCICIX.mjs → search-2VN74P5N.mjs} +7 -7
- package/dist/cli/search-HYRDZVPQ.js +32 -0
- package/dist/cli/{search-output-36GHD67U.js → search-output-SFWQVBYU.js} +6 -6
- package/dist/cli/{search-output-YM5QXFQQ.mjs → search-output-VN7XOZEQ.mjs} +4 -4
- package/dist/cli/{secrets-7PTZEFRC.mjs → secrets-4M26N436.mjs} +6 -6
- package/dist/cli/{secrets-UXCIHG5I.js → secrets-OIPKG2H7.js} +15 -15
- package/dist/cli/sessions-5P2KZOQE.js +23 -0
- package/dist/cli/{sessions-DTXJKRP4.mjs → sessions-SYFH23L3.mjs} +6 -6
- package/dist/cli/{settings-74B6UOS4.mjs → settings-4HPF3T4P.mjs} +12 -12
- package/dist/cli/{settings-EYSDZE37.js → settings-5NB4HZYL.js} +85 -85
- package/dist/cli/{setup-2QRZ36CH.mjs → setup-CI74F6CL.mjs} +9 -9
- package/dist/cli/{setup-E7PVXBPL.js → setup-JV3F5C7P.js} +49 -49
- package/dist/cli/{skills-2WZ7N3UW.mjs → skills-76CM4GHO.mjs} +7 -7
- package/dist/cli/skills-PJ5EL32L.js +37 -0
- package/dist/cli/{tools-YK5SCUZD.mjs → tools-SVGLDWOC.mjs} +17 -17
- package/dist/cli/tools-Y5ID2SPK.js +57 -0
- package/dist/cli/update-FSUMCMNZ.js +37 -0
- package/dist/cli/{update-563YQK53.mjs → update-KPMDOZRX.mjs} +9 -9
- package/dist/cli/{views-ISNCRZUP.mjs → views-KW54SAES.mjs} +6 -6
- package/dist/cli/{views-OLPS6TPG.js → views-R37NWN6J.js} +21 -21
- package/dist/cli/{workflow-B3ZKU3OR.mjs → workflow-3MIRQV4Q.mjs} +7 -7
- package/dist/cli/{workflow-CUSCTYMW.js → workflow-BKRKUNYS.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +116 -116
- package/dist/release.d.mts +9 -1
- package/dist/release.d.ts +9 -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-DXUHEL5I.js +0 -44
- package/dist/cli/concurrent-runs-help-JLWY54WL.js +0 -22
- package/dist/cli/describe-33PBWO5O.js +0 -50
- package/dist/cli/git-2OPYEPYW.js +0 -26
- package/dist/cli/search-H57MZPLF.js +0 -32
- package/dist/cli/sessions-JJZMQSH4.js +0 -23
- package/dist/cli/skills-RIF2DCZI.js +0 -37
- package/dist/cli/tools-7VRQ4GSI.js +0 -57
- package/dist/cli/update-CMZAIAES.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 _chunkNMSDMXYSjs = require('./chunk-NMSDMXYS.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkEV47DV25js = require('./chunk-EV47DV25.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.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 = _chunkEJN43WGDjs.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 ? _chunkNMSDMXYSjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
565
|
+
const npmGlobalInstallFlags = _chunkNMSDMXYSjs.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()]) || _chunkJHQ7FORYjs.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 = _chunkEJN43WGDjs.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(), _chunkJHQ7FORYjs.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: _chunkJHQ7FORYjs.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, () => ( _chunkJHQ7FORYjs.DEFAULT_MAX_RETRIES));
|
|
1223
|
+
const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkJHQ7FORYjs.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, () => ( _chunkJHQ7FORYjs.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 _chunkEV47DV25js.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
|
+
_chunkFXN5WSTYjs.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
|
+
_chunkFXN5WSTYjs.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
|
+
_chunkFXN5WSTYjs.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
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
1430
1430
|
{
|
|
1431
1431
|
ok: true,
|
|
1432
1432
|
pinnedVersion,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rejectRestrictedFeedback
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LUQMTNFB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getAuthedHttpClient,
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O35BHZLQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
agentSessionIdFromEnvironment,
|
|
10
10
|
claudeProjectsRoots,
|
|
11
11
|
coworkTranscriptFromEnvironment
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FHYNK7GL.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
import {
|
|
@@ -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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OQQDNJ2D.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O35BHZLQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CWHXE6HJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FHYNK7GL.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|
|
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkRSZSKTRCjs = require('./chunk-RSZSKTRC.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(_chunkRSZSKTRCjs.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
|
+
[_chunkRSZSKTRCjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1354
|
+
...receivers ? { [_chunkRSZSKTRCjs.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, [_chunkRSZSKTRCjs.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(_chunkRSZSKTRCjs.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 { [_chunkRSZSKTRCjs.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(_chunkRSZSKTRCjs.SDK_API_MAJOR)
|
|
4486
4486
|
} : runtimeHeaders;
|
|
4487
4487
|
const http = this.http;
|
|
4488
4488
|
let submitted = false;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-APJ6YIYW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WP4Q5PTK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OQQDNJ2D.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O35BHZLQ.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-CWHXE6HJ.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -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 _chunk2NFDB6CLjs = require('./chunk-2NFDB6CL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.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") _chunkEJN43WGDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunk2NFDB6CLjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkEJN43WGDjs.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
|
+
_chunkEJN43WGDjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
|
|
|
32
32
|
return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
|
|
33
33
|
}
|
|
34
34
|
async function handleList(options) {
|
|
35
|
-
const { http } =
|
|
35
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
36
36
|
const payload = await http.get(
|
|
37
37
|
`/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
77
77
|
const payload = await http.get("/api/v2/github/installation");
|
|
78
78
|
const installation = payload.installation;
|
|
79
79
|
const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
140
140
|
{
|
|
141
141
|
installation,
|
|
142
142
|
installations: _nullishCoalesce(payload.installations, () => ( [])),
|
|
@@ -147,10 +147,10 @@ async function handleStatus(options) {
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
async function handleRepos(options) {
|
|
150
|
-
const { http } =
|
|
150
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
151
151
|
const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
|
|
152
152
|
const payload = await http.get(`/api/v2/github/repos${query}`);
|
|
153
|
-
|
|
153
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
154
154
|
{
|
|
155
155
|
installation: payload.installation,
|
|
156
156
|
repositories: payload.repositories,
|
|
@@ -171,7 +171,7 @@ async function handleRepos(options) {
|
|
|
171
171
|
}
|
|
172
172
|
async function resolveRepoId(repo, installation) {
|
|
173
173
|
if (/^\d+$/.test(repo)) return Number(repo);
|
|
174
|
-
const { http } =
|
|
174
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
175
175
|
const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
|
|
176
176
|
const payload = await http.get(
|
|
177
177
|
`/api/v2/github/repos${query}`
|
|
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
192
192
|
const payload = await http.post("/api/v2/play-projects", {
|
|
193
193
|
repoId,
|
|
194
194
|
...options.installation !== void 0 ? { installationId: options.installation } : {},
|
|
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
|
|
|
197
197
|
...options.branch !== void 0 ? { productionBranch: options.branch } : {},
|
|
198
198
|
...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
async function handleGet(id, options) {
|
|
223
|
-
const { http } =
|
|
223
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
228
228
|
{
|
|
229
229
|
project: payload.project,
|
|
230
230
|
render: {
|
|
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
async function handleSet(id, options) {
|
|
243
|
-
const { http } =
|
|
243
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
244
244
|
const payload = await http.patch(
|
|
245
245
|
`/api/v2/play-projects/${encodeURIComponent(id)}`,
|
|
246
246
|
{
|
|
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
|
|
|
251
251
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
|
-
|
|
254
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
project: payload.project,
|
|
257
257
|
render: {
|
|
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
async function handleUnlink(id, options) {
|
|
267
|
-
const { http } =
|
|
267
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
270
270
|
{
|
|
271
271
|
ok: true,
|
|
272
272
|
id,
|
|
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
async function handleConnect(options) {
|
|
289
|
-
const baseUrl =
|
|
289
|
+
const baseUrl = _chunkJHQ7FORYjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkFXN5WSTYjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
315
315
|
const query = new URLSearchParams();
|
|
316
316
|
if (options.repo) query.set("projectId", options.repo);
|
|
317
317
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
|
|
|
319
319
|
const payload = await http.get(
|
|
320
320
|
`/api/v2/deployments${suffix}`
|
|
321
321
|
);
|
|
322
|
-
|
|
322
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
deployments: payload.deployments,
|
|
325
325
|
count: payload.deployments.length,
|
|
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
|
|
|
363
363
|
]);
|
|
364
364
|
}
|
|
365
365
|
async function handleDeploymentGet(id, options) {
|
|
366
|
-
const { http } =
|
|
366
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
367
367
|
const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
|
|
368
368
|
const playLines = renderDeploymentPlayLines(payload.deployment.results);
|
|
369
369
|
const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
|
|
370
370
|
const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
|
|
371
|
-
|
|
371
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
372
372
|
{
|
|
373
373
|
deployment: payload.deployment,
|
|
374
374
|
project: payload.project,
|
|
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
|
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
async function handleDeploymentCancel(id, options) {
|
|
390
|
-
const { http } =
|
|
390
|
+
const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkKVDIN2YWjs = require('./chunk-KVDIN2YW.js');
|
|
11
11
|
require('./chunk-TJCENACZ.js');
|
|
12
12
|
require('./chunk-E2G2DNAB.js');
|
|
13
13
|
require('./chunk-YGCKMI5P.js');
|
|
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.CLI_DOC_SURFACE =
|
|
24
|
+
exports.CLI_DOC_SURFACE = _chunkKVDIN2YWjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkKVDIN2YWjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkKVDIN2YWjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkKVDIN2YWjs.commandDocKey; exports.helpDetailFromArgv = _chunkKVDIN2YWjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkKVDIN2YWjs.renderActionExplanation; exports.renderCommandExplanation = _chunkKVDIN2YWjs.renderCommandExplanation; exports.renderDocText = _chunkKVDIN2YWjs.renderDocText;
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
3
|
concurrentRunsHelpStatus,
|
|
4
4
|
concurrentRunsLine
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-MDP3CNDM.mjs";
|
|
6
|
+
import "./chunk-NDMKFA6W.mjs";
|
|
7
7
|
import "./chunk-HECXJBED.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-O35BHZLQ.mjs";
|
|
9
|
+
import "./chunk-CWHXE6HJ.mjs";
|
|
10
|
+
import "./chunk-FHYNK7GL.mjs";
|
|
11
11
|
import "./chunk-ASB47RXJ.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-Z3A2S3QM.mjs";
|
|
14
14
|
import "./chunk-2MGZAI54.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ID5WQZ2H.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk772IV64Yjs = require('./chunk-772IV64Y.js');
|
|
6
|
+
require('./chunk-FRYLXDNP.js');
|
|
7
|
+
require('./chunk-TJCENACZ.js');
|
|
8
|
+
require('./chunk-FXN5WSTY.js');
|
|
9
|
+
require('./chunk-JHQ7FORY.js');
|
|
10
|
+
require('./chunk-RSZSKTRC.js');
|
|
11
|
+
require('./chunk-6VLFQZK6.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-LFQJW4S2.js');
|
|
14
|
+
require('./chunk-CFJFUVX2.js');
|
|
15
|
+
require('./chunk-OBZB4J7B.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunk772IV64Yjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunk772IV64Yjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunk772IV64Yjs.concurrentRunsLine;
|