@agentikos/omega-os 0.19.46 → 0.19.48

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.
@@ -188,7 +188,7 @@ from omega_engine.genesis import (
188
188
  )
189
189
  from omega_engine import plan as plan_v7
190
190
 
191
- __version__ = "0.19.46"
191
+ __version__ = "0.19.48"
192
192
 
193
193
  __all__ = [
194
194
  "__version__",
@@ -115,8 +115,17 @@ def _have_tmux() -> bool:
115
115
  return shutil.which("tmux") is not None
116
116
 
117
117
 
118
- def _tmux(*args: str, check: bool = False, timeout: int = 15) -> tuple[int, str]:
119
- """Run `tmux <args>` and return (exit, stdout)."""
118
+ def _tmux(*args: str, check: bool = False, timeout: int = 2) -> tuple[int, str]:
119
+ """Run `tmux <args>` and return (exit, stdout).
120
+
121
+ v0.19.47 — timeout LOWERED from 15s → 2s. The TUI calls these
122
+ probes every menu render (list-sessions, list-windows, has-session)
123
+ and a hung tmux server (stale socket, zombie, slow disk) would
124
+ block the menu indefinitely until the user Ctrl-C'd. 2s is more
125
+ than enough for a healthy tmux client; on timeout we just return
126
+ "not available" and the menu renders with empty session lists
127
+ rather than hanging.
128
+ """
120
129
  if not _have_tmux():
121
130
  return 1, ""
122
131
  try:
@@ -124,6 +133,9 @@ def _tmux(*args: str, check: bool = False, timeout: int = 15) -> tuple[int, str]
124
133
  ["tmux", *args],
125
134
  check=False, capture_output=True, text=True, timeout=timeout,
126
135
  )
136
+ except subprocess.TimeoutExpired:
137
+ # Treat hung tmux as "not available" — don't block the caller.
138
+ return 1, ""
127
139
  except (OSError, subprocess.SubprocessError) as exc:
128
140
  return 1, str(exc)
129
141
  out = (proc.stdout or "") + (proc.stderr or "")
@@ -625,8 +637,8 @@ bind-key -n M-z display-popup -E -w 100% -h 100% "__OMEGA_BIN__ menu-tui"
625
637
  # Theme-neutral: inherits terminal background, works in light + dark.
626
638
  # ════════════════════════════════════════════════════════════════════
627
639
  set -g status-style "fg=default"
628
- set -g status-left ' #[fg=colour137,bold]Ω #S #[fg=default,nobold]• #[fg=colour137]#(omega tmux count 2>/dev/null) sess #[fg=default]• #[fg=colour137]%H:%M '
629
- set -g status-right '#[fg=default]TS #[fg=colour137]#(omega tmux count 2>/dev/null) #[fg=default]• #[fg=colour137]Ω '
640
+ set -g status-left ' #[fg=colour137,bold]Ω #S #[fg=default,nobold]• #[fg=colour137]%H:%M '
641
+ set -g status-right '#[fg=colour137]Ω '
630
642
 
631
643
  # Hide the window list (tmux-claude clean look).
632
644
  setw -g window-status-format ''
@@ -767,8 +779,8 @@ bind-key -n M-z display-popup -E -w 100% -h 100% "__OMEGA_BIN__ menu-tui"
767
779
  # default fg for labels. Window list HIDDEN (tmux-claude clean look) —
768
780
  # the operator switches via Option+/ or `omega tmux menu` instead.
769
781
  set -g status-style "fg=default"
770
- set -g status-left ' #[fg=colour137,bold]Ω #S #[fg=default,nobold]• #[fg=colour137]#(omega tmux count 2>/dev/null) sess #[fg=default]• #[fg=colour137]%H:%M '
771
- set -g status-right '#[fg=default]CPU #[fg=colour137]#(awk "{print int(\\$1*100/$(nproc))}" /proc/loadavg 2>/dev/null || echo --)% #[fg=default]• #[fg=colour137]Ω v#(cat $OMEGA_HOME/Agentik_SSOT/VERSION 2>/dev/null || echo dev) '
782
+ set -g status-left ' #[fg=colour137,bold]Ω #S #[fg=default,nobold]• #[fg=colour137]%H:%M '
783
+ set -g status-right '#[fg=default]CPU #[fg=colour137]#(awk "{print int(\\$1*100/$(nproc))}" /proc/loadavg 2>/dev/null || echo --)% #[fg=default]• #[fg=colour137]Ω '
772
784
  set -g status-interval 5
773
785
  set -g status-left-length 60
774
786
  set -g status-right-length 60
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "omega-engine"
3
- version = "0.19.46"
3
+ version = "0.19.48"
4
4
  description = "The Omega OS orchestration engine — event-sourced, verified-completion agent graphs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1 +1 @@
1
- 0.19.46
1
+ 0.19.48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentikos/omega-os",
3
- "version": "0.19.46",
3
+ "version": "0.19.48",
4
4
  "description": "Omega OS — installable agentic operating system with verified-completion orchestration. Event-sourced engine, 8-block rack, autonomous agents, MCP.",
5
5
  "bin": {
6
6
  "omega-os": "bin/omega-os.js"