@funnycode/myclaude 0.1.175 → 0.1.177

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.175",
8
- BUILD_TIME: "2026-08-01T19:31:56.674Z",
7
+ VERSION: "0.1.177",
8
+ BUILD_TIME: "2026-08-01T22:39:23.874Z",
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.175",
119950
+ version: "0.1.177",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -410151,7 +410151,7 @@ function isInputModeCharacter(input) {
410151
410151
  }
410152
410152
 
410153
410153
  // src/projectOnboardingState.ts
410154
- import { join as join105, resolve as resolve44 } from "path";
410154
+ import { join as join105, resolve as resolve44, basename as basename37 } from "path";
410155
410155
  function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410156
410156
  const fs13 = getFsImplementation();
410157
410157
  if (!recursionStack) {
@@ -410162,9 +410162,20 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410162
410162
  currentRealPath = fs13.realpathSync(dirPath);
410163
410163
  } catch (err2) {
410164
410164
  console.warn(`[getDirectoryFingerprint] Failed to resolve real path for '${dirPath}', using original path: ${err2}`);
410165
- currentRealPath = dirPath;
410165
+ try {
410166
+ const lstat7 = fs13.lstatSync(dirPath);
410167
+ if (lstat7.isSymbolicLink()) {
410168
+ const linkTarget = fs13.readlinkSync(dirPath);
410169
+ const resolvedTarget = resolve44(dirPath, linkTarget);
410170
+ currentRealPath = resolvedTarget;
410171
+ } else {
410172
+ currentRealPath = dirPath;
410173
+ }
410174
+ } catch {
410175
+ currentRealPath = dirPath;
410176
+ }
410166
410177
  }
410167
- if (recursionStack.includes(currentRealPath)) {
410178
+ if (recursionStack.includes(currentRealPath) || recursionStack.includes(dirPath)) {
410168
410179
  return "";
410169
410180
  }
410170
410181
  recursionStack.push(currentRealPath);
@@ -410200,6 +410211,11 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410200
410211
  if (targetRealPath.startsWith(rootRealPath + "/") || targetRealPath === rootRealPath) {
410201
410212
  const stat37 = fs13.statSync(resolvedTarget);
410202
410213
  if (stat37.isDirectory()) {
410214
+ const targetBasename = basename37(resolvedTarget);
410215
+ if (targetBasename === "node_modules" || targetBasename === ".git" || targetBasename === "dist" || targetBasename === "build" || targetBasename === ".next" || targetBasename === "out" || targetBasename === "coverage" || targetBasename === "target" || targetBasename === "vendor" || targetBasename === "__pycache__" || targetBasename === ".cache" || targetBasename === ".mypy_cache" || targetBasename === ".svn" || targetBasename === ".hg" || targetBasename === "venv" || targetBasename === ".venv" || targetBasename === "env") {
410216
+ fingerprintParts.push(entry + "/");
410217
+ continue;
410218
+ }
410203
410219
  fingerprintParts.push(entry + "/");
410204
410220
  fingerprintParts.push(getDirectoryFingerprint(resolvedTarget, recursionStack, rootRealPath));
410205
410221
  } else {
@@ -410213,7 +410229,7 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410213
410229
  continue;
410214
410230
  }
410215
410231
  } else if (lstat7.isDirectory()) {
410216
- 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") {
410232
+ 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" || entry === "venv" || entry === ".venv" || entry === "env") {
410217
410233
  continue;
410218
410234
  }
410219
410235
  fingerprintParts.push(entry + "/");
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.175",
8
- BUILD_TIME: "2026-08-01T19:31:56.674Z",
7
+ VERSION: "0.1.177",
8
+ BUILD_TIME: "2026-08-01T22:39:23.874Z",
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.175",
119950
+ version: "0.1.177",
119951
119951
  private: false,
119952
119952
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
119953
119953
  license: "MIT",
@@ -410151,7 +410151,7 @@ function isInputModeCharacter(input) {
410151
410151
  }
410152
410152
 
410153
410153
  // src/projectOnboardingState.ts
410154
- import { join as join105, resolve as resolve44 } from "path";
410154
+ import { join as join105, resolve as resolve44, basename as basename37 } from "path";
410155
410155
  function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410156
410156
  const fs13 = getFsImplementation();
410157
410157
  if (!recursionStack) {
@@ -410162,9 +410162,20 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410162
410162
  currentRealPath = fs13.realpathSync(dirPath);
410163
410163
  } catch (err2) {
410164
410164
  console.warn(`[getDirectoryFingerprint] Failed to resolve real path for '${dirPath}', using original path: ${err2}`);
410165
- currentRealPath = dirPath;
410165
+ try {
410166
+ const lstat7 = fs13.lstatSync(dirPath);
410167
+ if (lstat7.isSymbolicLink()) {
410168
+ const linkTarget = fs13.readlinkSync(dirPath);
410169
+ const resolvedTarget = resolve44(dirPath, linkTarget);
410170
+ currentRealPath = resolvedTarget;
410171
+ } else {
410172
+ currentRealPath = dirPath;
410173
+ }
410174
+ } catch {
410175
+ currentRealPath = dirPath;
410176
+ }
410166
410177
  }
410167
- if (recursionStack.includes(currentRealPath)) {
410178
+ if (recursionStack.includes(currentRealPath) || recursionStack.includes(dirPath)) {
410168
410179
  return "";
410169
410180
  }
410170
410181
  recursionStack.push(currentRealPath);
@@ -410200,6 +410211,11 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410200
410211
  if (targetRealPath.startsWith(rootRealPath + "/") || targetRealPath === rootRealPath) {
410201
410212
  const stat37 = fs13.statSync(resolvedTarget);
410202
410213
  if (stat37.isDirectory()) {
410214
+ const targetBasename = basename37(resolvedTarget);
410215
+ if (targetBasename === "node_modules" || targetBasename === ".git" || targetBasename === "dist" || targetBasename === "build" || targetBasename === ".next" || targetBasename === "out" || targetBasename === "coverage" || targetBasename === "target" || targetBasename === "vendor" || targetBasename === "__pycache__" || targetBasename === ".cache" || targetBasename === ".mypy_cache" || targetBasename === ".svn" || targetBasename === ".hg" || targetBasename === "venv" || targetBasename === ".venv" || targetBasename === "env") {
410216
+ fingerprintParts.push(entry + "/");
410217
+ continue;
410218
+ }
410203
410219
  fingerprintParts.push(entry + "/");
410204
410220
  fingerprintParts.push(getDirectoryFingerprint(resolvedTarget, recursionStack, rootRealPath));
410205
410221
  } else {
@@ -410213,7 +410229,7 @@ function getDirectoryFingerprint(dirPath, recursionStack, rootRealPath) {
410213
410229
  continue;
410214
410230
  }
410215
410231
  } else if (lstat7.isDirectory()) {
410216
- 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") {
410232
+ 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" || entry === "venv" || entry === ".venv" || entry === "env") {
410217
410233
  continue;
410218
410234
  }
410219
410235
  fingerprintParts.push(entry + "/");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.175",
3
+ "version": "0.1.177",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",