@bash0816/claude-code 2.1.265 → 2.1.269
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/README.md
CHANGED
|
@@ -1594,7 +1594,7 @@
|
|
|
1594
1594
|
"entry_format": "esm-chunked",
|
|
1595
1595
|
"tarball_integrity": "sha512-GXnUtObpOzFNdEKUuZbswfRzNtWteEvp4p/+0hW2gT0L/YEUw4hoKH+i6iJAHXzsT0mKw1PjzLWK2aUAlA1tAw==",
|
|
1596
1596
|
"tarball_sha256": "e39f8c8374b27672cd916c4c17fa3bc88d13994e012c7c20320d831b6e44a5a5",
|
|
1597
|
-
"status": "
|
|
1597
|
+
"status": "termux_verified",
|
|
1598
1598
|
"num_modules": 1827,
|
|
1599
1599
|
"byte_count": 128265521,
|
|
1600
1600
|
"cycle_hoists": [
|
|
@@ -1680,6 +1680,204 @@
|
|
|
1680
1680
|
"hljsBundle.generated.min.js",
|
|
1681
1681
|
"mermaid.min.js"
|
|
1682
1682
|
]
|
|
1683
|
+
},
|
|
1684
|
+
"2.1.268": {
|
|
1685
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.268",
|
|
1686
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.268",
|
|
1687
|
+
"entry_format": "esm-chunked",
|
|
1688
|
+
"tarball_integrity": "sha512-roxzE42QnT9Kp7ebPHPXQrCv4COI+OjIEQ9yvvxrRolVT18WLn3rUm8GBd1t5YqZLfvefbfgypKyFJKpyK3AbA==",
|
|
1689
|
+
"tarball_sha256": "3672b568660254dcb1c02a17b59927006cce90b7190e167ca249a8ebbb2fb505",
|
|
1690
|
+
"status": "termux_verified",
|
|
1691
|
+
"num_modules": 1837,
|
|
1692
|
+
"byte_count": 130930631,
|
|
1693
|
+
"cycle_hoists": [
|
|
1694
|
+
{
|
|
1695
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1696
|
+
"targetModule": "chunk-36ehy17r.js",
|
|
1697
|
+
"expectedOccurrences": 1,
|
|
1698
|
+
"assertProperties": [
|
|
1699
|
+
"MonitorTool"
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1704
|
+
"targetModule": "chunk-zsfqsjwy.js",
|
|
1705
|
+
"expectedOccurrences": 1,
|
|
1706
|
+
"assertProperties": [
|
|
1707
|
+
"ProposeSkillsTool"
|
|
1708
|
+
]
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1712
|
+
"targetModule": "chunk-vjq52784.js",
|
|
1713
|
+
"expectedOccurrences": 1,
|
|
1714
|
+
"assertProperties": [
|
|
1715
|
+
"EndConversationTool"
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1720
|
+
"targetModule": "chunk-e7c9qrda.js",
|
|
1721
|
+
"expectedOccurrences": 1,
|
|
1722
|
+
"assertProperties": [
|
|
1723
|
+
"ArtifactTool"
|
|
1724
|
+
]
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1728
|
+
"targetModule": "chunk-7jfzmqkv.js",
|
|
1729
|
+
"expectedOccurrences": 1,
|
|
1730
|
+
"assertProperties": [
|
|
1731
|
+
"WorkflowTool"
|
|
1732
|
+
]
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1736
|
+
"targetModule": "chunk-pxj1yw68.js",
|
|
1737
|
+
"expectedOccurrences": 1,
|
|
1738
|
+
"assertProperties": []
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1742
|
+
"targetModule": "chunk-e6qjwhrx.js",
|
|
1743
|
+
"expectedOccurrences": 2,
|
|
1744
|
+
"assertProperties": []
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1748
|
+
"targetModule": "chunk-ht9h01aw.js",
|
|
1749
|
+
"expectedOccurrences": 1,
|
|
1750
|
+
"assertProperties": []
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1754
|
+
"targetModule": "chunk-8e2gn1fp.js",
|
|
1755
|
+
"expectedOccurrences": 1,
|
|
1756
|
+
"assertProperties": [
|
|
1757
|
+
"default"
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"file": "chunk-3dnzj0t8.js",
|
|
1762
|
+
"targetModule": "chunk-kxxp0vcp.js",
|
|
1763
|
+
"expectedOccurrences": 3,
|
|
1764
|
+
"assertProperties": [
|
|
1765
|
+
"getWorkflowCommands",
|
|
1766
|
+
"invalidateWorkflowCache",
|
|
1767
|
+
"warmWorkflows"
|
|
1768
|
+
]
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"file": "chunk-npd7x1qt.js",
|
|
1772
|
+
"targetModule": "chunk-0yjd7ckh.js",
|
|
1773
|
+
"expectedOccurrences": 1,
|
|
1774
|
+
"assertProperties": []
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"cycle_hoists_skipped_assets": [
|
|
1778
|
+
"chart.umd.min.js",
|
|
1779
|
+
"hljsBundle.generated.min.js",
|
|
1780
|
+
"mermaid.min.js"
|
|
1781
|
+
]
|
|
1782
|
+
},
|
|
1783
|
+
"2.1.269": {
|
|
1784
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.269",
|
|
1785
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.269",
|
|
1786
|
+
"entry_format": "esm-chunked",
|
|
1787
|
+
"tarball_integrity": "sha512-aFhjKAV8ihVlhyeXwRxzC9JpoDinXIMpJFbl+JW3Lc68XhCq5+O27qiryOV0RQ3MtUo1uxoOXrAhX3vUNGjUnA==",
|
|
1788
|
+
"tarball_sha256": "61e3610ab8c5d1af961f08a4d7b58b6ec6b220d0e3b777511a0399d306b7c765",
|
|
1789
|
+
"status": "offset_discovered",
|
|
1790
|
+
"num_modules": 1864,
|
|
1791
|
+
"byte_count": 131352394,
|
|
1792
|
+
"cycle_hoists": [
|
|
1793
|
+
{
|
|
1794
|
+
"file": "chunk-6sssesag.js",
|
|
1795
|
+
"targetModule": "chunk-wtrnpg16.js",
|
|
1796
|
+
"expectedOccurrences": 1,
|
|
1797
|
+
"assertProperties": []
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1801
|
+
"targetModule": "chunk-8tx17qea.js",
|
|
1802
|
+
"expectedOccurrences": 1,
|
|
1803
|
+
"assertProperties": []
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1807
|
+
"targetModule": "chunk-5ax8rp9j.js",
|
|
1808
|
+
"expectedOccurrences": 2,
|
|
1809
|
+
"assertProperties": []
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1813
|
+
"targetModule": "chunk-db0xh8be.js",
|
|
1814
|
+
"expectedOccurrences": 1,
|
|
1815
|
+
"assertProperties": []
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1819
|
+
"targetModule": "chunk-w3v96zq6.js",
|
|
1820
|
+
"expectedOccurrences": 1,
|
|
1821
|
+
"assertProperties": [
|
|
1822
|
+
"MonitorTool"
|
|
1823
|
+
]
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1827
|
+
"targetModule": "chunk-7twx10p5.js",
|
|
1828
|
+
"expectedOccurrences": 1,
|
|
1829
|
+
"assertProperties": [
|
|
1830
|
+
"ProposeSkillsTool"
|
|
1831
|
+
]
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1835
|
+
"targetModule": "chunk-ww964qp2.js",
|
|
1836
|
+
"expectedOccurrences": 1,
|
|
1837
|
+
"assertProperties": [
|
|
1838
|
+
"EndConversationTool"
|
|
1839
|
+
]
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1843
|
+
"targetModule": "chunk-s1kc7scx.js",
|
|
1844
|
+
"expectedOccurrences": 1,
|
|
1845
|
+
"assertProperties": [
|
|
1846
|
+
"ArtifactTool"
|
|
1847
|
+
]
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1851
|
+
"targetModule": "chunk-2kfyyh31.js",
|
|
1852
|
+
"expectedOccurrences": 1,
|
|
1853
|
+
"assertProperties": [
|
|
1854
|
+
"WorkflowTool"
|
|
1855
|
+
]
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1859
|
+
"targetModule": "chunk-142amtjm.js",
|
|
1860
|
+
"expectedOccurrences": 1,
|
|
1861
|
+
"assertProperties": [
|
|
1862
|
+
"default"
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"file": "chunk-fjfjb1nh.js",
|
|
1867
|
+
"targetModule": "chunk-epshjzre.js",
|
|
1868
|
+
"expectedOccurrences": 3,
|
|
1869
|
+
"assertProperties": [
|
|
1870
|
+
"getWorkflowCommands",
|
|
1871
|
+
"invalidateWorkflowCache",
|
|
1872
|
+
"warmWorkflows"
|
|
1873
|
+
]
|
|
1874
|
+
}
|
|
1875
|
+
],
|
|
1876
|
+
"cycle_hoists_skipped_assets": [
|
|
1877
|
+
"chart.umd.min.js",
|
|
1878
|
+
"hljsBundle.generated.min.js",
|
|
1879
|
+
"mermaid.min.js"
|
|
1880
|
+
]
|
|
1683
1881
|
}
|
|
1684
1882
|
}
|
|
1685
1883
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"package_name": "@bash0816/claude-code",
|
|
4
|
-
"latest_audited_version": "2.1.
|
|
5
|
-
"latest_candidate_version": "2.1.
|
|
6
|
-
"previous_stable_version": "2.1.
|
|
4
|
+
"latest_audited_version": "2.1.268",
|
|
5
|
+
"latest_candidate_version": "2.1.269",
|
|
6
|
+
"previous_stable_version": "2.1.265",
|
|
7
7
|
"stable_pinned_version": "2.1.220-2",
|
|
8
8
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
9
9
|
}
|
|
@@ -689,6 +689,9 @@ async function esmChunkedMain() {
|
|
|
689
689
|
zstdDecompressSync: (buf) => require('node:zlib').zstdDecompressSync(buf),
|
|
690
690
|
zstdDecompress: (buf) => new Promise((res, rej) =>
|
|
691
691
|
require('node:zlib').zstdDecompress(buf, (e, r) => (e ? rej(e) : res(r)))),
|
|
692
|
+
unsafe: {
|
|
693
|
+
setJITPolicy: () => undefined,
|
|
694
|
+
},
|
|
692
695
|
};
|
|
693
696
|
Object.defineProperty(process.versions, 'bun', { value: '1.1.8', configurable: true });
|
|
694
697
|
globalThis.__claudeBunShim = globalThis.Bun;
|
|
@@ -1010,6 +1013,9 @@ async function legacyCjsMain() {
|
|
|
1010
1013
|
err.errno = -2;
|
|
1011
1014
|
throw err;
|
|
1012
1015
|
},
|
|
1016
|
+
unsafe: {
|
|
1017
|
+
setJITPolicy: () => undefined,
|
|
1018
|
+
},
|
|
1013
1019
|
};
|
|
1014
1020
|
Object.assign(globalThis.__claudeBunShim, globalThis.Bun);
|
|
1015
1021
|
if (typeof globalThis.__claudeBunShim.gc !== 'function') {
|
|
@@ -1719,6 +1725,9 @@ async function esmChunkedMain() {
|
|
|
1719
1725
|
zstdDecompressSync: (buf) => require('node:zlib').zstdDecompressSync(buf),
|
|
1720
1726
|
zstdDecompress: (buf) => new Promise((res, rej) =>
|
|
1721
1727
|
require('node:zlib').zstdDecompress(buf, (e, r) => (e ? rej(e) : res(r)))),
|
|
1728
|
+
unsafe: {
|
|
1729
|
+
setJITPolicy: () => undefined,
|
|
1730
|
+
},
|
|
1722
1731
|
};
|
|
1723
1732
|
Object.defineProperty(process.versions, 'bun', { value: '1.1.8', configurable: true });
|
|
1724
1733
|
globalThis.__claudeBunShim = globalThis.Bun;
|
|
@@ -2042,6 +2051,9 @@ async function legacyCjsMain() {
|
|
|
2042
2051
|
err.errno = -2;
|
|
2043
2052
|
throw err;
|
|
2044
2053
|
},
|
|
2054
|
+
unsafe: {
|
|
2055
|
+
setJITPolicy: () => undefined,
|
|
2056
|
+
},
|
|
2045
2057
|
};
|
|
2046
2058
|
Object.assign(globalThis.__claudeBunShim, globalThis.Bun);
|
|
2047
2059
|
if (typeof globalThis.__claudeBunShim.gc !== 'function') {
|
|
@@ -1579,6 +1579,31 @@ function loadBunShim(source) {
|
|
|
1579
1579
|
return context.module.exports;
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
+
function extractEsmShimSource(block) {
|
|
1583
|
+
const startMarker = '\n globalThis.Bun = {';
|
|
1584
|
+
const endMarker = '\n globalThis.__claudeBun = globalThis.Bun;';
|
|
1585
|
+
const start = block.indexOf(startMarker);
|
|
1586
|
+
assert.notEqual(start, -1, 'missing ESM Bun shim start');
|
|
1587
|
+
const end = block.indexOf(endMarker, start);
|
|
1588
|
+
assert.notEqual(end, -1, 'missing ESM Bun shim end');
|
|
1589
|
+
return block.slice(start + 1, end + endMarker.length);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
function loadEsmBunShim(source) {
|
|
1593
|
+
const context = vm.createContext({
|
|
1594
|
+
stringWidth: () => 0,
|
|
1595
|
+
wrapAnsi: value => value,
|
|
1596
|
+
stripANSI: value => value,
|
|
1597
|
+
stableHash: () => 0,
|
|
1598
|
+
process: { versions: {} },
|
|
1599
|
+
Buffer,
|
|
1600
|
+
require,
|
|
1601
|
+
});
|
|
1602
|
+
context.module = { exports: {} };
|
|
1603
|
+
vm.runInContext(`${source}\nmodule.exports = globalThis.Bun;`, context);
|
|
1604
|
+
return context.module.exports;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1582
1607
|
test('helper and bootstrap Bun shim source is identical', () => {
|
|
1583
1608
|
const helperBlock = extractBlock('cat <<\'NODE\' > "$_helper"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
|
|
1584
1609
|
const bootstrapBlock = extractBlock('cat <<\'NODE\' > "$_bootstrap"', '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
|
|
@@ -1801,6 +1826,22 @@ test('both esmChunkedMain blocks have correct hook registration order', () => {
|
|
|
1801
1826
|
assert.ok(blockCount >= 2, 'should have at least 2 esmChunkedMain blocks');
|
|
1802
1827
|
});
|
|
1803
1828
|
|
|
1829
|
+
test('ESM Bun shim exposes unsafe.setJITPolicy as a safe no-op (helper/bootstrap)', () => {
|
|
1830
|
+
for (const blockMarker of ['cat <<\'NODE\' > "$_helper"', 'cat <<\'NODE\' > "$_bootstrap"']) {
|
|
1831
|
+
const block = extractBlock(blockMarker, '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
|
|
1832
|
+
const Bun = loadEsmBunShim(extractEsmShimSource(block));
|
|
1833
|
+
assert.equal(Bun.unsafe.setJITPolicy(1), undefined);
|
|
1834
|
+
}
|
|
1835
|
+
});
|
|
1836
|
+
|
|
1837
|
+
test('legacy Bun shim exposes unsafe.setJITPolicy as a safe no-op (helper/bootstrap)', () => {
|
|
1838
|
+
for (const blockMarker of ['cat <<\'NODE\' > "$_helper"', 'cat <<\'NODE\' > "$_bootstrap"']) {
|
|
1839
|
+
const block = extractBlock(blockMarker, '\n export ENABLE_CLAUDEAI_MCP_SERVERS=');
|
|
1840
|
+
const Bun = loadBunShim(extractShimSource(block));
|
|
1841
|
+
assert.equal(Bun.unsafe.setJITPolicy(1), undefined);
|
|
1842
|
+
}
|
|
1843
|
+
});
|
|
1844
|
+
|
|
1804
1845
|
test('termux-run-claude-native.sh maintains compatibility with new zstd fields', () => {
|
|
1805
1846
|
// Verify that the script structure is preserved
|
|
1806
1847
|
const hasSourceBin = script.includes('SOURCE_BIN=');
|