claudefix 2.5.1 → 2.5.2

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.
Files changed (2) hide show
  1. package/README.md +5 -17
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -32,25 +32,13 @@ That's it! The install script:
32
32
 
33
33
  **Works with both npm-installed Claude AND native Claude installs** (the new self-updating version at `~/.local/share/claude/versions`).
34
34
 
35
- ## This Isn't Malware - Here's What It Actually Does
35
+ ## How It Works
36
36
 
37
- Some people see "binary wrapper" and freak out. Let's be real clear about what's happening here.
37
+ Claude Code is a compiled binary that uses Ink (React for terminals). We wrap it in a PTY and:
38
38
 
39
- **claudefix doesn't modify, patch, replace, or tamper with the claude binary.** The original claude binary runs completely untouched. What we do is spawn it inside a pseudo-terminal (PTY) using `node-pty` and filter the terminal output stream before it hits your actual terminal. That's it.
40
-
41
- Think of it like piping `claude` through `sed` - the binary runs normally, we just clean up the ANSI escape codes it spits out before they reach your screen. The claude process doesn't know or care that it's running inside our PTY wrapper. It thinks it's talking to a normal terminal.
42
-
43
- Here's what the wrapper actually does to the output stream:
44
-
45
- 1. **Strips background colors** - Removes ANSI background color codes (like `\x1b[48;5;XXm`) that cause VTE rendering glitches on Linux
46
- 2. **Clears scrollback periodically** - Sends `\x1b[3J` every 500 renders or 60 seconds to prevent terminal lag
47
- 3. **Debounces resize events** - Batches SIGWINCH signals instead of thrashing the terminal
48
-
49
- **You can verify this yourself:**
50
- - Read `bin/claude-fixed.js` - it's ~100 lines of straightforward PTY spawn + regex filtering
51
- - Set `CLAUDEFIX_DISABLED=1` to bypass the wrapper entirely
52
- - Run `claude` directly if you don't trust it - you'll just get the screen glitches back
53
- - It's MIT licensed, fully open source, nothing hidden
39
+ 1. **Strip background colors** - Removes ANSI background color codes that cause VTE glitches
40
+ 2. **Clear scrollback periodically** - Every 500 renders or 60 seconds
41
+ 3. **Debounce resize events** - Batches SIGWINCH instead of thrashing
54
42
 
55
43
  ## Config
56
44
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claudefix",
3
- "version": "2.5.1",
4
- "description": "PTY wrapper that fixes VTE screen glitching and scrollback bloat in Claude Code CLI on Linux. Doesn't modify or patch the claude binary - it runs the original binary inside a pseudo-terminal and strips bad ANSI background colors from the output stream. Fully open source, disable with CLAUDEFIX_DISABLED=1. Hardwick Software Services @ justcalljon.pro",
3
+ "version": "2.5.2",
4
+ "description": "Fixes screen glitching, blocky colors, AND MEMORY LEAKS in Claude Code CLI on Linux and macOS. All features optional via env vars. Shows config options on install. Developed by Hardwick Software Services @ https://justcalljon.pro",
5
5
  "main": "index.cjs",
6
6
  "bin": {
7
7
  "claude-fixed": "bin/claude-fixed.js",