diff --git a/README.md b/README.md index a2b0842..8dde84c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ config/ | `[development]` | 开发环境配置(server、logging、cors、mqtt) | | `[production]` | 生产环境配置 | | `[plugins_worker]` | 插件 Worker 注册配置路径 | -| `[pyinstaller_build_import]` | PyInstaller 打包时的隐式导入声明 | +| `[pyinstaller_build_import]` | PyInstaller 打包时的隐式导入声明(只放网关本体依赖;内置插件专属依赖见根目录 `plugins_deps.toml`) | ### 开发环境配置示例 @@ -230,7 +230,7 @@ optional_field = { type = "int", required = false, default = 0 } 修改任何 TOML 配置后,**必须重新生成 Pydantic 模型**: ```bash -uv run python -m chongming.scripts.gen_models +uv run gen_models ``` 该命令扫描 `config/workers/*/` 下所有 `.toml` 文件,自动更新 `src/plugins/*/models/pydantic.py`。 diff --git a/zenoh_config.json5 b/zenoh_config.json5 index e318175..b93b688 100644 --- a/zenoh_config.json5 +++ b/zenoh_config.json5 @@ -1,5 +1,5 @@ { - // Zenoh 会话配置 —— 由 config.toml 的 [zenoh].json5_path 指定(见 src/chongming/app/core/lifespan_setup.py) + // Zenoh 会话配置 —— 由 config.toml 的 [zenoh].json5_path 指定(见 utils/gateway/src/chongming/app/core/lifespan_setup.py) // 这是项目的zenoh 客户端会话配置,决定应用如何加入 zenoh 网络。 // 注意:此文件是应用侧(peer/client)配置,不是独立 router 的配置文件。