81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "opencode-drive",
|
|
"version": "1.4.3",
|
|
"private": true,
|
|
"description": "Drive real and simulated OpenCode instances",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/anomalyco/opencode.git",
|
|
"directory": "packages/drive"
|
|
},
|
|
"homepage": "https://github.com/anomalyco/opencode/tree/v2/packages/drive#readme",
|
|
"bugs": "https://github.com/anomalyco/opencode/issues",
|
|
"type": "module",
|
|
"packageManager": "bun@1.3.14",
|
|
"engines": {
|
|
"bun": ">=1.3.14"
|
|
},
|
|
"bin": {
|
|
"opencode-drive": "bin/opencode-drive"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./client": "./src/client/index.ts",
|
|
"./driver": "./src/driver/index.ts",
|
|
"./frame": "./src/frame/index.ts",
|
|
"./llm": "./src/llm/index.ts",
|
|
"./recording": "./src/recording/index.ts",
|
|
"./script": "./src/script/index.ts"
|
|
},
|
|
"files": [
|
|
"assets/fonts",
|
|
"bin/opencode-drive",
|
|
"docs",
|
|
"src/cli",
|
|
"src/client",
|
|
"src/driver",
|
|
"src/frame",
|
|
"src/instance",
|
|
"src/llm",
|
|
"src/log.ts",
|
|
"src/project.ts",
|
|
"src/recording",
|
|
"src/script",
|
|
"src/simulation",
|
|
"src/tool",
|
|
"src/index.ts",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"drive": "bun run src/cli/index.ts",
|
|
"lint": "cd ../.. && bun run lint -- packages/drive/src",
|
|
"test": "bun run test:effect && bun run test:cli",
|
|
"test:effect": "bun run --bun vitest run",
|
|
"test:cli": "bun test test/cli/integration.test.ts",
|
|
"typecheck": "tsgo --noEmit",
|
|
"check": "bun run lint && bun run typecheck",
|
|
"release:validate": "bun run check && bun run test && bun pm pack --dry-run"
|
|
},
|
|
"dependencies": {
|
|
"@effect/platform-node": "catalog:",
|
|
"@napi-rs/canvas": "1.0.2",
|
|
"@opencode-ai/client": "workspace:*",
|
|
"@opencode-ai/protocol": "workspace:*",
|
|
"@types/bun": "catalog:",
|
|
"@typescript/native-preview": "catalog:",
|
|
"@wterm/core": "0.3.0",
|
|
"@wterm/ghostty": "0.3.0",
|
|
"effect": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@effect/vitest": "4.0.0-beta.101",
|
|
"@tsconfig/bun": "catalog:",
|
|
"oxlint": "1.60.0",
|
|
"typescript": "catalog:",
|
|
"vitest": "4.1.10"
|
|
}
|
|
}
|