When the 'agent <profile>' ctl command switches profiles, the tool registry now clears old tools and loads the new profile's autoLoad list. Previously, switching profiles left the old tools loaded. Changes: - registry: add ClearAgent(agentID) to remove all tools for an agent - server/proc: add ClearAgent wrapper and 'clear <agentID>' ctl command - toolclient: add ClearTools() method to ToolsrvConn - agent: SwitchProfile now returns *AgentConfig for tool reload - fs/spec: agent ctl handler clears and reloads tools after switch |
||
|---|---|---|
| .. | ||
| internal | ||
| test | ||
| .gitignore | ||
| main.go | ||
| p9.go | ||