Smarter compaction/compression
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- clojure
- Área
- ai-infra-agents
Línea de trabajo
The issue does not name files or tests; start by locating the context-compaction implementation and how it handles tool results and conversation history. Compare the existing behavior with the proposed head/tail retention, tool pruning, and file summaries, then define and test a focused behavior before considering the broader suggestions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Keep head and tail messages and files touched
Instead of summarizing everything, pi for example has a configurable keepRecentTokens
Pi also will include all files touched in the summary:
<read-files>
path/to/file1.ts
path/to/file2.ts
</read-files>
<modified-files>
path/to/changed.ts
</modified-files>
If you're familiar with /handoff, this is something it also does.
Hermes agent is similar, but it keeps some tail and head messages and always removes tool call results (any tool result outside the head/tail >200 chars is replaced with a message that the output was cleared). On second compaction, the first summary is also passed with instructions to update it.
Microcompaction and dynamic context pruning
- Claude Code intelligently microcompacts every turn by, but this will break prompt caching with openai's API (needs anthropic's cache_edits)
- dynamic context pruning - different implementations that call themselves DCP do different things, but here are some of the main things that differ from normal compaction:
- removing errored tool inputs (but not the error message)
- removing deduplicated tools (only keep most recent when multiple have same args)
- compressing specific ranges instead of everything with a tool
- protects recent turns from any proving
- Everything from opencode DCP, for example, breaks prompt caching so it would also only make sense to use when the context window was near full
Simplest changes
- some configurable head/tail saving
- some configurable tool call pruning
- including read/edited files in the summary
- Maybe take some inspiration from hermes' prompt and iterative recompression
- Lenguaje dominante
- Clojure
- Estrellas
- 1k
- Forks
- 82
- Merge medio
- 3 d 39 min
- PR fusionados (30 d)
- 15
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de editor-code-assistant/eca
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
editor-code-assistant/eca#655 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
editor-code-assistant/eca#652 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
editor-code-assistant/eca#648 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
editor-code-assistant/eca#644 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Add the ability to see what changed in the system promptPosiblemente ocupada @zikajk la tomó hace 9 días. Abiertoenhancement
editor-code-assistant/eca#642 · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de editor-code-assistant/eca
Issues similares
-
Usage analytics `v_tables` ignores table metadata set by users (`metabase_table_user_settings`)Abierto.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
metabase/metabase#84762 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NoahTheDuke/splint#57 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
IOP MCP
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
calcit-lang/calcit#2133 ·
Los mantenedores suelen responder en 1 día