refactor(chat): clean stale mocks and external browser helpers

This commit is contained in:
2026-06-30 14:32:58 +08:00
parent 958a0f8ffd
commit 1fed21fa2f
11 changed files with 61 additions and 170 deletions
@@ -1,28 +0,0 @@
{
"code": 200,
"message": "success",
"success": true,
"data": {
"reply": "",
"audioUrl": "",
"messageId": "msg_blocked_daily_001",
"isGuest": false,
"timestamp": 1782180665000,
"image": {
"type": null,
"url": null
},
"lockDetail": {
"locked": true,
"showContent": false,
"showUpgrade": true,
"reason": "daily_limit",
"hint": "免费消息额度已用完,开通会员后可以继续聊天。",
"detail": {
"type": "daily_msg_limit",
"usedToday": 20,
"limit": 20
}
}
}
}
@@ -1,28 +0,0 @@
{
"code": 200,
"message": "success",
"success": true,
"data": {
"reply": "",
"audioUrl": "",
"messageId": "",
"isGuest": true,
"timestamp": 1782197944984,
"image": {
"type": null,
"url": null
},
"lockDetail": {
"locked": true,
"showContent": false,
"showUpgrade": true,
"reason": "daily_limit",
"hint": "Log in to get more free chat messages.",
"detail": {
"type": "daily_msg_limit",
"usedToday": 5,
"limit": 5
}
}
}
}
@@ -1,14 +0,0 @@
{
"code": 200,
"message": "success",
"success": true,
"data": {
"unlocked": false,
"content": null,
"showUpgrade": true,
"paywallTriggered": true,
"privateFreeLimit": 1,
"privateUsedToday": 1,
"reason": "quota_exceeded"
}
}
@@ -1,9 +0,0 @@
{
"type": "sentence",
"data": {
"index": 0,
"text": "I am listening.",
"total": 2,
"done": false
}
}
@@ -1,6 +0,0 @@
{
"type": "connected",
"data": {
"userId": "user_mock_001"
}
}
@@ -1,6 +0,0 @@
{
"type": "error",
"data": {
"message": "WebSocket connection interrupted."
}
}
@@ -1,9 +0,0 @@
{
"type": "image",
"data": {
"image": {
"type": "elio_schedule",
"url": "https://cdn.cozsweet.com/mock/chat/elio-schedule-001.jpg"
}
}
}
@@ -1,17 +0,0 @@
{
"type": "paywall_status",
"data": {
"lockDetail": {
"locked": true,
"showContent": false,
"showUpgrade": true,
"reason": "daily_limit",
"hint": "免费消息额度已用完,开通会员后可以继续聊天。",
"detail": {
"type": "daily_msg_limit",
"usedToday": 20,
"limit": 20
}
}
}
}