@funnycode/myclaude 0.1.172 → 0.1.173
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 +19 -6
- package/dist/myclaude.mjs +19 -6
- package/package.json +1 -1
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.
|
|
8
|
-
BUILD_TIME: "2026-08-
|
|
7
|
+
VERSION: "0.1.173",
|
|
8
|
+
BUILD_TIME: "2026-08-01T11:52:35.626Z",
|
|
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.
|
|
119950
|
+
version: "0.1.173",
|
|
119951
119951
|
private: false,
|
|
119952
119952
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
119953
119953
|
license: "MIT",
|
|
@@ -410152,7 +410152,7 @@ function isInputModeCharacter(input) {
|
|
|
410152
410152
|
|
|
410153
410153
|
// src/projectOnboardingState.ts
|
|
410154
410154
|
import { join as join105 } from "path";
|
|
410155
|
-
function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
410155
|
+
function getDirectoryFingerprint(dirPath, visitedRealPaths, rootRealPath) {
|
|
410156
410156
|
const fs13 = getFsImplementation();
|
|
410157
410157
|
if (!visitedRealPaths) {
|
|
410158
410158
|
visitedRealPaths = new Set;
|
|
@@ -410167,6 +410167,9 @@ function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
|
410167
410167
|
return "";
|
|
410168
410168
|
}
|
|
410169
410169
|
visitedRealPaths.add(currentRealPath);
|
|
410170
|
+
if (rootRealPath === undefined) {
|
|
410171
|
+
rootRealPath = currentRealPath;
|
|
410172
|
+
}
|
|
410170
410173
|
let entries;
|
|
410171
410174
|
try {
|
|
410172
410175
|
entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
|
|
@@ -410184,8 +410187,18 @@ function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
|
410184
410187
|
try {
|
|
410185
410188
|
const stat37 = fs13.statSync(fullPath);
|
|
410186
410189
|
if (stat37.isDirectory()) {
|
|
410187
|
-
|
|
410188
|
-
|
|
410190
|
+
let targetRealPath;
|
|
410191
|
+
try {
|
|
410192
|
+
targetRealPath = fs13.realpathSync(fullPath);
|
|
410193
|
+
} catch {
|
|
410194
|
+
targetRealPath = fullPath;
|
|
410195
|
+
}
|
|
410196
|
+
if (targetRealPath.startsWith(rootRealPath + "/") || targetRealPath === rootRealPath) {
|
|
410197
|
+
fingerprintParts.push(entry + "/");
|
|
410198
|
+
fingerprintParts.push(getDirectoryFingerprint(fullPath, visitedRealPaths, rootRealPath));
|
|
410199
|
+
} else {
|
|
410200
|
+
fingerprintParts.push(entry);
|
|
410201
|
+
}
|
|
410189
410202
|
} else {
|
|
410190
410203
|
fingerprintParts.push(entry);
|
|
410191
410204
|
}
|
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.
|
|
8
|
-
BUILD_TIME: "2026-08-
|
|
7
|
+
VERSION: "0.1.173",
|
|
8
|
+
BUILD_TIME: "2026-08-01T11:52:35.626Z",
|
|
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.
|
|
119950
|
+
version: "0.1.173",
|
|
119951
119951
|
private: false,
|
|
119952
119952
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
119953
119953
|
license: "MIT",
|
|
@@ -410152,7 +410152,7 @@ function isInputModeCharacter(input) {
|
|
|
410152
410152
|
|
|
410153
410153
|
// src/projectOnboardingState.ts
|
|
410154
410154
|
import { join as join105 } from "path";
|
|
410155
|
-
function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
410155
|
+
function getDirectoryFingerprint(dirPath, visitedRealPaths, rootRealPath) {
|
|
410156
410156
|
const fs13 = getFsImplementation();
|
|
410157
410157
|
if (!visitedRealPaths) {
|
|
410158
410158
|
visitedRealPaths = new Set;
|
|
@@ -410167,6 +410167,9 @@ function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
|
410167
410167
|
return "";
|
|
410168
410168
|
}
|
|
410169
410169
|
visitedRealPaths.add(currentRealPath);
|
|
410170
|
+
if (rootRealPath === undefined) {
|
|
410171
|
+
rootRealPath = currentRealPath;
|
|
410172
|
+
}
|
|
410170
410173
|
let entries;
|
|
410171
410174
|
try {
|
|
410172
410175
|
entries = fs13.readdirSync(dirPath).map((dirent) => dirent.name);
|
|
@@ -410184,8 +410187,18 @@ function getDirectoryFingerprint(dirPath, visitedRealPaths) {
|
|
|
410184
410187
|
try {
|
|
410185
410188
|
const stat37 = fs13.statSync(fullPath);
|
|
410186
410189
|
if (stat37.isDirectory()) {
|
|
410187
|
-
|
|
410188
|
-
|
|
410190
|
+
let targetRealPath;
|
|
410191
|
+
try {
|
|
410192
|
+
targetRealPath = fs13.realpathSync(fullPath);
|
|
410193
|
+
} catch {
|
|
410194
|
+
targetRealPath = fullPath;
|
|
410195
|
+
}
|
|
410196
|
+
if (targetRealPath.startsWith(rootRealPath + "/") || targetRealPath === rootRealPath) {
|
|
410197
|
+
fingerprintParts.push(entry + "/");
|
|
410198
|
+
fingerprintParts.push(getDirectoryFingerprint(fullPath, visitedRealPaths, rootRealPath));
|
|
410199
|
+
} else {
|
|
410200
|
+
fingerprintParts.push(entry);
|
|
410201
|
+
}
|
|
410189
410202
|
} else {
|
|
410190
410203
|
fingerprintParts.push(entry);
|
|
410191
410204
|
}
|