Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Package gen holds code generated from docs/openapi.yaml. Do not edit by hand.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AddCampaignTargetsJSONRequestBody
- type AddProductEntryJSONRequestBody
- type AddProjectKnowledgeJSONRequestBody
- type AddWorkspaceKnowledgeJSONRequestBody
- type AdvanceTaskJSONRequestBody
- type AgentArtifact
- type AgentBlockedJSONRequestBody
- type AgentCall
- type AgentDocument
- type AgentKnowledgeParams
- type AgentProduct
- type AgentProductKind
- type AgentProposeProductJSONRequestBody
- type AgentPutArtifactJSONRequestBody
- type AgentQuestionJSONRequestBody
- type AgentReason
- type AgentTask
- type AgentWrite
- type ArchiveProject
- type ArchiveProjectJSONRequestBody
- type Artifact
- type Budget
- type Campaign
- type CampaignTarget
- type CampaignTargetInput
- type CampaignTargetInputKind
- type CampaignTargets
- type Capabilities
- type Check
- type CheckStatus
- type ChiServerOptions
- type Component
- type ComponentInput
- type ComponentInputKind
- type ComponentKind
- type ComponentStatus
- type ConfigureProjectPluginJSONRequestBody
- type ContextDocument
- type ContextPackage
- type CreateProjectJSONRequestBody
- type CreateTaskJSONRequestBody
- type CreateTaskJobJSONRequestBody
- type CreateTokenJSONRequestBody
- type Decision
- type DecisionReason
- type Device
- type Error
- type FetchKnowledgePacksJSONRequestBody
- type FetchPacks
- type Gate
- type GateKind
- type GetProjectMetricsParams
- type Handoff
- type HandoffTaskJSONRequestBody
- type HandoffToKind
- type Incident
- type IncidentSeverity
- type InstallPlugin
- type InstallPluginJSONRequestBody
- type InstalledPlugin
- type InvalidParamFormatError
- type IssuedToken
- type Job
- type JobEvent
- type JobId
- type JobStatus
- type KindMetrics
- type KnowledgeEntry
- type KnowledgeEntryScope
- type KnowledgePack
- type KnowledgePreview
- type ListAgentCallsParams
- type ListInboxParams
- type ListJobEventsParams
- type ListPluginCallsParams
- type LoginRequest
- type Me
- type Member
- type MemberRole
- type MiddlewareFunc
- type NewDevice
- type NewDevicePlatform
- type NewJob
- type NewKnowledgeEntry
- type NewKnowledgeEntryScope
- type NewProductEntry
- type NewProductEntryKind
- type NewProject
- type NewProjectPreset
- type NewTask
- type NewTaskKind
- type NewToken
- type NewTokenKind
- type PhaseMetrics
- type PluginCall
- type PluginChip
- type PluginName
- type PluginTab
- type PluginUI
- type PresetEntry
- type PreviewDocument
- type PreviewKnowledgeParams
- type PreviewTaskContextParams
- type ProductEntry
- type ProductEntryKind
- type ProductEntryStatus
- type ProductStatusChange
- type ProductStatusChangeStatus
- type Project
- type ProjectConfig
- type ProjectId
- type ProjectMember
- type ProjectMemberRole
- type ProjectMetrics
- type ProjectPack
- type ProjectPlugin
- type ProjectPluginSettings
- type ProjectPreset
- type ProjectRepo
- type ProjectTemplate
- type ProjectTemplateSource
- type PutComponentJSONRequestBody
- type PutProjectRepoJSONRequestBody
- type QualityCheck
- type QualityCheckStatus
- type Readiness
- type Reason
- type RecordTaskUsageJSONRequestBody
- type RegisterDeviceJSONRequestBody
- type Release
- type RequestRunnerLoginJSONRequestBody
- type RequiredHeaderError
- type RequiredParamError
- type Rollback
- type RollbackTaskJSONRequestBody
- type RunnerCapabilities
- type RunnerId
- type RunnerInfo
- type RunnerInfoStatus
- type RunnerJob
- type SaveProjectPresetJSONRequestBody
- type Scorecard
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AddCampaignTargets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddProductEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddProjectKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AdmitTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AdvanceTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentBlocked(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentCatalogue(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentProposeProduct(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentPutArtifact(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentQuestion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgentTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ApproveComponent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ApproveTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ArchiveProject(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Capabilities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureProjectPlugin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateProject(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateTaskJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteComponent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteKnowledgeEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteProject(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteProjectPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FetchKnowledgePacks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ForgetDevice(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ForgetRunner(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCampaign(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProject(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectBudget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectConfig(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectMetrics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTaskMetrics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTaskPluginUI(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HandoffTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Healthz(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InstallPlugin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAgentCalls(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListComponents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInbox(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIncidents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListJobContext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListJobEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListKnowledgePacks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPluginCalls(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPlugins(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProductContext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectPacks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectPlugins(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectPresets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectRepos(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjectTemplates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjects(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListQuality(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListReleases(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRunners(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTaskArtifacts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTaskJobs(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTaskTransitions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTasks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Me(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewKnowledge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewTaskContext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutComponent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutProjectRepo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Readyz(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RecordTaskUsage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegisterDevice(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveProjectPack(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestRunnerLogin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RollbackTask(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SaveProjectPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ScoreNow(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetProductEntryStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetProjectConfig(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetProjectPack(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetTaskCheck(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetTaskComponent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SkipCampaignTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SteerJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StopJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Version(w http.ResponseWriter, r *http.Request)
- type SetMemberJSONRequestBody
- type SetProductEntryStatusJSONRequestBody
- type SetProjectConfigJSONRequestBody
- type SetProjectPackJSONRequestBody
- type SetTaskCheckJSONRequestBody
- type SetTaskComponentJSONRequestBody
- type SetWorkspaceProcessJSONRequestBody
- type SkipCampaignTargetJSONRequestBody
- type SkipTarget
- type Status
- type SteerJob
- type SteerJobJSONRequestBody
- type StopJob
- type StopJobJSONRequestBody
- type Task
- type TaskComponent
- type TaskDetail
- type TaskDetailOrigin
- type TaskId
- type TaskMetrics
- type TaskOrigin
- type TaskState
- type TaskStateKind
- type TemplatePhase
- type Token
- type Tokens
- type TooManyValuesForParamError
- type Transition
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) AddCampaignTargets(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) AddProductEntry(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) AddProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) AddWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AdmitTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) AdvanceTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) AgentBlocked(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AgentCatalogue(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AgentKnowledge(w http.ResponseWriter, r *http.Request, params AgentKnowledgeParams)
- func (_ Unimplemented) AgentProposeProduct(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AgentPutArtifact(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AgentQuestion(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AgentTask(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ApproveComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
- func (_ Unimplemented) ApproveTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) ArchiveProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) Capabilities(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ConfigureProjectPlugin(w http.ResponseWriter, r *http.Request, projectId ProjectId, ...)
- func (_ Unimplemented) CreateProject(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateTask(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) CreateTaskJob(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) CreateToken(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
- func (_ Unimplemented) DeleteKnowledgeEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
- func (_ Unimplemented) DeleteProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) DeleteProjectPreset(w http.ResponseWriter, r *http.Request, presetId openapi_types.UUID)
- func (_ Unimplemented) FetchKnowledgePacks(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ForgetDevice(w http.ResponseWriter, r *http.Request, deviceToken string)
- func (_ Unimplemented) ForgetRunner(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
- func (_ Unimplemented) GetCampaign(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)
- func (_ Unimplemented) GetProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) GetProjectBudget(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) GetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) GetProjectMetrics(w http.ResponseWriter, r *http.Request, projectId ProjectId, ...)
- func (_ Unimplemented) GetTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) GetTaskMetrics(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) GetTaskPluginUI(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) GetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) HandoffTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) Healthz(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) InstallPlugin(w http.ResponseWriter, r *http.Request, pluginName PluginName)
- func (_ Unimplemented) ListAgentCalls(w http.ResponseWriter, r *http.Request, jobId JobId, ...)
- func (_ Unimplemented) ListComponents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListInbox(w http.ResponseWriter, r *http.Request, params ListInboxParams)
- func (_ Unimplemented) ListIncidents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListJobContext(w http.ResponseWriter, r *http.Request, jobId JobId)
- func (_ Unimplemented) ListJobEvents(w http.ResponseWriter, r *http.Request, jobId JobId, ...)
- func (_ Unimplemented) ListKnowledgePacks(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListPluginCalls(w http.ResponseWriter, r *http.Request, projectId ProjectId, ...)
- func (_ Unimplemented) ListPlugins(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListProductContext(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectMembers(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectPacks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectPlugins(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectPresets(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListProjectRepos(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjectTemplates(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListProjects(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListQuality(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListReleases(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListRunners(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListTaskArtifacts(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) ListTaskJobs(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) ListTaskTransitions(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) ListTasks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) ListTokens(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) Me(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PreviewKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId, ...)
- func (_ Unimplemented) PreviewTaskContext(w http.ResponseWriter, r *http.Request, taskId TaskId, ...)
- func (_ Unimplemented) PutComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) PutProjectRepo(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) Readyz(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RecordTaskUsage(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) RegisterDevice(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RemoveProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId, packName string)
- func (_ Unimplemented) RequestRunnerLogin(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
- func (_ Unimplemented) RevokeToken(w http.ResponseWriter, r *http.Request, tokenId openapi_types.UUID)
- func (_ Unimplemented) RollbackTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) SaveProjectPreset(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ScoreNow(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) SetMember(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) SetProductEntryStatus(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
- func (_ Unimplemented) SetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) SetProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId)
- func (_ Unimplemented) SetTaskCheck(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) SetTaskComponent(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) SetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SkipCampaignTarget(w http.ResponseWriter, r *http.Request, taskId TaskId)
- func (_ Unimplemented) SteerJob(w http.ResponseWriter, r *http.Request, jobId JobId)
- func (_ Unimplemented) StopJob(w http.ResponseWriter, r *http.Request, jobId JobId)
- func (_ Unimplemented) Version(w http.ResponseWriter, r *http.Request)
- type UnmarshalingParamError
- type UsageAck
- type UsageInput
- type User
- type UserWorkspaceRole
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AddCampaignTargetsJSONRequestBody ¶
type AddCampaignTargetsJSONRequestBody = CampaignTargets
AddCampaignTargetsJSONRequestBody defines body for AddCampaignTargets for application/json ContentType.
type AddProductEntryJSONRequestBody ¶
type AddProductEntryJSONRequestBody = NewProductEntry
AddProductEntryJSONRequestBody defines body for AddProductEntry for application/json ContentType.
type AddProjectKnowledgeJSONRequestBody ¶
type AddProjectKnowledgeJSONRequestBody = NewKnowledgeEntry
AddProjectKnowledgeJSONRequestBody defines body for AddProjectKnowledge for application/json ContentType.
type AddWorkspaceKnowledgeJSONRequestBody ¶
type AddWorkspaceKnowledgeJSONRequestBody = NewKnowledgeEntry
AddWorkspaceKnowledgeJSONRequestBody defines body for AddWorkspaceKnowledge for application/json ContentType.
type AdvanceTaskJSONRequestBody ¶
type AdvanceTaskJSONRequestBody = Reason
AdvanceTaskJSONRequestBody defines body for AdvanceTask for application/json ContentType.
type AgentArtifact ¶
type AgentArtifact struct {
Content string `json:"content"`
// Type brief | plan | report | review | note
Type string `json:"type"`
}
AgentArtifact defines model for AgentArtifact.
type AgentBlockedJSONRequestBody ¶
type AgentBlockedJSONRequestBody = AgentReason
AgentBlockedJSONRequestBody defines body for AgentBlocked for application/json ContentType.
type AgentCall ¶
type AgentCall struct {
At time.Time `json:"at"`
// Command task show | task blocked | ask | artifact put | product propose | catalogue show | knowledge search
Command string `json:"command"`
Detail map[string]interface{} `json:"detail"`
}
AgentCall defines model for AgentCall.
type AgentDocument ¶
type AgentDocument struct {
Body string `json:"body"`
// Kind knowledge | product
Kind string `json:"kind"`
Title string `json:"title"`
}
AgentDocument defines model for AgentDocument.
type AgentKnowledgeParams ¶
type AgentKnowledgeParams struct {
Q string `form:"q" json:"q"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
AgentKnowledgeParams defines parameters for AgentKnowledge.
type AgentProduct ¶
type AgentProduct struct {
Content string `json:"content"`
Kind AgentProductKind `json:"kind"`
Title string `json:"title"`
}
AgentProduct defines model for AgentProduct.
type AgentProductKind ¶
type AgentProductKind string
AgentProductKind defines model for AgentProduct.Kind.
const ( AgentProductKindDecision AgentProductKind = "decision" AgentProductKindLesson AgentProductKind = "lesson" )
Defines values for AgentProductKind.
type AgentProposeProductJSONRequestBody ¶
type AgentProposeProductJSONRequestBody = AgentProduct
AgentProposeProductJSONRequestBody defines body for AgentProposeProduct for application/json ContentType.
type AgentPutArtifactJSONRequestBody ¶
type AgentPutArtifactJSONRequestBody = AgentArtifact
AgentPutArtifactJSONRequestBody defines body for AgentPutArtifact for application/json ContentType.
type AgentQuestionJSONRequestBody ¶
type AgentQuestionJSONRequestBody = AgentReason
AgentQuestionJSONRequestBody defines body for AgentQuestion for application/json ContentType.
type AgentReason ¶
type AgentReason struct {
// Reason said plainly, for a person to read in the inbox
Reason string `json:"reason"`
}
AgentReason defines model for AgentReason.
type AgentTask ¶
type AgentTask struct {
Artifacts []Artifact `json:"artifacts"`
Gate *Gate `json:"gate,omitempty"`
JobId openapi_types.UUID `json:"jobId"`
Phase string `json:"phase"`
Role string `json:"role"`
Task Task `json:"task"`
}
AgentTask defines model for AgentTask.
type AgentWrite ¶
type AgentWrite struct {
Detail *string `json:"detail,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// Link where to open it: gator://tasks/<id>
Link *string `json:"link,omitempty"`
Ok bool `json:"ok"`
}
AgentWrite defines model for AgentWrite.
type ArchiveProject ¶
type ArchiveProject struct {
Archived bool `json:"archived"`
}
ArchiveProject defines model for ArchiveProject.
type ArchiveProjectJSONRequestBody ¶
type ArchiveProjectJSONRequestBody = ArchiveProject
ArchiveProjectJSONRequestBody defines body for ArchiveProject for application/json ContentType.
type Artifact ¶
type Artifact struct {
Approved bool `json:"approved"`
ApprovedAt *time.Time `json:"approvedAt,omitempty"`
Content *string `json:"content,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Phase string `json:"phase"`
Type string `json:"type"`
Url *string `json:"url,omitempty"`
Version int `json:"version"`
}
Artifact defines model for Artifact.
type Budget ¶
type Budget struct {
// DailyLimitUsd 0 means no limit is set
DailyLimitUsd float64 `json:"dailyLimitUsd"`
// Estimated true while any of the spend comes from a subscription, where cost is an estimate
Estimated bool `json:"estimated"`
SpentTodayUsd float64 `json:"spentTodayUsd"`
}
Budget defines model for Budget.
type Campaign ¶
type Campaign struct {
Blocked int `json:"blocked"`
Done int `json:"done"`
Skipped int `json:"skipped"`
Targets []CampaignTarget `json:"targets"`
Waiting int `json:"waiting"`
}
Campaign defines model for Campaign.
type CampaignTarget ¶
type CampaignTarget struct {
// Blocked why this target cannot move; empty when it can
Blocked *string `json:"blocked,omitempty"`
Closed *bool `json:"closed,omitempty"`
// Key a component key, or another project's slug
Key string `json:"key"`
Phase *string `json:"phase,omitempty"`
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
SkipReason *string `json:"skipReason,omitempty"`
Skipped bool `json:"skipped"`
TaskId *openapi_types.UUID `json:"taskId,omitempty"`
Title *string `json:"title,omitempty"`
}
CampaignTarget defines model for CampaignTarget.
type CampaignTargetInput ¶
type CampaignTargetInput struct {
Key string `json:"key"`
// Kind default chore
Kind *CampaignTargetInputKind `json:"kind,omitempty"`
// ProjectId another project; default: the campaign's own
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
Title *string `json:"title,omitempty"`
}
CampaignTargetInput defines model for CampaignTargetInput.
type CampaignTargetInputKind ¶
type CampaignTargetInputKind string
CampaignTargetInputKind default chore
const ( CampaignTargetInputKindBug CampaignTargetInputKind = "bug" CampaignTargetInputKindChore CampaignTargetInputKind = "chore" CampaignTargetInputKindFeature CampaignTargetInputKind = "feature" CampaignTargetInputKindIncident CampaignTargetInputKind = "incident" )
Defines values for CampaignTargetInputKind.
type CampaignTargets ¶
type CampaignTargets struct {
// Instruction carried into every target's task, so an agent has the whole decision
Instruction *string `json:"instruction,omitempty"`
Targets []CampaignTargetInput `json:"targets"`
}
CampaignTargets defines model for CampaignTargets.
type Capabilities ¶
type Capabilities struct {
Features []string `json:"features"`
ProtocolVersion int `json:"protocolVersion"`
}
Capabilities defines model for Capabilities.
type Check ¶
type Check struct {
Detail *string `json:"detail,omitempty"`
Name string `json:"name"`
Source string `json:"source"`
Status CheckStatus `json:"status"`
}
Check defines model for Check.
type CheckStatus ¶
type CheckStatus string
CheckStatus defines model for Check.Status.
const ( CheckStatusFail CheckStatus = "fail" CheckStatusPass CheckStatus = "pass" CheckStatusPending CheckStatus = "pending" )
Defines values for CheckStatus.
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type Component ¶
type Component struct {
// Decisions approved decisions that shaped it
Decisions []ProductEntry `json:"decisions"`
// DependsOn keys of components this one needs
DependsOn []string `json:"dependsOn"`
Id openapi_types.UUID `json:"id"`
// Key short handle, unique in the project
Key string `json:"key"`
Kind ComponentKind `json:"kind"`
Name string `json:"name"`
Notes *string `json:"notes,omitempty"`
OwnerId *openapi_types.UUID `json:"ownerId,omitempty"`
OwnerName *string `json:"ownerName,omitempty"`
Path *string `json:"path,omitempty"`
// ProposedReason why the server suggested it
ProposedReason *string `json:"proposedReason,omitempty"`
Repo *string `json:"repo,omitempty"`
// Status a proposed component was worked out from where jobs change code; it reaches no prompt until approved
Status *ComponentStatus `json:"status,omitempty"`
// UsedBy keys of components a change here reaches
UsedBy []string `json:"usedBy"`
}
Component defines model for Component.
type ComponentInput ¶
type ComponentInput struct {
// Decisions replaces the linked decisions
Decisions *[]openapi_types.UUID `json:"decisions,omitempty"`
// DependsOn replaces the dependencies; keys must exist in this project
DependsOn *[]string `json:"dependsOn,omitempty"`
Key string `json:"key"`
Kind ComponentInputKind `json:"kind"`
Name string `json:"name"`
Notes *string `json:"notes,omitempty"`
OwnerId *openapi_types.UUID `json:"ownerId,omitempty"`
Path *string `json:"path,omitempty"`
Repo *string `json:"repo,omitempty"`
}
ComponentInput defines model for ComponentInput.
type ComponentInputKind ¶
type ComponentInputKind string
ComponentInputKind defines model for ComponentInput.Kind.
const ( ComponentInputKindApi ComponentInputKind = "api" ComponentInputKindApp ComponentInputKind = "app" ComponentInputKindInfra ComponentInputKind = "infra" ComponentInputKindLib ComponentInputKind = "lib" )
Defines values for ComponentInputKind.
type ComponentKind ¶
type ComponentKind string
ComponentKind defines model for Component.Kind.
const ( ComponentKindApi ComponentKind = "api" ComponentKindApp ComponentKind = "app" ComponentKindInfra ComponentKind = "infra" ComponentKindLib ComponentKind = "lib" )
Defines values for ComponentKind.
type ComponentStatus ¶
type ComponentStatus string
ComponentStatus a proposed component was worked out from where jobs change code; it reaches no prompt until approved
const ( ComponentStatusApproved ComponentStatus = "approved" ComponentStatusProposed ComponentStatus = "proposed" )
Defines values for ComponentStatus.
type ConfigureProjectPluginJSONRequestBody ¶
type ConfigureProjectPluginJSONRequestBody = ProjectPluginSettings
ConfigureProjectPluginJSONRequestBody defines body for ConfigureProjectPlugin for application/json ContentType.
type ContextDocument ¶
type ContextDocument struct {
// Body as it went into the prompt; empty when the document was left out
Body *string `json:"body,omitempty"`
Bytes int `json:"bytes"`
Dropped bool `json:"dropped"`
// FullBytes its length before trimming
FullBytes int `json:"fullBytes"`
Kind string `json:"kind"`
// LeftOut why it did not arrive whole; empty when it did
LeftOut *string `json:"leftOut,omitempty"`
// Origin task | catalogue | product | knowledge | artifact | plugin
Origin *string `json:"origin,omitempty"`
Phase *string `json:"phase,omitempty"`
Title string `json:"title"`
}
ContextDocument defines model for ContextDocument.
type ContextPackage ¶
type ContextPackage struct {
// Bytes what reached the prompt, in bytes
Bytes int `json:"bytes"`
Documents []ContextDocument `json:"documents"`
// Dropped documents left out entirely
Dropped int `json:"dropped"`
}
ContextPackage defines model for ContextPackage.
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = NewProject
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateTaskJSONRequestBody ¶
type CreateTaskJSONRequestBody = NewTask
CreateTaskJSONRequestBody defines body for CreateTask for application/json ContentType.
type CreateTaskJobJSONRequestBody ¶
type CreateTaskJobJSONRequestBody = NewJob
CreateTaskJobJSONRequestBody defines body for CreateTaskJob for application/json ContentType.
type CreateTokenJSONRequestBody ¶
type CreateTokenJSONRequestBody = NewToken
CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.
type Decision ¶
type Decision struct {
Reason DecisionReason `json:"reason"`
// Rollbacks times this task was sent back into its current phase
Rollbacks *int `json:"rollbacks,omitempty"`
Task Task `json:"task"`
WaitingSince time.Time `json:"waitingSince"`
}
Decision defines model for Decision.
type DecisionReason ¶
type DecisionReason string
DecisionReason defines model for Decision.Reason.
const ( DecisionReasonApproval DecisionReason = "approval" DecisionReasonBlocked DecisionReason = "blocked" DecisionReasonExternal DecisionReason = "external" DecisionReasonIdea DecisionReason = "idea" DecisionReasonJobFailed DecisionReason = "job_failed" DecisionReasonNoRunner DecisionReason = "no_runner" DecisionReasonRequirementsChanged DecisionReason = "requirements_changed" )
Defines values for DecisionReason.
type Device ¶
type Device struct {
AppVersion *string `json:"appVersion,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Platform string `json:"platform"`
}
Device defines model for Device.
type FetchKnowledgePacksJSONRequestBody ¶
type FetchKnowledgePacksJSONRequestBody = FetchPacks
FetchKnowledgePacksJSONRequestBody defines body for FetchKnowledgePacks for application/json ContentType.
type FetchPacks ¶
type FetchPacks struct {
// Url git url of the registry
Url string `json:"url"`
}
FetchPacks defines model for FetchPacks.
type Gate ¶
type Gate struct {
BlockedBy *string `json:"blockedBy,omitempty"`
BlockedReason *string `json:"blockedReason,omitempty"`
Checks []Check `json:"checks"`
HumanApproved bool `json:"humanApproved"`
Kind GateKind `json:"kind"`
Phase string `json:"phase"`
}
Gate defines model for Gate.
type GetProjectMetricsParams ¶
type GetProjectMetricsParams struct {
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
}
GetProjectMetricsParams defines parameters for GetProjectMetrics.
type Handoff ¶
type Handoff struct {
Reason *string `json:"reason,omitempty"`
ToId openapi_types.UUID `json:"toId"`
ToKind HandoffToKind `json:"toKind"`
}
Handoff defines model for Handoff.
type HandoffTaskJSONRequestBody ¶
type HandoffTaskJSONRequestBody = Handoff
HandoffTaskJSONRequestBody defines body for HandoffTask for application/json ContentType.
type HandoffToKind ¶
type HandoffToKind string
HandoffToKind defines model for Handoff.ToKind.
const ( HandoffToKindRunner HandoffToKind = "runner" HandoffToKindUser HandoffToKind = "user" )
Defines values for HandoffToKind.
type Incident ¶
type Incident struct {
ClosedAt *time.Time `json:"closedAt,omitempty"`
// Count how many times it has been reported
Count int `json:"count"`
// Fingerprint what makes one fault one incident
Fingerprint string `json:"fingerprint"`
FirstSeenAt time.Time `json:"firstSeenAt"`
Id openapi_types.UUID `json:"id"`
LastSeenAt time.Time `json:"lastSeenAt"`
ReleaseId *openapi_types.UUID `json:"releaseId,omitempty"`
Severity IncidentSeverity `json:"severity"`
TaskId *openapi_types.UUID `json:"taskId,omitempty"`
Title string `json:"title"`
Url *string `json:"url,omitempty"`
}
Incident defines model for Incident.
type IncidentSeverity ¶
type IncidentSeverity string
IncidentSeverity defines model for Incident.Severity.
const ( Critical IncidentSeverity = "critical" High IncidentSeverity = "high" Low IncidentSeverity = "low" Medium IncidentSeverity = "medium" )
Defines values for IncidentSeverity.
type InstallPlugin ¶
type InstallPlugin struct {
// Command argv of the plugin process on the server
Command []string `json:"command"`
}
InstallPlugin defines model for InstallPlugin.
type InstallPluginJSONRequestBody ¶
type InstallPluginJSONRequestBody = InstallPlugin
InstallPluginJSONRequestBody defines body for InstallPlugin for application/json ContentType.
type InstalledPlugin ¶
type InstalledPlugin struct {
Capabilities []string `json:"capabilities"`
Command []string `json:"command"`
Enabled bool `json:"enabled"`
Hooks []string `json:"hooks"`
Manifest *map[string]interface{} `json:"manifest,omitempty"`
Name string `json:"name"`
Version string `json:"version"`
}
InstalledPlugin defines model for InstalledPlugin.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type IssuedToken ¶
type IssuedToken struct {
CreatedAt time.Time `json:"createdAt"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id openapi_types.UUID `json:"id"`
Kind string `json:"kind"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name string `json:"name"`
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
Scope string `json:"scope"`
// Token plaintext, shown once
Token string `json:"token"`
}
IssuedToken defines model for IssuedToken.
type Job ¶
type Job struct {
Attempts int `json:"attempts"`
Backend string `json:"backend"`
// ContextBytes how much of the prompt was documents this job was handed
ContextBytes *int `json:"contextBytes,omitempty"`
// ContextDocs how many documents
ContextDocs *int `json:"contextDocs,omitempty"`
CreatedAt time.Time `json:"createdAt"`
FinishedAt *time.Time `json:"finishedAt,omitempty"`
Id openapi_types.UUID `json:"id"`
Instruction string `json:"instruction"`
LastEventAt *time.Time `json:"lastEventAt,omitempty"`
LeaseExpiresAt *time.Time `json:"leaseExpiresAt,omitempty"`
MaxAttempts int `json:"maxAttempts"`
Model *string `json:"model,omitempty"`
// Objections how many times this turn was sent back to work before it was allowed to end
Objections *int `json:"objections,omitempty"`
Phase string `json:"phase"`
ProjectId openapi_types.UUID `json:"projectId"`
Receipt *map[string]interface{} `json:"receipt,omitempty"`
Role string `json:"role"`
RunnerId *openapi_types.UUID `json:"runnerId,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
Status JobStatus `json:"status"`
StopReason *string `json:"stopReason,omitempty"`
TaskId openapi_types.UUID `json:"taskId"`
}
Job defines model for Job.
type JobEvent ¶
type JobEvent struct {
At time.Time `json:"at"`
Payload map[string]interface{} `json:"payload"`
Seq int64 `json:"seq"`
Type string `json:"type"`
}
JobEvent defines model for JobEvent.
type JobStatus ¶
type JobStatus string
JobStatus defines model for Job.Status.
const ( JobStatusDone JobStatus = "done" JobStatusFailed JobStatus = "failed" JobStatusLeased JobStatus = "leased" JobStatusQueued JobStatus = "queued" JobStatusRunning JobStatus = "running" JobStatusStalled JobStatus = "stalled" JobStatusStopped JobStatus = "stopped" )
Defines values for JobStatus.
type KindMetrics ¶
type KindMetrics struct {
AgentSeconds float64 `json:"agentSeconds"`
AvgLeadSeconds float64 `json:"avgLeadSeconds"`
ClosedTasks int64 `json:"closedTasks"`
CostUsd float64 `json:"costUsd"`
Jobs int64 `json:"jobs"`
Kind string `json:"kind"`
Tasks int64 `json:"tasks"`
Tokens Tokens `json:"tokens"`
}
KindMetrics defines model for KindMetrics.
type KnowledgeEntry ¶
type KnowledgeEntry struct {
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Position int `json:"position"`
// ProjectId absent for a workspace-wide entry
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
Scope KnowledgeEntryScope `json:"scope"`
Title string `json:"title"`
}
KnowledgeEntry defines model for KnowledgeEntry.
type KnowledgeEntryScope ¶
type KnowledgeEntryScope string
KnowledgeEntryScope defines model for KnowledgeEntry.Scope.
const ( KnowledgeEntryScopeArchitecture KnowledgeEntryScope = "architecture" KnowledgeEntryScopeLanguage KnowledgeEntryScope = "language" KnowledgeEntryScopeRequirements KnowledgeEntryScope = "requirements" KnowledgeEntryScopeSecurity KnowledgeEntryScope = "security" KnowledgeEntryScopeTesting KnowledgeEntryScope = "testing" )
Defines values for KnowledgeEntryScope.
type KnowledgePack ¶
type KnowledgePack struct {
AppliesTo *[]string `json:"appliesTo,omitempty"`
Checksum string `json:"checksum"`
// Enabled present when listed for a project
Enabled *bool `json:"enabled,omitempty"`
FetchedAt *time.Time `json:"fetchedAt,omitempty"`
Files []string `json:"files"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Phases *[]string `json:"phases,omitempty"`
Roles *[]string `json:"roles,omitempty"`
Scope string `json:"scope"`
Url *string `json:"url,omitempty"`
Version string `json:"version"`
}
KnowledgePack defines model for KnowledgePack.
type KnowledgePreview ¶
type KnowledgePreview struct {
// Bytes size of the technical part of the prompt
Bytes int `json:"bytes"`
Documents []PreviewDocument `json:"documents"`
Warnings []string `json:"warnings"`
}
KnowledgePreview defines model for KnowledgePreview.
type ListAgentCallsParams ¶
type ListAgentCallsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAgentCallsParams defines parameters for ListAgentCalls.
type ListInboxParams ¶
type ListInboxParams struct {
ProjectId *openapi_types.UUID `form:"projectId,omitempty" json:"projectId,omitempty"`
// Mine only tasks handed to the caller
Mine *bool `form:"mine,omitempty" json:"mine,omitempty"`
}
ListInboxParams defines parameters for ListInbox.
type ListJobEventsParams ¶
type ListJobEventsParams struct {
After *int64 `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListJobEventsParams defines parameters for ListJobEvents.
type ListPluginCallsParams ¶
type ListPluginCallsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPluginCallsParams defines parameters for ListPluginCalls.
type LoginRequest ¶
type LoginRequest struct {
Backend string `json:"backend"`
}
LoginRequest defines model for LoginRequest.
type Me ¶
type Me struct {
Kind string `json:"kind"`
Name string `json:"name"`
Scope *string `json:"scope,omitempty"`
UserId *openapi_types.UUID `json:"userId,omitempty"`
WorkspaceRole string `json:"workspaceRole"`
}
Me defines model for Me.
type Member ¶
type Member struct {
Role MemberRole `json:"role"`
UserId openapi_types.UUID `json:"userId"`
}
Member defines model for Member.
type MemberRole ¶
type MemberRole string
MemberRole defines model for Member.Role.
const ( MemberRoleAdmin MemberRole = "admin" MemberRoleMember MemberRole = "member" MemberRoleViewer MemberRole = "viewer" )
Defines values for MemberRole.
type NewDevice ¶
type NewDevice struct {
AppVersion *string `json:"appVersion,omitempty"`
Platform NewDevicePlatform `json:"platform"`
// Token APNs device token
Token string `json:"token"`
}
NewDevice defines model for NewDevice.
type NewDevicePlatform ¶
type NewDevicePlatform string
NewDevicePlatform defines model for NewDevice.Platform.
const ( Ios NewDevicePlatform = "ios" Macos NewDevicePlatform = "macos" )
Defines values for NewDevicePlatform.
type NewJob ¶
type NewJob struct {
// Backend claude | codex | pi; defaults to the project's policy for the role
Backend *string `json:"backend,omitempty"`
Instruction *string `json:"instruction,omitempty"`
MaxAttempts *int `json:"maxAttempts,omitempty"`
// MaxCostUsd cost cap for this job; defaults to the policy's
MaxCostUsd *float64 `json:"maxCostUsd,omitempty"`
MaxToolCalls *int `json:"maxToolCalls,omitempty"`
// Model defaults to the policy's model when the backend is the policy's
Model *string `json:"model,omitempty"`
Role *string `json:"role,omitempty"`
TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`
}
NewJob defines model for NewJob.
type NewKnowledgeEntry ¶
type NewKnowledgeEntry struct {
Content string `json:"content"`
Position *int `json:"position,omitempty"`
Scope NewKnowledgeEntryScope `json:"scope"`
Title string `json:"title"`
}
NewKnowledgeEntry defines model for NewKnowledgeEntry.
type NewKnowledgeEntryScope ¶
type NewKnowledgeEntryScope string
NewKnowledgeEntryScope defines model for NewKnowledgeEntry.Scope.
const ( NewKnowledgeEntryScopeArchitecture NewKnowledgeEntryScope = "architecture" NewKnowledgeEntryScopeLanguage NewKnowledgeEntryScope = "language" NewKnowledgeEntryScopeRequirements NewKnowledgeEntryScope = "requirements" NewKnowledgeEntryScopeSecurity NewKnowledgeEntryScope = "security" NewKnowledgeEntryScopeTesting NewKnowledgeEntryScope = "testing" )
Defines values for NewKnowledgeEntryScope.
type NewProductEntry ¶
type NewProductEntry struct {
Content string `json:"content"`
Kind NewProductEntryKind `json:"kind"`
Title string `json:"title"`
}
NewProductEntry defines model for NewProductEntry.
type NewProductEntryKind ¶
type NewProductEntryKind string
NewProductEntryKind defines model for NewProductEntry.Kind.
const ( NewProductEntryKindDecision NewProductEntryKind = "decision" NewProductEntryKindGlossary NewProductEntryKind = "glossary" NewProductEntryKindLesson NewProductEntryKind = "lesson" NewProductEntryKindPersona NewProductEntryKind = "persona" NewProductEntryKindPrinciples NewProductEntryKind = "principles" NewProductEntryKindRoadmap NewProductEntryKind = "roadmap" NewProductEntryKindVision NewProductEntryKind = "vision" )
Defines values for NewProductEntryKind.
type NewProject ¶
type NewProject struct {
Name string `json:"name"`
// Preset name of a project preset to start from; its vision, principles, process, packs and repository are copied, never shared
Preset *string `json:"preset,omitempty"`
Slug string `json:"slug"`
Tags *[]string `json:"tags,omitempty"`
}
NewProject defines model for NewProject.
type NewProjectPreset ¶
type NewProjectPreset struct {
Description *string `json:"description,omitempty"`
// FromProjectId the project to snapshot
FromProjectId openapi_types.UUID `json:"fromProjectId"`
Name string `json:"name"`
}
NewProjectPreset defines model for NewProjectPreset.
type NewTask ¶
type NewTask struct {
// Description what the person wants, in their words; jobs get it in their prompt
Description *string `json:"description,omitempty"`
Kind NewTaskKind `json:"kind"`
Title string `json:"title"`
Urgency *int `json:"urgency,omitempty"`
}
NewTask defines model for NewTask.
type NewTaskKind ¶
type NewTaskKind string
NewTaskKind defines model for NewTask.Kind.
const ( NewTaskKindBug NewTaskKind = "bug" NewTaskKindCampaign NewTaskKind = "campaign" NewTaskKindChore NewTaskKind = "chore" NewTaskKindFeature NewTaskKind = "feature" NewTaskKindIncident NewTaskKind = "incident" )
Defines values for NewTaskKind.
type NewToken ¶
type NewToken struct {
Kind NewTokenKind `json:"kind"`
Name string `json:"name"`
// ProjectId required for plugin tokens
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
TtlHours *int `json:"ttlHours,omitempty"`
}
NewToken defines model for NewToken.
type NewTokenKind ¶
type NewTokenKind string
NewTokenKind defines model for NewToken.Kind.
const ( NewTokenKindPlugin NewTokenKind = "plugin" NewTokenKindRunner NewTokenKind = "runner" NewTokenKindUser NewTokenKind = "user" )
Defines values for NewTokenKind.
type PhaseMetrics ¶
type PhaseMetrics struct {
// AgentSeconds time agents ran during this phase
AgentSeconds float64 `json:"agentSeconds"`
BlockedSeconds float64 `json:"blockedSeconds"`
CostUsd float64 `json:"costUsd"`
Jobs int `json:"jobs"`
// Owner human | runner | plugin, from the template
Owner string `json:"owner"`
Phase string `json:"phase"`
// QueueSeconds jobs waiting for a runner
QueueSeconds float64 `json:"queueSeconds"`
// Seconds wall time spent in the phase
Seconds float64 `json:"seconds"`
Tokens Tokens `json:"tokens"`
// Visits times the task entered this phase (rollbacks add visits)
Visits int `json:"visits"`
// WaitingSeconds rest of the phase time, waiting for a person
WaitingSeconds float64 `json:"waitingSeconds"`
// WorkSeconds job wall time from start to finish
WorkSeconds float64 `json:"workSeconds"`
}
PhaseMetrics defines model for PhaseMetrics.
type PluginCall ¶
type PluginCall struct {
CreatedAt time.Time `json:"createdAt"`
// Direction core_to_plugin | plugin_to_core
Direction string `json:"direction"`
DurationMs int `json:"durationMs"`
Error *string `json:"error,omitempty"`
Id int64 `json:"id"`
Method string `json:"method"`
Payload interface{} `json:"payload,omitempty"`
Result interface{} `json:"result,omitempty"`
}
PluginCall defines model for PluginCall.
type PluginChip ¶
type PluginChip struct {
Color *string `json:"color,omitempty"`
Plugin string `json:"plugin"`
Text string `json:"text"`
Url *string `json:"url,omitempty"`
}
PluginChip defines model for PluginChip.
type PluginTab ¶
type PluginTab struct {
Markdown string `json:"markdown"`
Plugin string `json:"plugin"`
Title string `json:"title"`
}
PluginTab defines model for PluginTab.
type PluginUI ¶
type PluginUI struct {
Chips []PluginChip `json:"chips"`
Tabs []PluginTab `json:"tabs"`
}
PluginUI defines model for PluginUI.
type PresetEntry ¶
type PresetEntry struct {
Content string `json:"content"`
Kind string `json:"kind"`
Title string `json:"title"`
}
PresetEntry defines model for PresetEntry.
type PreviewDocument ¶
type PreviewDocument struct {
Body string `json:"body"`
Scope string `json:"scope"`
Title string `json:"title"`
}
PreviewDocument defines model for PreviewDocument.
type PreviewKnowledgeParams ¶
type PreviewKnowledgeParams struct {
Role string `form:"role" json:"role"`
Phase *string `form:"phase,omitempty" json:"phase,omitempty"`
}
PreviewKnowledgeParams defines parameters for PreviewKnowledge.
type PreviewTaskContextParams ¶
type PreviewTaskContextParams struct {
Role *string `form:"role,omitempty" json:"role,omitempty"`
}
PreviewTaskContextParams defines parameters for PreviewTaskContext.
type ProductEntry ¶
type ProductEntry struct {
ApprovedAt *time.Time `json:"approvedAt,omitempty"`
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Kind ProductEntryKind `json:"kind"`
SourceTaskId *openapi_types.UUID `json:"sourceTaskId,omitempty"`
Status ProductEntryStatus `json:"status"`
Title string `json:"title"`
Version int `json:"version"`
}
ProductEntry defines model for ProductEntry.
type ProductEntryKind ¶
type ProductEntryKind string
ProductEntryKind defines model for ProductEntry.Kind.
const ( ProductEntryKindDecision ProductEntryKind = "decision" ProductEntryKindGlossary ProductEntryKind = "glossary" ProductEntryKindLesson ProductEntryKind = "lesson" ProductEntryKindPersona ProductEntryKind = "persona" ProductEntryKindPrinciples ProductEntryKind = "principles" ProductEntryKindRoadmap ProductEntryKind = "roadmap" ProductEntryKindVision ProductEntryKind = "vision" )
Defines values for ProductEntryKind.
type ProductEntryStatus ¶
type ProductEntryStatus string
ProductEntryStatus defines model for ProductEntry.Status.
const ( ProductEntryStatusApproved ProductEntryStatus = "approved" ProductEntryStatusArchived ProductEntryStatus = "archived" ProductEntryStatusProposed ProductEntryStatus = "proposed" )
Defines values for ProductEntryStatus.
type ProductStatusChange ¶
type ProductStatusChange struct {
Status ProductStatusChangeStatus `json:"status"`
}
ProductStatusChange defines model for ProductStatusChange.
type ProductStatusChangeStatus ¶
type ProductStatusChangeStatus string
ProductStatusChangeStatus defines model for ProductStatusChange.Status.
const ( Approved ProductStatusChangeStatus = "approved" Archived ProductStatusChangeStatus = "archived" )
Defines values for ProductStatusChangeStatus.
type Project ¶
type Project struct {
// ArchivedAt set while the project is archived
ArchivedAt *time.Time `json:"archivedAt,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
Tags []string `json:"tags"`
}
Project defines model for Project.
type ProjectConfig ¶
type ProjectConfig struct {
// Config process_config as stored: templates, roles, autopilot, policy
Config map[string]interface{} `json:"config"`
}
ProjectConfig defines model for ProjectConfig.
type ProjectMember ¶
type ProjectMember struct {
Email string `json:"email"`
Name string `json:"name"`
Role ProjectMemberRole `json:"role"`
UserId openapi_types.UUID `json:"userId"`
}
ProjectMember defines model for ProjectMember.
type ProjectMemberRole ¶
type ProjectMemberRole string
ProjectMemberRole defines model for ProjectMember.Role.
const ( ProjectMemberRoleAdmin ProjectMemberRole = "admin" ProjectMemberRoleMember ProjectMemberRole = "member" ProjectMemberRoleViewer ProjectMemberRole = "viewer" )
Defines values for ProjectMemberRole.
type ProjectMetrics ¶
type ProjectMetrics struct {
ByKind []KindMetrics `json:"byKind"`
ProjectId openapi_types.UUID `json:"projectId"`
Since time.Time `json:"since"`
Totals KindMetrics `json:"totals"`
}
ProjectMetrics defines model for ProjectMetrics.
type ProjectPack ¶
type ProjectPack struct {
Name string `json:"name"`
Position *int `json:"position,omitempty"`
// Version defaults to the newest stored
Version *string `json:"version,omitempty"`
}
ProjectPack defines model for ProjectPack.
type ProjectPlugin ¶
type ProjectPlugin struct {
Capabilities []string `json:"capabilities"`
// Config non-secret settings
Config map[string]interface{} `json:"config"`
ConfigSchema *map[string]interface{} `json:"configSchema,omitempty"`
DisabledReason *string `json:"disabledReason,omitempty"`
Enabled bool `json:"enabled"`
Hooks []string `json:"hooks"`
Name string `json:"name"`
Running bool `json:"running"`
// SecretsSet secret settings that hold a value
SecretsSet []string `json:"secretsSet"`
Ui *[]string `json:"ui,omitempty"`
Version string `json:"version"`
}
ProjectPlugin defines model for ProjectPlugin.
type ProjectPluginSettings ¶
type ProjectPluginSettings struct {
Config *map[string]interface{} `json:"config,omitempty"`
Enabled bool `json:"enabled"`
}
ProjectPluginSettings defines model for ProjectPluginSettings.
type ProjectPreset ¶
type ProjectPreset struct {
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
// HasProcess whether the template carries a process configuration
HasProcess *bool `json:"hasProcess,omitempty"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
// Packs knowledge packs a project from this template switches on
Packs []string `json:"packs"`
Product []PresetEntry `json:"product"`
// RepoUrl repository a new project starts with, if any
RepoUrl *string `json:"repoUrl,omitempty"`
}
ProjectPreset defines model for ProjectPreset.
type ProjectRepo ¶
type ProjectRepo struct {
DefaultBranch *string `json:"defaultBranch,omitempty"`
Name string `json:"name"`
Primary *bool `json:"primary,omitempty"`
// Url https://, ssh (git@host:path), file:// or an absolute path
Url string `json:"url"`
}
ProjectRepo defines model for ProjectRepo.
type ProjectTemplate ¶
type ProjectTemplate struct {
Kind string `json:"kind"`
MaxRollbacks int `json:"maxRollbacks"`
Phases []TemplatePhase `json:"phases"`
// Source where the process in force comes from
Source *ProjectTemplateSource `json:"source,omitempty"`
}
ProjectTemplate defines model for ProjectTemplate.
type ProjectTemplateSource ¶
type ProjectTemplateSource string
ProjectTemplateSource where the process in force comes from
const ( ProjectTemplateSourceDefault ProjectTemplateSource = "default" ProjectTemplateSourceProject ProjectTemplateSource = "project" ProjectTemplateSourceWorkspace ProjectTemplateSource = "workspace" )
Defines values for ProjectTemplateSource.
type PutComponentJSONRequestBody ¶
type PutComponentJSONRequestBody = ComponentInput
PutComponentJSONRequestBody defines body for PutComponent for application/json ContentType.
type PutProjectRepoJSONRequestBody ¶
type PutProjectRepoJSONRequestBody = ProjectRepo
PutProjectRepoJSONRequestBody defines body for PutProjectRepo for application/json ContentType.
type QualityCheck ¶
type QualityCheck struct {
Detail *string `json:"detail,omitempty"`
FailingSince *time.Time `json:"failingSince,omitempty"`
Rule string `json:"rule"`
// Source builtin, or the plugin that answered
Source string `json:"source"`
Status QualityCheckStatus `json:"status"`
// TaskId the task opened about this slip
TaskId *openapi_types.UUID `json:"taskId,omitempty"`
Weight int `json:"weight"`
}
QualityCheck defines model for QualityCheck.
type QualityCheckStatus ¶
type QualityCheckStatus string
QualityCheckStatus defines model for QualityCheck.Status.
const ( QualityCheckStatusFail QualityCheckStatus = "fail" QualityCheckStatusPass QualityCheckStatus = "pass" QualityCheckStatusUnknown QualityCheckStatus = "unknown" )
Defines values for QualityCheckStatus.
type Reason ¶
type Reason struct {
Reason *string `json:"reason,omitempty"`
}
Reason defines model for Reason.
type RecordTaskUsageJSONRequestBody ¶
type RecordTaskUsageJSONRequestBody = UsageInput
RecordTaskUsageJSONRequestBody defines body for RecordTaskUsage for application/json ContentType.
type RegisterDeviceJSONRequestBody ¶
type RegisterDeviceJSONRequestBody = NewDevice
RegisterDeviceJSONRequestBody defines body for RegisterDevice for application/json ContentType.
type Release ¶
type Release struct {
CommitSha *string `json:"commitSha,omitempty"`
DeployedAt time.Time `json:"deployedAt"`
Environment string `json:"environment"`
Id openapi_types.UUID `json:"id"`
// ObservationUntil when it stops being watched
ObservationUntil *time.Time `json:"observationUntil,omitempty"`
// OpenIncidents faults still open against this release
OpenIncidents *int `json:"openIncidents,omitempty"`
// SettledAt set once the window passed with nothing reported
SettledAt *time.Time `json:"settledAt,omitempty"`
TaskId *openapi_types.UUID `json:"taskId,omitempty"`
Url *string `json:"url,omitempty"`
Version string `json:"version"`
// Watching the window is still open
Watching bool `json:"watching"`
}
Release defines model for Release.
type RequestRunnerLoginJSONRequestBody ¶
type RequestRunnerLoginJSONRequestBody = LoginRequest
RequestRunnerLoginJSONRequestBody defines body for RequestRunnerLogin for application/json ContentType.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type RollbackTaskJSONRequestBody ¶
type RollbackTaskJSONRequestBody = Rollback
RollbackTaskJSONRequestBody defines body for RollbackTask for application/json ContentType.
type RunnerCapabilities ¶
type RunnerCapabilities struct {
Backends []string `json:"backends"`
// CanLogin this runner can drive an interactive backend login; when false, asking it to is refused
CanLogin *bool `json:"canLogin,omitempty"`
MaxParallel int `json:"maxParallel"`
Projects []string `json:"projects"`
}
RunnerCapabilities defines model for RunnerCapabilities.
type RunnerInfo ¶
type RunnerInfo struct {
AuthState map[string]string `json:"authState"`
BinaryVersion string `json:"binaryVersion"`
Capabilities RunnerCapabilities `json:"capabilities"`
Connected bool `json:"connected"`
Id openapi_types.UUID `json:"id"`
// Jobs what it is working on now
Jobs *[]RunnerJob `json:"jobs,omitempty"`
LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
Location string `json:"location"`
Name string `json:"name"`
// OfflineReason disconnected, or no heartbeat
OfflineReason *string `json:"offlineReason,omitempty"`
// OfflineSince when it stopped answering; absent while it is connected
OfflineSince *time.Time `json:"offlineSince,omitempty"`
ProtocolVersion int `json:"protocolVersion"`
Status RunnerInfoStatus `json:"status"`
}
RunnerInfo defines model for RunnerInfo.
type RunnerInfoStatus ¶
type RunnerInfoStatus string
RunnerInfoStatus defines model for RunnerInfo.Status.
const ( Busy RunnerInfoStatus = "busy" Offline RunnerInfoStatus = "offline" Online RunnerInfoStatus = "online" )
Defines values for RunnerInfoStatus.
type RunnerJob ¶
type RunnerJob struct {
Backend string `json:"backend"`
Id openapi_types.UUID `json:"id"`
Phase string `json:"phase"`
Role string `json:"role"`
StartedAt *time.Time `json:"startedAt,omitempty"`
Status string `json:"status"`
TaskId openapi_types.UUID `json:"taskId"`
TaskTitle string `json:"taskTitle"`
}
RunnerJob defines model for RunnerJob.
type SaveProjectPresetJSONRequestBody ¶
type SaveProjectPresetJSONRequestBody = NewProjectPreset
SaveProjectPresetJSONRequestBody defines body for SaveProjectPreset for application/json ContentType.
type Scorecard ¶
type Scorecard struct {
CheckedAt *time.Time `json:"checkedAt,omitempty"`
Checks []QualityCheck `json:"checks"`
// Component component key; empty means the project as a whole
Component string `json:"component"`
ComponentName *string `json:"componentName,omitempty"`
Earned int `json:"earned"`
Possible int `json:"possible"`
// PreviousEarned the score before this one, for the trend
PreviousEarned *int `json:"previousEarned,omitempty"`
PreviousPossible *int `json:"previousPossible,omitempty"`
}
Scorecard defines model for Scorecard.
type ServerInterface ¶
type ServerInterface interface {
// (POST /agent/artifacts)
AgentPutArtifact(w http.ResponseWriter, r *http.Request)
// (POST /agent/blocked)
AgentBlocked(w http.ResponseWriter, r *http.Request)
// (GET /agent/catalogue)
AgentCatalogue(w http.ResponseWriter, r *http.Request)
// (GET /agent/knowledge)
AgentKnowledge(w http.ResponseWriter, r *http.Request, params AgentKnowledgeParams)
// (POST /agent/product)
AgentProposeProduct(w http.ResponseWriter, r *http.Request)
// (POST /agent/question)
AgentQuestion(w http.ResponseWriter, r *http.Request)
// (GET /agent/task)
AgentTask(w http.ResponseWriter, r *http.Request)
// (GET /auth/me)
Me(w http.ResponseWriter, r *http.Request)
// (GET /capabilities)
Capabilities(w http.ResponseWriter, r *http.Request)
// (POST /devices)
RegisterDevice(w http.ResponseWriter, r *http.Request)
// (DELETE /devices/{deviceToken})
ForgetDevice(w http.ResponseWriter, r *http.Request, deviceToken string)
// (GET /healthz)
Healthz(w http.ResponseWriter, r *http.Request)
// (GET /inbox)
ListInbox(w http.ResponseWriter, r *http.Request, params ListInboxParams)
// (GET /jobs/{jobId})
GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)
// (GET /jobs/{jobId}/agent-calls)
ListAgentCalls(w http.ResponseWriter, r *http.Request, jobId JobId, params ListAgentCallsParams)
// (GET /jobs/{jobId}/context)
ListJobContext(w http.ResponseWriter, r *http.Request, jobId JobId)
// (GET /jobs/{jobId}/events)
ListJobEvents(w http.ResponseWriter, r *http.Request, jobId JobId, params ListJobEventsParams)
// (POST /jobs/{jobId}/steer)
SteerJob(w http.ResponseWriter, r *http.Request, jobId JobId)
// (POST /jobs/{jobId}/stop)
StopJob(w http.ResponseWriter, r *http.Request, jobId JobId)
// (GET /knowledge)
ListWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
// (POST /knowledge)
AddWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
// (DELETE /knowledge/{entryId})
DeleteKnowledgeEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
// (GET /packs)
ListKnowledgePacks(w http.ResponseWriter, r *http.Request)
// (POST /packs)
FetchKnowledgePacks(w http.ResponseWriter, r *http.Request)
// (GET /plugins)
ListPlugins(w http.ResponseWriter, r *http.Request)
// (PUT /plugins/{pluginName})
InstallPlugin(w http.ResponseWriter, r *http.Request, pluginName PluginName)
// (GET /presets)
ListProjectPresets(w http.ResponseWriter, r *http.Request)
// (POST /presets)
SaveProjectPreset(w http.ResponseWriter, r *http.Request)
// (DELETE /presets/{presetId})
DeleteProjectPreset(w http.ResponseWriter, r *http.Request, presetId openapi_types.UUID)
// (POST /product/{entryId})
SetProductEntryStatus(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
// (GET /projects)
ListProjects(w http.ResponseWriter, r *http.Request)
// (POST /projects)
CreateProject(w http.ResponseWriter, r *http.Request)
// (DELETE /projects/{projectId})
DeleteProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId})
GetProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (POST /projects/{projectId}/archive)
ArchiveProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/budget)
GetProjectBudget(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/components)
ListComponents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/components)
PutComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (DELETE /projects/{projectId}/components/{key})
DeleteComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
// (POST /projects/{projectId}/components/{key}/approve)
ApproveComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
// (GET /projects/{projectId}/config)
GetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/config)
SetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/incidents)
ListIncidents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/knowledge)
ListProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (POST /projects/{projectId}/knowledge)
AddProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/knowledge/preview)
PreviewKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId, params PreviewKnowledgeParams)
// (GET /projects/{projectId}/members)
ListProjectMembers(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/members)
SetMember(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/metrics)
GetProjectMetrics(w http.ResponseWriter, r *http.Request, projectId ProjectId, params GetProjectMetricsParams)
// (GET /projects/{projectId}/packs)
ListProjectPacks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/packs)
SetProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (DELETE /projects/{projectId}/packs/{packName})
RemoveProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId, packName string)
// (GET /projects/{projectId}/plugins)
ListProjectPlugins(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/plugins/{pluginName})
ConfigureProjectPlugin(w http.ResponseWriter, r *http.Request, projectId ProjectId, pluginName PluginName)
// (GET /projects/{projectId}/plugins/{pluginName}/calls)
ListPluginCalls(w http.ResponseWriter, r *http.Request, projectId ProjectId, pluginName PluginName, params ListPluginCallsParams)
// (GET /projects/{projectId}/product)
ListProductContext(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (POST /projects/{projectId}/product)
AddProductEntry(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/quality)
ListQuality(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (POST /projects/{projectId}/quality)
ScoreNow(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/releases)
ListReleases(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/repos)
ListProjectRepos(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (PUT /projects/{projectId}/repos)
PutProjectRepo(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/tasks)
ListTasks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (POST /projects/{projectId}/tasks)
CreateTask(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /projects/{projectId}/templates)
ListProjectTemplates(w http.ResponseWriter, r *http.Request, projectId ProjectId)
// (GET /readyz)
Readyz(w http.ResponseWriter, r *http.Request)
// (GET /runners)
ListRunners(w http.ResponseWriter, r *http.Request)
// (DELETE /runners/{runnerId})
ForgetRunner(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
// (POST /runners/{runnerId}/login)
RequestRunnerLogin(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
// (GET /tasks/{taskId})
GetTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/admit)
AdmitTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/advance)
AdvanceTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/approve)
ApproveTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/artifacts)
ListTaskArtifacts(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/campaign)
GetCampaign(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/campaign)
AddCampaignTargets(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/campaign/skip)
SkipCampaignTarget(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (PUT /tasks/{taskId}/checks)
SetTaskCheck(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (PUT /tasks/{taskId}/component)
SetTaskComponent(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/context)
PreviewTaskContext(w http.ResponseWriter, r *http.Request, taskId TaskId, params PreviewTaskContextParams)
// (POST /tasks/{taskId}/handoff)
HandoffTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/jobs)
ListTaskJobs(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/jobs)
CreateTaskJob(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/metrics)
GetTaskMetrics(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/plugin-ui)
GetTaskPluginUI(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/rollback)
RollbackTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tasks/{taskId}/transitions)
ListTaskTransitions(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (POST /tasks/{taskId}/usage)
RecordTaskUsage(w http.ResponseWriter, r *http.Request, taskId TaskId)
// (GET /tokens)
ListTokens(w http.ResponseWriter, r *http.Request)
// (POST /tokens)
CreateToken(w http.ResponseWriter, r *http.Request)
// (DELETE /tokens/{tokenId})
RevokeToken(w http.ResponseWriter, r *http.Request, tokenId openapi_types.UUID)
// (GET /users)
ListUsers(w http.ResponseWriter, r *http.Request)
// (GET /version)
Version(w http.ResponseWriter, r *http.Request)
// (GET /workspace/process)
GetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
// (PUT /workspace/process)
SetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AddCampaignTargets ¶
func (siw *ServerInterfaceWrapper) AddCampaignTargets(w http.ResponseWriter, r *http.Request)
AddCampaignTargets operation middleware
func (*ServerInterfaceWrapper) AddProductEntry ¶
func (siw *ServerInterfaceWrapper) AddProductEntry(w http.ResponseWriter, r *http.Request)
AddProductEntry operation middleware
func (*ServerInterfaceWrapper) AddProjectKnowledge ¶
func (siw *ServerInterfaceWrapper) AddProjectKnowledge(w http.ResponseWriter, r *http.Request)
AddProjectKnowledge operation middleware
func (*ServerInterfaceWrapper) AddWorkspaceKnowledge ¶
func (siw *ServerInterfaceWrapper) AddWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
AddWorkspaceKnowledge operation middleware
func (*ServerInterfaceWrapper) AdmitTask ¶
func (siw *ServerInterfaceWrapper) AdmitTask(w http.ResponseWriter, r *http.Request)
AdmitTask operation middleware
func (*ServerInterfaceWrapper) AdvanceTask ¶
func (siw *ServerInterfaceWrapper) AdvanceTask(w http.ResponseWriter, r *http.Request)
AdvanceTask operation middleware
func (*ServerInterfaceWrapper) AgentBlocked ¶
func (siw *ServerInterfaceWrapper) AgentBlocked(w http.ResponseWriter, r *http.Request)
AgentBlocked operation middleware
func (*ServerInterfaceWrapper) AgentCatalogue ¶
func (siw *ServerInterfaceWrapper) AgentCatalogue(w http.ResponseWriter, r *http.Request)
AgentCatalogue operation middleware
func (*ServerInterfaceWrapper) AgentKnowledge ¶
func (siw *ServerInterfaceWrapper) AgentKnowledge(w http.ResponseWriter, r *http.Request)
AgentKnowledge operation middleware
func (*ServerInterfaceWrapper) AgentProposeProduct ¶
func (siw *ServerInterfaceWrapper) AgentProposeProduct(w http.ResponseWriter, r *http.Request)
AgentProposeProduct operation middleware
func (*ServerInterfaceWrapper) AgentPutArtifact ¶
func (siw *ServerInterfaceWrapper) AgentPutArtifact(w http.ResponseWriter, r *http.Request)
AgentPutArtifact operation middleware
func (*ServerInterfaceWrapper) AgentQuestion ¶
func (siw *ServerInterfaceWrapper) AgentQuestion(w http.ResponseWriter, r *http.Request)
AgentQuestion operation middleware
func (*ServerInterfaceWrapper) AgentTask ¶
func (siw *ServerInterfaceWrapper) AgentTask(w http.ResponseWriter, r *http.Request)
AgentTask operation middleware
func (*ServerInterfaceWrapper) ApproveComponent ¶
func (siw *ServerInterfaceWrapper) ApproveComponent(w http.ResponseWriter, r *http.Request)
ApproveComponent operation middleware
func (*ServerInterfaceWrapper) ApproveTask ¶
func (siw *ServerInterfaceWrapper) ApproveTask(w http.ResponseWriter, r *http.Request)
ApproveTask operation middleware
func (*ServerInterfaceWrapper) ArchiveProject ¶
func (siw *ServerInterfaceWrapper) ArchiveProject(w http.ResponseWriter, r *http.Request)
ArchiveProject operation middleware
func (*ServerInterfaceWrapper) Capabilities ¶
func (siw *ServerInterfaceWrapper) Capabilities(w http.ResponseWriter, r *http.Request)
Capabilities operation middleware
func (*ServerInterfaceWrapper) ConfigureProjectPlugin ¶
func (siw *ServerInterfaceWrapper) ConfigureProjectPlugin(w http.ResponseWriter, r *http.Request)
ConfigureProjectPlugin operation middleware
func (*ServerInterfaceWrapper) CreateProject ¶
func (siw *ServerInterfaceWrapper) CreateProject(w http.ResponseWriter, r *http.Request)
CreateProject operation middleware
func (*ServerInterfaceWrapper) CreateTask ¶
func (siw *ServerInterfaceWrapper) CreateTask(w http.ResponseWriter, r *http.Request)
CreateTask operation middleware
func (*ServerInterfaceWrapper) CreateTaskJob ¶
func (siw *ServerInterfaceWrapper) CreateTaskJob(w http.ResponseWriter, r *http.Request)
CreateTaskJob operation middleware
func (*ServerInterfaceWrapper) CreateToken ¶
func (siw *ServerInterfaceWrapper) CreateToken(w http.ResponseWriter, r *http.Request)
CreateToken operation middleware
func (*ServerInterfaceWrapper) DeleteComponent ¶
func (siw *ServerInterfaceWrapper) DeleteComponent(w http.ResponseWriter, r *http.Request)
DeleteComponent operation middleware
func (*ServerInterfaceWrapper) DeleteKnowledgeEntry ¶
func (siw *ServerInterfaceWrapper) DeleteKnowledgeEntry(w http.ResponseWriter, r *http.Request)
DeleteKnowledgeEntry operation middleware
func (*ServerInterfaceWrapper) DeleteProject ¶
func (siw *ServerInterfaceWrapper) DeleteProject(w http.ResponseWriter, r *http.Request)
DeleteProject operation middleware
func (*ServerInterfaceWrapper) DeleteProjectPreset ¶
func (siw *ServerInterfaceWrapper) DeleteProjectPreset(w http.ResponseWriter, r *http.Request)
DeleteProjectPreset operation middleware
func (*ServerInterfaceWrapper) FetchKnowledgePacks ¶
func (siw *ServerInterfaceWrapper) FetchKnowledgePacks(w http.ResponseWriter, r *http.Request)
FetchKnowledgePacks operation middleware
func (*ServerInterfaceWrapper) ForgetDevice ¶
func (siw *ServerInterfaceWrapper) ForgetDevice(w http.ResponseWriter, r *http.Request)
ForgetDevice operation middleware
func (*ServerInterfaceWrapper) ForgetRunner ¶
func (siw *ServerInterfaceWrapper) ForgetRunner(w http.ResponseWriter, r *http.Request)
ForgetRunner operation middleware
func (*ServerInterfaceWrapper) GetCampaign ¶
func (siw *ServerInterfaceWrapper) GetCampaign(w http.ResponseWriter, r *http.Request)
GetCampaign operation middleware
func (*ServerInterfaceWrapper) GetJob ¶
func (siw *ServerInterfaceWrapper) GetJob(w http.ResponseWriter, r *http.Request)
GetJob operation middleware
func (*ServerInterfaceWrapper) GetProject ¶
func (siw *ServerInterfaceWrapper) GetProject(w http.ResponseWriter, r *http.Request)
GetProject operation middleware
func (*ServerInterfaceWrapper) GetProjectBudget ¶
func (siw *ServerInterfaceWrapper) GetProjectBudget(w http.ResponseWriter, r *http.Request)
GetProjectBudget operation middleware
func (*ServerInterfaceWrapper) GetProjectConfig ¶
func (siw *ServerInterfaceWrapper) GetProjectConfig(w http.ResponseWriter, r *http.Request)
GetProjectConfig operation middleware
func (*ServerInterfaceWrapper) GetProjectMetrics ¶
func (siw *ServerInterfaceWrapper) GetProjectMetrics(w http.ResponseWriter, r *http.Request)
GetProjectMetrics operation middleware
func (*ServerInterfaceWrapper) GetTask ¶
func (siw *ServerInterfaceWrapper) GetTask(w http.ResponseWriter, r *http.Request)
GetTask operation middleware
func (*ServerInterfaceWrapper) GetTaskMetrics ¶
func (siw *ServerInterfaceWrapper) GetTaskMetrics(w http.ResponseWriter, r *http.Request)
GetTaskMetrics operation middleware
func (*ServerInterfaceWrapper) GetTaskPluginUI ¶
func (siw *ServerInterfaceWrapper) GetTaskPluginUI(w http.ResponseWriter, r *http.Request)
GetTaskPluginUI operation middleware
func (*ServerInterfaceWrapper) GetWorkspaceProcess ¶
func (siw *ServerInterfaceWrapper) GetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
GetWorkspaceProcess operation middleware
func (*ServerInterfaceWrapper) HandoffTask ¶
func (siw *ServerInterfaceWrapper) HandoffTask(w http.ResponseWriter, r *http.Request)
HandoffTask operation middleware
func (*ServerInterfaceWrapper) Healthz ¶
func (siw *ServerInterfaceWrapper) Healthz(w http.ResponseWriter, r *http.Request)
Healthz operation middleware
func (*ServerInterfaceWrapper) InstallPlugin ¶
func (siw *ServerInterfaceWrapper) InstallPlugin(w http.ResponseWriter, r *http.Request)
InstallPlugin operation middleware
func (*ServerInterfaceWrapper) ListAgentCalls ¶
func (siw *ServerInterfaceWrapper) ListAgentCalls(w http.ResponseWriter, r *http.Request)
ListAgentCalls operation middleware
func (*ServerInterfaceWrapper) ListComponents ¶
func (siw *ServerInterfaceWrapper) ListComponents(w http.ResponseWriter, r *http.Request)
ListComponents operation middleware
func (*ServerInterfaceWrapper) ListInbox ¶
func (siw *ServerInterfaceWrapper) ListInbox(w http.ResponseWriter, r *http.Request)
ListInbox operation middleware
func (*ServerInterfaceWrapper) ListIncidents ¶
func (siw *ServerInterfaceWrapper) ListIncidents(w http.ResponseWriter, r *http.Request)
ListIncidents operation middleware
func (*ServerInterfaceWrapper) ListJobContext ¶
func (siw *ServerInterfaceWrapper) ListJobContext(w http.ResponseWriter, r *http.Request)
ListJobContext operation middleware
func (*ServerInterfaceWrapper) ListJobEvents ¶
func (siw *ServerInterfaceWrapper) ListJobEvents(w http.ResponseWriter, r *http.Request)
ListJobEvents operation middleware
func (*ServerInterfaceWrapper) ListKnowledgePacks ¶
func (siw *ServerInterfaceWrapper) ListKnowledgePacks(w http.ResponseWriter, r *http.Request)
ListKnowledgePacks operation middleware
func (*ServerInterfaceWrapper) ListPluginCalls ¶
func (siw *ServerInterfaceWrapper) ListPluginCalls(w http.ResponseWriter, r *http.Request)
ListPluginCalls operation middleware
func (*ServerInterfaceWrapper) ListPlugins ¶
func (siw *ServerInterfaceWrapper) ListPlugins(w http.ResponseWriter, r *http.Request)
ListPlugins operation middleware
func (*ServerInterfaceWrapper) ListProductContext ¶
func (siw *ServerInterfaceWrapper) ListProductContext(w http.ResponseWriter, r *http.Request)
ListProductContext operation middleware
func (*ServerInterfaceWrapper) ListProjectKnowledge ¶
func (siw *ServerInterfaceWrapper) ListProjectKnowledge(w http.ResponseWriter, r *http.Request)
ListProjectKnowledge operation middleware
func (*ServerInterfaceWrapper) ListProjectMembers ¶
func (siw *ServerInterfaceWrapper) ListProjectMembers(w http.ResponseWriter, r *http.Request)
ListProjectMembers operation middleware
func (*ServerInterfaceWrapper) ListProjectPacks ¶
func (siw *ServerInterfaceWrapper) ListProjectPacks(w http.ResponseWriter, r *http.Request)
ListProjectPacks operation middleware
func (*ServerInterfaceWrapper) ListProjectPlugins ¶
func (siw *ServerInterfaceWrapper) ListProjectPlugins(w http.ResponseWriter, r *http.Request)
ListProjectPlugins operation middleware
func (*ServerInterfaceWrapper) ListProjectPresets ¶
func (siw *ServerInterfaceWrapper) ListProjectPresets(w http.ResponseWriter, r *http.Request)
ListProjectPresets operation middleware
func (*ServerInterfaceWrapper) ListProjectRepos ¶
func (siw *ServerInterfaceWrapper) ListProjectRepos(w http.ResponseWriter, r *http.Request)
ListProjectRepos operation middleware
func (*ServerInterfaceWrapper) ListProjectTemplates ¶
func (siw *ServerInterfaceWrapper) ListProjectTemplates(w http.ResponseWriter, r *http.Request)
ListProjectTemplates operation middleware
func (*ServerInterfaceWrapper) ListProjects ¶
func (siw *ServerInterfaceWrapper) ListProjects(w http.ResponseWriter, r *http.Request)
ListProjects operation middleware
func (*ServerInterfaceWrapper) ListQuality ¶
func (siw *ServerInterfaceWrapper) ListQuality(w http.ResponseWriter, r *http.Request)
ListQuality operation middleware
func (*ServerInterfaceWrapper) ListReleases ¶
func (siw *ServerInterfaceWrapper) ListReleases(w http.ResponseWriter, r *http.Request)
ListReleases operation middleware
func (*ServerInterfaceWrapper) ListRunners ¶
func (siw *ServerInterfaceWrapper) ListRunners(w http.ResponseWriter, r *http.Request)
ListRunners operation middleware
func (*ServerInterfaceWrapper) ListTaskArtifacts ¶
func (siw *ServerInterfaceWrapper) ListTaskArtifacts(w http.ResponseWriter, r *http.Request)
ListTaskArtifacts operation middleware
func (*ServerInterfaceWrapper) ListTaskJobs ¶
func (siw *ServerInterfaceWrapper) ListTaskJobs(w http.ResponseWriter, r *http.Request)
ListTaskJobs operation middleware
func (*ServerInterfaceWrapper) ListTaskTransitions ¶
func (siw *ServerInterfaceWrapper) ListTaskTransitions(w http.ResponseWriter, r *http.Request)
ListTaskTransitions operation middleware
func (*ServerInterfaceWrapper) ListTasks ¶
func (siw *ServerInterfaceWrapper) ListTasks(w http.ResponseWriter, r *http.Request)
ListTasks operation middleware
func (*ServerInterfaceWrapper) ListTokens ¶
func (siw *ServerInterfaceWrapper) ListTokens(w http.ResponseWriter, r *http.Request)
ListTokens operation middleware
func (*ServerInterfaceWrapper) ListUsers ¶
func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
ListUsers operation middleware
func (*ServerInterfaceWrapper) ListWorkspaceKnowledge ¶
func (siw *ServerInterfaceWrapper) ListWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
ListWorkspaceKnowledge operation middleware
func (*ServerInterfaceWrapper) Me ¶
func (siw *ServerInterfaceWrapper) Me(w http.ResponseWriter, r *http.Request)
Me operation middleware
func (*ServerInterfaceWrapper) PreviewKnowledge ¶
func (siw *ServerInterfaceWrapper) PreviewKnowledge(w http.ResponseWriter, r *http.Request)
PreviewKnowledge operation middleware
func (*ServerInterfaceWrapper) PreviewTaskContext ¶
func (siw *ServerInterfaceWrapper) PreviewTaskContext(w http.ResponseWriter, r *http.Request)
PreviewTaskContext operation middleware
func (*ServerInterfaceWrapper) PutComponent ¶
func (siw *ServerInterfaceWrapper) PutComponent(w http.ResponseWriter, r *http.Request)
PutComponent operation middleware
func (*ServerInterfaceWrapper) PutProjectRepo ¶
func (siw *ServerInterfaceWrapper) PutProjectRepo(w http.ResponseWriter, r *http.Request)
PutProjectRepo operation middleware
func (*ServerInterfaceWrapper) Readyz ¶
func (siw *ServerInterfaceWrapper) Readyz(w http.ResponseWriter, r *http.Request)
Readyz operation middleware
func (*ServerInterfaceWrapper) RecordTaskUsage ¶
func (siw *ServerInterfaceWrapper) RecordTaskUsage(w http.ResponseWriter, r *http.Request)
RecordTaskUsage operation middleware
func (*ServerInterfaceWrapper) RegisterDevice ¶
func (siw *ServerInterfaceWrapper) RegisterDevice(w http.ResponseWriter, r *http.Request)
RegisterDevice operation middleware
func (*ServerInterfaceWrapper) RemoveProjectPack ¶
func (siw *ServerInterfaceWrapper) RemoveProjectPack(w http.ResponseWriter, r *http.Request)
RemoveProjectPack operation middleware
func (*ServerInterfaceWrapper) RequestRunnerLogin ¶
func (siw *ServerInterfaceWrapper) RequestRunnerLogin(w http.ResponseWriter, r *http.Request)
RequestRunnerLogin operation middleware
func (*ServerInterfaceWrapper) RevokeToken ¶
func (siw *ServerInterfaceWrapper) RevokeToken(w http.ResponseWriter, r *http.Request)
RevokeToken operation middleware
func (*ServerInterfaceWrapper) RollbackTask ¶
func (siw *ServerInterfaceWrapper) RollbackTask(w http.ResponseWriter, r *http.Request)
RollbackTask operation middleware
func (*ServerInterfaceWrapper) SaveProjectPreset ¶
func (siw *ServerInterfaceWrapper) SaveProjectPreset(w http.ResponseWriter, r *http.Request)
SaveProjectPreset operation middleware
func (*ServerInterfaceWrapper) ScoreNow ¶
func (siw *ServerInterfaceWrapper) ScoreNow(w http.ResponseWriter, r *http.Request)
ScoreNow operation middleware
func (*ServerInterfaceWrapper) SetMember ¶
func (siw *ServerInterfaceWrapper) SetMember(w http.ResponseWriter, r *http.Request)
SetMember operation middleware
func (*ServerInterfaceWrapper) SetProductEntryStatus ¶
func (siw *ServerInterfaceWrapper) SetProductEntryStatus(w http.ResponseWriter, r *http.Request)
SetProductEntryStatus operation middleware
func (*ServerInterfaceWrapper) SetProjectConfig ¶
func (siw *ServerInterfaceWrapper) SetProjectConfig(w http.ResponseWriter, r *http.Request)
SetProjectConfig operation middleware
func (*ServerInterfaceWrapper) SetProjectPack ¶
func (siw *ServerInterfaceWrapper) SetProjectPack(w http.ResponseWriter, r *http.Request)
SetProjectPack operation middleware
func (*ServerInterfaceWrapper) SetTaskCheck ¶
func (siw *ServerInterfaceWrapper) SetTaskCheck(w http.ResponseWriter, r *http.Request)
SetTaskCheck operation middleware
func (*ServerInterfaceWrapper) SetTaskComponent ¶
func (siw *ServerInterfaceWrapper) SetTaskComponent(w http.ResponseWriter, r *http.Request)
SetTaskComponent operation middleware
func (*ServerInterfaceWrapper) SetWorkspaceProcess ¶
func (siw *ServerInterfaceWrapper) SetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
SetWorkspaceProcess operation middleware
func (*ServerInterfaceWrapper) SkipCampaignTarget ¶
func (siw *ServerInterfaceWrapper) SkipCampaignTarget(w http.ResponseWriter, r *http.Request)
SkipCampaignTarget operation middleware
func (*ServerInterfaceWrapper) SteerJob ¶
func (siw *ServerInterfaceWrapper) SteerJob(w http.ResponseWriter, r *http.Request)
SteerJob operation middleware
func (*ServerInterfaceWrapper) StopJob ¶
func (siw *ServerInterfaceWrapper) StopJob(w http.ResponseWriter, r *http.Request)
StopJob operation middleware
func (*ServerInterfaceWrapper) Version ¶
func (siw *ServerInterfaceWrapper) Version(w http.ResponseWriter, r *http.Request)
Version operation middleware
type SetMemberJSONRequestBody ¶
type SetMemberJSONRequestBody = Member
SetMemberJSONRequestBody defines body for SetMember for application/json ContentType.
type SetProductEntryStatusJSONRequestBody ¶
type SetProductEntryStatusJSONRequestBody = ProductStatusChange
SetProductEntryStatusJSONRequestBody defines body for SetProductEntryStatus for application/json ContentType.
type SetProjectConfigJSONRequestBody ¶
type SetProjectConfigJSONRequestBody = ProjectConfig
SetProjectConfigJSONRequestBody defines body for SetProjectConfig for application/json ContentType.
type SetProjectPackJSONRequestBody ¶
type SetProjectPackJSONRequestBody = ProjectPack
SetProjectPackJSONRequestBody defines body for SetProjectPack for application/json ContentType.
type SetTaskCheckJSONRequestBody ¶
type SetTaskCheckJSONRequestBody = Check
SetTaskCheckJSONRequestBody defines body for SetTaskCheck for application/json ContentType.
type SetTaskComponentJSONRequestBody ¶
type SetTaskComponentJSONRequestBody = TaskComponent
SetTaskComponentJSONRequestBody defines body for SetTaskComponent for application/json ContentType.
type SetWorkspaceProcessJSONRequestBody ¶
type SetWorkspaceProcessJSONRequestBody = ProjectConfig
SetWorkspaceProcessJSONRequestBody defines body for SetWorkspaceProcess for application/json ContentType.
type SkipCampaignTargetJSONRequestBody ¶
type SkipCampaignTargetJSONRequestBody = SkipTarget
SkipCampaignTargetJSONRequestBody defines body for SkipCampaignTarget for application/json ContentType.
type SkipTarget ¶
SkipTarget defines model for SkipTarget.
type SteerJob ¶
type SteerJob struct {
Message string `json:"message"`
}
SteerJob defines model for SteerJob.
type SteerJobJSONRequestBody ¶
type SteerJobJSONRequestBody = SteerJob
SteerJobJSONRequestBody defines body for SteerJob for application/json ContentType.
type StopJob ¶
type StopJob struct {
Reason *string `json:"reason,omitempty"`
}
StopJob defines model for StopJob.
type StopJobJSONRequestBody ¶
type StopJobJSONRequestBody = StopJob
StopJobJSONRequestBody defines body for StopJob for application/json ContentType.
type Task ¶
type Task struct {
// AdmittedAt when a person let outside work through; until then nothing runs on it by itself
AdmittedAt *time.Time `json:"admittedAt,omitempty"`
BlockedReason *string `json:"blockedReason,omitempty"`
ClosedAt *time.Time `json:"closedAt,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description,omitempty"`
Id openapi_types.UUID `json:"id"`
Kind string `json:"kind"`
// Origin external means the words came from outside the workspace — a webhook, an issue, an alert
Origin *TaskOrigin `json:"origin,omitempty"`
// OriginSource who raised it: a plugin's name, usually
OriginSource *string `json:"originSource,omitempty"`
OwnerId *openapi_types.UUID `json:"ownerId,omitempty"`
OwnerKind *string `json:"ownerKind,omitempty"`
Phase string `json:"phase"`
PhaseEnteredAt time.Time `json:"phaseEnteredAt"`
ProjectId openapi_types.UUID `json:"projectId"`
RequirementsChanged bool `json:"requirementsChanged"`
Title string `json:"title"`
Urgency int `json:"urgency"`
}
Task defines model for Task.
type TaskComponent ¶
type TaskComponent struct {
// Key component key, or absent to clear
Key *string `json:"key,omitempty"`
}
TaskComponent defines model for TaskComponent.
type TaskDetail ¶
type TaskDetail struct {
// AdmittedAt when a person let outside work through; until then nothing runs on it by itself
AdmittedAt *time.Time `json:"admittedAt,omitempty"`
BlockedReason *string `json:"blockedReason,omitempty"`
ClosedAt *time.Time `json:"closedAt,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description,omitempty"`
Gate Gate `json:"gate"`
Id openapi_types.UUID `json:"id"`
Kind string `json:"kind"`
// Origin external means the words came from outside the workspace — a webhook, an issue, an alert
Origin *TaskDetailOrigin `json:"origin,omitempty"`
// OriginSource who raised it: a plugin's name, usually
OriginSource *string `json:"originSource,omitempty"`
OwnerId *openapi_types.UUID `json:"ownerId,omitempty"`
OwnerKind *string `json:"ownerKind,omitempty"`
Phase string `json:"phase"`
PhaseEnteredAt time.Time `json:"phaseEnteredAt"`
// Phases active phases of this task's template in order
Phases []string `json:"phases"`
ProjectId openapi_types.UUID `json:"projectId"`
RequirementsChanged bool `json:"requirementsChanged"`
Title string `json:"title"`
Urgency int `json:"urgency"`
}
TaskDetail defines model for TaskDetail.
type TaskDetailOrigin ¶
type TaskDetailOrigin string
TaskDetailOrigin external means the words came from outside the workspace — a webhook, an issue, an alert
const ( External TaskDetailOrigin = "external" Internal TaskDetailOrigin = "internal" )
Defines values for TaskDetailOrigin.
type TaskMetrics ¶
type TaskMetrics struct {
AgentSeconds float64 `json:"agentSeconds"`
BlockedSeconds float64 `json:"blockedSeconds"`
Closed bool `json:"closed"`
// CostEstimated true if any part of the cost is an estimate
CostEstimated bool `json:"costEstimated"`
CostUsd float64 `json:"costUsd"`
Jobs int `json:"jobs"`
// LeadSeconds created to closed, or to now while open
LeadSeconds float64 `json:"leadSeconds"`
Phases []PhaseMetrics `json:"phases"`
QueueSeconds float64 `json:"queueSeconds"`
State TaskState `json:"state"`
TaskId openapi_types.UUID `json:"taskId"`
Tokens Tokens `json:"tokens"`
// WaitingSeconds nobody working; the task waits for a person
WaitingSeconds float64 `json:"waitingSeconds"`
// WorkSeconds lead = work + queue + blocked + waiting
WorkSeconds float64 `json:"workSeconds"`
}
TaskMetrics defines model for TaskMetrics.
type TaskOrigin ¶
type TaskOrigin string
TaskOrigin external means the words came from outside the workspace — a webhook, an issue, an alert
const ( TaskOriginExternal TaskOrigin = "external" TaskOriginInternal TaskOrigin = "internal" )
Defines values for TaskOrigin.
type TaskState ¶
type TaskState struct {
Kind TaskStateKind `json:"kind"`
Since time.Time `json:"since"`
}
TaskState defines model for TaskState.
type TaskStateKind ¶
type TaskStateKind string
TaskStateKind defines model for TaskState.Kind.
const ( TaskStateKindAgentStalled TaskStateKind = "agent_stalled" TaskStateKindAgentWorking TaskStateKind = "agent_working" TaskStateKindBlocked TaskStateKind = "blocked" TaskStateKindClosed TaskStateKind = "closed" TaskStateKindQueued TaskStateKind = "queued" TaskStateKindWaitingForHuman TaskStateKind = "waiting_for_human" )
Defines values for TaskStateKind.
type TemplatePhase ¶
type TemplatePhase struct {
Active bool `json:"active"`
// Gate human | auto | both
Gate string `json:"gate"`
Name string `json:"name"`
// Owner human | runner | plugin
Owner string `json:"owner"`
// Requires plugin capability that activates the phase
Requires *string `json:"requires,omitempty"`
// Role runner role for this phase
Role *string `json:"role,omitempty"`
// Timeout how long the phase may take before the task is blocked, like 24h; 0 means no limit
Timeout *string `json:"timeout,omitempty"`
}
TemplatePhase defines model for TemplatePhase.
type Token ¶
type Token struct {
CreatedAt time.Time `json:"createdAt"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id openapi_types.UUID `json:"id"`
Kind string `json:"kind"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name string `json:"name"`
ProjectId *openapi_types.UUID `json:"projectId,omitempty"`
Scope string `json:"scope"`
}
Token defines model for Token.
type Tokens ¶
type Tokens struct {
CacheRead int64 `json:"cacheRead"`
CacheWrite int64 `json:"cacheWrite"`
Input int64 `json:"input"`
Output int64 `json:"output"`
Total int64 `json:"total"`
}
Tokens defines model for Tokens.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type Transition ¶
type Transition struct {
ActorId *openapi_types.UUID `json:"actorId,omitempty"`
ActorKind string `json:"actorKind"`
CreatedAt time.Time `json:"createdAt"`
FromPhase *string `json:"fromPhase,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind"`
Reason *string `json:"reason,omitempty"`
ToPhase string `json:"toPhase"`
}
Transition defines model for Transition.
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) AddCampaignTargets ¶
func (_ Unimplemented) AddCampaignTargets(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/campaign)
func (Unimplemented) AddProductEntry ¶
func (_ Unimplemented) AddProductEntry(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(POST /projects/{projectId}/product)
func (Unimplemented) AddProjectKnowledge ¶
func (_ Unimplemented) AddProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(POST /projects/{projectId}/knowledge)
func (Unimplemented) AddWorkspaceKnowledge ¶
func (_ Unimplemented) AddWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
(POST /knowledge)
func (Unimplemented) AdmitTask ¶
func (_ Unimplemented) AdmitTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/admit)
func (Unimplemented) AdvanceTask ¶
func (_ Unimplemented) AdvanceTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/advance)
func (Unimplemented) AgentBlocked ¶
func (_ Unimplemented) AgentBlocked(w http.ResponseWriter, r *http.Request)
(POST /agent/blocked)
func (Unimplemented) AgentCatalogue ¶
func (_ Unimplemented) AgentCatalogue(w http.ResponseWriter, r *http.Request)
(GET /agent/catalogue)
func (Unimplemented) AgentKnowledge ¶
func (_ Unimplemented) AgentKnowledge(w http.ResponseWriter, r *http.Request, params AgentKnowledgeParams)
(GET /agent/knowledge)
func (Unimplemented) AgentProposeProduct ¶
func (_ Unimplemented) AgentProposeProduct(w http.ResponseWriter, r *http.Request)
(POST /agent/product)
func (Unimplemented) AgentPutArtifact ¶
func (_ Unimplemented) AgentPutArtifact(w http.ResponseWriter, r *http.Request)
(POST /agent/artifacts)
func (Unimplemented) AgentQuestion ¶
func (_ Unimplemented) AgentQuestion(w http.ResponseWriter, r *http.Request)
(POST /agent/question)
func (Unimplemented) AgentTask ¶
func (_ Unimplemented) AgentTask(w http.ResponseWriter, r *http.Request)
(GET /agent/task)
func (Unimplemented) ApproveComponent ¶
func (_ Unimplemented) ApproveComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
(POST /projects/{projectId}/components/{key}/approve)
func (Unimplemented) ApproveTask ¶
func (_ Unimplemented) ApproveTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/approve)
func (Unimplemented) ArchiveProject ¶
func (_ Unimplemented) ArchiveProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(POST /projects/{projectId}/archive)
func (Unimplemented) Capabilities ¶
func (_ Unimplemented) Capabilities(w http.ResponseWriter, r *http.Request)
(GET /capabilities)
func (Unimplemented) ConfigureProjectPlugin ¶
func (_ Unimplemented) ConfigureProjectPlugin(w http.ResponseWriter, r *http.Request, projectId ProjectId, pluginName PluginName)
(PUT /projects/{projectId}/plugins/{pluginName})
func (Unimplemented) CreateProject ¶
func (_ Unimplemented) CreateProject(w http.ResponseWriter, r *http.Request)
(POST /projects)
func (Unimplemented) CreateTask ¶
func (_ Unimplemented) CreateTask(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(POST /projects/{projectId}/tasks)
func (Unimplemented) CreateTaskJob ¶
func (_ Unimplemented) CreateTaskJob(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/jobs)
func (Unimplemented) CreateToken ¶
func (_ Unimplemented) CreateToken(w http.ResponseWriter, r *http.Request)
(POST /tokens)
func (Unimplemented) DeleteComponent ¶
func (_ Unimplemented) DeleteComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId, key string)
(DELETE /projects/{projectId}/components/{key})
func (Unimplemented) DeleteKnowledgeEntry ¶
func (_ Unimplemented) DeleteKnowledgeEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
(DELETE /knowledge/{entryId})
func (Unimplemented) DeleteProject ¶
func (_ Unimplemented) DeleteProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(DELETE /projects/{projectId})
func (Unimplemented) DeleteProjectPreset ¶
func (_ Unimplemented) DeleteProjectPreset(w http.ResponseWriter, r *http.Request, presetId openapi_types.UUID)
(DELETE /presets/{presetId})
func (Unimplemented) FetchKnowledgePacks ¶
func (_ Unimplemented) FetchKnowledgePacks(w http.ResponseWriter, r *http.Request)
(POST /packs)
func (Unimplemented) ForgetDevice ¶
func (_ Unimplemented) ForgetDevice(w http.ResponseWriter, r *http.Request, deviceToken string)
(DELETE /devices/{deviceToken})
func (Unimplemented) ForgetRunner ¶
func (_ Unimplemented) ForgetRunner(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
(DELETE /runners/{runnerId})
func (Unimplemented) GetCampaign ¶
func (_ Unimplemented) GetCampaign(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/campaign)
func (Unimplemented) GetJob ¶
func (_ Unimplemented) GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)
(GET /jobs/{jobId})
func (Unimplemented) GetProject ¶
func (_ Unimplemented) GetProject(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId})
func (Unimplemented) GetProjectBudget ¶
func (_ Unimplemented) GetProjectBudget(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/budget)
func (Unimplemented) GetProjectConfig ¶
func (_ Unimplemented) GetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/config)
func (Unimplemented) GetProjectMetrics ¶
func (_ Unimplemented) GetProjectMetrics(w http.ResponseWriter, r *http.Request, projectId ProjectId, params GetProjectMetricsParams)
(GET /projects/{projectId}/metrics)
func (Unimplemented) GetTask ¶
func (_ Unimplemented) GetTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId})
func (Unimplemented) GetTaskMetrics ¶
func (_ Unimplemented) GetTaskMetrics(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/metrics)
func (Unimplemented) GetTaskPluginUI ¶
func (_ Unimplemented) GetTaskPluginUI(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/plugin-ui)
func (Unimplemented) GetWorkspaceProcess ¶
func (_ Unimplemented) GetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
(GET /workspace/process)
func (Unimplemented) HandoffTask ¶
func (_ Unimplemented) HandoffTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/handoff)
func (Unimplemented) Healthz ¶
func (_ Unimplemented) Healthz(w http.ResponseWriter, r *http.Request)
(GET /healthz)
func (Unimplemented) InstallPlugin ¶
func (_ Unimplemented) InstallPlugin(w http.ResponseWriter, r *http.Request, pluginName PluginName)
(PUT /plugins/{pluginName})
func (Unimplemented) ListAgentCalls ¶
func (_ Unimplemented) ListAgentCalls(w http.ResponseWriter, r *http.Request, jobId JobId, params ListAgentCallsParams)
(GET /jobs/{jobId}/agent-calls)
func (Unimplemented) ListComponents ¶
func (_ Unimplemented) ListComponents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/components)
func (Unimplemented) ListInbox ¶
func (_ Unimplemented) ListInbox(w http.ResponseWriter, r *http.Request, params ListInboxParams)
(GET /inbox)
func (Unimplemented) ListIncidents ¶
func (_ Unimplemented) ListIncidents(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/incidents)
func (Unimplemented) ListJobContext ¶
func (_ Unimplemented) ListJobContext(w http.ResponseWriter, r *http.Request, jobId JobId)
(GET /jobs/{jobId}/context)
func (Unimplemented) ListJobEvents ¶
func (_ Unimplemented) ListJobEvents(w http.ResponseWriter, r *http.Request, jobId JobId, params ListJobEventsParams)
(GET /jobs/{jobId}/events)
func (Unimplemented) ListKnowledgePacks ¶
func (_ Unimplemented) ListKnowledgePacks(w http.ResponseWriter, r *http.Request)
(GET /packs)
func (Unimplemented) ListPluginCalls ¶
func (_ Unimplemented) ListPluginCalls(w http.ResponseWriter, r *http.Request, projectId ProjectId, pluginName PluginName, params ListPluginCallsParams)
(GET /projects/{projectId}/plugins/{pluginName}/calls)
func (Unimplemented) ListPlugins ¶
func (_ Unimplemented) ListPlugins(w http.ResponseWriter, r *http.Request)
(GET /plugins)
func (Unimplemented) ListProductContext ¶
func (_ Unimplemented) ListProductContext(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/product)
func (Unimplemented) ListProjectKnowledge ¶
func (_ Unimplemented) ListProjectKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/knowledge)
func (Unimplemented) ListProjectMembers ¶
func (_ Unimplemented) ListProjectMembers(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/members)
func (Unimplemented) ListProjectPacks ¶
func (_ Unimplemented) ListProjectPacks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/packs)
func (Unimplemented) ListProjectPlugins ¶
func (_ Unimplemented) ListProjectPlugins(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/plugins)
func (Unimplemented) ListProjectPresets ¶
func (_ Unimplemented) ListProjectPresets(w http.ResponseWriter, r *http.Request)
(GET /presets)
func (Unimplemented) ListProjectRepos ¶
func (_ Unimplemented) ListProjectRepos(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/repos)
func (Unimplemented) ListProjectTemplates ¶
func (_ Unimplemented) ListProjectTemplates(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/templates)
func (Unimplemented) ListProjects ¶
func (_ Unimplemented) ListProjects(w http.ResponseWriter, r *http.Request)
(GET /projects)
func (Unimplemented) ListQuality ¶
func (_ Unimplemented) ListQuality(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/quality)
func (Unimplemented) ListReleases ¶
func (_ Unimplemented) ListReleases(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/releases)
func (Unimplemented) ListRunners ¶
func (_ Unimplemented) ListRunners(w http.ResponseWriter, r *http.Request)
(GET /runners)
func (Unimplemented) ListTaskArtifacts ¶
func (_ Unimplemented) ListTaskArtifacts(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/artifacts)
func (Unimplemented) ListTaskJobs ¶
func (_ Unimplemented) ListTaskJobs(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/jobs)
func (Unimplemented) ListTaskTransitions ¶
func (_ Unimplemented) ListTaskTransitions(w http.ResponseWriter, r *http.Request, taskId TaskId)
(GET /tasks/{taskId}/transitions)
func (Unimplemented) ListTasks ¶
func (_ Unimplemented) ListTasks(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(GET /projects/{projectId}/tasks)
func (Unimplemented) ListTokens ¶
func (_ Unimplemented) ListTokens(w http.ResponseWriter, r *http.Request)
(GET /tokens)
func (Unimplemented) ListUsers ¶
func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request)
(GET /users)
func (Unimplemented) ListWorkspaceKnowledge ¶
func (_ Unimplemented) ListWorkspaceKnowledge(w http.ResponseWriter, r *http.Request)
(GET /knowledge)
func (Unimplemented) Me ¶
func (_ Unimplemented) Me(w http.ResponseWriter, r *http.Request)
(GET /auth/me)
func (Unimplemented) PreviewKnowledge ¶
func (_ Unimplemented) PreviewKnowledge(w http.ResponseWriter, r *http.Request, projectId ProjectId, params PreviewKnowledgeParams)
(GET /projects/{projectId}/knowledge/preview)
func (Unimplemented) PreviewTaskContext ¶
func (_ Unimplemented) PreviewTaskContext(w http.ResponseWriter, r *http.Request, taskId TaskId, params PreviewTaskContextParams)
(GET /tasks/{taskId}/context)
func (Unimplemented) PutComponent ¶
func (_ Unimplemented) PutComponent(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(PUT /projects/{projectId}/components)
func (Unimplemented) PutProjectRepo ¶
func (_ Unimplemented) PutProjectRepo(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(PUT /projects/{projectId}/repos)
func (Unimplemented) Readyz ¶
func (_ Unimplemented) Readyz(w http.ResponseWriter, r *http.Request)
(GET /readyz)
func (Unimplemented) RecordTaskUsage ¶
func (_ Unimplemented) RecordTaskUsage(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/usage)
func (Unimplemented) RegisterDevice ¶
func (_ Unimplemented) RegisterDevice(w http.ResponseWriter, r *http.Request)
(POST /devices)
func (Unimplemented) RemoveProjectPack ¶
func (_ Unimplemented) RemoveProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId, packName string)
(DELETE /projects/{projectId}/packs/{packName})
func (Unimplemented) RequestRunnerLogin ¶
func (_ Unimplemented) RequestRunnerLogin(w http.ResponseWriter, r *http.Request, runnerId RunnerId)
(POST /runners/{runnerId}/login)
func (Unimplemented) RevokeToken ¶
func (_ Unimplemented) RevokeToken(w http.ResponseWriter, r *http.Request, tokenId openapi_types.UUID)
(DELETE /tokens/{tokenId})
func (Unimplemented) RollbackTask ¶
func (_ Unimplemented) RollbackTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/rollback)
func (Unimplemented) SaveProjectPreset ¶
func (_ Unimplemented) SaveProjectPreset(w http.ResponseWriter, r *http.Request)
(POST /presets)
func (Unimplemented) ScoreNow ¶
func (_ Unimplemented) ScoreNow(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(POST /projects/{projectId}/quality)
func (Unimplemented) SetMember ¶
func (_ Unimplemented) SetMember(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(PUT /projects/{projectId}/members)
func (Unimplemented) SetProductEntryStatus ¶
func (_ Unimplemented) SetProductEntryStatus(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
(POST /product/{entryId})
func (Unimplemented) SetProjectConfig ¶
func (_ Unimplemented) SetProjectConfig(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(PUT /projects/{projectId}/config)
func (Unimplemented) SetProjectPack ¶
func (_ Unimplemented) SetProjectPack(w http.ResponseWriter, r *http.Request, projectId ProjectId)
(PUT /projects/{projectId}/packs)
func (Unimplemented) SetTaskCheck ¶
func (_ Unimplemented) SetTaskCheck(w http.ResponseWriter, r *http.Request, taskId TaskId)
(PUT /tasks/{taskId}/checks)
func (Unimplemented) SetTaskComponent ¶
func (_ Unimplemented) SetTaskComponent(w http.ResponseWriter, r *http.Request, taskId TaskId)
(PUT /tasks/{taskId}/component)
func (Unimplemented) SetWorkspaceProcess ¶
func (_ Unimplemented) SetWorkspaceProcess(w http.ResponseWriter, r *http.Request)
(PUT /workspace/process)
func (Unimplemented) SkipCampaignTarget ¶
func (_ Unimplemented) SkipCampaignTarget(w http.ResponseWriter, r *http.Request, taskId TaskId)
(POST /tasks/{taskId}/campaign/skip)
func (Unimplemented) SteerJob ¶
func (_ Unimplemented) SteerJob(w http.ResponseWriter, r *http.Request, jobId JobId)
(POST /jobs/{jobId}/steer)
func (Unimplemented) StopJob ¶
func (_ Unimplemented) StopJob(w http.ResponseWriter, r *http.Request, jobId JobId)
(POST /jobs/{jobId}/stop)
func (Unimplemented) Version ¶
func (_ Unimplemented) Version(w http.ResponseWriter, r *http.Request)
(GET /version)
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UsageAck ¶
type UsageAck struct {
Recorded bool `json:"recorded"`
}
UsageAck defines model for UsageAck.
type UsageInput ¶
type UsageInput struct {
Backend *string `json:"backend,omitempty"`
CacheReadTokens *int64 `json:"cacheReadTokens,omitempty"`
CacheWriteTokens *int64 `json:"cacheWriteTokens,omitempty"`
// CostEstimated true when priced from list rates (subscriptions)
CostEstimated *bool `json:"costEstimated,omitempty"`
CostUsd *float64 `json:"costUsd,omitempty"`
DurationMs int64 `json:"durationMs"`
FinishedAt *time.Time `json:"finishedAt,omitempty"`
IdempotencyKey *string `json:"idempotencyKey,omitempty"`
InputTokens *int64 `json:"inputTokens,omitempty"`
JobId *openapi_types.UUID `json:"jobId,omitempty"`
Model *string `json:"model,omitempty"`
OutputTokens *int64 `json:"outputTokens,omitempty"`
// Phase defaults to the task's current phase
Phase *string `json:"phase,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
}
UsageInput defines model for UsageInput.
type User ¶
type User struct {
CreatedAt time.Time `json:"createdAt"`
Email string `json:"email"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
WorkspaceRole UserWorkspaceRole `json:"workspaceRole"`
}
User defines model for User.
type UserWorkspaceRole ¶
type UserWorkspaceRole string
UserWorkspaceRole defines model for User.WorkspaceRole.
const ( UserWorkspaceRoleAdmin UserWorkspaceRole = "admin" UserWorkspaceRoleMember UserWorkspaceRole = "member" )
Defines values for UserWorkspaceRole.