Files
opencode/packages/function/package.json
T
Artur Do Lago e1e113da4c 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-12 13:19:33 +01:00

26 lines
675 B
JSON

{
"name": "@opencode-ai/function",
"version": "1.1.13",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
"license": "MIT",
"scripts": {
"typecheck": "echo 'Function package - no typecheck' && exit 0",
"lint": "echo 'No linter configured' && exit 0",
"test": "echo 'No tests configured' && exit 0"
},
"devDependencies": {
"@cloudflare/workers-types": "catalog:",
"@tsconfig/node22": "22.0.2",
"@types/node": "catalog:",
"typescript": "catalog:"
},
"dependencies": {
"@octokit/auth-app": "8.0.1",
"@octokit/rest": "catalog:",
"hono": "catalog:",
"jose": "6.0.11"
}
}