We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 857feb1 commit 385d219Copy full SHA for 385d219
3 files changed
internal/cli/ctl.go
@@ -132,7 +132,6 @@ func ctlStreamExec(sock string, req map[string]any) error {
132
}
133
134
135
-
136
func ctlPrint(op string, r *protocol.Response) error {
137
if !r.OK {
138
return fmt.Errorf("%s", r.Error)
internal/mcp/server.go
@@ -204,4 +204,3 @@ func toolError(msg string) *mcp.CallToolResult {
204
Content: []mcp.Content{&mcp.TextContent{Text: errPrefix + msg}},
205
206
207
internal/mcp/server_test.go
@@ -40,7 +40,7 @@ type fakeDaemon struct {
40
t *testing.T
41
ln net.Listener
42
mu sync.Mutex
43
- got []protocol.Request // every request the daemon received, in order
+ got []protocol.Request // every request the daemon received, in order
44
replyF func(req protocol.Request) protocol.Response
45
46
@@ -147,12 +147,12 @@ func TestToolsList(t *testing.T) {
147
t.Fatalf("ListTools: %v", err)
148
149
want := map[string]bool{
150
- "agentenv__head": false,
151
- "agentenv__log": false,
152
- "agentenv__branches": false,
153
- "agentenv__show": false,
154
- "agentenv__diff": false,
155
- "agentenv__checkout": false,
+ "agentenv__head": false,
+ "agentenv__log": false,
+ "agentenv__branches": false,
+ "agentenv__show": false,
+ "agentenv__diff": false,
+ "agentenv__checkout": false,
156
157
for _, tl := range res.Tools {
158
if _, ok := want[tl.Name]; ok {
0 commit comments