mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 10:45:33 -04:00
6b56e9d552
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>
24 lines
442 B
JSON
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": []
|
|
}
|
|
}
|
|
}
|