MCPcopy Create free account

hub / github.com/Miosa-osa/BusinessOS / functions

Functions12,109 in github.com/Miosa-osa/BusinessOS

↓ 16 callersFunctionnewWorkflowsHandler
--------------------------------------------------------------------------- INTEGRATION TESTS: full DB-backed scenarios ------------------------------
desktop/backend-go/internal/handlers/osa_workflows_test.go:379
↓ 16 callersMethodsendTemplate
=========================================== Core Template Sending =========================================== sendTemplate renders and sends an email
desktop/backend-go/internal/services/templates/email_template_service.go:478
↓ 16 callersMethodstop
()
frontend/src/lib/services/voiceTranscriptionService.ts:42
↓ 16 callersFunctiontick
()
frontend/src/lib/hooks/useVoiceRecorder.svelte.ts:75
↓ 16 callersFunctionvalidateManifest
(manifest map[string]interface{})
desktop/backend-go/internal/services/custom_module_service.go:154
↓ 15 callersMethodBuildAppGenerationPrompt
BuildAppGenerationPrompt builds a prompt for app generation
desktop/backend-go/internal/services/osa_prompt_builder.go:137
↓ 15 callersMethodClassify
Classify produces a SignalEnvelope from a user message. focusMode maps to OSA mode. hasProject/hasClient increase genre confidence.
desktop/backend-go/internal/signal/classifier.go:26
↓ 15 callersMethodComposePrompt
ComposePrompt assembles a complete prompt from layers
desktop/backend-go/internal/prompts/composer.go:42
↓ 15 callersMethodIsProduction
IsProduction returns true if running in production environment.
desktop/backend-go/internal/config/config_provider.go:92
↓ 15 callersFunctionNewEmbeddingCacheService
NewEmbeddingCacheService creates a new embedding cache service If redisClient is nil, the service will be disabled pool is optional and only used for
desktop/backend-go/internal/services/embedding_cache_service.go:73
↓ 15 callersFunctionNewOSAStreamingHandler
NewOSAStreamingHandler creates a new SSE streaming handler
desktop/backend-go/internal/handlers/osa_streaming.go:58
↓ 15 callersFunctionNewRateLimiter
NewRateLimiter creates a new rate limiter
desktop/backend-go/internal/terminal/ratelimit.go:66
↓ 15 callersFunctionNewWorker
(agentType AgentType, progressCallback ProgressCallback)
desktop/backend-go/internal/appgen/worker.go:18
↓ 15 callersMethodbuildQuery
Build a query string from a plain object, omitting undefined/null values.
optimal-engine/sdks/typescript/src/http.ts:89
↓ 15 callersFunctioncreateMockSSEStream
(events: Array<{ type: string; data?: string; [key: string]: any }>)
frontend/src/lib/components/agents/AgentSandbox.test.ts:16
↓ 15 callersMethodcreateTableSyncHandler
createTableSyncHandler creates a handler for a specific table's sync endpoint.
desktop/backend-go/internal/handlers/sync.go:210
↓ 15 callersFunctiongetCSRFToken
()
frontend/src/lib/api/base.ts:21
↓ 15 callersMethodhashContent
(content string)
desktop/backend-go/internal/services/block_mapper_helpers.go:57
↓ 15 callersFunctionmapStatusForFrontend
mapStatusForFrontend converts backend status strings to frontend-expected values. Frontend expects: pending, starting, in_progress, completed, failed
desktop/backend-go/internal/handlers/osa_apps_helpers.go:16
↓ 15 callersMethodonError
Register an error handler.
optimal-engine/sdks/typescript/src/surface.ts:32
↓ 15 callersFunctionpgUUIDToUUID
pgUUIDToUUID converts pgtype.UUID to uuid.UUID
desktop/backend-go/internal/services/osa_queue_worker.go:562
↓ 15 callersFunctionsaveSettings
(state: WindowStoreShape)
frontend/src/lib/stores/desktopPersistence.ts:126
↓ 15 callersFunctionwriteJSON
(w http.ResponseWriter, code int, v interface{})
desktop/backend-go/internal/sandbox/e2b/e2b_test.go:45
↓ 14 callersFunctionIsFallback
IsFallback reports whether err is (or wraps) a FallbackError. The SORX engine calls this to distinguish degraded-mode situations from hard failures.
desktop/backend-go/internal/carrier/fallback.go:61
↓ 14 callersFunctionNewFastClassifier
NewFastClassifier creates a new FastClassifier.
desktop/backend-go/internal/signal/classifier.go:20
↓ 14 callersFunctionNewQuotaService
NewQuotaService creates a new quota management service.
desktop/backend-go/internal/services/sandbox_quota.go:99
↓ 14 callersMethodRemove
(ctx context.Context, appID uuid.UUID)
desktop/backend-go/internal/handlers/sandbox.go:23
↓ 14 callersMethodSend
Send publishes a request to SorxMain and blocks until the matching response arrives or the context / send timeout expires. When SorxMain is unavailab
desktop/backend-go/internal/carrier/client.go:123
↓ 14 callersMethodSize
Size returns the current queue size
desktop/backend-go/internal/integrations/osa/fallback.go:340
↓ 14 callersMethodStop
Stop stops the rate limiter cleanup goroutine
desktop/backend-go/internal/terminal/ratelimit.go:211
↓ 14 callersFunctioncreateOSATestApp
createOSATestApp creates a test OSA generated app for API tests
desktop/backend-go/internal/handlers/osa_api_test_helpers.go:66
↓ 14 callersFunctioncrmToNullUUID
(s string)
desktop/backend-go/internal/handlers/crm_helpers.go:53
↓ 14 callersMethodestimateTokens
estimateTokens estimates token count for text
desktop/backend-go/internal/services/smart_chunking_utils.go:92
↓ 14 callersFunctionloadCredentials
============================================================================ Helper Functions - Credential Loading & Retry Logic =====================
desktop/backend-go/internal/sorx/actions.go:62
↓ 14 callersFunctionmin
(a, b int)
desktop/backend-go/internal/services/dikw_classifier_test.go:64
↓ 14 callersFunctionparseIntParam
(s string)
desktop/backend-go/internal/handlers/osa_apps_helpers.go:34
↓ 14 callersFunctionsetupTestLogger
setupTestLogger creates a test logger
desktop/backend-go/internal/cache/cache_test.go:29
↓ 14 callersFunctionsetupTestRedis
setupTestRedis creates a mini-redis instance for testing
desktop/backend-go/internal/cache/cache_test.go:17
↓ 14 callersFunctiontestQuotaConfig
testQuotaConfig creates a config for quota tests
desktop/backend-go/internal/services/sandbox_quota_test.go:19
↓ 14 callersFunctiontestQuotaLogger
testQuotaLogger creates a logger for quota tests
desktop/backend-go/internal/services/sandbox_quota_test.go:14
↓ 14 callersFunctionuuidToPgtype
Helper to convert google/uuid to pgtype.UUID
desktop/backend-go/internal/tools/dashboard_tool.go:110
↓ 13 callersFunctionCSRF
CSRF returns a middleware that provides CSRF protection using the Double Submit Cookie pattern How it works: 1. Generates a random token and stores i
desktop/backend-go/internal/middleware/csrf.go:90
↓ 13 callersFunctionConfigFromEnv
ConfigFromEnv reads CARRIER configuration from environment variables, merging over the supplied base. Missing optional variables retain their base val
desktop/backend-go/internal/carrier/config.go:56
↓ 13 callersMethodExecute
Execute runs a function with circuit breaker protection
desktop/backend-go/internal/integrations/osa/resilience.go:110
↓ 13 callersMethodGetClient
GetClient returns a single client with its contacts, interactions, and deals
desktop/backend-go/internal/handlers/clients.go:198
↓ 13 callersMethodGetEnabledTools
GetEnabledTools returns the list of tools this agent can use
desktop/backend-go/internal/agents/base_agent.go:223
↓ 13 callersMethodName
Identity
desktop/backend-go/internal/integrations/types.go:14
↓ 13 callersFunctionNewAppContainerManager
NewAppContainerManager creates a new app container manager.
desktop/backend-go/internal/container/app_container.go:87
↓ 13 callersFunctionNewHTTPRateLimiter
NewHTTPRateLimiter creates a new HTTP rate limiter
desktop/backend-go/internal/middleware/rate_limiter.go:76
↓ 13 callersFunctionNewSandboxCleanupService
NewSandboxCleanupService creates a new cleanup service.
desktop/backend-go/internal/services/sandbox_cleanup.go:73
↓ 13 callersFunctionNewWorkspaceManager
NewWorkspaceManager creates a new workspace manager
desktop/backend-go/internal/services/workspace_manager.go:20
↓ 13 callersMethodProcessChunk
ProcessChunk processes a chunk of streaming output and returns events
desktop/backend-go/internal/streaming/artifact_detector.go:32
↓ 13 callersFunctionRespondUnauthorizedErr
RespondUnauthorizedErr sends a 401. Pass a safe message like "authentication required" or "invalid token".
desktop/backend-go/internal/handlers/error_middleware.go:105
↓ 13 callersFunctionRetryWithBackoffTimeout
RetryWithBackoffTimeout executes a function with exponential backoff and configurable timeout
desktop/backend-go/internal/integrations/osa/resilience.go:286
↓ 13 callersMethodSearch
(ctx context.Context, query string, maxResults int)
desktop/backend-go/internal/services/websearch_service.go:41
↓ 13 callersFunctionTransformContext
(ctx sqlc.Context)
desktop/backend-go/internal/handlers/response_workspace.go:224
↓ 13 callersMethodValidateInput
ValidateInput checks input and returns a validation result
desktop/backend-go/internal/terminal/sanitizer.go:184
↓ 13 callersFunctioncomputeUnifiedDiff
computeUnifiedDiff computes a unified diff between two strings
desktop/backend-go/internal/services/workspace_version_diff.go:245
↓ 13 callersFunctioncreateBlock
(type: BlockType, content: string = '', properties?: EditorBlock['properties'], preserveFormatting: boolean =
frontend/src/lib/utils/markdown-blocks.ts:26
↓ 13 callersMethoddoJSON
(ctx context.Context, method, path string, payload interface{}, out interface{})
desktop/backend-go/internal/integrations/osa/client.go:336
↓ 13 callersMethodget
(self, path: str, *, params: dict[str, Any] | None = None)
optimal-engine/sdks/python/src/optimal_engine/retrieval.py:42
↓ 13 callersFunctionindexFilesByPath
indexFilesByPath creates a map of file path → file info
desktop/backend-go/internal/services/workspace_version_diff.go:221
↓ 13 callersFunctionmockConversation
(overrides?: Partial<Conversation>)
frontend/src/lib/test-utils/mocks.ts:70
↓ 13 callersFunctionparseInlineMarkdownToRichText
(text: string)
frontend/src/lib/modules/knowledge-base/utils/rich-text.ts:36
↓ 13 callersFunctionptrIfNotEmpty
(s string)
desktop/backend-go/internal/services/imports.go:171
↓ 13 callersMethodsanitize
sanitize fills in default values for optional Request fields and clamps Priority to the valid range. It does not validate required fields.
desktop/backend-go/internal/carrier/messages.go:196
↓ 13 callersFunctionsignInWithEmail
( email: string, password: string, serverUrl?: string, )
frontend/src/lib/auth-client.ts:194
↓ 13 callersFunctiontestAppLogger
testAppLogger creates a logger for tests
desktop/backend-go/internal/container/app_container_test.go:13
↓ 13 callersFunctiontestCleanupLogger
testCleanupLogger creates a logger for tests
desktop/backend-go/internal/services/sandbox_cleanup_test.go:14
↓ 12 callersMethodAddMember
===================================================================== MEMBER MANAGEMENT ==============================================================
desktop/backend-go/internal/services/workspace_service.go:351
↓ 12 callersMethodGet
============================================================================= GENERIC KEY-VALUE CACHING ==============================================
desktop/backend-go/internal/cache/redis_cache.go:355
↓ 12 callersMethodGetConnectionStatus
Connection Management
desktop/backend-go/internal/integrations/types.go:25
↓ 12 callersMethodGetSystemPrompt
Configuration
desktop/backend-go/internal/agents/agent.go:35
↓ 12 callersFunctionNewArtifactDetector
NewArtifactDetector creates a new artifact detector
desktop/backend-go/internal/streaming/artifact_detector.go:22
↓ 12 callersFunctionNewCacheWorkerPool
NewCacheWorkerPool creates a new cache worker pool Parameters: - workers: Number of concurrent workers (recommended: 5-20 depending on load) - queueS
desktop/backend-go/internal/redis/worker_pool.go:178
↓ 12 callersFunctionNewE2BError
NewE2BError constructs a minimal E2BError.
desktop/backend-go/internal/sandbox/e2b/errors.go:111
↓ 12 callersMethodRelease
Release marks a port as available
desktop/backend-go/internal/services/app_deployment.go:80
↓ 12 callersFunctionRoutingKey
RoutingKey constructs a dot-separated AMQP topic routing key from a topic and an action. For example, RoutingKey("mcts", "analyze_revenue") returns "m
desktop/backend-go/internal/carrier/routing.go:37
↓ 12 callersMethodStatus
Status handles GET /api/sync/status. Returns the last push and pull timestamps for the requesting device (or any device when device_id is omitted), a
desktop/backend-go/internal/handlers/cloud_sync.go:256
↓ 12 callersMethodStop
Stop stops the image warming service
desktop/backend-go/internal/services/sandbox_image_warmer.go:123
↓ 12 callersMethodType
Identity
desktop/backend-go/internal/agents/agent.go:30
↓ 12 callersMethodUpdateStep
UpdateStep updates an existing step
desktop/backend-go/internal/agents/orchestration_cot.go:21
↓ 12 callersMethodValidate
(ctx context.Context, s *Signal)
desktop/backend-go/internal/signal/verification.go:44
↓ 12 callersFunctionaddMessage
(s: ElectronStateSetters, msg: MessageEntry)
frontend/src/lib/components/popup-chat/popupChatElectron.ts:28
↓ 12 callersFunctionbuildHeaders
(includeContentType = false)
frontend/src/lib/stores/computer.ts:88
↓ 12 callersMethodcreateChunk
createChunk creates a chunk with ID and metadata
desktop/backend-go/internal/services/smart_chunking_utils.go:60
↓ 12 callersFunctioncrmDateToString
(d pgtype.Date)
desktop/backend-go/internal/handlers/crm_helpers.go:331
↓ 12 callersMethoddistance
* Calculate 3D distance between two hand landmarks
frontend/src/lib/services/simpleGestureController.ts:306
↓ 12 callersMethodinvalidatePatterns
============================================================================= INTERNAL HELPERS =======================================================
desktop/backend-go/internal/cache/invalidation.go:234
↓ 12 callersFunctionlogin
(page: Page, user: TestUser)
frontend/tests/e2e/fixtures/helpers.ts:13
↓ 12 callersFunctionmakeBlock
( type: BlockType, text: string, extra?: Record<string, unknown>, )
frontend/src/lib/modules/knowledge-base/services/documents.service.ts:286
↓ 12 callersFunctionnewClient
(t *testing.T, baseURL string)
desktop/backend-go/internal/sandbox/e2b/e2b_test.go:27
↓ 12 callersFunctionnewFallback
newFallback constructs a FallbackError with the given reason and optional underlying error.
desktop/backend-go/internal/carrier/fallback.go:68
↓ 12 callersFunctionsetupTestTemplatesDir
setupTestTemplatesDir creates a temporary directory with test templates
desktop/backend-go/internal/services/template_loader_service_test.go:13
↓ 12 callersFunctiontransformDashboard
(d sqlc.UserDashboard)
desktop/backend-go/internal/handlers/dashboard_crud_helpers.go:20
↓ 11 callersMethodAllocate
Allocate assigns an available port to the given app. Uses Redis SETNX for distributed locking, with database persistence.
desktop/backend-go/internal/services/port_allocator.go:89
↓ 11 callersMethodCanAccessMemory
CanAccessMemory checks if user can access a specific memory
desktop/backend-go/internal/services/memory_hierarchy_service.go:145
↓ 11 callersMethodComputeDiff
ComputeDiff compares two snapshots and returns the differences
desktop/backend-go/internal/services/snapshot_diff.go:88
↓ 11 callersMethodConnect
Connect handles API key connection. Accepts API key and validates it by making a test API call.
desktop/backend-go/internal/integrations/fathom/handler.go:51
↓ 11 callersMethodCreateWorkspace
===================================================================== WORKSPACE CRUD =================================================================
desktop/backend-go/internal/services/workspace_service.go:107
← previousnext →201–300 of 12,109, ranked by callers