From d2a220c5a5c0dbb864b2697509a3f234c8c9d6e8 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 20 Aug 2025 13:09:42 +0800 Subject: [PATCH] perf(X-Pack): Open permission configuration and page embedding function --- backend/common/core/config.py | 1 + backend/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/common/core/config.py b/backend/common/core/config.py index 1d1a6bfe..f32dad35 100644 --- a/backend/common/core/config.py +++ b/backend/common/core/config.py @@ -65,6 +65,7 @@ class Settings(BaseSettings): SQL_DEBUG: bool = False UPLOAD_DIR: str = "/opt/sqlbot/data/file" + SQLBOT_KEY_EXPIRED: int = 100 # License key expiration timestamp, 0 means no expiration @computed_field # type: ignore[prop-decorator] @property diff --git a/backend/pyproject.toml b/backend/pyproject.toml index bbdf7b9d..0b59f29e 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "pyyaml (>=6.0.2,<7.0.0)", "fastapi-mcp (>=0.3.4,<0.4.0)", "tabulate>=0.9.0", - "sqlbot-xpack==0.0.3.16", + "sqlbot-xpack>=0.0.3.18", "fastapi-cache2>=0.2.2", "sqlparse>=0.5.3", "redis>=6.2.0",