@funnycode/myclaude 0.1.167 → 0.1.169

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/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.167",
8
- BUILD_TIME: "2026-07-31T15:47:37.502Z",
7
+ VERSION: "0.1.169",
8
+ BUILD_TIME: "2026-07-31T19:56:09.206Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -119947,7 +119947,7 @@ var package_default;
119947
119947
  var init_package = __esm(() => {
119948
119948
  package_default = {
119949
119949
  name: "@funnycode/myclaude",
119950
- version: "0.1.167",
119950
+ version: "0.1.169",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -153321,6 +153321,9 @@ var init_teammate = __esm(() => {
153321
153321
  // src/services/analytics/metadata.ts
153322
153322
  import { extname as extname3 } from "path";
153323
153323
  function sanitizeToolNameForAnalytics(toolName2) {
153324
+ if (typeof toolName2 !== "string") {
153325
+ return toolName2;
153326
+ }
153324
153327
  if (toolName2.startsWith("mcp__")) {
153325
153328
  return "mcp_tool";
153326
153329
  }
@@ -410153,7 +410156,7 @@ function getDirectoryFingerprint(dirPath) {
410153
410156
  const fs13 = getFsImplementation();
410154
410157
  let entries;
410155
410158
  try {
410156
- entries = fs13.readdirStringSync(dirPath);
410159
+ entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
410157
410160
  } catch {
410158
410161
  return "";
410159
410162
  }
@@ -410167,7 +410170,7 @@ function getDirectoryFingerprint(dirPath) {
410167
410170
  continue;
410168
410171
  }
410169
410172
  if (lstat7.isDirectory()) {
410170
- if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage") {
410173
+ if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage" || entry === "target" || entry === "vendor" || entry === "__pycache__" || entry === ".cache" || entry === ".mypy_cache" || entry === ".svn" || entry === ".hg") {
410171
410174
  continue;
410172
410175
  }
410173
410176
  fingerprintParts.push(entry + "/");
@@ -410210,6 +410213,10 @@ function isCacheValid() {
410210
410213
  } catch {
410211
410214
  return false;
410212
410215
  }
410216
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410217
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410218
+ return false;
410219
+ }
410213
410220
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410214
410221
  return false;
410215
410222
  }
@@ -566604,7 +566611,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
566604
566611
  try {
566605
566612
  updateSettingsForSource("localSettings", updates);
566606
566613
  } catch (error49) {
566607
- logError2("Failed to migrate MCP server settings to local config", error49);
566614
+ logError2(new Error(`Failed to migrate MCP server settings to local config: ${error49}`));
566608
566615
  throw error49;
566609
566616
  }
566610
566617
  saveCurrentProjectConfig((config5) => {
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.167",
8
- BUILD_TIME: "2026-07-31T15:47:37.502Z",
7
+ VERSION: "0.1.169",
8
+ BUILD_TIME: "2026-07-31T19:56:09.206Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -119947,7 +119947,7 @@ var package_default;
119947
119947
  var init_package = __esm(() => {
119948
119948
  package_default = {
119949
119949
  name: "@funnycode/myclaude",
119950
- version: "0.1.167",
119950
+ version: "0.1.169",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -153321,6 +153321,9 @@ var init_teammate = __esm(() => {
153321
153321
  // src/services/analytics/metadata.ts
153322
153322
  import { extname as extname3 } from "path";
153323
153323
  function sanitizeToolNameForAnalytics(toolName2) {
153324
+ if (typeof toolName2 !== "string") {
153325
+ return toolName2;
153326
+ }
153324
153327
  if (toolName2.startsWith("mcp__")) {
153325
153328
  return "mcp_tool";
153326
153329
  }
@@ -410153,7 +410156,7 @@ function getDirectoryFingerprint(dirPath) {
410153
410156
  const fs13 = getFsImplementation();
410154
410157
  let entries;
410155
410158
  try {
410156
- entries = fs13.readdirStringSync(dirPath);
410159
+ entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
410157
410160
  } catch {
410158
410161
  return "";
410159
410162
  }
@@ -410167,7 +410170,7 @@ function getDirectoryFingerprint(dirPath) {
410167
410170
  continue;
410168
410171
  }
410169
410172
  if (lstat7.isDirectory()) {
410170
- if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage") {
410173
+ if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage" || entry === "target" || entry === "vendor" || entry === "__pycache__" || entry === ".cache" || entry === ".mypy_cache" || entry === ".svn" || entry === ".hg") {
410171
410174
  continue;
410172
410175
  }
410173
410176
  fingerprintParts.push(entry + "/");
@@ -410210,6 +410213,10 @@ function isCacheValid() {
410210
410213
  } catch {
410211
410214
  return false;
410212
410215
  }
410216
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410217
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410218
+ return false;
410219
+ }
410213
410220
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410214
410221
  return false;
410215
410222
  }
@@ -566604,7 +566611,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
566604
566611
  try {
566605
566612
  updateSettingsForSource("localSettings", updates);
566606
566613
  } catch (error49) {
566607
- logError2("Failed to migrate MCP server settings to local config", error49);
566614
+ logError2(new Error(`Failed to migrate MCP server settings to local config: ${error49}`));
566608
566615
  throw error49;
566609
566616
  }
566610
566617
  saveCurrentProjectConfig((config5) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.167",
3
+ "version": "0.1.169",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",