1f6c61ac3a
- Added OpenCode Zen provider with API key-based authentication supporting multiple AI models. - Added four new free models via OpenCode provider: glm-4.7-free, kimi-k2.5-free, minimax-m2.1-free, and trinity-large-preview-free. - Added glm-4.7-flash model via Zai provider. - Updated pricing and configuration for multiple models across Kimi, MiniMax, OpenRouter, Anthropic, Vercel AI Gateway, and Zai providers. - Removed google/gemini-2.0-flash-exp:free from OpenRouter and stealth models from Vercel AI Gateway.
62 lines
2.9 KiB
JSON
62 lines
2.9 KiB
JSON
{
|
|
"name": "omp-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"install:dev": "bun install && bun --cwd=packages/coding-agent link && bun --cwd=packages/ai link",
|
|
"dev": "bun packages/coding-agent/src/cli.ts",
|
|
"stats": "bun --cwd=packages/coding-agent src/cli.ts stats",
|
|
"test": "bun --cwd=packages/ai run test && bun --cwd=packages/agent run test && bun --cwd=packages/tui run test && bun --cwd=packages/natives run test && bun --cwd=packages/coding-agent run test",
|
|
"check": "bun run check:ts && bun run check:rs",
|
|
"check:ts": "biome check . && tsgo -p tsconfig.json && tsgo -p packages/stats/tsconfig.client.json",
|
|
"check:rs": "cargo fmt --all -- --check && cargo clippy --workspace -- -D warnings",
|
|
"lint": "bun run lint:ts && bun run lint:rs",
|
|
"lint:ts": "biome lint .",
|
|
"lint:rs": "cargo clippy --workspace -- -D warnings",
|
|
"fmt": "bun run fmt:ts && bun run fmt:rs",
|
|
"fmt:ts": "biome format --write .",
|
|
"fmt:rs": "cargo fmt --all",
|
|
"fix": "bun run fix:ts && bun run fix:rs",
|
|
"fix:ts": "biome check --write --unsafe . && bun --cwd=packages/coding-agent run format-prompts",
|
|
"fix:rs": "cargo clippy --fix --allow-dirty --all-targets --no-deps --allow-staged --broken-code --allow-no-vcs && cargo fmt --all",
|
|
"build:wasm": "bun --cwd=packages/natives run build:wasm",
|
|
"bench:gen-fixtures": "bun run packages/react-edit-benchmark/generate.ts --react-dir /tmp/react-source --count-per-type 3",
|
|
"bench:edit": "bun --cwd=packages/react-edit-benchmark run start",
|
|
"version:patch": "npm version patch -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
|
"version:minor": "npm version minor -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
|
"version:major": "npm version major -ws --no-git-tag-version && bun scripts/sync-versions.ts && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
|
"version:set": "npm version -ws",
|
|
"prepublishOnly": "bun run check",
|
|
"publish": "bun run prepublishOnly && npm publish -ws --access public",
|
|
"publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run",
|
|
"release": "bun scripts/release.ts",
|
|
"generate-models": "bun --cwd=packages/ai scripts/generate-models.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.3.13",
|
|
"@bufbuild/protoc-gen-es": "^2.11.0",
|
|
"@types/bun": "^1.3.7",
|
|
"@types/node": "^25.0.10",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260128.1",
|
|
"bun-types": "^1.3.7",
|
|
"concurrently": "^9.2.1",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "^3.8.1",
|
|
"ts-morph": "^27.0.2"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.7"
|
|
},
|
|
"packageManager": "bun@1.3.7",
|
|
"version": "0.0.3",
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.48"
|
|
}
|
|
}
|