@funnycode/myclaude 0.1.168 → 0.1.170

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.168",
8
- BUILD_TIME: "2026-07-31T17:52:42.282Z",
7
+ VERSION: "0.1.170",
8
+ BUILD_TIME: "2026-08-01T03:45:10.021Z",
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.168",
119950
+ version: "0.1.170",
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
  }
@@ -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 + "/");
@@ -410202,17 +410205,18 @@ function isCacheValid() {
410202
410205
  } catch {
410203
410206
  return false;
410204
410207
  }
410208
+ let rootMtimeChanged = false;
410205
410209
  try {
410206
410210
  const currentRootMtime = Math.floor(fs13.statSync(cwd2).mtimeMs);
410207
- if (currentRootMtime !== cachedRootMtime) {
410208
- return false;
410209
- }
410211
+ rootMtimeChanged = currentRootMtime !== cachedRootMtime;
410210
410212
  } catch {
410211
410213
  return false;
410212
410214
  }
410213
- const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410214
- if (currentDirFingerprint !== cachedDirFingerprint) {
410215
- return false;
410215
+ if (rootMtimeChanged) {
410216
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410217
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410218
+ return false;
410219
+ }
410216
410220
  }
410217
410221
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410218
410222
  return false;
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.168",
8
- BUILD_TIME: "2026-07-31T17:52:42.282Z",
7
+ VERSION: "0.1.170",
8
+ BUILD_TIME: "2026-08-01T03:45:10.021Z",
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.168",
119950
+ version: "0.1.170",
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
  }
@@ -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 + "/");
@@ -410202,17 +410205,18 @@ function isCacheValid() {
410202
410205
  } catch {
410203
410206
  return false;
410204
410207
  }
410208
+ let rootMtimeChanged = false;
410205
410209
  try {
410206
410210
  const currentRootMtime = Math.floor(fs13.statSync(cwd2).mtimeMs);
410207
- if (currentRootMtime !== cachedRootMtime) {
410208
- return false;
410209
- }
410211
+ rootMtimeChanged = currentRootMtime !== cachedRootMtime;
410210
410212
  } catch {
410211
410213
  return false;
410212
410214
  }
410213
- const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410214
- if (currentDirFingerprint !== cachedDirFingerprint) {
410215
- return false;
410215
+ if (rootMtimeChanged) {
410216
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410217
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410218
+ return false;
410219
+ }
410216
410220
  }
410217
410221
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410218
410222
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.168",
3
+ "version": "0.1.170",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",