@funnycode/myclaude 0.1.85 → 0.1.86
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 +16 -5
- package/dist/myclaude.mjs +16 -5
- 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.86",
|
|
8
|
+
BUILD_TIME: "2026-07-17T00:07:06.766Z",
|
|
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.
|
|
117487
|
+
version: "0.1.86",
|
|
117488
117488
|
private: false,
|
|
117489
117489
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117490
117490
|
license: "MIT",
|
|
@@ -210237,7 +210237,11 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210237
210237
|
}
|
|
210238
210238
|
for (const msg of messages.slice(state.messageCountSeen)) {
|
|
210239
210239
|
if (msg.role === "user") {
|
|
210240
|
-
|
|
210240
|
+
try {
|
|
210241
|
+
entries.push(jsonStringify({ type: "message", timestamp: ts, data: msg }));
|
|
210242
|
+
} catch (err2) {
|
|
210243
|
+
logError2(`dumpPrompts.dumpRequest: failed to stringify message: ${err2}`);
|
|
210244
|
+
}
|
|
210241
210245
|
}
|
|
210242
210246
|
}
|
|
210243
210247
|
if (shouldWriteInitData) {
|
|
@@ -210334,6 +210338,7 @@ var init_dumpPrompts = __esm(() => {
|
|
|
210334
210338
|
init_envUtils();
|
|
210335
210339
|
init_slowOperations();
|
|
210336
210340
|
init_debug();
|
|
210341
|
+
init_log3();
|
|
210337
210342
|
cachedApiRequests = [];
|
|
210338
210343
|
dumpState = new Map;
|
|
210339
210344
|
dumpRequestQueue = new Map;
|
|
@@ -342263,7 +342268,13 @@ function findLastUuid(logs2) {
|
|
|
342263
342268
|
if (!logs2) {
|
|
342264
342269
|
return;
|
|
342265
342270
|
}
|
|
342266
|
-
|
|
342271
|
+
let entry;
|
|
342272
|
+
for (let i3 = logs2.length - 1;i3 >= 0; i3--) {
|
|
342273
|
+
if ("uuid" in logs2[i3] && logs2[i3].uuid) {
|
|
342274
|
+
entry = logs2[i3];
|
|
342275
|
+
break;
|
|
342276
|
+
}
|
|
342277
|
+
}
|
|
342267
342278
|
return entry && "uuid" in entry ? entry.uuid : undefined;
|
|
342268
342279
|
}
|
|
342269
342280
|
function clearAllSessions() {
|
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.86",
|
|
8
|
+
BUILD_TIME: "2026-07-17T00:07:06.766Z",
|
|
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.
|
|
117487
|
+
version: "0.1.86",
|
|
117488
117488
|
private: false,
|
|
117489
117489
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117490
117490
|
license: "MIT",
|
|
@@ -210237,7 +210237,11 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210237
210237
|
}
|
|
210238
210238
|
for (const msg of messages.slice(state.messageCountSeen)) {
|
|
210239
210239
|
if (msg.role === "user") {
|
|
210240
|
-
|
|
210240
|
+
try {
|
|
210241
|
+
entries.push(jsonStringify({ type: "message", timestamp: ts, data: msg }));
|
|
210242
|
+
} catch (err2) {
|
|
210243
|
+
logError2(`dumpPrompts.dumpRequest: failed to stringify message: ${err2}`);
|
|
210244
|
+
}
|
|
210241
210245
|
}
|
|
210242
210246
|
}
|
|
210243
210247
|
if (shouldWriteInitData) {
|
|
@@ -210334,6 +210338,7 @@ var init_dumpPrompts = __esm(() => {
|
|
|
210334
210338
|
init_envUtils();
|
|
210335
210339
|
init_slowOperations();
|
|
210336
210340
|
init_debug();
|
|
210341
|
+
init_log3();
|
|
210337
210342
|
cachedApiRequests = [];
|
|
210338
210343
|
dumpState = new Map;
|
|
210339
210344
|
dumpRequestQueue = new Map;
|
|
@@ -342263,7 +342268,13 @@ function findLastUuid(logs2) {
|
|
|
342263
342268
|
if (!logs2) {
|
|
342264
342269
|
return;
|
|
342265
342270
|
}
|
|
342266
|
-
|
|
342271
|
+
let entry;
|
|
342272
|
+
for (let i3 = logs2.length - 1;i3 >= 0; i3--) {
|
|
342273
|
+
if ("uuid" in logs2[i3] && logs2[i3].uuid) {
|
|
342274
|
+
entry = logs2[i3];
|
|
342275
|
+
break;
|
|
342276
|
+
}
|
|
342277
|
+
}
|
|
342267
342278
|
return entry && "uuid" in entry ? entry.uuid : undefined;
|
|
342268
342279
|
}
|
|
342269
342280
|
function clearAllSessions() {
|