@volter/supercode-terminal 0.2.74 → 0.2.75

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/index.mjs +6 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1942,7 +1942,12 @@ export function composerText(kind, screen) {
1942
1942
  const plain = lines.map((cells) => cells.map((cell) => cell.char).join(''));
1943
1943
  // A session started with `--name` labels the rule above its editor (`──── name ─`); the label does not end the rule.
1944
1944
  const rule = /^\s*[─━]{4,}(?:[^─━]+[─━]+)?\s*$/u;
1945
- const footer = /^\s*(?:.*\btab to queue (?:a )?message\b.*$|\? for shortcuts\b|⚠\s+\d+\s+warnings?\s+·\s+f2 to view\s*$|[^\n]+ · (?:~(?:[\\/]|(?=\s|$))|[\\/]|[A-Z]:[\\/])[^\n]*$|.*← for agents\s*$|.*\bcontext(?:\s+\d+%)?\s+left\b)/iu;
1945
+ // Codex's status row is `model · cwd` plus whatever else it has to say (a goal's state, a warning count). On a row
1946
+ // too narrow for all of it Codex cuts the cwd down to its ellipsis (`· … Goal stalled (/goal resume)`, `· ~… Goal
1947
+ // paused (/goal resume)`, both read from 80-column panes on yuerans, 2026-10-10), and a row whose cwd was required
1948
+ // to open with a path root read as no footer: the idle composer above it read as absent and the session's mail
1949
+ // waited as `no-composer` until it expired.
1950
+ const footer = /^\s*(?:.*\btab to queue (?:a )?message\b.*$|\? for shortcuts\b|⚠\s+\d+\s+warnings?\s+·\s+f2 to view\s*$|[^\n]+ · (?:~?…|~(?:[\\/]|(?=\s|$))|[\\/]|[A-Z]:[\\/])[^\n]*$|.*← for agents\s*$|.*\bcontext(?:\s+\d+%)?\s+left\b)/iu;
1946
1951
  const caret = kind === 'codex' ? /^\s*›(?:\s|$)/u : /^\s*[❯>](?:\s|$)/u;
1947
1952
  for (let row = plain.length - 1; row >= 0; row -= 1) {
1948
1953
  if (!caret.test(plain[row])) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-terminal",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "type": "module",
5
5
  "description": "Optional leak-safe terminal and tmux host adapter for Volter Harness frontends",
6
6
  "exports": {