Skip to content

Commit 3898c36

Browse files
authored
libtmux: Bump to v0.51.0, update method name (#31)
* refactor(clients/tmux): Update session.kill_session() to session.kill() why: libtmux v0.51.0 raises DeprecatedError for legacy API kill_session() what: - Replace session.kill_session() with session.kill() * build(deps): Bump libtmux to ==0.51.0 why: Update to latest libtmux with improved API and DeprecatedError for legacy APIs what: - Update pyproject.toml dependency constraint from >=0.37.0 to ==0.51.0 * py(deps) Lock with libtmux 0.51.0
1 parent 6b605de commit 3898c36

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"sqlalchemy>=2.0.0",
1313
"uvicorn[standard]>=0.24.0",
1414
"websockets>=12.0",
15-
"libtmux>=0.37.0",
15+
"libtmux==0.51.0",
1616
"aiofiles>=24.1.0",
1717
"click>=8.0.0",
1818
"python-frontmatter>=1.1.0",

src/cli_agent_orchestrator/clients/tmux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def kill_session(self, session_name: str) -> bool:
185185
try:
186186
session = self.server.sessions.get(session_name=session_name)
187187
if session:
188-
session.kill_session()
188+
session.kill()
189189
logger.info(f"Killed tmux session: {session_name}")
190190
return True
191191
return False

uv.lock

Lines changed: 16 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)