BTW side tab disappears after visiting a subagent

Aberta
#66,967 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
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
frontend

Direção de pesquisa

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.

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

Descrição

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

Linguagem predominante
TypeScript
Estrelas
230k
Forks
31.3k
Merge médio
5h 32min
PRs com merge (30d)
453

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.