Levi Neely
|
18beb15698
|
split: toolsrv/ (server framework) + tools/ (builtin handlers)
toolsrv/ owns the Server struct, execution engine, registry, discovery.
tools/ owns the built-in handlers (Shell, ToolList, SkillLoad, etc.)
Dependency flows one way: tools/ imports toolsrv/.
Server.Dispatch uses a handler map populated via WithBuiltins().
|
2026-07-29 23:17:22 +02:00 |
Levi Neely
|
873f83464f
|
tools: decompose code.go into server.go + shell.go
server.go: Server struct, options, lifecycle, dispatch routing, tool_* handlers
shell.go: execution engine (sandbox, elevation, detach), validation, limitedWriter
|
2026-07-29 23:07:00 +02:00 |