forgexa-cli 1.2.3__tar.gz → 1.2.6__tar.gz
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.
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/PKG-INFO +1 -1
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli/daemon.py +17 -1
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/pyproject.toml +1 -1
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/README.md +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.2.3 → forgexa_cli-1.2.6}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.2.
|
|
2
|
+
__version__ = "1.2.6"
|
|
@@ -1043,7 +1043,22 @@ class ProcessManager:
|
|
|
1043
1043
|
if not proc.stdout:
|
|
1044
1044
|
return
|
|
1045
1045
|
while True:
|
|
1046
|
-
|
|
1046
|
+
try:
|
|
1047
|
+
line_bytes = await proc.stdout.readline()
|
|
1048
|
+
except ValueError:
|
|
1049
|
+
# Line exceeded stream buffer limit – fall back to reading
|
|
1050
|
+
# remaining data in bulk to avoid losing output.
|
|
1051
|
+
remaining = await proc.stdout.read()
|
|
1052
|
+
if remaining:
|
|
1053
|
+
for chunk_line in remaining.decode(errors="replace").split("\n"):
|
|
1054
|
+
if chunk_line:
|
|
1055
|
+
stdout_lines.append(chunk_line)
|
|
1056
|
+
if on_chunk:
|
|
1057
|
+
try:
|
|
1058
|
+
await on_chunk([chunk_line])
|
|
1059
|
+
except Exception:
|
|
1060
|
+
pass
|
|
1061
|
+
break
|
|
1047
1062
|
if not line_bytes:
|
|
1048
1063
|
break
|
|
1049
1064
|
line = line_bytes.decode(errors="replace").rstrip("\n")
|
|
@@ -1107,6 +1122,7 @@ class ProcessManager:
|
|
|
1107
1122
|
stdin=asyncio.subprocess.PIPE,
|
|
1108
1123
|
cwd=str(cwd),
|
|
1109
1124
|
env=env,
|
|
1125
|
+
limit=10 * 1024 * 1024, # 10MB line buffer for large JSON output
|
|
1110
1126
|
)
|
|
1111
1127
|
self.active_processes[task_id] = proc
|
|
1112
1128
|
stdout, stderr, returncode = await self._stream_process(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|