2026-04-05 21:09:33 -05:00
|
|
|
{
|
|
|
|
|
"name": "trustgraph-ts",
|
|
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
2026-05-12 08:06:58 -05:00
|
|
|
"build": "bunx --bun turbo build",
|
|
|
|
|
"dev": "bunx --bun turbo dev",
|
|
|
|
|
"lint": "bunx --bun turbo lint",
|
|
|
|
|
"test": "bunx --bun turbo test",
|
|
|
|
|
"check:tsgo": "tsgo -b tsconfig.json",
|
2026-06-01 20:26:47 -05:00
|
|
|
"inventory:classes": "bun scripts/inventory-native-classes.ts",
|
2026-06-01 17:23:34 -05:00
|
|
|
"workbench:qa": "bun run --cwd packages/workbench qa:browser",
|
2026-05-12 08:06:58 -05:00
|
|
|
"prepare": "effect-tsgo patch",
|
fix: NATS pipeline bugs, add integration tests and service runners
Fix three critical bugs preventing the NATS message pipeline from working:
- FlowProcessor now subscribes to config-push topic (was missing entirely),
using DeliverPolicy.All to replay config on service restart
- NATS streams use wildcard subjects (tg.flow.>) instead of per-topic
narrow filters that caused 503 errors on publish
- Subscriber dispatch loop has exponential backoff on errors to prevent
tight error loops
Add service runner scripts (gateway, config, LLM) and a 7-test
integration suite that verifies config CRUD, WebSocket round-trip,
and full LLM text-completion through the NATS pipeline.
Fix Docker Compose infra: pin Tempo to v2.6.1, remove deprecated Loki
config fields, add user:0 for volume permissions, remap conflicting
ports (FalkorDB 6380, OTLP 4327/4328).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:41:39 -05:00
|
|
|
"clean": "turbo clean",
|
2026-05-12 08:06:58 -05:00
|
|
|
"gateway": "bun scripts/run-gateway.ts",
|
|
|
|
|
"config-svc": "bun scripts/run-config.ts",
|
|
|
|
|
"llm:claude": "bun scripts/run-llm-claude.ts",
|
|
|
|
|
"llm:openai": "bun scripts/run-llm-openai.ts",
|
|
|
|
|
"test:pipeline": "bun scripts/test-pipeline.ts",
|
|
|
|
|
"seed": "bun scripts/seed-config.ts",
|
2026-05-30 09:56:23 -05:00
|
|
|
"seed:flows": "bun scripts/seed-flows.ts",
|
2026-05-12 08:06:58 -05:00
|
|
|
"prompt": "bun scripts/run-prompt.ts",
|
|
|
|
|
"agent": "bun scripts/run-agent.ts",
|
|
|
|
|
"librarian": "bun scripts/run-librarian.ts",
|
|
|
|
|
"knowledge": "bun scripts/run-knowledge.ts",
|
|
|
|
|
"flow-manager": "bun scripts/run-flow-manager.ts",
|
|
|
|
|
"llm:ollama": "bun scripts/run-ollama.ts",
|
|
|
|
|
"pdf-decoder": "bun scripts/run-pdf-decoder.ts",
|
|
|
|
|
"triples-store": "bun scripts/run-triples-store.ts",
|
|
|
|
|
"graph-embeddings-store": "bun scripts/run-graph-embeddings-store.ts",
|
|
|
|
|
"chunker": "bun scripts/run-chunker.ts",
|
|
|
|
|
"extractor": "bun scripts/run-extractor.ts",
|
|
|
|
|
"embeddings": "bun scripts/run-embeddings.ts",
|
|
|
|
|
"triples-query": "bun scripts/run-triples-query.ts",
|
|
|
|
|
"graph-embeddings-query": "bun scripts/run-graph-embeddings-query.ts",
|
|
|
|
|
"doc-embeddings-query": "bun scripts/run-doc-embeddings-query.ts",
|
|
|
|
|
"graph-rag": "bun scripts/run-graph-rag.ts",
|
|
|
|
|
"document-rag": "bun scripts/run-document-rag.ts",
|
|
|
|
|
"create-test-pdf": "bun scripts/create-test-pdf.ts",
|
|
|
|
|
"seed:demo": "bun scripts/seed-demo.ts",
|
|
|
|
|
"mcp-tool": "bun scripts/run-mcp-tool.ts",
|
|
|
|
|
"llm:azure-openai": "bun scripts/run-llm-azure-openai.ts",
|
|
|
|
|
"llm:openai-compat": "bun scripts/run-llm-openai-compatible.ts",
|
|
|
|
|
"llm:mistral": "bun scripts/run-llm-mistral.ts"
|
2026-04-05 21:09:33 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-01 21:16:38 -05:00
|
|
|
"@effect/platform-bun": "4.0.0-beta.75",
|
2026-06-01 16:22:25 -05:00
|
|
|
"@effect/tsgo": "0.13.0",
|
2026-06-01 21:16:38 -05:00
|
|
|
"@effect/vitest": "4.0.0-beta.75",
|
2026-05-12 08:06:58 -05:00
|
|
|
"@types/bun": "^1.3.13",
|
|
|
|
|
"@types/node": "^25.7.0",
|
|
|
|
|
"@typescript/native-preview": "^7.0.0-dev.20260511.1",
|
feat: add Docker entrypoints, LLM providers, pipeline hardening, workbench pages
Phase 9 — four parallel workstreams:
- Stream A: 14 Docker entrypoints for containerized deployment
- Stream B: Pipeline hardening — robust JSON parsing, LLM retry logic,
consumer negative-ack, FalkorDB test import fix
- Stream C: Azure OpenAI, OpenAI-compatible, and Mistral LLM providers
- Stream D: Workbench Prompts, Token Cost, Knowledge Cores pages +
Settings feature switches
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 03:22:55 -05:00
|
|
|
"falkordb": "^5.0.0",
|
fix: resolve FlowProcessor topic collisions, librarian timeout, tests
Fix critical bug where all FlowProcessor services shared the same spec
names ("request"/"response"), causing them to steal each other's NATS
topics. Now each service uses unique spec names matching the flow config
topic keys (e.g., "text-completion-request", "prompt-request",
"agent-request").
Fix librarian NATS consumer timeout (500ms → 2000ms, below NATS minimum).
Update seed-config and test-pipeline with correct flow topic mappings.
Add prompt template runner script.
Smoke test results: 11/11 passing (config CRUD, WebSocket, LLM,
librarian CRUD). Agent routing verified via manual curl test.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 01:02:10 -05:00
|
|
|
"nats": "^2.29.0",
|
2026-04-07 02:19:12 -05:00
|
|
|
"pdf-lib": "^1.17.1",
|
fix: NATS pipeline bugs, add integration tests and service runners
Fix three critical bugs preventing the NATS message pipeline from working:
- FlowProcessor now subscribes to config-push topic (was missing entirely),
using DeliverPolicy.All to replay config on service restart
- NATS streams use wildcard subjects (tg.flow.>) instead of per-topic
narrow filters that caused 503 errors on publish
- Subscriber dispatch loop has exponential backoff on errors to prevent
tight error loops
Add service runner scripts (gateway, config, LLM) and a 7-test
integration suite that verifies config CRUD, WebSocket round-trip,
and full LLM text-completion through the NATS pipeline.
Fix Docker Compose infra: pin Tempo to v2.6.1, remove deprecated Loki
config fields, add user:0 for volume permissions, remap conflicting
ports (FalkorDB 6380, OTLP 4327/4328).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:41:39 -05:00
|
|
|
"tsx": "^4.21.0",
|
2026-04-05 21:09:33 -05:00
|
|
|
"turbo": "^2.5.0",
|
2026-06-01 16:22:25 -05:00
|
|
|
|
2026-05-12 08:06:58 -05:00
|
|
|
"typescript": "^5.8.0",
|
|
|
|
|
"vitest": "^4.1.6"
|
2026-04-05 21:09:33 -05:00
|
|
|
},
|
2026-05-12 08:06:58 -05:00
|
|
|
"dependencies": {
|
2026-06-01 21:16:38 -05:00
|
|
|
"effect": "4.0.0-beta.75"
|
2026-05-12 08:06:58 -05:00
|
|
|
},
|
|
|
|
|
"packageManager": "bun@1.3.13",
|
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
|
|
|
"workspaces": [
|
|
|
|
|
"packages/*"
|
|
|
|
|
]
|
2026-04-05 21:09:33 -05:00
|
|
|
}
|