@funnycode/myclaude 0.1.122 → 0.1.123

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.122",
8
- BUILD_TIME: "2026-07-23T10:48:04.401Z",
7
+ VERSION: "0.1.123",
8
+ BUILD_TIME: "2026-07-23T12:48:19.954Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117790,7 +117790,7 @@ var package_default;
117790
117790
  var init_package = __esm(() => {
117791
117791
  package_default = {
117792
117792
  name: "@funnycode/myclaude",
117793
- version: "0.1.122",
117793
+ version: "0.1.123",
117794
117794
  private: false,
117795
117795
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117796
117796
  license: "MIT",
@@ -301620,6 +301620,9 @@ function memoizeWithTTL(fn, ttlMs) {
301620
301620
  });
301621
301621
  const now22 = Date.now();
301622
301622
  if (lastCachedAt !== 0 && now22 - lastCachedAt < ttlMs) {
301623
+ const cached2 = memoized.cache.get(args[0]);
301624
+ if (cached2 !== undefined)
301625
+ return cached2;
301623
301626
  return memoized(...args);
301624
301627
  }
301625
301628
  try {
@@ -301631,12 +301634,12 @@ function memoizeWithTTL(fn, ttlMs) {
301631
301634
  return freshResult;
301632
301635
  }
301633
301636
  if (memoized.cache.has(args[0])) {
301634
- return memoized(...args);
301637
+ return memoized.cache.get(args[0]);
301635
301638
  }
301636
301639
  return freshResult;
301637
301640
  } catch (error49) {
301638
301641
  if (memoized.cache.has(args[0])) {
301639
- return memoized(...args);
301642
+ return memoized.cache.get(args[0]);
301640
301643
  }
301641
301644
  return { success: false };
301642
301645
  }
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.122",
8
- BUILD_TIME: "2026-07-23T10:48:04.401Z",
7
+ VERSION: "0.1.123",
8
+ BUILD_TIME: "2026-07-23T12:48:19.954Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117790,7 +117790,7 @@ var package_default;
117790
117790
  var init_package = __esm(() => {
117791
117791
  package_default = {
117792
117792
  name: "@funnycode/myclaude",
117793
- version: "0.1.122",
117793
+ version: "0.1.123",
117794
117794
  private: false,
117795
117795
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117796
117796
  license: "MIT",
@@ -301620,6 +301620,9 @@ function memoizeWithTTL(fn, ttlMs) {
301620
301620
  });
301621
301621
  const now22 = Date.now();
301622
301622
  if (lastCachedAt !== 0 && now22 - lastCachedAt < ttlMs) {
301623
+ const cached2 = memoized.cache.get(args[0]);
301624
+ if (cached2 !== undefined)
301625
+ return cached2;
301623
301626
  return memoized(...args);
301624
301627
  }
301625
301628
  try {
@@ -301631,12 +301634,12 @@ function memoizeWithTTL(fn, ttlMs) {
301631
301634
  return freshResult;
301632
301635
  }
301633
301636
  if (memoized.cache.has(args[0])) {
301634
- return memoized(...args);
301637
+ return memoized.cache.get(args[0]);
301635
301638
  }
301636
301639
  return freshResult;
301637
301640
  } catch (error49) {
301638
301641
  if (memoized.cache.has(args[0])) {
301639
- return memoized(...args);
301642
+ return memoized.cache.get(args[0]);
301640
301643
  }
301641
301644
  return { success: false };
301642
301645
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.122",
3
+ "version": "0.1.123",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",