| { | |
| "name": "@omniroute/opencode-provider", | |
| "version": "0.1.0", | |
| "description": "OpenCode provider helper for the OmniRoute AI Gateway. Generates a schema-valid provider entry for opencode.json that delegates the runtime to @ai-sdk/openai-compatible.", | |
| "type": "module", | |
| "main": "./dist/index.cjs", | |
| "module": "./dist/index.js", | |
| "types": "./dist/index.d.ts", | |
| "exports": { | |
| ".": { | |
| "types": "./dist/index.d.ts", | |
| "import": "./dist/index.js", | |
| "require": "./dist/index.cjs" | |
| } | |
| }, | |
| "files": [ | |
| "dist", | |
| "README.md", | |
| "LICENSE" | |
| ], | |
| "scripts": { | |
| "build": "tsup", | |
| "clean": "rm -rf dist", | |
| "test": "node --import tsx/esm --test tests/index.test.ts", | |
| "prepublishOnly": "npm run clean && npm run build && npm test" | |
| }, | |
| "keywords": [ | |
| "omniroute", | |
| "opencode", | |
| "opencode-ai", | |
| "ai-sdk", | |
| "openai-compatible", | |
| "provider", | |
| "ai-gateway", | |
| "llm-router" | |
| ], | |
| "author": "OmniRoute contributors", | |
| "license": "MIT", | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/diegosouzapw/OmniRoute.git", | |
| "directory": "@omniroute/opencode-provider" | |
| }, | |
| "bugs": { | |
| "url": "https://github.com/diegosouzapw/OmniRoute/issues" | |
| }, | |
| "homepage": "https://github.com/diegosouzapw/OmniRoute/tree/main/%40omniroute/opencode-provider#readme", | |
| "engines": { | |
| "node": ">=22.22.3" | |
| }, | |
| "publishConfig": { | |
| "access": "public" | |
| }, | |
| "devDependencies": { | |
| "@types/node": "^22.19.19", | |
| "tsup": "^8.5.1", | |
| "tsx": "^4.22.3", | |
| "typescript": "^5.9.3" | |
| } | |
| } | |