feat(kernel): add internal ZCLAW kernel integration with Tauri

Phase 1-3 of independence architecture:
- zclaw-types: Add ToolDefinition, ToolResult, KernelConfig, ModelConfig
- zclaw-kernel: Fix AgentInfo provider field, export config module
- desktop: Add kernel_commands for internal kernel access
- Add AgentId FromStr implementation for parsing

New Tauri commands:
- kernel_init, kernel_status, kernel_shutdown
- agent_create, agent_list, agent_get, agent_delete
- agent_chat

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-22 08:37:20 +08:00
parent 185763868a
commit 7abfca9d5c
6 changed files with 618 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
//! ZCLAW Kernel
//!
//! Central coordinator for all ZCLAW subsystems.
mod kernel;
mod registry;
mod capabilities;
mod events;
pub mod config;
pub use kernel::*;
pub use registry::*;
pub use capabilities::*;
pub use events::*;
pub use config::*;