@funnycode/myclaude 0.1.147 → 0.1.149

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.147",
8
- BUILD_TIME: "2026-07-27T08:45:06.269Z",
7
+ VERSION: "0.1.149",
8
+ BUILD_TIME: "2026-07-27T18:16:19.948Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117987,7 +117987,7 @@ var package_default;
117987
117987
  var init_package = __esm(() => {
117988
117988
  package_default = {
117989
117989
  name: "@funnycode/myclaude",
117990
- version: "0.1.147",
117990
+ version: "0.1.149",
117991
117991
  private: false,
117992
117992
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117993
117993
  license: "MIT",
@@ -408172,7 +408172,6 @@ import { join as join105 } from "path";
408172
408172
  function clearCachedSteps() {
408173
408173
  cachedSteps = null;
408174
408174
  cachedClaudeMdMtime = null;
408175
- cachedDirMtime = null;
408176
408175
  cachedAt = null;
408177
408176
  }
408178
408177
  function isCacheValid() {
@@ -408188,13 +408187,6 @@ function isCacheValid() {
408188
408187
  } catch {
408189
408188
  return false;
408190
408189
  }
408191
- try {
408192
- const currentDirMtime = getFileModificationTime(cwd2) ?? -1;
408193
- if (currentDirMtime !== cachedDirMtime)
408194
- return false;
408195
- } catch {
408196
- return false;
408197
- }
408198
408190
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
408199
408191
  return false;
408200
408192
  }
@@ -408214,11 +408206,6 @@ function getSteps() {
408214
408206
  } catch {
408215
408207
  cachedClaudeMdMtime = -1;
408216
408208
  }
408217
- try {
408218
- cachedDirMtime = getFileModificationTime(cwd2);
408219
- } catch {
408220
- cachedDirMtime = -1;
408221
- }
408222
408209
  cachedAt = Date.now();
408223
408210
  cachedSteps = [
408224
408211
  {
@@ -408265,7 +408252,7 @@ function incrementProjectOnboardingSeenCount() {
408265
408252
  projectOnboardingSeenCount: current.projectOnboardingSeenCount + 1
408266
408253
  }));
408267
408254
  }
408268
- var cachedSteps = null, cachedClaudeMdMtime = null, cachedDirMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408255
+ var cachedSteps = null, cachedClaudeMdMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 2000;
408269
408256
  var init_projectOnboardingState = __esm(() => {
408270
408257
  init_config();
408271
408258
  init_cwd2();
@@ -564555,10 +564542,16 @@ function migrateEnableAllProjectMcpServersToSettings() {
564555
564542
  const enabledSet = new Set(existingEnabledServers);
564556
564543
  const overlappingServers = existingDisabledServers.filter((server) => enabledSet.has(server));
564557
564544
  if (overlappingServers.length > 0) {
564545
+ const overlappingSet = new Set(overlappingServers);
564546
+ for (let i3 = existingDisabledServers.length - 1;i3 >= 0; i3--) {
564547
+ if (overlappingSet.has(existingDisabledServers[i3])) {
564548
+ existingDisabledServers.splice(i3, 1);
564549
+ }
564550
+ }
564558
564551
  logEvent("tengu_migrate_mcp_server_overlap_in_both_lists", {
564559
564552
  migration: "enableAllProjectMcpServersToSettings",
564560
564553
  overlappingServers: overlappingServers.join(","),
564561
- message: "MCP server(s) appear in both enabled and disabled lists. Preserving original disabled list as configured."
564554
+ message: "MCP server(s) appear in both enabled and disabled lists. Removed from disabled list to resolve conflict."
564562
564555
  });
564563
564556
  }
564564
564557
  const existingHadEnabledServers = Array.isArray(existingSettings.enabledMcpjsonServers);
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.147",
8
- BUILD_TIME: "2026-07-27T08:45:06.269Z",
7
+ VERSION: "0.1.149",
8
+ BUILD_TIME: "2026-07-27T18:16:19.948Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117987,7 +117987,7 @@ var package_default;
117987
117987
  var init_package = __esm(() => {
117988
117988
  package_default = {
117989
117989
  name: "@funnycode/myclaude",
117990
- version: "0.1.147",
117990
+ version: "0.1.149",
117991
117991
  private: false,
117992
117992
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117993
117993
  license: "MIT",
@@ -408172,7 +408172,6 @@ import { join as join105 } from "path";
408172
408172
  function clearCachedSteps() {
408173
408173
  cachedSteps = null;
408174
408174
  cachedClaudeMdMtime = null;
408175
- cachedDirMtime = null;
408176
408175
  cachedAt = null;
408177
408176
  }
408178
408177
  function isCacheValid() {
@@ -408188,13 +408187,6 @@ function isCacheValid() {
408188
408187
  } catch {
408189
408188
  return false;
408190
408189
  }
408191
- try {
408192
- const currentDirMtime = getFileModificationTime(cwd2) ?? -1;
408193
- if (currentDirMtime !== cachedDirMtime)
408194
- return false;
408195
- } catch {
408196
- return false;
408197
- }
408198
408190
  if (cachedAt !== null && Date.now() - cachedAt > CACHE_MAX_AGE_MS) {
408199
408191
  return false;
408200
408192
  }
@@ -408214,11 +408206,6 @@ function getSteps() {
408214
408206
  } catch {
408215
408207
  cachedClaudeMdMtime = -1;
408216
408208
  }
408217
- try {
408218
- cachedDirMtime = getFileModificationTime(cwd2);
408219
- } catch {
408220
- cachedDirMtime = -1;
408221
- }
408222
408209
  cachedAt = Date.now();
408223
408210
  cachedSteps = [
408224
408211
  {
@@ -408265,7 +408252,7 @@ function incrementProjectOnboardingSeenCount() {
408265
408252
  projectOnboardingSeenCount: current.projectOnboardingSeenCount + 1
408266
408253
  }));
408267
408254
  }
408268
- var cachedSteps = null, cachedClaudeMdMtime = null, cachedDirMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 30000;
408255
+ var cachedSteps = null, cachedClaudeMdMtime = null, cachedAt = null, CACHE_MAX_AGE_MS = 2000;
408269
408256
  var init_projectOnboardingState = __esm(() => {
408270
408257
  init_config();
408271
408258
  init_cwd2();
@@ -564555,10 +564542,16 @@ function migrateEnableAllProjectMcpServersToSettings() {
564555
564542
  const enabledSet = new Set(existingEnabledServers);
564556
564543
  const overlappingServers = existingDisabledServers.filter((server) => enabledSet.has(server));
564557
564544
  if (overlappingServers.length > 0) {
564545
+ const overlappingSet = new Set(overlappingServers);
564546
+ for (let i3 = existingDisabledServers.length - 1;i3 >= 0; i3--) {
564547
+ if (overlappingSet.has(existingDisabledServers[i3])) {
564548
+ existingDisabledServers.splice(i3, 1);
564549
+ }
564550
+ }
564558
564551
  logEvent("tengu_migrate_mcp_server_overlap_in_both_lists", {
564559
564552
  migration: "enableAllProjectMcpServersToSettings",
564560
564553
  overlappingServers: overlappingServers.join(","),
564561
- message: "MCP server(s) appear in both enabled and disabled lists. Preserving original disabled list as configured."
564554
+ message: "MCP server(s) appear in both enabled and disabled lists. Removed from disabled list to resolve conflict."
564562
564555
  });
564563
564556
  }
564564
564557
  const existingHadEnabledServers = Array.isArray(existingSettings.enabledMcpjsonServers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",