Files
open-terminal/pyproject.toml
T
Timothy Jaeryang Baek 674cf047fc feat: configurable log flush strategy (#65)
Add OPEN_TERMINAL_LOG_FLUSH_INTERVAL and OPEN_TERMINAL_LOG_FLUSH_BUFFER
env vars to control how frequently process output is flushed to disk.
Default 0 preserves existing per-chunk flush behaviour.

Setting FLUSH_INTERVAL=1 reduces fsyncs from ~250/sec to ~1/sec for
high-output commands, preventing I/O storms that can make ARM/eMMC
systems unresponsive.

- Centralize flush control in BoundedLogWriter
- Remove per-chunk flush() from PtyRunner, PipeRunner, WinPtyRunner
- Add explicit final flush before writing process end marker
- Bump version to 0.11.18
2026-03-15 16:24:23 -05:00

40 lines
819 B
TOML

[project]
name = "open-terminal"
version = "0.11.18"
description = "A remote terminal API."
readme = "README.md"
authors = [
{ name = "Timothy Jaeryang Baek", email = "tim@openwebui.com" }
]
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"click>=8.1.0",
"httpx>=0.27.0",
"python-multipart>=0.0.22",
"aiofiles>=25.1.0",
"pypdf>=5.0.0",
"nbclient>=0.10.0",
"ipykernel>=6.0.0",
"pywinpty>=2.0.0; sys_platform == 'win32'",
]
[project.optional-dependencies]
mcp = ["fastmcp>=2.0.0"]
[project.scripts]
open-terminal = "open_terminal.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["open_terminal"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
]