fix: resolve installed OpenCode skill paths consistently

Carry forward PR #3115 ef475c79 and 780dfb78 onto current main. Preserve the newer hook-consent transforms during install and repair. Main already includes the source import fix from #3167.
This commit is contained in:
Yusuf Efe
2026-10-09 15:40:12 -04:00
committed by haelyra
parent ef648e0189
commit 0f34fdcc14
11 changed files with 342 additions and 41 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
"devDependencies": {
"@opencode-ai/plugin": "^1.4.3",
"@types/node": "^20.0.0",
"typescript": "^5.3.0"
"typescript": "^5.7.0"
},
"engines": {
"node": ">=18.0.0"
+1 -1
View File
@@ -62,7 +62,7 @@
"devDependencies": {
"@opencode-ai/plugin": "^1.4.3",
"@types/node": "^20.0.0",
"typescript": "^5.3.0"
"typescript": "^5.7.0"
},
"engines": {
"node": ">=18.0.0"
+1 -1
View File
@@ -4,7 +4,7 @@
* These tools extend OpenCode with additional capabilities.
*/
// Re-export all tools
// OpenCode loads these sources in place; tsc rewrites .ts imports for dist.
export { default as runTests } from "./run-tests.ts"
export { default as checkCoverage } from "./check-coverage.ts"
export { default as securityAudit } from "./security-audit.ts"