vibe-kanban-alternative 0.2.38 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +18 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -32,7 +32,7 @@ var require_package = __commonJS({
32
32
  module2.exports = {
33
33
  name: "vibe-kanban-alternative",
34
34
  private: false,
35
- version: "0.2.38",
35
+ version: "0.2.39",
36
36
  main: "index.js",
37
37
  bin: {
38
38
  "vibe-kanban-alternative": "bin/cli.js",
@@ -1261,6 +1261,20 @@ async function runReview(args) {
1261
1261
  });
1262
1262
  });
1263
1263
  }
1264
+ async function runTui(args) {
1265
+ await extractAndRun("vibe-tui", (bin) => {
1266
+ const proc = (0, import_child_process2.spawn)(bin, args, { stdio: "inherit" });
1267
+ proc.on("exit", (c) => process.exit(c || 0));
1268
+ proc.on("error", (e) => {
1269
+ console.error("TUI error:", e.message);
1270
+ process.exit(1);
1271
+ });
1272
+ process.on("SIGINT", () => {
1273
+ proc.kill("SIGINT");
1274
+ });
1275
+ process.on("SIGTERM", () => proc.kill("SIGTERM"));
1276
+ });
1277
+ }
1264
1278
  async function runMain(desktopMode) {
1265
1279
  checkForUpdates();
1266
1280
  const modeLabel = LOCAL_DEV_MODE ? " (local dev)" : "";
@@ -1329,6 +1343,9 @@ async function main() {
1329
1343
  cli.command("mcp [...args]", "Run the MCP server").allowUnknownOptions().action((args) => {
1330
1344
  runOrExit(runMcp(args));
1331
1345
  });
1346
+ cli.command("tui [...args]", "Run the TUI cockpit").allowUnknownOptions().action((args) => {
1347
+ runOrExit(runTui(args));
1348
+ });
1332
1349
  cli.help();
1333
1350
  cli.version(CLI_VERSION);
1334
1351
  cli.parse(normalizeArgv(process.argv));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vibe-kanban-alternative",
3
3
  "private": false,
4
- "version": "0.2.38",
4
+ "version": "0.2.39",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "vibe-kanban-alternative": "bin/cli.js",