@ouro.bot/cli 0.1.0-alpha.901 → 0.1.0-alpha.903

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,12 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.903",
6
+ "changes": [
7
+ "Shepherd on Herdr now watches a pane opened after it started. Herdr sends a new pane's `pane_created` event with the pane under `data.pane` and no top-level `pane_id`, so the Herdr host ignored it and never subscribed to the new pane's agent status; it now resubscribes on every `pane_created`, and the test fake sends that event in Herdr's real shape. The Unraid template points at the 0.1.0-alpha.903 Butler image."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.901",
6
12
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.901",
2
+ "runtimeVersion": "0.1.0-alpha.903",
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.901</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.903</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -218,17 +218,21 @@ function createHerdrHost(connection, options = {}) {
218
218
  stream?.close();
219
219
  return;
220
220
  }
221
+ // Agent-status subscriptions name each pane, so a new or closed pane needs a new subscription. Herdr sends a new
222
+ // pane as `data.pane` with no top-level `pane_id`; the fresh pane list after resubscribing picks it up.
223
+ if (name === "pane_created") {
224
+ refresh = true;
225
+ stream?.close();
226
+ return;
227
+ }
221
228
  const paneId = str(data.pane_id);
222
229
  if (!paneId)
223
230
  return;
224
231
  if (name === "pane_focused")
225
232
  return handlers.focused(paneId);
226
- if (name === "pane_created" || name === "pane_closed") {
227
- if (name === "pane_closed") {
228
- cancelPending(paneId);
229
- status.delete(paneId);
230
- }
231
- // Agent-status subscriptions name each pane, so a new or closed pane needs a new subscription.
233
+ if (name === "pane_closed") {
234
+ cancelPending(paneId);
235
+ status.delete(paneId);
232
236
  refresh = true;
233
237
  stream?.close();
234
238
  return;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.901",
3
+ "version": "0.1.0-alpha.903",
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.901",
9
+ "version": "0.1.0-alpha.903",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.78.0",
12
12
  "@azure/identity": "^4.13.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.901",
3
+ "version": "0.1.0-alpha.903",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },