CoAgent8
    Preparing search index...

    Function deletedSessionWorkspace

    • The workspace of a session call whose absolute workspace_path no longer exists.

      Parameters

      • rawPath: unknown

      Returns string | undefined

      The resolved path, or undefined when the path exists, is relative or is empty, which resolveWorkspacePath then validates.

      Sessions are owned by the directory they ran in; listing, reading or closing them runs nothing there, so a deleted directory still identifies them. Ownership is checked against the session record as before.