Compare commits

...
5 Commits
Author SHA1 Message Date
bendtherules 78784fabb6 chore(release): 0.1.3 2026-03-23 13:12:12 +05:30
bendtherules c6698e7c22 fix: load CLI version from package.json 2026-03-23 13:11:25 +05:30
bendtherules cb9c973868 chore(release): 0.1.2 2026-03-23 12:56:10 +05:30
bendtherules f58cd1e897 fix: remote argument schema
Removed unnecessary union wrapper for the `remote` argument, now using a direct string schema with optional flag and updated description.
2026-03-23 12:55:50 +05:30
bendtherules 4e20a03359 docs(AGENTS): rename JSDoc Comments heading to Documentation and add note to update README when implementation changes 2026-03-23 12:31:52 +05:30
5 changed files with 9 additions and 11 deletions
+2 -1
View File
@@ -81,11 +81,12 @@ bun run typecheck && bun run lint
- Group imports: external packages, internal modules, types
- Biome automatically organizes imports
### JSDoc Comments
### Documentation
- Use JSDoc for all exported functions
- Include `@example`, `@param`, and `@returns` descriptions
- Add inline comments for hard-to-understand code
- Modify Readme.md, if implementation details have changed.
### Error Handling
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "opencode-multi-model",
"version": "0.1.1",
"version": "0.1.3",
"description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool",
"type": "module",
"main": "./dist/index.js",
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env bun
import { Command } from "commander";
import pkg from "../package.json";
import { cleanupMultiModel } from "./core/cleanup";
import { closeMultiModel } from "./core/close";
import { openMultiModel } from "./core/open";
@@ -10,7 +11,7 @@ const program = new Command();
program
.name("opencode-multi-model")
.description("Launch multiple OpenCode models in tmux sessions")
.version("1.0.0");
.version(pkg.version);
program
.command("open")
+1 -7
View File
@@ -15,13 +15,7 @@ Arguments:
- \`noRemote\` (boolean, optional): When true, only delete local tags and do not push deletions to any remote.`,
args: {
remote: tool.schema
.union([
tool.schema
.string()
.describe(
"Remote name to push deletions to. Error if doesn't exist.",
)
])
.string()
.optional()
.describe(
"Remote handling: string=specific remote, undefined=first available remote",
+3 -1
View File
@@ -12,7 +12,9 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"types": ["bun-types"]
"types": ["bun-types"],
"resolveJsonModule": true,
"esModuleInterop": true
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist"]