Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScriptWithGithub = "agentapi_with_github.sh" ScriptDefault = "agentapi_default.sh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentSession ¶
type AgentSession struct {
ID string
Port int
Process *exec.Cmd
Cancel context.CancelFunc
StartedAt time.Time
UserID string
Status string
Environment map[string]string
Tags map[string]string
// contains filtered or unexported fields
}
AgentSession represents a running agentapi server instance
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy represents the HTTP proxy server
type RepositoryInfo ¶ added in v0.10.0
RepositoryInfo contains repository information extracted from tags
type ScriptTemplateData ¶ added in v0.10.0
type ScriptTemplateData struct {
AgentAPIArgs string
ClaudeArgs string
GitHubToken string
GitHubAppID string
GitHubInstallationID string
GitHubAppPEMPath string
GitHubAPI string
GitHubPersonalAccessToken string
RepoFullName string
CloneDir string
}
ScriptTemplateData holds data for script templates
type StartRequest ¶
type StartRequest struct {
UserID string `json:"user_id,omitempty"`
Environment map[string]string `json:"environment,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
Message string `json:"message,omitempty"`
}
StartRequest represents the request body for starting a new agentapi server
Click to show internal directories.
Click to hide internal directories.