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.
Files changed (132) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/runs/overview.ts +17 -10
  3. package/dist/bundling-sources/sdk/src/types.ts +6 -5
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +217 -488
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +15 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +4 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +13 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/live-events.ts +31 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +444 -51
  11. package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +22 -43
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +4 -3
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +136 -87
  14. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +24 -6
  15. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +56 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-errors.ts +94 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +2 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +5 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +20 -11
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -12
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +112 -9
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +2 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +13 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  25. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +3 -2
  26. package/dist/cli/{auth-OVWOO5NP.mjs → auth-JP7ZJ4OI.mjs} +4 -4
  27. package/dist/cli/auth-SPUJ4EXC.js +31 -0
  28. package/dist/cli/{billing-W3OXKWNE.mjs → billing-KG6MC2BC.mjs} +4 -4
  29. package/dist/cli/{billing-SRZL7UOH.js → billing-WZGS32ME.js} +70 -70
  30. package/dist/cli/{chunk-OJ243ZA5.js → chunk-2HKPAZVJ.js} +1 -1
  31. package/dist/cli/{chunk-FGAK6FET.js → chunk-35YXDTOB.js} +26 -26
  32. package/dist/cli/{chunk-HNKHMHJ7.mjs → chunk-46ZOD4PQ.mjs} +1 -1
  33. package/dist/cli/{chunk-AO4IWPP7.mjs → chunk-6R5ACEWN.mjs} +17 -15
  34. package/dist/cli/{chunk-US4S3E4Y.mjs → chunk-7PZFGB7L.mjs} +1 -1
  35. package/dist/cli/{chunk-B473QUQU.mjs → chunk-AXAPMVUC.mjs} +4 -4
  36. package/dist/cli/{chunk-C5WSTXUB.js → chunk-B6OOVO3A.js} +537 -535
  37. package/dist/cli/{chunk-OJP4FCCX.js → chunk-BOKHMPCZ.js} +48 -48
  38. package/dist/cli/{chunk-6BJACIVK.js → chunk-C6QGM72M.js} +1 -1
  39. package/dist/cli/{chunk-IGE7EJJY.mjs → chunk-D3NMIACS.mjs} +19 -15
  40. package/dist/cli/{chunk-FTJQO757.mjs → chunk-DAFGPNVW.mjs} +1 -1
  41. package/dist/cli/{chunk-JF4O5OMH.mjs → chunk-F2T5UENG.mjs} +1 -1
  42. package/dist/cli/{chunk-TQK662WG.js → chunk-G2G67D3L.js} +60 -60
  43. package/dist/cli/{chunk-Y42UERUY.js → chunk-GHLWDXUB.js} +6 -6
  44. package/dist/cli/{chunk-AZWQJAQF.mjs → chunk-IDSDRGKF.mjs} +1 -1
  45. package/dist/cli/{chunk-TZ5KUDPP.mjs → chunk-J3ZPMADG.mjs} +1 -1
  46. package/dist/cli/{chunk-VYK23G2C.js → chunk-K3BIRBT3.js} +239 -235
  47. package/dist/cli/{chunk-N5V2SBB2.mjs → chunk-KP7W5NO6.mjs} +1 -1
  48. package/dist/cli/{chunk-URVZGYGG.js → chunk-MCPHK7AF.js} +4 -4
  49. package/dist/cli/{chunk-TQ3F77AC.mjs → chunk-OB3SYJGU.mjs} +3 -3
  50. package/dist/cli/{chunk-YL42TF53.js → chunk-PJERS5VW.js} +6 -6
  51. package/dist/cli/{chunk-PPONZ6IE.js → chunk-RBBSRB56.js} +15 -15
  52. package/dist/cli/{chunk-SNFSO2AN.js → chunk-SRUWVQ66.js} +6 -6
  53. package/dist/cli/{chunk-L5TSFCJ6.mjs → chunk-TYSAKSX7.mjs} +2 -2
  54. package/dist/cli/{chunk-OUIIYFG3.mjs → chunk-VC25WFXV.mjs} +2 -2
  55. package/dist/cli/{chunk-R3IFZDJL.mjs → chunk-VDPBQCRQ.mjs} +2 -2
  56. package/dist/cli/{chunk-IALPYID6.js → chunk-XSEMQ4II.js} +3 -3
  57. package/dist/cli/{chunk-LOWURQMF.js → chunk-YEMOOWZI.js} +50 -50
  58. package/dist/cli/{chunk-GK67FYMS.mjs → chunk-YNSAVFWL.mjs} +5 -5
  59. package/dist/cli/{chunk-OYJCNCUW.js → chunk-ZNHGAWYI.js} +2 -2
  60. package/dist/cli/client-GMMPQT7B.js +20 -0
  61. package/dist/cli/{client-WQ3J5BSH.mjs → client-MNPM4ME3.mjs} +3 -3
  62. package/dist/cli/{csv-CENMEWDH.js → csv-G72FIQWI.js} +12 -12
  63. package/dist/cli/{csv-36ARCBNQ.mjs → csv-ZME7HAPR.mjs} +3 -3
  64. package/dist/cli/{db-JU7XLKQM.mjs → db-K2DS4PEY.mjs} +4 -4
  65. package/dist/cli/{db-6DQZG6NB.js → db-KRBWHSMA.js} +20 -20
  66. package/dist/cli/{describe-34ALEEFO.mjs → describe-LXBJP6OP.mjs} +10 -10
  67. package/dist/cli/{describe-VUD4AFBY.js → describe-UKFV376D.js} +17 -17
  68. package/dist/cli/{executions-H66BMN6N.mjs → executions-2V3AROY6.mjs} +4 -4
  69. package/dist/cli/{executions-H2UXS6FP.js → executions-E66AM4JU.js} +6 -6
  70. package/dist/cli/{feedback-YSYFQSAB.js → feedback-7C2N7M37.js} +6 -6
  71. package/dist/cli/{feedback-Q7LXXLSH.mjs → feedback-IEPZ2XKZ.mjs} +3 -3
  72. package/dist/cli/{git-XV43NSWN.mjs → git-AR5KGN4O.mjs} +4 -4
  73. package/dist/cli/git-EXYB66IH.js +23 -0
  74. package/dist/cli/index.js +171 -98
  75. package/dist/cli/index.mjs +114 -41
  76. package/dist/cli/{legacy-noops-RGDW6SCA.js → legacy-noops-A2SH45P4.js} +7 -7
  77. package/dist/cli/{legacy-noops-Z2DTZQN3.mjs → legacy-noops-LC2EGAZU.mjs} +4 -4
  78. package/dist/cli/{monitors-OFQ56O4S.mjs → monitors-5YPW3IZQ.mjs} +4 -4
  79. package/dist/cli/{monitors-I75KZ2BP.js → monitors-IZBUPKPW.js} +85 -85
  80. package/dist/cli/{org-ZYMCU6XO.mjs → org-2OMYI5KJ.mjs} +4 -4
  81. package/dist/cli/{org-75AH6RIB.js → org-L42SQ65U.js} +60 -60
  82. package/dist/cli/play-CQI3IDDN.js +152 -0
  83. package/dist/cli/{play-BKXM76DV.mjs → play-UPCBLAOH.mjs} +9 -9
  84. package/dist/cli/{providers-Z77MM7ID.js → providers-GGNDWUKB.js} +7 -7
  85. package/dist/cli/{providers-GWG2WFIY.mjs → providers-VE2RM56M.mjs} +4 -4
  86. package/dist/cli/{quickstart-I4RECIQC.js → quickstart-4CZHURUX.js} +5 -5
  87. package/dist/cli/{quickstart-BGVIV374.mjs → quickstart-HSJ7FU7Z.mjs} +3 -3
  88. package/dist/cli/{search-TIKBP3RE.mjs → search-MWBM3I2L.mjs} +5 -5
  89. package/dist/cli/search-PD5FBCUN.js +26 -0
  90. package/dist/cli/{secrets-SNGRI4KS.js → secrets-CWBPGDZV.js} +13 -13
  91. package/dist/cli/{secrets-YCHKLWKC.mjs → secrets-W5DQYKGU.mjs} +4 -4
  92. package/dist/cli/{sessions-WXLADGDX.js → sessions-EDCFU6P2.js} +5 -5
  93. package/dist/cli/{sessions-IRDG6ZRX.mjs → sessions-Q42GUYTF.mjs} +4 -4
  94. package/dist/cli/{settings-72J4BVF6.js → settings-OKRENZGX.js} +74 -74
  95. package/dist/cli/{settings-KZALJDXW.mjs → settings-SO56AJPQ.mjs} +7 -7
  96. package/dist/cli/{setup-FFB3KLFD.js → setup-7PLHLNLS.js} +41 -41
  97. package/dist/cli/{setup-4KCA7ESV.mjs → setup-OTYMF5CZ.mjs} +6 -6
  98. package/dist/cli/{skills-MQZPYUQ3.mjs → skills-4UFS4FXP.mjs} +4 -4
  99. package/dist/cli/skills-IP7IW7EQ.js +28 -0
  100. package/dist/cli/{tools-M3WKRZ5T.mjs → tools-6FV543YV.mjs} +6 -6
  101. package/dist/cli/tools-A2YNR6PI.js +38 -0
  102. package/dist/cli/{update-QJMNYGNF.mjs → update-6POGDXYW.mjs} +6 -6
  103. package/dist/cli/update-QXSGKLJG.js +28 -0
  104. package/dist/cli/{workflow-6T2EUFCN.mjs → workflow-HVZSFWYR.mjs} +5 -5
  105. package/dist/cli/{workflow-35UUOZ5E.js → workflow-RB4POZP5.js} +15 -15
  106. package/dist/{client-Dh_4Ph1R.d.ts → client-BV68GMPo.d.ts} +7 -6
  107. package/dist/{client-CvpZsBqt.d.mts → client-D9ACjiRC.d.mts} +7 -6
  108. package/dist/{compiler-manifest-wOKNiXpa.d.mts → compiler-manifest-BXcZ4P4W.d.mts} +2 -2
  109. package/dist/{compiler-manifest-wOKNiXpa.d.ts → compiler-manifest-BXcZ4P4W.d.ts} +2 -2
  110. package/dist/index.d.mts +4 -4
  111. package/dist/index.d.ts +4 -4
  112. package/dist/index.js +7 -7
  113. package/dist/index.mjs +4 -4
  114. package/dist/install-integrity.json +82 -82
  115. package/dist/plays/bundle-play-file.d.mts +2 -2
  116. package/dist/plays/bundle-play-file.d.ts +2 -2
  117. package/dist/plays/bundle-play-file.mjs +2 -2
  118. package/dist/plays/run-request.d.mts +2 -2
  119. package/dist/plays/run-request.d.ts +2 -2
  120. package/dist/release.d.mts +1 -1
  121. package/dist/release.d.ts +1 -1
  122. package/dist/release.js +2 -2
  123. package/dist/release.mjs +1 -1
  124. package/package.json +1 -1
  125. package/dist/cli/auth-P2TTZU36.js +0 -31
  126. package/dist/cli/client-CXFPFCIG.js +0 -20
  127. package/dist/cli/git-SYFCYIFP.js +0 -23
  128. package/dist/cli/play-OKXUWPMO.js +0 -152
  129. package/dist/cli/search-3KISUDDT.js +0 -26
  130. package/dist/cli/skills-XGOK4GRW.js +0 -28
  131. package/dist/cli/tools-LEAJ7EPW.js +0 -38
  132. package/dist/cli/update-ZN6LDUHS.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkY42UERUYjs = require('./chunk-Y42UERUY.js');
5
+ var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
6
6
 
7
7
 
8
- var _chunkURVZGYGGjs = require('./chunk-URVZGYGG.js');
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 = _chunkURVZGYGGjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkMCPHK7AFjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkY42UERUYjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
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
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
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 } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
392
+ _chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-AZWQJAQF.mjs";
6
+ } from "./chunk-IDSDRGKF.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -7,11 +7,11 @@ import {
7
7
  } from "./chunk-EDWJY6T4.mjs";
8
8
  import {
9
9
  registerDeprecatedSearchCommand
10
- } from "./chunk-TQ3F77AC.mjs";
10
+ } from "./chunk-OB3SYJGU.mjs";
11
11
  import {
12
12
  handleDeploymentGet,
13
13
  handleDeploymentsList
14
- } from "./chunk-R3IFZDJL.mjs";
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-IGE7EJJY.mjs";
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-HNKHMHJ7.mjs";
69
+ } from "./chunk-46ZOD4PQ.mjs";
70
70
  import {
71
71
  fetchWithDeploymentProtection
72
- } from "./chunk-AZWQJAQF.mjs";
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-US4S3E4Y.mjs";
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 pkg = status.package;
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
- ...status.runStatus ?? pkg.runStatus ? { runStatus: status.runStatus ?? pkg.runStatus } : {},
3740
+ ...inspectedStatus.runStatus ?? pkg.runStatus ? { runStatus: inspectedStatus.runStatus ?? pkg.runStatus } : {},
3739
3741
  run: {
3740
3742
  ...run,
3741
- ...status.revisionId && !run.revisionId ? { revisionId: status.revisionId } : {}
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(status)?.errors ?? [],
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: status.rowOutcomes,
3768
+ rowOutcomes: inspectedStatus.rowOutcomes ?? pkg.rowOutcomes,
3767
3769
  warnings,
3768
- ...status.failedLogs ? { failedLogs: status.failedLogs } : {},
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(status, pkg.run.id, pkg.run.status),
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-34ALEEFO.mjs");
17951
+ const { describeAnything } = await import("./describe-LXBJP6OP.mjs");
17950
17952
  process.exitCode = await describeAnything(
17951
17953
  name,
17952
17954
  {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-H7HIDGZ7.mjs";
4
4
  import {
5
5
  PLAY_AUTHORING_CONTRACT_EDITION
6
- } from "./chunk-N5V2SBB2.mjs";
6
+ } from "./chunk-KP7W5NO6.mjs";
7
7
  import {
8
8
  PLAY_ARTIFACT_KINDS,
9
9
  PLAY_RUNTIME_BACKENDS,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-TZ5KUDPP.mjs";
4
+ } from "./chunk-J3ZPMADG.mjs";
5
5
  import {
6
6
  resolveShellSpawn,
7
7
  runSkillsCommand
8
- } from "./chunk-L5TSFCJ6.mjs";
8
+ } from "./chunk-TYSAKSX7.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-HNKHMHJ7.mjs";
11
+ } from "./chunk-46ZOD4PQ.mjs";
12
12
  import {
13
13
  autoDetectBaseUrl
14
- } from "./chunk-AZWQJAQF.mjs";
14
+ } from "./chunk-IDSDRGKF.mjs";
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  import { spawn, spawnSync } from "child_process";