@chatpanel/bridge 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +25 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,19 +10,40 @@ so this bridges the gap.
10
10
 
11
11
  ## Run it
12
12
 
13
+ **No clone, no install** — `npx` fetches the package (and its one dependency) and
14
+ starts the server:
15
+
16
+ ```bash
17
+ npx @chatpanel/bridge # → http://127.0.0.1:4319
18
+ ```
19
+
20
+ …then leave it running and open the ChatPanel side panel. That's the whole setup.
21
+
22
+ Prefer a persistent command? Install it globally:
23
+
13
24
  ```bash
14
- cd bridge
15
- npm install # installs the Claude Agent SDK (Codex just needs the CLI)
16
- npm start # → http://127.0.0.1:4319
25
+ npm i -g @chatpanel/bridge
26
+ chatpanel-bridge # http://127.0.0.1:4319
17
27
  ```
18
28
 
19
- Prerequisites:
29
+ Prerequisites (the agents you want to use must already be set up):
20
30
 
21
31
  - **Claude Code**: be signed in (`claude`) or set `ANTHROPIC_API_KEY`.
22
32
  - **Codex**: `codex` on your `PATH` and `codex login` done.
23
33
 
24
34
  The extension polls `/health` and shows each agent as available/unavailable.
25
35
 
36
+ ## Develop (from source)
37
+
38
+ Only if you're hacking on the bridge itself:
39
+
40
+ ```bash
41
+ git clone https://github.com/chatpanel/chatpanel-bridge
42
+ cd chatpanel-bridge
43
+ npm install
44
+ npm start # → http://127.0.0.1:4319
45
+ ```
46
+
26
47
  ## API
27
48
 
28
49
  | Method | Path | Purpose |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/bridge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Local bridge that exposes Claude Code (Agent SDK) and Codex (CLI) to the ChatPanel Chrome extension over a localhost SSE endpoint.",
6
6
  "keywords": ["chatpanel", "claude-code", "codex", "chrome-extension", "ai-agents", "bridge"],