From 5f4111ad99d63f89c667bcfbfd6bac595a7791c4 Mon Sep 17 00:00:00 2001 From: David Hyrule Date: Mon, 29 Jun 2026 04:22:18 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20depend=20on=20agent-core=20v0.1.0=20(u?= =?UTF-8?q?v=20git=20source)=20=E2=80=94=20always-on=20emission=20availabi?= =?UTF-8?q?lity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pin the now-public AS215932/agent-core at tag v0.1.0 via uv git source, making the flag-gated agent-core TraceEvent/CostUsage emitter's dependency always present (zero CI-auth: public repo). Emission stays OFF by default (HYRULE_KNOWLEDGE_AGENT_CORE_TRACE); this only guarantees availability so it can be enabled via deployment env. uv.lock pins commit 591e3a0. ruff + mypy --strict clean; suite 97 passed (emitter tests now run in CI). Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 4 ++++ uv.lock | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6aadb7d..2a85e01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ description = "OKF knowledge catalog, enrichment, quality, and observation tooli requires-python = ">=3.12" dependencies = [ "PyYAML>=6.0.2", + "agent-core", ] [project.optional-dependencies] @@ -44,3 +45,6 @@ strict = true [tool.pytest.ini_options] testpaths = ["tests"] + +[tool.uv.sources] +agent-core = { git = "https://github.com/AS215932/agent-core", tag = "v0.1.0" } diff --git a/uv.lock b/uv.lock index a5546b1..8088da9 100644 --- a/uv.lock +++ b/uv.lock @@ -9,6 +9,14 @@ resolution-markers = [ "python_full_version < '3.14' and sys_platform != 'win32'", ] +[[package]] +name = "agent-core" +version = "0.1.0" +source = { git = "https://github.com/AS215932/agent-core?tag=v0.1.0#591e3a0e11b97700c2179bd8f6257ffc7383e668" } +dependencies = [ + { name = "pydantic" }, +] + [[package]] name = "annotated-types" version = "0.7.0" @@ -268,6 +276,7 @@ name = "hyrule-knowledge" version = "0.1.0" source = { editable = "." } dependencies = [ + { name = "agent-core" }, { name = "pyyaml" }, ] @@ -287,6 +296,7 @@ dev = [ [package.metadata] requires-dist = [ + { name = "agent-core", git = "https://github.com/AS215932/agent-core?tag=v0.1.0" }, { name = "mcp", marker = "extra == 'mcp'", specifier = ">=1.27.0" }, { name = "pyyaml", specifier = ">=6.0.2" }, ]