shiva-code 0.8.5 → 0.8.7

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 +17 -17
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4206,13 +4206,9 @@ async function spawnInTmux(projects, sessionName) {
4206
4206
  "-n",
4207
4207
  safeName,
4208
4208
  "-c",
4209
- project.projectPath
4210
- ], { stdio: "inherit" });
4211
- const claudeCmd = ["claude", ...claudeArgs].join(" ");
4212
- spawnSync2("tmux", [
4213
- "send-keys",
4214
- claudeCmd,
4215
- "Enter"
4209
+ project.projectPath,
4210
+ "claude",
4211
+ ...claudeArgs
4216
4212
  ], { stdio: "inherit" });
4217
4213
  } else {
4218
4214
  if (i === 0) {
@@ -4224,7 +4220,9 @@ async function spawnInTmux(projects, sessionName) {
4224
4220
  "-n",
4225
4221
  safeName,
4226
4222
  "-c",
4227
- project.projectPath
4223
+ project.projectPath,
4224
+ "claude",
4225
+ ...claudeArgs
4228
4226
  ], { stdio: "inherit" });
4229
4227
  const tmuxStyleCommands = [
4230
4228
  // Status bar background: dark with orange accent
@@ -4253,17 +4251,11 @@ async function spawnInTmux(projects, sessionName) {
4253
4251
  "-n",
4254
4252
  safeName,
4255
4253
  "-c",
4256
- project.projectPath
4254
+ project.projectPath,
4255
+ "claude",
4256
+ ...claudeArgs
4257
4257
  ], { stdio: "inherit" });
4258
4258
  }
4259
- const claudeCmd = ["claude", ...claudeArgs].join(" ");
4260
- spawnSync2("tmux", [
4261
- "send-keys",
4262
- "-t",
4263
- `${tmuxSession}:${safeName}`,
4264
- claudeCmd,
4265
- "Enter"
4266
- ], { stdio: "inherit" });
4267
4259
  }
4268
4260
  }
4269
4261
  if (!insideTmux) {
@@ -17305,6 +17297,10 @@ async function showDashboard() {
17305
17297
  sessionId: project.latestSession.sessionId,
17306
17298
  newSession: false
17307
17299
  }], detectTerminal());
17300
+ if (isInsideTmux()) {
17301
+ await waitForKeypress();
17302
+ await showDashboard();
17303
+ }
17308
17304
  }
17309
17305
  break;
17310
17306
  }
@@ -17316,6 +17312,10 @@ async function showDashboard() {
17316
17312
  const launches = await getPackageLaunchConfig2(packageName);
17317
17313
  if (launches.length > 0) {
17318
17314
  await spawnProjects(launches, detectTerminal());
17315
+ if (isInsideTmux()) {
17316
+ await waitForKeypress();
17317
+ await showDashboard();
17318
+ }
17319
17319
  }
17320
17320
  break;
17321
17321
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shiva-code",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "description": "Makes Claude Code Persistent - Cross-Project Memory CLI",
5
5
  "author": "SHIVA AI",
6
6
  "license": "MIT",