MCPcopy Create free account

hub / github.com/91zgaoge/StoryForge / functions

Functions2,870 in github.com/91zgaoge/StoryForge

↓ 2 callersMethodcreate_summary
( &self, story_id: &str, summary_type: &str, content: &str, )
src-tauri/src/db/repositories_v3.rs:1687
↓ 2 callersFunctioncreate_tables
(conn: &mut rusqlite::Connection)
src-tauri/src/db/connection.rs:58
↓ 2 callersMethodcreate_task
(&self, req: CreateTaskRequest)
src-tauri/src/task_system/service.rs:96
↓ 2 callersFunctioncreate_v3_tables
V3架构新表结构
src-tauri/src/db/connection.rs:429
↓ 2 callersMethoddelete
(&self, id: &str)
src-tauri/src/vector/lancedb_store.rs:358
↓ 2 callersMethoddelete_annotation
(&self, annotation_id: &str)
src-tauri/src/db/repositories_v3.rs:1530
↓ 2 callersMethoddelete_by_book
(&self, book_id: &str)
src-tauri/src/book_deconstruction/repository.rs:305
↓ 2 callersFunctiondetect_inspector_writer_loop
检测计划是否包含 Inspector→Writer 闭环模式 返回闭环的起始 step_id 和结束 step_id
src-tauri/src/planner/swarm.rs:85
↓ 2 callersMethoddetect_overdue
检测逾期伏笔
src-tauri/src/creative_engine/payoff_ledger.rs:286
↓ 2 callersFunctiondiff_to_change_tracks
将两段文本的差异转换为 ChangeTrack 列表(简单字符级 diff)
src-tauri/src/commands_v3.rs:1564
↓ 2 callersMethoddominant
获取主导风格
src-tauri/src/creative_engine/style/blend.rs:120
↓ 2 callersMethodemit_progress
(&self, book_id: &str, status: &str, progress: i32, message: &str)
src-tauri/src/book_deconstruction/service.rs:530
↓ 2 callersFunctionescapeHtml
转义 HTML 特殊字符
src-frontend/src/utils/format.ts:183
↓ 2 callersFunctionestimate_avg_sentence_length
估算平均句长
src-tauri/src/creative_engine/adaptive/miner.rs:357
↓ 2 callersMethodexecute_plan
(&self, plan: ExecutionPlan, plan_context: &PlanContext)
src-tauri/src/planner/executor.rs:116
↓ 2 callersMethodexecute_write_with_inspection
执行 Writer → Inspector → Writer 反馈闭环 流程: 1. Writer 生成初稿 2. Inspector 质检 3. 如果分数 < threshold,将质检反馈传给 Writer 改写 4. 重复 2-3 直到分数达标或达到最大循环次数
src-tauri/src/agents/orchestrator.rs:112
↓ 2 callersFunctionextract_time_number
从时间描述字符串中提取首个数字,用于简单的时间比较
src-tauri/src/creative_engine/continuity.rs:479
↓ 2 callersMethodextract_tokens
提取中文词语(简化版:按字切分+双字词)
src-tauri/src/vector/mod.rs:50
↓ 2 callersFunctionfindFirstDiff
(a: string, b: string)
src-frontend/src/frontstage/components/RichTextEditor.tsx:633
↓ 2 callersFunctionforceRedraw
()
src-frontend/src/App.tsx:195
↓ 2 callersFunctionforeshadowing_prompt
(mode: PromptMode, story_title: &str, genre: &str, outline_summary: &str, context: &str)
src-tauri/src/narrative/prompts.rs:351
↓ 2 callersFunctionformatDuration
(seconds: number)
src-frontend/src/pages/Tasks.tsx:49
↓ 2 callersFunctionformatWordCount
(count?: number)
src-frontend/src/components/book-deconstruction/BookDetailView.tsx:27
↓ 2 callersFunctiongenerateCharacterProfiles
(worldBuilding: WorldBuildingOption)
src-frontend/src/services/tauri.ts:272
↓ 2 callersFunctiongenerateFirstScene
(worldBuilding: WorldBuildingOption, characters: CharacterProfileOption[], writingStyle: WritingStyleOption)
src-frontend/src/services/tauri.ts:278
↓ 2 callersFunctiongenerateWorldBuildingOptions
(userInput: string)
src-frontend/src/services/tauri.ts:269
↓ 2 callersFunctiongenerateWritingStyles
(genre: string, worldBuilding: WorldBuildingOption)
src-frontend/src/services/tauri.ts:275
↓ 2 callersFunctionget
(key)
public/js/state.js:29
↓ 2 callersFunctiongetConfidenceBgColor
(score?: number)
src-frontend/src/components/ConfidenceIndicator.tsx:31
↓ 2 callersFunctiongetConfidenceTextColor
(score?: number)
src-frontend/src/components/ConfidenceIndicator.tsx:40
↓ 2 callersFunctiongetConflictTypeLabel
(type: ConflictType)
src-frontend/src/hooks/useScenes.ts:137
↓ 2 callersFunctiongetCreatorTypeColor
(type: CreatorType)
src-frontend/src/hooks/useSceneVersions.ts:153
↓ 2 callersFunctiongetCurrentEditorColors
(themeId?: ColorThemeId)
src-frontend/src/frontstage/config/colorThemes.ts:178
↓ 2 callersMethodget_active_llm_profile
获取当前活跃的LLM配置
src-tauri/src/config/settings.rs:433
↓ 2 callersMethodget_analysis
(&self, book_id: &str)
src-tauri/src/book_deconstruction/service.rs:250
↓ 2 callersMethodget_annotations_by_scene
(&self, scene_id: &str)
src-tauri/src/db/repositories_v3.rs:1445
↓ 2 callersFunctionget_builtin_styles
获取所有内置经典风格
src-tauri/src/creative_engine/style/classic_styles.rs:9
↓ 2 callersMethodget_by_book
( &self, book_id: &str, )
src-tauri/src/book_deconstruction/repository.rs:277
↓ 2 callersMethodget_character_states
获取角色的当前状态
src-tauri/src/creative_engine/continuity.rs:107
↓ 2 callersMethodget_contract_tree
获取故事的合同树
src-tauri/src/story_system/mod.rs:116
↓ 2 callersMethodget_instance
(&self, instance_id: &str)
src-tauri/src/workflow/mod.rs:363
↓ 2 callersFunctionget_jwt_secret
获取JWT密钥(优先从环境变量,fallback到默认值)
src-tauri/src/auth/session.rs:65
↓ 2 callersMethodget_messages
(&self, thread_id: &str)
src-tauri/src/db/repositories_v3.rs:2185
↓ 2 callersFunctionget_provider_config
(provider: OAuthProvider)
src-server/src/auth/oauth.rs:98
↓ 2 callersFunctionget_provider_urls
(provider: OAuthProvider)
src-server/src/auth/oauth.rs:116
↓ 2 callersFunctionget_provider_urls
获取各Provider的OAuth URL
src-tauri/src/auth/oauth.rs:159
↓ 2 callersFunctionget_settings
(app_handle: AppHandle)
src-tauri/src/config/commands.rs:96
↓ 2 callersMethodget_statistics
(&self)
src-tauri/src/capabilities/evolution.rs:86
↓ 2 callersMethodget_unresolved
获取故事中未回收的伏笔
src-tauri/src/creative_engine/foreshadowing.rs:111
↓ 2 callersMethodget_user_id
获取当前用户 ID
src-tauri/src/agents/service.rs:218
↓ 2 callersFunctionglobal_provider
获取全局嵌入提供者
src-tauri/src/embeddings/provider.rs:286
↓ 2 callersFunctionhandleDragOver
(e: React.DragEvent, id: string)
src-frontend/src/frontstage/components/ChapterOutline.tsx:74
↓ 2 callersFunctionhandleDragStart
(e: React.DragEvent, id: string)
src-frontend/src/frontstage/components/ChapterOutline.tsx:69
↓ 2 callersFunctionhandleDrop
(e: React.DragEvent, targetId: string)
src-frontend/src/frontstage/components/ChapterOutline.tsx:81
↓ 2 callersFunctionhandleFile
(file: File)
src-frontend/src/components/book-deconstruction/BookUploadPanel.tsx:28
↓ 2 callersFunctionhandleOAuthLogin
(provider: string)
src-server-web/src/pages/LoginPage.tsx:33
↓ 2 callersFunctionhandleSelect
(version: SceneVersion)
src-frontend/src/components/VersionTimeline.tsx:360
↓ 2 callersFunctionhandleSelect
(themeId: ColorThemeId)
src-frontend/src/pages/Settings.tsx:997
↓ 2 callersFunctionhandleStatusChange
(newStatus: 'payoff' | 'abandoned')
src-frontend/src/pages/Foreshadowing.tsx:166
↓ 2 callersFunctionhandleWindowShown
(retries = 3)
src-frontend/src/App.tsx:155
↓ 2 callersFunctionimportanceColor
(importance: number)
src-frontend/src/pages/Foreshadowing.tsx:42
↓ 2 callersFunctionimportanceLabel
(importance: number)
src-frontend/src/pages/Foreshadowing.tsx:36
↓ 2 callersFunctioninit_global_provider
初始化全局嵌入提供者(从 AppConfig 读取)
src-tauri/src/embeddings/provider.rs:247
↓ 2 callersMethodinitialize
初始化加载:扫描内置目录 + 用户目录
src-tauri/src/workflow/loader.rs:38
↓ 2 callersFunctionisBuiltin
(skill: Skill)
src-frontend/src/pages/Skills.tsx:203
↓ 2 callersFunctionjin_yong
金庸风格 特征:武侠术语密集、古典白话对话、四字格+长短交替、武打比喻丰富
src-tauri/src/creative_engine/style/classic_styles.rs:28
↓ 2 callersMethodlist_running
(&self)
src-tauri/src/task_system/repository.rs:205
↓ 2 callersFunctionloadColorTheme
()
src-frontend/src/frontstage/config/colorThemes.ts:130
↓ 2 callersFunctionloadStoryChapters
(storyId: string)
src-frontend/src/frontstage/FrontstageApp.tsx:748
↓ 2 callersMethodload_builtin_skills
(&mut self)
src-tauri/src/skills/mod.rs:241
↓ 2 callersMethodload_from_directory
Load skill from directory
src-tauri/src/skills/loader.rs:16
↓ 2 callersFunctionlogout
(token: string)
src-frontend/src/services/auth.ts:56
↓ 2 callersFunctionmake_result
(id: &str, score: f32)
src-tauri/src/memory/query.rs:569
↓ 2 callersFunctionparse_book
解析小说文件(自动检测格式) `progress_callback`: 可选的进度回调,参数为 (已处理字数, 估计总字数)
src-tauri/src/book_deconstruction/parser.rs:20
↓ 2 callersMethodparse_thread
(&self, row: &rusqlite::Row)
src-tauri/src/db/repositories_v3.rs:2115
↓ 2 callersFunctionreadSettingsSource
()
src-frontend/src/components/Settings/__tests__/LlmProfileForm.bug.spec.tsx:24
↓ 2 callersFunctionrecord_ai_operation
记录 AI 操作历史
src-tauri/src/lib.rs:79
↓ 2 callersMethodremove_client
(&self, user_id: &str)
src-tauri/src/collab/websocket.rs:95
↓ 2 callersMethodremove_embedding_profile
删除嵌入模型配置
src-tauri/src/config/settings.rs:523
↓ 2 callersMethodrender
()
src-frontend/src/components/ErrorBoundary.tsx:29
↓ 2 callersMethodresolve_annotation
(&self, annotation_id: &str)
src-tauri/src/db/repositories_v3.rs:1512
↓ 2 callersMethodrun_instance
Run a single workflow instance to completion (serial node execution)
src-tauri/src/workflow/scheduler.rs:150
↓ 2 callersMethodsave_instance_to_db
(&self, instance: &WorkflowInstance)
src-tauri/src/workflow/mod.rs:257
↓ 2 callersMethodsave_state
(&self, state: &StoryState)
src-tauri/src/state/manager.rs:149
↓ 2 callersFunctionscene_prompt
(mode: PromptMode, story_title: &str, genre: &str, character_names: &str, context: &str)
src-tauri/src/narrative/prompts.rs:213
↓ 2 callersMethodschedule_execution
Queue a workflow instance for execution 入队后会自动触发后台执行(若当前没有正在执行的任务) v5.6.1: 增加幂等检查,防止同一实例重复入队
src-tauri/src/workflow/scheduler.rs:25
↓ 2 callersFunctionsetStoryStyleDna
(storyId: string, styleDnaId: string | null)
src-frontend/src/services/tauri.ts:150
↓ 2 callersMethodset_active
(&self, story_id: &str, config_id: &str)
src-tauri/src/db/repositories_v3.rs:2319
↓ 2 callersFunctionsetup
()
src-frontend/src/hooks/usePipelineProgress.ts:43
↓ 2 callersFunctionsetupComplete
()
src-frontend/src/frontstage/components/WenSiPanel.tsx:105
↓ 2 callersFunctionsetupError
()
src-frontend/src/frontstage/components/WenSiPanel.tsx:126
↓ 2 callersFunctionsmartExecute
(req: SmartExecuteRequest)
src-frontend/src/services/tauri.ts:226
↓ 2 callersMethodspawn_interval
( &self, task_id: String, duration: Duration, lock: Arc<tokio::sync::Mutex<()>
src-tauri/src/task_system/scheduler.rs:133
↓ 2 callersFunctionsplitSentences
按句子分割(中文标点)
src-frontend/src/frontstage/ai-perception/textAnalyzer.ts:35
↓ 2 callersFunctionsplit_into_chapters_with_progress
按章节拆分文本
src-tauri/src/book_deconstruction/parser.rs:55
↓ 2 callersMethodstart
(&self)
src-tauri/src/mcp/server.rs:215
↓ 2 callersMethodstart
开始执行:更新状态为 running
src-tauri/src/task_system/executor.rs:70
↓ 2 callersMethodstore_embeddings
( &self, book_id: &str, result: &BookAnalysisResult, )
src-tauri/src/book_deconstruction/service.rs:454
↓ 2 callersFunctionstory_concept_prompt
(mode: PromptMode, context: &str)
src-tauri/src/narrative/prompts.rs:25
↓ 2 callersFunctiontemp_app_dir
创建隔离的临时应用目录,用于测试文件操作。 返回 `(TempDir, PathBuf)` — 目录在 `TempDir` drop 时自动清理。 # 示例 ```rust,no_run let (_tmp, app_dir) = temp_app_dir(); let mut config =
src-tauri/src/test_utils.rs:18
← previousnext →301–400 of 2,870, ranked by callers