fix(agentctl): accept the automation MCP mode at the instance API (#3193)

Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Ivan Turkovic
2026-09-01 00:39:24 +00:00
committed by GitHub
parent e7ebf5de22
commit 1dc06e8298
14 changed files with 269 additions and 36 deletions
@@ -57,7 +57,7 @@ type CreateInstanceRequest struct {
DisableAskQuestion bool `json:"disable_ask_question,omitempty"` // Disable ask_user_question MCP tool (TUI agents)
AssumeMcpSse bool `json:"assume_mcp_sse,omitempty"` // Assume agent supports SSE MCP servers
AssumeMcpHttp bool `json:"assume_mcp_http,omitempty"` // Assume agent supports HTTP MCP servers
McpMode string `json:"mcp_mode,omitempty"` // MCP tool mode: "task" (default), "config", or "office"
McpMode string `json:"mcp_mode,omitempty"` // MCP tool mode: "task" (default), "task-title-pending", "config", "office", or "automation"
McpProviders []string `json:"mcp_providers,omitempty"` // Supported review-automation providers
McpProfile *mcpprofile.Context `json:"mcp_profile,omitempty"` // Backend-owned typed MCP tool profile
// RequiresProcessKill tells agentctl to skip the graceful stdin-close wait