deepline 0.3.349 → 0.3.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-budget-state.ts +30 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +47 -22
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +114 -25
- package/dist/cli/{auth-MPHXSP64.mjs → auth-NQLQ5QBV.mjs} +4 -4
- package/dist/cli/auth-YTDZKDCB.js +31 -0
- package/dist/cli/{billing-K5WCTRBE.mjs → billing-AXSNXOTN.mjs} +4 -4
- package/dist/cli/{billing-2KUUGVDZ.js → billing-AZCBAJ6Q.js} +73 -73
- package/dist/cli/{chunk-JKJSTQ2I.mjs → chunk-722274AA.mjs} +1 -1
- package/dist/cli/{chunk-GHYMVZID.js → chunk-73J3BGJ3.js} +60 -60
- package/dist/cli/{chunk-DOHULRK2.mjs → chunk-7BGGBA4V.mjs} +4 -4
- package/dist/cli/{chunk-QCSLIEMC.js → chunk-7ZAG2XG5.js} +6 -6
- package/dist/cli/{chunk-WOFHIUOT.mjs → chunk-AQQFVUDI.mjs} +2 -2
- package/dist/cli/{chunk-I4VZKXMX.js → chunk-BKOYPUK2.js} +26 -26
- package/dist/cli/{chunk-MVQ3JAJA.js → chunk-BOOZ7D7V.js} +225 -225
- package/dist/cli/{chunk-O2FM2MS5.mjs → chunk-BR3XFSXN.mjs} +6 -6
- package/dist/cli/{chunk-QAM2K3CG.js → chunk-BWFUBETD.js} +48 -48
- package/dist/cli/{chunk-BPJTGASI.mjs → chunk-CFALTV4O.mjs} +2 -2
- package/dist/cli/{chunk-S347PHNB.js → chunk-CIDP2FSO.js} +9 -9
- package/dist/cli/{chunk-UE7DS2YV.mjs → chunk-DBWASDYS.mjs} +3 -3
- package/dist/cli/{chunk-ZQ6UF55Y.mjs → chunk-GT5HPOM3.mjs} +1 -1
- package/dist/cli/{chunk-BEGPN6NG.mjs → chunk-H5JUSKHB.mjs} +1 -1
- package/dist/cli/{chunk-M42H2BPA.js → chunk-ICZTTYDS.js} +8 -8
- package/dist/cli/{chunk-VDOH4A34.mjs → chunk-IKC7EPDS.mjs} +1 -1
- package/dist/cli/{chunk-CRSMVSER.js → chunk-JV6GFIQQ.js} +45 -45
- package/dist/cli/{chunk-KW25DKRC.js → chunk-L7YXXM5W.js} +1 -1
- package/dist/cli/{chunk-JBGR6U57.js → chunk-NUD2WO3E.js} +4 -4
- package/dist/cli/{chunk-SPB6CF4S.mjs → chunk-OF4N5X7Z.mjs} +2 -2
- package/dist/cli/{chunk-IHYVEM5Q.js → chunk-QD7W3OBA.js} +8 -8
- package/dist/cli/{chunk-GXN7DGNL.mjs → chunk-QOYD2THS.mjs} +2 -2
- package/dist/cli/{chunk-TVS3TAFR.js → chunk-SDLFAGQS.js} +15 -15
- package/dist/cli/{chunk-HVD3DK7S.mjs → chunk-URBPUPJS.mjs} +5 -5
- package/dist/cli/{chunk-6YZDQZE6.js → chunk-WY5N3SSC.js} +2 -2
- package/dist/cli/{chunk-6OVLJLYH.mjs → chunk-XFTGWGZ5.mjs} +1 -1
- package/dist/cli/client-3GCQER5K.js +20 -0
- package/dist/cli/{client-JWKYNLCR.mjs → client-NTEDBLQK.mjs} +3 -3
- package/dist/cli/{csv-IW75DRFX.js → csv-6PZZ4ARC.js} +12 -12
- package/dist/cli/{csv-Y2O237NO.mjs → csv-SSSPKSKU.mjs} +3 -3
- package/dist/cli/{db-6Q4VK5T2.js → db-3YL7YWTM.js} +29 -29
- package/dist/cli/{db-JW6UUJXC.mjs → db-XEVVDWOP.mjs} +4 -4
- package/dist/cli/{describe-DI65QISF.js → describe-XZNQXFXD.js} +15 -15
- package/dist/cli/{describe-JLN4RTGM.mjs → describe-YZ365BKT.mjs} +8 -8
- package/dist/cli/{executions-GB2E3BU6.js → executions-WBTIT2RU.js} +6 -6
- package/dist/cli/{executions-UK6LA2O5.mjs → executions-ZAV7YCQC.mjs} +4 -4
- package/dist/cli/{feedback-N2KAFS3R.mjs → feedback-NOYG63QE.mjs} +3 -3
- package/dist/cli/{feedback-MJE3A5ON.js → feedback-PRVJ26X7.js} +7 -7
- package/dist/cli/{git-NWRJFNII.mjs → git-AOSMM4US.mjs} +4 -4
- package/dist/cli/git-ZI4H72YR.js +23 -0
- package/dist/cli/index.js +79 -79
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-EIO65N6W.js → legacy-noops-RTNAEYVF.js} +7 -7
- package/dist/cli/{legacy-noops-RR4W2TTE.mjs → legacy-noops-T6DKTGZY.mjs} +4 -4
- package/dist/cli/{monitors-U7NVJDQL.js → monitors-7ERJ4277.js} +85 -85
- package/dist/cli/{monitors-HNUCJYET.mjs → monitors-QIR3T2QR.mjs} +4 -4
- package/dist/cli/{org-UBHNTBSB.js → org-7P46IVVU.js} +60 -60
- package/dist/cli/{org-O7MFRQNG.mjs → org-WNRQQZNP.mjs} +4 -4
- package/dist/cli/{play-4EIIEFQK.mjs → play-57XTHKER.mjs} +7 -7
- package/dist/cli/play-QIX7RZ74.js +153 -0
- package/dist/cli/{providers-REJIT7CX.mjs → providers-ET6UBGWJ.mjs} +4 -4
- package/dist/cli/{providers-CJ56HZIT.js → providers-USRX4UVZ.js} +7 -7
- package/dist/cli/{quickstart-BZUQWQK5.js → quickstart-BPPQFMWI.js} +5 -5
- package/dist/cli/{quickstart-DQN2LYBC.mjs → quickstart-OGZ7BZKS.mjs} +3 -3
- package/dist/cli/{search-35UOMFL2.mjs → search-MZARI5XA.mjs} +5 -5
- package/dist/cli/search-P447HWLU.js +26 -0
- package/dist/cli/{secrets-G4RYNUUD.js → secrets-O6XG35SA.js} +13 -13
- package/dist/cli/{secrets-YJB66UXU.mjs → secrets-WMUJ6PB4.mjs} +4 -4
- package/dist/cli/{sessions-BUWSRUSJ.mjs → sessions-EYALESPC.mjs} +4 -4
- package/dist/cli/{sessions-DGS7S6XX.js → sessions-LCHVGXMV.js} +5 -5
- package/dist/cli/{settings-OTWDMCM5.js → settings-25YT2IQK.js} +74 -74
- package/dist/cli/{settings-OCMJXIFD.mjs → settings-LUGKMDDX.mjs} +7 -7
- package/dist/cli/{setup-MYD34DUG.js → setup-AKZWHNKU.js} +41 -41
- package/dist/cli/{setup-UXYFRGIX.mjs → setup-KSRA3V42.mjs} +6 -6
- package/dist/cli/skills-GYWMMOFQ.js +28 -0
- package/dist/cli/{skills-LOWITZWQ.mjs → skills-VJJIB4F5.mjs} +4 -4
- package/dist/cli/tools-HN6E2AH6.js +40 -0
- package/dist/cli/{tools-YJHZJLES.mjs → tools-NYQD3VSU.mjs} +6 -6
- package/dist/cli/{update-PB5UCW4I.mjs → update-GU4TALAI.mjs} +6 -6
- package/dist/cli/update-IIEKVC75.js +28 -0
- package/dist/cli/{workflow-IH2FQSYZ.mjs → workflow-T4VNPJA4.mjs} +5 -5
- package/dist/cli/{workflow-DJYTA2YM.js → workflow-TFOUWNEJ.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/package.json +1 -1
- package/dist/cli/auth-KGXZELZ3.js +0 -31
- package/dist/cli/client-O4DPNWVJ.js +0 -20
- package/dist/cli/git-A7J4SSRV.js +0 -23
- package/dist/cli/play-IHLNNVPR.js +0 -153
- package/dist/cli/search-4EPCIU2T.js +0 -26
- package/dist/cli/skills-7UHWU7XL.js +0 -28
- package/dist/cli/tools-CBYKQ7IY.js +0 -40
- package/dist/cli/update-5M3OKPEU.js +0 -28
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk7ZAG2XG5js = require('./chunk-7ZAG2XG5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNUD2WO3Ejs = require('./chunk-NUD2WO3E.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunk7ZAG2XG5js.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 = _chunkNUD2WO3Ejs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunk7ZAG2XG5js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.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
|
+
_chunk7ZAG2XG5js.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 } = _chunk7ZAG2XG5js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunk7ZAG2XG5js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|