@brutalsystems/muster 3.0.0 → 3.0.1

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/hosts/tmux.js +14 -0
  2. package/package.json +1 -1
@@ -102,6 +102,19 @@ export function titleOptions(session, title) {
102
102
  * TERM Ghostty, iTerm2 and Terminal.app report; a terminal that does not
103
103
  * support the request ignores it.
104
104
  *
105
+ * `progressbar` lets tmux pass a pane's progress (OSC 9;4, which Claude Code
106
+ * sends while it works) to the attached terminal, and it has to be declared
107
+ * here rather than left to tmux. Muster starts the agent before any terminal
108
+ * attaches, so its first turn has usually set progress by then; tmux learns
109
+ * Ghostty's `progressbar` only from the XTVERSION reply after attaching, and
110
+ * does not then send the progress it is already holding, so the pane shows no
111
+ * busy state for the whole of that turn. Declared up front, the held state is
112
+ * replayed on attach. It matches any client whose TERM is `xterm-ghostty`
113
+ * (what Ghostty and Scotty set), whether or not that client ever answers
114
+ * XTVERSION, rather than `xterm*`: Terminal.app has no progress bar and iTerm2
115
+ * has read OSC 9 as a notification. It reaches clients that attach after the
116
+ * next launch on a server, not clients already attached.
117
+ *
105
118
  * `-q` because these name options newer than some tmux still installed
106
119
  * (`extended-keys-format` arrived in 3.5, `terminal-features` in 3.2), and an
107
120
  * unknown option is an error that would abort the whole command list and with
@@ -113,6 +126,7 @@ export const SERVER_OPTIONS = [
113
126
  ["-s", "extended-keys", "always"],
114
127
  ["-s", "extended-keys-format", "csi-u"],
115
128
  ["-s", "terminal-features[90]", "xterm*:extkeys"],
129
+ ["-s", "terminal-features[91]", "xterm-ghostty:progressbar"],
116
130
  ];
117
131
  /** `SERVER_OPTIONS` as `;`-terminated `set-option` commands, to lead a
118
132
  * command list. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brutalsystems/muster",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Launch instructed, reachable local agent sessions",
5
5
  "type": "module",
6
6
  "engines": {