MCPcopy Create free account

hub / github.com/YunYouJun/advjs / functions

Functions1,616 in github.com/YunYouJun/advjs

↓ 2 callersFunctiongo
* go to target node * @param target
packages/client/composables/useAdvNav.ts:115
↓ 2 callersFunctionhandleAdvNode
* handle adv node * @param node
packages/client/composables/useAdvLogic.ts:98
↓ 2 callersFunctionhasContestDemo
(slug: string)
apps/studio/src/utils/contestDemos.ts:102
↓ 2 callersFunctionhmacSha1
* Generate HMAC-SHA1 signature using Web Crypto API.
apps/studio/src/utils/cloudSync.ts:144
↓ 2 callersFunctionimgToBase64
(src: string)
packages/advjs/node/cli/config.ts:56
↓ 2 callersMethodinit
()
plugins/plugin-runware/src/service.ts:45
↓ 2 callersFunctioninitServer
()
packages/advjs/node/cli/dev.ts:52
↓ 2 callersFunctioninvokeAgentTool
( id: K, input: AgentToolInputMap[K], )
apps/studio/src/utils/aiAuthoring/agentRegistry.ts:131
↓ 2 callersFunctionisCompleted
()
apps/studio/src/composables/useOnboardingTour.ts:60
↓ 2 callersFunctionisImage
(path: string)
packages/gui/client/utils/fs.ts:24
↓ 2 callersFunctionisImageGenerationAvailable
(config: AiConfig)
apps/studio/src/utils/aiImageClient.ts:287
↓ 2 callersFunctionisPresentAttributeValue
(value: unknown)
packages/parser/src/character.ts:217
↓ 2 callersFunctionisValidPackageName
(projectName: string)
packages/create-adv/src/utils.ts:55
↓ 2 callersFunctionleaveRoom
* Leave the current collaboration room.
apps/studio/src/composables/useCollabRoom.ts:193
↓ 2 callersFunctionlinkToNextAnchor
(fromId: string, fromIndex: number, edgeLabel?: string)
packages/core/src/engine/branches.ts:124
↓ 2 callersMethodlist
* List all session IDs
packages/core/src/engine/session.ts:163
↓ 2 callersFunctionlistMdFilesRecursiveFs
* Recursively list all .md files under a directory via IFileSystem.
apps/studio/src/composables/useKnowledgeBase.ts:338
↓ 2 callersMethodlistSlots
* List slots for a given session, ordered newest first.
packages/core/src/engine/session.ts:249
↓ 2 callersFunctionlistTtsProviders
()
apps/studio/src/utils/ttsClient.ts:69
↓ 2 callersFunctionload
(cloudApp: cloudbase.app.App)
apps/studio/src/stores/useNotificationsStore.ts:55
↓ 2 callersFunctionloadAdvConfig
(options: AdvEntryOptions)
packages/advjs/node/config/index.ts:42
↓ 2 callersFunctionloadAdvGameConfig
()
packages/advjs/node/config/game.ts:11
↓ 2 callersFunctionloadAdvGameConfigFromType
(type: T, options: ResolvedAdvOptions)
packages/advjs/node/config/game.ts:39
↓ 2 callersFunctionloadAdvThemeConfig
(options: AdvEntryOptions)
packages/advjs/node/config/theme.ts:19
↓ 2 callersFunctionloadChapter
* load chapter
packages/client/composables/useAdvNav.ts:17
↓ 2 callersFunctionloadDirHandle
(projectName: string)
apps/studio/src/utils/dirHandleStore.ts:23
↓ 2 callersFunctionloadFromCos
* Load project content from COS cloud storage
apps/studio/src/composables/useProjectContent.ts:303
↓ 2 callersFunctionloadFromFs
* Load project content from an IFileSystem instance
apps/studio/src/composables/useProjectContent.ts:98
↓ 2 callersFunctionloadItems
()
apps/studio/src/composables/useRecentActivity.ts:31
↓ 2 callersFunctionloadRegistry
()
apps/studio/src/utils/templates/loadTemplate.ts:103
↓ 2 callersFunctionmakeAudio
(file: string, opts?: Partial<AudioInfo>)
apps/studio/src/__tests__/projectValidation.test.ts:18
↓ 2 callersFunctionmakeLoadScreen
()
packages/core/src/pixi/assets/index.ts:26
↓ 2 callersFunctionmakeLocation
(id: string, name: string, file?: string, opts?: Partial<LocationInfo>)
apps/studio/src/__tests__/projectValidation.test.ts:22
↓ 2 callersFunctionmakeProject
(sceneFile: string, sceneContent: string)
tests/unit/scene-schema.test.ts:62
↓ 2 callersMethodmkdir
(path: string)
apps/studio/src/utils/fs/MemoryFsAdapter.ts:237
↓ 2 callersFunctionmount
* Mount the WebContainer with the ADV project files.
packages/webcontainer/src/composable.ts:108
↓ 2 callersFunctionnormalizeChapterFilename
(name: string)
packages/mcp-server/src/index.ts:152
↓ 2 callersFunctionnormalizeDuration
(value: unknown)
apps/studio/src/utils/marketTaxonomy.ts:97
↓ 2 callersMethodnormalizeSession
(session: PlaySession)
packages/core/src/engine/runtime.ts:329
↓ 2 callersMethodoff
(event: string, fn: (...args: any[]) => void)
apps/studio/src/utils/y-cloudbase.ts:208
↓ 2 callersFunctionoutput
(data: unknown, json: boolean)
packages/advjs/node/cli/play.ts:66
↓ 2 callersFunctionparse
(filepath: string)
packages/parser/src/fs.ts:30
↓ 2 callersFunctionpathExists
(path: string)
packages/advjs/node/utils/fs.ts:13
↓ 2 callersFunctionpause
* Pause the world clock.
apps/studio/src/stores/useWorldClockStore.ts:137
↓ 2 callersMethodpersist
Flush all nodes to IndexedDB
apps/studio/src/utils/fs/MemoryFsAdapter.ts:87
↓ 2 callersFunctionphrasingToText
(children: AdvAst.PhrasingContent[])
apps/studio/src/utils/advPreview.ts:9
↓ 2 callersMethodpushAwareness
* Push local awareness state to CloudBase.
apps/studio/src/utils/y-cloudbase.ts:413
↓ 2 callersFunctionpushNotConfiguredFallback
( messages: Array<{ role: string, content: string, timestamp: number }>, isLoading: Ref<boolean>, )
apps/studio/src/utils/chatUtils.ts:248
↓ 2 callersFunctionquoteLabel
* Mermaid-safe quoting: wrap label in `"..."` after escaping inner quotes.
packages/core/src/engine/branches.ts:51
↓ 2 callersFunctionread
* 理解文本 * @param text
packages/client/composables/useAdvLogic.ts:90
↓ 2 callersMethodreadFile
(path: string)
apps/studio/src/utils/fs/CapacitorFsAdapter.ts:46
↓ 2 callersFunctionreadQueue
()
apps/studio/src/utils/telemetry.ts:70
↓ 2 callersFunctionrefresh
()
apps/studio/src/composables/usePlaySaveSlots.ts:71
↓ 2 callersFunctionregisterAiProvider
(provider: AiProviderPlugin)
apps/studio/src/utils/aiProviderRegistry.ts:24
↓ 2 callersFunctionresolveChapterPath
(id: string)
packages/mcp-server/src/index.ts:366
↓ 2 callersFunctionresolveThemeName
(name?: string)
packages/advjs/node/themes.ts:41
↓ 2 callersFunctionrunWithConcurrencyLimit
* 控制 promise 并发数
plugins/plugin-pominis/src/adapter.ts:14
↓ 2 callersFunctionsanitizeFilename
(input: string)
packages/advjs/node/commands/utils.ts:48
↓ 2 callersFunctionsave
(slot: string, snapshot: PlaySaveSnapshot, note?: string)
apps/studio/src/composables/usePlaySaveSlots.ts:81
↓ 2 callersFunctionscreenshot
(el: HTMLElement, options: Partial<Options> = {})
packages/client/utils/screenshots.ts:19
↓ 2 callersFunctionscreenshot
(el: HTMLElement, options: Partial<Options> = {})
packages/core/src/utils/screenshots.ts:19
↓ 2 callersFunctionselect
(item: FSItem)
packages/gui/client/composables/useFileSelection.ts:15
↓ 2 callersFunctionsendHeartbeat
* Send a heartbeat to the presence collection.
apps/studio/src/stores/useCollabStore.ts:392
↓ 2 callersFunctionsetFlowDataWithoutViewport
(data: FlowExportObject)
packages/flow/composables/useFlowHistory.ts:60
↓ 2 callersFunctionsetupAdvContext
(ctx: { config: AdvContext['config'] gameConfig: AdvContext['gameConfig'] themeConfig: AdvContext['theme
packages/client/setup/context.ts:16
↓ 2 callersFunctionshouldHalt
()
packages/client/composables/useAdvAuto.ts:28
↓ 2 callersFunctionshouldSkipExtraction
(message: string)
apps/studio/src/utils/aiExtraction.ts:137
↓ 2 callersFunctionsimulateRoleplay
( opts: SimulateRoleplayOptions, )
apps/studio/src/utils/aiAuthoring/roleplaySimulator.ts:76
↓ 2 callersFunctionsleep
(ms: number)
packages/core/src/utils/time.ts:4
↓ 2 callersFunctionstartAutoSync
* Start automatic periodic sync.
apps/studio/src/composables/useCloudSync.ts:326
↓ 2 callersFunctionstartSession
* Start a collaborative session for the current project. * Creates a Yjs document, loads local cache via y-indexeddb first, * then connects to C
apps/studio/src/composables/useCollabRoom.ts:60
↓ 2 callersMethodstat
(path: string)
apps/studio/src/utils/fs/CapacitorFsAdapter.ts:103
↓ 2 callersFunctionstopGeneration
()
apps/studio/src/stores/useChatStore.ts:260
↓ 2 callersFunctionstopPresence
* Stop presence tracking.
apps/studio/src/stores/useCollabStore.ts:377
↓ 2 callersFunctionstopSession
* Stop the collaborative session.
apps/studio/src/composables/useCollabRoom.ts:111
↓ 2 callersFunctionstreamToMessage
(opts: { allMessages: ChatMessage[] messageList: Array<{ role: string, content: string, timestamp: number
apps/studio/src/utils/chatUtils.ts:277
↓ 2 callersFunctionstripHtmlTags
Minimal HTML-to-text fallback when Readability is unavailable.
apps/studio/src/utils/sourceParser.ts:410
↓ 2 callersFunctionstyleLabelKey
(id: string | undefined)
apps/studio/src/utils/marketTaxonomy.ts:107
↓ 2 callersFunctionswitchProject
* Switch to a different project with full flush → reset → reload cycle. * This is the primary entry point for project switching.
apps/studio/src/stores/useStudioStore.ts:177
↓ 2 callersFunctiontestPerformance
(name: string, callback: () => void)
packages/benchmarks/src/visit/utils.ts:6
↓ 2 callersFunctiontoValidPackageName
(projectName: string)
packages/create-adv/src/utils.ts:61
↓ 2 callersMethodtrackAppliedId
* Track an applied update ID for deduplication. * Bounded to MAX_APPLIED_IDS to prevent unbounded memory growth.
apps/studio/src/utils/y-cloudbase.ts:452
↓ 2 callersFunctiontransformObject
(obj: any)
packages/advjs/node/markdown/markdown.ts:12
↓ 2 callersFunctiontriggerBackgroundExtraction
( characterId: string, characterName: string, userMessage: string, aiResponse: string, )
apps/studio/src/utils/aiExtraction.ts:146
↓ 2 callersFunctionuint8ArrayToBase64
(data: Uint8Array)
apps/studio/src/utils/y-cloudbase.ts:582
↓ 2 callersFunctionupdateServerWatcher
()
packages/advjs/node/vite/loaders.ts:66
↓ 2 callersFunctionuseCloudbaseAuth
()
apps/studio/src/composables/useCloudbase.ts:15
↓ 2 callersFunctionuseStreamingGenerate
()
apps/studio/src/composables/useStreamingGenerate.ts:26
↓ 2 callersFunctionweightedRandomSpeaker
* Weighted random speaker selection. * Characters who haven't spoken recently get higher weight.
apps/studio/src/stores/useGroupChatStore.ts:535
↓ 2 callersFunctionwrite
(file: string, content?: string)
packages/create-adv/src/cli.ts:145
↓ 2 callersFunctionwriteBinaryToFs
* Write a binary file via IFileSystem
apps/studio/src/composables/useContentSave.ts:46
↓ 2 callersMethodwriteBlob
(path: string, data: Blob)
apps/studio/src/utils/fs/MemoryFsAdapter.ts:225
↓ 2 callersFunctionwriteJSON
( file: string, data: any, options: WriteJSONOptions = {}, )
packages/ai/src/utils/fs.ts:27
↓ 2 callersFunctionwriteTemplateFiles
( fs: IFileSystem, files: TemplateFile[], )
apps/studio/src/utils/projectTemplate.ts:900
↓ 2 callersFunctionyamlQuoteString
(value: string)
packages/mcp-server/src/index.ts:96
↓ 1 callersFunction$reset
()
apps/studio/src/composables/useProjectContent.ts:487
↓ 1 callersFunction$reset
()
apps/studio/src/composables/useProjectDescription.ts:97
↓ 1 callersFunction$reset
()
apps/studio/src/composables/useWorldContext.ts:82
↓ 1 callersFunctionViteAdvPlugin
( options: ResolvedAdvOptions, pluginOptions: AdvPluginOptions, serverOptions: AdvServerOptions = {}, )
packages/advjs/node/vite/index.ts:24
↓ 1 callersMethod_collectRecursive
( dir: FileSystemDirectoryHandle, basePath: string, )
apps/studio/src/utils/fs/BrowserFsAdapter.ts:219
← previousnext →401–500 of 1,616, ranked by callers