mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-25 23:16:47 +00:00
Improves SSE parsing with raw JSON error detection, HTML response detection (for misconfigured endpoints), thinking/reasoning content from provider-specific delta fields, #[serde(default)] on streaming types for lenient deserialization, compact session boundary guard, and /team slash command. Adds install.sh convenience script.
12 lines
229 B
Bash
Executable File
12 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Build the release binary
|
|
cargo build --release
|
|
|
|
# Link to ~/.local/bin
|
|
mkdir -p "$HOME/.local/bin"
|
|
ln -sf "$(pwd)/target/release/claw" "$HOME/.local/bin/claw"
|
|
|
|
echo "✓ Claw installed to ~/.local/bin/claw"
|