Commit Graph

13 Commits

Author SHA1 Message Date
whm
6ccc107f22 docs: 回写 Z20–Z21 启动弹绑定与空体安全解析(宇恒已改完)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 17:55:08 +08:00
whm
56f62be184 docs: 回写 Z17–Z19 换绑按钮与禁默认登记(宇恒已改完)
鉴权/模块操作换绑、修 components、未绑定先绑定。
2026-08-06 17:16:13 +08:00
whm
169d890a2f docs: 回写 Z16 禁止硬编码联调手机号(宇恒已改完)
凭票手机仅来自 env 或绑定回写;联调号仅作人工验收样例。
2026-08-06 15:06:41 +08:00
whm
680d2b8cde feat: add sync checkpoint restore for last successful sync
Capture rolling online DB snapshots after push/drain/reconcile and expose SyncPage 数据恢复 plus checkpoint/restore APIs; mark Z12h and restore done in coop docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 11:49:00 +08:00
whm
75622a728e fix: allow deleting system default sync channel with immediate heal
Remove hard ban that returned 400 with no UI feedback; delete then Ensure+rebinding, and show confirm/toast on SyncPage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 09:03:41 +08:00
whm
362dcee242 feat: heal dead sync channels and block deleting system default (Z12h)
Ensure default channel and rebind Agent/Binding on list, ticket, agents/me, and ensure-binding so SyncPage does not stay on deleted-channel errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 08:57:30 +08:00
whm
2a7da53769 docs: align sync catalog and checklists after Z14c
Document schema/fingerprint APIs, quote SMS Provider off, and refresh the联调意见 commit trail.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 18:33:13 +08:00
whm
bb59bb5efd fix: allow agent JWT to use attached online_db_id (Z14c)
Agent tokens use agent_id as user_id while Binding is under the human member; authorize schema/push/ensure against the agent's mounted OnlineDBID.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 18:22:57 +08:00
whm
4fae7ae718 feat: add schema fingerprint and Z10d alter; refresh sync coop docs
Ship ensure ADD COLUMN and fingerprint API for Yuheng reconcile, and rewrite §0.2–0.3 cooperation checklist in the联调意见.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 18:16:55 +08:00
whm
069168df21 docs: refresh sync checklist after Yuheng Z10/Z13 land
Mark client work done, keep production ops as the remaining智建 blockers, and align the Yuheng usage doc.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 16:19:08 +08:00
whm
d195aa4804 feat: add Yuheng ticket bind, trial SMS off, shared bindings
Ship ticket-exchange and bind/policy for Z13, keep trial binds SMS-free, allow shared company bindings, and align SyncPage plus sync docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:09:49 +08:00
whm
cb56e6847e feat: add Z12/Z13 bind APIs, stock import, and sync docs
Enable auto default sync channels on agent activate, bind-code/phone confirm flows, publish ALTER, and align admin/yuheng docs with the production bind path.
2026-08-05 11:47:20 +08:00
whm
b04b180d30 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>
2026-08-05 09:47:35 +08:00