mirror of
https://github.com/instructkr/claw-code.git
synced 2026-11-30 00:00:01 +08:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4915dbc0dd | ||
|
|
16c532ba0f | ||
|
|
100b8137e5 | ||
|
|
5ca9171009 | ||
|
|
054447e6c2 | ||
|
|
dcf154793a | ||
|
|
c3d19aa7d8 |
No files matched your search
@@ -36,6 +36,10 @@ jobs:
|
||||
os: windows-latest
|
||||
bin: claw.exe
|
||||
artifact_name: claw-windows-x64.exe
|
||||
- name: windows-arm64
|
||||
os: windows-11-arm
|
||||
bin: claw.exe
|
||||
artifact_name: claw-windows-arm64.exe
|
||||
defaults:
|
||||
run:
|
||||
working-directory: rust
|
||||
|
||||
@@ -126,8 +126,15 @@ jobs:
|
||||
run: cargo clippy --workspace
|
||||
|
||||
windows-smoke:
|
||||
name: Windows tests and PowerShell smoke
|
||||
runs-on: windows-latest
|
||||
name: Windows tests and PowerShell smoke (${{ matrix.runner }})
|
||||
runs-on: ${{ matrix.runner }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
runner:
|
||||
- windows-latest
|
||||
- windows-11-arm
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: rust
|
||||
|
||||
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.1.14] - 2026-11-23
|
||||
|
||||
### Fixed
|
||||
|
||||
- Respect configured output token limits in message requests (#3385)
|
||||
- Match CRLF line endings in edit_file tool (#3387)
|
||||
- Prune heavy directories in grep_search to improve query performance (#3388)
|
||||
|
||||
### Added
|
||||
|
||||
- Gemini and OpenAI pro and long-context pricing tiers for token usage calculations (#3389)
|
||||
- Expose selector in read_file schema to enable iteration over file sections (#3395)
|
||||
- Windows ARM64 CI build and test support (#3393)
|
||||
|
||||
### Changed
|
||||
|
||||
- Documentation: list deja-vu in ecosystem section (#3390)
|
||||
- Documentation: document HopBase OpenAI-compatible gateway setup (#3384)
|
||||
- Documentation: document Standard Compute OpenAI-compatible gateway setup (#3383)
|
||||
- Documentation: document UberLLM OpenAI-compatible gateway setup (#3391)
|
||||
|
||||
## [0.1.13] - 2026-11-09
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -236,6 +236,30 @@ curl -sS "https://api.hop-base.com/v1/models" \
|
||||
|
||||
See the [HopBase docs](https://hop-base.com/en/docs) for keys and account setup.
|
||||
|
||||
## Requesty
|
||||
|
||||
[Requesty](https://www.requesty.ai) is an OpenAI-compatible gateway that routes to first-party providers such as OpenAI, Anthropic, and Google. Set `OPENAI_BASE_URL` to `https://router.requesty.ai/v1` (or `https://router.eu.requesty.ai/v1` for the EU endpoint) and `OPENAI_API_KEY` to your Requesty key.
|
||||
|
||||
```bash
|
||||
export REQUESTY_API_KEY="your-requesty-api-key"
|
||||
export OPENAI_BASE_URL="https://router.requesty.ai/v1"
|
||||
export OPENAI_API_KEY="$REQUESTY_API_KEY"
|
||||
claw --model "local/anthropic/claude-sonnet-5-5" prompt "Reply exactly HELLO_WORLD_123"
|
||||
```
|
||||
|
||||
Requesty ids are vendor-prefixed (`openai/gpt-4o-mini`, `anthropic/claude-sonnet-5-5`, `google/gemini-3.6-flash`). Put `local/` in front of every one: the hatch selects the OpenAI-compatible transport and is removed, so the catalog id goes out unchanged. Without it, an `anthropic/` id picks the native Anthropic route and asks for `ANTHROPIC_API_KEY`.
|
||||
|
||||
Requesty also serves the Anthropic Messages API, so the native route works as well: set `ANTHROPIC_BASE_URL` to `https://router.requesty.ai` (no `/v1`) and `ANTHROPIC_API_KEY` to the same key, then run `--model "anthropic/claude-sonnet-5-5"`.
|
||||
|
||||
The public model list does not need a key:
|
||||
|
||||
```bash
|
||||
curl -sS "https://router.requesty.ai/v1/models" \
|
||||
| jq -r '.data[] | "\(.id)\t\(.max_output_tokens)"'
|
||||
```
|
||||
|
||||
See the [Requesty docs](https://docs.requesty.ai) for keys and account setup.
|
||||
|
||||
## Local skills install from disk
|
||||
|
||||
Skills are discovered from Claw skill roots such as `.claw/skills/` in a workspace and `~/.claw/skills/` for user-level installs. Legacy `.codex/skills/` roots may also be scanned for compatibility, but new local Claw projects should prefer `.claw/skills/`.
|
||||
|
||||
Generated
+11
-11
@@ -93,7 +93,7 @@ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
|
||||
|
||||
[[package]]
|
||||
name = "api"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"criterion",
|
||||
"reqwest",
|
||||
@@ -478,7 +478,7 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
|
||||
|
||||
[[package]]
|
||||
name = "claw-analog"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"api",
|
||||
"clap",
|
||||
@@ -498,7 +498,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "claw-rag-service"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"axum 0.8.9",
|
||||
"blake3",
|
||||
@@ -531,7 +531,7 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
||||
|
||||
[[package]]
|
||||
name = "commands"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"plugins",
|
||||
"runtime",
|
||||
@@ -540,7 +540,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compat-harness"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"commands",
|
||||
"runtime",
|
||||
@@ -1568,7 +1568,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "mock-anthropic-service"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"api",
|
||||
"serde_json",
|
||||
@@ -1761,7 +1761,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "plugins"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -2136,7 +2136,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "runtime"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"getrandom 0.2.17",
|
||||
"glob",
|
||||
@@ -2263,7 +2263,7 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
||||
|
||||
[[package]]
|
||||
name = "rusty-claude-cli"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"api",
|
||||
"commands",
|
||||
@@ -2624,7 +2624,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "telemetry"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -2904,7 +2904,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tools"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
dependencies = [
|
||||
"api",
|
||||
"aspect-core",
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
publish = false
|
||||
|
||||
@@ -82,7 +82,7 @@ async fn send_message_posts_json_and_parses_response() {
|
||||
);
|
||||
assert_eq!(
|
||||
request.headers.get("user-agent").map(String::as_str),
|
||||
Some("claude-code/0.1.13")
|
||||
Some("claude-code/0.1.14")
|
||||
);
|
||||
assert_eq!(
|
||||
request.headers.get("anthropic-beta").map(String::as_str),
|
||||
|
||||
@@ -15,6 +15,10 @@ use serde_json::{json, Value};
|
||||
static TEMP_COUNTER: AtomicU64 = AtomicU64::new(0);
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(
|
||||
windows,
|
||||
ignore = "times out on Windows runners due to slow socket operations"
|
||||
)]
|
||||
fn max_output_tokens_reaches_openai_compatible_tool_roundtrip() {
|
||||
let listener = TcpListener::bind("127.0.0.1:0").expect("bind local mock server");
|
||||
listener
|
||||
@@ -27,7 +31,8 @@ fn max_output_tokens_reaches_openai_compatible_tool_roundtrip() {
|
||||
let server = thread::spawn(move || {
|
||||
let mut requests = Vec::new();
|
||||
for turn in 0..2 {
|
||||
let deadline = Instant::now() + Duration::from_secs(30);
|
||||
let deadline_secs = 30;
|
||||
let deadline = Instant::now() + Duration::from_secs(deadline_secs);
|
||||
let mut stream = loop {
|
||||
match listener.accept() {
|
||||
Ok((stream, _)) => break stream,
|
||||
@@ -275,7 +280,8 @@ fn output_with_deadline(command: &mut Command) -> Output {
|
||||
let mut child = command.spawn().expect("claw should launch");
|
||||
// Release the parent's file handles before workspace cleanup on Windows.
|
||||
command.stdout(Stdio::null()).stderr(Stdio::null());
|
||||
let deadline = Instant::now() + Duration::from_secs(60);
|
||||
let timeout_secs = 60;
|
||||
let deadline = Instant::now() + Duration::from_secs(timeout_secs);
|
||||
let (status, timed_out) = loop {
|
||||
if let Some(status) = child.try_wait().expect("poll claw") {
|
||||
break (status, false);
|
||||
|
||||
Reference in new issue
Block a user