mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
d8f40039fe
- Add ToolOption/WithWorkDir functional options pattern to internal/core - Update all 7 tool constructors to accept ...ToolOption and resolve paths relative to the configured working directory - Create pkg/kit/tools.go with public exports: individual constructors, bundles (AllTools, CodingTools, ReadOnlyTools), and WithWorkDir - Add CoreTools field to AgentConfig/AgentCreationOptions so callers can inject custom tool sets instead of hardcoding core.AllTools() - Add Tools field to kit.Options and GetTools() to kit.Kit - Fully backward compatible: no-arg calls use os.Getwd() as before