sync snapshot from LAN repo (source master-zg @ 40658c74)

This commit is contained in:
gozeros committed 2026-11-05 10:58:49 +08:00
1 parent ea9dcff9c0
commit 754b61572c
179 files changed
+26085 -8788

No files matched your search

@@ -11,8 +11,10 @@ import yaml
from app.gateway.routers import _agentfx_seed as agentfx_seed
from app.gateway.routers import _latency_diagnosis_seed as latency_diagnosis_seed
from app.gateway.routers import _ai_writing_seed as ai_writing_seed
from app.gateway.routers import _chat_history_migration_seed as chat_history_migration_seed
from app.gateway.routers import _cognitive_situation_seed as cognitive_situation_seed
from app.gateway.routers import _elasticsearch_offline_ops_seed as elasticsearch_ops_seed
from app.gateway.routers import _gauss_data_adaptation_seed as gauss_data_adaptation_seed
from app.gateway.routers import _gongwen_seed as gongwen_seed
from app.gateway.routers import _page_report_designer_seed as page_report_seed
from app.gateway.routers import _query_slowdown_diagnosis_seed as query_slowdown_diagnosis_seed
@@ -88,6 +90,14 @@ def test_required_startup_seed_assets_are_complete() -> None:
elasticsearch_ops_seed._ASSETS_DIR,
(elasticsearch_ops_seed.ELASTICSEARCH_OFFLINE_OPS_AGENT_ID,),
)
_assert_agent_assets(
chat_history_migration_seed._ASSETS_DIR,
(chat_history_migration_seed.CHAT_HISTORY_MIGRATION_AGENT_ID,),
)
_assert_agent_assets(
gauss_data_adaptation_seed._ASSETS_DIR,
(gauss_data_adaptation_seed.GAUSS_DATA_ADAPTATION_AGENT_ID,),
)
skill_assets = (
(
@@ -120,6 +130,14 @@ def test_required_startup_seed_assets_are_complete() -> None:
elasticsearch_ops_seed._ASSETS_DIR / "skills" / elasticsearch_ops_seed.ELASTICSEARCH_OFFLINE_OPS_SKILL_NAME / "SKILL.md",
elasticsearch_ops_seed.ELASTICSEARCH_OFFLINE_OPS_SKILL_NAME,
),
(
chat_history_migration_seed._ASSETS_DIR / "skills" / chat_history_migration_seed.CHAT_HISTORY_MIGRATION_SKILL_NAME / "SKILL.md",
chat_history_migration_seed.CHAT_HISTORY_MIGRATION_SKILL_NAME,
),
(
gauss_data_adaptation_seed._ASSETS_DIR / "skills" / gauss_data_adaptation_seed.GAUSS_DATA_ADAPTATION_SKILL_NAME / "SKILL.md",
gauss_data_adaptation_seed.GAUSS_DATA_ADAPTATION_SKILL_NAME,
),
*(
(
agentfx_seed._ASSETS_DIR / "skills" / name / "SKILL.md",
@@ -140,6 +158,23 @@ def test_required_startup_seed_assets_are_complete() -> None:
):
_assert_nonempty_file(elasticsearch_skill_root / relative_path)
chat_history_skill_root = (
chat_history_migration_seed._ASSETS_DIR / "skills" / chat_history_migration_seed.CHAT_HISTORY_MIGRATION_SKILL_NAME
)
for relative_path in (
"references/storage-map.md",
"references/runbook.md",
"scripts/migrate_chat_history.py",
):
_assert_nonempty_file(chat_history_skill_root / relative_path)
gauss_skill_root = gauss_data_adaptation_seed._ASSETS_DIR / "skills" / gauss_data_adaptation_seed.GAUSS_DATA_ADAPTATION_SKILL_NAME
for relative_path in (
"references/adaptation-map.md",
"scripts/print_gauss_adaptation.py",
):
_assert_nonempty_file(gauss_skill_root / relative_path)
cognitive_skill_root = cognitive_situation_seed._ASSETS_DIR / "skills" / cognitive_situation_seed.COGNITIVE_SITUATION_SKILL_NAMES[0]
runtime_template = cognitive_skill_root / "assets" / "runtime" / "index.html"
_assert_nonempty_file(runtime_template)