Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Miosa-osa/BusinessOS
/ functions
Functions
12,109 in github.com/Miosa-osa/BusinessOS
⨍
Functions
12,109
◇
Types & classes
4,149
↓ 11 callers
Function
DefaultCircuitBreakerConfig
DefaultCircuitBreakerConfig returns sensible defaults
desktop/backend-go/internal/integrations/osa/resilience.go:84
↓ 11 callers
Function
DefaultCleanupConfig
DefaultCleanupConfig returns the default cleanup configuration.
desktop/backend-go/internal/services/sandbox_cleanup.go:34
↓ 11 callers
Function
DefaultMonitorConfig
DefaultMonitorConfig returns default monitoring configuration
desktop/backend-go/internal/container/monitor.go:64
↓ 11 callers
Method
Disconnect
(ctx context.Context, userID string)
desktop/backend-go/internal/integrations/types.go:26
↓ 11 callers
Method
Execute
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 callers
Method
Get
============================================================================= GENERIC QUERY CACHING ==================================================
desktop/backend-go/internal/cache/query_cache.go:58
↓ 11 callers
Method
GetAgent
GetAgent creates an agent of the specified type
desktop/backend-go/internal/agents/agent.go:141
↓ 11 callers
Function
GetCurrentUser
GetCurrentUser retrieves the authenticated user from context
desktop/backend-go/internal/middleware/auth.go:177
↓ 11 callers
Function
NewImageWarmerService
NewImageWarmerService creates a new image warmer service
desktop/backend-go/internal/services/sandbox_image_warmer.go:41
↓ 11 callers
Function
NewMemoryHandler
NewMemoryHandler creates a new MemoryHandler
desktop/backend-go/internal/handlers/memory.go:25
↓ 11 callers
Function
NewMockBlockStore
()
desktop/backend-go/internal/subconscious/block_store_test.go:17
↓ 11 callers
Function
NewOSAAppsHandler
NewOSAAppsHandler creates a new OSA apps handler
desktop/backend-go/internal/handlers/osa_apps_management.go:30
↓ 11 callers
Function
NewSandboxPortAllocator
NewSandboxPortAllocator creates a new port allocator with the given configuration.
desktop/backend-go/internal/services/port_allocator.go:57
↓ 11 callers
Function
NewSelfImprovementEngine
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 callers
Method
Register
Register adds a skill to the registry
desktop/backend-go/internal/services/skills/registry.go:24
↓ 11 callers
Method
Security
Security logs security-relevant events
desktop/backend-go/internal/logging/sanitizer.go:282
↓ 11 callers
Method
SendToUser
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 callers
Method
checkSchemaProtection
checkSchemaProtection validates changes against protected schemas
desktop/backend-go/internal/services/module_protection.go:179
↓ 11 callers
Function
containsType
containsType reports whether the slice contains the given type string
desktop/backend-go/internal/services/context_search.go:394
↓ 11 callers
Function
createOSATestUser
createOSATestUser creates a test user and session for OSA API tests
desktop/backend-go/internal/handlers/osa_api_test_helpers.go:16
↓ 11 callers
Function
createUniqueTestUser
(baseName = 'test')
frontend/tests/e2e/fixtures/testUsers.ts:55
↓ 11 callers
Function
dashboardJsonBody
dashboardJsonBody serialises v and returns a *bytes.Buffer for HTTP requests.
desktop/backend-go/internal/handlers/dashboard_test.go:103
↓ 11 callers
Function
disabledClient
============================================================================ Helpers =================================================================
desktop/backend-go/internal/carrier/client_test.go:18
↓ 11 callers
Function
getFieldConfig
(field: Field)
frontend/src/lib/templates/utils/validation.ts:231
↓ 11 callers
Function
isValidUUID
(uuid: string)
frontend/src/lib/utils/validation.ts:4
↓ 11 callers
Function
newNoDBHandler
--------------------------------------------------------------------------- UNIT TESTS: auth-only handler paths — no database required ---------------
desktop/backend-go/internal/handlers/osa_workflows_test.go:134
↓ 11 callers
Function
ptr
============================================================================= POINTER HELPERS ========================================================
desktop/backend-go/internal/services/imports.go:167
↓ 11 callers
Method
rate
()
desktop/backend-go/internal/subconscious/metrics_impl.go:42
↓ 11 callers
Function
request
( path: string, options: RequestOptions = {}, )
optimal-engine/apps/mcp/src/client.ts:52
↓ 11 callers
Method
requireAPIKey
()
desktop/backend-go/internal/integrations/miosa/compute_client.go:256
↓ 11 callers
Function
seedUserAndWorkspace
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 callers
Function
setupTestRedis
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 callers
Function
timestampPtrToString
(t pgtype.Timestamptz)
desktop/backend-go/internal/handlers/osa_apps_helpers.go:123
↓ 10 callers
Method
ActiveHintsForUser
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 callers
Method
AddConnection
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 callers
Method
Close
Close cleans up the test Redis instance
desktop/backend-go/internal/testutil/containers.go:130
↓ 10 callers
Method
ConnectedCount
ConnectedCount returns number of connected users
desktop/backend-go/internal/services/sse_broadcaster.go:267
↓ 10 callers
Method
CreateMessage
(ctx context.Context, arg CreateMessageParams)
desktop/backend-go/internal/database/sqlc/conversations.sql.go:53
↓ 10 callers
Function
CreateTestCredentials
CreateTestCredentials creates test credentials map
desktop/backend-go/internal/sorx/live_test_helpers.go:249
↓ 10 callers
Method
DeleteWorkspace
DeleteWorkspace deletes a workspace (only owner can do this)
desktop/backend-go/internal/services/workspace_service.go:322
↓ 10 callers
Method
Enabled
Enabled reports whether the client will actually issue requests.
desktop/backend-go/internal/optimalengine/client.go:65
↓ 10 callers
Method
ExchangeCode
(ctx context.Context, code string)
desktop/backend-go/internal/integrations/types.go:21
↓ 10 callers
Method
Extract
Extract detects patterns from the current turn's messages.
desktop/backend-go/internal/subconscious/pattern_extractor.go:30
↓ 10 callers
Method
Flush
Flush returns any remaining buffered content
desktop/backend-go/internal/streaming/artifact_detector.go:240
↓ 10 callers
Method
Generate
Generate processes an app generation request with full production patterns
desktop/backend-go/internal/services/app_generation_orchestrator.go:73
↓ 10 callers
Method
GenerateApp
GenerateApp generates an app with full resilience
desktop/backend-go/internal/integrations/osa/resilient_client_ops.go:12
↓ 10 callers
Method
GetContext
GetContext returns a single context
desktop/backend-go/internal/handlers/contexts_read.go:111
↓ 10 callers
Method
GetLastMode
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 callers
Function
GetLogger
GetLogger returns the global sanitized logger
desktop/backend-go/internal/logging/sanitizer.go:93
↓ 10 callers
Method
GetSubscriberCount
GetSubscriberCount returns the current number of active subscribers
desktop/backend-go/internal/services/build_event_bus.go:338
↓ 10 callers
Method
HealthCheck
HealthCheck checks if OSA is healthy and reachable.
desktop/backend-go/internal/integrations/osa/client.go:155
↓ 10 callers
Method
IsContainerized
IsContainerized returns true if this session is running in a Docker container
desktop/backend-go/internal/terminal/session.go:81
↓ 10 callers
Function
NewCacheService
NewCacheService creates a new cache service instance
desktop/backend-go/internal/cache/redis_cache.go:36
↓ 10 callers
Function
NewModuleInstallationService
(pool *pgxpool.Pool, logger *slog.Logger)
desktop/backend-go/internal/services/module_installation_service.go:39
↓ 10 callers
Function
NewRegistry
NewRegistry creates a new skill registry
desktop/backend-go/internal/services/skills/registry.go:17
↓ 10 callers
Function
NewSandboxHealthMonitor
NewSandboxHealthMonitor creates a new health monitor.
desktop/backend-go/internal/services/sandbox_health_monitor.go:83
↓ 10 callers
Function
NewSnapshotDiffService
NewSnapshotDiffService creates a new snapshot diff service
desktop/backend-go/internal/services/snapshot_diff.go:80
↓ 10 callers
Method
ObserveSync
ObserveSync runs the pipeline synchronously. Used for testing.
desktop/backend-go/internal/subconscious/observer.go:59
↓ 10 callers
Method
RecordCorrectionResult
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 callers
Method
RegisterContainer
RegisterContainer registers a new container with the monitor
desktop/backend-go/internal/container/monitor.go:490
↓ 10 callers
Method
RegisterHandler
===================================================================== HANDLER REGISTRATION ===========================================================
desktop/backend-go/internal/services/background_jobs_worker.go:58
↓ 10 callers
Method
Set
Set stores a generic value in cache with TTL
desktop/backend-go/internal/cache/redis_cache.go:371
↓ 10 callers
Method
Shutdown
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 callers
Method
Start
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 callers
Method
Stop
Stop stops the cleanup goroutine
desktop/backend-go/internal/middleware/rate_limiter.go:228
↓ 10 callers
Method
UpsertBlock
(_ context.Context, block Block)
desktop/backend-go/internal/subconscious/block_store_test.go:50
↓ 10 callers
Method
checkFileProtection
checkFileProtection validates changes against protected files
desktop/backend-go/internal/services/module_protection.go:238
↓ 10 callers
Function
containsSubstring
Helper functions containsSubstring checks if a string contains a substring (case-insensitive)
desktop/backend-go/tests/security/injection_test.go:320
↓ 10 callers
Function
createModuleFromFixture
createModuleFromFixture creates a module in the DB using a named fixture file.
desktop/backend-go/internal/services/module_lifecycle_test.go:136
↓ 10 callers
Function
crmToNumeric
(f *float64)
desktop/backend-go/internal/handlers/crm_helpers.go:64
↓ 10 callers
Function
embedText
(ctx context.Context, embed *services.EmbeddingService, text string)
desktop/backend-go/cmd/reembed/main.go:813
↓ 10 callers
Method
extractEntitiesFromText
extractEntitiesFromText extracts entities from text
desktop/backend-go/internal/services/memory_extractor_helpers.go:41
↓ 10 callers
Function
generateCSRFToken
Helper functions
desktop/backend-go/tests/security/csrf_test.go:251
↓ 10 callers
Function
generateSessionBoundState
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 callers
Function
getApiBaseUrl
(version = API_VERSION)
frontend/src/lib/config/runtime.ts:62
↓ 10 callers
Function
getHeaders
()
frontend/src/lib/api/rag/client.ts:21
↓ 10 callers
Function
mockMemoryListItem
(overrides?: Partial<MemoryListItem>)
frontend/src/lib/test-utils/mocks.ts:37
↓ 10 callers
Function
newNoAuthRouter
newNoAuthRouter returns a gin.Engine with no user injected (simulates unauthenticated requests).
desktop/backend-go/internal/handlers/osa_apps_management_test.go:48
↓ 10 callers
Function
persist
()
frontend/src/lib/stores/terminal/terminalStore.svelte.ts:480
↓ 10 callers
Method
request
( endpoint: string, options: RequestInit = {}, )
frontend/src/lib/api/onboarding/index.ts:82
↓ 10 callers
Function
requireDocker
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 callers
Function
saveState
(state: OnboardingState)
frontend/src/lib/stores/onboardingStore.ts:113
↓ 10 callers
Method
sendEvent
sendEvent safely sends an event to the channel
desktop/backend-go/internal/services/osa_app_service.go:341
↓ 10 callers
Function
setupTestRedis
setupTestRedis creates a test Redis instance using miniredis
desktop/backend-go/internal/redis/worker_pool_test.go:17
↓ 10 callers
Function
setupTestWorkspace
============================================================================= TEST HELPERS ===========================================================
desktop/backend-go/internal/services/workspace_service_test.go:19
↓ 10 callers
Function
signUpWithEmail
( email: string, password: string, name: string, serverUrl?: string, )
frontend/src/lib/auth-client.ts:165
↓ 10 callers
Method
status
()
optimal-engine/sdks/typescript/src/client.ts:108
↓ 10 callers
Function
tableMapToJSONBytes
tableMapToJSONBytes converts a map to JSON bytes
desktop/backend-go/internal/handlers/tables_helpers.go:69
↓ 10 callers
Function
testConfig
testConfig creates a config for tests
desktop/backend-go/internal/services/port_allocator_test.go:20
↓ 10 callers
Function
testHealthLogger
testHealthLogger creates a logger for tests
desktop/backend-go/internal/services/sandbox_health_monitor_test.go:14
↓ 10 callers
Function
testLogger
testLogger creates a logger for tests
desktop/backend-go/internal/services/port_allocator_test.go:15
↓ 10 callers
Method
userSessionsKey
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 callers
Function
uuidString
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 callers
Function
validateSessionBoundState
validateSessionBoundState validates that the state matches the session.
desktop/backend-go/internal/handlers/oauth_common.go:139
↓ 9 callers
Method
APIRequest
APIRequest makes an authenticated request to the Notion API.
desktop/backend-go/internal/integrations/notion/provider.go:309
↓ 9 callers
Method
AllowMessage
AllowMessage checks if a message is allowed under rate limiting
desktop/backend-go/internal/terminal/ratelimit.go:100
↓ 9 callers
Function
DefaultChunkOptions
DefaultChunkOptions returns sensible defaults
desktop/backend-go/internal/services/smart_chunking_service.go:52
↓ 9 callers
Method
ExecCommand
---- Exec / Checkpoint / Restore --------------------------------------------- ExecCommand executes a command inside a running Sprite and returns its
desktop/backend-go/internal/integrations/sprites/client.go:218
↓ 9 callers
Method
GetCalendarAPI
GetCalendarAPI returns a Google Calendar API service for a user.
desktop/backend-go/internal/integrations/google/calendar.go:56
↓ 9 callers
Method
GetCredential
(ctx context.Context, userID, providerID string)
desktop/backend-go/internal/integrations/handler.go:22
← previous
next →
301–400 of 12,109, ranked by callers