Просмотр исходного кода

docs(tui): explain non-strict sibling service lookup

Turtle 2 месяцев назад
Родитель
Сommit
0a2ed84665
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      packages/ui/tui/src/index.ts

+ 3 - 0
packages/ui/tui/src/index.ts

@@ -854,6 +854,9 @@ export function createTuiChat(
     overlayManager,
     // Optional and independently mounted: read at each use so config row order
     // cannot decide whether /resume works.
+    // The TUI and query provider are sibling Loader fibers. During a command
+    // callback Cordis may transiently mark the provider non-ACTIVE even though
+    // its init completed and its disposal is ordered after this consumer.
     sessionQuery: () => ctx.get('sessionQuery', false),
     ui,
     editor,