EffectfulConversationLogIndex

works.iterative.claude.effectful.log.EffectfulConversationLogIndex
See theEffectfulConversationLogIndex companion object
class EffectfulConversationLogIndex extends ConversationLogIndex[IO]

Attributes

Companion
object
Graph
Supertypes
trait ConversationLogIndex[IO]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def forSession(projectPath: Path, sessionId: String): IO[Option[LogFileMetadata]]
def forSessionAt(cwd: Path, sessionId: String): IO[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): IO[Seq[LogFileMetadata]]
def listSessionsFor(cwd: Path): IO[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): IO[Seq[SubAgentMetadata]]
def listSubAgentsFor(cwd: Path, sessionId: String): IO[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