Adds a POST /mcp endpoint (github.com/modelcontextprotocol/go-sdk) with
three tools mirroring the existing /calendar logic: get_calendar_today,
get_calendar_for_date and get_holidays. Bumps go.mod to Go 1.25 (required
by the SDK) and vendors the new dependencies. Also fixes an unanchored
.gitignore rule ("domogeek") that was silently excluding all untracked
files under cmd/domogeek/.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu8wwahgecuCGfesTKCfEd
11 lines
378 B
Go
11 lines
378 B
Go
// Code generated by command: go run keyset_asm.go -pkg keyset -out ../keyset/keyset_amd64.s -stubs ../keyset/keyset_amd64.go. DO NOT EDIT.
|
|
|
|
//go:build !purego
|
|
// +build !purego
|
|
|
|
package keyset
|
|
|
|
// Lookup searches for a key in a set of keys, returning its index if
|
|
// found. If the key cannot be found, the number of keys is returned.
|
|
func Lookup(keyset []byte, key []byte) int
|