eve-hub 0.6.6 → 0.6.7

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.7
4
+
5
+ ### Patch Changes
6
+
7
+ - The hub's "updated" record carries the commit it pushed (`HostedUpdate.commit`).
8
+
3
9
  ## 0.6.6
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.6",
3
+ "version": "0.6.7",
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
@@ -26796,6 +26796,8 @@ var HostedUpdate = object2({
26796
26796
  state: string5(),
26797
26797
  to: string5(),
26798
26798
  at: maybe(string5()),
26799
+ /** `updated`: the commit the hub pushed (or redeployed) to move the bots; absent for an upload or a move the hub did not make. */
26800
+ commit: maybe(string5()),
26799
26801
  /** `kind`: sign-in (the owner signs in again) | build (`url` is the failed build) | other. */
26800
26802
  error: maybe(object2({ kind: string5(), message: string5(), url: maybe(string5()) }))
26801
26803
  }).meta({ id: "HostedUpdate" });
@@ -26966,7 +26968,7 @@ var StoredHosted = HostedWorkspace.omit({ eveHub: true, commits: true, update: t
26966
26968
  workspace: DeployedWorkspace.nullable().default(null),
26967
26969
  attempt: Attempt.nullable().default(null),
26968
26970
  upgrade: Upgrade.nullable().default(null),
26969
- updated: external_exports.object({ to: external_exports.string(), at: external_exports.string() }).nullable().default(null)
26971
+ updated: external_exports.object({ to: external_exports.string(), at: external_exports.string(), commit: external_exports.string().nullable().default(null) }).nullable().default(null)
26970
26972
  });
26971
26973
  var REPO_READ = s("SELECT metadata FROM workspace_repo WHERE id = 1");
26972
26974