From e9ac1ce3354fbb124a72190702618f94266b8459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=A0=8B=E6=A2=81?= Date: Mon, 3 Nov 2025 20:27:06 +0800 Subject: [PATCH] fix(build): include clink resources in package Problem: pyproject excludes conf/cli_clients and clink prompts from the wheel, so ClinkRegistry raises RegistryLoadError after pip install. Impact: Clink integrations are entirely broken for packaged installs. Solution: Add conf/cli_clients/*.json and systemprompts/clink/*.txt to setuptools package-data so wheels ship required assets. Fixes: pip install . will now include all clink configuration files --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3409a1c..d1d6fbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,11 @@ include = ["tools*", "providers*", "systemprompts*", "utils*", "conf*", "clink*" py-modules = ["server", "config"] [tool.setuptools.package-data] -"*" = ["conf/*.json"] +"*" = [ + "conf/*.json", + "conf/cli_clients/*.json", + "systemprompts/clink/*.txt", +] [tool.setuptools.data-files] "conf" = [