deepline 0.3.315 → 0.3.316
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/sdk/src/runs/overview.ts +17 -10
- package/dist/bundling-sources/sdk/src/types.ts +6 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +217 -488
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +13 -4
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/live-events.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +444 -51
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +22 -43
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +4 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +136 -87
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +24 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +56 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-errors.ts +94 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +20 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -12
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +112 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +3 -2
- package/dist/cli/{auth-OVWOO5NP.mjs → auth-JP7ZJ4OI.mjs} +4 -4
- package/dist/cli/auth-SPUJ4EXC.js +31 -0
- package/dist/cli/{billing-W3OXKWNE.mjs → billing-KG6MC2BC.mjs} +4 -4
- package/dist/cli/{billing-SRZL7UOH.js → billing-WZGS32ME.js} +70 -70
- package/dist/cli/{chunk-OJ243ZA5.js → chunk-2HKPAZVJ.js} +1 -1
- package/dist/cli/{chunk-FGAK6FET.js → chunk-35YXDTOB.js} +26 -26
- package/dist/cli/{chunk-HNKHMHJ7.mjs → chunk-46ZOD4PQ.mjs} +1 -1
- package/dist/cli/{chunk-AO4IWPP7.mjs → chunk-6R5ACEWN.mjs} +17 -15
- package/dist/cli/{chunk-US4S3E4Y.mjs → chunk-7PZFGB7L.mjs} +1 -1
- package/dist/cli/{chunk-B473QUQU.mjs → chunk-AXAPMVUC.mjs} +4 -4
- package/dist/cli/{chunk-C5WSTXUB.js → chunk-B6OOVO3A.js} +537 -535
- package/dist/cli/{chunk-OJP4FCCX.js → chunk-BOKHMPCZ.js} +48 -48
- package/dist/cli/{chunk-6BJACIVK.js → chunk-C6QGM72M.js} +1 -1
- package/dist/cli/{chunk-IGE7EJJY.mjs → chunk-D3NMIACS.mjs} +19 -15
- package/dist/cli/{chunk-FTJQO757.mjs → chunk-DAFGPNVW.mjs} +1 -1
- package/dist/cli/{chunk-JF4O5OMH.mjs → chunk-F2T5UENG.mjs} +1 -1
- package/dist/cli/{chunk-TQK662WG.js → chunk-G2G67D3L.js} +60 -60
- package/dist/cli/{chunk-Y42UERUY.js → chunk-GHLWDXUB.js} +6 -6
- package/dist/cli/{chunk-AZWQJAQF.mjs → chunk-IDSDRGKF.mjs} +1 -1
- package/dist/cli/{chunk-TZ5KUDPP.mjs → chunk-J3ZPMADG.mjs} +1 -1
- package/dist/cli/{chunk-VYK23G2C.js → chunk-K3BIRBT3.js} +239 -235
- package/dist/cli/{chunk-N5V2SBB2.mjs → chunk-KP7W5NO6.mjs} +1 -1
- package/dist/cli/{chunk-URVZGYGG.js → chunk-MCPHK7AF.js} +4 -4
- package/dist/cli/{chunk-TQ3F77AC.mjs → chunk-OB3SYJGU.mjs} +3 -3
- package/dist/cli/{chunk-YL42TF53.js → chunk-PJERS5VW.js} +6 -6
- package/dist/cli/{chunk-PPONZ6IE.js → chunk-RBBSRB56.js} +15 -15
- package/dist/cli/{chunk-SNFSO2AN.js → chunk-SRUWVQ66.js} +6 -6
- package/dist/cli/{chunk-L5TSFCJ6.mjs → chunk-TYSAKSX7.mjs} +2 -2
- package/dist/cli/{chunk-OUIIYFG3.mjs → chunk-VC25WFXV.mjs} +2 -2
- package/dist/cli/{chunk-R3IFZDJL.mjs → chunk-VDPBQCRQ.mjs} +2 -2
- package/dist/cli/{chunk-IALPYID6.js → chunk-XSEMQ4II.js} +3 -3
- package/dist/cli/{chunk-LOWURQMF.js → chunk-YEMOOWZI.js} +50 -50
- package/dist/cli/{chunk-GK67FYMS.mjs → chunk-YNSAVFWL.mjs} +5 -5
- package/dist/cli/{chunk-OYJCNCUW.js → chunk-ZNHGAWYI.js} +2 -2
- package/dist/cli/client-GMMPQT7B.js +20 -0
- package/dist/cli/{client-WQ3J5BSH.mjs → client-MNPM4ME3.mjs} +3 -3
- package/dist/cli/{csv-CENMEWDH.js → csv-G72FIQWI.js} +12 -12
- package/dist/cli/{csv-36ARCBNQ.mjs → csv-ZME7HAPR.mjs} +3 -3
- package/dist/cli/{db-JU7XLKQM.mjs → db-K2DS4PEY.mjs} +4 -4
- package/dist/cli/{db-6DQZG6NB.js → db-KRBWHSMA.js} +20 -20
- package/dist/cli/{describe-34ALEEFO.mjs → describe-LXBJP6OP.mjs} +10 -10
- package/dist/cli/{describe-VUD4AFBY.js → describe-UKFV376D.js} +17 -17
- package/dist/cli/{executions-H66BMN6N.mjs → executions-2V3AROY6.mjs} +4 -4
- package/dist/cli/{executions-H2UXS6FP.js → executions-E66AM4JU.js} +6 -6
- package/dist/cli/{feedback-YSYFQSAB.js → feedback-7C2N7M37.js} +6 -6
- package/dist/cli/{feedback-Q7LXXLSH.mjs → feedback-IEPZ2XKZ.mjs} +3 -3
- package/dist/cli/{git-XV43NSWN.mjs → git-AR5KGN4O.mjs} +4 -4
- package/dist/cli/git-EXYB66IH.js +23 -0
- package/dist/cli/index.js +171 -98
- package/dist/cli/index.mjs +114 -41
- package/dist/cli/{legacy-noops-RGDW6SCA.js → legacy-noops-A2SH45P4.js} +7 -7
- package/dist/cli/{legacy-noops-Z2DTZQN3.mjs → legacy-noops-LC2EGAZU.mjs} +4 -4
- package/dist/cli/{monitors-OFQ56O4S.mjs → monitors-5YPW3IZQ.mjs} +4 -4
- package/dist/cli/{monitors-I75KZ2BP.js → monitors-IZBUPKPW.js} +85 -85
- package/dist/cli/{org-ZYMCU6XO.mjs → org-2OMYI5KJ.mjs} +4 -4
- package/dist/cli/{org-75AH6RIB.js → org-L42SQ65U.js} +60 -60
- package/dist/cli/play-CQI3IDDN.js +152 -0
- package/dist/cli/{play-BKXM76DV.mjs → play-UPCBLAOH.mjs} +9 -9
- package/dist/cli/{providers-Z77MM7ID.js → providers-GGNDWUKB.js} +7 -7
- package/dist/cli/{providers-GWG2WFIY.mjs → providers-VE2RM56M.mjs} +4 -4
- package/dist/cli/{quickstart-I4RECIQC.js → quickstart-4CZHURUX.js} +5 -5
- package/dist/cli/{quickstart-BGVIV374.mjs → quickstart-HSJ7FU7Z.mjs} +3 -3
- package/dist/cli/{search-TIKBP3RE.mjs → search-MWBM3I2L.mjs} +5 -5
- package/dist/cli/search-PD5FBCUN.js +26 -0
- package/dist/cli/{secrets-SNGRI4KS.js → secrets-CWBPGDZV.js} +13 -13
- package/dist/cli/{secrets-YCHKLWKC.mjs → secrets-W5DQYKGU.mjs} +4 -4
- package/dist/cli/{sessions-WXLADGDX.js → sessions-EDCFU6P2.js} +5 -5
- package/dist/cli/{sessions-IRDG6ZRX.mjs → sessions-Q42GUYTF.mjs} +4 -4
- package/dist/cli/{settings-72J4BVF6.js → settings-OKRENZGX.js} +74 -74
- package/dist/cli/{settings-KZALJDXW.mjs → settings-SO56AJPQ.mjs} +7 -7
- package/dist/cli/{setup-FFB3KLFD.js → setup-7PLHLNLS.js} +41 -41
- package/dist/cli/{setup-4KCA7ESV.mjs → setup-OTYMF5CZ.mjs} +6 -6
- package/dist/cli/{skills-MQZPYUQ3.mjs → skills-4UFS4FXP.mjs} +4 -4
- package/dist/cli/skills-IP7IW7EQ.js +28 -0
- package/dist/cli/{tools-M3WKRZ5T.mjs → tools-6FV543YV.mjs} +6 -6
- package/dist/cli/tools-A2YNR6PI.js +38 -0
- package/dist/cli/{update-QJMNYGNF.mjs → update-6POGDXYW.mjs} +6 -6
- package/dist/cli/update-QXSGKLJG.js +28 -0
- package/dist/cli/{workflow-6T2EUFCN.mjs → workflow-HVZSFWYR.mjs} +5 -5
- package/dist/cli/{workflow-35UUOZ5E.js → workflow-RB4POZP5.js} +15 -15
- package/dist/{client-Dh_4Ph1R.d.ts → client-BV68GMPo.d.ts} +7 -6
- package/dist/{client-CvpZsBqt.d.mts → client-D9ACjiRC.d.mts} +7 -6
- package/dist/{compiler-manifest-wOKNiXpa.d.mts → compiler-manifest-BXcZ4P4W.d.mts} +2 -2
- package/dist/{compiler-manifest-wOKNiXpa.d.ts → compiler-manifest-BXcZ4P4W.d.ts} +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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-P2TTZU36.js +0 -31
- package/dist/cli/client-CXFPFCIG.js +0 -20
- package/dist/cli/git-SYFCYIFP.js +0 -23
- package/dist/cli/play-OKXUWPMO.js +0 -152
- package/dist/cli/search-3KISUDDT.js +0 -26
- package/dist/cli/skills-XGOK4GRW.js +0 -28
- package/dist/cli/tools-LEAJ7EPW.js +0 -38
- package/dist/cli/update-ZN6LDUHS.js +0 -28
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMCPHK7AFjs = require('./chunk-MCPHK7AF.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkGHLWDXUBjs.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 = _chunkMCPHK7AFjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkGHLWDXUBjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.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
|
+
_chunkGHLWDXUBjs.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 } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-EDWJY6T4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
registerDeprecatedSearchCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OB3SYJGU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
handleDeploymentGet,
|
|
13
13
|
handleDeploymentsList
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VDPBQCRQ.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-D3NMIACS.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-46ZOD4PQ.mjs";
|
|
70
70
|
import {
|
|
71
71
|
fetchWithDeploymentProtection
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-IDSDRGKF.mjs";
|
|
73
73
|
import {
|
|
74
74
|
PLAY_DEFAULT_EXPORT,
|
|
75
75
|
extractDefinedPlayName,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
listPlayFileExports,
|
|
78
78
|
parsePlaySourceForAnalysis,
|
|
79
79
|
resolveEnabledExecutionProfile
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-7PZFGB7L.mjs";
|
|
81
81
|
import {
|
|
82
82
|
DeeplineError
|
|
83
83
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -3634,14 +3634,16 @@ function stepExecution(step, runStatus) {
|
|
|
3634
3634
|
});
|
|
3635
3635
|
}
|
|
3636
3636
|
function buildRunOverview(status, fullStatus) {
|
|
3637
|
-
const
|
|
3637
|
+
const inspectedStatus = fullStatus?.package ? fullStatus : status;
|
|
3638
|
+
const pkg = inspectedStatus.package;
|
|
3638
3639
|
if (!pkg) {
|
|
3639
3640
|
throw new Error(
|
|
3640
3641
|
"This server did not return a run package; use runs get --full --json."
|
|
3641
3642
|
);
|
|
3642
3643
|
}
|
|
3643
3644
|
const outputs = Object.entries(pkg.outputs);
|
|
3644
|
-
const resultPackage = fullStatus?.package?.resultState ? fullStatus.package : pkg;
|
|
3645
|
+
const resultPackage = fullStatus?.package?.resultState ? fullStatus.package : status.package ?? pkg;
|
|
3646
|
+
const failedLogs = inspectedStatus.failedLogs ?? status.failedLogs;
|
|
3645
3647
|
const warnings = [...pkg.warnings ?? []];
|
|
3646
3648
|
const { outcome: _outcome, ...run } = pkg.run;
|
|
3647
3649
|
const steps = pkg.steps.map((step) => {
|
|
@@ -3735,10 +3737,10 @@ function buildRunOverview(status, fullStatus) {
|
|
|
3735
3737
|
return {
|
|
3736
3738
|
schemaVersion: pkg.schemaVersion,
|
|
3737
3739
|
kind: "run_overview",
|
|
3738
|
-
...
|
|
3740
|
+
...inspectedStatus.runStatus ?? pkg.runStatus ? { runStatus: inspectedStatus.runStatus ?? pkg.runStatus } : {},
|
|
3739
3741
|
run: {
|
|
3740
3742
|
...run,
|
|
3741
|
-
...
|
|
3743
|
+
...inspectedStatus.revisionId && !run.revisionId ? { revisionId: inspectedStatus.revisionId } : {}
|
|
3742
3744
|
},
|
|
3743
3745
|
steps,
|
|
3744
3746
|
failures: {
|
|
@@ -3758,19 +3760,19 @@ function buildRunOverview(status, fullStatus) {
|
|
|
3758
3760
|
},
|
|
3759
3761
|
errorDetails: {
|
|
3760
3762
|
coverage: "unknown",
|
|
3761
|
-
reported: record(pkg)?.errors ?? record(
|
|
3763
|
+
reported: record(pkg)?.errors ?? record(inspectedStatus)?.errors ?? [],
|
|
3762
3764
|
...pkg.run.error ? { run: pkg.run.error } : {},
|
|
3763
3765
|
steps: steps.filter((step) => step.error).map((step) => ({ stepId: step.id, message: step.error })),
|
|
3764
3766
|
...pkg.next?.logs ? { getMore: "actions.getLogsCmd" } : {}
|
|
3765
3767
|
},
|
|
3766
|
-
rowOutcomes:
|
|
3768
|
+
rowOutcomes: inspectedStatus.rowOutcomes ?? pkg.rowOutcomes,
|
|
3767
3769
|
warnings,
|
|
3768
|
-
...
|
|
3770
|
+
...failedLogs ? { failedLogs } : {},
|
|
3769
3771
|
datasets,
|
|
3770
3772
|
...Object.hasOwn(resultPackage, "result") ? { result: resultPackage.result } : {},
|
|
3771
3773
|
resultState: resultPackage.resultState ?? "unavailable",
|
|
3772
3774
|
actions: {
|
|
3773
|
-
...lifecycleActions(
|
|
3775
|
+
...lifecycleActions(inspectedStatus, pkg.run.id, pkg.run.status),
|
|
3774
3776
|
...actions(pkg.next, {
|
|
3775
3777
|
inspect: "getRunCmd",
|
|
3776
3778
|
full: "getFullRunCmd",
|
|
@@ -17946,7 +17948,7 @@ Examples:
|
|
|
17946
17948
|
process.exitCode = await ownView();
|
|
17947
17949
|
return;
|
|
17948
17950
|
}
|
|
17949
|
-
const { describeAnything } = await import("./describe-
|
|
17951
|
+
const { describeAnything } = await import("./describe-LXBJP6OP.mjs");
|
|
17950
17952
|
process.exitCode = await describeAnything(
|
|
17951
17953
|
name,
|
|
17952
17954
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J3ZPMADG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TYSAKSX7.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-46ZOD4PQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IDSDRGKF.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|