sync update from LAN repo (source dhk-1 @ 3b1ec5b4)

This commit is contained in:
gozeros committed 2026-11-05 10:56:34 +08:00
1 parent da6521b6cb
commit 264e2200d6
995 files changed
+148105 -13399

No files matched your search

@@ -4,7 +4,7 @@ from __future__ import annotations
from datetime import UTC, datetime
from sqlalchemy import Boolean, String, UniqueConstraint, false, true
from sqlalchemy import Boolean, Integer, String, Text, UniqueConstraint, false, true
from sqlalchemy.orm import Mapped, mapped_column
from deerflow.persistence.base import Base
@@ -24,6 +24,16 @@ class LlmWikiKnowledgeBaseRow(Base):
# questions for this library.
test_questions: Mapped[list | None] = mapped_column(PortableJSON(), nullable=True)
retrieval_settings: Mapped[dict | None] = mapped_column(PortableJSON(), nullable=True)
wiki_parent_directories: Mapped[list[str] | None] = mapped_column(PortableJSON(), nullable=True)
wiki_directory_paths: Mapped[list[list[str]] | None] = mapped_column(PortableJSON(), nullable=True)
wiki_focus_instructions: Mapped[str | None] = mapped_column(Text, nullable=True)
wiki_content_instructions_raw: Mapped[str | None] = mapped_column(Text, nullable=True)
wiki_extraction_instructions_raw: Mapped[str | None] = mapped_column(Text, nullable=True)
wiki_generation_managed: Mapped[bool | None] = mapped_column(Boolean, nullable=True)
wiki_config_schema_version: Mapped[int | None] = mapped_column(Integer, nullable=True)
wiki_config_revision: Mapped[int | None] = mapped_column(Integer, nullable=True)
wiki_config_apply_status: Mapped[str | None] = mapped_column(String(32), nullable=True)
wiki_config_apply_error: Mapped[str | None] = mapped_column(Text, nullable=True)
kb_type: Mapped[str] = mapped_column(String(32), default="document")
publication_status: Mapped[str] = mapped_column(String(16), default="private", index=True)
published_by: Mapped[str | None] = mapped_column(String(64), nullable=True)