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

Aberta
#65,197 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
18/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
devtools

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
227k
Forks
30.7k
Merge médio
3h 57min
PRs com merge (30d)
484

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de anomalyco/opencode

Todas as issues de anomalyco/opencode

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.