@funnycode/myclaude 0.1.82 → 0.1.83
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 +6 -9
- package/dist/myclaude.mjs +6 -9
- 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.83",
|
|
8
|
+
BUILD_TIME: "2026-07-16T16:39:24.825Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -40824,12 +40824,9 @@ function hasBinaryExtension(filePath) {
|
|
|
40824
40824
|
return BINARY_EXTENSIONS.has(ext);
|
|
40825
40825
|
}
|
|
40826
40826
|
function isBinaryContent(buffer) {
|
|
40827
|
-
const checkSize = Math.min(buffer.length, BINARY_CHECK_SIZE);
|
|
40828
40827
|
let nonPrintable = 0;
|
|
40829
|
-
for (let i2 = 0;i2 <
|
|
40828
|
+
for (let i2 = 0;i2 < buffer.length; i2++) {
|
|
40830
40829
|
const byte = buffer[i2];
|
|
40831
|
-
if (byte === undefined)
|
|
40832
|
-
break;
|
|
40833
40830
|
if (byte === 0) {
|
|
40834
40831
|
return true;
|
|
40835
40832
|
}
|
|
@@ -40837,9 +40834,9 @@ function isBinaryContent(buffer) {
|
|
|
40837
40834
|
nonPrintable++;
|
|
40838
40835
|
}
|
|
40839
40836
|
}
|
|
40840
|
-
return nonPrintable /
|
|
40837
|
+
return nonPrintable / buffer.length > 0.2;
|
|
40841
40838
|
}
|
|
40842
|
-
var BINARY_EXTENSIONS
|
|
40839
|
+
var BINARY_EXTENSIONS;
|
|
40843
40840
|
var init_files2 = __esm(() => {
|
|
40844
40841
|
BINARY_EXTENSIONS = new Set([
|
|
40845
40842
|
".png",
|
|
@@ -117487,7 +117484,7 @@ var package_default;
|
|
|
117487
117484
|
var init_package = __esm(() => {
|
|
117488
117485
|
package_default = {
|
|
117489
117486
|
name: "@funnycode/myclaude",
|
|
117490
|
-
version: "0.1.
|
|
117487
|
+
version: "0.1.83",
|
|
117491
117488
|
private: false,
|
|
117492
117489
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117493
117490
|
license: "MIT",
|
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.83",
|
|
8
|
+
BUILD_TIME: "2026-07-16T16:39:24.825Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -40824,12 +40824,9 @@ function hasBinaryExtension(filePath) {
|
|
|
40824
40824
|
return BINARY_EXTENSIONS.has(ext);
|
|
40825
40825
|
}
|
|
40826
40826
|
function isBinaryContent(buffer) {
|
|
40827
|
-
const checkSize = Math.min(buffer.length, BINARY_CHECK_SIZE);
|
|
40828
40827
|
let nonPrintable = 0;
|
|
40829
|
-
for (let i2 = 0;i2 <
|
|
40828
|
+
for (let i2 = 0;i2 < buffer.length; i2++) {
|
|
40830
40829
|
const byte = buffer[i2];
|
|
40831
|
-
if (byte === undefined)
|
|
40832
|
-
break;
|
|
40833
40830
|
if (byte === 0) {
|
|
40834
40831
|
return true;
|
|
40835
40832
|
}
|
|
@@ -40837,9 +40834,9 @@ function isBinaryContent(buffer) {
|
|
|
40837
40834
|
nonPrintable++;
|
|
40838
40835
|
}
|
|
40839
40836
|
}
|
|
40840
|
-
return nonPrintable /
|
|
40837
|
+
return nonPrintable / buffer.length > 0.2;
|
|
40841
40838
|
}
|
|
40842
|
-
var BINARY_EXTENSIONS
|
|
40839
|
+
var BINARY_EXTENSIONS;
|
|
40843
40840
|
var init_files2 = __esm(() => {
|
|
40844
40841
|
BINARY_EXTENSIONS = new Set([
|
|
40845
40842
|
".png",
|
|
@@ -117487,7 +117484,7 @@ var package_default;
|
|
|
117487
117484
|
var init_package = __esm(() => {
|
|
117488
117485
|
package_default = {
|
|
117489
117486
|
name: "@funnycode/myclaude",
|
|
117490
|
-
version: "0.1.
|
|
117487
|
+
version: "0.1.83",
|
|
117491
117488
|
private: false,
|
|
117492
117489
|
description: "An open-source AI coding assistant in your terminal - powered by Claude",
|
|
117493
117490
|
license: "MIT",
|