Add config option to expand thinking blocks by default (persist the Ctrl+O expanded state)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli, developer-experience
Línea de trabajo
Look for TUI configuration handling in the codebase, likely in a config module or TUI state management. The thinking block rendering logic is described as slicing lines; find that component. The change involves adding a config option (e.g., in tui.toml), reading it at startup, and setting the initial expanded state. Check for existing expand toggle logic to understand how to persist the state. Verify by running the TUI and testing that thinking blocks start expanded when the config is set.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The TUI renders thinking blocks collapsed: only the last 2 lines of a thinking block are shown while streaming and in history (the component does thinkingLines.slice(thinkingLines.length - 2)). The only way to see full thinking is the global Ctrl+O expand toggle — but that is runtime-only state: it is not persisted across sessions and cannot be set from config.
Request
A configuration option to start every session with thinking blocks fully expanded, e.g. in tui.toml:
expand_thinking = true # default: false
or a more general key that also covers tool outputs, e.g. expand_blocks = "thinking" | "all" | "none".
Why
- Users who follow the model's reasoning (auditing agent behavior, prompt tuning, trust verification) currently have to press Ctrl+O manually in every new session.
[thinking]inconfig.tomlcontrols behavior only (enabled/effort/keep), and none of the documentedtui.tomlkeys affect block expansion — there is currently no way to make full-thinking display the default.
Environment
kimi-code 2.0.2, Linux (WSL)
- Lenguaje dominante
- TypeScript
- Estrellas
- 8k
- Forks
- 1.3k
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 115
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 MoonshotAI/kimi-code
-
VS Code extension: clickable file links in chat drop the :line suffix, never jump to the lineAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
MoonshotAI/kimi-code#4398 ·
Los mantenedores suelen responder en 1 día
-
[Bug] vis reports legacy tool-triggered swarm sessions as activePosiblemente ocupada @louisss1016 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
MoonshotAI/kimi-code#4395 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
MoonshotAI/kimi-code#4392 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
MoonshotAI/kimi-code#4381 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
MoonshotAI/kimi-code#4369 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de MoonshotAI/kimi-code
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
galaxyproject/loom#616 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
eknowledger/toolbench#266 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
devdotfast/whiteboard#1415 · 1 comentario ·
Los mantenedores suelen responder en 1 día