chromeflow 0.1.21 → 0.1.22

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/README.md CHANGED
@@ -25,12 +25,11 @@ This:
25
25
  - Adds a hint to `~/.claude/CLAUDE.md` so Claude will suggest `npx chromeflow setup` in any project that isn't yet configured
26
26
  - Pre-approves Chromeflow tools in `.claude/settings.local.json` (no per-action prompts)
27
27
 
28
- **2. Load the Chrome extension** (one time):
28
+ **2. Install the Chrome extension** (one time):
29
29
 
30
- The setup wizard opens `chrome://extensions` for you. Then:
31
- 1. Enable **Developer mode** (top-right toggle)
32
- 2. Click **Load unpacked**
33
- 3. Select the path printed by the setup wizard
30
+ The setup wizard opens the Chrome Web Store for you — click **Add to Chrome**.
31
+
32
+ Or install directly: [chromewebstore.google.com/detail/chromeflow/lkdchdgkbkodliefobkkhiegjdiidime](https://chromewebstore.google.com/detail/chromeflow/lkdchdgkbkodliefobkkhiegjdiidime)
34
33
 
35
34
  The extension persists across Chrome restarts. You only do this once.
36
35
 
@@ -88,7 +87,7 @@ npm run dev:mcp # watches mcp-server
88
87
  npm run dev:ext # watches extension
89
88
  ```
90
89
 
91
- After rebuilding the extension, click **Update** on `chrome://extensions`.
90
+ After rebuilding the extension, reload it from `chrome://extensions`.
92
91
 
93
92
  ## Requirements
94
93
 
package/dist/setup.js CHANGED
@@ -183,13 +183,14 @@ function patchSettingsLocalJson(cwd) {
183
183
  writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + "\n");
184
184
  return "updated";
185
185
  }
186
- function tryOpenExtensionsPage() {
186
+ const STORE_URL = "https://chromewebstore.google.com/detail/chromeflow/lkdchdgkbkodliefobkkhiegjdiidime";
187
+ function tryOpenStorePage() {
187
188
  try {
188
- execSync('open -a "Google Chrome" "chrome://extensions"', { stdio: "ignore" });
189
+ execSync(`open "${STORE_URL}"`, { stdio: "ignore" });
189
190
  return true;
190
191
  } catch {
191
192
  try {
192
- execSync('xdg-open "chrome://extensions"', { stdio: "ignore" });
193
+ execSync(`xdg-open "${STORE_URL}"`, { stdio: "ignore" });
193
194
  return true;
194
195
  } catch {
195
196
  return false;
@@ -241,17 +242,14 @@ async function runSetup() {
241
242
  } else {
242
243
  console.log("\u2713 Added chromeflow tools to .claude/settings.local.json (no approval prompts)");
243
244
  }
244
- console.log("\nChrome extension (one-time manual step):");
245
- const opened = tryOpenExtensionsPage();
245
+ console.log("\nChrome extension (one-time step):");
246
+ const opened = tryOpenStorePage();
246
247
  if (opened) {
247
- console.log(" Opened chrome://extensions in Chrome.");
248
+ console.log(" Opened Chrome Web Store \u2014 click 'Add to Chrome' to install.");
248
249
  } else {
249
- console.log(" Open chrome://extensions in Chrome.");
250
+ console.log(` Install from the Chrome Web Store:
251
+ ${STORE_URL}`);
250
252
  }
251
- const extensionDistPath = resolve(dirname(fileURLToPath(import.meta.url)), "..", "..", "extension", "dist");
252
- console.log(" 1. Enable Developer mode (top-right toggle)");
253
- console.log(" 2. Click 'Load unpacked'");
254
- console.log(` 3. Select: ${extensionDistPath}`);
255
253
  const globalResult = patchGlobalClaudeMd();
256
254
  if (globalResult === "already-present") {
257
255
  console.log("\u2713 ~/.claude/CLAUDE.md already has chromeflow hint");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromeflow",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
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": {