Files
opencode/turbo.json
T
Artur Do Lago 6b56e9d552 fix(security): symlink escape, command escaping, standardize CI pipeline
Security fixes:
- Add containsResolved() to resolve symlinks before path containment check
- Add shellEscapeSingleQuote() and shellEscapeAnsiC() for WezTerm commands
- Update File.read() and File.list() to use symlink-safe containment

CI/Pipeline fixes:
- Fix turbo.json: rename opencode#test → test, add lint task, add unified check task
- Remove fake scripts from agent-core (lint was running tests, not linting)
- Standardize all 11 packages with typecheck, lint, test scripts

Test fixes:
- Fix cache version mismatch in test preload (write version "16")
- Fix model ID filtering to use undated IDs in provider tests

All 43 turbo tasks pass, 690 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 12:59:11 +01:00

24 lines
442 B
JSON

{
"$schema": "https://turborepo.com/schema.json",
"tasks": {
"typecheck": {},
"lint": {},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"test": {
"dependsOn": ["^build"],
"outputs": []
},
"@opencode-ai/app#test": {
"dependsOn": ["^build"],
"outputs": []
},
"check": {
"dependsOn": ["typecheck", "lint", "test"],
"outputs": []
}
}
}