acbridge 0.0.1 → 1.0.1
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/LICENSE +40 -0
- package/README.md +79 -3
- package/dist/acbridge.mjs +321 -0
- package/hub/dist/hub.cjs +189 -0
- package/package.json +32 -4
- package/plugin/.claude-plugin/marketplace.json +17 -0
- package/plugin/README.md +223 -0
- package/plugin/plugins/alexa/.claude-plugin/plugin.json +13 -0
- package/plugin/plugins/alexa/.mcp.json +8 -0
- package/plugin/plugins/alexa/dist/channel.mjs +165 -0
- package/plugin/plugins/alexa/hooks/hooks.json +166 -0
- package/plugin/plugins/alexa/scripts/codex-signal.mjs +406 -0
- package/plugin/plugins/alexa/scripts/gate.mjs +99 -0
- package/plugin/plugins/alexa/scripts/scope.mjs +270 -0
- package/plugin/plugins/alexa/scripts/signal.mjs +503 -0
- package/plugin/plugins/alexa/scripts/statusline-guard.mjs +75 -0
- package/plugin/plugins/alexa/scripts/statusline.mjs +322 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
AC BRIDGE — END USER LICENCE
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AC BRIDGE LIMITED (registered in England and Wales,
|
|
4
|
+
company number 17356395). All rights reserved.
|
|
5
|
+
|
|
6
|
+
This software is proprietary. It is not open source, and no rights are granted
|
|
7
|
+
except those set out below and in the terms published at
|
|
8
|
+
https://ac-bridge.com/terms.
|
|
9
|
+
|
|
10
|
+
WHAT YOU MAY DO
|
|
11
|
+
|
|
12
|
+
Subject to an active AC Bridge subscription (including its free trial period),
|
|
13
|
+
you may install and use this software on machines you own or control, for your
|
|
14
|
+
own purposes, personal or commercial.
|
|
15
|
+
|
|
16
|
+
WHAT YOU MAY NOT DO
|
|
17
|
+
|
|
18
|
+
You may not redistribute, sublicense, sell, rent or host this software for
|
|
19
|
+
others; remove or alter this notice; or reverse engineer, decompile or
|
|
20
|
+
disassemble it, except to the extent that restriction is unenforceable under
|
|
21
|
+
the law that applies to you.
|
|
22
|
+
|
|
23
|
+
IF YOUR SUBSCRIPTION ENDS
|
|
24
|
+
|
|
25
|
+
Your right to use the software ends with it. Nothing here obliges you to delete
|
|
26
|
+
anything the software wrote on your own machines: your configuration, logs and
|
|
27
|
+
credentials are yours.
|
|
28
|
+
|
|
29
|
+
NO WARRANTY
|
|
30
|
+
|
|
31
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. TO THE FULLEST EXTENT
|
|
34
|
+
PERMITTED BY LAW, AC BRIDGE LIMITED SHALL NOT BE LIABLE FOR ANY CLAIM, DAMAGES
|
|
35
|
+
OR OTHER LIABILITY ARISING FROM OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
36
|
+
|
|
37
|
+
Nothing in this licence limits any rights you have as a consumer that cannot be
|
|
38
|
+
limited by agreement.
|
|
39
|
+
|
|
40
|
+
Questions: support@ac-bridge.com
|
package/README.md
CHANGED
|
@@ -1,6 +1,82 @@
|
|
|
1
1
|
# acbridge
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[ac-bridge.com](https://ac-bridge.com). The `acbridge` command line will be published here.
|
|
3
|
+
<img src="https://www.ac-bridge.com/brand/ac-bridge-mark-gradient.png" width="96" alt="AC Bridge">
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
**Quiet status lights for Claude Code and Codex.**
|
|
6
|
+
|
|
7
|
+
Control **AC Bridge** from any terminal: sign in, run the bridge, and drive your smart-home devices
|
|
8
|
+
and Profiles — the scenes that react to what your coding agent is doing.
|
|
9
|
+
|
|
10
|
+
It is the full terminal peer of the [AC Bridge](https://ac-bridge.com) desktop app. Everything below
|
|
11
|
+
runs headlessly on a box with no GUI; sign-in wants a browser once (see the SSH note below).
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm i -g acbridge
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Before you start
|
|
18
|
+
|
|
19
|
+
- **Node.js 22 or newer.**
|
|
20
|
+
- **An AC Bridge subscription** — sign up (3-day free trial) at <https://ac-bridge.com>.
|
|
21
|
+
- **[Claude Code](https://claude.com/claude-code) or the OpenAI Codex CLI**, if you want Profiles to
|
|
22
|
+
react to your sessions. Device control works without either.
|
|
23
|
+
|
|
24
|
+
## Get going
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
acbridge login # sign in this machine (opens your browser)
|
|
28
|
+
acbridge setup # once per machine: installs the agent hooks that feed Profiles
|
|
29
|
+
acbridge start # bring the bridge up in the background
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Then launch `claude` (or `codex`) in any project and your Profiles react to it. `acbridge stop` puts
|
|
33
|
+
every device it touched back the way it found it.
|
|
34
|
+
|
|
35
|
+
No browser on the box? `acbridge login --no-browser` prints a sign-in URL served on this machine's
|
|
36
|
+
loopback — open it in a browser **on the same machine**, or over SSH forward the port first
|
|
37
|
+
(`ssh -L 8765:127.0.0.1:8765 <box>`) and open it on your laptop. The command keeps waiting either way.
|
|
38
|
+
|
|
39
|
+
## What else it does
|
|
40
|
+
|
|
41
|
+
| | |
|
|
42
|
+
|---|---|
|
|
43
|
+
| `acbridge status` | is the bridge up, who is signed in, what is running |
|
|
44
|
+
| `acbridge doctor` | checks every requirement and prints the fix for each one |
|
|
45
|
+
| `acbridge scan` | find smart-home devices on your LAN |
|
|
46
|
+
| `acbridge connect` / `link` | add a device or link a provider account (Hue, Home Assistant, SmartThings, Tuya, and more) |
|
|
47
|
+
| `acbridge devices` | list devices and control them — on/off, brightness, colour, scenes |
|
|
48
|
+
| `acbridge profiles` | see the Profiles bound to each project |
|
|
49
|
+
| `acbridge stop` | stop the bridge and revert every device it changed |
|
|
50
|
+
|
|
51
|
+
Run `acbridge --help`, or `acbridge <command> --help`, for the full list and every flag.
|
|
52
|
+
|
|
53
|
+
## Good to know
|
|
54
|
+
|
|
55
|
+
- **Your credentials stay on your machine.** Device and provider secrets are written to your OS
|
|
56
|
+
keychain where one is available, and to `0600` files otherwise — they never leave the machine.
|
|
57
|
+
`acbridge logout` removes them.
|
|
58
|
+
- **The bridge only runs while something is holding it.** Closing the app or running `acbridge stop`
|
|
59
|
+
releases it; nothing lingers in the background that you did not ask for.
|
|
60
|
+
- **Windows, macOS and Linux**, including WSL2.
|
|
61
|
+
|
|
62
|
+
## Uninstalling
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
acbridge uninstall # unwires the agent hooks, plugin, and firewall rule; asks about your account data
|
|
66
|
+
npm uninstall -g acbridge
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Add `--purge` to the first command to delete **everything** AC Bridge stored on this machine —
|
|
70
|
+
sign-out included — so a future install starts completely fresh.
|
|
71
|
+
|
|
72
|
+
## Help
|
|
73
|
+
|
|
74
|
+
- `acbridge doctor` — most problems name their own fix.
|
|
75
|
+
- Docs, downloads and account: <https://ac-bridge.com>
|
|
76
|
+
- <support@ac-bridge.com>
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
(c) 2026 AC BRIDGE LIMITED. All rights reserved. Use of this software is governed by the terms at
|
|
81
|
+
<https://ac-bridge.com/terms>. Works with Claude Code and Codex. Not affiliated with or endorsed by
|
|
82
|
+
Anthropic or OpenAI.
|