feat: persist heaven readings in unified dialog

This commit is contained in:
leefer
2026-07-23 09:51:33 +08:00
parent a517f9d859
commit c62670d46b
10 changed files with 739 additions and 22 deletions
+3
View File
@@ -13,6 +13,7 @@ MEMBER_GET_PATHS = frozenset(
"/api/mentors/setup",
"/api/mentors/messages",
"/api/heaven/setup",
"/api/heaven/readings",
"/api/assistant/messages",
}
)
@@ -60,4 +61,6 @@ def required_role(method: str, path: str) -> AccessRole:
r"/api/screener/strategies/\d+", path
):
return "member"
if re.fullmatch(r"/api/heaven/readings/\d+", path):
return "member"
return "authenticated"