Skip to content

r.tree(...)

r.tree(provider) — the feature’s top-level tree provider: a subscribe function (emit-fn in, unsubscribe-fn out) that feeds workspaces with navigation: "tree". Features without r.tree() are invisible there — provider presence IS the filter, there is no workspace mapping. Closure-only, no header form: the Designer renders a read-only code block, the AI patcher overwrites the span verbatim.


From packages/framework/src/engine/feature-ast/patterns.ts -> TreePattern