Documentation
¶
Index ¶
- func Allowed(stateDir, hash string) bool
- func Hash(content string) string
- func SessionKey(runtime, sessionID, conversationID, workspace string) string
- type Record
- func Create(stateDir string, rec Record) (Record, error)
- func Get(stateDir, id string) (Record, error)
- func List(stateDir string) ([]Record, error)
- func Pending(stateDir, sessionKey string) (Record, bool)
- func PendingRun(stateDir, runID string) (Record, bool)
- func Resolve(stateDir, id, action, note string) (Record, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionKey ¶
Types ¶
type Record ¶
type Record struct {
ID string `json:"id"`
Created time.Time `json:"created"`
Runtime string `json:"runtime"`
SessionKey string `json:"session_key"`
Workspace string `json:"workspace"`
Tool string `json:"tool"`
ToolInput string `json:"tool_input"`
Score float64 `json:"score"`
Confidence float64 `json:"confidence"`
Reason string `json:"reason"`
HeuristicHits []string `json:"heuristic_hits,omitempty"`
Excerpt string `json:"excerpt"`
RawPointer string `json:"raw_pointer"`
ContentSHA256 string `json:"content_sha256"`
SDLCRunID string `json:"sdlc_run_id,omitempty"`
Status string `json:"status"`
Note string `json:"note,omitempty"`
}
func PendingRun ¶
Click to show internal directories.
Click to hide internal directories.