chromeflow 0.1.53 → 0.1.54

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/dist/ws-bridge.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { WebSocketServer, WebSocket } from "ws";
2
+ import path from "path";
2
3
  const WS_PORT_BASE = 7878;
3
4
  const WS_PORT_MAX = 7888;
4
5
  const REQUEST_TIMEOUT_MS = 3e4;
@@ -46,6 +47,13 @@ class WsBridge {
46
47
  }
47
48
  if (msg.type === "ready") {
48
49
  console.error("[chromeflow] Extension ready");
50
+ const cwd = process.cwd();
51
+ ws.send(JSON.stringify({
52
+ type: "identity",
53
+ cwd,
54
+ label: path.basename(cwd),
55
+ port: this.port
56
+ }));
49
57
  return;
50
58
  }
51
59
  const pending = this.pending.get(msg.requestId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromeflow",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "description": "Browser guidance MCP server for Claude Code — highlights, clicks, fills, and captures from the web so you don't have to.",
5
5
  "type": "module",
6
6
  "bin": {