Unify a reply's reasoning and tool steps into one block, with inline file viewers
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
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Start with ChatSession.tsx (MessageParts), ToolCall.tsx, steps.ts, and the ai-elements reasoning, tool, and code-block components named in the issue; compare their current behavior with the linked design. Trace both live replies and replies reloaded from history, then check the relevant tests. Done means reasoning and tool steps share one collapsible block, file operations show inline highlighted contents, approval and policy messages stay visible, and tests cover live and reloaded replies.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Put each reply's thinking and tool calls in one collapsible block, as in the Intelligence Hub chat design. Today every reasoning and dynamic-tool part draws its own collapsible. While a reply works, the chat shows a stack of "Thought for 4s" headers and tool cards. Steps that read or write a file should open an inline code viewer showing the file's contents. This issue also tidies the step and status wording around them. It covers ChatSession.tsx (MessageParts), ToolCall.tsx, steps.ts, and the ai-elements reasoning, tool and code-block components.
Motivation
- Long replies are hard to scan. Each reasoning part and tool call adds its own header and badge above the answer.
- In the design, the steps read as a few short lines ("Asked 2 questions", "Writing a file
focus-time.ts"). Only the step the person opens shows its detail. - When pi writes or edits a file, the person should see the code itself, highlighted, not a raw JSON tool input.
- The reply's text should come first. The work behind it should be one quiet line until someone asks to see it.
- The steps use more than one kind of wording today. One block lets every step use the same words and states.
Acceptance Criteria
- All of a reply's reasoning and tool steps show in one block with one header. The header says the reply is working, then sums up what was done when it finishes.
- Each step is one line that can be opened for its detail, such as reasoning text or input and output. This matches the design.
- Steps that read, write or edit a file open an inline code viewer. It shows the file name and the contents with syntax highlighting, and it stays a set height with scrolling for long files.
- Approval cards and policy-denied banners still show in place, outside the collapsed block, so the person can act on them.
- Step titles, running and finished states, and errors use one set of words. The wording is plain and matches
steps.ts. No raw tool names or redundant status badges remain. - Replies reloaded from history group their steps and show file viewers the same way as live replies. Tests cover live replies and reloaded history.
- Lenguaje dominante
- Go
- Estrellas
- 5
- Forks
- 0
- Merge medio
- 21 h 13 min
- PR fusionados (30 d)
- 53
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 nebari-dev/tapas
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nebari-dev/tapas#124 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nebari-dev/tapas#121 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
nebari-dev/tapas#32 ·
Los mantenedores suelen responder en 1 día
-
Suggest saving a memory when a chat message holds something worth rememberingPosiblemente ocupada @jbouder la tomó hoy. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
nebari-dev/tapas#137 ·
Los mantenedores suelen responder en 1 día
-
type: enhancement 💅🏼
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
nebari-dev/tapas#133 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nebari-dev/tapas
Issues similares
-
--auto-tier: hashing, dedup, resume validation and DVC/git reads still update atime on LinuxAbiertoarea: pipeline priority: low type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
prime-radiant-inc/evener#8335 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
ui: OnTextKey on SearchField never sees keys (it does not reach the inner input)Posiblemente ocupada @szluyu99 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100