claude cloak rename

This commit is contained in:
Jonas H
2026-06-15 10:31:35 +02:00
parent 37cf183377
commit a72eafc42a
8 changed files with 10 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
# claude-thinking
# claude-cloak
TUI that displays Claude Code's API streams token-by-token (thinking, text, tool
calls) by acting as a pass-through proxy: Claude Code points `ANTHROPIC_BASE_URL`

2
Cargo.lock generated
View File

@@ -347,7 +347,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "claude-thinking"
name = "claude-cloak"
version = "0.1.0"
dependencies = [
"anyhow",

View File

@@ -1,5 +1,5 @@
[package]
name = "claude-thinking"
name = "claude-cloak"
version = "0.1.0"
edition = "2024"

View File

@@ -1,4 +1,4 @@
# claude-thinking
# claude-cloak
A TUI that displays Claude Code's streams token-by-token — thinking, text, and
tool calls — by sitting as a pass-through proxy between Claude Code and the
@@ -9,7 +9,7 @@ stream of requests Claude Code was already making, forwarding bytes verbatim
and unbuffered.
```
claude ──ANTHROPIC_BASE_URL──▶ claude-thinking (127.0.0.1:8484) ──▶ api.anthropic.com
claude ──ANTHROPIC_BASE_URL──▶ claude-cloak (127.0.0.1:8484) ──▶ api.anthropic.com
TUI: live token feed
@@ -19,7 +19,7 @@ claude ──ANTHROPIC_BASE_URL──▶ claude-thinking (127.0.0.1:8484) ──
```sh
cargo build --release
./target/release/claude-thinking
./target/release/claude-cloak
```
Then point Claude Code at the proxy, either per-shell:

View File

@@ -142,7 +142,7 @@ impl App {
filter_popup: None,
model_popup: None,
model_choices: default_model_choices(),
show_sessions: true,
show_sessions: false,
disk_sessions: Vec::new(),
history: HashMap::new(),
expanded: None,

View File

@@ -39,7 +39,7 @@ fn main() -> anyhow::Result<()> {
});
if headless {
eprintln!("claude-thinking proxy on 127.0.0.1:{port} (headless, ctrl-c to quit)");
eprintln!("claude-cloak proxy on 127.0.0.1:{port} (headless, ctrl-c to quit)");
rt.block_on(proxy_handle)?;
Ok(())
} else {

View File

@@ -52,7 +52,7 @@ async fn forward(State(ctx): State<Ctx>, req: Request) -> Response {
lock_app(&app).status = format!("upstream error: {e}");
Response::builder()
.status(502)
.body(Body::from(format!("claude-thinking proxy error: {e}")))
.body(Body::from(format!("claude-cloak proxy error: {e}")))
.unwrap()
}
}

View File

@@ -123,7 +123,7 @@ impl EmbeddedTerm {
dpi: 0,
},
Arc::new(Config),
"claude-thinking",
"claude-cloak",
env!("CARGO_PKG_VERSION"),
writer,
)));