-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I use Claude code via Telegram app to manage my pet projects on a remote server. As the context of each project accumulates, I sometimes get the error message "prompt is too long". When this happens, I need to open an interactive SSH session, navigate to the appropriate directory, run the claude command with the -c flag, and then type the /compact command interactively. After that, I can continue working with the project via Telegram.
I'm wondering if there's a way to run the context compression tool in non-interactive mode. I've tried using the -c -p /compact flags, but it doesn't seem to work. Maybe there's something else I'm missing? Any suggestions would be greatly appreciated.
tim-watcha, ayal, syou6162, dimsky, rosskipp and 4 moremartin-rounds-ai, Brentably, ayal, syou6162, dimsky and 2 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request