trustgraph/ts/packages/flow/src
elpresidank f09ef4de45 feat: add document pipeline, ReAct agent, and knowledge core services
Document Pipeline (Team A):
- LibrarianService: document storage with filesystem backend, metadata
  persistence, child document hierarchy, collection management
- ChunkingService: recursive character text splitter with configurable
  chunk size/overlap, FlowProcessor pattern
- KnowledgeExtractService: combined relationship + definition extraction
  using prompt service and LLM, emits RDF triples and entity contexts
- KnowledgeCoreService: knowledge core CRUD with streaming export and
  flow-based loading

ReAct Agent (Team B):
- StreamingReActParser: state machine for parsing LLM output into
  Thought/Action/ActionInput/FinalAnswer sections
- Three MVP tools: KnowledgeQuery (GraphRAG), DocumentQuery (DocRAG),
  TriplesQuery with RequestResponse clients
- AgentService FlowProcessor with ReAct loop, tool execution, and
  streaming chunk responses (thought/observation/answer)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 00:19:37 -05:00
..
agent/react feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
chunking feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
config fix: linter cleanup on flow service implementations 2026-04-05 22:52:40 -05:00
cores feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
embeddings init 2026-04-05 22:44:45 -05:00
extract feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
gateway feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
librarian feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00
model/text-completion fix: linter cleanup on flow service implementations 2026-04-05 22:52:40 -05:00
prompt fix: linter cleanup on flow service implementations 2026-04-05 22:52:40 -05:00
query init 2026-04-05 22:44:45 -05:00
retrieval fix: linter cleanup on flow service implementations 2026-04-05 22:52:40 -05:00
storage init 2026-04-05 22:44:45 -05:00
index.ts feat: add document pipeline, ReAct agent, and knowledge core services 2026-04-06 00:19:37 -05:00