@onepointfour-packs/flaredeck-agent 0.2.147 → 0.2.148

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onepointfour-packs/flaredeck-agent",
3
- "version": "0.2.147",
3
+ "version": "0.2.148",
4
4
  "description": "Run a FlareDeck agent on your own machine: it picks up cards assigned to it, works each one in a checkout of its own, and reports back on the card.",
5
5
  "type": "module",
6
6
  "bin": {
package/python/sidecar.py CHANGED
@@ -119,7 +119,10 @@ async def stdin_lines() -> asyncio.StreamReader:
119
119
  same stream and nothing is lost to buffering.
120
120
  """
121
121
  loop = asyncio.get_running_loop()
122
- reader = asyncio.StreamReader()
122
+ # 16 MB a line, not asyncio's 64 KB default: the first line carries the brief and the system
123
+ # instructions, which include the project's CLAUDE.md — HR Goat's is 83 KB, and every turn
124
+ # failed "Separator is found, but chunk is longer than limit" until this was raised.
125
+ reader = asyncio.StreamReader(limit=16 * 1024 * 1024)
123
126
  await loop.connect_read_pipe(lambda: asyncio.StreamReaderProtocol(reader), sys.stdin)
124
127
  return reader
125
128