Przeglądaj źródła

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

Turtle 2 miesięcy temu
rodzic
commit
0a2ed84665
1 zmienionych plików z 3 dodań i 0 usunięć
  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,