@ouro.bot/cli 0.1.0-alpha.1439 → 0.1.0-alpha.1441

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.json CHANGED
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "_note": "Each pull request writes its own change note under changes/; the release job on main gives each landed change its version and adds the notes here (scripts/release-version.cjs). On main this file stops at the last version set by hand; the published package has every release. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1441",
6
+ "changes": [
7
+ "A Butler upgrade or rollback no longer fails when a container on the host stops while the upgrade is checking for other programs reading the Butler's bundle. A container that has stopped can't be one of them, so it is skipped. One that is still running but can't be read still stops the upgrade.",
8
+ "`npm run butler:ship` refuses to start the gate or the upgrade while eval containers (`ouro-eval-*`) are running on the host, and says which ones. Nothing on the host has changed when it refuses."
9
+ ]
10
+ },
11
+ {
12
+ "version": "0.1.0-alpha.1440",
13
+ "changes": [
14
+ "Update the Ouro UI files to Ouro UI v1.3.472."
15
+ ]
16
+ },
4
17
  {
5
18
  "version": "0.1.0-alpha.1439",
6
19
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1439",
2
+ "runtimeVersion": "0.1.0-alpha.1441",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1439</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1441</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -1213,12 +1213,26 @@ class SanctuaryAuthorityRootLifecycle {
1213
1213
  const names = this.#docker(["ps", "-a", "--format", "{{json .}}"]).trim().split("\n").filter(Boolean).map((line) => String(JSON.parse(line).Names));
1214
1214
  return names.filter((name) => ["ouro-butler", "ouro-butler-rollback"].includes(name)).flatMap((name) => JSON.parse(this.#docker(["inspect", name])));
1215
1215
  }
1216
+ #runningNames() {
1217
+ return this.#docker(["ps", "--format", "{{json .}}"]).trim().split("\n").filter(Boolean).map((line) => String(JSON.parse(line).Names));
1218
+ }
1216
1219
  #assertNoForeignPoller() {
1217
- const names = this.#docker(["ps", "--format", "{{json .}}"]).trim().split("\n").filter(Boolean).map((line) => String(JSON.parse(line).Names));
1220
+ const names = this.#runningNames();
1218
1221
  for (const name of names) {
1219
1222
  if (["ouro-butler", "ouro-butler-rollback"].includes(name))
1220
1223
  continue;
1221
- const containers = JSON.parse(this.#docker(["inspect", name]));
1224
+ let containers;
1225
+ try {
1226
+ containers = JSON.parse(this.#docker(["inspect", name]));
1227
+ }
1228
+ catch (error) {
1229
+ // A container can stop between the listing and its inspect (eval sandboxes come and go); one no longer
1230
+ // running can't be polling, so it is skipped. One still running that can't be read still fails the step.
1231
+ if (this.#runningNames().includes(name))
1232
+ throw error;
1233
+ (0, runtime_1.emitNervesEvent)({ component: "daemon", event: "daemon.sanctuary_poller_scan_container_gone", message: "skipped a container that stopped during the direct-poller scan", meta: { name } });
1234
+ continue;
1235
+ }
1222
1236
  if (containers.some((container) => container.Mounts.some((mount) => mount.Source === BUNDLE || mount.Source === RUNTIME)))
1223
1237
  throw new Error("Sanctuary has an unowned possible direct poller");
1224
1238
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1439",
3
+ "version": "0.1.0-alpha.1441",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1439",
9
+ "version": "0.1.0-alpha.1441",
10
10
  "bundleDependencies": [
11
11
  "@ouro.bot/friends"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1439",
3
+ "version": "0.1.0-alpha.1441",
4
4
  "description": "Ouroboros, the agent harness: agents with durable memory that live where you talk (terminal, Teams, iMessage, mail, voice) and use real tools. Start with npx ouro.bot@latest.",
5
5
  "homepage": "https://ouroboros.bot/",
6
6
  "engines": {