MCPcopy Create free account

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

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

↓ 7 callersMethodupdate_instance
(&self, instance: &WorkflowInstance)
src-tauri/src/workflow/mod.rs:373
↓ 7 callersMethodupdate_status
更新分析状态和进度
src-tauri/src/book_deconstruction/repository.rs:146
↓ 6 callersMethodadd_llm_profile
添加LLM配置
src-tauri/src/config/settings.rs:469
↓ 6 callersFunctionautoFormatText
(input: string)
src-frontend/src/utils/format.ts:62
↓ 6 callersMethodbuild_agent_context
Build a rich AgentContext using StoryContextBuilder instead of the minimal stub.
src-tauri/src/planner/executor.rs:357
↓ 6 callersFunctioncount_chinese_words
统计中文字数(中文字符 + 英文单词)
src-tauri/src/book_deconstruction/parser.rs:116
↓ 6 callersMethodcreate_relation
(&self, story_id: &str, source_id: &str, target_id: &str, relation_type: &str, str
src-tauri/src/db/repositories_v3.rs:1080
↓ 6 callersMethodexecute
( &self, context: &AgentContext, input: &str, )
src-tauri/src/agents/distiller.rs:31
↓ 6 callersMethodexecute_hooks
( &self, event: HookEvent, context: &AgentContext, data: serde_json::Value,
src-tauri/src/skills/mod.rs:330
↓ 6 callersFunctionextract_json
从文本中提取 JSON 对象字符串
src-tauri/src/planner/bootstrap.rs:56
↓ 6 callersFunctionextract_json
(content: &str)
src-tauri/src/narrative/analysis.rs:822
↓ 6 callersFunctiongetStepIndex
(step: WizardStep)
src-frontend/src/pages/CreationWizard.tsx:146
↓ 6 callersMethodget_versions
(&self, chapter_id: &str )
src-tauri/src/versions/mod.rs:62
↓ 6 callersMethodhandle
( &self, arguments: serde_json::Value, )
src-tauri/src/mcp/server.rs:21
↓ 6 callersMethodllm_pipeline_ctx
(&self, step_name: &str, step_number: usize, total_steps: usize, action: &str)
src-tauri/src/narrative/genesis.rs:84
↓ 6 callersMethodllm_pipeline_ctx
(&self, step_name: &str, step_number: usize, total_steps: usize, action: &str)
src-tauri/src/narrative/analysis.rs:83
↓ 6 callersMethodquery
四阶段查询检索(v5.4.0: 融合语义搜索)
src-tauri/src/memory/query.rs:104
↓ 6 callersFunctionrun_migrations
数据库迁移
src-tauri/src/db/connection.rs:773
↓ 6 callersFunctionsaveConfig
(config: LogConfig)
src-frontend/src/utils/logger.ts:68
↓ 6 callersMethodsearch
( &self, story_id: &str, query_embedding: Vec<f32>, top_k: usize, )
src-tauri/src/vector/lancedb_store.rs:196
↓ 6 callersMethodtable
(&self)
src-tauri/src/vector/lancedb_store.rs:166
↓ 6 callersFunctionupdateConfig
(updates: Partial<EditorConfig>)
src-frontend/src/components/EditorSettings.tsx:108
↓ 5 callersMethodclose
( &mut self, )
src-tauri/src/mcp/transport.rs:112
↓ 5 callersMethodcreate
创建参考书籍记录
src-tauri/src/book_deconstruction/repository.rs:20
↓ 5 callersFunctioncreate_test_db
创建测试数据库连接
src-tauri/src/db/cascade_tests.rs:15
↓ 5 callersMethodemit_step_event
发射工作流步骤事件到前端
src-tauri/src/agents/orchestrator.rs:95
↓ 5 callersMethodevaluate
Evaluate this condition against workflow context variables.
src-tauri/src/workflow/mod.rs:82
↓ 5 callersFunctiongetModelProviders
()
src-frontend/src/services/settings.ts:261
↓ 5 callersFunctiongetProviderDefaultModels
(provider: string)
src-frontend/src/services/settings.ts:276
↓ 5 callersMethodget_by_id
(&self, id: &str)
src-tauri/src/capabilities/mod.rs:89
↓ 5 callersMethodget_ledger
获取故事的完整伏笔账本
src-tauri/src/creative_engine/payoff_ledger.rs:130
↓ 5 callersFunctionget_user_id
获取用户 ID
src-tauri/src/agents/commands.rs:45
↓ 5 callersFunctionget_user_tier_sync
获取当前用户订阅层级(同步)
src-tauri/src/agents/commands.rs:21
↓ 5 callersFunctionhandleWritingStrategyChange
(partial: Partial<typeof writingStrategy>)
src-frontend/src/pages/Settings.tsx:1107
↓ 5 callersMethodheartbeat
记录心跳
src-tauri/src/task_system/executor.rs:80
↓ 5 callersFunctioninit
()
src/main.js:33
↓ 5 callersMethodlist
( &self, status_filter: Option<&str>, task_type_filter: Option<&str>, )
src-tauri/src/task_system/repository.rs:134
↓ 5 callersFunctionloadData
()
src-frontend/src/pages/KnowledgeGraph.tsx:52
↓ 5 callersMethodname
(&self)
src-tauri/src/creative_engine/workflow/engine.rs:34
↓ 5 callersMethodname
(&self)
src-tauri/src/agents/service.rs:31
↓ 5 callersMethodreceive
( &mut self, )
src-tauri/src/mcp/transport.rs:95
↓ 5 callersFunctionregister_pipeline_cancel
注册一个 Pipeline 的取消标志,返回 Arc<AtomicBool>
src-tauri/src/narrative/pipeline.rs:20
↓ 5 callersMethodset_active_llm_profile
设置活跃的LLM配置
src-tauri/src/config/settings.rs:449
↓ 5 callersFunctionsplit_by_fixed_size
长篇:按固定字符大小顺序切分,覆盖全部文本,不跳过任何内容 算法:从文本开头开始,每 `chunk_size` 个字符切分为一个块, 确保所有字符都被包含,最后一个块可能小于 `chunk_size`。
src-tauri/src/book_deconstruction/chunker.rs:87
↓ 5 callersMethodtruncate
(text: &str, max_length: usize)
src-tauri/src/utils/text.rs:18
↓ 5 callersFunctionuseSetActiveModel
()
src-frontend/src/hooks/useSettings.ts:166
↓ 4 callersMethodadd_foreshadowing
(mut self, fw: ForeshadowingElement)
src-tauri/src/narrative/elements.rs:284
↓ 4 callersMethodapply_scene_stage_adjustment
根据场景执行阶段调整策略
src-tauri/src/creative_engine/adaptive/generator.rs:154
↓ 4 callersMethodapply_story_progress_adjustment
根据故事整体进度调整策略
src-tauri/src/creative_engine/adaptive/generator.rs:118
↓ 4 callersMethodbatch_calculate
批量计算保留分数
src-tauri/src/memory/retention.rs:160
↓ 4 callersMethodcalculate_retention_score
计算实体的保留分数
src-tauri/src/memory/retention.rs:104
↓ 4 callersMethodcall_llm
( &self, prompt: String, max_tokens: Option<i32>, temperature: Option<f32>,
src-tauri/src/book_deconstruction/analyzer.rs:504
↓ 4 callersFunctioncancel_pipeline
请求取消指定 session_id 的 Pipeline
src-tauri/src/narrative/pipeline.rs:31
↓ 4 callersMethodcheck
( &self, _engine: &StorySystemEngine, _story_id: &str, _chapter_number: i32,
src-tauri/src/story_system/preflight.rs:24
↓ 4 callersMethodclick
* 点击元素
e2e/test-helper.ts:87
↓ 4 callersMethodconnect
(&mut self, )
src-tauri/src/mcp/client.rs:23
↓ 4 callersFunctioncreateWrapper
()
src-frontend/src/hooks/__tests__/useSettings.test.tsx:19
↓ 4 callersMethodcreate_batch
( &self, characters: &[ReferenceCharacter], )
src-tauri/src/book_deconstruction/repository.rs:247
↓ 4 callersFunctioncreate_test_entity
(name: &str, confidence: Option<f32>, access_count: i32)
src-tauri/src/memory/retention.rs:394
↓ 4 callersFunctioncreate_test_record
(id: &str, story_id: &str, chapter_id: &str)
src-tauri/src/vector/lancedb_store.rs:431
↓ 4 callersMethodcreate_version
( &mut self, chapter_id: String, title: Option<String>, content: Option<String
src-tauri/src/versions/mod.rs:36
↓ 4 callersFunctioncreate_version_snapshot
为指定场景创建版本快照,并自动生成 ChangeTrack diff
src-tauri/src/commands_v3.rs:1469
↓ 4 callersFunctionderiveTheme
( id: ColorThemeId, name: string, description: string, parchment: string, terracotta: string, char
src-frontend/src/frontstage/config/colorThemes.ts:50
↓ 4 callersMethoddisconnect
(&mut self, )
src-tauri/src/mcp/client.rs:170
↓ 4 callersFunctionembed_entity
生成实体嵌入 将实体名称、描述、类型、属性拼接成文本后生成嵌入
src-tauri/src/embeddings/embedding.rs:299
↓ 4 callersMethodemit_progress
(&self, stage: &str, message: &str)
src-tauri/src/planner/mod.rs:98
↓ 4 callersFunctionestimate_dialogue_ratio
估算文本中的对话比例
src-tauri/src/creative_engine/adaptive/miner.rs:330
↓ 4 callersMethodevolve_capability_descriptions
Analyze execution history and suggest improvements to capability descriptions
src-tauri/src/capabilities/evolution.rs:188
↓ 4 callersFunctionextract_sample
提取文本的前 N 个字符作为样本
src-tauri/src/book_deconstruction/chunker.rs:190
↓ 4 callersFunctionformatVersionNumber
(num: number)
src-frontend/src/hooks/useSceneVersions.ts:171
↓ 4 callersFunctiongetConfidenceIcon
(score?: number)
src-frontend/src/components/ConfidenceIndicator.tsx:49
↓ 4 callersFunctiongetConfig
()
src-frontend/src/services/tauri.ts:174
↓ 4 callersMethodget_active_profile
获取当前活跃的LLM配置
src-tauri/src/llm/service.rs:107
↓ 4 callersMethodget_entity_by_id
(&self, entity_id: &str)
src-tauri/src/db/repositories_v3.rs:1229
↓ 4 callersMethodget_relations_by_story
(&self, story_id: &str)
src-tauri/src/db/repositories_v3.rs:1197
↓ 4 callersMethodget_snapshot
获取故事的规范状态快照(实时聚合)
src-tauri/src/canonical_state/manager.rs:21
↓ 4 callersMethodget_tools
(&self)
src-tauri/src/mcp/server.rs:196
↓ 4 callersMethodget_version
( &self, chapter_id: &str, version_id: &str )
src-tauri/src/versions/mod.rs:90
↓ 4 callersFunctionhandleError
(error: unknown, options: ErrorHandlerOptions)
src-frontend/src/utils/errorHandler.ts:73
↓ 4 callersFunctionhandleLogin
(provider: string)
src-frontend/src/pages/Login.tsx:38
↓ 4 callersMethodincrement_retry
(&self, id: &str)
src-tauri/src/task_system/repository.rs:342
↓ 4 callersFunctioninit_embedding_model
初始化嵌入模型
src-tauri/src/embeddings/embedding.rs:128
↓ 4 callersMethodis_cjk
判断字符是否为CJK字符
src-tauri/src/memory/tokenizer.rs:58
↓ 4 callersMethodlist_logs
(&self, task_id: &str)
src-tauri/src/task_system/repository.rs:386
↓ 4 callersFunctionloadArchived
()
src-frontend/src/pages/KnowledgeGraph.tsx:70
↓ 4 callersFunctionloadEditorConfig
()
src-frontend/src/components/EditorSettings.tsx:57
↓ 4 callersFunctionloadStories
()
src-frontend/src/frontstage/FrontstageApp.tsx:723
↓ 4 callersFunctionlog
(level: LogLevel, namespace: string, message: string, args: unknown[])
src-frontend/src/utils/logger.ts:160
↓ 4 callersFunctionopen
(content, options = {})
public/js/state.js:119
↓ 4 callersFunctionparse_json_response
解析 LLM 返回的 JSON(带容错)
src-tauri/src/book_deconstruction/analyzer.rs:586
↓ 4 callersMethodrecord
记录一条反馈
src-tauri/src/creative_engine/adaptive/feedback.rs:72
↓ 4 callersMethodregister
Register a skill
src-tauri/src/skills/registry.rs:19
↓ 4 callersMethodregister
(&mut self, executor: Arc<dyn TaskExecutor>)
src-tauri/src/task_system/executor.rs:34
↓ 4 callersMethodregister_workflow
( &self, workflow: Workflow)
src-tauri/src/workflow/mod.rs:284
↓ 4 callersMethodremove_llm_profile
删除LLM配置
src-tauri/src/config/settings.rs:503
↓ 4 callersFunctionrenderGenerating
(message: string)
src-frontend/src/components/NovelCreationWizard.tsx:213
↓ 4 callersFunctionsetActiveModel
(type: ModelConfig['type'], modelId: string)
src-frontend/src/services/settings.ts:167
↓ 4 callersMethodset_active_embedding_profile
设置活跃的嵌入模型配置
src-tauri/src/config/settings.rs:459
↓ 4 callersMethodstory_id
(&self)
src-tauri/src/narrative/pipeline.rs:331
↓ 4 callersMethodunregister
注销任务定时器
src-tauri/src/task_system/scheduler.rs:89
← previousnext →101–200 of 2,870, ranked by callers