Skip to content

Suggestion: Clarify symlink workflow for existing OpenCode users #14

@Gerkinfeltser

Description

@Gerkinfeltser

Hey, thanks again for porting PAI to OpenCode!

I got a bit confused during installation, but after digging through the docs I think I understand the intended workflow now. Might be worth making it clearer for others.

The confusion

The Quick Start shows:

git clone ...
bun run .opencode/PAIOpenCodeWizard.ts
opencode

This creates everything in the project directory. For someone with an existing OpenCode setup, it's not obvious how to integrate PAI with their global config.

The answer (buried in Manual Installation)

Step 4 of INSTALL.md has the key bit:

ln -s $(pwd)/.opencode ~/.opencode

This is actually a great approach — keeps ~ clean, config lives in a repo you control, upgrades are just git pull. But it's easy to miss if you follow the Quick Start.

Suggestion

For existing OpenCode users, the symlink step is the important part. A few options:

  1. Add a note to Quick Start — "Already using OpenCode? See the symlink setup in Manual Installation Step 4"
  2. Wizard option — Ask "Create symlink to ~/.opencode?" during setup
  3. Separate section — "Adding PAI to an existing OpenCode installation"

The original PAI uses cp -r .claude ~/, but honestly the symlink approach is better for maintenance. Just needs a bit more visibility in the docs.

Thanks again!

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