@eyeglass/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 +46 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # @eyeglass/bridge
2
+
3
+ MCP server that connects the browser inspector to Claude Code for [Eyeglass](https://github.com/donutboyband/eyeglass).
4
+
5
+ ## Installation
6
+
7
+ Automatically configured by `npx @eyeglass/cli init`, or manually:
8
+
9
+ ```bash
10
+ npm install @eyeglass/bridge
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ The bridge runs as an MCP server. Add to `.claude/settings.json`:
16
+
17
+ ```json
18
+ {
19
+ "mcpServers": {
20
+ "eyeglass": {
21
+ "command": "npx",
22
+ "args": ["eyeglass-bridge"]
23
+ }
24
+ }
25
+ }
26
+ ```
27
+
28
+ ## MCP Tools
29
+
30
+ | Tool | Description |
31
+ |------|-------------|
32
+ | `get_focused_element` | Get current element context as markdown |
33
+ | `update_status` | Update browser UI with progress |
34
+ | `send_thought` | Share reasoning with the user |
35
+ | `report_action` | Report file operations |
36
+ | `ask_question` | Ask user a clarifying question |
37
+ | `wait_for_request` | Long-poll for new requests |
38
+ | `get_focus_history` | Get previously focused elements |
39
+
40
+ ## Features
41
+
42
+ - **Auto-commits** changes on success with `[eyeglass:<id>]` tags
43
+ - **One-click undo** via `git revert`
44
+ - **Real-time updates** via Server-Sent Events
45
+
46
+ See the [main repo](https://github.com/donutboyband/eyeglass) for full documentation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eyeglass/bridge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MCP server bridge for Eyeglass",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",