oomi-ai 0.2.7 → 0.2.12

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/README.md CHANGED
@@ -59,6 +59,26 @@ If you need a fresh auth link later (without re-pairing), run:
59
59
  oomi openclaw invite --app-url https://your-oomi-app.vercel.app
60
60
  ```
61
61
 
62
+ Bridge lifecycle handler (singleton, one bridge per host/device):
63
+ ```
64
+ oomi openclaw bridge ensure --detach # start if needed; no-op if already running
65
+ oomi openclaw bridge ps # list bridge pids
66
+ oomi openclaw bridge stop # stop all bridge workers
67
+ oomi openclaw bridge restart --detach # clean restart as background worker
68
+ tail -f ~/.openclaw/logs/oomi-bridge-live.log # detached bridge logs
69
+ ```
70
+ `oomi openclaw bridge --detach` is equivalent to `oomi openclaw bridge start --detach`.
71
+
72
+ macOS launchd supervision (recommended for durability):
73
+ ```
74
+ oomi openclaw bridge service install # install + start service
75
+ oomi openclaw bridge service status
76
+ oomi openclaw bridge service restart
77
+ oomi openclaw bridge service stop
78
+ oomi openclaw bridge service uninstall
79
+ ```
80
+ Optional: `oomi openclaw bridge service install --no-start` to install without starting.
81
+
62
82
  Agent-intent mapping (recommended):
63
83
  - If user says `Connect yourself to Oomi. Use app URL https://www.oomi.ai.`
64
84
  - Run:
@@ -112,6 +132,12 @@ Restart OpenClaw after running `oomi init` or `oomi openclaw install`.
112
132
  - `OOMI_UPDATE_CHECK_TIMEOUT_MS=<ms>` changes network timeout
113
133
  - `OOMI_BRIDGE_GATEWAY_CONNECT_TIMEOUT_MS=<ms>` changes local gateway socket connect timeout
114
134
  - `OOMI_BRIDGE_CONNECT_CHALLENGE_TIMEOUT_MS=<ms>` changes wait timeout for gateway `connect.challenge` nonce
135
+ - `OOMI_BRIDGE_GATEWAY_REQUEST_TIMEOUT_MS=<ms>` changes timeout for forwarded gateway `connect`/`chat.send` request responses
136
+
137
+ Bridge alert helper (reads `~/.openclaw/oomi-bridge-status.json` counters):
138
+ ```
139
+ node <repo-root>/scripts/openclaw/bridge-alert-check.mjs
140
+ ```
115
141
 
116
142
  ## Package Audit + Publish (pnpm)
117
143
  ```
@@ -26,10 +26,14 @@ If the user asks to connect OpenClaw to Oomi voice/web:
26
26
  5. Configure channel account (`channels.oomi.accounts.default`) from:
27
27
  - `oomi openclaw plugin --show-secrets --backend-url https://api.oomi.ai`
28
28
  6. Restart OpenClaw.
29
- 7. If user provides an app URL (for example "Connect yourself to Oomi. Use app URL <URL>."):
29
+ 7. Ensure exactly one bridge worker is running (singleton handler):
30
+ - `oomi openclaw bridge ensure --detach`
31
+ - If stale/disconnected: `oomi openclaw bridge restart --detach`
32
+ - On macOS, prefer supervised mode: `oomi openclaw bridge service install`
33
+ 8. If user provides an app URL (for example "Connect yourself to Oomi. Use app URL <URL>."):
30
34
  - Use that URL directly in the pair command.
31
35
  - Example: `oomi openclaw pair --app-url <URL> --no-start`
32
- 8. Return this exact result format to the user:
36
+ 9. Return this exact result format to the user:
33
37
  - `Oomi Connect Ready`
34
38
  - `Auth Link: ...`
35
39
  - No extra narrative text before or after those lines.