Skip to content

PAI_DIR TheoryΒ #265

@Ne0nd0g

Description

@Ne0nd0g

One thing that I've always found confusing is the theory behind the PAI_DIR environment variable. When I say theory I mostly mean how it is designed to function. For example, should PAI_DIR be the directory that is the result of cloning the repository? Should it be ~/.claude? Can it be any arbitrary place that I want? Can the hooks in Claude Code's settings.json point to a directory outside of ~/.claude? Should I be creating a sym link to it in ~/.claude? What should PAI_DIR point to if I'm not using Claude Code?

When the install scripts asks "Where should PAI be installed?" how do I understand enough to make an informed decision on it? Looks like the latest install script installs at ~/.config/pai. Why here? What's the logic for choosing this directory? Is there a shift from using the ~/.claude directory?

I think it would be valuable to add a section to the README.md that explains this so PAI users can be informed and better understand the system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions