be5c8f8bfd
Bump the workspace, every published crate, the npm CLI package and its codewhaleBinaryVersion, the runtime SDK, and the VS Code extension to 0.9.6 — the four version sources the release workflow cross-checks before it will tag. The changelog entry describes v0.9.6 as what it is: a subtractive release. The guards that interrupted live work, the per-mode prompt doctrine, and the deterministic second compaction system are gone; a truncated provider response can no longer be recorded as a finished answer. Most of these were found by running v0.9.5 against Terminal-Bench 2.1 beside Pi 0.8.41 on the same model, effort, endpoint, and task digests, then reading the trials Codewhale lost — so the entry names those trials rather than describing the fixes in the abstract. Mistral AI ships in this release; Xavier Pestel (@xavierpestel-ai) is credited in the contributors section for #5295.
109 lines
4.1 KiB
TOML
109 lines
4.1 KiB
TOML
[workspace]
|
||
members = [
|
||
"crates/agent",
|
||
"crates/app-server",
|
||
"crates/build-support",
|
||
"crates/cli",
|
||
"crates/config",
|
||
"crates/core",
|
||
"crates/execpolicy",
|
||
"crates/hooks",
|
||
"crates/lane",
|
||
"crates/mcp",
|
||
"crates/paths",
|
||
"crates/protocol",
|
||
"crates/release",
|
||
"crates/secrets",
|
||
"crates/state",
|
||
"crates/telemetry",
|
||
"crates/tools",
|
||
"crates/tui",
|
||
"crates/workflow",
|
||
"crates/workflow-js",
|
||
]
|
||
default-members = ["crates/cli"]
|
||
resolver = "2"
|
||
|
||
[workspace.package]
|
||
version = "0.9.6"
|
||
edition = "2024"
|
||
# Rust 1.88 stabilized `let_chains` in `if`/`while` conditions, which the
|
||
# codebase relies on extensively. Cargo enforces this so users on older
|
||
# toolchains get a clear "package requires rustc 1.88+" error instead of a
|
||
# confusing E0658 from rustc.
|
||
rust-version = "1.88"
|
||
license = "MIT"
|
||
repository = "https://github.com/Hmbown/CodeWhale"
|
||
|
||
[workspace.dependencies]
|
||
anyhow = "1.0.100"
|
||
async-trait = "0.1.89"
|
||
axum = { version = "0.8.5", features = ["json"] }
|
||
chrono = { version = "0.4.43", features = ["serde"] }
|
||
clap = { version = "4.5.54", features = ["derive"] }
|
||
clap_complete = "4.5"
|
||
dirs = "6.0.0"
|
||
encoding_rs = "0.8.35"
|
||
jsonschema = { version = "0.46", default-features = false }
|
||
reqwest = { version = "0.13.1", default-features = false, features = ["json", "rustls-no-provider", "socks"] }
|
||
# NOT "parallel": the Workflow VM stays single-threaded and bridges to the
|
||
# multi-thread engine over channels (see crates/workflow-js).
|
||
rquickjs = { version = "0.12", features = ["futures"] }
|
||
rustls = { version = "0.23.36", default-features = false, features = ["ring", "std", "tls12"] }
|
||
rusqlite = { version = "0.39.0", features = ["bundled"] }
|
||
serde = { version = "1.0.228", features = ["derive"] }
|
||
serde_json = "1.0.149"
|
||
semver = "1.0.28"
|
||
thiserror = "2.0"
|
||
tempfile = "3.27"
|
||
tokio = { version = "1.50.0", features = ["fs", "io-util", "io-std", "macros", "net", "process", "rt", "rt-multi-thread", "signal", "sync", "time"] }
|
||
toml = "1.0.6"
|
||
toml_edit = "0.25.12"
|
||
sha2 = "0.11"
|
||
tower-http = { version = "0.6", features = ["cors"] }
|
||
tracing = "0.1"
|
||
tracing-appender = "0.2"
|
||
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
||
tokio-util = { version = "0.7.16", features = ["io", "full"] }
|
||
uuid = { version = "1.11", features = ["v4"] }
|
||
mimalloc = { version = "0.1", default-features = false }
|
||
|
||
# The everyday `--release` gate (AGENTS.md pre-push build): optimized but
|
||
# fast to produce. Shipping artifacts use `--profile dist` below — fat LTO on
|
||
# a 680k-line crate belongs in release CI, not in every contributor's loop
|
||
# (#5246; community-reported 8–16 minute local release builds, #4991).
|
||
# Dev/test carry line tables instead of full debug info. Backtraces still name
|
||
# the file and line of every frame — the thing anyone actually reads — but the
|
||
# per-variable DWARF that no one inspects without a debugger attached is gone.
|
||
# The debug binary was 227 MB and target/debug had grown past 260 GB; those
|
||
# links are IO-bound, so the debuginfo is paid on every incremental build.
|
||
# Anyone stepping through under lldb can override this locally.
|
||
[profile.dev]
|
||
debug = "line-tables-only"
|
||
|
||
[profile.release]
|
||
lto = "thin"
|
||
strip = true
|
||
codegen-units = 16
|
||
|
||
# Shipping profile: exactly the optimization the released binaries have
|
||
# always had. Every workflow that uploads a binary to users builds with
|
||
# `--profile dist` and collects from `target/**/dist/`.
|
||
# NOTE: no `panic = "abort"` here — the TUI's panic supervision
|
||
# (catch_unwind/spawn_supervised) needs unwinding so one panicking tool call
|
||
# or task fails gracefully instead of aborting the whole session.
|
||
[profile.dist]
|
||
inherits = "release"
|
||
lto = true
|
||
strip = true
|
||
codegen-units = 1
|
||
|
||
# Patch unicode-width so that width() uses CJK tables when the cjk feature
|
||
# is enabled. Vanilla unicode-width 0.2.2 provides width_cjk() as a separate
|
||
# method but the original width() always uses non-CJK tables, so Ratatui
|
||
# (which calls width() internally) measures ambiguous-width characters
|
||
# (circled digits, enclosed alphanumerics) as 1 column. CJK terminals render
|
||
# them as 2 columns, causing cell-offset rendering glitches. (#4479)
|
||
[patch.crates-io]
|
||
unicode-width = { path = "patches/unicode-width-0.2.2" }
|