Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/AgentSpace
/ functions
Functions
5,266 in github.com/HKUDS/AgentSpace
⨍
Functions
5,266
◇
Types & classes
823
↓ 10 callers
Function
completeAgentChannelReplySync
(input: { channel: string; pendingSpeaker?: string; speaker: string; summary: string; attachments?:
packages/services/src/messages/messages.ts:655
↓ 10 callers
Function
countWhere
(db: ReturnType<typeof getDatabase>, tableName: string, columnName: string, value: string)
packages/services/src/storage/workspace-purge.test.ts:255
↓ 10 callers
Function
createChannelSync
(input: { name: string; humanMemberNames?: string[]; employeeNames?: string[]; kind?: ChannelRecord["k
packages/services/src/channels/channels.ts:228
↓ 10 callers
Function
createWorkspaceMember
(baseName: string, role: "owner" | "admin" | "member")
packages/services/src/attachments/attachments.test.ts:30
↓ 10 callers
Function
formatFeishuEvidenceCommandText
(report: FeishuEvidenceReport)
apps/cli/src/commands/integrations/feishu.ts:4528
↓ 10 callers
Function
formatTokens
(value: number)
apps/web/features/costs/costs-page-client.tsx:437
↓ 10 callers
Function
getChannelHistoryFilePath
(channelName: string, workspaceId = DEFAULT_WORKSPACE_ID)
packages/services/src/shared/messaging.ts:392
↓ 10 callers
Function
getStringFlag
(flags: Record<string, string | boolean>, key: string)
packages/daemon/src/args.ts:32
↓ 10 callers
Function
getWorkspacePermissionCenterSync
(input: { workspaceId: string; actor: PermissionCenterActorInput; })
packages/services/src/permissions/permissions.ts:221
↓ 10 callers
Function
loadTaskOutputEnvelope
( workDir: string, fallbackText: string, workspaceId: string, )
packages/daemon/src/task-output.ts:23
↓ 10 callers
Function
metadataString
(value: Record<string, unknown>, key: string)
packages/services/src/permissions/permissions.ts:2298
↓ 10 callers
Function
normalizeOptional
(value: string | null | undefined)
packages/db/src/knowledge-proposals.ts:349
↓ 10 callers
Function
parseJsonManifest
(path: string, relativePath: string, errors: string[])
packages/daemon/src/runtime-output-manifests.ts:2061
↓ 10 callers
Function
parseTaskInputJson
(inputJson: string)
packages/daemon/src/task-context.ts:151
↓ 10 callers
Function
readEffectiveRuntimeEnv
(input?: { env?: NodeJS.ProcessEnv; startDir?: string; repositoryOverridesEnv?: boolean; })
packages/db/src/repository-env.ts:66
↓ 10 callers
Function
readEmployeeRuntimeBindingSync
( employeeName: string, workspaceId = DEFAULT_WORKSPACE_ID, )
packages/db/src/employee-bindings.ts:94
↓ 10 callers
Function
readFeishuMetadataString
(value: Record<string, unknown>, key: string)
apps/cli/src/commands/integrations/feishu.ts:9850
↓ 10 callers
Function
readGoogleWorkspaceExecutor
()
apps/web/features/integrations/google-workspace.ts:135
↓ 10 callers
Function
readRecord
(value: unknown)
scripts/feishu/smoke.ts:2233
↓ 10 callers
Function
readString
(value: unknown)
scripts/feishu/smoke.ts:2229
↓ 10 callers
Function
readStringFlagOrEnv
(input: { flags: Record<string, string | boolean>; flagKeys: string[]; envFlagKeys: string[]; defaultE
apps/cli/src/commands/integrations/feishu.ts:3452
↓ 10 callers
Function
requireNonPlaceholderFeishuBindingValue
(value: string, errorCode: string)
apps/cli/src/commands/integrations/feishu.ts:3561
↓ 10 callers
Function
requireTrimmed
(value: string, label: string)
packages/db/src/document-agent-access.ts:608
↓ 10 callers
Function
resolveFeishuEventType
(payload: Record<string, unknown>)
packages/services/src/integrations/providers/feishu/events.ts:170
↓ 10 callers
Function
trimOptional
(value: string | undefined)
packages/services/src/config/deployment.ts:122
↓ 10 callers
Function
updateChannelDocumentSync
(input: { documentId: string; title?: string; contentMarkdown: string; contentJson?: ChannelDocumentJs
packages/services/src/documents/sync.ts:592
↓ 10 callers
Function
updateExternalIntegrationEventStatusSync
(input: { workspaceId?: string; provider: ExternalIntegrationProvider; externalEventId: string; status
packages/db/src/integrations/external-integrations.ts:1662
↓ 10 callers
Function
updateTaskStatusSync
(taskId: string, status: TaskStatus, workspaceId?: string)
packages/services/src/tasks/tasks.ts:116
↓ 10 callers
Function
upsertGoogleOAuthCredentialSync
(input: { workspaceId?: string; userId: string; googleSubject?: string; googleEmail?: string; scopes
packages/db/src/google-oauth-credentials.ts:4
↓ 10 callers
Function
validateRuntimeOutputManifests
(workDir: string)
packages/daemon/src/runtime-output-manifests.ts:624
↓ 10 callers
Function
workspaceHref
(path: string)
apps/web/features/search/global-search-dialog.tsx:32
↓ 9 callers
Function
allowsDocumentAction
( role: DocumentAccessRole | undefined | null, action: DocumentAction, )
packages/domain/src/channel-document-collab.ts:17
↓ 9 callers
Function
assertRequired
(value: string | undefined, label: string)
apps/web/features/skills/actions.ts:285
↓ 9 callers
Function
buildExternalGuestWriteDeniedRun
( integrationId: string, options: Pick<DataOperationRunOptions, "governanceAgentId" | "governanceB
apps/cli/src/commands/integrations.test.ts:10867
↓ 9 callers
Function
buildOptions
(env: NodeJS.ProcessEnv = {})
packages/sandbox/src/cube/cube-config.test.ts:16
↓ 9 callers
Function
captureConsoleLog
(action: () => Promise<void> | void)
apps/cli/src/commands/integrations.test.ts:9550
↓ 9 callers
Method
connect
(options: SandboxConnectOptions)
packages/sandbox/src/cube/cube-sandbox.ts:37
↓ 9 callers
Function
containsRawFeishuOpenApiEvidenceIdentifier
(serialized: string)
apps/cli/src/commands/integrations/feishu.ts:8915
↓ 9 callers
Function
copyJsonFlagAsParameter
( flags: Record<string, string | boolean>, parameters: Record<string, unknown>, flag: string, paramete
apps/cli/src/commands/integrations/feishu.ts:3352
↓ 9 callers
Function
createChannelParticipantSync
(input: CreateChannelParticipantInput)
packages/db/src/channel-access.ts:54
↓ 9 callers
Function
createKnowledgeProposalFromAgentSync
( input: CreateKnowledgeProposalFromAgentInput, )
packages/services/src/knowledge-proposals/knowledge-proposals.ts:82
↓ 9 callers
Function
createNotificationsSync
(inputs: CreateWorkspaceNotificationInput[])
packages/services/src/notifications/notifications.ts:30
↓ 9 callers
Function
createStoredChannelSync
(channel: ChannelRecord, workspaceId = DEFAULT_WORKSPACE_ID)
packages/db/src/workspace-channels.ts:28
↓ 9 callers
Function
decideAgentActionPolicySync
(input: AgentActionPolicyInput)
packages/services/src/policies/agent-actions.ts:60
↓ 9 callers
Function
finishFeishuCardActionCallback
(input: { workspaceId: string; externalEventId: string; status: "processed" | "ignored" | "failed"; ha
packages/services/src/integrations/providers/feishu/approval.ts:1037
↓ 9 callers
Function
formatFeishuOutboundReference
(value: string | undefined)
packages/services/src/integrations/providers/feishu/outbound.ts:1483
↓ 9 callers
Function
getWorkspaceDataDirPath
(workspaceId = DEFAULT_WORKSPACE_ID)
packages/db/src/database.ts:463
↓ 9 callers
Function
hasFeishuMessageMappingAgentBotContext
( mapping: ExternalMessageMappingRecord, metadata: Record<string, unknown> | undefined, )
apps/cli/src/commands/integrations/feishu.ts:6771
↓ 9 callers
Function
hasNoFeishuRawExternalLocationContext
(metadata: Record<string, unknown>)
apps/cli/src/commands/integrations/feishu.ts:8302
↓ 9 callers
Function
hasNoFeishuRawProviderIdentityContext
(metadata: Record<string, unknown>)
apps/cli/src/commands/integrations/feishu.ts:8275
↓ 9 callers
Function
hasNoFeishuUnsafeSerializedEvidenceContext
(metadata: Record<string, unknown>)
apps/cli/src/commands/integrations/feishu.ts:7578
↓ 9 callers
Function
hasWorkspaceRole
(role: WorkspaceRole, minimumRole: WorkspaceRole)
apps/web/features/auth/workspace-permissions.ts:10
↓ 9 callers
Function
isSettingsDetailSectionId
(value: string)
apps/web/features/settings/settings-sections.ts:52
↓ 9 callers
Function
isWorkspaceAdminOrOwnerSync
(input: { workspaceId?: string; userId?: string; })
packages/services/src/runtime-access/runtime-access.ts:26
↓ 9 callers
Function
listEmployeeKnowledgePageIdsSync
(employeeName: string, workspaceId?: string)
packages/services/src/knowledge/assignments.ts:69
↓ 9 callers
Function
listEmployeeRuntimeBindingsSync
(workspaceId = DEFAULT_WORKSPACE_ID)
packages/db/src/employee-bindings.ts:118
↓ 9 callers
Function
listUserWorkspacesSync
(userId: string)
packages/db/src/workspace-memberships.ts:97
↓ 9 callers
Function
normalizeOptional
(value: string | undefined)
packages/db/src/document-agent-access.ts:603
↓ 9 callers
Method
onEvent
(eventType: string, event: unknown)
packages/services/src/integrations/providers/feishu/websocket-worker.ts:94
↓ 9 callers
Function
openFreshDocumentWorkspace
(initialTitle?: string, mode: ChannelDocumentCreateMode = "markdown")
apps/web/features/channels/channels-page-client.tsx:1293
↓ 9 callers
Function
parseTaskPayload
(task: QueuedTaskRecord)
packages/daemon/src/task-context.ts:372
↓ 9 callers
Function
prepareRuntimeOutputArtifactReference
(input: { workDir: string; sourcePath: string; copyOutsideWorkDir?: boolean; })
packages/daemon/src/runtime-output-manifests.ts:566
↓ 9 callers
Function
readArray
(value: Record<string, unknown>, key: string)
packages/services/src/integrations/providers/feishu/operation-plan.ts:994
↓ 9 callers
Function
readFeishuIntegrationCredentials
( integration: ExternalIntegrationRecord, )
packages/services/src/integrations/providers/feishu/credentials.ts:29
↓ 9 callers
Function
readRecordArrayParameter
(request: ExternalDataOperationRequest, key: string)
packages/services/src/integrations/providers/feishu/operation-plan.ts:936
↓ 9 callers
Function
readUserByEmailSync
(email: string)
packages/db/src/user-auth.ts:56
↓ 9 callers
Function
redactPostgresDatabaseUrl
(databaseUrl: string)
packages/db/src/postgres-config.ts:49
↓ 9 callers
Method
register
(request: RegisterDaemonRequest)
packages/daemon/src/daemon-client.ts:61
↓ 9 callers
Function
safePatternLiteral
(value: string | undefined)
packages/services/src/integrations/providers/feishu/lark-cli.ts:570
↓ 9 callers
Function
sanitizeSmokeOutputText
(value: string)
scripts/feishu/smoke.ts:1663
↓ 9 callers
Function
sanitizeStoragePathSegment
(value: string, fallback = "item")
packages/db/src/storage-paths.ts:90
↓ 9 callers
Function
seedPermissionWorkspace
()
packages/services/src/permissions/permissions.test.ts:533
↓ 9 callers
Function
smokeFeishuRequest
(input: { name: string; live: boolean; client?: FeishuApiClient; required: unknown; requiredEnv: str
scripts/feishu/smoke.ts:881
↓ 9 callers
Function
truncateSummary
(value: unknown)
packages/db/src/task-queue.ts:1049
↓ 9 callers
Function
uniqueStringValues
(values: string[])
packages/services/src/shared/helpers.ts:28
↓ 9 callers
Function
upsertDirectConversationStateSync
( input: { contactId: string; humanMemberName?: string; sessionId?: string | null; workDir?:
packages/services/src/contacts/contacts.ts:484
↓ 9 callers
Function
writeManifestFile
(workDir: string, relativePath: RuntimeOutputManifestPath, value: unknown)
packages/daemon/src/runtime-output-manifests.ts:2055
↓ 8 callers
Function
applyDocumentRuntimeOutputOperations
(input: { workDir: string; workspaceId: string; actorName: string; sourceTaskQueueId: string; source
packages/daemon/src/document-runtime-output.ts:75
↓ 8 callers
Function
buildAgentInvalidation
(workspaceId: string, agentName: string)
apps/web/features/agents/actions.ts:686
↓ 8 callers
Function
buildDocumentRuntimeToolCapabilities
( agentDocumentContexts: AgentDocumentContext[], options?: { canCreateGoogleSheet?: boolean; feish
packages/daemon/src/document-runtime-capabilities.ts:8
↓ 8 callers
Function
buildFeishuReadOperationRequest
( request: ExternalDataOperationRequest, )
packages/services/src/integrations/providers/feishu/operation-plan.ts:211
↓ 8 callers
Function
buildFeishuSmokeEnvTemplateReport
( input: BuildFeishuSmokeEnvTemplateReportInput, )
apps/cli/src/commands/integrations/feishu.ts:4868
↓ 8 callers
Function
buildPublicAppUrl
(path: string, appUrl: string)
apps/web/app/api/auth/google/callback/route.ts:101
↓ 8 callers
Function
buildSettingsItem
(overrides: Record<string, unknown> = {})
apps/web/features/integrations/feishu/feishu-actions.test.ts:1655
↓ 8 callers
Function
buildWorkspaceContext
(role: "owner" | "admin" | "member")
apps/web/features/approvals/actions.test.ts:264
↓ 8 callers
Function
check
(name: string, passed: boolean, note: string)
apps/cli/src/commands/doctor.ts:66
↓ 8 callers
Function
checkFeishuIntegrationHealth
(input: { appId: string; appSecret: string; baseUrl?: string; fetchImpl?: typeof fetch; clientFactor
packages/services/src/integrations/providers/feishu/health.ts:29
↓ 8 callers
Method
claimTask
(runtimeId: string)
packages/daemon/src/daemon-client.ts:77
↓ 8 callers
Function
containsFeishuSecretLikeEvidence
(serialized: string)
apps/cli/src/commands/integrations/feishu.ts:8908
↓ 8 callers
Function
createAttachment
(id: string, fileName: string, mediaType: string, content: string)
apps/web/features/dashboard/data.test.ts:106
↓ 8 callers
Function
createFeishuIntegrationAction
( input: CreateFeishuIntegrationInput, )
apps/web/features/integrations/feishu/feishu-actions.ts:121
↓ 8 callers
Function
createKnowledgePageFromSharedDocumentSync
(input: { sourceType: "attachment" | "channelDocument"; sourceId: string; parentId?: string | null; cr
packages/services/src/knowledge/knowledge.ts:204
↓ 8 callers
Function
deleteChannelAttachmentSync
(input: { workspaceId?: string; channelName: string; attachmentId: string; actorUserId: string; acto
packages/services/src/attachments/attachments.ts:91
↓ 8 callers
Function
ensureDaemonStateDir
()
apps/cli/src/commands/daemon.ts:583
↓ 8 callers
Function
formatFeishuSmokeEnvCommandText
( report: FeishuSmokeEnvTemplateReport, )
apps/cli/src/commands/integrations/feishu.ts:10103
↓ 8 callers
Function
getAgentsPageData
(input: string | AgentsPageDataOptions = DEFAULT_WORKSPACE_ID)
apps/web/features/dashboard/data.ts:2622
↓ 8 callers
Function
getDaemonChannelWorkDirPath
( stateDir: string, input: { threadId: string; agentId: string; workspaceId?: string; }, )
packages/db/src/storage-paths.ts:59
↓ 8 callers
Function
getFeishuSmokeEnvExitCode
(report: Pick<FeishuSmokeEnvTemplateReport, "issues">)
apps/cli/src/commands/integrations/feishu.ts:10117
↓ 8 callers
Function
getInboxPageData
( workspaceId = DEFAULT_WORKSPACE_ID, currentUser?: DashboardCurrentUser, )
apps/web/features/dashboard/data.ts:2434
↓ 8 callers
Function
getRequiredValue
(formData: FormData, key: string)
apps/web/features/auth/actions.ts:170
← previous
next →
301–400 of 5,266, ranked by callers