eve-hub 0.6.20 → 0.6.21

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # eve-hub
2
2
 
3
+ ## 0.6.21
4
+
5
+ ### Patch Changes
6
+
7
+ - A failed bot update build carries the step that failed, the commit it built and the last lines of its build log.
8
+
3
9
  ## 0.6.20
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve-hub",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Bot-side code shared by every hub agent: registry tools, the roster hook, the eve channel, the host sandbox and browser, and model helpers.",
6
6
  "type": "module",
package/world.mjs CHANGED
@@ -26785,8 +26785,18 @@ var HostedUpdate = object2({
26785
26785
  commit: maybe(string5()),
26786
26786
  /** `updated`: the Vercel page of the deployment that made the move; absent for a move recorded before it was kept. */
26787
26787
  deployment: maybe(string5()),
26788
- /** `kind`: sign-in (the owner signs in again) | build (`url` is the failed build) | other. */
26789
- error: maybe(object2({ kind: string5(), message: string5(), url: maybe(string5()) }))
26788
+ /**
26789
+ * `kind`: sign-in (the owner signs in again) | build (`url` is the failed build) | other. A failed build also carries
26790
+ * what Vercel says of it once the hub has read it: the `step` that failed, the `sha` it built, and the `log`'s last lines.
26791
+ */
26792
+ error: maybe(object2({
26793
+ kind: string5(),
26794
+ message: string5(),
26795
+ url: maybe(string5()),
26796
+ step: maybe(string5()),
26797
+ sha: maybe(string5()),
26798
+ log: maybe(array2(string5()))
26799
+ }))
26790
26800
  }).meta({ id: "HostedUpdate" });
26791
26801
  var HostedWorkspace = object2({
26792
26802
  project: object2({ name: string5(), url: string5() }),
@@ -26927,7 +26937,8 @@ var Upgrade = external_exports.object({
26927
26937
  at: external_exports.string(),
26928
26938
  error: external_exports.object({ kind: external_exports.enum(["sign-in", "other"]), message: external_exports.string() }).nullable().default(null)
26929
26939
  });
26930
- var Attempt = external_exports.object({ id: external_exports.string().nullable(), key: external_exports.string().nullable(), state: external_exports.string(), url: external_exports.string() });
26940
+ var Failure = external_exports.object({ step: external_exports.string().nullable(), message: external_exports.string().nullable(), log: external_exports.array(external_exports.string()) });
26941
+ var Attempt = external_exports.object({ id: external_exports.string().nullable(), key: external_exports.string().nullable(), state: external_exports.string(), url: external_exports.string(), failure: Failure.nullable().default(null) });
26931
26942
  var StoredHosted = HostedWorkspace.omit({ eveHub: true, commits: true, update: true }).extend({
26932
26943
  workspaceEveHub: external_exports.string().nullable(),
26933
26944
  commit: external_exports.string().nullable().default(null),