feat(toolsets): add support for multiple toolsets in configuration (#323)

Users can now enable or disable different toolsets either by providing
a command-line flag or by setting the toolsets array field in the TOML
configuration.

Downstream Kubernetes API developers can declare toolsets for their
APIs by creating a new nested package in pkg/toolsets and registering
it in pkg/mcp/modules.go

Signed-off-by: Marc Nuri <marc@marcnuri.com>
This commit is contained in:
Marc Nuri
2025-09-17 10:53:56 +02:00
committed by GitHub
parent 3fc4fa49bb
commit 48cf204a89
37 changed files with 688 additions and 507 deletions

8
internal/test/test.go Normal file
View File

@@ -0,0 +1,8 @@
package test
func Must[T any](v T, err error) T {
if err != nil {
panic(err)
}
return v
}