MCPcopy Create free account

hub / github.com/refly-ai/refly / functions

Functions5,783 in github.com/refly-ai/refly

↓ 2 callersMethoddeleteResource
(user: User, resourceId: string)
apps/api/src/modules/knowledge/resource.service.ts:833
↓ 2 callersMethoddeleteSchedule
(uid: string, scheduleId: string)
apps/api/src/modules/schedule/schedule.service.ts:384
↓ 2 callersMethoddeleteToolset
(user: User, param: DeleteToolsetRequest)
apps/api/src/modules/tool/tool.service.ts:609
↓ 2 callersFunctiondetectActualTypeFromType
(type: CodeArtifactType)
packages/utils/src/artifact.ts:258
↓ 2 callersFunctiondisableDefaultModelConfirm
(modelName: string, handleOk: () => void)
packages/ai-workspace-common/src/components/settings/model-config/index.tsx:403
↓ 2 callersMethoddisableWebhook
* Disable webhook
apps/api/src/modules/webhook/webhook.service.ts:137
↓ 2 callersMethoddispatchDocumentIngest
* Dispatch a document ingest task
apps/api/src/modules/lambda/lambda.service.ts:186
↓ 2 callersMethoddispatchDocumentRender
* Dispatch a document render task
apps/api/src/modules/lambda/lambda.service.ts:297
↓ 2 callersMethoddownloadExportJobResult
* Download export job result * * @param user - The user downloading the result * @param jobId - Export job ID * @returns Buffer with file
apps/api/src/modules/drive/drive.service.ts:2650
↓ 2 callersMethoddumpFileFromURL
( user: User, param: { url: string; entityId?: string; entityType?: EntityType;
apps/api/src/modules/misc/misc.service.ts:167
↓ 2 callersMethodduplicateCanvasCommon
* Common canvas duplication logic shared between duplicateSharedCanvas and duplicateSharedWorkflowApp
apps/api/src/modules/share/share-duplication.service.ts:821
↓ 2 callersMethodduplicateDriveFilesForShare
* Duplicate drive files for share to make it independent from original canvas * This ensures that deleting original files won't affect the shared c
apps/api/src/modules/share/share-common.service.ts:185
↓ 2 callersMethodduplicateShare
( @LoginedUser() user: User, @Body() body: DuplicateShareRequest, )
apps/api/src/modules/share/share.controller.ts:64
↓ 2 callersMethodduplicateSharedCodeArtifact
( user: User, param: DuplicateShareRequest, options?: DuplicateOptions, )
apps/api/src/modules/share/share-duplication.service.ts:322
↓ 2 callersMethodduplicateSharedDocument
( user: User, param: DuplicateShareRequest, options?: DuplicateOptions, )
apps/api/src/modules/share/share-duplication.service.ts:89
↓ 2 callersMethodduplicateSharedResource
( user: User, param: DuplicateShareRequest, options?: DuplicateOptions, )
apps/api/src/modules/share/share-duplication.service.ts:191
↓ 2 callersMethodduplicateSharedSkillResponse
( user: User, param: DuplicateShareRequest, extra?: { target?: Entity; replaceEntityMa
apps/api/src/modules/share/share-duplication.service.ts:401
↓ 2 callersMethodemailLogin
(email: string, password: string)
apps/api/src/modules/auth/auth.service.ts:604
↓ 2 callersMethodemailSignup
( email: string, password: string, )
apps/api/src/modules/auth/auth.service.ts:554
↓ 2 callersFunctionemitAddToContext
({ contextItem, duplicated, }: { contextItem: IContextItem; duplicated: boolean })
packages/ai-workspace-common/src/utils/event-emitter/context.ts:20
↓ 2 callersFunctionemitAddToContextCompleted
({ contextItem, success, }: { contextItem: IContextItem; success: boolean })
packages/ai-workspace-common/src/utils/event-emitter/context.ts:28
↓ 2 callersMethodenableWebhook
* Enable webhook for a canvas
apps/api/src/modules/webhook/webhook.service.ts:68
↓ 2 callersMethodendGeneration
* Update generation with output and usage, then end it
packages/observability/src/trace-manager.ts:238
↓ 2 callersMethodendStep
* End timing a step and return its duration * @param stepName Name of the step to end * @returns Duration of the step in milliseconds
packages/utils/src/timeTracker.ts:30
↓ 2 callersMethodenforceRateLimit
* Check rate limit and throw error if exceeded * @param userId - User identifier * @param entityType - Type of entity being shared * @param e
apps/api/src/modules/share/share-rate-limit.service.ts:65
↓ 2 callersMethodenqueueKill
* Enqueue async kill task for sandbox cleanup * Fire-and-forget pattern - does not block caller
apps/api/src/modules/tool/sandbox/scalebox.pool.ts:186
↓ 2 callersMethodenrichActionResultWithDetails
( user: User, result: ActionResult, options?: { sanitizeForDisplay?: boolean }, )
apps/api/src/modules/action/action.service.ts:97
↓ 2 callersMethodesc
(str: string, startOfLine = false)
packages/utils/src/editor/to_markdown.ts:636
↓ 2 callersMethodexists
(key: string)
apps/api/src/modules/common/redis.service.ts:282
↓ 2 callersFunctionextractBaseResp
(response: Response, data: any)
packages/ai-workspace-common/src/requests/proxiedRequest.ts:42
↓ 2 callersFunctionextractExample
(content: Record<string, any>)
packages/openapi-schema/scripts/generate-docs.ts:193
↓ 2 callersFunctionextractFileIdFromString
* Extract fileId from a string in various formats * @param value - String value that may contain a fileId * @returns The extracted fileId (df-xxx fo
packages/utils/src/file-id.ts:104
↓ 2 callersFunctionextractFromAnyOf
(target: Record<string, unknown>)
packages/ai-workspace-common/src/components/rjsf/theme.tsx:139
↓ 2 callersMethodextractOperation
* Extract SQL operation type from query string
apps/api/src/modules/common/prisma.metrics.ts:152
↓ 2 callersMethodextractPayload
* Extract payload from result, excluding system fields
apps/api/src/modules/common/vector-search/backend/lancedb.ts:271
↓ 2 callersMethodextractRoleFromAnswers
(answers: string)
apps/api/src/modules/form/form.service.ts:18
↓ 2 callersFunctionextractRootDomain
* Extract root domain from URL for deduplication
apps/api/src/modules/tool/utils/token.ts:51
↓ 2 callersFunctionextractTextAndLinks
(children: any[])
packages/ai-workspace-common/src/components/markdown/plugins/tool-call/nodeProcessor.ts:43
↓ 2 callersMethodextractTitle
(page: any)
packages/agent-tools/src/notion/index.ts:2160
↓ 2 callersMethodextractTranslationKeys
* extract translation keys from TypeScript translation files
scripts/check-i18n-consistency.js:52
↓ 2 callersFunctionextractVersion
(html: string)
apps/web/src/service-worker-sw.ts:208
↓ 2 callersFunctionextractVolcengineConfig
* Extract Volcengine auth config from credentials and request * Supports two formats: * 1. Nested: { auth: { type: 'volcengine_signature', accessKey
apps/api/src/modules/tool/dynamic-tooling/adapters/volcengine.ts:363
↓ 2 callersFunctionfetchDeviceInit
( deviceId: string, cliVersion: string, host: string, )
packages/web-core/src/pages/cli-auth/index.tsx:49
↓ 2 callersMethodfetchTools
* Fetch tools from Composio API * @param userId - The user ID (user.uid for OAuth, 'refly_global' for API Key tools) * @param integrationId - Th
apps/api/src/modules/tool/composio/composio.service.ts:182
↓ 2 callersFunctionfetchWebhookConfig
()
packages/ai-workspace-common/src/components/canvas/integration-docs/integration-docs-modal.tsx:180
↓ 2 callersFunctionfetchWithRetry
(url: string, options?: RequestInit)
packages/utils/src/translate/index.ts:76
↓ 2 callersMethodfileExistsInOss
* Check if a file exists in OSS * @param oss - The OSS instance to check * @param storageKey - The storage key to check * @returns true if fi
apps/api/src/modules/drive/drive.service.ts:1600
↓ 2 callersMethodfileStorageExists
( storageKey: string, visibility: FileVisibility = 'public', )
apps/api/src/modules/misc/misc.service.ts:93
↓ 2 callersMethodfinalizeResource
* Process resource after being inserted, including scraping actual content, chunking and * save embeddings to vector store.
apps/api/src/modules/knowledge/resource.service.ts:670
↓ 2 callersFunctionfindAgentMeta
(tokenId: string, tokenName: string)
packages/ai-workspace-common/src/components/canvas/launchpad/rich-chat-input/utils.ts:158
↓ 2 callersMethodfindCreditBillingForItems
* Try to find credit billing config for user-specific provider items * @param items - The provider items to find credit billing for * @returns A
apps/api/src/modules/provider/provider.service.ts:624
↓ 2 callersMethodfindFileAndBindEntity
(storageKey: string, entity: Entity)
apps/api/src/modules/misc/misc.service.ts:335
↓ 2 callersFunctionfindFileMeta
(tokenId: string, tokenName: string)
packages/ai-workspace-common/src/components/canvas/launchpad/rich-chat-input/utils.ts:189
↓ 2 callersFunctionfindTargetPath
( startDir: string, targetName: string, targetType: TargetType = 'file', maxDepth = 10, )
apps/api/src/utils/runtime.ts:22
↓ 2 callersMethodfindValidApiKeyRecord
(apiKey: string)
apps/api/src/modules/auth/api-key.service.ts:215
↓ 2 callersFunctionfixIncompleteJson
(jsonStr: string)
packages/utils/src/json-repair.ts:78
↓ 2 callersMethodflush
()
packages/observability/src/types.ts:7
↓ 2 callersFunctionformatDate
(dateString: string | null | undefined)
packages/web-core/src/pages/workflow-app/workflow-app-form.tsx:77
↓ 2 callersMethodformatInvitationCodes
* format invitation codes for response
apps/api/src/modules/invitation/invitation.service.ts:138
↓ 2 callersFunctionformatNumber
(num: number)
packages/ai-workspace-common/src/components/subscription/usage-progress.tsx:12
↓ 2 callersFunctionformatSchemaType
(schema?: SchemaNode)
packages/openapi-schema/scripts/generate-docs.ts:480
↓ 2 callersFunctionformatSchemaType
(schema?: SchemaObject)
packages/ai-workspace-common/src/components/canvas/integration-docs/utils.ts:188
↓ 2 callersMethodfromCodeBoxStatus
(codeBoxStatus: any)
packages/sandbox-agent/src/schema.ts:136
↓ 2 callersFunctiongenImageID
()
packages/utils/src/id.ts:144
↓ 2 callersFunctiongenInvitationActivationCreditRechargeId
(inviterUid: string, inviteeUid: string)
packages/utils/src/id.ts:335
↓ 2 callersFunctiongenInviteCode
()
packages/utils/src/id.ts:359
↓ 2 callersFunctiongenMediaSkillID
()
packages/utils/src/id.ts:230
↓ 2 callersFunctiongenSkillPackageID
()
packages/utils/src/id.ts:376
↓ 2 callersFunctiongenSkillPackageInstallationID
()
packages/utils/src/id.ts:384
↓ 2 callersFunctiongenSkillPackageWorkflowID
()
packages/utils/src/id.ts:380
↓ 2 callersFunctiongenTokenUsageMeterID
()
packages/utils/src/id.ts:206
↓ 2 callersFunctiongenUniqueId
()
packages/ai-workspace-common/src/utils/index.ts:7
↓ 2 callersMethodgenerate
( @LoginedUser() user: User, @Body() body: GenerateWorkflowCliRequest, )
apps/api/src/modules/workflow/workflow-cli.controller.ts:668
↓ 2 callersMethodgenerateAppPublishTemplate
* Generate APP publish template * Based on Canvas all original prompts and variables, generate user-friendly natural language template * This is
apps/api/src/modules/variable-extraction/variable-extraction.service.ts:1308
↓ 2 callersFunctiongenerateCoverUrl
(storageKey: string)
apps/api/src/modules/workflow-app/workflow-app.dto.ts:54
↓ 2 callersFunctiongenerateDescriptionExample
* Generate an example description based on skill name.
packages/cli/src/commands/skill/update.ts:61
↓ 2 callersMethodgenerateDescriptionExample
* Generate an example description based on skill name and workflow query.
apps/api/src/modules/skill-package/skill-package.service.ts:1023
↓ 2 callersMethodgenerateDriveFileUrls
* Generates drive file URLs based on configured payload mode * @param user - The user requesting the URLs * @param files - Array of drive files
apps/api/src/modules/drive/drive.service.ts:1174
↓ 2 callersFunctiongenerateExampleFromSchema
(schema?: SchemaNode | null)
packages/openapi-schema/scripts/generate-docs.ts:553
↓ 2 callersMethodgenerateKey
* Generate a unique key for rate limiting based on user, entity type and entity ID
apps/api/src/modules/share/share-rate-limit.service.ts:18
↓ 2 callersMethodgenerateProcessedPrompt
* Generate processed prompt template based on extracted variables
apps/api/src/modules/variable-extraction/variable-extraction.service.ts:610
↓ 2 callersFunctiongenerateReflySkillMd
(options: { name: string; displayName?: string; description: string; skillId: string; workflowId: st
packages/cli/src/skill/symlink.ts:333
↓ 2 callersFunctiongenerateSchemaInstructions
* Generates a detailed schema guide with example for LLM
apps/api/src/modules/canvas/canvas-title-generator.ts:38
↓ 2 callersMethodgenerateToolUseXML
(params: { toolCallId: string; includeResult: boolean; errorMsg?: string; metadata?: { name?:
apps/api/src/modules/tool-call/tool-call.service.ts:68
↓ 2 callersMethodgenerateWebhookId
* Generate webhook ID
apps/api/src/modules/webhook/webhook.service.ts:799
↓ 2 callersMethodgenerateWorkflowForCli
* Generate workflow for CLI - Enhanced method with planId and full plan details * This method is specifically designed for CLI usage with additiona
apps/api/src/modules/copilot-autogen/copilot-autogen.service.ts:231
↓ 2 callersMethodgetActiveExecution
* Get the currently active (running) workflow execution for a canvas * @param user - The user requesting the execution * @param canvasId - The c
apps/api/src/modules/workflow/workflow.service.ts:1211
↓ 2 callersFunctiongetActualFormat
(format: ImageFormat)
packages/ai-workspace-common/src/utils/image-compression.ts:91
↓ 2 callersFunctiongetArtifactIcon
(artifact: Artifact, className?: string)
packages/ai-workspace-common/src/components/common/result-display.tsx:10
↓ 2 callersFunctiongetAuthDescription
()
packages/ai-workspace-common/src/components/settings/tools-config/CommunityMcpApiKeyModal.tsx:54
↓ 2 callersFunctiongetBiomePath
* Gets the biome executable path from pnpm bin
packages/ai-workspace-common/scripts/postprocess-codegen.cjs:8
↓ 2 callersFunctiongetCanvasInitState
(canvasId: string)
packages/ai-workspace-common/src/context/canvas.tsx:138
↓ 2 callersFunctiongetChatModel
( provider: BaseProvider, config: LLMModelConfig, params?: Partial<OpenAIBaseInput> | Partial<AzureOpenA
packages/providers/src/llm/index.ts:47
↓ 2 callersFunctiongetClaudeCommandsDir
()
packages/cli/src/config/paths.ts:58
↓ 2 callersFunctiongetConfigDescription
( config: CommunityMcpConfig, t: (key: string) => string, )
packages/ai-workspace-common/src/components/settings/tools-config/utils.ts:154
↓ 2 callersFunctiongetCopyToClipboard
()
packages/ai-workspace-common/src/utils/lazy-loader/modules/copy-to-clipboard.ts:20
↓ 2 callersMethodgetCreditUsageByExecutionId
( @LoginedUser() user: User, @Query() query: { executionId: string }, )
apps/api/src/modules/credit/credit.controller.ts:76
↓ 2 callersMethodgetCurrentAIMessageId
* Get the current AI message's messageId * Returns undefined if no AI message is currently being accumulated
apps/api/src/utils/message-aggregator.ts:333
↓ 2 callersFunctiongetEffectiveScore
(source: Source)
packages/utils/src/search-source-converter.ts:53
↓ 2 callersFunctiongetEnglishLabel
(category: (typeof categories)[0])
packages/ai-workspace-common/src/components/canvas/front-page/index.tsx:281
← previousnext →1,101–1,200 of 5,783, ranked by callers