entity

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIContext

type AIContext struct {
	Hash      string
	FilePath  string
	Content   string
	AITool    AITool
	Timestamp time.Time
}

type AITool

type AITool string
const (
	AIToolClaude   AITool = "claude"
	AIToolOpenCode AITool = "opencode"
	AIToolCopilot  AITool = "copilot"
	AIToolUnknown  AITool = "unknown"
)

type Branch

type Branch struct {
	Name       string
	CommitHash string
	IsActive   bool
}

type Commit

type Commit struct {
	Hash       string
	Message    string
	ParentHash string
	Branch     string
	Contexts   []AIContext
	Timestamp  time.Time
	Author     string
}

type Remote

type Remote struct {
	Name string
	URL  string
}

type SkillContext

type SkillContext struct {
	Hash      string    `json:"hash"`
	Timestamp time.Time `json:"timestamp"`
	Content   string    `json:"content"`
	Source    string    `json:"source"`
}

type StagedContext

type StagedContext struct {
	Hash      string
	FilePath  string
	AITool    AITool
	Timestamp time.Time
}

type StagingIndex

type StagingIndex struct {
	Entries []StagedContext
}

Jump to

Keyboard shortcuts

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