Versions in this module Expand all Collapse all v0 v0.1.1 Nov 16, 2026 v0.1.0 Nov 10, 2026 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + func NewGetHealthRequest(server string) (*http.Request, error) + func NewGetInfoRequest(server string) (*http.Request, error) + func NewListAgentsRequest(server string) (*http.Request, error) + func NewOpenLinkRequest(server string, agentId AgentId, params *OpenLinkParams) (*http.Request, error) + type Agent struct + AgentCapabilities *map[string]interface{} + AgentInfo *AgentInfo + AuthHint *string + Description *string + Error *string + Id AgentId + Name *string + Status AgentStatus + Workspaces []Workspace + type AgentId = string + type AgentInfo struct + Name *string + Title *string + Version *string + type AgentList struct + Agents []Agent + type AgentStatus string + const AuthRequired + const Ready + const Unavailable + const Unknown + func (e AgentStatus) Valid() bool + type BadRequest = Error + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) OpenLink(ctx context.Context, agentId AgentId, params *OpenLinkParams, ...) (*http.Response, error) + type ClientInterface interface + GetHealth func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetInfo func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListAgents func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + OpenLink func(ctx context.Context, agentId AgentId, params *OpenLinkParams, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error) + func (c *ClientWithResponses) GetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInfoResponse, error) + func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error) + func (c *ClientWithResponses) OpenLinkWithResponse(ctx context.Context, agentId AgentId, params *OpenLinkParams, ...) (*OpenLinkResponse, error) + type ClientWithResponsesInterface interface + GetHealthWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error) + GetInfoWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInfoResponse, error) + ListAgentsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error) + OpenLinkWithResponse func(ctx context.Context, agentId AgentId, params *OpenLinkParams, ...) (*OpenLinkResponse, error) + type Error struct + Error string + Message *string + type Forbidden = Error + type GetHealthResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Health + func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error) + func (r GetHealthResponse) ContentType() string + func (r GetHealthResponse) GetBody() []byte + func (r GetHealthResponse) GetJSON200() *Health + func (r GetHealthResponse) Status() string + func (r GetHealthResponse) StatusCode() int + type GetInfoResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Info + JSON401 *Unauthorized + func ParseGetInfoResponse(rsp *http.Response) (*GetInfoResponse, error) + func (r GetInfoResponse) ContentType() string + func (r GetInfoResponse) GetBody() []byte + func (r GetInfoResponse) GetJSON200() *Info + func (r GetInfoResponse) GetJSON401() *Unauthorized + func (r GetInfoResponse) Status() string + func (r GetInfoResponse) StatusCode() int + type Health struct + Ok bool + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type Info struct + Name *string + PromptTimeoutSeconds int + PublicUrl *string + Version string + WireVersions []string + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type ListAgentsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *AgentList + JSON401 *Unauthorized + func ParseListAgentsResponse(rsp *http.Response) (*ListAgentsResponse, error) + func (r ListAgentsResponse) ContentType() string + func (r ListAgentsResponse) GetBody() []byte + func (r ListAgentsResponse) GetJSON200() *AgentList + func (r ListAgentsResponse) GetJSON401() *Unauthorized + func (r ListAgentsResponse) Status() string + func (r ListAgentsResponse) StatusCode() int + type MiddlewareFunc func(http.Handler) http.Handler + type NotFound = Error + type OpenLinkParams struct + ActpClientName *string + ActpLastSeq *int64 + ActpLinkId *string + SecWebSocketProtocol *string + type OpenLinkResponse struct + Body []byte + HTTPResponse *http.Response + Headers101 *OpenLinkResponse101Headers + Headers429 *OpenLinkResponse429Headers + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON409 *Error + JSON410 *Error + JSON426 *Error + JSON429 *Error + JSON503 *Error + func ParseOpenLinkResponse(rsp *http.Response) (*OpenLinkResponse, error) + func (r OpenLinkResponse) ContentType() string + func (r OpenLinkResponse) GetBody() []byte + func (r OpenLinkResponse) GetJSON400() *BadRequest + func (r OpenLinkResponse) GetJSON401() *Unauthorized + func (r OpenLinkResponse) GetJSON403() *Forbidden + func (r OpenLinkResponse) GetJSON404() *NotFound + func (r OpenLinkResponse) GetJSON409() *Error + func (r OpenLinkResponse) GetJSON410() *Error + func (r OpenLinkResponse) GetJSON426() *Error + func (r OpenLinkResponse) GetJSON429() *Error + func (r OpenLinkResponse) GetJSON503() *Error + func (r OpenLinkResponse) Status() string + func (r OpenLinkResponse) StatusCode() int + type OpenLinkResponse101Headers struct + ActpLastSeq *int64 + ActpLinkId *string + ActpPromptTimeout *int + type OpenLinkResponse429Headers struct + RetryAfter *int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ServeMux interface + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + type ServerInterface interface + GetHealth func(w http.ResponseWriter, r *http.Request) + GetInfo func(w http.ResponseWriter, r *http.Request) + ListAgents func(w http.ResponseWriter, r *http.Request) + OpenLink func(w http.ResponseWriter, r *http.Request, agentId AgentId, params OpenLinkParams) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetInfo(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ListAgents(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) OpenLink(w http.ResponseWriter, r *http.Request) + type StdHTTPServerOptions struct + BaseRouter ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type Unauthorized = Error + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type Workspace struct + Default *bool + Name string