You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfalse, xerrors.Errorf("failed to decode server status: %w", err)
153
146
}
154
147
155
-
ifstatus.Backend=="acp" {
156
-
returnxerrors.New("attach is not supported in ACP mode. The server is running with --experimental-acp which uses JSON-RPC instead of terminal emulation.")
Idint`json:"id" doc:"Unique identifier for the message. This identifier also represents the order of the message in the conversation history."`
@@ -38,7 +54,7 @@ type StatusResponse struct {
38
54
Bodystruct {
39
55
StatusAgentStatus`json:"status" doc:"Current agent status. 'running' means that the agent is processing a message, 'stable' means that the agent is idle and waiting for input."`
40
56
AgentType mf.AgentType`json:"agent_type" doc:"Type of the agent being used by the server."`
41
-
Backendstring`json:"backend" doc:"Backend transport being used ('acp' or 'pty')."`
57
+
TransportTransport`json:"transport" doc:"Backend transport being used ('acp' or 'pty')."`
Copy file name to clipboardExpand all lines: openapi.json
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -269,22 +269,31 @@
269
269
"description": "Type of the agent being used by the server.",
270
270
"type": "string"
271
271
},
272
-
"backend": {
273
-
"description": "Backend transport being used ('acp' or 'pty').",
274
-
"type": "string"
275
-
},
276
272
"status": {
277
273
"$ref": "#/components/schemas/AgentStatus",
278
274
"description": "Current agent status. 'running' means that the agent is processing a message, 'stable' means that the agent is idle and waiting for input."
275
+
},
276
+
"transport": {
277
+
"$ref": "#/components/schemas/Transport",
278
+
"description": "Backend transport being used ('acp' or 'pty')."
0 commit comments