DirectConversationLogIndex

works.iterative.claude.direct.log.DirectConversationLogIndex
See theDirectConversationLogIndex companion object
class DirectConversationLogIndex extends ConversationLogIndex[[A] =>> A]

Attributes

Companion
object
Graph
Supertypes
trait ConversationLogIndex[[A] =>> A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def forSession(projectPath: Path, sessionId: String): Option[LogFileMetadata]
def forSessionAt(cwd: Path, sessionId: String): Option[LogFileMetadata]

Looks up a specific session for the given working directory.

Looks up a specific session for the given working directory.

Resolves the project directory via CLAUDE_CONFIG_DIR semantics: if the override is set (non-empty), it replaces ~/.claude; otherwise home / ".claude" is used.

Value parameters

cwd

the working directory whose sessions to search

sessionId

the session identifier (filename without the .jsonl extension)

Attributes

def listSessions(projectPath: Path): Seq[LogFileMetadata]
def listSessionsFor(cwd: Path): Seq[LogFileMetadata]

Lists all sessions for the given working directory.

Lists all sessions for the given working directory.

Resolves the project directory via CLAUDE_CONFIG_DIR semantics: if the override is set (non-empty), it replaces ~/.claude; otherwise home / ".claude" is used. The cwd path is encoded with works.iterative.claude.core.log.ProjectPathEncoder to form the project subdirectory name.

Value parameters

cwd

the working directory whose sessions to list

Attributes

def listSubAgents(projectPath: Path, sessionId: String): Seq[SubAgentMetadata]
def listSubAgentsFor(cwd: Path, sessionId: String): Seq[SubAgentMetadata]

Lists all sub-agents for a session in the given working directory.

Lists all sub-agents for a session in the given working directory.

Resolves the project directory via CLAUDE_CONFIG_DIR semantics (same as listSessionsFor) and delegates to listSubAgents.

Value parameters

cwd

the working directory

sessionId

the session identifier

Attributes