trace

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentTraceRoot

func AgentTraceRoot() (string, error)

func AgentTraceRootForDataDir

func AgentTraceRootForDataDir(dataDir string) (string, error)

Types

type AgentTraceActivity

type AgentTraceActivity = agenttrace.AgentTraceActivity

type AgentTraceChild added in v0.0.10

type AgentTraceChild = agenttrace.AgentTraceChild

type AgentTraceDetail

type AgentTraceDetail = agenttrace.AgentTraceDetail

type AgentTraceFileChange

type AgentTraceFileChange = agenttrace.AgentTraceFileChange

type AgentTraceMessage

type AgentTraceMessage = agenttrace.AgentTraceMessage

type AgentTraceMetadata

type AgentTraceMetadata = agenttrace.AgentTraceMetadata

type AgentTraceSession

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

func ResumeAgentTraceSession

func ResumeAgentTraceSession(traceRef string, updates AgentTraceMetadata) (*AgentTraceSession, error)

func StartAgentTraceSession

func StartAgentTraceSession(dataDir string, meta AgentTraceMetadata, prompt string) (*AgentTraceSession, error)

func (*AgentTraceSession) Dir

func (s *AgentTraceSession) Dir() string

func (*AgentTraceSession) Finish

func (s *AgentTraceSession) Finish(err error)

func (*AgentTraceSession) ID

func (s *AgentTraceSession) ID() string

func (*AgentTraceSession) Writer

func (s *AgentTraceSession) Writer() io.Writer

type AgentTraceSummary

type AgentTraceSummary = agenttrace.AgentTraceSummary

type AgentTraceUpdate

type AgentTraceUpdate = agenttrace.AgentTraceUpdate

type CombinedSource added in v0.0.10

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

func (CombinedSource) Delete added in v0.0.10

func (s CombinedSource) Delete(id string) error

func (CombinedSource) Describe added in v0.0.10

func (s CombinedSource) Describe() []string

func (CombinedSource) Get added in v0.0.10

func (CombinedSource) List added in v0.0.10

func (s CombinedSource) List() ([]AgentTraceSummary, error)

func (CombinedSource) Stop added in v0.0.10

type DataDirSource added in v0.0.10

type DataDirSource struct {
	DataDir string
}

func (DataDirSource) Delete added in v0.0.10

func (s DataDirSource) Delete(id string) error

func (DataDirSource) Describe added in v0.0.10

func (s DataDirSource) Describe() []string

func (DataDirSource) Get added in v0.0.10

func (DataDirSource) List added in v0.0.10

func (s DataDirSource) List() ([]AgentTraceSummary, error)

func (DataDirSource) Stop added in v0.0.10

func (s DataDirSource) Stop(id string) (*AgentTraceDetail, error)

type FileChange

type FileChange = agenttrace.FileChange

type FileSource added in v0.0.10

type FileSource struct {
	Path string
}

func (FileSource) Delete added in v0.0.10

func (s FileSource) Delete(string) error

func (FileSource) Describe added in v0.0.10

func (s FileSource) Describe() []string

func (FileSource) Get added in v0.0.10

func (s FileSource) Get(id string) (*AgentTraceDetail, error)

func (FileSource) List added in v0.0.10

func (s FileSource) List() ([]AgentTraceSummary, error)

func (FileSource) Stop added in v0.0.10

type FocusSource added in v0.0.10

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

func (FocusSource) Delete added in v0.0.10

func (s FocusSource) Delete(id string) error

func (FocusSource) Describe added in v0.0.10

func (s FocusSource) Describe() []string

func (FocusSource) Get added in v0.0.10

func (s FocusSource) Get(id string) (*AgentTraceDetail, error)

func (FocusSource) List added in v0.0.10

func (s FocusSource) List() ([]AgentTraceSummary, error)

func (FocusSource) Stop added in v0.0.10

func (s FocusSource) Stop(id string) (*AgentTraceDetail, error)

type Message

type Message = agenttrace.Message

type RootSource added in v0.0.10

type RootSource struct {
	Root string
}

func (RootSource) Delete added in v0.0.10

func (s RootSource) Delete(id string) error

func (RootSource) Describe added in v0.0.10

func (s RootSource) Describe() []string

func (RootSource) Get added in v0.0.10

func (s RootSource) Get(id string) (*AgentTraceDetail, error)

func (RootSource) List added in v0.0.10

func (s RootSource) List() ([]AgentTraceSummary, error)

func (RootSource) Stop added in v0.0.10

func (s RootSource) Stop(id string) (*AgentTraceDetail, error)

type SessionDirSource added in v0.0.10

type SessionDirSource struct {
	Dir string
}

func (SessionDirSource) Delete added in v0.0.10

func (s SessionDirSource) Delete(id string) error

func (SessionDirSource) Describe added in v0.0.10

func (s SessionDirSource) Describe() []string

func (SessionDirSource) Get added in v0.0.10

func (SessionDirSource) List added in v0.0.10

func (SessionDirSource) Stop added in v0.0.10

type Source added in v0.0.10

type Source interface {
	List() ([]AgentTraceSummary, error)
	Get(id string) (*AgentTraceDetail, error)
	Stop(id string) (*AgentTraceDetail, error)
	Delete(id string) error
	Describe() []string
}

func DiscoverSources added in v0.0.10

func DiscoverSources(homeDir, workDir string) ([]Source, error)

func NewCombinedSource added in v0.0.10

func NewCombinedSource(sources []Source) Source

func NewDataDirSource added in v0.0.10

func NewDataDirSource(dataDir string) Source

func NewFileSource added in v0.0.10

func NewFileSource(path string) Source

func NewFocusSource added in v0.0.10

func NewFocusSource(source Source, command string, includeLinked bool) Source

func NewRootSource added in v0.0.10

func NewRootSource(root string) Source

func NewSessionDirSource added in v0.0.10

func NewSessionDirSource(dir string) Source

func SourceForPath added in v0.0.10

func SourceForPath(path string) (Source, error)

type Store

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

func NewStore

func NewStore(dataDir string) *Store

func NewStoreForSource added in v0.0.10

func NewStoreForSource(source Source) *Store

func (*Store) HandleRoutes

func (s *Store) HandleRoutes(w http.ResponseWriter, r *http.Request)

type ToolCallEvent

type ToolCallEvent = agenttrace.ToolCallEvent

Jump to

Keyboard shortcuts

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