shiva-code 0.8.1 → 0.8.2
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 +20 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4225,6 +4225,25 @@ async function spawnInTmux(projects, sessionName) {
|
|
|
4225
4225
|
"-c",
|
|
4226
4226
|
project.projectPath
|
|
4227
4227
|
], { stdio: "inherit" });
|
|
4228
|
+
const tmuxStyleCommands = [
|
|
4229
|
+
// Status bar background: dark with orange accent
|
|
4230
|
+
["set-option", "-t", tmuxSession, "status-style", "bg=#1a1a1a,fg=#00D4FF"],
|
|
4231
|
+
// Left side: SHIVA branding
|
|
4232
|
+
["set-option", "-t", tmuxSession, "status-left", "#[fg=#FF6B2C,bold][shiva-#{session_id}:#{window_name}] "],
|
|
4233
|
+
["set-option", "-t", tmuxSession, "status-left-length", "30"],
|
|
4234
|
+
// Right side: info
|
|
4235
|
+
["set-option", "-t", tmuxSession, "status-right", '#[fg=#00D4FF]"#{pane_title}" #[fg=#FF6B2C]%H:%M %d-%b-%y'],
|
|
4236
|
+
["set-option", "-t", tmuxSession, "status-right-length", "50"],
|
|
4237
|
+
// Window status styling
|
|
4238
|
+
["set-option", "-t", tmuxSession, "window-status-current-style", "fg=#FF6B2C,bold"],
|
|
4239
|
+
["set-option", "-t", tmuxSession, "window-status-style", "fg=#666666"],
|
|
4240
|
+
// Pane border colors
|
|
4241
|
+
["set-option", "-t", tmuxSession, "pane-border-style", "fg=#333333"],
|
|
4242
|
+
["set-option", "-t", tmuxSession, "pane-active-border-style", "fg=#FF6B2C"]
|
|
4243
|
+
];
|
|
4244
|
+
for (const cmd of tmuxStyleCommands) {
|
|
4245
|
+
spawnSync2("tmux", cmd, { stdio: "ignore" });
|
|
4246
|
+
}
|
|
4228
4247
|
} else {
|
|
4229
4248
|
spawnSync2("tmux", [
|
|
4230
4249
|
"new-window",
|
|
@@ -12701,7 +12720,7 @@ function detectInstallationType() {
|
|
|
12701
12720
|
}
|
|
12702
12721
|
return "npm";
|
|
12703
12722
|
}
|
|
12704
|
-
var CLI_VERSION = "0.8.
|
|
12723
|
+
var CLI_VERSION = "0.8.2";
|
|
12705
12724
|
function getCurrentVersion() {
|
|
12706
12725
|
try {
|
|
12707
12726
|
const output = execSync3(`npm list -g ${PACKAGE_NAME} --depth=0 --json 2>/dev/null`, {
|