mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-02 05:01:17 +00:00
181160b018db716625763395be7cfecd7a32a6fc
Introduces FeedEngine that consumes FeedSource instances and manages the dependency graph for context flow and item collection. - Validates dependency graph (missing deps, circular references) - Topologically sorts sources for execution order - Runs fetchContext() in dependency order, accumulating context - Runs fetchItems() on all sources with final context - Supports reactive updates via onContextUpdate/onItemsUpdate - Graceful error handling (continues after source failures) Marks DataSource, ContextProvider, ContextBridge, Reconciler, and FeedController as deprecated in favor of FeedSource + FeedEngine. Co-authored-by: Ona <no-reply@ona.com>
aris
To install dependencies:
bun install
Packages
@aris/data-source-tfl
TfL (Transport for London) data source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aris-data-source-tfl
bun run test
Fixtures
Tests use fixture data from real TfL API responses stored in fixtures/tfl-responses.json.
To refresh fixtures:
bun run fetch-fixtures
Description
Languages
TypeScript
95.5%
Shell
3.9%
Dockerfile
0.6%