chrome-devtools-mcp-for-extension 0.16.4 → 0.16.5

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.
@@ -106,8 +106,11 @@ export function resolveUserDataDir(opts) {
106
106
  }
107
107
  // 4) AUTO: detect by root -> name -> hash
108
108
  try {
109
+ console.error(`[profiles] AUTO detection: cwd="${opts.cwd}"`);
109
110
  const root = detectProjectRoot(opts.cwd);
111
+ console.error(`[profiles] AUTO detection: root="${root}"`);
110
112
  const name = detectProjectName(root);
113
+ console.error(`[profiles] AUTO detection: name="${name}"`);
111
114
  const realRoot = realpathSafe(root);
112
115
  const hash = shortHash(realRoot);
113
116
  const key = `${sanitize(name)}_${hash}_${clientId}`;
@@ -125,6 +128,7 @@ export function resolveUserDataDir(opts) {
125
128
  return result;
126
129
  }
127
130
  catch (e) {
131
+ console.error(`[profiles] AUTO detection FAILED: ${e}`);
128
132
  // 5) DEFAULT fallback
129
133
  const key = `project-default_${clientId}`;
130
134
  const p = projectProfilePath(key, channel);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrome-devtools-mcp-for-extension",
3
- "version": "0.16.4",
3
+ "version": "0.16.5",
4
4
  "description": "MCP server for Chrome extension development with Web Store automation. Fork of chrome-devtools-mcp with extension-specific tools.",
5
5
  "type": "module",
6
6
  "bin": "./build/src/index.js",