@ouro.bot/cli 0.1.0-alpha.1657 → 0.1.0-alpha.1659

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,18 @@
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.1659",
6
+ "changes": [
7
+ "No change for people using Ouroboros. A new test lists every import that core harness files make of Butler code, and fails when one is added. Today there are 53, in 24 files. The list may only shrink: when an import goes, its line must go too. This is how the harness's Butler imports reach zero."
8
+ ]
9
+ },
10
+ {
11
+ "version": "0.1.0-alpha.1658",
12
+ "changes": [
13
+ "The Butler keeps its A2A port, 18940, when it runs as `butler`. The default port was worked out from the agent's name, so the image that runs as `butler` served A2A on 18972, and peers that had saved its agent card at 18940 could not reach it. The rollback rehearsal of the rename caught this: the replay gate could not reach the Butler's card. Every other agent's port is unchanged."
14
+ ]
15
+ },
4
16
  {
5
17
  "version": "0.1.0-alpha.1657",
6
18
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1657",
2
+ "runtimeVersion": "0.1.0-alpha.1659",
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.1657</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1659</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -6,11 +6,15 @@ exports.normalizeA2APath = normalizeA2APath;
6
6
  exports.a2aEndpointFromBaseUrl = a2aEndpointFromBaseUrl;
7
7
  const node_crypto_1 = require("node:crypto");
8
8
  const runtime_1 = require("../nerves/runtime");
9
+ const butler_agent_1 = require("../heart/butler-agent");
9
10
  exports.A2A_DEFAULT_PROTOCOL_VERSION = "1.0";
10
11
  exports.A2A_DEFAULT_HOST = "127.0.0.1";
11
12
  exports.A2A_DEFAULT_PATH = "/a2a";
12
13
  function defaultA2APort(agentName) {
13
- const digest = (0, node_crypto_1.createHash)("sha256").update(agentName).digest();
14
+ // The Butler keeps one port under either name: peers saved its agent card at the port `sanctuary` gives (18940), so the
15
+ // rename must not move it.
16
+ const portKey = (0, butler_agent_1.isButlerAgent)(agentName) ? "sanctuary" : agentName;
17
+ const digest = (0, node_crypto_1.createHash)("sha256").update(portKey).digest();
14
18
  const port = 18920 + (digest[0] % 60);
15
19
  (0, runtime_1.emitNervesEvent)({
16
20
  component: "channels",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1657",
3
+ "version": "0.1.0-alpha.1659",
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.1657",
9
+ "version": "0.1.0-alpha.1659",
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.1657",
3
+ "version": "0.1.0-alpha.1659",
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": {