BTW side tab disappears after visiting a subagent

Abierto
#66,967 2 comentarios 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

The bug sits in how the shared side strip is reconciled when a subagent is routed: the issue points at Panel.list receiving the child session and the transient-panel cleanup then dropping the parent's btw:* tab. Start by reading those two functions and the per-session BTW storage they consult, then reproduce by running /btw, opening a subagent and returning. Done means the BTW tab and its answer survive the round trip through a subagent visit.

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

Descripción

area/desktop platform/windows type/bug version/v2
Description

A /btw tab opens in the side panel, but after opening a subagent and returning to the parent session, the tab is gone and its answer is no longer reachable.

The parent and its subagent share the root shell tab's side strip. BTW stores its chats per routed session, so while the child is routed Panel.list receives the child session and reports the parent's btw:* tab as missing. The transient-panel cleanup then drops it from the shared strip.

Expected: the BTW tab and its answer stay in the shared strip across a subagent visit.

Plugins

None. Built-in /btw panel.

OpenCode version

0.0.0-dev-1349 (also present on current dev)

Steps to reproduce
  1. Open a session and run /btw <question>.
  2. Wait for the answer tab to appear in the side panel.
  3. Open a subagent from the timeline.
  4. Return to the parent session.
  5. The BTW tab is gone.
Screenshot

Can provide a recording if needed.

Operating System

Windows 10

Terminal

Desktop app

Lenguaje dominante
TypeScript
Estrellas
230k
Forks
31.3k
Merge medio
5 h 32 min
PR fusionados (30 d)
453

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.