@ouro.bot/cli 0.1.0-alpha.946 → 0.1.0-alpha.947

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.947",
6
+ "changes": [
7
+ "The daemon now starts its senses, such as Telegram, before it handles startup external events, so a slow or failing private turn at boot can no longer keep Telegram offline."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.946",
6
12
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.946",
2
+ "runtimeVersion": "0.1.0-alpha.947",
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.946</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.947</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -840,13 +840,23 @@ class OuroDaemon {
840
840
  // (daemon manages multiple agents; agent identity must be set before loading MCP config)
841
841
  await this.orphanStartupDrain(this.socketPath);
842
842
  await this.openCommandSocket();
843
- await this.reconcileExternalEvents();
843
+ this.triggerAutoStartAgents();
844
+ this.triggerAutoStartSensesWhenAgentsSettled();
845
+ // Not awaited: a startup external event can run a long private turn, and
846
+ // that turn must never hold senses such as Telegram down at boot.
847
+ void this.reconcileExternalEvents().catch((error) => {
848
+ (0, runtime_1.emitNervesEvent)({
849
+ level: "warn",
850
+ component: "daemon",
851
+ event: "daemon.external_event_startup_reconcile_error",
852
+ message: "startup external-event reconciliation failed",
853
+ meta: { error: error instanceof Error ? error.message : /* v8 ignore next -- reconciliation failures are Error objects @preserve */ String(error) },
854
+ });
855
+ });
844
856
  this.externalEventReconcileTimer = setInterval(() => {
845
857
  void this.reconcileExternalEvents();
846
858
  }, 1_000);
847
859
  this.externalEventReconcileTimer.unref?.();
848
- this.triggerAutoStartAgents();
849
- this.triggerAutoStartSensesWhenAgentsSettled();
850
860
  // Write all managed PIDs to disk so the next daemon can clean up
851
861
  /* v8 ignore start -- pidfile write: collects PIDs from process managers @preserve */
852
862
  const agentPids = this.processManager.listAgentSnapshots().map((s) => s.pid).filter((p) => p !== null);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.946",
3
+ "version": "0.1.0-alpha.947",
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.946",
9
+ "version": "0.1.0-alpha.947",
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.946",
3
+ "version": "0.1.0-alpha.947",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },