@funnycode/myclaude 0.1.121 → 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 +19 -20
- package/dist/myclaude.mjs +19 -20
- 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.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.
|
|
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",
|
|
@@ -210853,13 +210853,11 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210853
210853
|
reader.releaseLock();
|
|
210854
210854
|
}
|
|
210855
210855
|
if (incomplete.trim()) {
|
|
210856
|
-
|
|
210857
|
-
|
|
210858
|
-
|
|
210859
|
-
|
|
210860
|
-
|
|
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,12 +301614,15 @@ function memoizeWithTTL(fn, ttlMs) {
|
|
|
301616
301614
|
const refreshPromise = (async () => {
|
|
301617
301615
|
let timeoutId = null;
|
|
301618
301616
|
try {
|
|
301619
|
-
const timeoutMs =
|
|
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
|
});
|
|
301623
301621
|
const now22 = Date.now();
|
|
301624
301622
|
if (lastCachedAt !== 0 && now22 - lastCachedAt < ttlMs) {
|
|
301623
|
+
const cached2 = memoized.cache.get(args[0]);
|
|
301624
|
+
if (cached2 !== undefined)
|
|
301625
|
+
return cached2;
|
|
301625
301626
|
return memoized(...args);
|
|
301626
301627
|
}
|
|
301627
301628
|
try {
|
|
@@ -301633,12 +301634,12 @@ function memoizeWithTTL(fn, ttlMs) {
|
|
|
301633
301634
|
return freshResult;
|
|
301634
301635
|
}
|
|
301635
301636
|
if (memoized.cache.has(args[0])) {
|
|
301636
|
-
return memoized(
|
|
301637
|
+
return memoized.cache.get(args[0]);
|
|
301637
301638
|
}
|
|
301638
301639
|
return freshResult;
|
|
301639
301640
|
} catch (error49) {
|
|
301640
301641
|
if (memoized.cache.has(args[0])) {
|
|
301641
|
-
return memoized(
|
|
301642
|
+
return memoized.cache.get(args[0]);
|
|
301642
301643
|
}
|
|
301643
301644
|
return { success: false };
|
|
301644
301645
|
}
|
|
@@ -564322,14 +564323,12 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
564322
564323
|
if (Object.keys(updates).length > 0) {
|
|
564323
564324
|
updateSettingsForSource("localSettings", updates);
|
|
564324
564325
|
}
|
|
564325
|
-
if (fieldsToRemove.
|
|
564326
|
+
if (fieldsToRemove.length > 0) {
|
|
564326
564327
|
saveCurrentProjectConfig((current) => {
|
|
564327
|
-
const {
|
|
564328
|
-
|
|
564329
|
-
|
|
564330
|
-
|
|
564331
|
-
...configWithoutFields
|
|
564332
|
-
} = current;
|
|
564328
|
+
const configWithoutFields = { ...current };
|
|
564329
|
+
for (const field of fieldsToRemove) {
|
|
564330
|
+
delete configWithoutFields[field];
|
|
564331
|
+
}
|
|
564333
564332
|
return configWithoutFields;
|
|
564334
564333
|
});
|
|
564335
564334
|
}
|
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.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.
|
|
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",
|
|
@@ -210853,13 +210853,11 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210853
210853
|
reader.releaseLock();
|
|
210854
210854
|
}
|
|
210855
210855
|
if (incomplete.trim()) {
|
|
210856
|
-
|
|
210857
|
-
|
|
210858
|
-
|
|
210859
|
-
|
|
210860
|
-
|
|
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,12 +301614,15 @@ function memoizeWithTTL(fn, ttlMs) {
|
|
|
301616
301614
|
const refreshPromise = (async () => {
|
|
301617
301615
|
let timeoutId = null;
|
|
301618
301616
|
try {
|
|
301619
|
-
const timeoutMs =
|
|
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
|
});
|
|
301623
301621
|
const now22 = Date.now();
|
|
301624
301622
|
if (lastCachedAt !== 0 && now22 - lastCachedAt < ttlMs) {
|
|
301623
|
+
const cached2 = memoized.cache.get(args[0]);
|
|
301624
|
+
if (cached2 !== undefined)
|
|
301625
|
+
return cached2;
|
|
301625
301626
|
return memoized(...args);
|
|
301626
301627
|
}
|
|
301627
301628
|
try {
|
|
@@ -301633,12 +301634,12 @@ function memoizeWithTTL(fn, ttlMs) {
|
|
|
301633
301634
|
return freshResult;
|
|
301634
301635
|
}
|
|
301635
301636
|
if (memoized.cache.has(args[0])) {
|
|
301636
|
-
return memoized(
|
|
301637
|
+
return memoized.cache.get(args[0]);
|
|
301637
301638
|
}
|
|
301638
301639
|
return freshResult;
|
|
301639
301640
|
} catch (error49) {
|
|
301640
301641
|
if (memoized.cache.has(args[0])) {
|
|
301641
|
-
return memoized(
|
|
301642
|
+
return memoized.cache.get(args[0]);
|
|
301642
301643
|
}
|
|
301643
301644
|
return { success: false };
|
|
301644
301645
|
}
|
|
@@ -564322,14 +564323,12 @@ function migrateEnableAllProjectMcpServersToSettings() {
|
|
|
564322
564323
|
if (Object.keys(updates).length > 0) {
|
|
564323
564324
|
updateSettingsForSource("localSettings", updates);
|
|
564324
564325
|
}
|
|
564325
|
-
if (fieldsToRemove.
|
|
564326
|
+
if (fieldsToRemove.length > 0) {
|
|
564326
564327
|
saveCurrentProjectConfig((current) => {
|
|
564327
|
-
const {
|
|
564328
|
-
|
|
564329
|
-
|
|
564330
|
-
|
|
564331
|
-
...configWithoutFields
|
|
564332
|
-
} = current;
|
|
564328
|
+
const configWithoutFields = { ...current };
|
|
564329
|
+
for (const field of fieldsToRemove) {
|
|
564330
|
+
delete configWithoutFields[field];
|
|
564331
|
+
}
|
|
564333
564332
|
return configWithoutFields;
|
|
564334
564333
|
});
|
|
564335
564334
|
}
|