ai_agent

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	StatusPending        = aitypes.StatusPending
	StatusQueued         = aitypes.StatusQueued
	StatusProcessing     = aitypes.StatusProcessing
	StatusWaitingModel   = aitypes.StatusWaitingModel
	StatusValidating     = aitypes.StatusValidating
	StatusWaitingConfirm = aitypes.StatusWaitingConfirm
	StatusApplied        = aitypes.StatusApplied
	StatusFailed         = aitypes.StatusFailed
	StatusCancelled      = aitypes.StatusCancelled

	StageCapture  = aitypes.StageCapture
	StageDecode   = aitypes.StageDecode
	StageSemantic = aitypes.StageSemantic
	StageOutput   = aitypes.StageOutput

	SkillProtocolReverse = aitypes.SkillProtocolReverse
	SkillDocParse        = aitypes.SkillDocParse
	SkillConfigGen       = aitypes.SkillConfigGen
	SkillEdgeRuleDraft   = aitypes.SkillEdgeRuleDraft
	SkillDiagnostics     = aitypes.SkillDiagnostics
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func NewAgent

func NewAgent(mode string) *Agent

func (*Agent) ApplySettings

func (a *Agent) ApplySettings(s model.AICopilotSettings)

func (*Agent) AttachFile

func (a *Agent) AttachFile(taskID, filename string) error

func (*Agent) Confirm

func (a *Agent) Confirm(taskID string, req aitypes.ConfirmRequest) (*aitypes.TaskRecord, error)

func (*Agent) Create

func (a *Agent) Create(req aitypes.CreateRequest) (*aitypes.TaskRecord, error)

func (*Agent) Get

func (a *Agent) Get(id string) (*aitypes.TaskRecord, bool)

func (*Agent) List

func (a *Agent) List() []*aitypes.TaskRecord

func (*Agent) Mode

func (a *Agent) Mode() string

func (*Agent) Quota

func (a *Agent) Quota() *quota.Tracker

func (*Agent) ValidateDeliverables

func (a *Agent) ValidateDeliverables(d *aitypes.Deliverables) *aitypes.ValidationReport

type ConfirmRequest

type ConfirmRequest = aitypes.ConfirmRequest

type CreateRequest

type CreateRequest = aitypes.CreateRequest

type Deliverables

type Deliverables = aitypes.Deliverables

type DriverParameter

type DriverParameter = aitypes.DriverParameter

type FrameEvidence

type FrameEvidence = aitypes.FrameEvidence

type Observation

type Observation = aitypes.Observation

type PipelineStage

type PipelineStage = aitypes.PipelineStage

type PointCandidate

type PointCandidate = aitypes.PointCandidate

type PointDefinition

type PointDefinition = aitypes.PointDefinition

type ProtocolModel

type ProtocolModel = aitypes.ProtocolModel

type Skill

type Skill = aitypes.Skill

type StageProgress

type StageProgress = aitypes.StageProgress

type TaskRecord

type TaskRecord = aitypes.TaskRecord

type TaskStatus

type TaskStatus = aitypes.TaskStatus

type ValidationCase

type ValidationCase = aitypes.ValidationCase

type ValidationCaseEntry

type ValidationCaseEntry = aitypes.ValidationCaseEntry

type ValidationFieldResult

type ValidationFieldResult = aitypes.ValidationFieldResult

type ValidationReport

type ValidationReport = aitypes.ValidationReport

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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