Memoria nativa (memories) rimossa del tutto: - features: memories, memory_tool, external_agent_memory_import, chronicle (alias telepathy) diventano Removed; le chiavi restano accettate e memories/memory_tool/[memories] producono un solo avviso senza link («La sezione [memories] e la chiave memory_tool non sono più usate da aKode: la memoria a lungo termine è il plugin memoria di imeAI.»). - Tolti i crate memories/read, memories/write ed ext/memories, l'avvio della pipeline a ogni turno (app-server), l'estensione, /memories e la richiesta di attivazione nella TUI, `akode debug clear-memories`, l'importazione delle memorie da altri agenti (memory_import.rs, detect/memory.rs; il resto di /import resta). - core: niente più MemoriesConfig, citazioni delle memorie, metriche e marcatura «polluted» dei thread; [memories] (MemoriesToml) resta solo come sezione accettata e ignorata. - state: memories_1.sqlite e memories_v2_1.sqlite non vengono più aperti né cancellati; la colonna threads.memory_mode resta, nessuna migrazione. - Protocollo app-server invariato per compatibilità col daemon: memory/reset risponde «non supportato» senza cancellare nulla, memory/status non è mai pronto, thread/memory/read non ha riassunto. Altre rimozioni: - I 14 flag dell'app desktop di OpenAI senza codice (tool_suggest, in_app_*, browser_use*, computer_use, bedrock_setup_wizard, workspace_dependencies) e analytics_plan_history: Removed, chiavi accettate; analytics_plan_history esce da /experimental. - Skill: tolto l'esperimento «shadow selection» e i selettori collegati. Meno chiamate al modello non richieste: - Titoli dei thread: il primo messaggio dell'utente su una riga, troncato a 36 caratteri; `[tui] auto_title = true` riattiva i titoli generati. - `[tui] auto_recap` predefinito false; `goals` spento di default. Privacy: installation_id e gli id di sessione/thread/finestra (e il blocco dei metadati del turno che li ripete) vanno in client_metadata e negli header di compatibilità solo ai provider locali (loopback, IP privati 10/8, 172.16/12, 192.168/16, host .local/.lan). Domini OpenAI: tolti i link visibili (avviso dei flag deprecati, profili, bubblewrap), l'attribuzione Codex nei commit (sempre spenta), la riscrittura dell'URL della documentazione OpenAI via MCP e la registrazione remota dell'exec-server verso host OpenAI (ora solo loopback); il riconoscimento delle destinazioni OpenAI confronta i domini etichetta per etichetta. Il binario non contiene più «openai.com» né «chatgpt.com». Test adattati (sicurezza compresa: guardian, ruolo ostile, exec-server ora più restrittivo); rimossi solo quelli del codice tolto. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
149 lines
4.7 KiB
TOML
149 lines
4.7 KiB
TOML
[package]
|
|
name = "akode-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
build = "build.rs"
|
|
default-run = "akode"
|
|
|
|
[[bin]]
|
|
name = "akode"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "logs_client"
|
|
path = "src/bin/logs_client.rs"
|
|
|
|
[[test]]
|
|
name = "app_server_daemon_package"
|
|
path = "tests/app_server_daemon/package.rs"
|
|
|
|
[lib]
|
|
name = "akode_cli"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
akode-utils-process = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
|
clap_complete = { workspace = true }
|
|
akode-app-server = { workspace = true }
|
|
akode-app-server-daemon = { workspace = true }
|
|
akode-app-server-protocol = { workspace = true }
|
|
akode-app-server-test-client = { workspace = true }
|
|
akode-arg0 = { workspace = true }
|
|
akode-build-info = { workspace = true }
|
|
akode-api = { workspace = true }
|
|
akode-utils-cli = { workspace = true }
|
|
akode-config = { workspace = true }
|
|
akode-core = { workspace = true }
|
|
akode-core-plugins = { workspace = true }
|
|
akode-history = { workspace = true }
|
|
akode-home = { workspace = true }
|
|
akode-http-client = { workspace = true }
|
|
akode-exec = { workspace = true }
|
|
akode-exec-server = { workspace = true }
|
|
akode-exec-server-cli = { workspace = true }
|
|
akode-execpolicy = { workspace = true }
|
|
akode-extension-api = { workspace = true }
|
|
akode-features = { workspace = true }
|
|
akode-multi-env-copy-file = { workspace = true }
|
|
akode-git-attribution = { workspace = true }
|
|
akode-git-utils = { workspace = true }
|
|
akode-install-context = { workspace = true }
|
|
akode-update = { workspace = true }
|
|
akode-login = { workspace = true }
|
|
akode-model-provider-info = { workspace = true }
|
|
akode-mcp = { workspace = true }
|
|
akode-model-provider = { workspace = true }
|
|
akode-models-manager = { workspace = true }
|
|
akode-plugin = { workspace = true }
|
|
akode-protocol = { workspace = true }
|
|
akode-tcp-tunnel = { workspace = true }
|
|
akode-rmcp-client = { workspace = true }
|
|
akode-rollout = { workspace = true }
|
|
akode-rollout-trace = { workspace = true }
|
|
akode-sandboxing = { workspace = true }
|
|
akode-skills-extension = { workspace = true }
|
|
akode-state = { workspace = true }
|
|
akode-stdio-to-uds = { workspace = true }
|
|
akode-terminal-detection = { workspace = true }
|
|
akode-thread-store = { workspace = true }
|
|
akode-tui = { workspace = true }
|
|
akode-utils-absolute-path = { workspace = true }
|
|
akode-utils-path = { workspace = true }
|
|
akode-utils-path-uri = { workspace = true }
|
|
akode-utils-redacted-string = { workspace = true }
|
|
akode-websocket-auth = { workspace = true }
|
|
crossterm = { workspace = true, features = ["event-stream"] }
|
|
futures = { workspace = true }
|
|
http = { workspace = true }
|
|
libc = { workspace = true }
|
|
os_info = { workspace = true }
|
|
owo-colors = { workspace = true }
|
|
regex-lite = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
supports-color = { workspace = true }
|
|
sys-locale = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"io-std",
|
|
"macros",
|
|
"net",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
"time",
|
|
] }
|
|
toml = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-appender = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
unicode-segmentation = { workspace = true }
|
|
url = { workspace = true }
|
|
which = { workspace = true }
|
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "musl", any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
|
|
tikv-jemallocator = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
akode_windows_sandbox = { package = "akode-windows-sandbox", path = "../windows-sandbox-rs" }
|
|
windows-sys = { workspace = true, features = [
|
|
"Win32_Foundation",
|
|
"Win32_Storage_Packaging_Appx",
|
|
"Win32_System_Console",
|
|
"Win32_System_Threading",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
app_test_support = { workspace = true }
|
|
assert_cmd = { workspace = true }
|
|
assert_matches = { workspace = true }
|
|
akode-app-server-client = { workspace = true }
|
|
akode-utils-cargo-bin = { workspace = true }
|
|
akode-utils-pty = { workspace = true }
|
|
core_test_support = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
insta = { workspace = true }
|
|
jsonwebtoken = { workspace = true }
|
|
predicates = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
tar = { workspace = true }
|
|
tokio-tungstenite = { workspace = true }
|
|
vt100 = { workspace = true }
|
|
wiremock = { workspace = true }
|
|
zstd = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
# These Rust sources are intentionally Bazel-only macrobenchmarks rather than
|
|
# Cargo targets.
|
|
ignored-paths = ["e2e_benches/*.rs"]
|