mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 10:45:33 -04:00
5df049d081
Check the npm registry (at most once per 24h, file-locked) for newer @opencode-ai/cli releases and act on a host-level autoupdate policy read from config. Apply patch updates automatically, confirm minor updates interactively, and never auto-update across majors. Skip local installs and honor the disable flag. Wired into the default TUI command (interactive) and serve (background).
40 lines
1010 B
JSON
40 lines
1010 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@opencode-ai/cli",
|
|
"version": "1.17.11",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"opencode2": "./bin/opencode2.cjs"
|
|
},
|
|
"files": [
|
|
"bin"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run script/build.ts",
|
|
"dev": "bun run src/index.ts",
|
|
"typecheck": "tsgo --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@effect/platform-node": "catalog:",
|
|
"@opencode-ai/core": "workspace:*",
|
|
"@opencode-ai/sdk": "workspace:*",
|
|
"@opencode-ai/server": "workspace:*",
|
|
"@opencode-ai/tui": "workspace:*",
|
|
"@opentui/core": "catalog:",
|
|
"@opentui/solid": "catalog:",
|
|
"@parcel/watcher": "2.5.1",
|
|
"effect": "catalog:",
|
|
"jsonc-parser": "3.3.1",
|
|
"semver": "catalog:",
|
|
"solid-js": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@opencode-ai/script": "workspace:*",
|
|
"@tsconfig/bun": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@types/semver": "catalog:",
|
|
"@typescript/native-preview": "catalog:"
|
|
}
|
|
}
|