@funnycode/myclaude 0.1.88 → 0.1.89

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.88",
8
- BUILD_TIME: "2026-07-17T10:35:59.798Z",
7
+ VERSION: "0.1.89",
8
+ BUILD_TIME: "2026-07-17T12:20:44.184Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117484,7 +117484,7 @@ var package_default;
117484
117484
  var init_package = __esm(() => {
117485
117485
  package_default = {
117486
117486
  name: "@funnycode/myclaude",
117487
- version: "0.1.88",
117487
+ version: "0.1.89",
117488
117488
  private: false,
117489
117489
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117490
117490
  license: "MIT",
@@ -210158,6 +210158,7 @@ function enqueueDumpRequest(agentIdOrSessionId, callback) {
210158
210158
  }
210159
210159
  dumpRequestQueue.get(agentIdOrSessionId).push(callback);
210160
210160
  if (!processingQueues.has(agentIdOrSessionId)) {
210161
+ processingQueues.add(agentIdOrSessionId);
210161
210162
  processQueue(agentIdOrSessionId);
210162
210163
  }
210163
210164
  }
@@ -300886,11 +300887,17 @@ function memoizeWithTTL(fn, ttlMs) {
300886
300887
  originalClear();
300887
300888
  lastCachedAt = 0;
300888
300889
  }
300889
- const result = await memoized(...args);
300890
- if (result && typeof result === "object" && "success" in result && result.success === true) {
300891
- lastCachedAt = Date.now();
300890
+ try {
300891
+ const result = await memoized(...args);
300892
+ if (result && typeof result === "object" && "success" in result && result.success === true) {
300893
+ lastCachedAt = Date.now();
300894
+ }
300895
+ return result;
300896
+ } catch (error49) {
300897
+ originalClear();
300898
+ lastCachedAt = 0;
300899
+ throw error49;
300892
300900
  }
300893
- return result;
300894
300901
  };
300895
300902
  wrapped.cache = {
300896
300903
  clear: () => {
@@ -301052,7 +301059,7 @@ An update to our Consumer Terms and Privacy Policy will take effect on October 8
301052
301059
  }
301053
301060
  }
301054
301061
  }
301055
- var groveConfigLocks, GROVE_CACHE_EXPIRATION_MS, getGroveSettings, getGroveNoticeConfig;
301062
+ var groveConfigLocks, GROVE_CACHE_EXPIRATION_MS, GROVE_API_TIMEOUT_MS, getGroveSettings, getGroveNoticeConfig;
301056
301063
  var init_grove = __esm(() => {
301057
301064
  init_axios2();
301058
301065
  init_memoize();
@@ -301066,6 +301073,7 @@ var init_grove = __esm(() => {
301066
301073
  init_log3();
301067
301074
  groveConfigLocks = new Map;
301068
301075
  GROVE_CACHE_EXPIRATION_MS = 24 * 60 * 60 * 1000;
301076
+ GROVE_API_TIMEOUT_MS = parseInt(process.env.GROVE_API_TIMEOUT_MS ?? "3000", 10);
301069
301077
  getGroveSettings = memoizeWithTTL(async () => {
301070
301078
  if (isEssentialTrafficOnly()) {
301071
301079
  return { success: false };
@@ -301105,7 +301113,7 @@ var init_grove = __esm(() => {
301105
301113
  ...authHeaders.headers,
301106
301114
  "User-Agent": getUserAgent()
301107
301115
  },
301108
- timeout: 3000
301116
+ timeout: GROVE_API_TIMEOUT_MS
301109
301117
  });
301110
301118
  });
301111
301119
  const {
@@ -301125,6 +301133,9 @@ var init_grove = __esm(() => {
301125
301133
  };
301126
301134
  } catch (err2) {
301127
301135
  logError2(err2);
301136
+ if (axios_default.isAxiosError(err2) && err2.code === "ECONNABORTED") {
301137
+ logForDebugging(`Grove: API request timed out after ${GROVE_API_TIMEOUT_MS}ms. This may cause the Grove dialog to be suppressed for users with slow connections.`);
301138
+ }
301128
301139
  getGroveNoticeConfig.cache.clear?.();
301129
301140
  return { success: false };
301130
301141
  }
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.88",
8
- BUILD_TIME: "2026-07-17T10:35:59.798Z",
7
+ VERSION: "0.1.89",
8
+ BUILD_TIME: "2026-07-17T12:20:44.184Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117484,7 +117484,7 @@ var package_default;
117484
117484
  var init_package = __esm(() => {
117485
117485
  package_default = {
117486
117486
  name: "@funnycode/myclaude",
117487
- version: "0.1.88",
117487
+ version: "0.1.89",
117488
117488
  private: false,
117489
117489
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117490
117490
  license: "MIT",
@@ -210158,6 +210158,7 @@ function enqueueDumpRequest(agentIdOrSessionId, callback) {
210158
210158
  }
210159
210159
  dumpRequestQueue.get(agentIdOrSessionId).push(callback);
210160
210160
  if (!processingQueues.has(agentIdOrSessionId)) {
210161
+ processingQueues.add(agentIdOrSessionId);
210161
210162
  processQueue(agentIdOrSessionId);
210162
210163
  }
210163
210164
  }
@@ -300886,11 +300887,17 @@ function memoizeWithTTL(fn, ttlMs) {
300886
300887
  originalClear();
300887
300888
  lastCachedAt = 0;
300888
300889
  }
300889
- const result = await memoized(...args);
300890
- if (result && typeof result === "object" && "success" in result && result.success === true) {
300891
- lastCachedAt = Date.now();
300890
+ try {
300891
+ const result = await memoized(...args);
300892
+ if (result && typeof result === "object" && "success" in result && result.success === true) {
300893
+ lastCachedAt = Date.now();
300894
+ }
300895
+ return result;
300896
+ } catch (error49) {
300897
+ originalClear();
300898
+ lastCachedAt = 0;
300899
+ throw error49;
300892
300900
  }
300893
- return result;
300894
300901
  };
300895
300902
  wrapped.cache = {
300896
300903
  clear: () => {
@@ -301052,7 +301059,7 @@ An update to our Consumer Terms and Privacy Policy will take effect on October 8
301052
301059
  }
301053
301060
  }
301054
301061
  }
301055
- var groveConfigLocks, GROVE_CACHE_EXPIRATION_MS, getGroveSettings, getGroveNoticeConfig;
301062
+ var groveConfigLocks, GROVE_CACHE_EXPIRATION_MS, GROVE_API_TIMEOUT_MS, getGroveSettings, getGroveNoticeConfig;
301056
301063
  var init_grove = __esm(() => {
301057
301064
  init_axios2();
301058
301065
  init_memoize();
@@ -301066,6 +301073,7 @@ var init_grove = __esm(() => {
301066
301073
  init_log3();
301067
301074
  groveConfigLocks = new Map;
301068
301075
  GROVE_CACHE_EXPIRATION_MS = 24 * 60 * 60 * 1000;
301076
+ GROVE_API_TIMEOUT_MS = parseInt(process.env.GROVE_API_TIMEOUT_MS ?? "3000", 10);
301069
301077
  getGroveSettings = memoizeWithTTL(async () => {
301070
301078
  if (isEssentialTrafficOnly()) {
301071
301079
  return { success: false };
@@ -301105,7 +301113,7 @@ var init_grove = __esm(() => {
301105
301113
  ...authHeaders.headers,
301106
301114
  "User-Agent": getUserAgent()
301107
301115
  },
301108
- timeout: 3000
301116
+ timeout: GROVE_API_TIMEOUT_MS
301109
301117
  });
301110
301118
  });
301111
301119
  const {
@@ -301125,6 +301133,9 @@ var init_grove = __esm(() => {
301125
301133
  };
301126
301134
  } catch (err2) {
301127
301135
  logError2(err2);
301136
+ if (axios_default.isAxiosError(err2) && err2.code === "ECONNABORTED") {
301137
+ logForDebugging(`Grove: API request timed out after ${GROVE_API_TIMEOUT_MS}ms. This may cause the Grove dialog to be suppressed for users with slow connections.`);
301138
+ }
301128
301139
  getGroveNoticeConfig.cache.clear?.();
301129
301140
  return { success: false };
301130
301141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",