fix: use cross-platform Node script for postinstall symlinks (#577)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-02-19 13:21:58 -06:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 10eb92e5ea
commit ca55e0ac5b
3 changed files with 44 additions and 3 deletions
+5
View File
@@ -57,6 +57,11 @@ git pull upstream main
pnpm install
```
This also creates symlink aliases (`.opencode`, `agents`, `AGENTS.md`) so that AI coding tools other than Claude Code can discover project instructions.
> [!NOTE]
> **Windows users:** Directory symlinks use junctions and work automatically. File symlinks (e.g., `AGENTS.md → CLAUDE.md`) require [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) enabled. If symlink creation fails, `pnpm install` will log a warning but continue normally — the canonical files (`.claude/`, `CLAUDE.md`) still work fine.
Then build all workspace packages:
```sh