chore(root): add postinstall symlinks for generic agents (#447)

This commit is contained in:
rahim
2026-02-04 14:59:04 +11:00
committed by GitHub
parent 0fb382700c
commit 18eb9107bf
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -141,3 +141,5 @@ bun.lockb
# AI Agent Config (Generated)
# -------------------------
.opencode
AGENTS.md
agents
+2 -1
View File
@@ -16,7 +16,7 @@
},
"scripts": {
"prepare": "simple-git-hooks",
"postinstall": "pnpm link:opencode",
"postinstall": "pnpm link:opencode && pnpm link:agents",
"build:packages": "turbo run build --filter='./packages/*'",
"build:site": "turbo run build --filter=site",
"build": "turbo run build",
@@ -29,6 +29,7 @@
"lint:fix": "biome check . --write",
"lint:fix:file": "biome check --write",
"link:opencode": "[ -e .opencode ] || ln -s .claude .opencode",
"link:agents": "[ -e AGENTS.md ] || ln -s CLAUDE.md AGENTS.md; [ -e agents ] || ln -s .claude agents",
"test": "turbo run test",
"typecheck": "tsc --build"
},