Skip to content

Commit e6c695f

Browse files
chore(release): 0.2.0
- Wire ldflags-injected version through to MCP serverInfo so the version reported during initialize matches the build - Bump npm package to 0.2.0 - Anchor binary patterns in .gitignore so cmd/bridge/ is not ignored - CHANGELOG covers this round: navigate_back/forward, wait_for_load, screenshot image content, MCP image type, the new test suites, the discovery UUID fix, and the misc Makefile/README cleanups Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5748bbc commit e6c695f

4 files changed

Lines changed: 25 additions & 7 deletions

File tree

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Binaries
22
*.exe
33
bin/
4-
bridge
5-
codex-browser-bridge
4+
/bridge
5+
/codex-browser-bridge
66

77
# Test artifacts
88
test_*.txt
9+
cover.out
10+
*.coverprofile
911

1012
# IDE
1113
.idea/

CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [Unreleased]
5+
## [0.2.0] - 2026-05-16
66

77
### Added
8-
- Unit tests for `protocol`, `client`, `discovery`, and `mcp` packages
9-
- `NewMCPServerWithIO` for testable I/O injection
8+
- `codex_navigate_back` and `codex_navigate_forward` MCP tools (history navigation was already in the client; now exposed)
9+
- `codex_wait_for_load` MCP tool — polls `document.readyState` until `complete` or timeout
10+
- `codex_screenshot` now returns MCP `image` content so agents can view the screenshot directly (previously only base64 text)
11+
- `MCPServer.SetVersion` so the build version flows into the MCP `initialize` handshake (`serverInfo.version`)
12+
- Unit tests across `protocol`, `client`, `discovery`, and `mcp` packages
13+
- In-memory `net.Pipe` fake server for end-to-end RPC tests without a real Codex pipe
14+
- Concurrent `SendRequest` stress test under `-race`
15+
- Wire-format invariants for `executeCdp`, `claimUserTab`, history navigation, JS escaping, CUA event sequencing, DOM box-model math
16+
- MCP handler integration tests that exercise the full client → MCP path
17+
- `NewMCPServerWithIO` constructor for testable I/O injection
18+
- CI now runs `go test -race -cover`
1019

1120
### Fixed
1221
- `discovery.extractUUID` no longer truncates UUIDs containing hyphens
13-
- Better error messages on pipe-not-found and dial failures
22+
- Clearer error messages on pipe-not-found and dial failures
23+
- `Makefile install-local` now copies the `.exe` binary on Windows
24+
- Duplicate option numbering in README install sections
25+
26+
### Internal
27+
- `client.NewFromConn` for wrapping an existing `net.Conn` (used by tests)
28+
- `cover.out` and `*.coverprofile` added to `.gitignore`
1429

1530
## [0.1.0] - 2026-05-16
1631

cmd/bridge/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func runMCP(pipeName string, logger *log.Logger) {
6565
logger.Println("Connected to Codex browser pipe")
6666

6767
srv := mcp.NewMCPServer(c)
68+
srv.SetVersion(version)
6869
if err := srv.Run(); err != nil {
6970
fmt.Fprintf(os.Stderr, "MCP server error: %v\n", err)
7071
os.Exit(1)

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@delicious233/codex-browser-bridge",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": false,
55
"description": "MCP server that exposes Codex Desktop's Chrome browser bridge for Claude Code and other agents.",
66
"bin": {

0 commit comments

Comments
 (0)