MCPcopy Create free account

hub / github.com/HKUDS/AgentSpace / functions

Functions5,266 in github.com/HKUDS/AgentSpace

↓ 601 callersMethodget
(...params: unknown[])
packages/db/src/database.ts:404
↓ 512 callersMethodprepare
(sql: string)
packages/db/src/database.ts:410
↓ 370 callersFunctiongetDatabase
()
packages/db/src/database.ts:438
↓ 314 callersMethodrun
(...params: unknown[])
packages/db/src/database.ts:405
↓ 251 callersFunctionsameValue
(left: string, right: string)
packages/services/src/shared/helpers.ts:66
↓ 232 callersFunctiongetStringFlag
(flags: Record<string, string | boolean>, key: string)
apps/cli/src/lib/args.ts:33
↓ 216 callersFunctionreadWorkspaceStateSync
(workspaceId = DEFAULT_WORKSPACE_ID)
packages/services/src/shared/state-io.ts:70
↓ 200 callersFunctionwriteWorkspaceStateSync
( state: AgentSpaceState, workspaceId = DEFAULT_WORKSPACE_ID, options?: { skipVersionCheck?: boolean },
packages/services/src/shared/state-io.ts:74
↓ 192 callersFunctionensureWorkspaceStateSync
(workspaceId = DEFAULT_WORKSPACE_ID)
packages/services/src/shared/state-io.ts:47
↓ 173 callersFunctionrequireCurrentWorkspaceContext
()
apps/web/features/auth/server-workspace.ts:26
↓ 138 callersFunctionbuildFeishuEvidenceReport
(input: BuildFeishuEvidenceReportInput)
apps/cli/src/commands/integrations/feishu.ts:4257
↓ 135 callersFunctionasString
(value: unknown)
packages/services/src/integrations/providers/feishu/health.ts:261
↓ 114 callersFunctionbuildDataOperationRun
( integrationId: string, operationType: string, providerResourceType: string, status: "pending" | "run
apps/cli/src/commands/integrations.test.ts:10960
↓ 113 callersMethodnow
()
packages/services/src/integrations/providers/feishu/agent-space-sync.ts:165
↓ 112 callersFunctionbuildCompleteFeishuEvidenceInput
()
apps/cli/src/commands/integrations.test.ts:9566
↓ 111 callersFunctionhasNonEmptyString
(value: unknown)
apps/cli/src/commands/integrations/feishu.ts:6725
↓ 108 callersFunctioncreateEmployeeSync
(input: { name: string; role?: string; remarkName?: string; summary?: string; traits?: string[]; f
packages/services/src/employees/employees.ts:240
↓ 94 callersFunctionwriteData
(format: OutputFormat, value: unknown)
apps/cli/src/lib/format.ts:30
↓ 90 callersFunctionbuildIntegrationRecord
(overrides: Record<string, unknown> = {})
apps/cli/src/commands/integrations.test.ts:10548
↓ 82 callersFunctioncreateUserSync
(input: { displayName: string; primaryEmail?: string; avatarUrl?: string; })
packages/db/src/user-auth.ts:22
↓ 80 callersMethodexec
(command: ExecCommand)
packages/sandbox/src/interface.ts:11
↓ 80 callersFunctiontryRecordWorkspaceAuditEventSync
(input: { workspaceId: string; title: string; note: string; code?: string; data?: Record<string, Aud
packages/services/src/shared/audit.ts:27
↓ 79 callersFunctioncreateWorkspaceSync
(params: { name: string; createdBy: string; id?: string; slug?: string; })
packages/db/src/workspaces.ts:60
↓ 73 callersMethodall
(...params: unknown[])
packages/db/src/database.ts:403
↓ 73 callersFunctionresetWorkspaceStateSync
(workspaceId = DEFAULT_WORKSPACE_ID)
packages/services/src/shared/state-io.ts:101
↓ 72 callersFunctioncreateWorkspaceMembershipSync
(params: { workspaceId: string; userId: string; role?: WorkspaceRole; invitedBy?: string; })
packages/db/src/workspace-memberships.ts:5
↓ 70 callersFunctionassertWorkspaceRoleForContext
( context: CurrentWorkspaceContext, minimumRole: WorkspaceRole, message = "Forbidden.", )
apps/web/features/auth/workspace-permissions.ts:24
↓ 65 callersFunctionreadUserSync
(userId: string)
packages/db/src/user-auth.ts:38
↓ 62 callersFunctionasRecord
(value: unknown)
packages/services/src/integrations/providers/feishu/health.ts:255
↓ 60 callersFunctiondaemonHeaders
(token: string)
apps/web/app/api/daemon/routes.test.ts:160
↓ 58 callersFunctionlistQueuedTasksSync
(options?: { workspaceId?: string; runtimeId?: string; })
packages/db/src/task-queue.ts:118
↓ 56 callersFunctionisRecord
(value: unknown)
packages/daemon/src/runtime-output-manifests.ts:2078
↓ 56 callersFunctionnormalizeOptionalText
(value: string | undefined | null)
packages/db/src/integrations/external-integrations.ts:2372
↓ 55 callersFunctionuseLanguage
()
apps/web/features/i18n/language-provider.tsx:55
↓ 54 callersMethodexec
(sql: string)
packages/db/src/database.ts:409
↓ 54 callersFunctionnormalizeOptionalText
(value: string | undefined)
apps/cli/src/commands/integrations/feishu.ts:4119
↓ 53 callersFunctioncountWhere
(db: ReturnType<typeof getDatabase>, tableName: string, columnName: string, value: string)
packages/db/src/workspaces.test.ts:674
↓ 52 callersFunctionbuildRequest
( input: Partial<ExternalDataOperationRequest> & Pick<ExternalDataOperationRequest, "operationType" | "provi
packages/services/src/integrations/providers/feishu/__tests__/data-plane.test.ts:2155
↓ 52 callersFunctionreadStringParameter
(request: ExternalDataOperationRequest, key: string)
packages/services/src/integrations/providers/feishu/operation-plan.ts:922
↓ 52 callersFunctiontranslateSettingsActionError
(error: unknown, tx: SettingsTx)
apps/web/features/settings/settings-utils.ts:76
↓ 51 callersFunctionappendTaskMessageSync
(input: { taskId: string; type: string; content?: string; tool?: string; inputJson?: Record<string,
packages/db/src/task-messages.ts:6
↓ 50 callersFunctionasOptionalString
(value: unknown)
packages/db/src/integrations/external-integrations.ts:2448
↓ 49 callersFunctioncreateExternalIntegrationSync
(input: { workspaceId?: string; provider: ExternalIntegrationProvider; displayName: string; transportM
packages/db/src/integrations/external-integrations.ts:33
↓ 47 callersFunctionparseArgs
(args: string[])
apps/cli/src/lib/args.ts:6
↓ 47 callersFunctionsuccessToast
(zh: string, en: string, durationMs?: number)
apps/web/shared/lib/toast-action.ts:32
↓ 46 callersFunctionrandomLikeId
()
packages/db/src/database.ts:501
↓ 46 callersFunctionreadString
(value: Record<string, unknown> | undefined, key: string)
packages/services/src/integrations/providers/feishu/approval.ts:1158
↓ 46 callersFunctionreadString
(value: Record<string, unknown> | undefined, key: string)
packages/services/src/integrations/providers/feishu/operation-plan.ts:999
↓ 46 callersFunctionrevalidateWorkspacePaths
(workspaceSlug: string, paths: string[])
apps/web/features/auth/workspace-revalidation.ts:9
↓ 46 callersFunctionsameValue
(left: string, right: string)
packages/services/src/documents/model.ts:351
↓ 45 callersFunctionassertRequired
(value: string | undefined, label: string)
apps/web/features/channels/actions.ts:1062
↓ 44 callersFunctionactionToastResult
( data: T, toast?: LocalizedToastDescriptor, invalidation?: WorkspaceInvalidationEvent, )
apps/web/shared/lib/toast-action.ts:24
↓ 44 callersFunctionbindEmployeeRuntimeSync
( employeeName: string, runtimeId: string, workspaceId?: string, actorUserId?: string, )
packages/services/src/employees/employees.ts:78
↓ 40 callersFunctionbuildOpenApiEvidenceFixture
()
apps/cli/src/commands/integrations.test.ts:10367
↓ 40 callersFunctionnormalizeRequiredText
(value: string, message: string)
packages/db/src/integrations/external-integrations.ts:2364
↓ 40 callersFunctionreadSmokeEnvEntry
( report: ReturnType<typeof buildFeishuSmokeEnvTemplateReport>, key: string, )
apps/cli/src/commands/integrations.test.ts:10654
↓ 40 callersFunctionrefreshWorkspaceModule
(onDataChanged: (() => void) | undefined, router: RefreshRouter)
apps/web/features/dashboard/workspace-module-refresh.ts:9
↓ 37 callersFunctionbuildWorkspacePath
(workspaceSlug: string, path = "/")
apps/web/features/auth/workspace-paths.ts:1
↓ 37 callersFunctioncreateIntegrationProviderError
(input: { provider: ExternalIntegrationProvider; code: string; message: string; cause?: unknown; })
packages/services/src/integrations/core/errors.ts:23
↓ 36 callersMethodaddEventListener
(type: string, listener: EventListener)
apps/web/features/channels/channels-page-client.test.tsx:274
↓ 36 callersFunctioncreateDaemonApiTokenSync
(input: { workspaceId?: string; label: string; createdBy: string; })
packages/db/src/daemon-tokens.ts:5
↓ 35 callersFunctionbuildMessageMapping
( integrationId: string, direction: "inbound" | "outbound", externalMessageId: string, externalThreadI
apps/cli/src/commands/integrations.test.ts:9944
↓ 35 callersFunctionrevalidateWorkspacePath
(path: string, workspaceSlug: string)
apps/web/features/auth/workspace-revalidation.ts:4
↓ 34 callersFunctionrequireStringFlag
(flags: Record<string, string | boolean>, key: string)
apps/cli/src/commands/output.ts:1066
↓ 34 callersFunctionworkspaceHref
(path: string)
apps/web/features/dashboard/workspace-frame.tsx:230
↓ 33 callersFunctionpushWorkspaceMessageToChannel
( state: AgentSpaceState, channel: string, input: { speaker: string; speakerUserId?: string;
packages/services/src/shared/messaging.ts:160
↓ 33 callersMethodremoveEventListener
(type: string, listener: EventListener)
apps/web/features/channels/channels-page-client.test.tsx:278
↓ 33 callersFunctionwithTransaction
(db: PostgresSyncDatabase, work: () => T)
packages/db/src/database.ts:479
↓ 32 callersFunctionenqueueNativeTaskSync
(input: EnqueueTaskInput)
packages/db/src/task-queue.ts:20
↓ 32 callersFunctionreadWorkspaceSync
(idOrSlug: string)
packages/db/src/workspaces.ts:93
↓ 32 callersFunctionrevalidatePermissions
(workspaceSlug: string)
apps/web/features/permissions/actions.ts:372
↓ 32 callersFunctionseedWorkspace
()
packages/services/src/messages/messages.test.ts:57
↓ 32 callersFunctiontranslateSystemSpeaker
(value: string | undefined, tx: TxFn)
apps/web/features/i18n/presentation.ts:61
↓ 32 callersFunctionwithMetadataFields
(record: T, fields: Record<string, unknown>)
apps/cli/src/commands/integrations.test.ts:10071
↓ 31 callersFunctionbuildResourceBinding
(integrationId: string, providerResourceType: string, providerResourceToken: string)
apps/cli/src/commands/integrations.test.ts:10600
↓ 31 callersFunctioncreateChannelDocumentSync
(input: { channelName: string; title: string; kind?: ChannelDocumentKind; storageMode?: ChannelDocumen
packages/services/src/documents/sync.ts:304
↓ 31 callersFunctionformatCompactTimestamp
( value: string | Date | null | undefined, options: { emptyFallback?: string; now?: Date; } = {}
apps/web/shared/lib/time-format.ts:1
↓ 31 callersFunctionprocessFeishuInboundEventSync
(input: ProcessFeishuInboundEventInput)
packages/services/src/integrations/providers/feishu/inbound.ts:151
↓ 31 callersFunctionreadJsonRecord
(value: string)
apps/cli/src/commands/integrations/feishu.ts:6908
↓ 31 callersFunctionreadString
(record: Record<string, unknown> | undefined, key: string)
packages/services/src/integrations/providers/feishu/agent-space-sync.ts:960
↓ 31 callersFunctionrenderSettingsPage
( props: Partial<ComponentProps<typeof SettingsPageClient>> = {}, )
apps/web/features/settings/settings-page-client.test.tsx:168
↓ 31 callersFunctionrunOutputCommand
( subcommand: string | undefined, args: string[], format: OutputFormat, )
apps/cli/src/commands/output.ts:41
↓ 31 callersFunctionrunProviderTask
( runtime: ProviderRuntimeRecord, prompt: string, workDir: string, options: ProviderTaskOptions = {},
packages/daemon/src/provider-runtime.ts:180
↓ 31 callersFunctionseedBoundFeishuWorkspace
(input: { agentBot?: boolean; bindChannel?: boolean; bindUser?: boolean; includeOutOfChannelAgent?: bo
packages/services/src/integrations/providers/feishu/__tests__/inbound.test.ts:2098
↓ 30 callersFunctionbuildOutboxItem
( integrationId: string, status: "failed" | "pending" | "sent", options: { metadataJson?: string;
apps/cli/src/commands/integrations.test.ts:10661
↓ 29 callersFunctionassertRequired
(value: string | undefined, label: string)
apps/web/features/agents/actions.ts:666
↓ 29 callersFunctionregisterDaemonRuntimesSync
(input: { daemonKey: string; deviceName: string; workspaceId?: string; metadata?: Record<string, unkno
packages/db/src/daemons.ts:5
↓ 29 callersFunctionrunAgentRouter
( request: AgentRouterRunRequest, observer: AgentRouterObserver = { emit: () => {} }, )
packages/daemon/src/agent-router/router.ts:28
↓ 28 callersFunctionbuildFeishuMessagePayload
(input: { eventId: string; messageId: string; chatId?: string; chatType?: string; chatName?: string;
packages/services/src/integrations/providers/feishu/__tests__/inbound.test.ts:2220
↓ 28 callersFunctionbuildWorkspaceContext
(role: "owner" | "admin" | "member", userId: string)
apps/web/features/integrations/feishu/feishu-actions.test.ts:1585
↓ 28 callersFunctionreadString
(value: unknown)
packages/db/src/task-queue.ts:1041
↓ 28 callersFunctionrenderAgentsPage
( pageData: AgentsPageData = data, props?: { onDataChanged?: () => void; onInvalidation?: AgentsPa
apps/web/features/agents/agents-page-client.test.tsx:503
↓ 28 callersFunctionwriteExecutable
(path: string, content: string)
packages/daemon/src/agent-router.test.ts:1093
↓ 27 callersFunctionasRecord
(value: unknown)
packages/services/src/integrations/providers/feishu/agent-space-sync.ts:1054
↓ 27 callersFunctionbuildAutoProvisionedChannelBinding
( integrationId: string, provisionSource: "bot_added" | "first_message", options: { agentId?: string
apps/cli/src/commands/integrations.test.ts:10281
↓ 27 callersFunctioncreateDiagnostic
( code: AgentRouterDiagnostic["code"], message: string, options: { severity?: AgentRouterDiagnostic[
packages/daemon/src/agent-router/utils.ts:110
↓ 27 callersFunctionfreshFeishuEvidenceTimestamp
(ageMs = 0)
apps/cli/src/commands/integrations.test.ts:61
↓ 27 callersFunctionresolveChannelHumanMemberNames
( state: AgentSpaceState, channel: Pick<ChannelRecord, "humanMemberNames" | "humanMembers">, )
packages/services/src/channels/channels.ts:45
↓ 26 callersFunctionasString
(value: unknown)
packages/services/src/integrations/providers/feishu/events.ts:230
↓ 26 callersFunctionbuildIntegrationEvent
( integrationId: string, externalEventId: string, eventType: string, status: "received" | "processed"
apps/cli/src/commands/integrations.test.ts:10754
next →1–100 of 5,266, ranked by callers