deepline 0.3.320 → 0.3.321
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/observability/scheduled-jobs.json +23 -7
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
- package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +32 -0
- package/dist/cli/auth-AF2MEC7K.js +31 -0
- package/dist/cli/{auth-NYSK66KD.mjs → auth-OXD3QIJW.mjs} +4 -4
- package/dist/cli/{billing-ZBWBLIP7.js → billing-6YZHF6FJ.js} +70 -70
- package/dist/cli/{billing-XYVBZJU5.mjs → billing-XT3T2V6Z.mjs} +4 -4
- package/dist/cli/{chunk-PIZ6SO36.js → chunk-23LWIJU5.js} +1 -1
- package/dist/cli/{chunk-TSJMXXYQ.mjs → chunk-4QF3GTLM.mjs} +3 -3
- package/dist/cli/{chunk-J4GZ6UGF.js → chunk-57VCSLVP.js} +6 -6
- package/dist/cli/{chunk-37ONQE44.mjs → chunk-7V6BVNXM.mjs} +1 -1
- package/dist/cli/{chunk-RLTEXU3S.js → chunk-FBJSFMZM.js} +4 -4
- package/dist/cli/{chunk-TETXFI7D.mjs → chunk-GCKI434X.mjs} +4 -4
- package/dist/cli/{chunk-LCTFVXCB.js → chunk-GNXG6BQI.js} +50 -50
- package/dist/cli/{chunk-TRHCY3DR.js → chunk-KLY2SA5G.js} +60 -60
- package/dist/cli/{chunk-QYZ4O7PR.js → chunk-KN5AMK2N.js} +48 -48
- package/dist/cli/{chunk-PW66AZ2A.js → chunk-KZ4S6URN.js} +6 -6
- package/dist/cli/{chunk-HSK7KXT5.mjs → chunk-LXVHOTPH.mjs} +5 -5
- package/dist/cli/{chunk-W5YKTQSP.mjs → chunk-MMIICHOJ.mjs} +2 -2
- package/dist/cli/{chunk-3NEPTMWE.js → chunk-N7FB2EYO.js} +220 -220
- package/dist/cli/{chunk-UMEP46YY.mjs → chunk-P5BBV56E.mjs} +1 -1
- package/dist/cli/{chunk-XBNAQNFP.js → chunk-PVHEPQR6.js} +6 -6
- package/dist/cli/{chunk-3PTRR2TW.js → chunk-PVSES2RR.js} +15 -15
- package/dist/cli/{chunk-6YZISVBR.mjs → chunk-Q7I47LE7.mjs} +1 -1
- package/dist/cli/{chunk-6A6T4G7T.mjs → chunk-QVH4OR5R.mjs} +1 -1
- package/dist/cli/{chunk-AX3TZAV5.mjs → chunk-SIU6LJAM.mjs} +2 -2
- package/dist/cli/{chunk-ZU55LRWM.mjs → chunk-SLAJLTYQ.mjs} +2 -2
- package/dist/cli/{chunk-Z5JM4OEH.mjs → chunk-T6BFDDO7.mjs} +1 -1
- package/dist/cli/{chunk-VUARZ4ZE.mjs → chunk-TFNUR4VK.mjs} +6 -6
- package/dist/cli/{chunk-RGOSOAIT.js → chunk-VF3SOXGE.js} +26 -26
- package/dist/cli/{chunk-PYRNYGFW.js → chunk-WRS3ZBVF.js} +2 -2
- package/dist/cli/{chunk-T6P6HH2G.mjs → chunk-Y2O2LTUU.mjs} +1 -1
- package/dist/cli/{chunk-4HZUNBCY.js → chunk-ZEO3FTS5.js} +6 -6
- package/dist/cli/{client-VTPKOO4Z.mjs → client-GEADN6HT.mjs} +3 -3
- package/dist/cli/client-LXTQ44XR.js +20 -0
- package/dist/cli/{csv-MJJEVKN5.mjs → csv-47ALCDUF.mjs} +3 -3
- package/dist/cli/{csv-AQ7BK42T.js → csv-72X7YZWZ.js} +12 -12
- package/dist/cli/{db-MFYFYQMS.js → db-22ZO4JUX.js} +20 -20
- package/dist/cli/{db-VSLFUXRH.mjs → db-LOC34Z5E.mjs} +4 -4
- package/dist/cli/{describe-EGCCLMIG.mjs → describe-4W6RA7DZ.mjs} +8 -8
- package/dist/cli/{describe-PZXQHRZC.js → describe-TWBIOBVP.js} +15 -15
- package/dist/cli/{executions-Z34FIL2V.js → executions-7RGT2PNM.js} +6 -6
- package/dist/cli/{executions-RDQRQOQA.mjs → executions-MVY4577L.mjs} +4 -4
- package/dist/cli/{feedback-KCC6WF2Z.mjs → feedback-IFQH4TNG.mjs} +3 -3
- package/dist/cli/{feedback-6JOSGSDK.js → feedback-TQMC2VPS.js} +6 -6
- package/dist/cli/git-ADCE7DM6.js +23 -0
- package/dist/cli/{git-DZFULAET.mjs → git-F7G4NWNH.mjs} +4 -4
- package/dist/cli/index.js +75 -75
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-FJU7A3FQ.mjs → legacy-noops-DNGJQ2LB.mjs} +4 -4
- package/dist/cli/{legacy-noops-7J4EK3K5.js → legacy-noops-T6TPBUI7.js} +7 -7
- package/dist/cli/{monitors-BGITITUE.mjs → monitors-6LOEYFPU.mjs} +4 -4
- package/dist/cli/{monitors-MJA6SOAO.js → monitors-7ZCIBU3A.js} +85 -85
- package/dist/cli/{org-FSQSD4PN.js → org-IY5J5UV2.js} +60 -60
- package/dist/cli/{org-AXLMRMVO.mjs → org-QNOMTNYG.mjs} +4 -4
- package/dist/cli/{play-C2CW2RIA.mjs → play-DYYJFFCL.mjs} +7 -7
- package/dist/cli/play-EMBNMGQ6.js +152 -0
- package/dist/cli/{providers-5QU7XHEC.js → providers-MLRLAH37.js} +7 -7
- package/dist/cli/{providers-KJVUG5C7.mjs → providers-Y54CW33F.mjs} +4 -4
- package/dist/cli/{quickstart-QSN4CEN5.js → quickstart-EIWX6I5X.js} +5 -5
- package/dist/cli/{quickstart-4544CITN.mjs → quickstart-K2FFBJEQ.mjs} +3 -3
- package/dist/cli/{search-BBZ3PAH3.mjs → search-2YJQBUPV.mjs} +5 -5
- package/dist/cli/search-7EADPPFV.js +26 -0
- package/dist/cli/{secrets-TDVMAWYN.js → secrets-5MY6G5EO.js} +13 -13
- package/dist/cli/{secrets-ULXLPXCV.mjs → secrets-BBPVDWHE.mjs} +4 -4
- package/dist/cli/{sessions-5VDQB2L7.js → sessions-LYULGDRK.js} +5 -5
- package/dist/cli/{sessions-PGYBZWYC.mjs → sessions-SKSMKVXC.mjs} +4 -4
- package/dist/cli/{settings-Q2WUSTBE.mjs → settings-CIV5JY2A.mjs} +7 -7
- package/dist/cli/{settings-CPVJ6CAJ.js → settings-HTAZHDQ3.js} +74 -74
- package/dist/cli/{setup-S5HRTXGS.js → setup-EWRGRIO2.js} +41 -41
- package/dist/cli/{setup-GSP4CRQI.mjs → setup-UJDC3MCT.mjs} +6 -6
- package/dist/cli/skills-6BXDE3J6.js +28 -0
- package/dist/cli/{skills-YTO4QBNQ.mjs → skills-C7YBNTJW.mjs} +4 -4
- package/dist/cli/{tools-SLP5JY6Y.mjs → tools-LHIQZLYY.mjs} +6 -6
- package/dist/cli/tools-VYQ34FFN.js +38 -0
- package/dist/cli/update-4RZHBEJL.js +28 -0
- package/dist/cli/{update-WFKVOWE2.mjs → update-G5SWXA67.mjs} +6 -6
- package/dist/cli/{workflow-6CNJLEXB.js → workflow-7HKDO6QM.js} +15 -15
- package/dist/cli/{workflow-VT5MZAE4.mjs → workflow-TJOJJJT5.mjs} +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +74 -74
- 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/package.json +1 -1
- package/dist/cli/auth-4G7N6GA3.js +0 -31
- package/dist/cli/client-SH53CVTP.js +0 -20
- package/dist/cli/git-T657HSFR.js +0 -23
- package/dist/cli/play-ANDR7I7L.js +0 -152
- package/dist/cli/search-W7S7BRKC.js +0 -26
- package/dist/cli/skills-PO3LZZP4.js +0 -28
- package/dist/cli/tools-IRJOZZOP.js +0 -38
- package/dist/cli/update-UD7ABWPP.js +0 -28
|
@@ -14,7 +14,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -2757,8 +2757,8 @@ function runtimeSelectionHeaders(runtime) {
|
|
|
2757
2757
|
}
|
|
2758
2758
|
const receivers = _optionalChain([process, 'access', _99 => _99.env, 'access', _100 => _100.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _101 => _101.trim, 'call', _102 => _102()]);
|
|
2759
2759
|
return {
|
|
2760
|
-
[
|
|
2761
|
-
...receivers ? { [
|
|
2760
|
+
[_chunkFBJSFMZMjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
2761
|
+
...receivers ? { [_chunkFBJSFMZMjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
2762
2762
|
};
|
|
2763
2763
|
}
|
|
2764
2764
|
function isolatedCiRuntimeEventReadHeaders() {
|
|
@@ -2774,7 +2774,7 @@ function isolatedCiRuntimeEventReadHeaders() {
|
|
|
2774
2774
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
2775
2775
|
);
|
|
2776
2776
|
}
|
|
2777
|
-
return { [
|
|
2777
|
+
return { [_chunkFBJSFMZMjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
2778
2778
|
}
|
|
2779
2779
|
function normalizeTestPolicyOverrides(value, source) {
|
|
2780
2780
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -3075,8 +3075,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
3075
3075
|
* @throws {@link ConfigError} if no API key can be resolved from any source.
|
|
3076
3076
|
*/
|
|
3077
3077
|
constructor(options) {
|
|
3078
|
-
this.config =
|
|
3079
|
-
this.http = new (0,
|
|
3078
|
+
this.config = _chunkFBJSFMZMjs.resolveConfig.call(void 0, options);
|
|
3079
|
+
this.http = new (0, _chunkFBJSFMZMjs.HttpClient)(this.config);
|
|
3080
3080
|
this.toolCalls = new ToolCalls(
|
|
3081
3081
|
this.http,
|
|
3082
3082
|
this.config.timeout,
|
|
@@ -1,17 +1,17 @@
|
|
|
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 _chunkWRS3ZBVFjs = require('./chunk-WRS3ZBVF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKLY2SA5Gjs = require('./chunk-KLY2SA5G.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk57VCSLVPjs = require('./chunk-57VCSLVP.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.js');
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
var _child_process = require('child_process');
|
|
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
|
|
|
504
504
|
}
|
|
505
505
|
function resolveNpmGlobalPrefix(env) {
|
|
506
506
|
try {
|
|
507
|
-
const plan =
|
|
507
|
+
const plan = _chunkKLY2SA5Gjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
|
|
508
508
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
509
509
|
encoding: "utf8",
|
|
510
510
|
env,
|
|
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
560
560
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
561
561
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
562
562
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
563
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
564
|
-
const npmGlobalInstallFlags =
|
|
563
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkWRS3ZBVFjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
564
|
+
const npmGlobalInstallFlags = _chunkWRS3ZBVFjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
565
565
|
const args = installPrefix ? [
|
|
566
566
|
"install",
|
|
567
567
|
"-g",
|
|
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
571
571
|
packageSpec
|
|
572
572
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
573
573
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
574
|
-
_optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) ||
|
|
574
|
+
_optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkFBJSFMZMjs.autoDetectBaseUrl.call(void 0, )
|
|
575
575
|
);
|
|
576
576
|
return {
|
|
577
577
|
kind: "npm-global",
|
|
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
718
718
|
function runCommand(command, args, env = process.env) {
|
|
719
719
|
return new Promise((resolveResult) => {
|
|
720
720
|
let output = "";
|
|
721
|
-
const plan =
|
|
721
|
+
const plan = _chunkKLY2SA5Gjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
722
722
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
723
723
|
stdio: ["inherit", "pipe", "pipe"],
|
|
724
724
|
shell: plan.shell,
|
|
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
|
|
|
1094
1094
|
throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
|
|
1095
1095
|
}
|
|
1096
1096
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1097
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1097
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFBJSFMZMjs.autoDetectBaseUrl));
|
|
1098
1098
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1099
1099
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1100
1100
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1101
1101
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1102
1102
|
process.stdout.write = (() => true);
|
|
1103
1103
|
try {
|
|
1104
|
-
const exitCode = await
|
|
1104
|
+
const exitCode = await _chunkKLY2SA5Gjs.runSkillsCommand.call(void 0, { json: true });
|
|
1105
1105
|
if (exitCode !== 0) {
|
|
1106
1106
|
throw new Error(
|
|
1107
1107
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1172
1172
|
]
|
|
1173
1173
|
};
|
|
1174
1174
|
if (options.json && !options.executeWithJson) {
|
|
1175
|
-
|
|
1175
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
|
|
1176
1176
|
return 0;
|
|
1177
1177
|
}
|
|
1178
1178
|
if (options.printCommand) {
|
|
1179
|
-
|
|
1179
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
1180
1180
|
{
|
|
1181
1181
|
...plan,
|
|
1182
1182
|
render: {
|
|
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1189
1189
|
return 0;
|
|
1190
1190
|
}
|
|
1191
1191
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1192
|
-
|
|
1192
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1193
1193
|
return 0;
|
|
1194
1194
|
}
|
|
1195
1195
|
stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
|
|
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
|
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
1221
1221
|
if (options.executeWithJson && options.json) {
|
|
1222
|
-
|
|
1222
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
1223
1223
|
{
|
|
1224
1224
|
ok: true,
|
|
1225
1225
|
pinnedVersion
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.321",
|
|
53
53
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
54
54
|
packageCapabilities: {
|
|
55
55
|
updatePreferences: 1
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-P5BBV56E.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T6BFDDO7.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-P5BBV56E.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
saveHostEnvValues,
|
|
26
26
|
saveProjectDeeplineEnvValues,
|
|
27
27
|
storedHostApiKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-T6BFDDO7.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/auth.ts
|
|
31
31
|
import {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-EDWJY6T4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
registerDeprecatedSearchCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4QF3GTLM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
handleDeploymentGet,
|
|
13
13
|
handleDeploymentsList
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SIU6LJAM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
|
|
17
17
|
PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
normalizeRunEventOperationRequest,
|
|
35
35
|
parseLogLevel,
|
|
36
36
|
playInputExampleArgs
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7V6BVNXM.mjs";
|
|
38
38
|
import {
|
|
39
39
|
CSV_DATA_INPUT_KEY,
|
|
40
40
|
buildNamedPlayRunRequest,
|
|
@@ -66,10 +66,10 @@ import {
|
|
|
66
66
|
printJson,
|
|
67
67
|
printJsonError,
|
|
68
68
|
renderCommandEnvelopeText
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-P5BBV56E.mjs";
|
|
70
70
|
import {
|
|
71
71
|
fetchWithDeploymentProtection
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-T6BFDDO7.mjs";
|
|
73
73
|
import {
|
|
74
74
|
PLAY_DEFAULT_EXPORT,
|
|
75
75
|
extractDefinedPlayName,
|
|
@@ -17948,7 +17948,7 @@ Examples:
|
|
|
17948
17948
|
process.exitCode = await ownView();
|
|
17949
17949
|
return;
|
|
17950
17950
|
}
|
|
17951
|
-
const { describeAnything } = await import("./describe-
|
|
17951
|
+
const { describeAnything } = await import("./describe-4W6RA7DZ.mjs");
|
|
17952
17952
|
process.exitCode = await describeAnything(
|
|
17953
17953
|
name,
|
|
17954
17954
|
{
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk57VCSLVPjs = require('./chunk-57VCSLVP.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunk57VCSLVPjs.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 = _chunkFBJSFMZMjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunk57VCSLVPjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.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
|
+
_chunk57VCSLVPjs.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 } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -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 _chunkKLY2SA5Gjs = require('./chunk-KLY2SA5G.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 = _chunkKLY2SA5Gjs.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
|
encoding: "utf8",
|
|
19
19
|
env,
|
|
@@ -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 _chunk57VCSLVPjs = require('./chunk-57VCSLVP.js');
|
|
5
5
|
|
|
6
6
|
// src/cli/commands/sessions.ts
|
|
7
7
|
|
|
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
|
|
|
420
420
|
return { encodedContent: encoded, needsChunking: true };
|
|
421
421
|
}
|
|
422
422
|
async function uploadPayload(path, payload) {
|
|
423
|
-
const { http } =
|
|
423
|
+
const { http } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
|
|
424
424
|
return await http.post(path, payload);
|
|
425
425
|
}
|
|
426
426
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
452
452
|
environments: sessions.map(() => detectShellContext()),
|
|
453
453
|
...options.rating ? { rating: options.rating } : {}
|
|
454
454
|
});
|
|
455
|
-
|
|
455
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
456
456
|
{
|
|
457
457
|
...response,
|
|
458
458
|
ok: true,
|
|
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
|
|
|
481
481
|
filename: _path.basename.call(void 0, filePath),
|
|
482
482
|
...rating ? { rating } : {}
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
485
485
|
{
|
|
486
486
|
...response2,
|
|
487
487
|
ok: true,
|
|
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
|
|
|
530
530
|
environment: detectShellContext(),
|
|
531
531
|
...rating ? { rating } : {}
|
|
532
532
|
});
|
|
533
|
-
|
|
533
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
534
534
|
{
|
|
535
535
|
...response,
|
|
536
536
|
ok: true,
|
|
@@ -635,7 +635,7 @@ ${refreshMeta}
|
|
|
635
635
|
</body>
|
|
636
636
|
</html>`;
|
|
637
637
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
638
|
-
|
|
638
|
+
_chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
|
|
639
639
|
{
|
|
640
640
|
ok: true,
|
|
641
641
|
file: outputPath,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
MONITOR_JOB_PHASES,
|
|
4
4
|
MONITOR_JOB_RECONCILIATION_STATES,
|
|
5
5
|
MONITOR_JOB_STATES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7V6BVNXM.mjs";
|
|
7
7
|
import "./chunk-CBVIJSHF.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-T6BFDDO7.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QVH4OR5R.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkPVHEPQR6js = require('./chunk-PVHEPQR6.js');
|
|
7
|
+
require('./chunk-LA46MMTL.js');
|
|
8
|
+
require('./chunk-FBJSFMZM.js');
|
|
9
|
+
require('./chunk-XNYIZMNQ.js');
|
|
10
|
+
require('./chunk-23LWIJU5.js');
|
|
11
|
+
require('./chunk-S6R3OX7B.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-OG64RBAC.js');
|
|
14
|
+
require('./chunk-COGTRVWW.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.DeeplineClient = _chunkPVHEPQR6js.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkPVHEPQR6js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkPVHEPQR6js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkPVHEPQR6js.MONITOR_JOB_STATES;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-P5BBV56E.mjs";
|
|
8
|
+
import "./chunk-T6BFDDO7.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QVH4OR5R.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|