agents

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityResponse

type ActivityResponse struct {
	Buckets []agent.Bucket `json:"buckets"`

} // @name ActivityResponse

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(agentService agent.Service, userService user.Service, authService auth.Service, config *config.Config) *Handler

func (*Handler) Routes

func (h *Handler) Routes() []common.Route

type RecordRunRequest

type RecordRunRequest struct {
	AgentMRN       string            `json:"agent_mrn"`
	RunID          string            `json:"run_id"`
	StartedAt      time.Time         `json:"started_at"`
	EndedAt        *time.Time        `json:"ended_at,omitempty"`
	Status         string            `json:"status"`
	Model          string            `json:"model,omitempty"`
	TokensIn       int               `json:"tokens_in"`
	TokensOut      int               `json:"tokens_out"`
	Error          string            `json:"error,omitempty"`
	ToolCalls      []ToolCallPayload `json:"tool_calls,omitempty"`
	ObservedAssets []string          `json:"observed_assets,omitempty"`

} // @name RecordRunRequest

type RunsResponse

type RunsResponse struct {
	Runs  []*agent.Run `json:"runs"`
	Total int          `json:"total"`

} // @name RunsResponse

type ToolCallPayload

type ToolCallPayload struct {
	ToolName   string    `json:"tool_name"`
	TargetMRN  string    `json:"target_mrn,omitempty"`
	StartedAt  time.Time `json:"started_at"`
	DurationMs *int      `json:"duration_ms,omitempty"`
	Status     string    `json:"status"`

} // @name ToolCallPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL