@funnycode/myclaude 0.1.164 → 0.1.165
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 +17 -3
- package/dist/myclaude.mjs +17 -3
- 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-07-
|
|
7
|
+
VERSION: "0.1.165",
|
|
8
|
+
BUILD_TIME: "2026-07-31T00:20:09.749Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -119853,7 +119853,7 @@ var package_default;
|
|
|
119853
119853
|
var init_package = __esm(() => {
|
|
119854
119854
|
package_default = {
|
|
119855
119855
|
name: "@funnycode/myclaude",
|
|
119856
|
-
version: "0.1.
|
|
119856
|
+
version: "0.1.165",
|
|
119857
119857
|
private: false,
|
|
119858
119858
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
119859
119859
|
license: "MIT",
|
|
@@ -410044,6 +410044,9 @@ function getDirectoryFingerprint(dirPath) {
|
|
|
410044
410044
|
const fullPath = join105(dirPath, entry);
|
|
410045
410045
|
const stat37 = fs13.statSync(fullPath);
|
|
410046
410046
|
if (stat37.isDirectory()) {
|
|
410047
|
+
if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage") {
|
|
410048
|
+
continue;
|
|
410049
|
+
}
|
|
410047
410050
|
fingerprintParts.push(entry + "/");
|
|
410048
410051
|
fingerprintParts.push(getDirectoryFingerprint(fullPath));
|
|
410049
410052
|
} else {
|
|
@@ -566424,6 +566427,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566424
566427
|
}
|
|
566425
566428
|
const originalSettings = getSettingsForSource("localSettings") || {};
|
|
566426
566429
|
const originalProjectConfig = { ...projectConfig };
|
|
566430
|
+
const originalSettingsHash = JSON.stringify(originalSettings);
|
|
566427
566431
|
const migratedFields = [];
|
|
566428
566432
|
const updates = {};
|
|
566429
566433
|
try {
|
|
@@ -566488,6 +566492,11 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566488
566492
|
}
|
|
566489
566493
|
return updated;
|
|
566490
566494
|
});
|
|
566495
|
+
const currentSettings = getSettingsForSource("localSettings") || {};
|
|
566496
|
+
const currentSettingsHash = JSON.stringify(currentSettings);
|
|
566497
|
+
if (currentSettingsHash !== originalSettingsHash) {
|
|
566498
|
+
logError2("MIGRATION WARNING: Settings file was modified concurrently during migration. " + "The migration will overwrite concurrent changes, potentially causing data loss. " + "Original settings hash: " + originalSettingsHash + ", Current settings hash: " + currentSettingsHash);
|
|
566499
|
+
}
|
|
566491
566500
|
updateSettingsForSource("localSettings", updates);
|
|
566492
566501
|
saveGlobalConfig((c6) => ({ ...c6, hasCompletedMcpServerMigration: true }));
|
|
566493
566502
|
logEvent("tengu_migrate_enable_all_project_mcp_servers_to_settings", {
|
|
@@ -566498,6 +566507,11 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566498
566507
|
logError2("Failed to migrate MCP server settings, rolling back", error49);
|
|
566499
566508
|
let rollbackFailed = false;
|
|
566500
566509
|
try {
|
|
566510
|
+
const currentSettings = getSettingsForSource("localSettings") || {};
|
|
566511
|
+
const currentSettingsHash = JSON.stringify(currentSettings);
|
|
566512
|
+
if (currentSettingsHash !== originalSettingsHash) {
|
|
566513
|
+
logError2("MIGRATION WARNING: Settings file was modified concurrently. " + "The rollback will overwrite concurrent changes, potentially causing data loss. " + "Original settings hash: " + originalSettingsHash + ", Current settings hash: " + currentSettingsHash);
|
|
566514
|
+
}
|
|
566501
566515
|
const rollbackUpdates = {};
|
|
566502
566516
|
for (const field of migratedFields) {
|
|
566503
566517
|
if (field in originalSettings) {
|
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-07-
|
|
7
|
+
VERSION: "0.1.165",
|
|
8
|
+
BUILD_TIME: "2026-07-31T00:20:09.749Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -119853,7 +119853,7 @@ var package_default;
|
|
|
119853
119853
|
var init_package = __esm(() => {
|
|
119854
119854
|
package_default = {
|
|
119855
119855
|
name: "@funnycode/myclaude",
|
|
119856
|
-
version: "0.1.
|
|
119856
|
+
version: "0.1.165",
|
|
119857
119857
|
private: false,
|
|
119858
119858
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
119859
119859
|
license: "MIT",
|
|
@@ -410044,6 +410044,9 @@ function getDirectoryFingerprint(dirPath) {
|
|
|
410044
410044
|
const fullPath = join105(dirPath, entry);
|
|
410045
410045
|
const stat37 = fs13.statSync(fullPath);
|
|
410046
410046
|
if (stat37.isDirectory()) {
|
|
410047
|
+
if (entry === "node_modules" || entry === ".git" || entry === "dist" || entry === "build" || entry === ".next" || entry === "out" || entry === "coverage") {
|
|
410048
|
+
continue;
|
|
410049
|
+
}
|
|
410047
410050
|
fingerprintParts.push(entry + "/");
|
|
410048
410051
|
fingerprintParts.push(getDirectoryFingerprint(fullPath));
|
|
410049
410052
|
} else {
|
|
@@ -566424,6 +566427,7 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566424
566427
|
}
|
|
566425
566428
|
const originalSettings = getSettingsForSource("localSettings") || {};
|
|
566426
566429
|
const originalProjectConfig = { ...projectConfig };
|
|
566430
|
+
const originalSettingsHash = JSON.stringify(originalSettings);
|
|
566427
566431
|
const migratedFields = [];
|
|
566428
566432
|
const updates = {};
|
|
566429
566433
|
try {
|
|
@@ -566488,6 +566492,11 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566488
566492
|
}
|
|
566489
566493
|
return updated;
|
|
566490
566494
|
});
|
|
566495
|
+
const currentSettings = getSettingsForSource("localSettings") || {};
|
|
566496
|
+
const currentSettingsHash = JSON.stringify(currentSettings);
|
|
566497
|
+
if (currentSettingsHash !== originalSettingsHash) {
|
|
566498
|
+
logError2("MIGRATION WARNING: Settings file was modified concurrently during migration. " + "The migration will overwrite concurrent changes, potentially causing data loss. " + "Original settings hash: " + originalSettingsHash + ", Current settings hash: " + currentSettingsHash);
|
|
566499
|
+
}
|
|
566491
566500
|
updateSettingsForSource("localSettings", updates);
|
|
566492
566501
|
saveGlobalConfig((c6) => ({ ...c6, hasCompletedMcpServerMigration: true }));
|
|
566493
566502
|
logEvent("tengu_migrate_enable_all_project_mcp_servers_to_settings", {
|
|
@@ -566498,6 +566507,11 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
566498
566507
|
logError2("Failed to migrate MCP server settings, rolling back", error49);
|
|
566499
566508
|
let rollbackFailed = false;
|
|
566500
566509
|
try {
|
|
566510
|
+
const currentSettings = getSettingsForSource("localSettings") || {};
|
|
566511
|
+
const currentSettingsHash = JSON.stringify(currentSettings);
|
|
566512
|
+
if (currentSettingsHash !== originalSettingsHash) {
|
|
566513
|
+
logError2("MIGRATION WARNING: Settings file was modified concurrently. " + "The rollback will overwrite concurrent changes, potentially causing data loss. " + "Original settings hash: " + originalSettingsHash + ", Current settings hash: " + currentSettingsHash);
|
|
566514
|
+
}
|
|
566501
566515
|
const rollbackUpdates = {};
|
|
566502
566516
|
for (const field of migratedFields) {
|
|
566503
566517
|
if (field in originalSettings) {
|