aKode 0.8.0: grafo del codice locale (tree-sitter + git) e strumento code_graph, memorie ancorate ai simboli con stato stale, client MCP akode-mcp-client

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-15 11:14:42 +01:00
parent b87057603d
commit 83959bccd0
74 changed files with 5019 additions and 229 deletions

View File

@@ -504,6 +504,10 @@ pub struct ConfigToml {
/// Settings for the imeAI `memoria` plugin (session-start briefing, session delivery).
pub memoria: Option<MemoriaToml>,
/// Local code graph of the repository (tree-sitter and git, no model) and the `code_graph`
/// tool.
pub code_graph: Option<CodeGraphToml>,
/// Goal-related settings.
pub goals: Option<GoalsToml>,
@@ -813,6 +817,24 @@ pub struct MemoriaToml {
pub deliver_sessions: Option<bool>,
/// Minutes of inactivity before an idle session is delivered. Default: 10 (1-1440).
pub deliver_idle_minutes: Option<u64>,
/// Tie project memories to the symbols they cite (path, symbol name and a hash of its text;
/// never the source) and flag them as stale in `memory_recall` and in the briefing when that
/// code changes. Checked locally. Default: true.
pub anchors: Option<bool>,
}
/// `[code_graph]` table: local code graph and the read-only `code_graph` tool.
#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq, Eq, JsonSchema)]
#[schemars(deny_unknown_fields)]
pub struct CodeGraphToml {
/// Index the repository of the working directory and offer the `code_graph` tool.
/// The index lives in `<akode home>/code-graph/`. Default: true.
pub enabled: Option<bool>,
/// Add a short map of the repository (folders and languages) to the initial context.
/// Default: false.
pub repo_map: Option<bool>,
/// Token budget of one `code_graph` answer. Default: 1200 (300-4000).
pub max_output_tokens: Option<u32>,
}
#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq, Eq, JsonSchema)]