shiva-code 0.8.10 → 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.
- package/dist/index.js +8 -14
- 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
|
-
|
|
4206
|
-
"
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
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,8 +17295,7 @@ async function showDashboard() {
|
|
|
17299
17295
|
newSession: false
|
|
17300
17296
|
}], detectTerminal());
|
|
17301
17297
|
if (isInsideTmux()) {
|
|
17302
|
-
await
|
|
17303
|
-
return;
|
|
17298
|
+
await showDashboard();
|
|
17304
17299
|
}
|
|
17305
17300
|
}
|
|
17306
17301
|
break;
|
|
@@ -17314,8 +17309,7 @@ async function showDashboard() {
|
|
|
17314
17309
|
if (launches.length > 0) {
|
|
17315
17310
|
await spawnProjects(launches, detectTerminal());
|
|
17316
17311
|
if (isInsideTmux()) {
|
|
17317
|
-
await
|
|
17318
|
-
return;
|
|
17312
|
+
await showDashboard();
|
|
17319
17313
|
}
|
|
17320
17314
|
}
|
|
17321
17315
|
break;
|