agent.rs: fünf Tools (read_file, write_file, list_dir, run_shell, done), Pfadprüfung auf /work, Fehlerklassen nach SPEC 5, Schleifenerkennung, Limits für Schritte und Zeit, Metriken. Ollama-Client über /api/chat. 31 Unit-Tests mit Mock-Modell grün; Werkzeuge gegen echte Sandbox grün. Echter Modelllauf steht aus, weil Ollama nicht läuft und keine Modelle da sind. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
37 lines
1022 B
TOML
37 lines
1022 B
TOML
[package]
|
|
name = "coding-bench"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "coding_bench_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
reqwest = { version = "0.12", features = ["blocking", "json"] }
|
|
base64 = "0.22"
|
|
|
|
|
|
# Read the optimization guideline for more details: https://tauri.app/concept/size/#cargo-configuration
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 3
|
|
panic = "abort"
|
|
strip = true
|