ollie/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
..
client9p.go toolsrv: fix per-agent tool registry to actually work 2026-08-11 16:26:12 +02:00
meta.go agent: replace ReadOnly with explicit scope field (read/write/global) 2026-08-11 07:56:00 +02:00
registry.go agent: replace ReadOnly with explicit scope field (read/write/global) 2026-08-11 07:56:00 +02:00
types.go refactor: move olliesrv and toolsrv packages to cmd/*/internal/ 2026-08-10 20:16:44 +02:00