Skip to content

Commit 111642d

Browse files
fix: Windows-only release builds, add platform note to README
1 parent 4e67cd8 commit 111642d

2 files changed

Lines changed: 12 additions & 39 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -24,49 +24,20 @@ jobs:
2424
id: version
2525
run: echo "tag=${{ github.ref_name }}" >> $env:GITHUB_OUTPUT
2626

27-
- name: Build Windows binaries
27+
- name: Build
2828
shell: bash
2929
run: |
3030
VERSION="${{ steps.version.outputs.tag }}"
31-
for arch in amd64 arm64; do
32-
suffix=""
33-
if [ "$arch" = "arm64" ]; then suffix="-arm64"; fi
34-
GOOS=windows GOARCH=$arch go build -trimpath \
35-
-ldflags "-s -w -X main.version=$VERSION" \
36-
-o "codex-browser-bridge-windows${suffix}.exe" ./cmd/bridge
37-
done
38-
39-
- name: Build Linux binaries
40-
shell: bash
41-
run: |
42-
VERSION="${{ steps.version.outputs.tag }}"
43-
for arch in amd64 arm64; do
44-
suffix=""
45-
if [ "$arch" = "arm64" ]; then suffix="-arm64"; fi
46-
GOOS=linux GOARCH=$arch go build -trimpath \
47-
-ldflags "-s -w -X main.version=$VERSION" \
48-
-o "codex-browser-bridge-linux${suffix}" ./cmd/bridge
49-
tar czf "codex-browser-bridge-linux${suffix}.tar.gz" "codex-browser-bridge-linux${suffix}"
50-
rm "codex-browser-bridge-linux${suffix}"
51-
done
52-
53-
- name: Build macOS binaries
54-
shell: bash
55-
run: |
56-
VERSION="${{ steps.version.outputs.tag }}"
57-
for arch in amd64 arm64; do
58-
suffix=""
59-
if [ "$arch" = "arm64" ]; then suffix="-arm64"; fi
60-
GOOS=darwin GOARCH=$arch go build -trimpath \
61-
-ldflags "-s -w -X main.version=$VERSION" \
62-
-o "codex-browser-bridge-darwin${suffix}" ./cmd/bridge
63-
tar czf "codex-browser-bridge-darwin${suffix}.tar.gz" "codex-browser-bridge-darwin${suffix}"
64-
rm "codex-browser-bridge-darwin${suffix}"
65-
done
31+
GOOS=windows GOARCH=amd64 go build -trimpath \
32+
-ldflags "-s -w -X main.version=$VERSION" \
33+
-o "codex-browser-bridge.exe" ./cmd/bridge
34+
GOOS=windows GOARCH=arm64 go build -trimpath \
35+
-ldflags "-s -w -X main.version=$VERSION" \
36+
-o "codex-browser-bridge-arm64.exe" ./cmd/bridge
6637
6738
- name: Generate checksums
6839
shell: bash
69-
run: sha256sum codex-browser-bridge-*.{exe,tar.gz} > checksums.txt
40+
run: sha256sum codex-browser-bridge*.exe > checksums.txt
7041

7142
- name: Generate release notes
7243
id: notes
@@ -89,6 +60,6 @@ jobs:
8960
gh release create "${{ steps.version.outputs.tag }}" `
9061
--title "${{ steps.version.outputs.tag }}" `
9162
--notes "${{ steps.notes.outputs.notes }}" `
92-
codex-browser-bridge-*.exe `
93-
codex-browser-bridge-*.tar.gz `
63+
codex-browser-bridge.exe `
64+
codex-browser-bridge-arm64.exe `
9465
checksums.txt

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
Single Go binary that connects AI agents to the user's existing Chrome browser through Codex Desktop's Chrome extension infrastructure — named pipes, CDP, and JSON-RPC.
1515

16+
> **Windows only** — uses Windows Named Pipes (`\\.\pipe\codex-browser-use-*`) to communicate with the Codex Chrome Extension host.
17+
1618
**Why?** Codex Desktop's `browser-client.mjs` depends on `import.meta.__codexNativePipe`, a privileged object injected by Codex's custom ESM loader. Claude Code can't access it. But the underlying protocol is simple (JSON-RPC 2.0 over length-prefixed frames), so this bridge reimplements it.
1719

1820
## Quick Start

0 commit comments

Comments
 (0)