Commit Graph

3 Commits

Author SHA1 Message Date
Levi Neely a640257dbf registry: refresh schemas on tool_list and reload on tool_load
tool_load always re-reads the tool from disk (reload semantics).
tool_list calls RefreshLoaded to update schemas for all promoted tools.
Skills registry gets the same treatment: dynamic discovery, no cache.
2026-07-30 09:36:54 +02:00
Levi Neely 10bd60980a toolsrv: dynamic tool discovery, drop global cache
Registry.Summaries() and Load() now scan the tools directory on every
call instead of reading from a startup cache. New tools dropped into
the directory are immediately visible without restarting the server.

When tool_list is called, the OnToolsChanged hook fires and updates
the preamble's '# Available Tools' section in the live agent runtime.
No agent reload or session restart required.
2026-07-30 09:16:01 +02:00
Levi Neely cadcb62fcd tools: consolidate into shell.go, tool.go, skill.go
One file per domain, all related handlers together.
2026-07-29 23:20:01 +02:00