Le catalogue de providers OpenCode lit désormais le cache local ~/.cache/opencode/models.json pour refléter les providers réellement disponibles, avec repli garanti sur le catalogue statique en cas d'absence ou d'erreur de lecture du cache. Ajout d'un champ additif `custom` sur OpenCodeProviderConfig pour permettre à l'utilisateur de déclarer un provider hors catalogue (id + clé API en saisie libre). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/domain",
|
|
"crates/application",
|
|
"crates/infrastructure",
|
|
"crates/backend",
|
|
"crates/web-server",
|
|
"crates/app-tauri",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.80"
|
|
|
|
[workspace.dependencies]
|
|
uuid = { version = "1", features = ["serde", "v4", "v5", "macro-diagnostics"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
async-trait = "0.1"
|
|
futures-util = "0.3"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "fs", "io-util", "time"] }
|
|
hex = "0.4"
|
|
sha2 = "0.10"
|
|
dirs = "6"
|
|
subtle = "2"
|
|
getrandom = "0.3"
|
|
http = "1"
|
|
# Local git via libgit2. Network features (https/ssh → openssl) are off for L8:
|
|
# only local operations (status/commit/branch/checkout/log) are in scope; remote
|
|
# push/pull and static vendoring for the AppImage are deferred to L9/L11.
|
|
git2 = { version = "0.20", default-features = false }
|
|
|
|
# Internal crates
|
|
domain = { path = "crates/domain" }
|
|
application = { path = "crates/application" }
|
|
infrastructure = { path = "crates/infrastructure" }
|
|
backend = { path = "crates/backend" }
|
|
web-server = { path = "crates/web-server" }
|
|
|
|
# Tauri v2
|
|
tauri = { version = "2", features = [] }
|
|
tauri-build = { version = "2", features = [] }
|
|
tauri-plugin-dialog = "2"
|