@funnycode/myclaude 0.1.167 → 0.1.168

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.168",
8
+ BUILD_TIME: "2026-07-31T17:52:42.282Z",
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.168",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -410153,7 +410153,7 @@ function getDirectoryFingerprint(dirPath) {
410153
410153
  const fs13 = getFsImplementation();
410154
410154
  let entries;
410155
410155
  try {
410156
- entries = fs13.readdirStringSync(dirPath);
410156
+ entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
410157
410157
  } catch {
410158
410158
  return "";
410159
410159
  }
@@ -410210,6 +410210,10 @@ function isCacheValid() {
410210
410210
  } catch {
410211
410211
  return false;
410212
410212
  }
410213
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410214
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410215
+ return false;
410216
+ }
410213
410217
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410214
410218
  return false;
410215
410219
  }
@@ -566604,7 +566608,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
566604
566608
  try {
566605
566609
  updateSettingsForSource("localSettings", updates);
566606
566610
  } catch (error49) {
566607
- logError2("Failed to migrate MCP server settings to local config", error49);
566611
+ logError2(new Error(`Failed to migrate MCP server settings to local config: ${error49}`));
566608
566612
  throw error49;
566609
566613
  }
566610
566614
  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.168",
8
+ BUILD_TIME: "2026-07-31T17:52:42.282Z",
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.168",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -410153,7 +410153,7 @@ function getDirectoryFingerprint(dirPath) {
410153
410153
  const fs13 = getFsImplementation();
410154
410154
  let entries;
410155
410155
  try {
410156
- entries = fs13.readdirStringSync(dirPath);
410156
+ entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
410157
410157
  } catch {
410158
410158
  return "";
410159
410159
  }
@@ -410210,6 +410210,10 @@ function isCacheValid() {
410210
410210
  } catch {
410211
410211
  return false;
410212
410212
  }
410213
+ const currentDirFingerprint = getDirectoryFingerprint(cwd2);
410214
+ if (currentDirFingerprint !== cachedDirFingerprint) {
410215
+ return false;
410216
+ }
410213
410217
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
410214
410218
  return false;
410215
410219
  }
@@ -566604,7 +566608,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
566604
566608
  try {
566605
566609
  updateSettingsForSource("localSettings", updates);
566606
566610
  } catch (error49) {
566607
- logError2("Failed to migrate MCP server settings to local config", error49);
566611
+ logError2(new Error(`Failed to migrate MCP server settings to local config: ${error49}`));
566608
566612
  throw error49;
566609
566613
  }
566610
566614
  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.168",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",