fix(windows): use temp file for insights history to avoid ENAMETOOLONG

- Write conversation history to temp file instead of command-line arg
- Add --history-file argument to insights_runner.py
- Cleanup temp file after process completes

Fixes #58

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
AndyMik90
2025-12-20 20:39:23 +01:00
co-authored by Claude Opus 4.5
parent 721b12753c
commit 252d4ccfd8
+1
View File
@@ -331,6 +331,7 @@ def main():
parser.add_argument("--project-dir", required=True, help="Project directory path")
parser.add_argument("--message", required=True, help="User message")
parser.add_argument("--history", default="[]", help="JSON conversation history")
parser.add_argument("--history-file", help="Path to JSON file containing conversation history")
parser.add_argument(
"--history-file", help="Path to JSON file containing conversation history"
)