Mayson Monorepo Documentation
    Preparing search index...

    Interface AgentSession

    Agent session context - maps userId to agent session

    interface AgentSession {
        sessionId: string;
        sessionKey: string;
        workspaceDir?: string;
    }
    Index

    Properties

    sessionId: string

    User ID from JWT

    sessionKey: string

    Session key for identification (e.g., "chat:user123")

    workspaceDir?: string

    Optional workspace directory for file operations