BTW side tab disappears after visiting a subagent

Aperta
#66,967 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
230k
Fork
31.3k
Merge medio
5h 32m
PR unite (30g)
453

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.