feat(infra): add new infrastructure layer for storage and streaming

Add app/infra/ package with:
- storage/ - repository adapters for runs, run_events, thread_meta
- run_events/ - JSONL-based event store with factory
- stream_bridge/ - memory and redis adapters for SSE streaming

This layer provides the persistence abstractions used by the gateway
services, replacing the old deerflow/persistence modules.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rayhpeng
2026-04-22 11:26:38 +08:00
parent 14892e1463
commit 274255b1a5
13 changed files with 1694 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
"""Application-owned infrastructure adapters and wiring."""