chromeflow 0.1.11 → 0.1.12

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/index.js CHANGED
@@ -27,7 +27,7 @@ async function main() {
27
27
  const bridge = new WsBridge();
28
28
  const server = new McpServer({
29
29
  name: "chromeflow",
30
- version: "0.1.11"
30
+ version: "0.1.12"
31
31
  });
32
32
  registerBrowserTools(server, bridge);
33
33
  registerHighlightTools(server, bridge);
@@ -60,9 +60,10 @@ After calling this, use those exact coordinates in highlight_region \u2014 do NO
60
60
  if (els.length === 0) {
61
61
  return { content: [{ type: "text", text: "No visible interactive elements found on page." }] };
62
62
  }
63
- const lines = els.map(
64
- (e) => `${e.index}. ${e.type} "${e.label}" \u2014 x:${e.x} y:${e.y} w:${e.width} h:${e.height}`
65
- );
63
+ const lines = els.map((e) => {
64
+ const val = e.value ? ` [currently: "${e.value}"]` : "";
65
+ return `${e.index}. ${e.type} "${e.label}"${val} \u2014 x:${e.x} y:${e.y} w:${e.width} h:${e.height}`;
66
+ });
66
67
  return {
67
68
  content: [{ type: "text", text: `Visible interactive elements:
68
69
  ${lines.join("\n")}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromeflow",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
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": {