MCPcopy Create free account

hub / github.com/YunYouJun/advjs / functions

Functions1,616 in github.com/YunYouJun/advjs

↓ 3 callersFunctiontargetVolume
()
packages/client/composables/useAdvBgm.ts:28
↓ 3 callersFunctiontf
(key: keyof FormatterMessages, ...args: (string | number)[])
packages/core/src/engine/i18n.ts:63
↓ 3 callersFunctiontoChatMessagePlain
Strip non-serialisable / transient fields from ChatMessage before writing to Y.Array.
apps/studio/src/composables/useCollabSync.ts:21
↓ 3 callersFunctionttsStop
()
apps/studio/src/utils/ttsClient.ts:346
↓ 3 callersFunctionuiBlocked
()
packages/client/composables/useAdvKeys.ts:32
↓ 3 callersFunctionupdateUndoRedoEnabled
* update undo/redo menu enabled
packages/flow/composables/useFlowHistory.ts:120
↓ 3 callersMethodupload
* Upload a local file to COS.
plugins/plugin-cos/src/index.ts:55
↓ 3 callersFunctionuseCloudbaseApp
()
apps/studio/src/composables/useCloudbase.ts:8
↓ 3 callersFunctionuseRecentProjects
()
editor/core/app/composables/useRecentProjects.ts:11
↓ 3 callersFunctionuseSound
( url: MaybeRef<string>, { volume = 1, playbackRate = 1, soundEnabled = true, interrupt =
packages/client/composables/sound/index.ts:18
↓ 3 callersFunctionwithClient
(fn: (client: Client) => Promise<T>)
tests/unit/mcp-resources.test.ts:48
↓ 3 callersFunctionwriteQueue
(events: TelemetryEvent[])
apps/studio/src/utils/telemetry.ts:80
↓ 2 callersFunction_parseSseLine
Parse a single SSE line and return the content delta, or null.
apps/studio/src/utils/aiClient.ts:181
↓ 2 callersFunctionaddEvent
(event: WorldEvent)
apps/studio/src/stores/useWorldEventStore.ts:45
↓ 2 callersFunctionaddRecentProject
(project: Omit<RecentProject, 'lastOpenedAt'>)
editor/core/app/composables/useRecentProjects.ts:14
↓ 2 callersFunctionalreadyRecorded
True if the (collection, key) dedup row already exists.
apps/studio/cloudbase/functions/marketStats/index.js:67
↓ 2 callersFunctionapplyClockFromYMap
( ymap: Y.Map<any>, store: ReturnType<typeof useWorldClockStore>, )
apps/studio/src/composables/useCollabSync.ts:245
↓ 2 callersFunctionapplyTheme
()
apps/studio/src/utils/capacitor.ts:30
↓ 2 callersFunctionapplyTheme
(value: 'light' | 'dark' | 'system')
apps/studio/src/stores/useSettingsStore.ts:89
↓ 2 callersFunctionassembleProjectContext
( readFn: (path: string) => Promise<string>, )
apps/studio/src/utils/projectContext.ts:20
↓ 2 callersFunctionbuildCharacterMd
(params: CharacterCreateInput)
packages/mcp-server/src/index.ts:166
↓ 2 callersFunctionbuildChatMessageError
(err: unknown)
apps/studio/src/utils/chatUtils.ts:33
↓ 2 callersFunctionbuildHtmlPage
( options: ConversationHtmlOptions, theme: typeof THEMES[ConversationTheme], messagesHtml: string, dat
apps/studio/src/utils/conversationHtml.ts:114
↓ 2 callersFunctionbuildPromptTemplateResponse
(template: import('../utils/aiImageClient').ImagePromptTemplate)
apps/studio/src/stores/useChatStore.ts:164
↓ 2 callersFunctioncharacterToFields
(character: Partial<AdvCharacter>)
editor/core/server/utils/feishu-fields.ts:41
↓ 2 callersFunctioncollectFiles
* Recursively collect all files in a directory, returning relative paths.
packages/advjs/node/commands/sync.ts:18
↓ 2 callersFunctioncommitData
()
packages/flow/composables/useFlowHistory.ts:127
↓ 2 callersFunctioncopy
(src: string, dest: string)
packages/create-adv/src/utils.ts:23
↓ 2 callersFunctioncreateAdvMcpServer
()
packages/mcp-server/src/index.ts:239
↓ 2 callersFunctioncreateAdvVirtualLoader
(advOptions: ResolvedAdvOptions, serverOptions: AdvServerOptions)
packages/advjs/node/vite/loaders.ts:60
↓ 2 callersFunctioncreateArcRotateCamera
(scene: BABYLON.Scene)
plugins/plugin-babylon/src/camera/index.ts:6
↓ 2 callersFunctioncreateAuthUrl
(params: { clientId?: string redirectUri?: string scope?: string state?: string })
plugins/plugin-feishu/src/auth.ts:10
↓ 2 callersFunctioncreateComponentsPlugin
(options: ResolvedAdvOptions, pluginOptions: AdvPluginOptions)
packages/advjs/node/vite/components.ts:17
↓ 2 callersFunctioncreateConfigPlugin
(options: ResolvedAdvOptions)
packages/advjs/node/vite/extendConfig.ts:145
↓ 2 callersFunctioncreateDefaultEmotionalState
()
apps/studio/src/stores/useCharacterMemoryStore.ts:56
↓ 2 callersFunctioncreateDefaultState
()
apps/studio/src/stores/useCharacterStateStore.ts:12
↓ 2 callersFunctioncreateMemoryFs
()
apps/studio/src/__tests__/useProjectImport.test.ts:81
↓ 2 callersFunctioncreateScriptedBridge
(responses: ScriptedResponse[])
apps/studio/src/__tests__/useProjectImport.test.ts:28
↓ 2 callersFunctioncreateServer
()
plugins/plugin-feishu/src/express.ts:13
↓ 2 callersFunctioncreateVRM
(scene: BABYLON.Scene, rootUrl: string, vrmFilename: string | File, onLoaded?: () => void)
plugins/plugin-babylon/src/vrm/scene.ts:46
↓ 2 callersFunctiondataUriToBytes
* Convert a data URI to a Uint8Array for writing as binary
apps/studio/src/composables/useContentSave.ts:32
↓ 2 callersMethoddeleteFile
(path: string)
apps/studio/src/utils/fs/MemoryFsAdapter.ts:250
↓ 2 callersFunctionderiveTitleFromFilename
(filename?: string)
apps/studio/src/utils/sourceParser.ts:620
↓ 2 callersFunctiondirectoryExists
(parentDir: WritableDirectoryHandle, slug: string)
apps/studio/src/composables/useProjectImport.ts:118
↓ 2 callersFunctiondomToPngBlob
* Render a DOM element to PNG blob using modern-screenshot.
apps/studio/src/utils/shareUtils.ts:26
↓ 2 callersFunctiondrawTwoTiles
(hex: Hex)
editor/core/app/utils/map/hexagonal/tiles.ts:6
↓ 2 callersFunctionensureDir
(dir: string)
packages/ai/src/utils/fs.ts:12
↓ 2 callersFunctionensureEnd
()
packages/core/src/engine/branches.ts:137
↓ 2 callersFunctionescapeAttr
(str: string)
apps/studio/src/composables/useStandaloneBuild.ts:204
↓ 2 callersFunctionescapeRegex
(str: string)
apps/studio/src/utils/projectValidation.ts:373
↓ 2 callersFunctionescapeYaml
(s: string)
apps/studio/src/utils/projectGenerator.ts:614
↓ 2 callersFunctionexportCharactersToCSV
(characters: AdvCharacter[])
apps/studio/src/utils/csvExport.ts:36
↓ 2 callersFunctionexportRelationshipsToCSV
(characters: AdvCharacter[])
apps/studio/src/utils/csvExport.ts:96
↓ 2 callersFunctionexportTimelineToCSV
(entries: { date: string, period?: string, kind: string, type?: string, summary: string, mood?: string, charac
apps/studio/src/utils/csvExport.ts:69
↓ 2 callersFunctionextractCharacterRefs
(content: string)
packages/parser/src/refs.ts:21
↓ 2 callersFunctionextractDomain
* Determine domain from file path. * `adv/knowledge/law/criminal.md` → 'law' * `adv/knowledge/overview.md` → 'general'
apps/studio/src/composables/useKnowledgeBase.ts:403
↓ 2 callersFunctionextractSceneRefs
(content: string)
packages/parser/src/refs.ts:38
↓ 2 callersFunctionextractText
* Extract text from mdast PhrasingContent children
packages/core/src/engine/formatter.ts:8
↓ 2 callersFunctionfetchCharacters
* 从本地 .character.md 文件读取角色列表(服务端 API)
editor/core/app/stores/useCharacterStore.ts:88
↓ 2 callersFunctionfetchCharactersFromHandle
* 递归遍历目录读取 .character.md 文件
editor/core/app/stores/useCharacterStore.ts:249
↓ 2 callersFunctionfetchRoom
* Fetch the collaboration room for a project (if any).
apps/studio/src/stores/useCollabStore.ts:146
↓ 2 callersFunctionfindNextAnchorIndex
* Walk the AST starting at `fromIndex` and return the first scene/choices * node index, or null if the walk falls off the end (the choice runs into
packages/core/src/engine/branches.ts:74
↓ 2 callersFunctionfinish
()
apps/studio/src/composables/useOnboardingTour.ts:120
↓ 2 callersMethodflushPendingUpdate
* Write the buffered pending update to CloudBase.
apps/studio/src/utils/y-cloudbase.ts:494
↓ 2 callersFunctionflushSection
()
packages/parser/src/character.ts:406
↓ 2 callersFunctionformatCoverageText
(report: CoverageReport)
packages/core/src/engine/branches.ts:414
↓ 2 callersFunctionformatJson
(graph: BranchGraph)
packages/core/src/engine/branches.ts:488
↓ 2 callersFunctionformatMermaid
(graph: BranchGraph)
packages/core/src/engine/branches.ts:451
↓ 2 callersFunctionformatTargetDir
(targetDir: string | undefined)
packages/create-adv/src/utils.ts:14
↓ 2 callersFunctionformatText
(graph: BranchGraph)
packages/core/src/engine/branches.ts:496
↓ 2 callersFunctionformatTime
(timestamp: number)
apps/studio/src/utils/conversationHtml.ts:41
↓ 2 callersFunctionfromChatMessagePlain
(obj: Record<string, unknown>)
apps/studio/src/composables/useCollabSync.ts:30
↓ 2 callersFunctiongenerateId
()
apps/studio/src/stores/useWorldEventStore.ts:13
↓ 2 callersFunctiongenerateImage
( options: ImageGenerateOptions, config: AiConfig, )
apps/studio/src/utils/aiImageClient.ts:261
↓ 2 callersFunctiongenerateNextTurn
* AI selects a speaker and generates a reply.
apps/studio/src/stores/useGroupChatStore.ts:327
↓ 2 callersFunctiongenerateViaOpenAI
* Works with OpenAI and other compatible providers.
apps/studio/src/utils/aiImageClient.ts:188
↓ 2 callersFunctiongenreLabelKey
(id: string | undefined)
apps/studio/src/utils/marketTaxonomy.ts:102
↓ 2 callersFunctiongetAdvThemeRules
()
apps/studio/src/utils/advLanguage.ts:115
↓ 2 callersFunctiongetAgentTool
(id: string)
apps/studio/src/utils/aiAuthoring/agentRegistry.ts:119
↓ 2 callersFunctiongetAiProvider
(id: string)
apps/studio/src/utils/aiProviderRegistry.ts:28
↓ 2 callersFunctiongetAllPackages
()
scripts/utils/monorepo.ts:6
↓ 2 callersFunctiongetAssetsPrefix
(online = 'https://playground.babylonjs.com', local = '/assets')
plugins/plugin-babylon/src/scene/default.ts:4
↓ 2 callersFunctiongetBaseUrl
(_event)
apps/studio/cloud/functions/shortlink/index.js:84
↓ 2 callersFunctiongetBgmSrcUrl
(params: { cdnUrl: string bgmName: string })
packages/core/src/utils/bgm.ts:4
↓ 2 callersFunctiongetCharacter
(characters: AdvCharacter[], name: string)
packages/core/src/utils/functions.ts:3
↓ 2 callersFunctiongetConsecutiveSpeakerCount
(room: GroupChatRoom, speakerId?: string)
apps/studio/src/stores/useGroupChatStore.ts:585
↓ 2 callersFunctiongetCosConfig
* Get COS config stripped of non-COS fields (for passing to cloudSync utils).
apps/studio/src/composables/useCloudSync.ts:39
↓ 2 callersFunctiongetDefaultSettings
()
packages/client/stores/settings/index.ts:14
↓ 2 callersFunctiongetGameViewDom
()
packages/client/utils/screenshots.ts:27
↓ 2 callersFunctiongetGameViewDom
()
packages/core/src/utils/screenshots.ts:27
↓ 2 callersFunctiongetIconFromFSHandle
(fsHandle: FileSystemFileHandle | FileSystemDirectoryHandle)
packages/gui/client/components/explorer/utils.ts:21
↓ 2 callersFunctiongetImportedName
(idx: number)
packages/advjs/node/virtual/game.ts:30
↓ 2 callersFunctiongetModuleRoot
(name: string, entry?: string)
packages/advjs/node/utils/root.ts:12
↓ 2 callersFunctiongetMonaco
()
apps/studio/src/utils/monacoSetup.ts:20
↓ 2 callersFunctiongetRepoFileContent
* get repo file content
editor/core/app/stores/useGitHubStore.ts:133
↓ 2 callersFunctiongetRoomSnapshots
(roomId: string)
apps/studio/src/stores/useGroupChatStore.ts:698
↓ 2 callersFunctiongetSharedMap
* Get or create a shared Y.Map for structured data.
apps/studio/src/composables/useCollabRoom.ts:135
↓ 2 callersFunctiongetSnapshots
(characterId: string)
apps/studio/src/stores/useCharacterChatStore.ts:441
↓ 2 callersMethodgetTachieAscii
()
packages/core/src/engine/runtime.ts:374
↓ 2 callersFunctiongetVrmManager
(scene: BABYLON.Scene)
plugins/plugin-babylon/src/vrm/scene.ts:6
← previousnext →301–400 of 1,616, ranked by callers