From 0a2ed84665a7f00962cdf114de1023d634dbcf95 Mon Sep 17 00:00:00 2001 From: Turtle Date: Wed, 29 Jul 2026 21:33:58 +0800 Subject: [PATCH] docs(tui): explain non-strict sibling service lookup --- packages/ui/tui/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ui/tui/src/index.ts b/packages/ui/tui/src/index.ts index a860400e2b..b1588f46f1 100644 --- a/packages/ui/tui/src/index.ts +++ b/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,