File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ func init() {
6161
6262// agentContextDoc is the top-level JSON shape emitted by `vers agent-context`.
6363type agentContextDoc struct {
64- SchemaVersion string `json:"schema_version"`
65- CLI agentContextCLI `json:"cli"`
64+ SchemaVersion string `json:"schema_version"`
65+ CLI agentContextCLI `json:"cli"`
6666 Commands map [string ]* agentContextCommand `json:"commands"`
67- AvailableProfiles []string `json:"available_profiles"`
68- Feedback agentContextFeedback `json:"feedback"`
67+ AvailableProfiles []string `json:"available_profiles"`
68+ Feedback agentContextFeedback `json:"feedback"`
6969}
7070
7171type agentContextCLI struct {
@@ -100,8 +100,8 @@ type agentContextFlag struct {
100100}
101101
102102type agentContextFeedback struct {
103- LocalPath string `json:"local_path"`
104- EndpointConfigured bool `json:"endpoint_configured"`
103+ LocalPath string `json:"local_path"`
104+ EndpointConfigured bool `json:"endpoint_configured"`
105105}
106106
107107func buildAgentContext (root * cobra.Command ) * agentContextDoc {
Original file line number Diff line number Diff line change @@ -167,4 +167,3 @@ func TestPostUpstreamTransportError(t *testing.T) {
167167 t .Errorf ("expected status 0 on transport error, got %d" , status )
168168 }
169169}
170-
You can’t perform that action at this time.
0 commit comments