shiva-code 0.8.9 → 0.8.11

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/dist/index.js +8 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4201,16 +4201,12 @@ async function spawnInTmux(projects, sessionName) {
4201
4201
  const claudeArgs = buildClaudeArgs(project);
4202
4202
  const safeName = sanitizeProjectName(project.projectName);
4203
4203
  if (insideTmux) {
4204
- spawnSync2("tmux", [
4205
- "new-window",
4206
- "-n",
4207
- safeName,
4208
- "-c",
4209
- project.projectPath,
4210
- "claude",
4211
- ...claudeArgs
4212
- ], { stdio: "ignore" });
4213
- spawnSync2("tmux", ["select-window", "-t", safeName], { stdio: "ignore" });
4204
+ spawnSync2("tmux", ["rename-window", safeName], { stdio: "ignore" });
4205
+ spawnSync2("claude", claudeArgs, {
4206
+ stdio: "inherit",
4207
+ cwd: project.projectPath
4208
+ });
4209
+ return;
4214
4210
  } else {
4215
4211
  if (i === 0) {
4216
4212
  spawnSync2("tmux", [
@@ -17299,7 +17295,7 @@ async function showDashboard() {
17299
17295
  newSession: false
17300
17296
  }], detectTerminal());
17301
17297
  if (isInsideTmux()) {
17302
- process.exit(0);
17298
+ await showDashboard();
17303
17299
  }
17304
17300
  }
17305
17301
  break;
@@ -17313,7 +17309,7 @@ async function showDashboard() {
17313
17309
  if (launches.length > 0) {
17314
17310
  await spawnProjects(launches, detectTerminal());
17315
17311
  if (isInsideTmux()) {
17316
- process.exit(0);
17312
+ await showDashboard();
17317
17313
  }
17318
17314
  }
17319
17315
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shiva-code",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "Makes Claude Code Persistent - Cross-Project Memory CLI",
5
5
  "author": "SHIVA AI",
6
6
  "license": "MIT",