[FEATURE]: Replace /tmp/ with a persistent folder with expiry

Abierto
#65,197 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
typescript
Área
devtools

Línea de trabajo

This is a design question: the issue asks that agent session work folders replace /tmp/ with persistent storage that expires after inactivity or manual deletion, but it does not name the files where temp paths are created. Start by searching the TypeScript codebase for where /tmp or os.tmpdir() is used for session working directories, and read the single existing comment for any direction already agreed. Done means a maintainer-approved storage location and expiry policy, not just a patch.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area/core type/feature version/v2
Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

The issue
/tmp/ is deleted on reboot and work can be interrupted so the agent will need to reconstruct it back. (/tmp/ doesn't survive a reboot.) And agents may be working for several days.

The proposed solution
I think /tmp/ should be replaced with persistent storage: every session has its folder and if the session is inactive for x amount of time(can be set by an agent) or manually deleted by an agent - only then it's deleted.

Lenguaje dominante
TypeScript
Estrellas
227k
Forks
30.7k
Merge medio
3 h 57 min
PR fusionados (30 d)
484

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de anomalyco/opencode

Todos los issues de anomalyco/opencode

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.