mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 07:29:42 +02:00
fix: use temp file for AI check prompt to avoid E2BIG spawn error
The AI idle checker was passing the prompt (including up to 16KB of terminal buffer) as a command-line argument to bash -c, which exceeded the Linux argument size limit causing "spawn E2BIG" errors. Now writes the prompt to a temp file and pipes it to claude via stdin, avoiding the argument size limit entirely. Temp file is cleaned up both in the normal case (by the shell command) and on cancellation/timeout. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claudeman",
|
||||
"version": "0.1341",
|
||||
"version": "0.1342",
|
||||
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user