Impl: tool-npm-package

This commit is contained in:
2026-03-19 19:12:50 +05:30
parent f1b09bf7de
commit ca753cd1ca
17 changed files with 1914 additions and 499 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"name": "@username/opencode-multi-model",
"version": "1.0.0",
"description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"opencode-multi-model": "./dist/cli.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./core": {
"import": "./dist/core/index.js",
"types": "./dist/core/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "bun build src/index.ts src/cli.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly --outDir dist",
"test": "bun test",
"typecheck": "tsc --noEmit",
"prepublishOnly": "bun run build"
},
"dependencies": {
"@opencode-ai/plugin": "^1.2.27",
"commander": "^12.0.0"
},
"devDependencies": {
"@types/bun": "^1.3.10",
"@types/node": "^25.5.0",
"typescript": "^5.0.0"
},
"keywords": [
"opencode",
"multi-model",
"tmux",
"ai",
"plugin"
],
"license": "MIT"
}