merge: sync feature/N7Web into feature/N7Web-Tech
# Conflicts: # apps/web-console/app.js # apps/web-console/assistant-chat.js # apps/web-console/index.html # apps/web-console/service-worker.js # src/cognitive_agent/server.py # tests/e2e/test_seat_web_api.py # tests/unit/test_assistant_frontend_contract.py # tests/unit/test_energy_monitor_frontend_contract.py # tests/unit/test_frontend_theme_contract.py # tests/unit/test_mode_scene_catalog.py
This commit is contained in:
@@ -199,6 +199,8 @@ config/gesture/default.yaml
|
||||
|
||||
服务正常启动时,会把当前车型可见的工程预设模式和用户自定义模式原子同步到相邻目录 `../scenses/demo-scenes.json`,并提供无需登录、只读的 `GET /n7/scenes`。YAML 模式库仍是唯一真源;创建、更新、删除、恢复模式都会刷新 JSON,原有模式执行和安全校验链路不变。JSON 保留 `n7-scenes` v1 的 `id/label/background_time/description/actions` 字段,同时在动作中保留完整的 `domain/capability/target_scope/operation/parameters`,因此座椅、空调、天幕和氛围灯配置不会在导出时丢失。可用 `N7_SCENE_CATALOG_PATH` 或启动参数 `--scene-catalog` 覆盖输出路径。
|
||||
|
||||
分阶段动态模式额外保留完整 `schedule` 和用于展示单轮阶段起点的 `preview_actions`,并标记 `execution.kind=server_schedule`。此类模式的旧版 `actions` 列表为空,避免不认识时间轴的 v1 客户端把多个阶段同时下发;必须通过主工程已认证、受控的模式执行链运行。静态模式和已有 `timeline` 格式不变。
|
||||
|
||||
主项目和客户端只读目录服务可以用一个监督脚本同时启动:
|
||||
|
||||
```powershell
|
||||
|
||||
Reference in New Issue
Block a user