sessionindex

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 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 Hit

type Hit struct {
	SessionID string
	Seq       int64
	Role      string
	Snippet   string
}

Hit is one FTS match in a session transcript.

type Service

type Service interface {
	// SyncSessions ingests or refreshes index entries from a sessions directory.
	SyncSessions(ctx context.Context, sessionsDir string) error
	// Search runs FTS over indexed messages for the current workspace database.
	Search(ctx context.Context, query string, limit int) ([]Hit, error)
}

Service indexes durable session JSONL logs and supports full-text search per tenant workspace.

Jump to

Keyboard shortcuts

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