ollie/cmd/toolsrv
Ollie Agent de5456e4aa toolsrv: fix per-agent tool registry to actually work
The registry was keyed by agent ID but read it from a shared env map
(st.env["OLLIE_UNAME"]) that all agents overwrote — making it
effectively per-session with a race condition.

Fix: pass agent ID explicitly through the protocol at every call site.

- ctl protocol: 'load <agentID> <tool>', 'unload <agentID> <tool>'
- tools file: rdwr (Request) — write agent ID, read filtered list
- proc/new payload: 'agent=<id>' field required
- Client: SetAgentID() stores identity, included in all operations
- Empty agent ID is a hard error everywhere
- Setting OLLIE_UNAME via env ctl is blocked (prevents reintroduction)
2026-08-11 16:26:12 +02:00
..
internal toolsrv: fix per-agent tool registry to actually work 2026-08-11 16:26:12 +02:00
test rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
.gitignore rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
integration_test.go toolsrv: fix per-agent tool registry to actually work 2026-08-11 16:26:12 +02:00
main.go toolsrv: simplify registry to flat list, remove session scoping 2026-08-11 11:30:47 +02:00
sandbox-remote.yaml rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
server.go toolsrv: switch from log/slog to ollie/log 2026-08-11 10:23:27 +02:00