acbridge 1.1.3 → 1.4.0

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
@@ -98,18 +98,20 @@ Link an ecosystem account, or connect open-protocol devices directly from a LAN
98
98
  |---|---|
99
99
  | **Home Assistant** | `acbridge link home-assistant --url http://homeassistant.local:8123 --token <token>` |
100
100
  | **Philips Hue** | `acbridge link hue --host <bridge-ip>` — then press the bridge's link button |
101
- | **MQTT** (Zigbee2MQTT, Tasmota, ESPresense…) | `acbridge link mqtt --host <broker[:port]>` — every Home Assistant Discovery device appears; no vendor account needed |
101
+ | **MQTT** (Zigbee2MQTT, ESPresense, OpenMQTTGateway) | `acbridge link mqtt --host <broker[:port]>` — every Home Assistant Discovery device appears; no vendor account needed |
102
102
  | **SmartThings** | `acbridge link smartthings` — browser sign-in |
103
- | **Tuya / Smart Life** | `acbridge link tuya` — terminal wizard |
103
+ | **Tuya / Smart Life** | `acbridge link tuya` — terminal wizard; add `--user-code` to sign in with just the Smart Life app's User Code, no developer account |
104
104
  | **Meross** | `acbridge link meross` — terminal wizard |
105
105
  | **eWeLink (Sonoff)** | `acbridge link ewelink` — terminal wizard |
106
106
  | **Govee** | `acbridge link govee` — API key |
107
107
  | **Nanoleaf** | `acbridge scan` → `acbridge connect <device>` while holding the panel's power button |
108
108
  | **TP-Link Kasa, WiZ, Yeelight, LIFX, Shelly, ESPHome…** | `acbridge scan` → `acbridge connect <device>` |
109
109
 
110
- Wizard secrets prompt with muted echo and are stored **only on this machine** — in your OS
111
- keychain where one is available, `0600` files otherwise. Every secret flag has a `--token-file` /
110
+ Wizard secrets prompt with muted echo and are stored **only on this machine** — in `0600` files,
111
+ mirrored into your OS keychain where one is available. Every secret flag has a `--token-file` /
112
112
  `--key-file` / `--password-file` twin for CI, which touches neither argv nor the environment.
113
+ Moving machines? `acbridge backup export` writes a passphrase-encrypted bundle of your device
114
+ credentials, and `acbridge backup import` merges it safely on the new box.
113
115
 
114
116
  ## Command reference
115
117
 
@@ -180,7 +182,7 @@ acbridge devices set heater thermostat.setSetpoint --param celsius=21
180
182
  |---|---|
181
183
  | `acbridge setup` | Once per machine: installs the Claude Code plugin and managed settings (merged, never overwritten), and — if Codex is installed — merges AC Bridge's session-state hooks into `~/.codex/hooks.json` (every foreign hook preserved). |
182
184
  | `acbridge doctor` | Diagnoses everything — agent installs, plugin, sign-in, account, LAN-scan capability, bridge reachability — and **each line prints its own fix**. |
183
- | `acbridge capture on/off/status` | The per-machine session-transcript capture switch. |
185
+ | `acbridge backup export` / `import` | A passphrase-encrypted bundle of this machine's device credentials. Export is non-destructive and verified; import merges (never clobbers) and snapshots what it replaces. |
184
186
  | `acbridge uninstall` | The clean exit: unwires everything `setup` wired, asks about your account data (default: keep), then hands off to `npm uninstall -g acbridge`. `--purge` deletes everything AC Bridge stored so a future install starts fresh. |
185
187
 
186
188
  ### Voice (preview)
@@ -224,9 +226,9 @@ Settings resolve **environment variable → `~/.claude-bridge/config.json` → d
224
226
 
225
227
  ## Good to know
226
228
 
227
- - **Your credentials stay on your machine.** Device and provider secrets are written to your OS
228
- keychain where one is available, and to `0600` files otherwise — they never leave the machine.
229
- `acbridge logout` removes them.
229
+ - **Your credentials stay on your machine.** Device and provider secrets are written to `0600`
230
+ files, mirrored into your OS keychain where one is available — they never leave the machine.
231
+ `acbridge logout` removes them; `acbridge backup export` is how they move with you.
230
232
  - **Your agent's tool policy is untouched.** AC Bridge installs no permission rules and never
231
233
  changes what your agents are allowed to do — it only listens to their state.
232
234
  - **Nothing lingers.** The bridge runs only while something is holding it — the app, a daemon, a