Read version from packages/agent-core/package.json instead of
generating dynamic timestamp versions. This allows setting a
permanent version by editing package.json.
Priority order:
1. AGENT_CORE_VERSION env var
2. OPENCODE_VERSION env var
3. package.json version (new)
4. Dynamic timestamp version
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Run prettier --write across all 17 packages
- Update lint scripts to use prettier --check
- Exclude dist/build directories from lint (app, sdk, console/app)
- Add missing scripts to console packages (typecheck, lint, test)
- All 55 turbo check tasks now pass
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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>