diff --git a/offline-backend-20260512/backend/packages/harness/pyproject.toml b/offline-backend-20260512/backend/packages/harness/pyproject.toml index 3dd565a4..b8b5ff94 100644 --- a/offline-backend-20260512/backend/packages/harness/pyproject.toml +++ b/offline-backend-20260512/backend/packages/harness/pyproject.toml @@ -31,12 +31,12 @@ dependencies = [ "ddgs>=9.10.0", "duckdb>=1.4.4", "langchain-google-genai>=4.2.1", - "langgraph-checkpoint-sqlite>=3.0.3", - "langgraph-checkpoint-postgres>=3.0.5", - "langgraph-sdk>=0.1.51", - "psycopg[binary]>=3.3.3", - "psycopg-pool>=3.3.0", - "sqlalchemy[asyncio]>=2.0,<3.0", + "langgraph-checkpoint-sqlite>=3.0.3", + "langgraph-checkpoint-postgres>=3.0.5", + "langgraph-sdk>=0.1.51", + "psycopg[binary]>=3.3.3", + "psycopg-pool>=3.3.0", + "sqlalchemy[asyncio]>=2.0,<3.0", "aiosqlite>=0.19", "alembic>=1.13", ] @@ -44,14 +44,14 @@ dependencies = [ [project.optional-dependencies] hindsight = ["hindsight-client>=0.4.22"] ollama = ["langchain-ollama>=0.3.0"] -postgres = [ - "asyncpg>=0.29", - "langgraph-checkpoint-postgres>=3.0.5", - "psycopg[binary]>=3.3.3", - "psycopg-pool>=3.3.0", -] -mysql = ["asyncmy>=0.2.10"] -pymupdf = ["pymupdf4llm>=0.0.17"] +postgres = [ + "asyncpg>=0.29", + "langgraph-checkpoint-postgres>=3.0.5", + "psycopg[binary]>=3.3.3", + "psycopg-pool>=3.3.0", +] +mysql = ["asyncmy>=0.2.10"] +pymupdf = ["pymupdf4llm>=0.0.17"] [build-system] requires = ["hatchling"] @@ -59,3 +59,8 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["deerflow"] + +# 内置 HTML 模板(no.1/no.2 等,非 .py 资源)显式纳入打包,保证任何构建方式(wheel/sdist) +# 都带上,新机器装好即可直接看到这些模板。 +[tool.hatch.build] +artifacts = ["deerflow/runtime/scheduler/templates/**/*.html"]