Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[Feature]: Allow /rename while a turn is running

Aberta
#427 2 comentários 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
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
cli

Direção de pesquisa

Start by locating the interactive TUI handler for /rename and the logic that blocks it while a turn is running. Verify that the title updates immediately and persists without changing the active turn, tool calls, queued messages, background work, or model context.

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

Descrição

enhancement tui
Product or interface

CLI - interactive TUI

Use case and problem

Right now, /rename [title] is blocked while a turn is running:

Stop the running turn before using /rename [title].

That creates unnecessary friction.

A user may suddenly think of the perfect session name while MCode is still doing important work. They should not have to:

wait for the whole task to finish
OR
stop an important running task

just to rename the session.

The rename is only session metadata and should not need to interrupt execution.

BEFORE

running task
↓
user gets a good title idea
↓
/rename blocked ❌
↓
wait for task to finish
↓
rename later / possibly forget

AFTER

running task ───────────────→ keeps running
│
└→ /rename "new title"
↓
title changes ✅

No interruption.
No lost work.
No waiting.

Desired behavior

Allow /rename [title] at any time, including while a turn, tool call, background task, or subagent is running.

Requirements:

  • Rename only the session title/metadata.
  • Do not stop, restart, pause, steer, or alter the active turn.
  • Do not change model context.
  • Do not affect queued messages or background work.
  • Update the TUI title immediately.
  • Persist the new title normally.
  • If a rename happens during execution, it should be completely independent from the running task.

Simple rule:

execution state ≠ session title state

So:

running turn + /rename
→ rename metadata only
→ task continues untouched

Platform

Linux

Alternatives and additional context

Current workaround:

wait until task finishes
→ rename

or

stop task
→ rename
→ lose/interfere with ongoing work

Neither is necessary for a metadata-only operation.

This should be a small UX improvement, but it matters because session naming often happens when the user suddenly gets a clearer idea of what the session has become.

The waiting itself can break that flow or make the user forget the title.

Core goal:

/rename should behave like harmless metadata editing, not like a runtime operation.

Linguagem predominante
TypeScript
Estrelas
2.1k
Forks
271
Merge médio
15h 10min
PRs com merge (30d)
34

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 MiniMax-AI/minimax-code

Todas as issues de MiniMax-AI/minimax-code

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.