@agentikos/omega-os 0.19.46 → 0.19.47
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/omega/Agentik_Engine/omega_engine/__init__.py +1 -1
- package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/tmux.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/tmux.py +14 -2
- package/omega/Agentik_Engine/pyproject.toml +1 -1
- package/omega/Agentik_SSOT/VERSION +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -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 =
|
|
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 "")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.19.
|
|
1
|
+
0.19.47
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentikos/omega-os",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.47",
|
|
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"
|