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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.2.3
3
+ Version: 1.2.6
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License: MIT
@@ -1,2 +1,2 @@
1
1
  """forgexa-cli — Forgexa command-line client."""
2
- __version__ = "1.2.3"
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
- line_bytes = await proc.stdout.readline()
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(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.2.3
3
+ Version: 1.2.6
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "forgexa-cli"
3
- version = "1.2.3"
3
+ version = "1.2.6"
4
4
  description = "Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform"
5
5
  requires-python = ">=3.9"
6
6
  license = { text = "MIT" }
File without changes
File without changes