@srothgan/claude-code-rust-win32-x64-msvc 0.13.2 → 0.13.4
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 +10 -94
- package/THIRD-PARTY-NOTICES.md +102 -0
- package/bin/claude-rs-bridge-bun.exe +0 -0
- package/bin/claude-rs.exe +0 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -1,101 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@srothgan/claude-code-rust-win32-x64-msvc`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is the **x86_64-pc-windows-msvc** native binary package for [claude-code-rust](https://github.com/srothgan/claude-code-rust#readme) version `0.13.4`.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
[](https://www.npmjs.com/package/claude-code-rust)
|
|
7
|
-
[](https://github.com/srothgan/claude-code-rust/actions/workflows/pr.yml)
|
|
8
|
-
[](https://srothgan.github.io/claude-code-rust/)
|
|
9
|
-
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
10
|
-
[](https://nodejs.org/)
|
|
11
|
-
|
|
12
|
-
<p align="center">
|
|
13
|
-
<img src="assets/banner.png" alt="Claude Code Rust running a Read tool call with syntax-highlighted output" width="900">
|
|
14
|
-
</p>
|
|
15
|
-
|
|
16
|
-
## About
|
|
17
|
-
|
|
18
|
-
Claude Code Rust replaces the stock Claude Code terminal interface with a native Rust binary built on [Ratatui](https://ratatui.rs/). It connects to the same Claude API through a local Agent SDK bridge. Core Claude Code functionality - tool calls, file editing, terminal commands, and permissions - works unchanged.
|
|
19
|
-
|
|
20
|
-
## Requisites
|
|
21
|
-
|
|
22
|
-
- Node.js 18+ (for the Agent SDK bridge)
|
|
23
|
-
- Existing Claude Code authentication (`~/.claude/config.json`)
|
|
24
|
-
|
|
25
|
-
## Install
|
|
26
|
-
|
|
27
|
-
### npm (global, recommended)
|
|
5
|
+
This package is selected automatically by the root `claude-code-rust` npm package on matching platforms. It contains the native Rust binary and a private Bun runtime named `claude-rs-bridge-bun.exe` for the Agent SDK bridge. The bundled runtime is not a user-facing `bun` command.
|
|
28
6
|
|
|
29
7
|
```bash
|
|
30
8
|
npm install -g claude-code-rust
|
|
31
9
|
```
|
|
32
10
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
If `claude-rs` resolves to an older global shim, ensure your npm global bin directory comes first on `PATH` or remove the stale shim before retrying.
|
|
43
|
-
|
|
44
|
-
## Usage
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
claude-rs
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Full documentation is available at [srothgan.github.io/claude-code-rust](https://srothgan.github.io/claude-code-rust/).
|
|
51
|
-
|
|
52
|
-
> [!NOTE]
|
|
53
|
-
> **Agent SDK billing unchanged.** Anthropic has paused the previously announced Agent SDK credit change. For now nothing changes: Claude Agent SDK usage — including `claude -p` and third-party apps like this one — still draws from your normal Claude subscription limits. See [Use the Claude Agent SDK with your Claude plan](https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan).
|
|
54
|
-
|
|
55
|
-
## Why
|
|
56
|
-
|
|
57
|
-
The stock Claude Code TUI runs on Node.js with React Ink, which renders by redrawing full frames over raw ANSI escape codes. This causes real, widely-reported problems:
|
|
58
|
-
|
|
59
|
-
- **Flickering**: The whole view is redrawn on every status update, causing constant flicker — bad enough to crash editors' integrated terminals during long sessions
|
|
60
|
-
- **CPU**: Sustained high CPU even when idle, and runaway loops that spawn multiple background processes
|
|
61
|
-
- **Memory**: 200-400MB baseline (and climbing with conversation length) vs ~20-50MB for a native binary
|
|
62
|
-
- **Resize**: Window resizing leaves duplicated frames in scrollback, loses lines when shrinking, and can garble the display
|
|
63
|
-
- **Input latency**: Keystrokes echo with visible delay as context fills up, and noticeably worse on Windows
|
|
64
|
-
- **Scrollback**: Hijacks the terminal's native scrollback, erasing history you can no longer scroll back to
|
|
65
|
-
- **Paste**: Large pastes can flood stdout and freeze the terminal
|
|
66
|
-
|
|
67
|
-
Claude Code Rust addresses these by compiling to a single native binary with diffed, direct terminal control via Crossterm and Ratatui — no full-frame redraws, no Node runtime overhead.
|
|
68
|
-
|
|
69
|
-
## Documentation
|
|
70
|
-
|
|
71
|
-
The manual covers installation from npm and source, help, slash commands, keyboard shortcuts, settings, diagnostics, architecture, and the changelog:
|
|
72
|
-
|
|
73
|
-
- [Installation](https://srothgan.github.io/claude-code-rust/installation.html)
|
|
74
|
-
- [Usage](https://srothgan.github.io/claude-code-rust/usage.html)
|
|
75
|
-
- [Help](https://srothgan.github.io/claude-code-rust/help.html)
|
|
76
|
-
- [Slash commands](https://srothgan.github.io/claude-code-rust/commands.html)
|
|
77
|
-
- [Settings](https://srothgan.github.io/claude-code-rust/settings.html)
|
|
78
|
-
|
|
79
|
-
## Status
|
|
80
|
-
|
|
81
|
-
This project is pre-1.0 and under active development. See [CONTRIBUTING.md](CONTRIBUTING.md) for how to get involved.
|
|
82
|
-
|
|
83
|
-
## Limitations
|
|
84
|
-
|
|
85
|
-
Startup is still constrained by the upstream Claude Agent SDK runtime that this TUI wraps. The Rust interface itself is fast, but end-to-end readiness can still take noticeable time before a session is fully available. Improving that remains an active area of work.
|
|
86
|
-
|
|
87
|
-
## License
|
|
88
|
-
|
|
89
|
-
This project is licensed under the [Apache License 2.0](LICENSE). Apache-2.0 was chosen to keep usage and redistribution straightforward for individual users, downstream packagers, and commercial adopters.
|
|
90
|
-
|
|
91
|
-
## Disclaimer and Legal Notice
|
|
92
|
-
|
|
93
|
-
This project is not affiliated with, endorsed by, or supported by Anthropic.
|
|
94
|
-
|
|
95
|
-
A quick note on where this project stands, since I know people worry about this kind of thing: claude-code-rust is a terminal UI that I wrote from scratch in Rust. It is not a fork, copy or port of the latest Claude Code source leak -- it talks to Anthropic's official [Agent SDK](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/agent-sdk) as a runtime dependency instead, the same way any other third-party tool would. No Anthropic source code was read or used as reference at any point during development.
|
|
96
|
-
|
|
97
|
-
The project authenticates through your existing Claude Code account via the Agent SDK, and the Agent SDK's terms allow building on top of it. Billing, credits, limits, and overage behavior are controlled by Anthropic, including any future changes Anthropic may make to how Agent SDK usage is metered. Other community projects do the same. As far as I can tell, using this project is fine -- but I am a single maintainer, not a lawyer. If anything changes on Anthropic's end, I will update this section and adjust the project accordingly.
|
|
98
|
-
|
|
99
|
-
This project's source code is licensed under [Apache-2.0](LICENSE). The Agent SDK itself is proprietary and governed by [Anthropic's Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms).
|
|
100
|
-
|
|
101
|
-
For official Claude documentation, see [https://claude.ai/docs](https://claude.ai/docs).
|
|
11
|
+
- Rust target: `x86_64-pc-windows-msvc`
|
|
12
|
+
- npm package: [`@srothgan/claude-code-rust-win32-x64-msvc`](https://www.npmjs.com/package/@srothgan/claude-code-rust-win32-x64-msvc)
|
|
13
|
+
- npm platform directory: `win32-x64-msvc`
|
|
14
|
+
- Bundled runtime: `claude-rs-bridge-bun.exe`
|
|
15
|
+
- Bun release asset: `bun-windows-x64-baseline.zip`
|
|
16
|
+
- OS: `win32`
|
|
17
|
+
- CPU: `x64`
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This npm platform package redistributes a private Bun executable used only to
|
|
4
|
+
run the bundled Agent SDK bridge for `claude-code-rust`. The executable is
|
|
5
|
+
renamed to `claude-rs-bridge-bun` or `claude-rs-bridge-bun.exe`; it is not
|
|
6
|
+
exposed as a user-facing `bun` command.
|
|
7
|
+
|
|
8
|
+
The `claude-code-rust` project is licensed under Apache-2.0.
|
|
9
|
+
|
|
10
|
+
## Bundled Bun Runtime
|
|
11
|
+
|
|
12
|
+
- Bun version: 1.3.14
|
|
13
|
+
- Upstream project: https://github.com/oven-sh/bun
|
|
14
|
+
- Bun license documentation: https://bun.com/docs/project/license
|
|
15
|
+
- Bun license: MIT
|
|
16
|
+
- Bun checksum source: https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/SHASUMS256.txt
|
|
17
|
+
|
|
18
|
+
Bundled Bun release assets:
|
|
19
|
+
|
|
20
|
+
| Platform package | Bun release asset | Archive binary path | Source archive SHA256 |
|
|
21
|
+
| --- | --- | --- | --- |
|
|
22
|
+
| `darwin-arm64` | `bun-darwin-aarch64.zip` | `bun-darwin-aarch64/bun` | `d8b96221828ad6f97ac7ac0ab7e95872341af763001e8803e8267652c2652620` |
|
|
23
|
+
| `darwin-x64` | `bun-darwin-x64-baseline.zip` | `bun-darwin-x64-baseline/bun` | `3e35ad6f53971a9834bf9e6786e2adf72b5f1921cc9a9c5fde073d2972944076` |
|
|
24
|
+
| `linux-x64-gnu` | `bun-linux-x64-baseline.zip` | `bun-linux-x64-baseline/bun` | `a063908ae08b7852ca10939bbdc6ceed3ddabce8fb9402dce83d65d73b36e6c7` |
|
|
25
|
+
| `linux-arm64-gnu` | `bun-linux-aarch64.zip` | `bun-linux-aarch64/bun` | `a27ffb63a8310375836e0d6f668ae17fa8d8d18b88c37c821c65331973a19a3b` |
|
|
26
|
+
| `win32-x64-msvc` | `bun-windows-x64-baseline.zip` | `bun-windows-x64-baseline/bun.exe` | `538f9c846355d9e847b2671bc00c47da4229a0befb24df3282b739770f3b475f` |
|
|
27
|
+
| `win32-arm64-msvc` | `bun-windows-aarch64.zip` | `bun-windows-aarch64/bun.exe` | `89841f5a57f2348b67ec0839b718f4bf4ea7d07c371c9ba4b77b6c790f918953` |
|
|
28
|
+
|
|
29
|
+
Release package manifests record the upstream asset URL, archive path, source
|
|
30
|
+
archive SHA256, and packaged runtime SHA256 for each platform package.
|
|
31
|
+
|
|
32
|
+
## JavaScriptCore And WebKit
|
|
33
|
+
|
|
34
|
+
Bun statically links JavaScriptCore and WebKit components. Bun's license page
|
|
35
|
+
identifies JavaScriptCore, WebKit, and WebCore files as LGPL-2 licensed and
|
|
36
|
+
describes the relinking obligation for static LGPL linkage.
|
|
37
|
+
|
|
38
|
+
Bun's patched WebKit source is published at:
|
|
39
|
+
|
|
40
|
+
https://github.com/oven-sh/WebKit
|
|
41
|
+
|
|
42
|
+
Downstream redistribution of the platform packages should preserve this notice,
|
|
43
|
+
the Bun license information, and the WebKit source/relinking reference.
|
|
44
|
+
|
|
45
|
+
## Statically Linked Libraries
|
|
46
|
+
|
|
47
|
+
Bun's license page lists these statically linked libraries and license notices:
|
|
48
|
+
|
|
49
|
+
| Library | License notice |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| BoringSSL | several licenses |
|
|
52
|
+
| brotli | MIT |
|
|
53
|
+
| libarchive | several licenses |
|
|
54
|
+
| lol-html | BSD 3-Clause |
|
|
55
|
+
| mimalloc | MIT |
|
|
56
|
+
| picohttp | Perl License or MIT |
|
|
57
|
+
| zstd | BSD License or GPLv2 |
|
|
58
|
+
| simdutf | Apache 2.0 |
|
|
59
|
+
| tinycc | LGPL v2.1 |
|
|
60
|
+
| uSockets | Apache 2.0 |
|
|
61
|
+
| zlib-ng | zlib |
|
|
62
|
+
| c-ares | MIT |
|
|
63
|
+
| libicu | ICU license |
|
|
64
|
+
| libbase64 | BSD 2-Clause |
|
|
65
|
+
| libuv | MIT on Windows |
|
|
66
|
+
| libdeflate | MIT |
|
|
67
|
+
| uWebSockets fork | Apache 2.0 |
|
|
68
|
+
| TigerBeetle IO code | Apache 2.0 |
|
|
69
|
+
|
|
70
|
+
## Embedded Polyfills
|
|
71
|
+
|
|
72
|
+
Bun embeds these compatibility polyfill packages into its binary and injects
|
|
73
|
+
them if imported. Bun's license page lists each as MIT licensed:
|
|
74
|
+
|
|
75
|
+
| Package | License |
|
|
76
|
+
| --- | --- |
|
|
77
|
+
| assert | MIT |
|
|
78
|
+
| browserify-zlib | MIT |
|
|
79
|
+
| buffer | MIT |
|
|
80
|
+
| constants-browserify | MIT |
|
|
81
|
+
| crypto-browserify | MIT |
|
|
82
|
+
| domain-browser | MIT |
|
|
83
|
+
| events | MIT |
|
|
84
|
+
| https-browserify | MIT |
|
|
85
|
+
| os-browserify | MIT |
|
|
86
|
+
| path-browserify | MIT |
|
|
87
|
+
| process | MIT |
|
|
88
|
+
| punycode | MIT |
|
|
89
|
+
| querystring-es3 | MIT |
|
|
90
|
+
| stream-browserify | MIT |
|
|
91
|
+
| stream-http | MIT |
|
|
92
|
+
| string_decoder | MIT |
|
|
93
|
+
| timers-browserify | MIT |
|
|
94
|
+
| tty-browserify | MIT |
|
|
95
|
+
| url | MIT |
|
|
96
|
+
| util | MIT |
|
|
97
|
+
| vm-browserify | MIT |
|
|
98
|
+
|
|
99
|
+
## Additional Credits
|
|
100
|
+
|
|
101
|
+
Bun's license page also credits esbuild-derived source code in Bun's JS
|
|
102
|
+
transpiler, CSS lexer, and Node.js module resolver.
|
|
Binary file
|
package/bin/claude-rs.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@srothgan/claude-code-rust-win32-x64-msvc",
|
|
3
|
-
"version": "0.13.
|
|
4
|
-
"description": "Claude Code Rust
|
|
3
|
+
"version": "0.13.4",
|
|
4
|
+
"description": "Claude Code Rust native binary and private Bun bridge runtime for win32-x64-msvc",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
7
7
|
"tui",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"bin",
|
|
28
28
|
"README.md",
|
|
29
|
-
"LICENSE"
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"THIRD-PARTY-NOTICES.md"
|
|
30
31
|
],
|
|
31
32
|
"os": [
|
|
32
33
|
"win32"
|