cli library

CLI-side barrel ; intentionally Flutter-free.

Imported by the consumer's lib/app/_plugins.g.dart codegen (which runs under dart run on the pure Dart VM, not under flutter run). Re-exports the dowel provider class and the pure-Dart followCursor loop that a --follow command builds on, so dart run dowel list and dart run dowel:mcp can wire crumbs without dragging the Flutter runtime into the consumer wrapper.

dowel's plugins:refresh generates the import as <PascalCasePackageName>DowelProvider, which for this package is CrumbsDowelProvider itself.

Runtime / widget code keeps using package:crumbs/crumbs.dart (the full barrel that re-exports CrumbsPlugin + watchers + adapters + records + the store).

Classes

CrumbsDowelProvider
Contributes crumbs:* commands and MCP tool descriptors to the dowel dispatcher.

Functions

followCursor({required Future<int?> read(int? since), int? since, Duration interval = const Duration(seconds: 1), Future<void> delay(Duration) = _wait, bool shouldStop() = _never}) → Future<void>
Polls a cursor-paged source until told to stop; the loop behind --follow.