@funnycode/myclaude 0.1.121 → 0.1.122

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.121",
8
- BUILD_TIME: "2026-07-23T00:30:43.487Z",
7
+ VERSION: "0.1.122",
8
+ BUILD_TIME: "2026-07-23T10:48:04.401Z",
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.121",
117793
+ version: "0.1.122",
117794
117794
  private: false,
117795
117795
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117796
117796
  license: "MIT",
@@ -210853,13 +210853,11 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
210853
210853
  reader.releaseLock();
210854
210854
  }
210855
210855
  if (incomplete.trim()) {
210856
- for (const event of incomplete.split(`
210857
-
210858
- `)) {
210859
- const chunk = parseEventData(event);
210860
- if (chunk !== null) {
210861
- chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: chunk }));
210862
- }
210856
+ const chunk = parseEventData(incomplete);
210857
+ if (chunk !== null) {
210858
+ chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: chunk }));
210859
+ } else {
210860
+ chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: incomplete }));
210863
210861
  }
210864
210862
  }
210865
210863
  if (chunkEntries.length > 0) {
@@ -301616,7 +301614,7 @@ function memoizeWithTTL(fn, ttlMs) {
301616
301614
  const refreshPromise = (async () => {
301617
301615
  let timeoutId = null;
301618
301616
  try {
301619
- const timeoutMs = 1e4;
301617
+ const timeoutMs = GROVE_API_TIMEOUT_MS * 3;
301620
301618
  const timeoutPromise = new Promise((_2, reject2) => {
301621
301619
  timeoutId = setTimeout(() => reject2(new Error(`Refresh timeout after ${timeoutMs}ms for key: ${key2}`)), timeoutMs);
301622
301620
  });
@@ -564322,14 +564320,12 @@ function migrateEnableAllProjectMcpServersToSettings() {
564322
564320
  if (Object.keys(updates).length > 0) {
564323
564321
  updateSettingsForSource("localSettings", updates);
564324
564322
  }
564325
- if (fieldsToRemove.includes("enableAllProjectMcpServers") || fieldsToRemove.includes("enabledMcpjsonServers") || fieldsToRemove.includes("disabledMcpjsonServers")) {
564323
+ if (fieldsToRemove.length > 0) {
564326
564324
  saveCurrentProjectConfig((current) => {
564327
- const {
564328
- enableAllProjectMcpServers: _enableAll,
564329
- enabledMcpjsonServers: _enabledServers,
564330
- disabledMcpjsonServers: _disabledServers,
564331
- ...configWithoutFields
564332
- } = current;
564325
+ const configWithoutFields = { ...current };
564326
+ for (const field of fieldsToRemove) {
564327
+ delete configWithoutFields[field];
564328
+ }
564333
564329
  return configWithoutFields;
564334
564330
  });
564335
564331
  }
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.121",
8
- BUILD_TIME: "2026-07-23T00:30:43.487Z",
7
+ VERSION: "0.1.122",
8
+ BUILD_TIME: "2026-07-23T10:48:04.401Z",
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.121",
117793
+ version: "0.1.122",
117794
117794
  private: false,
117795
117795
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117796
117796
  license: "MIT",
@@ -210853,13 +210853,11 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
210853
210853
  reader.releaseLock();
210854
210854
  }
210855
210855
  if (incomplete.trim()) {
210856
- for (const event of incomplete.split(`
210857
-
210858
- `)) {
210859
- const chunk = parseEventData(event);
210860
- if (chunk !== null) {
210861
- chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: chunk }));
210862
- }
210856
+ const chunk = parseEventData(incomplete);
210857
+ if (chunk !== null) {
210858
+ chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: chunk }));
210859
+ } else {
210860
+ chunkEntries.push(jsonStringify({ type: "chunk", timestamp, data: incomplete }));
210863
210861
  }
210864
210862
  }
210865
210863
  if (chunkEntries.length > 0) {
@@ -301616,7 +301614,7 @@ function memoizeWithTTL(fn, ttlMs) {
301616
301614
  const refreshPromise = (async () => {
301617
301615
  let timeoutId = null;
301618
301616
  try {
301619
- const timeoutMs = 1e4;
301617
+ const timeoutMs = GROVE_API_TIMEOUT_MS * 3;
301620
301618
  const timeoutPromise = new Promise((_2, reject2) => {
301621
301619
  timeoutId = setTimeout(() => reject2(new Error(`Refresh timeout after ${timeoutMs}ms for key: ${key2}`)), timeoutMs);
301622
301620
  });
@@ -564322,14 +564320,12 @@ function migrateEnableAllProjectMcpServersToSettings() {
564322
564320
  if (Object.keys(updates).length > 0) {
564323
564321
  updateSettingsForSource("localSettings", updates);
564324
564322
  }
564325
- if (fieldsToRemove.includes("enableAllProjectMcpServers") || fieldsToRemove.includes("enabledMcpjsonServers") || fieldsToRemove.includes("disabledMcpjsonServers")) {
564323
+ if (fieldsToRemove.length > 0) {
564326
564324
  saveCurrentProjectConfig((current) => {
564327
- const {
564328
- enableAllProjectMcpServers: _enableAll,
564329
- enabledMcpjsonServers: _enabledServers,
564330
- disabledMcpjsonServers: _disabledServers,
564331
- ...configWithoutFields
564332
- } = current;
564325
+ const configWithoutFields = { ...current };
564326
+ for (const field of fieldsToRemove) {
564327
+ delete configWithoutFields[field];
564328
+ }
564333
564329
  return configWithoutFields;
564334
564330
  });
564335
564331
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.121",
3
+ "version": "0.1.122",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",