fix: resolve model aliases before syntax validation

Fixes alias resolution ordering: aliases (opus/sonnet/haiku) are now resolved to their full provider/model form BEFORE syntax validation. Previously, aliases bypassed validation via an early-return check. Also adds the 'log' crate for debug tracing of alias resolution and wraps PermissionsExt import in #[cfg(unix)] for portability.
This commit is contained in:
Nils authored and GitHub committed 2026-05-25 11:21:32 +09:00
1 parent 1c62116e25
commit fc26e16ce2
7 files changed
+99 -48

No files matched your search

+1
View File
@@ -1453,6 +1453,7 @@ dependencies = [
"commands",
"compat-harness",
"crossterm",
"log",
"mock-anthropic-service",
"plugins",
"pulldown-cmark",