sisyphi 1.1.27 → 1.1.28
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/cli.js +8 -23
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +0 -17
- package/dist/daemon.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4653,9 +4653,9 @@ bind -T copy-mode-vi C-j send -X scroll-down
|
|
|
4653
4653
|
set -g status on
|
|
4654
4654
|
set -g status-style "bg=#1d1e21,fg=#d4cbb8"
|
|
4655
4655
|
set -g status-position bottom
|
|
4656
|
-
set -g status-left "#
|
|
4657
|
-
set -g status-left-length
|
|
4658
|
-
set -g status-right "#{E:@
|
|
4656
|
+
set -g status-left "#{E:@sisyphus_left}"
|
|
4657
|
+
set -g status-left-length 250
|
|
4658
|
+
set -g status-right "#{E:@sisyphus_right}#[fg=#2d2f33]#[bg=#2d2f33,fg=#b0a898] %H:%M "
|
|
4659
4659
|
set -g status-right-length 250
|
|
4660
4660
|
set -g status-interval 2
|
|
4661
4661
|
|
|
@@ -4891,8 +4891,9 @@ function printResults(result, daemonOk, keybindMsg) {
|
|
|
4891
4891
|
console.log(" \u2717 Daemon: Failed to start");
|
|
4892
4892
|
}
|
|
4893
4893
|
console.log(` \u2713 Keybindings: ${keybindMsg}`);
|
|
4894
|
-
console.log(" \u2713 Status bar: daemon-rendered via @
|
|
4895
|
-
console.log("
|
|
4894
|
+
console.log(" \u2713 Status bar: daemon-rendered via @sisyphus_left / @sisyphus_right");
|
|
4895
|
+
console.log(" status-left: #{E:@sisyphus_left}");
|
|
4896
|
+
console.log(" status-right: #{E:@sisyphus_right}");
|
|
4896
4897
|
if (result.sisyphusPlugin.installed && result.sisyphusPlugin.installPath) {
|
|
4897
4898
|
const suffix = result.sisyphusPlugin.autoInstalled ? " (just installed)" : "";
|
|
4898
4899
|
console.log(` \u2713 sisyphus@sisyphus plugin: ${result.sisyphusPlugin.installPath}${suffix}`);
|
|
@@ -10489,24 +10490,9 @@ function attachNotify(diagnostic2) {
|
|
|
10489
10490
|
});
|
|
10490
10491
|
}
|
|
10491
10492
|
|
|
10492
|
-
// src/cli/commands/tmux-status.ts
|
|
10493
|
-
import { execSync as execSync15 } from "child_process";
|
|
10494
|
-
function attachTmuxStatus(diagnostic2) {
|
|
10495
|
-
diagnostic2.command("tmux-status").description("Output session status dots for tmux status bar").action(() => {
|
|
10496
|
-
try {
|
|
10497
|
-
const status = execSync15(
|
|
10498
|
-
"tmux show-option -gv @sisyphus_status",
|
|
10499
|
-
{ encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] }
|
|
10500
|
-
).trim();
|
|
10501
|
-
if (status) process.stdout.write(status);
|
|
10502
|
-
} catch {
|
|
10503
|
-
}
|
|
10504
|
-
});
|
|
10505
|
-
}
|
|
10506
|
-
|
|
10507
10493
|
// src/cli/commands/tmux-sessions.ts
|
|
10508
10494
|
init_paths();
|
|
10509
|
-
import { execSync as
|
|
10495
|
+
import { execSync as execSync15 } from "child_process";
|
|
10510
10496
|
import { readFileSync as readFileSync30, existsSync as existsSync29 } from "fs";
|
|
10511
10497
|
var DOT_MAP = {
|
|
10512
10498
|
"orchestrator:processing": { icon: "\u25CF", color: "#d4ad6a" },
|
|
@@ -10527,7 +10513,7 @@ function readManifest() {
|
|
|
10527
10513
|
}
|
|
10528
10514
|
function tmuxExec(cmd) {
|
|
10529
10515
|
try {
|
|
10530
|
-
return
|
|
10516
|
+
return execSync15(cmd, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] }).trim();
|
|
10531
10517
|
} catch {
|
|
10532
10518
|
return null;
|
|
10533
10519
|
}
|
|
@@ -10623,7 +10609,6 @@ registerDeploy(program);
|
|
|
10623
10609
|
registerCloud(program);
|
|
10624
10610
|
var diagnostic = program.command("diagnostic", { hidden: true });
|
|
10625
10611
|
attachNotify(diagnostic);
|
|
10626
|
-
attachTmuxStatus(diagnostic);
|
|
10627
10612
|
attachTmuxSessions(diagnostic);
|
|
10628
10613
|
program.addHelpText("after", `
|
|
10629
10614
|
Examples:
|