feat: harden loose-offline sync for user JWT, schema, and console ops

Enable Binding-scoped agent push/pull, empty-table schema ensure, SyncPage inspect/drop-table, default module import, and agent-bound publish docs from the 宇恒联调意见.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-08-05 09:47:35 +08:00
parent 76cdcd760e
commit b04b180d30
59 changed files with 4762 additions and 308 deletions

View File

@@ -85,6 +85,9 @@ SYSTEM_RULES = """
其它:
- 功能按键写入 pages[].layout.actions + action_labels原文显示。
- 业务表 apis.resources[].operations **默认**含 list/get/create/update/delete/**import**/**export**
list 页 layout.actions **默认**含 create/edit/delete/export/**import**/refresh。
需求未提「导入」也要加;仅用户明确禁止导入/导出时才去掉。
- 数据Excel/CSV 表头→字段JSON list→表并行数组先展平再关联。snake_case高基数不做 enum。
- RESTGET/POST/PUT/DELETE看板 widgetskpi/line_chart/status_strip/table/bar/pie按截图或需求取舍。
- 全量导入:校验失败只记错误,不提前中断。