Compare commits

...
4 Commits
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "opencode-multi-model", "name": "opencode-multi-model",
"version": "0.1.2", "version": "0.1.4",
"description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool", "description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env bun #!/usr/bin/env bun
import { Command } from "commander"; import { Command } from "commander";
import pkg from "../package.json";
import { cleanupMultiModel } from "./core/cleanup"; import { cleanupMultiModel } from "./core/cleanup";
import { closeMultiModel } from "./core/close"; import { closeMultiModel } from "./core/close";
import { openMultiModel } from "./core/open"; import { openMultiModel } from "./core/open";
@@ -10,7 +11,7 @@ const program = new Command();
program program
.name("opencode-multi-model") .name("opencode-multi-model")
.description("Launch multiple OpenCode models in tmux sessions") .description("Launch multiple OpenCode models in tmux sessions")
.version("1.0.0"); .version(pkg.version);
program program
.command("open") .command("open")
+2 -1
View File
@@ -21,7 +21,8 @@ Arguments:
"Remote handling: string=specific remote, undefined=first available remote", "Remote handling: string=specific remote, undefined=first available remote",
), ),
noRemote: tool.schema noRemote: tool.schema
.literal(true) .boolean()
.default(false)
.describe("Only delete local tags, don't push to remote.") .describe("Only delete local tags, don't push to remote.")
.optional(), .optional(),
}, },
+3 -1
View File
@@ -12,7 +12,9 @@
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"types": ["bun-types"] "types": ["bun-types"],
"resolveJsonModule": true,
"esModuleInterop": true
}, },
"include": ["src/**/*", "tests/**/*"], "include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist"] "exclude": ["node_modules", "dist"]