scanner

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveSessionIDs

func ActiveSessionIDs(sessions []Session) map[string]bool

ActiveSessionIDs returns session IDs currently in use by a running claude process. Process discovery is platform-specific (claudeProcesses); the matching logic is shared across platforms.

Types

type Session

type Session struct {
	SessionID       string
	ProjectName     string
	ProjectPath     string
	ClaudeDir       string
	FirstPrompt     string
	ExistingSummary string
	MessageCount    int
	Created         time.Time
	Modified        time.Time
	GitBranch       string
	IsSidechain     bool
	JSONLPath       string
}

Session holds metadata about a single Claude Code session.

func Scan

func Scan(cfg config.Config) ([]Session, error)

Scan discovers Claude Code sessions from disk.

Jump to

Keyboard shortcuts

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