deepline 0.3.321 → 0.3.322
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/cli/auth-MKFIE6KN.js +31 -0
- package/dist/cli/{auth-OXD3QIJW.mjs → auth-VSXORUWX.mjs} +4 -4
- package/dist/cli/{billing-XT3T2V6Z.mjs → billing-EH74RDBF.mjs} +4 -4
- package/dist/cli/{billing-6YZHF6FJ.js → billing-Q6WO5E2R.js} +70 -70
- package/dist/cli/{chunk-57VCSLVP.js → chunk-4F4XU2Z5.js} +6 -6
- package/dist/cli/{chunk-PVHEPQR6.js → chunk-5RPFAX7O.js} +6 -6
- package/dist/cli/{chunk-Q7I47LE7.mjs → chunk-6JV2VSQN.mjs} +1 -1
- package/dist/cli/{chunk-TFNUR4VK.mjs → chunk-6PE2VHSG.mjs} +6 -6
- package/dist/cli/{chunk-MMIICHOJ.mjs → chunk-A3THNBGB.mjs} +2 -2
- package/dist/cli/{chunk-VF3SOXGE.js → chunk-CMRWPMZS.js} +26 -26
- package/dist/cli/{chunk-N7FB2EYO.js → chunk-CNO37AI3.js} +220 -220
- package/dist/cli/{chunk-KLY2SA5G.js → chunk-GAFGAIVW.js} +60 -60
- package/dist/cli/{chunk-GCKI434X.mjs → chunk-H52C7AHC.mjs} +4 -4
- package/dist/cli/{chunk-QVH4OR5R.mjs → chunk-I7UUOAZN.mjs} +1 -1
- package/dist/cli/{chunk-ZEO3FTS5.js → chunk-JCZX5ZQW.js} +6 -6
- package/dist/cli/{chunk-7V6BVNXM.mjs → chunk-JWEYKLOV.mjs} +1 -1
- package/dist/cli/{chunk-PVSES2RR.js → chunk-KAUABQOG.js} +15 -15
- package/dist/cli/{chunk-GNXG6BQI.js → chunk-KHRWZU6B.js} +50 -50
- package/dist/cli/{chunk-Y2O2LTUU.mjs → chunk-LUAF3MIC.mjs} +1 -1
- package/dist/cli/{chunk-LXVHOTPH.mjs → chunk-LUTXK4ON.mjs} +5 -5
- package/dist/cli/{chunk-WRS3ZBVF.js → chunk-M4TZIO5U.js} +2 -2
- package/dist/cli/{chunk-4QF3GTLM.mjs → chunk-PMTJYMDJ.mjs} +3 -3
- package/dist/cli/{chunk-23LWIJU5.js → chunk-PTOQKD2Y.js} +1 -1
- package/dist/cli/{chunk-KZ4S6URN.js → chunk-QXIPQYZZ.js} +6 -6
- package/dist/cli/{chunk-SIU6LJAM.mjs → chunk-SISYT2DM.mjs} +2 -2
- package/dist/cli/{chunk-FBJSFMZM.js → chunk-U6N6MS6N.js} +4 -4
- package/dist/cli/{chunk-T6BFDDO7.mjs → chunk-WARD6DBW.mjs} +1 -1
- package/dist/cli/{chunk-KN5AMK2N.js → chunk-Y3LPZJFE.js} +48 -48
- package/dist/cli/{chunk-SLAJLTYQ.mjs → chunk-Z5TQC2ID.mjs} +2 -2
- package/dist/cli/{chunk-P5BBV56E.mjs → chunk-ZHIPP7YD.mjs} +1 -1
- package/dist/cli/client-NITVYMZK.js +20 -0
- package/dist/cli/{client-GEADN6HT.mjs → client-XRO4X5XF.mjs} +3 -3
- package/dist/cli/{csv-47ALCDUF.mjs → csv-5B6JDXCN.mjs} +3 -3
- package/dist/cli/{csv-72X7YZWZ.js → csv-ALZ44QHM.js} +12 -12
- package/dist/cli/{db-22ZO4JUX.js → db-D6UHGVOU.js} +20 -20
- package/dist/cli/{db-LOC34Z5E.mjs → db-HJECAUNU.mjs} +4 -4
- package/dist/cli/{describe-4W6RA7DZ.mjs → describe-FBAWTMDS.mjs} +8 -8
- package/dist/cli/{describe-TWBIOBVP.js → describe-YAN46NBC.js} +15 -15
- package/dist/cli/{executions-MVY4577L.mjs → executions-LWHMAUHH.mjs} +4 -4
- package/dist/cli/{executions-7RGT2PNM.js → executions-XSV7ZE4N.js} +6 -6
- package/dist/cli/{feedback-IFQH4TNG.mjs → feedback-EPXMI55U.mjs} +3 -3
- package/dist/cli/{feedback-TQMC2VPS.js → feedback-RKT6F6W6.js} +6 -6
- package/dist/cli/git-B3L74RFF.js +23 -0
- package/dist/cli/{git-F7G4NWNH.mjs → git-BOXANJBI.mjs} +4 -4
- package/dist/cli/index.js +75 -75
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-T6TPBUI7.js → legacy-noops-7EBEYUQZ.js} +7 -7
- package/dist/cli/{legacy-noops-DNGJQ2LB.mjs → legacy-noops-VV7DRGA7.mjs} +4 -4
- package/dist/cli/{monitors-6LOEYFPU.mjs → monitors-NJPHRFYT.mjs} +4 -4
- package/dist/cli/{monitors-7ZCIBU3A.js → monitors-RDRG3E4Y.js} +85 -85
- package/dist/cli/{org-QNOMTNYG.mjs → org-USE3QRY6.mjs} +4 -4
- package/dist/cli/{org-IY5J5UV2.js → org-ZFWDBQ7R.js} +60 -60
- package/dist/cli/{play-DYYJFFCL.mjs → play-3VEIZZJ5.mjs} +7 -7
- package/dist/cli/play-EONETVYE.js +152 -0
- package/dist/cli/{providers-Y54CW33F.mjs → providers-PP4L5HLM.mjs} +4 -4
- package/dist/cli/{providers-MLRLAH37.js → providers-SXWPIPKO.js} +7 -7
- package/dist/cli/{quickstart-K2FFBJEQ.mjs → quickstart-QCSPS2D5.mjs} +3 -3
- package/dist/cli/{quickstart-EIWX6I5X.js → quickstart-WVLEQQXO.js} +5 -5
- package/dist/cli/{search-2YJQBUPV.mjs → search-LTC6R6IS.mjs} +5 -5
- package/dist/cli/search-XK2KJXQG.js +26 -0
- package/dist/cli/{secrets-BBPVDWHE.mjs → secrets-LV4FJNAL.mjs} +4 -4
- package/dist/cli/{secrets-5MY6G5EO.js → secrets-R5FGK6UC.js} +13 -13
- package/dist/cli/{sessions-SKSMKVXC.mjs → sessions-CFNRSRYX.mjs} +4 -4
- package/dist/cli/{sessions-LYULGDRK.js → sessions-N6CMP6XZ.js} +5 -5
- package/dist/cli/{settings-CIV5JY2A.mjs → settings-ADEYLHV7.mjs} +7 -7
- package/dist/cli/{settings-HTAZHDQ3.js → settings-RNEJQGBL.js} +74 -74
- package/dist/cli/{setup-EWRGRIO2.js → setup-NJCUXN4H.js} +41 -41
- package/dist/cli/{setup-UJDC3MCT.mjs → setup-YLEOL7E7.mjs} +6 -6
- package/dist/cli/skills-VNAPDBFA.js +28 -0
- package/dist/cli/{skills-C7YBNTJW.mjs → skills-WABXOGDA.mjs} +4 -4
- package/dist/cli/tools-XF5EQO4O.js +38 -0
- package/dist/cli/{tools-LHIQZLYY.mjs → tools-XQCGEX5J.mjs} +6 -6
- package/dist/cli/update-3TQMEJO5.js +28 -0
- package/dist/cli/{update-G5SWXA67.mjs → update-3W2NBTST.mjs} +6 -6
- package/dist/cli/{workflow-TJOJJJT5.mjs → workflow-GKFGFQ4D.mjs} +5 -5
- package/dist/cli/{workflow-7HKDO6QM.js → workflow-NUVM7LQR.js} +15 -15
- 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/dist/viewer/viewer.js +20 -3
- package/package.json +1 -1
- package/dist/cli/auth-AF2MEC7K.js +0 -31
- package/dist/cli/client-LXTQ44XR.js +0 -20
- package/dist/cli/git-ADCE7DM6.js +0 -23
- package/dist/cli/play-EMBNMGQ6.js +0 -152
- package/dist/cli/search-7EADPPFV.js +0 -26
- package/dist/cli/skills-6BXDE3J6.js +0 -28
- package/dist/cli/tools-VYQ34FFN.js +0 -38
- package/dist/cli/update-4RZHBEJL.js +0 -28
|
@@ -14,7 +14,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkU6N6MS6Njs = require('./chunk-U6N6MS6N.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
|
+
[_chunkU6N6MS6Njs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
2761
|
+
...receivers ? { [_chunkU6N6MS6Njs.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 { [_chunkU6N6MS6Njs.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 = _chunkU6N6MS6Njs.resolveConfig.call(void 0, options);
|
|
3079
|
+
this.http = new (0, _chunkU6N6MS6Njs.HttpClient)(this.config);
|
|
3080
3080
|
this.toolCalls = new ToolCalls(
|
|
3081
3081
|
this.http,
|
|
3082
3082
|
this.config.timeout,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-EDWJY6T4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
registerDeprecatedSearchCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PMTJYMDJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
handleDeploymentGet,
|
|
13
13
|
handleDeploymentsList
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SISYT2DM.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-JWEYKLOV.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-ZHIPP7YD.mjs";
|
|
70
70
|
import {
|
|
71
71
|
fetchWithDeploymentProtection
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-WARD6DBW.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-FBAWTMDS.mjs");
|
|
17952
17952
|
process.exitCode = await describeAnything(
|
|
17953
17953
|
name,
|
|
17954
17954
|
{
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GAMFK2ZP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZHIPP7YD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sdkCliStateDirPath,
|
|
23
23
|
skillsAgentPathSegment,
|
|
24
24
|
writeSdkSkillsLocalVersion
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WARD6DBW.mjs";
|
|
26
26
|
import {
|
|
27
27
|
DeeplineError
|
|
28
28
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4F4XU2Z5js = require('./chunk-4F4XU2Z5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkU6N6MS6Njs = require('./chunk-U6N6MS6N.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunk4F4XU2Z5js.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 = _chunkU6N6MS6Njs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunk4F4XU2Z5js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.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
|
+
_chunk4F4XU2Z5js.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 } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|