M1: tool trait, permission service, config, Provider trait, engine loop

Adds the Tool trait, config loading/schema, the Provider trait plus an Llm event surface, a permission service, and the core engine loop with a doom-loop guard and retry scaffolding. The processor drives a text/tool-call/final-text turn against a Provider, laying the groundwork for the MockProvider integration test and the real Anthropic path.
This commit is contained in:
2026-07-10 16:19:38 +02:00
parent 420f00494f
commit 5ac646b3c6
19 changed files with 2933 additions and 10 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ pub struct PermissionRequest {
pub id: String,
pub session_id: SessionId,
pub permission: String,
pub patterns: Vec<String>,
pub pattern: String,
pub always_pattern: String,
pub metadata: serde_json::Value,
}