@chatpanel/bridge 0.10.14 → 0.10.16
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 +5 -3
- package/package.json +3 -2
- package/src/env.js +1 -1
- package/src/server.js +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,9 @@ so this bridges the gap.
|
|
|
7
7
|
- **Claude Code** — embedded via `@anthropic-ai/claude-agent-sdk`, using your
|
|
8
8
|
existing Claude Code login (or `ANTHROPIC_API_KEY`).
|
|
9
9
|
- **Codex** — driven via the `codex exec` CLI, using your `codex login`.
|
|
10
|
-
- **
|
|
10
|
+
- **Antigravity CLI** — driven via the `agy -p` CLI, using your Antigravity login.
|
|
11
|
+
This is Google's successor to Gemini CLI; **Gemini CLI** itself remains available
|
|
12
|
+
for business/enterprise (paid API keys) and can be added as a custom agent.
|
|
11
13
|
|
|
12
14
|
Bring whichever agent you already have installed — the extension auto-detects
|
|
13
15
|
the ones the bridge reports as available.
|
|
@@ -27,7 +29,7 @@ in-place upgrade.
|
|
|
27
29
|
### Windows — via Node (recommended)
|
|
28
30
|
|
|
29
31
|
Windows SmartScreen flags unsigned downloads, so on Windows run the bridge through
|
|
30
|
-
Node — you already have it if you use Claude Code / Codex
|
|
32
|
+
Node — you already have it if you use Claude Code / Codex (both npm CLIs),
|
|
31
33
|
and there's no security prompt:
|
|
32
34
|
|
|
33
35
|
```powershell
|
|
@@ -64,7 +66,7 @@ The agents you want to use must already be set up:
|
|
|
64
66
|
|
|
65
67
|
- **Claude Code**: installed and signed in (`claude`), or set `ANTHROPIC_API_KEY`.
|
|
66
68
|
- **Codex**: `codex` on your `PATH` and `codex login` done.
|
|
67
|
-
- **
|
|
69
|
+
- **Antigravity CLI**: `agy` on your `PATH` and signed in (install the Antigravity app, then run `agy` once to sign in). Replaces Gemini CLI; business/enterprise users can still run `gemini` as a custom agent.
|
|
68
70
|
|
|
69
71
|
The extension polls `/health` and shows each agent as available/unavailable.
|
|
70
72
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatpanel/bridge",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.16",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Local bridge that exposes the AI coding agents installed on your machine — Claude Code (CLI), Codex (CLI), and Gemini CLI — to the ChatPanel Chrome extension over a localhost SSE endpoint. Bring your own agent.",
|
|
5
|
+
"description": "Local bridge that exposes the AI coding agents installed on your machine — Claude Code (CLI), Codex (CLI), and Antigravity CLI (formerly Gemini CLI, which remains available for business/enterprise) — to the ChatPanel Chrome extension over a localhost SSE endpoint. Bring your own agent.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"chatpanel",
|
|
8
8
|
"claude-code",
|
|
9
9
|
"codex",
|
|
10
|
+
"antigravity-cli",
|
|
10
11
|
"gemini-cli",
|
|
11
12
|
"chrome-extension",
|
|
12
13
|
"ai-agents",
|
package/src/env.js
CHANGED
|
@@ -76,7 +76,7 @@ function shellWhich(name) {
|
|
|
76
76
|
// ---------------------------------------------------------------------------
|
|
77
77
|
// Claude Code launcher resolution.
|
|
78
78
|
//
|
|
79
|
-
// The Codex/
|
|
79
|
+
// The Codex/Antigravity engines can assume `spawn('codex', …)` runs a directly
|
|
80
80
|
// executable file on the current OS's PATH. Claude needs more care:
|
|
81
81
|
// • On Windows, npm installs `claude.cmd` / `claude.ps1` / an extensionless
|
|
82
82
|
// bash shim — NONE of which Node's spawn() can execute directly (that's the
|
package/src/server.js
CHANGED
|
@@ -37,7 +37,7 @@ import { assertPublicHttpUrl } from './ssrf.js';
|
|
|
37
37
|
// Hardcoded (not read from package.json) so it survives Bun's single-file
|
|
38
38
|
// --compile, where package.json isn't on a readable FS. CI fails the publish if
|
|
39
39
|
// this drifts from package.json, so the two can't silently diverge.
|
|
40
|
-
const VERSION = '0.10.
|
|
40
|
+
const VERSION = '0.10.16';
|
|
41
41
|
const HOST = process.env.CHATPANEL_BRIDGE_HOST || '127.0.0.1';
|
|
42
42
|
const PORT = Number(process.env.CHATPANEL_BRIDGE_PORT) || 4319;
|
|
43
43
|
|
|
@@ -714,7 +714,7 @@ function runMcpStdioProxy(url) {
|
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
function startServer() {
|
|
717
|
-
enrichPath(); // so codex/
|
|
717
|
+
enrichPath(); // so codex/agy (Antigravity) are found even under a minimal service PATH
|
|
718
718
|
ensureToken(); // per-install bearer token for privileged routes (defense-in-depth)
|
|
719
719
|
server.listen(PORT, HOST, async () => {
|
|
720
720
|
log('info', `listening on http://${HOST}:${PORT}`);
|