8a395225c0
MCP Server (10.3): - STDIO JSON-RPC 2.0 transport with 3 AI tools: query, vector_search, schema_inspect - Multi-tenant session vars (tenant_id, user_id) with RLS support - Standalone binary: build/baramcp - Tested with all 3 tools + parameterized queries + vector search + schema inspect Graph Engine Deep Integration (Session 11): - CREATE GRAPH / DROP GRAPH DDL support - Graph engine wired to SQL executor via GRAPH_TABLE() function - 7 algorithms: BFS, DFS, PageRank, ShortestPath, Dijkstra, Louvain, Community - INSERT into _nodes/_edges tables auto-syncs with native Graph adjacency lists - Optional MATCH pattern, ALGORITHM, START, END, MAXDEPTH in GRAPH_TABLE syntax - All 340+ existing tests pass
30 lines
943 B
Nim
30 lines
943 B
Nim
# Package
|
|
version = "1.1.2"
|
|
author = "BaraDB Team"
|
|
description = "BaraDB — Multimodal database written in Nim"
|
|
license = "Apache-2.0"
|
|
srcDir = "src"
|
|
bin = @["baradadb", "baramcp"]
|
|
binDir = "build"
|
|
|
|
# Dependencies
|
|
requires "nim >= 2.2.0"
|
|
requires "https://github.com/katehonz/hunos >= 1.2.0"
|
|
requires "jwt >= 0.3.0"
|
|
requires "checksums >= 0.2.0"
|
|
|
|
# Tasks
|
|
task build_debug, "Build debug version":
|
|
exec "nim c --debugger:native --linedir:on -o:build/baradadb src/baradadb.nim"
|
|
exec "nim c --debugger:native --linedir:on -o:build/baramcp src/baramcp.nim"
|
|
|
|
task build_release, "Build release version":
|
|
exec "nim c -d:release --opt:speed -o:build/baradadb src/baradadb.nim"
|
|
exec "nim c -d:release --opt:speed -o:build/baramcp src/baramcp.nim"
|
|
|
|
task test, "Run all tests":
|
|
exec "nim c -r tests/test_all.nim"
|
|
|
|
task bench, "Run benchmarks":
|
|
exec "nim c -d:release -r benchmarks/bench_all.nim"
|