BTW side tab disappears after visiting a subagent

Ouverte
#66,967 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
230k
Forks
31.3k
Merge moyen
5 h 32 min
PR mergées (30 j)
453

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de anomalyco/opencode

Toutes les issues de anomalyco/opencode

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.