ProofOfConcept
|
ed150df628
|
tools: each module exports only tool() or tools(), nothing else
Every tool module now has a clean interface:
- read, write, edit, grep, glob, bash, vision: pub fn tool() -> Tool
- web: pub fn tools() -> [Tool; 2]
- memory: pub fn memory_tools() -> Vec<Tool>
- channels: pub fn tools() -> Vec<Tool>
- control: pub fn tools() -> Vec<Tool>
Definition and handler functions are private to each module.
mod.rs::tools() just chains the module exports.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
|
2026-04-04 18:19:21 -04:00 |
|