fix: restore polished account experience and align AI with Lark design

This commit is contained in:
yuxuanhui
2026-09-07 23:31:23 +08:00
parent 3f3d417296
commit 7dcf46836f
23 changed files with 1669 additions and 807 deletions
+4
View File
@@ -19,6 +19,7 @@ class FakePlatform:
self.fail_id = True
self.require_verification = False
self.block = None
self.permissions = ["CONSULTANT", "SUPER_ALPHA"]
async def authenticate(self, *args, **kwargs):
if self.require_verification:
@@ -32,6 +33,9 @@ class FakePlatform:
async def profile(self):
return {"id": "user1", "email": "test@example.com", "password": "never-save", "unknown": 1}
async def account_usage(self):
return {"date": "2026-09-07", "alphas": {"active": 99}, "errors": {}}
async def alphas(self, submission, hidden, offset, before):
self.page_calls.append((submission, hidden, offset, before))
if self.block: