Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

Merge remote-tracking branch 'origin/dev-stable' into support-db-instance-isolation

chen huiae96cb03932e
diff --cc deploy/enterprise/global_vars.sh
index 19f9047205,4c28c748ca..3d97335463
--- a/deploy/enterprise/global_vars.sh
+++ b/deploy/enterprise/global_vars.sh
@@@ -137,10 -145,13 +141,11 @@@ declare -A DEPLOY_VARS=
["LOG_MASK_ENABLED"]="true"
["LOG_TO_FILE_ENABLED"]="true"
["GATEWAY_NAME"]="jiuwenclaw-gateway"
- ["GATEWAY_PG_SCHEMA"]="public"
["GATEWAY_REPLICAS"]="1"
+ ["GATEWAY_SQLITE_PATH"]="gateway.db"
- ["IS_UP_MANAGER_WEB"]="false"
+ ["IS_UP_MANAGER_WEB"]="true"
["IDENTITY_NAME"]="jiuwenclaw-identity"
["IDENTITY_REST_PORT"]="8770"
- ["IDENTITY_DB_NAME"]="identity"
["IDENTITY_SEED_ADMIN"]="true"
["IDENTITY_SEED_USER1"]="true"
["IDENTITY_FEDERATION_DEMO_ENABLED"]="false"
diff --cc jiuwenswarm/gateway/config/enterprise/tables/cron_job_models.py
index 47b75855b0,8bd1c09f00..7ecdc2ac1a
--- a/jiuwenswarm/gateway/config/enterprise/tables/cron_job_models.py
+++ b/jiuwenswarm/gateway/config/enterprise/tables/cron_job_models.py
@@@ -22,9 -22,13 +22,15 @@@ CRON_JOB_TABLE_DEF = TableDefinition
nullable=False,
),
ColumnDefinition("jiuwenclaw_id", "string", length=64, nullable=False),
+ ColumnDefinition("service_id", "string", length=64, nullable=False, default="default"),
+ ColumnDefinition("agent_id", "string", length=64, nullable=False, default="default"),
ColumnDefinition("job_id", "string", length=64, nullable=False),
+ ColumnDefinition(
+ "service_id", "string", length=256, nullable=False, default="default"
+ ),
+ ColumnDefinition(
+ "agent_id", "string", length=256, nullable=False, default="default"
+ ),
ColumnDefinition("group_id", "string", length=256, nullable=True),
ColumnDefinition("bot_id", "string", length=256, nullable=True),
ColumnDefinition("user_id", "string", length=256, nullable=True),
diff --cc packages/jiuwenclaw-ee/gateway/extensions/manager_config_receiver/core/application_config/task_memory_config.py
index ee092d9b8d,8dfb048ee2..ec650a887d
--- a/packages/jiuwenclaw-ee/gateway/extensions/manager_config_receiver/core/application_config/task_memory_config.py
+++ b/packages/jiuwenclaw-ee/gateway/extensions/manager_config_receiver/core/application_config/task_memory_config.py
@@@ -7,11 -7,9 +7,9 @@@ from __future__ import annotation
import logging
from typing import Any
- from openjiuwen_runtime.foundation.db.handler import DBHandler
-
from ...infrastructure.repository_access import require_enterprise_repository
from ...infrastructure.utils import format_ts, utc_now
-from ...models.application_config_models import TASK_MEMORY_CONFIG_TABLE_DEF
+from jiuwenswarm.gateway.config.enterprise.tables.application_config_models import TASK_MEMORY_CONFIG_TABLE_DEF
_TABLE = TASK_MEMORY_CONFIG_TABLE_DEF.table_name
logger = logging.getLogger(__name__)