MCPcopy Create free account

hub / github.com/YunYouJun/advjs / functions

Functions1,616 in github.com/YunYouJun/advjs

↓ 1 callersFunction_getProjectId
()
apps/studio/src/utils/projectScope.ts:3
↓ 1 callersFunction_streamChatOnce
* Single-attempt stream implementation with per-chunk read timeout.
apps/studio/src/utils/aiClient.ts:84
↓ 1 callersFunctionaddCustomEvent
(eventName: string)
editor/core/app/utils/analystics/events/index.ts:7
↓ 1 callersFunctionaddDiary
(entry: CharacterDiaryEntry)
apps/studio/src/stores/useCharacterDiaryStore.ts:87
↓ 1 callersFunctionaddMapScale
(app: Application, target: Container)
editor/core/app/utils/map/hexagonal/event/scale.ts:6
↓ 1 callersFunctionaddProject
(project: StudioProject)
apps/studio/src/stores/useStudioStore.ts:107
↓ 1 callersFunctionadvCheck
(options: CheckOptions)
packages/advjs/node/commands/check.ts:330
↓ 1 callersFunctionadvContext
(options: ContextOptions)
packages/advjs/node/commands/context.ts:211
↓ 1 callersFunctionadvDev
(options: AdvDevOptions & AdvBaseEntryOptions)
packages/advjs/node/cli/dev.ts:46
↓ 1 callersFunctionadvPull
(options: SyncOptions)
packages/advjs/node/commands/sync.ts:125
↓ 1 callersFunctionadvPush
(options: SyncOptions)
packages/advjs/node/commands/sync.ts:88
↓ 1 callersFunctionadvSync
(options: SyncOptions)
packages/advjs/node/commands/sync.ts:163
↓ 1 callersFunctionadvanceTime
* Advance time by one period. * morning → afternoon → evening → night → next day morning
apps/studio/src/stores/useWorldClockStore.ts:94
↓ 1 callersFunctionanalyzeBranchesFromFile
(options: BranchAnalyzeOptions)
packages/advjs/node/commands/branches.ts:23
↓ 1 callersFunctionanalyzeCoverageFromFile
(options: CoverageAnalyzeOptions)
packages/advjs/node/commands/branches.ts:50
↓ 1 callersFunctionanalyzeProjectCoverage
(options: ProjectCoverageOptions)
packages/advjs/node/commands/branches.ts:74
↓ 1 callersFunctionappendAttributesForAI
(lines: string[], character: AdvCharacter)
packages/parser/src/character.ts:249
↓ 1 callersFunctionapplyVolumeToAll
* apply current master volume to all live tracks
packages/client/composables/useAdvBgm.ts:115
↓ 1 callersFunctionarrayBufferToBase64
* ArrayBuffer 转 base64
plugins/plugin-pominis/src/utils/audio.ts:22
↓ 1 callersFunctionattachCloudbase
(app: any)
apps/studio/src/utils/telemetry.ts:137
↓ 1 callersFunctionauthorize
(params: { redirectUri: string scope?: string state?: string })
plugins/plugin-feishu/src/auth.ts:30
↓ 1 callersFunctionbCssVars
()
packages/gui/client/styles/icons.ts:88
↓ 1 callersFunctionbCssVarsRootStyle
()
packages/gui/client/styles/icons.ts:109
↓ 1 callersFunctionbCssVarsRootStyle
()
packages/gui/scripts/build.ts:10
↓ 1 callersFunctionbindShortcut
()
packages/advjs/node/cli/dev.ts:156
↓ 1 callersMethodblockquote
* 处理引用块
packages/parser/src/Serialize.ts:52
↓ 1 callersFunctionbuildAdjacency
(graph: BranchGraph)
packages/core/src/engine/branches.ts:234
↓ 1 callersFunctionbuildChapterInstruction
( template: TemplateDef, chapterIndex: number, characters: GeneratedCharacter[], )
apps/studio/src/utils/projectGenerator/prompts.ts:108
↓ 1 callersFunctionbuildCharacterSystemPrompt
* Build a character-specific system prompt for roleplay conversations. * Includes character persona, world context, and memory.
apps/studio/src/stores/useCharacterChatStore.ts:70
↓ 1 callersFunctionbuildCharactersInstruction
(template: TemplateDef)
apps/studio/src/utils/projectGenerator/prompts.ts:73
↓ 1 callersFunctionbuildEventGenerationPrompt
* Build the prompt for AI event generation.
apps/studio/src/stores/useWorldEventStore.ts:81
↓ 1 callersFunctionbuildGameConfig
()
apps/studio/src/composables/useStudioAdvConfig.ts:54
↓ 1 callersFunctionbuildGroupSmartContext
* Build a smart context window from the full group chat message history. * Strategy: keep first few messages + summary of middle + recent messages.
apps/studio/src/stores/useGroupChatStore.ts:161
↓ 1 callersFunctionbuildGroupSystemPrompt
* Build a group-chat-specific system prompt for the speaking character.
apps/studio/src/stores/useGroupChatStore.ts:75
↓ 1 callersFunctionbuildImportLog
(input: ImportLogInput)
apps/studio/src/utils/projectGenerator.ts:577
↓ 1 callersFunctionbuildItems
* Build completion items for a list of field definitions.
apps/studio/src/utils/characterFrontmatterCompletion.ts:228
↓ 1 callersFunctionbuildKnowledgeInstruction
(template: TemplateDef)
apps/studio/src/utils/projectGenerator/prompts.ts:216
↓ 1 callersFunctionbuildLinePrompt
(opts: { speaker: AdvCharacter others: AdvCharacter[] worldMd: string goal: string history: Roleplay
apps/studio/src/utils/aiAuthoring/roleplaySimulator.ts:32
↓ 1 callersFunctionbuildMemoryExtractionPrompt
* Build the extraction prompt that asks AI to analyze a conversation turn * and extract structured memory updates.
apps/studio/src/stores/useCharacterMemoryStore.ts:64
↓ 1 callersFunctionbuildMinimalConfig
(gameConfig: Partial<AdvGameConfig>)
apps/studio/src/composables/useStudioAdvConfig.ts:160
↓ 1 callersFunctionbuildOutlineMd
(chapters: GeneratedChapter[])
apps/studio/src/utils/projectGenerator.ts:553
↓ 1 callersFunctionbuildPrompt
(opts: SuggestMarketTagsOptions)
apps/studio/src/utils/aiAuthoring/marketTagger.ts:38
↓ 1 callersFunctionbuildPrompt
(opts: SuggestPlotOptions)
apps/studio/src/utils/aiAuthoring/plotSuggester.ts:27
↓ 1 callersFunctionbuildPrompt
(opts: CheckConsistencyOptions)
apps/studio/src/utils/aiAuthoring/consistencyChecker.ts:50
↓ 1 callersFunctionbuildReadme
(projectName: string, template: TemplateDef)
apps/studio/src/utils/projectGenerator.ts:510
↓ 1 callersFunctionbuildScenesInstruction
( template: TemplateDef, chapters: GeneratedChapter[], )
apps/studio/src/utils/projectGenerator/prompts.ts:162
↓ 1 callersFunctionbuildSharedUserContext
( template: TemplateDef, source: NormalizedSource, )
apps/studio/src/utils/projectGenerator/prompts.ts:36
↓ 1 callersFunctionbuildSmartContext
* Build a smart context window from the full message history. * * Strategy (token-budget-aware): * 1. If all messages fit within budget, send every
apps/studio/src/stores/useCharacterChatStore.ts:114
↓ 1 callersFunctionbuildStateExtractionPrompt
* Build the extraction prompt that asks AI to analyze a conversation turn * and extract world state changes (location, health, activity).
apps/studio/src/stores/useCharacterStateStore.ts:22
↓ 1 callersFunctionbuildSystemPrompt
(template: TemplateDef)
apps/studio/src/utils/projectGenerator/prompts.ts:32
↓ 1 callersFunctionbuildWorldMd
(source: NormalizedSource, template: TemplateDef)
apps/studio/src/utils/projectGenerator.ts:538
↓ 1 callersMethodbulkLoad
* Bulk-load files into memory (e.g. from a template or imported .advpkg). * Does NOT trigger per-file persist; call persist() once after.
apps/studio/src/utils/fs/MemoryFsAdapter.ts:316
↓ 1 callersFunctionchapterJson
(i: number, phase: string)
apps/studio/src/__tests__/useProjectImport.test.ts:54
↓ 1 callersFunctionchapterToFile
(filename: string, c: GeneratedChapter)
apps/studio/src/utils/projectGenerator.ts:448
↓ 1 callersFunctioncharacterToFile
(c: GeneratedCharacter)
apps/studio/src/utils/projectGenerator.ts:431
↓ 1 callersFunctioncharactersJson
()
apps/studio/src/__tests__/useProjectImport.test.ts:41
↓ 1 callersFunctioncheckAdvMd
(md: string, id: string)
packages/advjs/node/markdown/check.ts:3
↓ 1 callersFunctioncheckAndTriggerEvaluation
( characterId: string, characterName: string, messages: CharacterChatMessage[], )
apps/studio/src/utils/chatQualityEvaluator.ts:46
↓ 1 callersFunctioncheckChapterConsistency
( opts: CheckConsistencyOptions, )
apps/studio/src/utils/aiAuthoring/consistencyChecker.ts:140
↓ 1 callersFunctionclaimDefaultData
(projectId: string)
apps/studio/src/utils/db.ts:466
↓ 1 callersFunctioncleanDir
(dir: string)
scripts/utils/clean.ts:15
↓ 1 callersFunctionclear
()
editor/core/app/stores/useConsoleStore.ts:42
↓ 1 callersMethodcode
* 处理代码块 * @param node
packages/parser/src/Serialize.ts:66
↓ 1 callersFunctioncompressMemories
* Compress old key events into a summary when count exceeds threshold. * Keeps the most recent events intact and merges older ones via AI summariza
apps/studio/src/stores/useCharacterMemoryStore.ts:298
↓ 1 callersFunctionconnectOBSWebSocket
(options: ConnectOBSWebSocketOptions)
plugins/plugin-obs/src/utils.ts:23
↓ 1 callersFunctionconsoleInfo
* 控制台输出信息 * @param name 名称 * @param link 链接 * @param color 颜色 * @param emoji
packages/client/utils/statement.ts:10
↓ 1 callersFunctionconsoleInfo
* 控制台输出信息 * @param name 名称 * @param link 链接 * @param color 颜色 * @param emoji
packages/gui/client/utils/index.ts:14
↓ 1 callersFunctioncopy
(src: string, dest: string)
packages/advjs/node/utils/fs.ts:126
↓ 1 callersFunctioncopyDir
(srcDir: string, destDir: string)
packages/create-adv/src/utils.ts:32
↓ 1 callersFunctioncreateAdvCompletionProvider
( getContext: () => AdvCompletionContext, )
apps/studio/src/utils/advLanguage.ts:143
↓ 1 callersFunctioncreateAdvConfigTsFile
(storyId: string)
packages/webcontainer/src/files.ts:37
↓ 1 callersFunctioncreateAdvLoader
( advOptions: ResolvedAdvOptions, serverOptions: AdvServerOptions, )
packages/advjs/node/vite/loaders.ts:186
↓ 1 callersFunctioncreateAdvMdLoader
()
packages/advjs/node/vite/loaders.ts:21
↓ 1 callersFunctioncreateAdvProjectFiles
(options: { storyId?: string } = {})
packages/webcontainer/src/files.ts:64
↓ 1 callersFunctioncreateAndLoadProject
(templateId: string)
editor/core/app/composables/useCreateProject.ts:81
↓ 1 callersFunctioncreateCharacterFrontmatterCompletionProvider
()
apps/studio/src/utils/characterFrontmatterCompletion.ts:249
↓ 1 callersFunctioncreateCharacterScene
(scene: BABYLON.Scene)
plugins/plugin-babylon/src/setup/index.ts:10
↓ 1 callersFunctioncreateCharacterToHandle
* 创建角色到浏览器文件系统
editor/core/app/stores/useCharacterStore.ts:341
↓ 1 callersFunctioncreateDefaultAiBridge
()
apps/studio/src/utils/projectGenerator.ts:145
↓ 1 callersFunctioncreateDevToolsHooks
()
packages/devtools/client/hooks.ts:21
↓ 1 callersFunctioncreateFileSystem
(options: CreateFsOptions)
apps/studio/src/utils/fs/createFs.ts:51
↓ 1 callersFunctioncreateGizmoManager
(scene: BABYLON.Scene)
editor/vrm/src/setup/utils.ts:18
↓ 1 callersFunctioncreateGridGround
(scene: BABYLON.Scene)
plugins/plugin-babylon/src/scene/ground.ts:8
↓ 1 callersFunctioncreateManager
()
packages/core/test/engine/session.test.ts:6
↓ 1 callersFunctioncreateMarkdown
(options: ResolvedMdOptions)
packages/advjs/node/markdown/markdown.ts:70
↓ 1 callersFunctioncreateNotifications
( cloudApp: cloudbase.app.App, recipientIds: string[], template: Omit<NotificationRecord, '_id' | 'recip
apps/studio/src/stores/useNotificationsStore.ts:154
↓ 1 callersFunctioncreateRecordsStorage
(recordsKey = 'records')
packages/client/utils/storage.ts:11
↓ 1 callersFunctioncreateRotatePointLight
(scene: BABYLON.Scene)
plugins/plugin-babylon/src/light/pointLight.ts:3
↓ 1 callersFunctioncreateScene
(engine: BABYLON.Engine)
plugins/plugin-babylon/src/scene/default.ts:9
↓ 1 callersFunctioncreateServer
( options: ResolvedAdvOptions, viteConfig: InlineConfig = {}, serverOptions: AdvServerOptions = {}, )
packages/advjs/node/commands/serve.ts:10
↓ 1 callersFunctioncreateSkybox
(scene: BABYLON.Scene)
editor/vrm/src/setup/scene.ts:4
↓ 1 callersFunctioncreateUnocssPlugin
( options: ResolvedAdvOptions, pluginOptions: AdvPluginOptions, )
packages/advjs/node/vite/unocss.ts:7
↓ 1 callersFunctioncreateVRMScene
(engine: BABYLON.Engine)
plugins/plugin-babylon/src/vrm/scene.ts:15
↓ 1 callersFunctioncreateVuePlugin
( _options: ResolvedAdvOptions, pluginOptions: AdvPluginOptions, )
packages/advjs/node/vite/vue.ts:9
↓ 1 callersFunctiondbKey
* Key for IndexedDB persistence table. * Format: `memfs:{projectId}:{path}`
apps/studio/src/utils/fs/MemoryFsAdapter.ts:36
↓ 1 callersFunctiondebug
(message: string, data?: any)
editor/core/app/stores/useConsoleStore.ts:38
↓ 1 callersFunctiondecodeBase64
(str: string)
editor/core/app/stores/useGitHubStore.ts:11
↓ 1 callersFunctiondefineThemeConfig
(config: Partial<ThemeConfig>)
packages/advjs/node/config/index.ts:35
↓ 1 callersFunctiondetectImageIntent
(message: string)
apps/studio/src/utils/aiImageClient.ts:66
↓ 1 callersFunctiondetectLocale
* Detect locale from --lang flag, environment variables, or default to 'en'
packages/advjs/node/cli/i18n/index.ts:15
← previousnext →501–600 of 1,616, ranked by callers