chromeflow 0.1.1 → 0.1.3

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/CLAUDE.md CHANGED
@@ -97,5 +97,6 @@ Use the absolute path for `envPath` — it's the Claude Code working directory +
97
97
  - After any action → `get_page_text()` to check for errors (not `take_screenshot`)
98
98
  - `click_element` not found → `scroll_page("down")` then retry
99
99
  - Still not found → `take_screenshot()` then `highlight_region(x,y,w,h,msg)`
100
+ - `fill_input` not found → `click_element(hint)` to focus the field, then retry `fill_input`. If still failing, `take_screenshot()` then `highlight_region(x,y,w,h,"Type: [value]")` — do NOT ask the user to type unless all automated attempts have failed
100
101
  - Waiting for async result (build, save, deploy) → `wait_for_selector(selector, timeout)`
101
102
  - Never use Bash to work around a stuck browser interaction
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.1"
30
+ version: "0.1.3"
31
31
  });
32
32
  registerBrowserTools(server, bridge);
33
33
  registerHighlightTools(server, bridge);
@@ -13,7 +13,7 @@ function registerBrowserTools(server, bridge) {
13
13
  );
14
14
  server.tool(
15
15
  "take_screenshot",
16
- "Capture a screenshot of the current browser tab so you can see what is on the page. Use this to identify element positions before highlighting.",
16
+ "Capture a screenshot ONLY when click_element or fill_input has failed and you need pixel coordinates to call highlight_region. DO NOT use this to check page state, confirm actions, or see what loaded \u2014 use get_page_text for all of that.",
17
17
  {},
18
18
  async () => {
19
19
  const response = await bridge.request({ type: "screenshot" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromeflow",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
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": {