Versions in this module Expand all Collapse all v1 v1.108.0 Aug 31, 2026 Changes in this version + const AttributionAI + const AttributionHuman + const DefaultProviderName + func MustRawSessionEntry(e RawSessionEntry) json.RawMessage + type DiscoveredSession struct + IsActive bool + SessionDir string + SessionID string + type HookEdit struct + NewString string + OldString string + type HookInput struct + AgentVersion string + Edits []HookEdit + FilePath string + HookEventName string + Model string + SessionID string + ToolName string + type ParseOpts struct + AgentVersion string + Model string + SessionDir string + SessionID string + type Provider interface + CaptureFileSnapshot func(store *state.Store, input *HookInput) error + CleanupAfterEdit func(store *state.Store, input *HookInput) + CopySessionData func(store *state.Store, repoRoot, sessionID string) error + DiscoverSession func(repoRoot string) (*DiscoveredSession, error) + InstallHooks func(repoRoot string) error + InstallHooksForTraceRun func(repoRoot string) error + IsCommandTool func(toolName string) bool + IsFileWritingTool func(toolName string) bool + Name func() string + ParseSession func(ctx context.Context, opts *ParseOpts) (*aicodingsession.Evidence, error) + ReadHookInput func(r io.Reader) (*HookInput, error) + ResolveBeforeContent func(store *state.Store, input *HookInput, after []byte) []byte + SessionDirForRepo func(repoRoot string) string + SettingsFile func(repoRoot string) string + SystemMessage func(msg string) error + UninstallHooks func(repoRoot string) error + type RawSessionEntry struct + IsMeta bool + Message RawSessionMessage + Role string + Timestamp string + Type string + UUID string + type RawSessionMessage struct + Content json.RawMessage + Model string + Role string + type RawSessionTextBlock struct + Text string + Type string + type RawSessionToolUseBlock struct + ID string + Input json.RawMessage + Name string + Type string