MCPcopy Create free account

hub / github.com/Aerdelan/MirrorNovel / functions

Functions207 in github.com/Aerdelan/MirrorNovel

↓ 1 callersFunctionstartApp
()
server/index.js:46
↓ 1 callersFunctionsummarizeChapterForDoc
* 将刚生成的章节浓缩为一段结构化文字(供 chapterSummaryDoc 追加) * AI 生成 → 提取关键信息,比简单截头尾更准确
server/services/novelContext.js:240
↓ 1 callersFunctiontest
()
server/test_download.js:6
↓ 1 callersFunctionupdateForeshadowingDoc
* 根据新生成的章节内容,更新伏笔追踪文档 * 扫描章节中的悬念句和回收句,更新到 foreshadowingDoc
server/services/novelContext.js:269
↓ 1 callersFunctionuseI18n
()
client/src/composables/useI18n.js:8
↓ 1 callersFunctionverifyTransporter
()
server/services/emailService.js:60
Function$t
(key, params)
client/src/composables/useI18n.js:15
Function$tn
(name)
client/src/composables/useI18n.js:39
Function$tt
(name)
client/src/composables/useI18n.js:47
Methodaddition_isCorrect
()
app/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java:14
FunctionadminAuth
(req, res, next)
server/middleware/adminAuth.js:4
FunctionadminOnly
(req, res, next)
server/routes/reference.js:14
FunctionagentGenerateChapter
* 完整 Agent 写作流程(单章) * @param {Object} novel - 小说对象 * @param {string} systemPrompt - 系统提示词 * @param {Function} onChunk - 流式回调 * @param {Function} o
server/services/writingAgent.js:129
Functionauth
(req, res, next)
server/middleware/auth.js:4
FunctionbuildAgentContinuePrompt
* 为续写构建结构化 prompt
server/services/novelContext.js:189
FunctioncheckAnnouncement
()
client/src/stores/auth.js:140
FunctioncheckAnnouncement
()
app/src/stores/auth.js:134
Functioncheckin
()
client/src/stores/auth.js:118
Functioncheckin
()
app/src/stores/auth.js:117
FunctionclearPrefillContinue
()
client/src/stores/novel.js:46
FunctionclearPrefillContinue
()
app/src/stores/novel.js:45
FunctioncloseBrowser
* 关闭浏览器
tmp_upload/playwrightProxy.js:140
FunctioncontinueGeneration
(novelId, onChunk, onStatus, mode)
client/src/stores/novel.js:87
FunctiondeleteCookie
()
client/src/stores/reference.js:86
FunctiondeleteNovel
(novelId)
client/src/stores/novel.js:40
FunctiondeleteNovel
(novelId)
app/src/stores/novel.js:40
FunctiondeleteReference
(id)
client/src/stores/reference.js:29
FunctiondeslopOnChunk
(chunk)
server/routes/novel.js:1551
FunctiondismissAnnouncement
()
client/src/stores/auth.js:147
FunctiondismissAnnouncement
()
app/src/stores/auth.js:141
FunctionextractFontMap
* 从 Playwright 页面提取字体映射 * * 支持: * 1. base64 内嵌字体(data: URI) * 2. HTTP 字体 URL(通过浏览器内 fetch 下载) * 3. Playwright 路由拦截(外部缓冲区)
server/services/fontDecoder.js:89
FunctionfanqieImport
(params)
client/src/stores/reference.js:39
FunctionfanqiePreview
(bookId)
client/src/stores/reference.js:59
FunctionfetchBookshelf
()
client/src/stores/novel.js:19
FunctionfetchBookshelf
()
app/src/stores/novel.js:25
FunctionfetchCategories
()
client/src/stores/reference.js:9
FunctionfetchChapterContent
* 获取章节内容并让浏览器渲染 PUA 字体,返回纯文本 * 每本书只需加载字体一次,后续共享
tmp_upload/playwrightProxy.js:104
FunctionfetchCookieStatus
()
client/src/stores/reference.js:67
FunctionfetchFullTypes
()
client/src/stores/novel.js:31
FunctionfetchLightNovelRefs
()
client/src/stores/reference.js:82
FunctionfetchList
()
client/src/stores/reference.js:15
FunctionfetchNovelDetail
(novelId)
client/src/stores/novel.js:25
FunctionfetchNovelDetail
(novelId)
app/src/stores/novel.js:31
FunctionfetchNovelTypes
()
client/src/stores/novel.js:17
FunctionfetchNovelTypes
()
app/src/stores/novel.js:23
FunctionfetchOllamaModels
()
client/src/stores/auth.js:71
FunctionfetchOllamaModels
()
app/src/stores/auth.js:84
FunctionfetchViaBrowser
(action, params, cs)
server/services/playwrightProxy.js:140
FunctiongetBookCategory
* 从书籍页面 HTML 提取分类标签(都市脑洞、系统、穿越等)
server/services/fanqieScraper.js:388
FunctiongetBookInfo
* 获取书籍信息(优先 API,失败回退 HTML)
tmp_upload/fanqieScraper.js:258
FunctiongetBookInfo
* 获取书籍信息(优先 API,失败回退 HTML)
server/services/fanqieScraper.js:343
FunctiongetChapterContentViaAPI
* 通过浏览器代理获取单个章节完整内容
server/services/fanqieScraper.js:250
FunctiongetChapterContents
* 批量获取章节内容(优先 API,失败回退 HTML)
tmp_upload/fanqieScraper.js:272
FunctiongetChapterContents
* 批量获取章节内容(优先 API,失败回退 HTML)
server/services/fanqieScraper.js:357
FunctiongetChapterMeta
* 快速获取章节元数据(书名、类型等,不下载字体不解码)
server/services/fanqieScraper.js:371
FunctiongetCharMapping
()
server/services/playwrightProxy.js:168
FunctiongetCheckinStatus
()
client/src/stores/auth.js:128
FunctiongetCheckinStatus
()
app/src/stores/auth.js:126
FunctiongetCookie
()
server/services/fanqieAuth.js:29
FunctiongetDetail
(id)
client/src/stores/reference.js:34
FunctiongetInviteInfo
()
client/src/stores/auth.js:134
FunctiongetInviteInfo
()
app/src/stores/auth.js:130
FunctiongetModelConfig
()
client/src/stores/auth.js:76
FunctiongetModelConfig
()
app/src/stores/auth.js:89
FunctiongetPools
根据 gender 获取对应的叙事池
server/config/novelTemplates.js:293
FunctiongetProfile
()
client/src/stores/auth.js:55
FunctiongetProfile
()
app/src/stores/auth.js:68
FunctiongetStatus
()
server/services/fanqieAuth.js:32
FunctiongetTokenInfo
()
client/src/stores/auth.js:91
FunctiongetTokenInfo
()
app/src/stores/auth.js:103
FunctiongetUserStats
()
client/src/stores/auth.js:102
FunctiongetUserStats
()
app/src/stores/auth.js:113
FunctionisReady
()
server/services/fanqieAuth.js:30
Functionlogin
(email, password)
client/src/stores/auth.js:39
Functionlogin
(email, password)
app/src/stores/auth.js:52
Functionlogout
()
client/src/stores/auth.js:155
Functionlogout
()
app/src/stores/auth.js:149
FunctionpauseNovel
(novelId)
client/src/stores/novel.js:36
FunctionpauseNovel
(novelId)
app/src/stores/novel.js:36
FunctionpickRandom
随机选择数组中的一个元素
server/config/novelTemplates.js:298
FunctionpickRandomN
随机选择 n 个不重复元素
server/config/novelTemplates.js:303
FunctionpurchaseTokens
(amount)
client/src/stores/auth.js:107
FunctionqualityScore
* 章节质量评分
server/services/chapterToolchain.js:235
Functionregister
(email, password, code, nickname, inviteCode)
client/src/stores/auth.js:45
Functionregister
(email, password, code, nickname, inviteCode)
app/src/stores/auth.js:58
FunctionresetFontCache
重置字体缓存(换书时调用)
tmp_upload/playwrightProxy.js:135
FunctionresetFontCache
()
server/services/playwrightProxy.js:167
FunctionsaveModelConfig
(config)
client/src/stores/auth.js:81
FunctionsaveModelConfig
(config)
app/src/stores/auth.js:94
FunctionsendCode
(email)
client/src/stores/auth.js:51
FunctionsendCode
(email)
app/src/stores/auth.js:64
FunctionsetCookie
(cookie)
client/src/stores/reference.js:50
FunctionsetCookie
(cookieStr)
server/services/fanqieAuth.js:23
FunctionsetLocale
(l)
client/src/composables/useI18n.js:9
FunctionsetPrefillContinue
(data)
client/src/stores/novel.js:45
FunctionsetPrefillContinue
(data)
app/src/stores/novel.js:44
FunctionstartGeneration
(params, onChunk, onStatus)
client/src/stores/novel.js:51
FunctionstartImportContinue
(params, onChunk, onStatus)
client/src/stores/novel.js:113
FunctionstartPolish
(params, onChunk, onStatus)
client/src/stores/novel.js:140
FunctionstopGeneration
()
client/src/stores/novel.js:48
← previousnext →101–200 of 207, ranked by callers