fix: streaming robustness — OpenAI parsing, error detection, reasoning content

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.
This commit is contained in:
TheArchitectit
2026-05-24 21:22:47 -05:00
committed by GitHub
parent aefa5b0f19
commit 7149bbc3d9
4 changed files with 84 additions and 1 deletions

11
rust/scripts/install.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/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"