@funnycode/myclaude 0.1.104 → 0.1.105
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 +20 -18
- package/dist/myclaude.mjs +20 -18
- 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.105",
|
|
8
|
+
BUILD_TIME: "2026-07-19T17:13:00.724Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -117491,7 +117491,7 @@ var package_default;
|
|
|
117491
117491
|
var init_package = __esm(() => {
|
|
117492
117492
|
package_default = {
|
|
117493
117493
|
name: "@funnycode/myclaude",
|
|
117494
|
-
version: "0.1.
|
|
117494
|
+
version: "0.1.105",
|
|
117495
117495
|
private: false,
|
|
117496
117496
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117497
117497
|
license: "MIT",
|
|
@@ -210173,27 +210173,29 @@ function enqueueDumpRequest(agentIdOrSessionId, callback) {
|
|
|
210173
210173
|
async function processQueue(agentIdOrSessionId) {
|
|
210174
210174
|
try {
|
|
210175
210175
|
while (true) {
|
|
210176
|
+
while (true) {
|
|
210177
|
+
const queue2 = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210178
|
+
if (!queue2 || queue2.length === 0) {
|
|
210179
|
+
break;
|
|
210180
|
+
}
|
|
210181
|
+
const callback = queue2.shift();
|
|
210182
|
+
try {
|
|
210183
|
+
await callback();
|
|
210184
|
+
} catch (err2) {
|
|
210185
|
+
logForDebugging(`dumpPrompts.processQueue: callback threw: ${err2}`, { level: "error" });
|
|
210186
|
+
}
|
|
210187
|
+
}
|
|
210176
210188
|
const queue = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210177
210189
|
if (!queue || queue.length === 0) {
|
|
210178
|
-
break;
|
|
210179
|
-
}
|
|
210180
|
-
const callback = queue.shift();
|
|
210181
|
-
await callback();
|
|
210182
|
-
}
|
|
210183
|
-
} finally {
|
|
210184
|
-
const queue = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210185
|
-
if (queue && queue.length > 0) {
|
|
210186
|
-
try {
|
|
210187
|
-
await processQueue(agentIdOrSessionId);
|
|
210188
|
-
} catch (err2) {
|
|
210189
|
-
logError2(`processQueue: recursive call failed for ${agentIdOrSessionId}`, err2);
|
|
210190
210190
|
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210191
210191
|
processingFlags.delete(agentIdOrSessionId);
|
|
210192
|
+
return;
|
|
210192
210193
|
}
|
|
210193
|
-
} else {
|
|
210194
|
-
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210195
|
-
processingFlags.delete(agentIdOrSessionId);
|
|
210196
210194
|
}
|
|
210195
|
+
} catch (err2) {
|
|
210196
|
+
logError2(`processQueue: failed for ${agentIdOrSessionId}`, err2);
|
|
210197
|
+
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210198
|
+
processingFlags.delete(agentIdOrSessionId);
|
|
210197
210199
|
}
|
|
210198
210200
|
}
|
|
210199
210201
|
function clearDumpState(agentIdOrSessionId) {
|
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.105",
|
|
8
|
+
BUILD_TIME: "2026-07-19T17:13:00.724Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -117491,7 +117491,7 @@ var package_default;
|
|
|
117491
117491
|
var init_package = __esm(() => {
|
|
117492
117492
|
package_default = {
|
|
117493
117493
|
name: "@funnycode/myclaude",
|
|
117494
|
-
version: "0.1.
|
|
117494
|
+
version: "0.1.105",
|
|
117495
117495
|
private: false,
|
|
117496
117496
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117497
117497
|
license: "MIT",
|
|
@@ -210173,27 +210173,29 @@ function enqueueDumpRequest(agentIdOrSessionId, callback) {
|
|
|
210173
210173
|
async function processQueue(agentIdOrSessionId) {
|
|
210174
210174
|
try {
|
|
210175
210175
|
while (true) {
|
|
210176
|
+
while (true) {
|
|
210177
|
+
const queue2 = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210178
|
+
if (!queue2 || queue2.length === 0) {
|
|
210179
|
+
break;
|
|
210180
|
+
}
|
|
210181
|
+
const callback = queue2.shift();
|
|
210182
|
+
try {
|
|
210183
|
+
await callback();
|
|
210184
|
+
} catch (err2) {
|
|
210185
|
+
logForDebugging(`dumpPrompts.processQueue: callback threw: ${err2}`, { level: "error" });
|
|
210186
|
+
}
|
|
210187
|
+
}
|
|
210176
210188
|
const queue = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210177
210189
|
if (!queue || queue.length === 0) {
|
|
210178
|
-
break;
|
|
210179
|
-
}
|
|
210180
|
-
const callback = queue.shift();
|
|
210181
|
-
await callback();
|
|
210182
|
-
}
|
|
210183
|
-
} finally {
|
|
210184
|
-
const queue = dumpRequestQueue.get(agentIdOrSessionId);
|
|
210185
|
-
if (queue && queue.length > 0) {
|
|
210186
|
-
try {
|
|
210187
|
-
await processQueue(agentIdOrSessionId);
|
|
210188
|
-
} catch (err2) {
|
|
210189
|
-
logError2(`processQueue: recursive call failed for ${agentIdOrSessionId}`, err2);
|
|
210190
210190
|
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210191
210191
|
processingFlags.delete(agentIdOrSessionId);
|
|
210192
|
+
return;
|
|
210192
210193
|
}
|
|
210193
|
-
} else {
|
|
210194
|
-
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210195
|
-
processingFlags.delete(agentIdOrSessionId);
|
|
210196
210194
|
}
|
|
210195
|
+
} catch (err2) {
|
|
210196
|
+
logError2(`processQueue: failed for ${agentIdOrSessionId}`, err2);
|
|
210197
|
+
dumpRequestQueue.delete(agentIdOrSessionId);
|
|
210198
|
+
processingFlags.delete(agentIdOrSessionId);
|
|
210197
210199
|
}
|
|
210198
210200
|
}
|
|
210199
210201
|
function clearDumpState(agentIdOrSessionId) {
|