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
↓ 3 callers
Method
closeStdin
()
packages/sandbox/src/types.ts:24
↓ 3 callers
Function
collectRuntimeOutputBundleFiles
(workDir: string)
packages/daemon/src/runtime-output-manifests.ts:666
↓ 3 callers
Function
compactObject
(input: Record<string, unknown>)
packages/services/src/integrations/providers/feishu/lark-cli.ts:675
↓ 3 callers
Function
completeChannelDocumentRunStepSync
(input: { queuedTaskId: string; documentUpdates?: Array<{ documentId: string; documentVersionId: string }>
packages/services/src/documents/sync.ts:1592
↓ 3 callers
Function
completeRuntimeAppOperationSync
(input: CompleteRuntimeAppOperationInput)
packages/db/src/runtime-apps.ts:479
↓ 3 callers
Function
computeCostUsd
(inputTokens: number, outputTokens: number, pricing: ModelPricingRecord)
packages/db/src/token-usage.ts:73
↓ 3 callers
Function
containsAgentSpaceCallbackUrlEvidence
(serialized: string)
scripts/feishu/smoke.ts:2184
↓ 3 callers
Function
containsAgentSpaceCallbackUrlOpenApiEvidence
(serialized: string)
apps/cli/src/commands/integrations/feishu.ts:8925
↓ 3 callers
Function
containsSecretLikeEvidence
(serialized: string)
scripts/feishu/smoke.ts:2167
↓ 3 callers
Function
containsSensitiveTokenMaterial
(value: string)
apps/cli/src/commands/output.ts:1265
↓ 3 callers
Function
countActiveSessionsForUserSync
(userId: string)
packages/db/src/user-auth.ts:336
↓ 3 callers
Function
countActiveWorkspaceInvitationsSync
(workspaceId: string)
packages/db/src/workspace-invitations.ts:139
↓ 3 callers
Function
countApprovedSucceededFeishuOperations
( operations: readonly ExternalDataOperationRunRecord[], operationTypes: readonly string[], )
apps/cli/src/commands/integrations/feishu.ts:6449
↓ 3 callers
Function
countSucceededFeishuOperations
( operations: readonly ExternalDataOperationRunRecord[], operationTypes: readonly string[], )
apps/cli/src/commands/integrations/feishu.ts:6416
↓ 3 callers
Function
countUnreadNotificationsSync
(input: { workspaceId: string; recipientType: WorkspaceNotificationRecipientType; recipientId: string; }
packages/services/src/notifications/notifications.ts:61
↓ 3 callers
Function
countUnreadWorkspaceNotificationsSync
(input: { workspaceId?: string; recipientType: WorkspaceNotificationRecipientType; recipientId: string;
packages/db/src/notifications.ts:172
↓ 3 callers
Function
countUsersSync
()
packages/db/src/user-auth.ts:16
↓ 3 callers
Function
createAttachment
(id: string, fileName: string, mediaType: string)
packages/services/src/messages/messages.test.ts:95
↓ 3 callers
Function
createAttachment
(input: { id: string; fileName: string; mediaType: string; kind: MessageAttachment["kind"]; storedPa
packages/services/src/integrations/providers/feishu/__tests__/outbound.test.ts:850
↓ 3 callers
Function
createAttachmentFromChannelDocumentVersion
(input: { document: ChannelDocument; version: ChannelDocumentVersion; persistAttachment: (input: { sourc
packages/services/src/documents/files.ts:54
↓ 3 callers
Function
createAutomationRuleAction
(input: { name: string; description?: string; trigger: AutomationTrigger; conditions?: AutomationCondi
apps/web/features/automations/actions.ts:15
↓ 3 callers
Function
createChannelDocumentFromAttachmentAction
(input: { channelName: string; attachmentId: string; title?: string; })
apps/web/features/channels/actions.ts:888
↓ 3 callers
Function
createDataTableAction
(input: { name: string; channelName?: string; columns: Array<{ name: string; type: DataColumn["t
apps/web/features/tables/actions.ts:16
↓ 3 callers
Function
createDraftFromTemplate
(template: SystemAgentTemplatePreset)
apps/web/features/agents/components/create-agent-modal.tsx:347
↓ 3 callers
Function
createExternalGoogleSheetDocumentAction
(input: { channelName: string; title: string; externalUrl: string; externalFileId?: string; summary?
apps/web/features/channels/actions.ts:554
↓ 3 callers
Function
createFakeDocumentSync
()
packages/services/src/integrations/providers/feishu/__tests__/agent-space-sync.test.ts:448
↓ 3 callers
Function
createFeishuAgentBotBindingAction
( input: CreateFeishuAgentBotBindingInput, )
apps/web/features/integrations/feishu/feishu-actions.ts:212
↓ 3 callers
Function
createFeishuInboundAttachmentDownloader
(input: { workspaceId: string; appId: string; appSecret: string; baseUrl?: string; fetchImpl?: typeo
packages/services/src/integrations/providers/feishu/attachments.ts:45
↓ 3 callers
Function
createGoogleDriveFilePermission
(input: { accessToken: string; fileId: string; emailAddress: string; role: "reader" | "writer"; send
apps/web/features/integrations/google-workspace.ts:394
↓ 3 callers
Function
createKnowledgePageAction
(input: { title: string; parentId?: string | null; contentMarkdown?: string; tags?: string[]; assign
apps/web/features/knowledge/actions.ts:18
↓ 3 callers
Function
createOpaqueId
()
packages/services/src/documents/collab.ts:342
↓ 3 callers
Function
createOpaqueId
()
packages/services/src/documents/service.ts:311
↓ 3 callers
Function
createScheduledTaskAction
(input: { title: string; description?: string; assignee?: string; channelName?: string; repeat: Sche
apps/web/features/calendar/actions.ts:14
↓ 3 callers
Function
createStateWithChannel
()
packages/services/src/documents/operations.test.ts:8
↓ 3 callers
Function
createTemplateAction
(input: { category: Template["category"]; name: string; description?: string; configJson: string; })
apps/web/features/templates/actions.ts:13
↓ 3 callers
Function
createWorkspaceInvitationAction
(input: { email: string; role: WorkspaceRole; })
apps/web/features/settings/actions.ts:282
↓ 3 callers
Function
createWorkspaceSnapshot
(state: AgentSpaceState)
packages/domain/src/workspace.ts:655
↓ 3 callers
Function
decideAgentAccessRequest
(input: { workspaceId?: string; requestId: string; resolverUserId: string; forkInvitationId?: string;
packages/db/src/agent-access-requests.ts:177
↓ 3 callers
Function
decideFeishuOutboundMessagePolicy
(input: { context: IntegrationRuntimeContext; outbox: Pick<ExternalMessageOutboxRecord, "targetExterna
packages/services/src/integrations/providers/feishu/outbound.ts:789
↓ 3 callers
Function
decideWorkspaceDataPolicyForExternalMessageSync
( input: WorkspaceDataPolicyInput, )
packages/services/src/policies/workspace-data.ts:39
↓ 3 callers
Function
decryptFeishuCredential
(value: string)
packages/services/src/integrations/providers/feishu/credentials.ts:69
↓ 3 callers
Function
dedupeDiagnostics
(diagnostics: AgentRouterDiagnostic[])
packages/daemon/src/agent-router/adapters/shared.ts:184
↓ 3 callers
Function
dedupeStrings
(values: string[])
packages/services/src/integrations/providers/feishu/lark-cli.ts:843
↓ 3 callers
Function
dedupeStrings
(values: string[])
packages/daemon/src/agent-router/capabilities.ts:197
↓ 3 callers
Function
dedupeStrings
(values: string[])
apps/web/features/channels/actions.ts:1093
↓ 3 callers
Function
dedupeWorkspaceIdentifiers
(identifiers: readonly string[])
apps/web/features/auth/workspace-selection.ts:92
↓ 3 callers
Function
defaultFeishuExternalGuestRequireIdentityFor
()
packages/services/src/integrations/providers/feishu/external-guests.ts:144
↓ 3 callers
Function
deleteChannelAttachmentAction
(input: { channelName: string; attachmentId: string; })
apps/web/features/channels/actions.ts:363
↓ 3 callers
Function
deleteChannelSync
(channelName: string, workspaceId?: string)
packages/services/src/channels/channels.ts:374
↓ 3 callers
Function
deleteFeishuIntegrationAction
( integrationId: string, )
apps/web/features/integrations/feishu/feishu-actions.ts:400
↓ 3 callers
Function
deleteSessionByTokenHashSync
(tokenHash: string)
packages/db/src/user-auth.ts:307
↓ 3 callers
Function
deleteStoredEmployeeSync
(employeeName: string, workspaceId = DEFAULT_WORKSPACE_ID)
packages/db/src/workspace-employees.ts:116
↓ 3 callers
Function
deleteWorkspaceAttachmentsSync
( attachments: Array<Pick<MessageAttachment, "storedPath" | "storageProvider" | "storageBucket" | "storageRe
packages/services/src/attachments/attachments.ts:71
↓ 3 callers
Function
deleteWorkspaceSkillSync
(skillId: string, workspaceId?: string)
packages/services/src/skills/skills.ts:164
↓ 3 callers
Function
describeAgentAccessRequestPermission
( request: ReturnType<typeof listAgentAccessRequestsSync>[number], sourceLabel?: string, )
packages/services/src/permissions/permissions.ts:2631
↓ 3 callers
Function
dismissWorkspaceChromeOverlays
(page: Page)
apps/web/e2e/helpers.ts:53
↓ 3 callers
Function
downloadFeishuInboundMessageAttachment
(input: { workspaceId: string; tenantAccessToken: string; attachment: ExternalMessageAttachment; exter
packages/services/src/integrations/providers/feishu/attachments.ts:83
↓ 3 callers
Function
drainFeishuOutboxMessages
(input: { workspaceId: string; integrationId?: string; lockedBy: string; now?: string; limit?: numbe
packages/services/src/integrations/providers/feishu/outbound.ts:883
↓ 3 callers
Function
emptyFeishuRuntimeDataOperationRequestSummary
()
packages/services/src/integrations/providers/feishu/runtime-output.ts:364
↓ 3 callers
Function
encryptFeishuCredential
(value: string)
packages/services/src/integrations/providers/feishu/credentials.ts:55
↓ 3 callers
Function
encryptGoogleWorkspaceToken
(value: string)
apps/web/features/integrations/google-workspace.ts:1001
↓ 3 callers
Function
enqueueExternalOutboundMessageSync
(input: { context: IntegrationRuntimeContext; channelBindingId?: string; agentSpaceMessageId?: string;
packages/services/src/integrations/core/outbox.ts:9
↓ 3 callers
Function
ensureAgentInChannelSync
(input: { workspaceId: string; channelName: string; agentId: string; })
packages/services/src/integrations/providers/feishu/channel-auto-provisioning.ts:330
↓ 3 callers
Function
ensureDirectChannelRecord
( state: AgentSpaceState, input: { humanMemberName: string; employeeName: string }, )
packages/services/src/channels/channels.ts:66
↓ 3 callers
Function
ensureDirectory
(dirPath: string)
packages/db/src/storage-paths.ts:95
↓ 3 callers
Function
ensureWorkspaceRecordForStateSync
(workspaceId: string)
packages/services/src/shared/state-io.ts:130
↓ 3 callers
Function
errorMessage
(error)
scripts/feishu/run-db-tests.mjs:307
↓ 3 callers
Function
execute
(params: unknown[])
packages/db/src/database.ts:687
↓ 3 callers
Function
executeApprovedFeishuDataOperation
(input: { context: IntegrationRuntimeContext; client: FeishuApiClient; runId: string; request: Externa
packages/services/src/integrations/providers/feishu/data-plane.ts:1017
↓ 3 callers
Function
executeBoundFeishuReadDataOperation
(input: { context: IntegrationRuntimeContext; client: FeishuApiClient; request: ExternalDataOperationReq
packages/services/src/integrations/providers/feishu/data-plane.ts:347
↓ 3 callers
Method
executeOperation
( context: IntegrationRuntimeContext, request: ExternalDataOperationRequest, )
packages/services/src/integrations/core/document-provider.ts:29
↓ 3 callers
Function
exportWorkspaceSkillsArchiveSync
(input: { skillIds: string[]; workspaceId?: string; })
packages/services/src/skills/export.ts:24
↓ 3 callers
Function
externalDocumentNodeId
(document: ChannelDocument)
packages/services/src/permissions/permissions.ts:2609
↓ 3 callers
Function
extractFirstMatch
(value: string | undefined, pattern: RegExp)
packages/services/src/integrations/providers/feishu/lark-cli.ts:629
↓ 3 callers
Function
extractGoogleWorkspaceFileId
(value: unknown)
packages/daemon/src/runtime-output-manifests.ts:1934
↓ 3 callers
Function
extractOpenCodeFinalText
(event: Record<string, unknown>)
packages/daemon/src/agent-router/events.ts:300
↓ 3 callers
Function
failChannelDocumentRunStepSync
(input: { queuedTaskId: string; errorText: string; }, workspaceId?: string)
packages/services/src/documents/sync.ts:1714
↓ 3 callers
Function
failureCodeForOperation
(operationType: GoogleWorkspaceCliSheetOperation["operationType"])
apps/web/features/integrations/google-workspace-cli.ts:887
↓ 3 callers
Function
findActiveProviderSessionForRouterSync
(input: { workspaceId?: string; routerSessionId: string; runtimeId: string; provider: AgentRuntimeReco
packages/db/src/agent-router-sessions.ts:364
↓ 3 callers
Function
findChannelDocumentRunStepByQueuedTaskId
( state: AgentSpaceState, queuedTaskId: string, )
packages/services/src/documents/runs.ts:60
↓ 3 callers
Function
findDraftMentionQuery
(input: string, caretIndex: number)
packages/domain/src/mentions.ts:73
↓ 3 callers
Function
findMessageChannelName
(workspaceId: string, messageId: string)
apps/web/features/channels/actions.ts:1130
↓ 3 callers
Function
findWorkspaceMemberOrThrow
( members: WorkspaceMemberUserRecord[], userId: string, )
apps/web/features/settings/actions.ts:719
↓ 3 callers
Function
formatAgentDocumentRole
( role: "viewer" | "editor" | "forwarder", tx: (zh: string, en: string) => string, )
apps/web/features/agents/components/agent-detail.tsx:937
↓ 3 callers
Function
formatChangeSetLabel
( changeSet: ChannelDocumentChangeSetRecord, tx: (zh: string, en: string) => string, )
apps/web/features/channels/channel-documents-panel.tsx:1013
↓ 3 callers
Function
formatChannelWorkspaceTime
(value?: string)
apps/web/features/channels/channels-page-client.tsx:2330
↓ 3 callers
Function
formatClaudeParseDiagnostic
(events: Array<Record<string, unknown>>, stdout: string)
packages/daemon/src/agent-router/adapters/claude.ts:256
↓ 3 callers
Function
formatCount
(value: number)
packages/domain/src/workspace.ts:698
↓ 3 callers
Function
formatDateTime
(value: string)
apps/web/features/approvals/approvals-page-client.tsx:531
↓ 3 callers
Function
formatDuration
(ms: number | null)
apps/web/features/performance/performance-page-client.tsx:190
↓ 3 callers
Function
formatKnowledgeTime
(value?: string)
apps/web/features/knowledge/knowledge-page-client.tsx:1205
↓ 3 callers
Function
formatPayloadSizeMetric
(entry: PerformanceEntry, key: string, label: string)
apps/web/features/dashboard/workspace-navigation-performance.ts:230
↓ 3 callers
Function
formatPromptIdentifier
(label: string, value: string | undefined)
packages/daemon/src/task-context.ts:940
↓ 3 callers
Function
formatReadinessItem
( label: string, item: { available: boolean; error?: string }, tx: (zh: string, en: string) => string, )
apps/web/features/agents/components/daemon-management-panel.tsx:302
↓ 3 callers
Function
formatResourceType
(type: string, tx: SettingsTx)
apps/web/features/permissions/permissions-center-section.tsx:1194
↓ 3 callers
Function
formatRouterDiagnosticDetails
(result: Awaited<ReturnType<typeof runAgentRouter>>)
packages/daemon/src/provider-runtime.ts:696
↓ 3 callers
Function
formatSource
(source: string, tx: SettingsTx)
apps/web/features/permissions/permissions-center-section.tsx:1273
↓ 3 callers
Function
formatSubjectType
(type: string, tx: SettingsTx)
apps/web/features/permissions/permissions-center-section.tsx:1235
↓ 3 callers
Function
generateUniqueWorkspaceJoinCodeSync
(excludeWorkspaceId?: string)
packages/db/src/workspaces.ts:256
↓ 3 callers
Function
getAutomationsPageData
(workspaceId = DEFAULT_WORKSPACE_ID)
apps/web/features/dashboard/data.ts:5452
← previous
next →
1,201–1,300 of 5,266, ranked by callers