fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
32
vendor/github.com/modelcontextprotocol/go-sdk/internal/json/json.go
generated
vendored
Normal file
32
vendor/github.com/modelcontextprotocol/go-sdk/internal/json/json.go
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
|
||||
// Use of this source code is governed by the license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
// Package json provides internal JSON utilities.
|
||||
|
||||
package json
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"io"
|
||||
|
||||
"github.com/segmentio/encoding/json"
|
||||
)
|
||||
|
||||
type Decoder struct {
|
||||
dec *json.Decoder
|
||||
}
|
||||
|
||||
func NewDecoder(r io.Reader) *Decoder {
|
||||
dec := json.NewDecoder(r)
|
||||
dec.DontMatchCaseInsensitiveStructFields()
|
||||
return &Decoder{dec: dec}
|
||||
}
|
||||
|
||||
func (d *Decoder) Decode(v any) error {
|
||||
return d.dec.Decode(v)
|
||||
}
|
||||
|
||||
func Unmarshal(data []byte, v any) error {
|
||||
return NewDecoder(bytes.NewReader(data)).Decode(v)
|
||||
}
|
||||
Reference in New Issue
Block a user