MCPcopy Create free account

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

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

↓ 11 callersFunctionDefaultCircuitBreakerConfig
DefaultCircuitBreakerConfig returns sensible defaults
desktop/backend-go/internal/integrations/osa/resilience.go:84
↓ 11 callersFunctionDefaultCleanupConfig
DefaultCleanupConfig returns the default cleanup configuration.
desktop/backend-go/internal/services/sandbox_cleanup.go:34
↓ 11 callersFunctionDefaultMonitorConfig
DefaultMonitorConfig returns default monitoring configuration
desktop/backend-go/internal/container/monitor.go:64
↓ 11 callersMethodDisconnect
(ctx context.Context, userID string)
desktop/backend-go/internal/integrations/types.go:26
↓ 11 callersMethodExecute
Execute runs the skill with the given parameters params should be a JSON-serializable map of parameters Returns the result as a JSON-serializable valu
desktop/backend-go/internal/services/skills/types.go:19
↓ 11 callersMethodGet
============================================================================= GENERIC QUERY CACHING ==================================================
desktop/backend-go/internal/cache/query_cache.go:58
↓ 11 callersMethodGetAgent
GetAgent creates an agent of the specified type
desktop/backend-go/internal/agents/agent.go:141
↓ 11 callersFunctionGetCurrentUser
GetCurrentUser retrieves the authenticated user from context
desktop/backend-go/internal/middleware/auth.go:177
↓ 11 callersFunctionNewImageWarmerService
NewImageWarmerService creates a new image warmer service
desktop/backend-go/internal/services/sandbox_image_warmer.go:41
↓ 11 callersFunctionNewMemoryHandler
NewMemoryHandler creates a new MemoryHandler
desktop/backend-go/internal/handlers/memory.go:25
↓ 11 callersFunctionNewMockBlockStore
()
desktop/backend-go/internal/subconscious/block_store_test.go:17
↓ 11 callersFunctionNewOSAAppsHandler
NewOSAAppsHandler creates a new OSA apps handler
desktop/backend-go/internal/handlers/osa_apps_management.go:30
↓ 11 callersFunctionNewSandboxPortAllocator
NewSandboxPortAllocator creates a new port allocator with the given configuration.
desktop/backend-go/internal/services/port_allocator.go:57
↓ 11 callersFunctionNewSelfImprovementEngine
NewSelfImprovementEngine constructs a SelfImprovementEngine. redisClient may be nil; in that case reward-weight loads fall back to defaults and Q-tabl
desktop/backend-go/internal/feedback/self_improvement.go:112
↓ 11 callersMethodRegister
Register adds a skill to the registry
desktop/backend-go/internal/services/skills/registry.go:24
↓ 11 callersMethodSecurity
Security logs security-relevant events
desktop/backend-go/internal/logging/sanitizer.go:282
↓ 11 callersMethodSendToUser
SendToUser sends an event to all connections for a user with timeout and health tracking
desktop/backend-go/internal/services/sse_broadcaster.go:113
↓ 11 callersMethodcheckSchemaProtection
checkSchemaProtection validates changes against protected schemas
desktop/backend-go/internal/services/module_protection.go:179
↓ 11 callersFunctioncontainsType
containsType reports whether the slice contains the given type string
desktop/backend-go/internal/services/context_search.go:394
↓ 11 callersFunctioncreateOSATestUser
createOSATestUser creates a test user and session for OSA API tests
desktop/backend-go/internal/handlers/osa_api_test_helpers.go:16
↓ 11 callersFunctioncreateUniqueTestUser
(baseName = 'test')
frontend/tests/e2e/fixtures/testUsers.ts:55
↓ 11 callersFunctiondashboardJsonBody
dashboardJsonBody serialises v and returns a *bytes.Buffer for HTTP requests.
desktop/backend-go/internal/handlers/dashboard_test.go:103
↓ 11 callersFunctiondisabledClient
============================================================================ Helpers =================================================================
desktop/backend-go/internal/carrier/client_test.go:18
↓ 11 callersFunctiongetFieldConfig
(field: Field)
frontend/src/lib/templates/utils/validation.ts:231
↓ 11 callersFunctionisValidUUID
(uuid: string)
frontend/src/lib/utils/validation.ts:4
↓ 11 callersFunctionnewNoDBHandler
--------------------------------------------------------------------------- UNIT TESTS: auth-only handler paths — no database required ---------------
desktop/backend-go/internal/handlers/osa_workflows_test.go:134
↓ 11 callersFunctionptr
============================================================================= POINTER HELPERS ========================================================
desktop/backend-go/internal/services/imports.go:167
↓ 11 callersMethodrate
()
desktop/backend-go/internal/subconscious/metrics_impl.go:42
↓ 11 callersFunctionrequest
( path: string, options: RequestOptions = {}, )
optimal-engine/apps/mcp/src/client.ts:52
↓ 11 callersMethodrequireAPIKey
()
desktop/backend-go/internal/integrations/miosa/compute_client.go:256
↓ 11 callersFunctionseedUserAndWorkspace
seedUserAndWorkspace inserts a minimal user and workspace so FK constraints on custom_modules / module_installations are satisfied.
desktop/backend-go/internal/services/module_lifecycle_test.go:113
↓ 11 callersFunctionsetupTestRedis
setupTestRedis creates a Redis client for testing Set REDIS_URL environment variable or use default localhost:6379
desktop/backend-go/internal/services/embedding_cache_service_test.go:15
↓ 11 callersFunctiontimestampPtrToString
(t pgtype.Timestamptz)
desktop/backend-go/internal/handlers/osa_apps_helpers.go:123
↓ 10 callersMethodActiveHintsForUser
ActiveHintsForUser returns hints scoped to a specific user. Falls back to ActiveHints() if userID is empty.
desktop/backend-go/internal/subconscious/injector.go:72
↓ 10 callersMethodAddConnection
AddConnection increments connection count for a user Returns true if connection is allowed, false if limit exceeded
desktop/backend-go/internal/terminal/ratelimit.go:125
↓ 10 callersMethodClose
Close cleans up the test Redis instance
desktop/backend-go/internal/testutil/containers.go:130
↓ 10 callersMethodConnectedCount
ConnectedCount returns number of connected users
desktop/backend-go/internal/services/sse_broadcaster.go:267
↓ 10 callersMethodCreateMessage
(ctx context.Context, arg CreateMessageParams)
desktop/backend-go/internal/database/sqlc/conversations.sql.go:53
↓ 10 callersFunctionCreateTestCredentials
CreateTestCredentials creates test credentials map
desktop/backend-go/internal/sorx/live_test_helpers.go:249
↓ 10 callersMethodDeleteWorkspace
DeleteWorkspace deletes a workspace (only owner can do this)
desktop/backend-go/internal/services/workspace_service.go:322
↓ 10 callersMethodEnabled
Enabled reports whether the client will actually issue requests.
desktop/backend-go/internal/optimalengine/client.go:65
↓ 10 callersMethodExchangeCode
(ctx context.Context, code string)
desktop/backend-go/internal/integrations/types.go:21
↓ 10 callersMethodExtract
Extract detects patterns from the current turn's messages.
desktop/backend-go/internal/subconscious/pattern_extractor.go:30
↓ 10 callersMethodFlush
Flush returns any remaining buffered content
desktop/backend-go/internal/streaming/artifact_detector.go:240
↓ 10 callersMethodGenerate
Generate processes an app generation request with full production patterns
desktop/backend-go/internal/services/app_generation_orchestrator.go:73
↓ 10 callersMethodGenerateApp
GenerateApp generates an app with full resilience
desktop/backend-go/internal/integrations/osa/resilient_client_ops.go:12
↓ 10 callersMethodGetContext
GetContext returns a single context
desktop/backend-go/internal/handlers/contexts_read.go:111
↓ 10 callersMethodGetLastMode
GetLastMode returns the last known mode for a conversation from cache. Returns empty string if no mode is cached.
desktop/backend-go/internal/services/mode_transition.go:166
↓ 10 callersFunctionGetLogger
GetLogger returns the global sanitized logger
desktop/backend-go/internal/logging/sanitizer.go:93
↓ 10 callersMethodGetSubscriberCount
GetSubscriberCount returns the current number of active subscribers
desktop/backend-go/internal/services/build_event_bus.go:338
↓ 10 callersMethodHealthCheck
HealthCheck checks if OSA is healthy and reachable.
desktop/backend-go/internal/integrations/osa/client.go:155
↓ 10 callersMethodIsContainerized
IsContainerized returns true if this session is running in a Docker container
desktop/backend-go/internal/terminal/session.go:81
↓ 10 callersFunctionNewCacheService
NewCacheService creates a new cache service instance
desktop/backend-go/internal/cache/redis_cache.go:36
↓ 10 callersFunctionNewModuleInstallationService
(pool *pgxpool.Pool, logger *slog.Logger)
desktop/backend-go/internal/services/module_installation_service.go:39
↓ 10 callersFunctionNewRegistry
NewRegistry creates a new skill registry
desktop/backend-go/internal/services/skills/registry.go:17
↓ 10 callersFunctionNewSandboxHealthMonitor
NewSandboxHealthMonitor creates a new health monitor.
desktop/backend-go/internal/services/sandbox_health_monitor.go:83
↓ 10 callersFunctionNewSnapshotDiffService
NewSnapshotDiffService creates a new snapshot diff service
desktop/backend-go/internal/services/snapshot_diff.go:80
↓ 10 callersMethodObserveSync
ObserveSync runs the pipeline synchronously. Used for testing.
desktop/backend-go/internal/subconscious/observer.go:59
↓ 10 callersMethodRecordCorrectionResult
RecordCorrectionResult records whether a single-loop correction worked. Called by the homeostatic loop after each correction attempt.
desktop/backend-go/internal/feedback/double_loop.go:58
↓ 10 callersMethodRegisterContainer
RegisterContainer registers a new container with the monitor
desktop/backend-go/internal/container/monitor.go:490
↓ 10 callersMethodRegisterHandler
===================================================================== HANDLER REGISTRATION ===========================================================
desktop/backend-go/internal/services/background_jobs_worker.go:58
↓ 10 callersMethodSet
Set stores a generic value in cache with TTL
desktop/backend-go/internal/cache/redis_cache.go:371
↓ 10 callersMethodShutdown
Shutdown gracefully shuts down the worker pool Waits for all workers to finish processing current tasks. Parameters: - timeout: Maximum time to wait
desktop/backend-go/internal/redis/worker_pool.go:380
↓ 10 callersMethodStart
Start begins processing tasks with the configured number of workers This is non-blocking - workers run in background goroutines.
desktop/backend-go/internal/redis/worker_pool.go:206
↓ 10 callersMethodStop
Stop stops the cleanup goroutine
desktop/backend-go/internal/middleware/rate_limiter.go:228
↓ 10 callersMethodUpsertBlock
(_ context.Context, block Block)
desktop/backend-go/internal/subconscious/block_store_test.go:50
↓ 10 callersMethodcheckFileProtection
checkFileProtection validates changes against protected files
desktop/backend-go/internal/services/module_protection.go:238
↓ 10 callersFunctioncontainsSubstring
Helper functions containsSubstring checks if a string contains a substring (case-insensitive)
desktop/backend-go/tests/security/injection_test.go:320
↓ 10 callersFunctioncreateModuleFromFixture
createModuleFromFixture creates a module in the DB using a named fixture file.
desktop/backend-go/internal/services/module_lifecycle_test.go:136
↓ 10 callersFunctioncrmToNumeric
(f *float64)
desktop/backend-go/internal/handlers/crm_helpers.go:64
↓ 10 callersFunctionembedText
(ctx context.Context, embed *services.EmbeddingService, text string)
desktop/backend-go/cmd/reembed/main.go:813
↓ 10 callersMethodextractEntitiesFromText
extractEntitiesFromText extracts entities from text
desktop/backend-go/internal/services/memory_extractor_helpers.go:41
↓ 10 callersFunctiongenerateCSRFToken
Helper functions
desktop/backend-go/tests/security/csrf_test.go:251
↓ 10 callersFunctiongenerateSessionBoundState
generateSessionBoundState creates a state bound to the user's session ID. This prevents CSRF attacks where an attacker uses their own state parameter.
desktop/backend-go/internal/handlers/oauth_common.go:112
↓ 10 callersFunctiongetApiBaseUrl
(version = API_VERSION)
frontend/src/lib/config/runtime.ts:62
↓ 10 callersFunctiongetHeaders
()
frontend/src/lib/api/rag/client.ts:21
↓ 10 callersFunctionmockMemoryListItem
(overrides?: Partial<MemoryListItem>)
frontend/src/lib/test-utils/mocks.ts:37
↓ 10 callersFunctionnewNoAuthRouter
newNoAuthRouter returns a gin.Engine with no user injected (simulates unauthenticated requests).
desktop/backend-go/internal/handlers/osa_apps_management_test.go:48
↓ 10 callersFunctionpersist
()
frontend/src/lib/stores/terminal/terminalStore.svelte.ts:480
↓ 10 callersMethodrequest
( endpoint: string, options: RequestInit = {}, )
frontend/src/lib/api/onboarding/index.ts:82
↓ 10 callersFunctionrequireDocker
requireDocker skips the test if no Docker daemon is reachable. All ImageWarmerService tests require a live Docker daemon.
desktop/backend-go/internal/services/sandbox_image_warmer_test.go:16
↓ 10 callersFunctionsaveState
(state: OnboardingState)
frontend/src/lib/stores/onboardingStore.ts:113
↓ 10 callersMethodsendEvent
sendEvent safely sends an event to the channel
desktop/backend-go/internal/services/osa_app_service.go:341
↓ 10 callersFunctionsetupTestRedis
setupTestRedis creates a test Redis instance using miniredis
desktop/backend-go/internal/redis/worker_pool_test.go:17
↓ 10 callersFunctionsetupTestWorkspace
============================================================================= TEST HELPERS ===========================================================
desktop/backend-go/internal/services/workspace_service_test.go:19
↓ 10 callersFunctionsignUpWithEmail
( email: string, password: string, name: string, serverUrl?: string, )
frontend/src/lib/auth-client.ts:165
↓ 10 callersMethodstatus
()
optimal-engine/sdks/typescript/src/client.ts:108
↓ 10 callersFunctiontableMapToJSONBytes
tableMapToJSONBytes converts a map to JSON bytes
desktop/backend-go/internal/handlers/tables_helpers.go:69
↓ 10 callersFunctiontestConfig
testConfig creates a config for tests
desktop/backend-go/internal/services/port_allocator_test.go:20
↓ 10 callersFunctiontestHealthLogger
testHealthLogger creates a logger for tests
desktop/backend-go/internal/services/sandbox_health_monitor_test.go:14
↓ 10 callersFunctiontestLogger
testLogger creates a logger for tests
desktop/backend-go/internal/services/port_allocator_test.go:15
↓ 10 callersMethoduserSessionsKey
userSessionsKey generates a secure Redis key for user's session set using HMAC-SHA256 This prevents user ID enumeration and links session hashes to us
desktop/backend-go/internal/middleware/redis_auth.go:116
↓ 10 callersFunctionuuidString
uuidString formats a UUID byte array as the canonical hex form. Avoids pulling the uuid package at this layer just for a tiny formatter.
desktop/backend-go/internal/handlers/contexts.go:137
↓ 10 callersFunctionvalidateSessionBoundState
validateSessionBoundState validates that the state matches the session.
desktop/backend-go/internal/handlers/oauth_common.go:139
↓ 9 callersMethodAPIRequest
APIRequest makes an authenticated request to the Notion API.
desktop/backend-go/internal/integrations/notion/provider.go:309
↓ 9 callersMethodAllowMessage
AllowMessage checks if a message is allowed under rate limiting
desktop/backend-go/internal/terminal/ratelimit.go:100
↓ 9 callersFunctionDefaultChunkOptions
DefaultChunkOptions returns sensible defaults
desktop/backend-go/internal/services/smart_chunking_service.go:52
↓ 9 callersMethodExecCommand
---- Exec / Checkpoint / Restore --------------------------------------------- ExecCommand executes a command inside a running Sprite and returns its
desktop/backend-go/internal/integrations/sprites/client.go:218
↓ 9 callersMethodGetCalendarAPI
GetCalendarAPI returns a Google Calendar API service for a user.
desktop/backend-go/internal/integrations/google/calendar.go:56
↓ 9 callersMethodGetCredential
(ctx context.Context, userID, providerID string)
desktop/backend-go/internal/integrations/handler.go:22
← previousnext →301–400 of 12,109, ranked by callers