Expand description
Offline developer utilities, free of any UI dependency.
Everything here is pure and synchronous: no network, no filesystem, no globals. The GUI is one consumer; a CLI or a test harness could be another.
§Adding a tool
- Write
src/tools/<name>.rswith a unit struct that implementsTool. - Register it in the
mod toolslist and inall_tools.
There is no third step — the frontend renders whatever options the tool declares.
Structs§
- Input
- What the user typed.
- Options
- The current setting of every knob a tool declared.
- Tool
Error - A human-readable failure. Tools surface these to the output pane, so the message is user-facing copy, not a debug dump.
- Tool
Meta - Identity and search metadata for a tool.
Enums§
- Category
- Format
- What a tool’s text is, so a chain can refuse a link that cannot work.
- Input
Mode - Whether the tool transforms text or produces it from nothing.
- Option
Pane - Which pane a group of options belongs beside.
- Option
Spec - Option
Value
Traits§
Functions§
- all_
tools - Every tool the app ships, in menu order.
- matches_
query - Case-insensitive match against a tool’s name, description and keywords.