- config doc moves to agenthub.db table 'config' (single JSON doc, id=1);
config.json is first-run seed only; same db as bindings/records
- AdminStore: sqlite doc store (thread-locked, persists across restarts)
- full CRUD per entity: list/get/upsert/delete for channels + agents,
bind/unbind for bindings; upsert merges blank secret fields (edit form
can leave them empty); last-agent delete guard; unknown-field 400s
- secrets masked at list/get time (yb…[REDACTED]); plaintext never
crosses the API
- Ops tab rebuilt: list tables w/ per-row edit+delete buttons, +新增
forms, delete confirm() dialogs, live binding table w/ unbind