Files
knowledge-base-framework/pyproject.toml
T
TotenKnopfandClaude Fable 5.1 96780317a7 refactor: extract kb_framework package, build graph in memory
Scripts become thin CLIs over kb_framework (graph, query, query_tools,
vault, instructions) so the hosted read-only connector shares one
implementation with the stdio server. The MCP server builds the graph
from Markdown on demand and invalidates it on writes; refresh_graph
rebuilds in memory and reports validation problems. Pre-commit hook
validates only; index/graph.json is no longer read, written or staged
(generate-graph.py --write remains for operators). Golden fixtures pin
graph and tool payloads to the previous output. Agent and skill docs
updated to match.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-06 20:40:13 +02:00

25 lines
821 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "kb-framework"
version = "0.2.0"
description = "Knowledge-base framework core: in-memory graph, query tools, vault access policy"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
dependencies = []
[tool.hatch.build.targets.wheel]
packages = ["kb_framework"]
# Bundle the agent instructions so `read_instructions` works from an installed
# wheel (e.g. inside the hosted connector image), not only from a checkout.
[tool.hatch.build.targets.wheel.force-include]
"AGENTS.md" = "kb_framework/_docs/AGENTS.md"
"AGENT_QUERY_GUIDE.md" = "kb_framework/_docs/AGENT_QUERY_GUIDE.md"
[tool.hatch.build.targets.sdist]
include = ["kb_framework", "AGENTS.md", "AGENT_QUERY_GUIDE.md", "README.md", "pyproject.toml"]