Migrate to checker-sdk-go v1.3.0 with standalone build tag
The SDK split the HTTP server scaffolding into the new checker-sdk-go/checker/server subpackage and renamed CheckerInteractive to server.Interactive. Update main.go to import server and call server.New, switch the compile-time assertion to server.Interactive, and isolate the interactive form code behind the standalone build tag so plugin/builtin builds skip net/http entirely. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
19296f4188
commit
67d72dc9ac
7 changed files with 23 additions and 16 deletions
|
|
@ -19,7 +19,7 @@ const (
|
|||
)
|
||||
|
||||
// Definition is the package-level helper returned to the host by the
|
||||
// plugin entrypoint and used by sdk.NewServer via the provider's
|
||||
// plugin entrypoint and used by server.New via the provider's
|
||||
// CheckerDefinitionProvider implementation.
|
||||
func Definition() *sdk.CheckerDefinition {
|
||||
return &sdk.CheckerDefinition{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue