File tree Expand file tree Collapse file tree 9 files changed +14
-9
lines changed
internal/pkg/agents/agent_yaml
microsoft.azd.extensions/internal Expand file tree Collapse file tree 9 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ require (
1515 github.com/google/uuid v1.6.0
1616 github.com/mark3labs/mcp-go v0.41.1
1717 github.com/spf13/cobra v1.10.1
18+ go.yaml.in/yaml/v3 v3.0.4
1819 gopkg.in/yaml.v3 v3.0.1
1920)
2021
Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJr
233233go.opentelemetry.io/otel/trace v1.38.0 /go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs =
234234go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE =
235235go.uber.org/atomic v1.11.0 /go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0 =
236+ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc =
237+ go.yaml.in/yaml/v3 v3.0.4 /go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg =
236238golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
237239golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 /go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc =
238240golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04 =
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ package agent_yaml
66import (
77 "fmt"
88
9- "gopkg. in/yaml. v3"
9+ "go.yaml. in/yaml/ v3"
1010)
1111
1212// LoadAndValidateAgentManifest parses YAML content and validates it as an AgentManifest
@@ -56,4 +56,4 @@ func ValidateAgentManifest(manifest *AgentManifest) error {
5656 }
5757
5858 return nil
59- }
59+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/azure/azure-dev/cli/azd/pkg/output"
2626 "github.com/azure/azure-dev/cli/azd/pkg/ux"
2727 "github.com/spf13/cobra"
28- "gopkg. in/yaml. v3"
28+ "go.yaml. in/yaml/ v3"
2929)
3030
3131type initFlags struct {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313 "github.com/azure/azure-dev/cli/azd/extensions/microsoft.azd.extensions/internal"
1414 "github.com/azure/azure-dev/cli/azd/pkg/extensions"
1515 "github.com/azure/azure-dev/cli/azd/pkg/output"
16- "gopkg. in/yaml. v3"
16+ "go.yaml. in/yaml/ v3"
1717)
1818
1919type ExtensionSchema struct {
Original file line number Diff line number Diff line change 99 "github.com/azure/azure-dev/cli/azd/pkg/extensions"
1010 "github.com/azure/azure-dev/cli/azd/test/snapshot"
1111 "github.com/stretchr/testify/require"
12- "gopkg.in/yaml.v3"
12+
13+ "go.yaml.in/yaml/v3"
1314)
1415
1516// TestExtensionSchema_MarshalYAML_OmitsEmptyCollections verifies that empty slices and maps
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
1515 "github.com/mark3labs/mcp-go/mcp"
1616 "github.com/mark3labs/mcp-go/server"
1717 "github.com/santhosh-tekuri/jsonschema/v6"
18- "gopkg. in/yaml. v3"
18+ "go.yaml. in/yaml/ v3"
1919)
2020
2121// NewAzdYamlSchemaTool creates a new azd yaml schema tool
Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ require (
8080 go.opentelemetry.io/otel/trace v1.38.0
8181 go.uber.org/atomic v1.11.0
8282 go.uber.org/multierr v1.11.0
83+ go.yaml.in/yaml/v3 v3.0.4
8384 golang.org/x/sync v0.17.0
8485 golang.org/x/sys v0.36.0
8586 google.golang.org/grpc v1.75.1
8687 google.golang.org/protobuf v1.36.9
8788 gopkg.in/dnaeon/go-vcr.v3 v3.2.0
88- gopkg.in/yaml.v3 v3.0.1
8989)
9090
9191require (
@@ -167,4 +167,5 @@ require (
167167 golang.org/x/text v0.29.0 // indirect
168168 google.golang.org/genproto/googleapis/api v0.0.0-20250922171735-9219d122eba9 // indirect
169169 google.golang.org/genproto/googleapis/rpc v0.0.0-20250922171735-9219d122eba9 // indirect
170+ gopkg.in/yaml.v3 v3.0.1 // indirect
170171)
Original file line number Diff line number Diff line change @@ -287,8 +287,6 @@ github.com/mailru/easyjson v0.9.1 h1:LbtsOm5WAswyWbvTEOqhypdPeZzHavpZx96/n553mR8
287287github.com/mailru/easyjson v0.9.1 /go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU =
288288github.com/mark3labs/mcp-go v0.40.0 h1:M0oqK412OHBKut9JwXSsj4KanSmEKpzoW8TcxoPOkAU =
289289github.com/mark3labs/mcp-go v0.40.0 /go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g =
290- github.com/mark3labs/mcp-go v0.40.0 h1:M0oqK412OHBKut9JwXSsj4KanSmEKpzoW8TcxoPOkAU =
291- github.com/mark3labs/mcp-go v0.40.0 /go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g =
292290github.com/mattn/go-colorable v0.1.2 /go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE =
293291github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE =
294292github.com/mattn/go-colorable v0.1.14 /go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8 =
@@ -473,6 +471,8 @@ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
473471go.uber.org/goleak v1.3.0 /go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE =
474472go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0 =
475473go.uber.org/multierr v1.11.0 /go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y =
474+ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc =
475+ go.yaml.in/yaml/v3 v3.0.4 /go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg =
476476golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 /go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4 =
477477golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
478478golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 /go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc =
You can’t perform that action at this time.
0 commit comments