mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"name": "opencode-router",
|
|
"version": "0.11.192",
|
|
"description": "opencode-router: Slack + Telegram bridge + directory routing for a running opencode server",
|
|
"private": false,
|
|
"type": "module",
|
|
"bin": {
|
|
"opencode-router": "bin/opencode-router.mjs"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/different-ai/openwork.git",
|
|
"directory": "apps/opencode-router"
|
|
},
|
|
"keywords": [
|
|
"opencode",
|
|
"router",
|
|
"slack",
|
|
"telegram",
|
|
"bridge",
|
|
"bot"
|
|
],
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"README.md",
|
|
".env.example",
|
|
"install.sh"
|
|
],
|
|
"scripts": {
|
|
"dev": "OPENWORK_DEV_MODE=1 bun src/cli.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"prepack": "node -e \"const fs=require('fs'); fs.rmSync('dist', { recursive: true, force: true });\" && tsc -p tsconfig.json",
|
|
"build:bin": "bun ./script/build.ts --outdir dist/bin --filename opencode-router",
|
|
"build:bin:all": "bun ./script/build.ts --outdir dist/bin --filename opencode-router --target bun-darwin-arm64 --target bun-darwin-x64 --target bun-linux-x64 --target bun-linux-arm64 --target bun-windows-x64",
|
|
"build:binary": "bun ./script/build.ts --outdir dist/bin --filename opencode-router",
|
|
"start": "bun dist/cli.js start",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"setup": "bun scripts/setup.mjs",
|
|
"test:unit": "pnpm build && bun test test/*.test.js",
|
|
"test:smoke": "bun scripts/smoke.mjs",
|
|
"test:cli": "pnpm build && bun scripts/test-cli.mjs",
|
|
"test:npx": "bun scripts/test-npx.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@opencode-ai/sdk": "^1.1.31",
|
|
"@slack/socket-mode": "^2.0.5",
|
|
"@slack/web-api": "^7.13.0",
|
|
"commander": "^12.1.0",
|
|
"dotenv": "^16.4.7",
|
|
"grammy": "^1.39.3",
|
|
"pino": "^9.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"bun-types": "^1.3.6",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|