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
↓ 8 callers
Function
get
(path: string)
optimal-engine/extensions/browser/src/lib/client.ts:30
↓ 8 callers
Function
getBlocks
()
frontend/src/lib/stores/editor.ts:338
↓ 8 callers
Function
isElectron
()
frontend/src/lib/utils/platform.ts:75
↓ 8 callers
Function
mapBackendToVersion
( info: BackendVersionInfo, isCurrent: boolean, )
frontend/src/lib/api/versions/mappers.ts:29
↓ 8 callers
Function
newTestModeTransitionService
newTestModeTransitionService builds a ModeTransitionService without a DB pool. All tests that exercise in-memory logic can safely use nil as the pool;
desktop/backend-go/internal/services/mode_transition_test.go:17
↓ 8 callers
Function
newTestRegistry
newTestRegistry creates a Registry backed by a no-op slog logger.
desktop/backend-go/internal/agents/registry_test.go:35
↓ 8 callers
Function
retryWithBackoff
retryWithBackoff executes a function with exponential backoff retry logic.
desktop/backend-go/internal/sorx/actions.go:88
↓ 8 callers
Function
setupTestContext
setupTestContext creates a Gin test context for middleware testing
desktop/backend-go/internal/middleware/auth_test.go:14
↓ 8 callers
Function
setupTestHandlers
setupTestHandlers creates a test AppHandler instance with database
desktop/backend-go/internal/handlers/app_templates_test.go:30
↓ 8 callers
Function
setupTestRouter
setupTestRouter creates a Gin router with test routes
desktop/backend-go/internal/handlers/app_templates_test.go:75
↓ 8 callers
Function
sleepContext
sleepContext blocks for d or until ctx is cancelled, whichever comes first.
desktop/backend-go/internal/sandbox/e2b/client_http.go:158
↓ 8 callers
Method
start
()
frontend/src/lib/services/voiceTranscriptionService.ts:41
↓ 8 callers
Function
testOSAConfig
testOSAConfig creates an OSA config suitable for unit tests (with mock server)
desktop/backend-go/internal/integrations/osa/client_integration_test.go:19
↓ 8 callers
Function
toBoolPointer
(b bool)
desktop/backend-go/internal/handlers/thinking.go:522
↓ 8 callers
Function
toNullString
Helper functions (package-level, shared within handlers package)
desktop/backend-go/internal/handlers/thinking.go:515
↓ 8 callers
Method
updateAppStatus
updateAppStatus updates the app status in the database.
desktop/backend-go/internal/services/sandbox_integration.go:326
↓ 8 callers
Method
verifySignature
verifySignature verifies the HMAC signature of the webhook. Production (isProduction == true): a missing or invalid signature ALWAYS results in rejec
desktop/backend-go/internal/handlers/osa_webhooks.go:145
↓ 8 callers
Function
waitForApiCall
( page: Page, urlPattern: string | RegExp, timeout = 10000, )
frontend/tests/e2e/fixtures/helpers.ts:91
↓ 7 callers
Method
Check
Check performs a health check with caching
desktop/backend-go/internal/integrations/osa/resilience.go:378
↓ 7 callers
Method
CheckQuota
CheckQuota validates if a user can allocate the requested resources. Returns nil if quota allows the request, otherwise returns a quota error.
desktop/backend-go/internal/services/sandbox_quota.go:115
↓ 7 callers
Method
ChunkPlainText
ChunkPlainText chunks plain text respecting natural boundaries
desktop/backend-go/internal/services/smart_chunking_text.go:11
↓ 7 callers
Method
CreateNode
CreateNode creates a new node
desktop/backend-go/internal/handlers/nodes.go:89
↓ 7 callers
Method
CreateSnapshot
CreateSnapshot captures the current workspace state as a new version
desktop/backend-go/internal/services/workspace_version_service.go:30
↓ 7 callers
Function
DefaultLogConfig
DefaultLogConfig returns production-safe defaults
desktop/backend-go/internal/logging/sanitizer.go:56
↓ 7 callers
Function
DefaultSanitizerConfig
DefaultSanitizerConfig returns production-safe defaults
desktop/backend-go/internal/terminal/sanitizer.go:38
↓ 7 callers
Method
DeleteByPattern
DeleteByPattern removes all cache entries matching a pattern
desktop/backend-go/internal/cache/query_cache.go:427
↓ 7 callers
Function
EstimateTokens
EstimateTokens estimates the token count for a string (approximation)
desktop/backend-go/internal/services/context_tracker_helpers.go:17
↓ 7 callers
Function
Get
Get retrieves a provider by name. Returns the provider and true if found, nil and false otherwise.
desktop/backend-go/internal/integrations/registry.go:25
↓ 7 callers
Method
GetBlock
(_ context.Context, userID string, blockType BlockType)
desktop/backend-go/internal/subconscious/block_store_test.go:40
↓ 7 callers
Method
GetSetpoint
GetSetpoint returns the setpoint for the named metric.
desktop/backend-go/internal/feedback/setpoint_store.go:59
↓ 7 callers
Function
GetTemplatesDirectory
GetTemplatesDirectory returns the absolute path to the OSA templates directory
desktop/backend-go/internal/services/template_helpers.go:11
↓ 7 callers
Method
GetToken
GetToken retrieves OAuth tokens for a user.
desktop/backend-go/internal/integrations/airtable/provider.go:313
↓ 7 callers
Method
GetUserSettings
(ctx context.Context, userID string)
desktop/backend-go/internal/database/sqlc/user_settings.sql.go:97
↓ 7 callers
Method
HealthCheck
(ctx context.Context)
desktop/backend-go/internal/services/llm.go:122
↓ 7 callers
Method
IncrementErrors
IncrementErrors increments the total errors counter
desktop/backend-go/internal/container/monitor.go:443
↓ 7 callers
Method
IncrementStopped
IncrementStopped increments the total stopped counter
desktop/backend-go/internal/container/monitor.go:438
↓ 7 callers
Method
IsConnected
IsConnected reports whether the underlying AMQP channel is ready for use.
desktop/backend-go/internal/carrier/client.go:113
↓ 7 callers
Method
IsEnabled
IsEnabled returns whether the email service is configured and enabled
desktop/backend-go/internal/services/email_service.go:56
↓ 7 callers
Function
NewAnalystAgent
NewAnalystAgent creates a new analyst agent
desktop/backend-go/internal/agents/agent_constructors.go:146
↓ 7 callers
Function
NewAppGenerationOrchestrator
NewAppGenerationOrchestrator creates a production-ready orchestrator
desktop/backend-go/internal/services/app_generation_orchestrator.go:55
↓ 7 callers
Function
NewDoubleLoopController
NewDoubleLoopController creates a new DoubleLoopController.
desktop/backend-go/internal/feedback/double_loop.go:37
↓ 7 callers
Function
NewFocusService
NewFocusService creates a new focus service
desktop/backend-go/internal/services/focus.go:80
↓ 7 callers
Function
NewInMemorySetpointStore
NewInMemorySetpointStore creates a store pre-loaded with default setpoints. Default thresholds: action_completion_rate: 80% ± 10% (Shannon channel
desktop/backend-go/internal/feedback/setpoint_store.go:26
↓ 7 callers
Function
NewInputSanitizer
NewInputSanitizer creates a new sanitizer with compiled patterns
desktop/backend-go/internal/terminal/sanitizer.go:81
↓ 7 callers
Function
NewSandboxDeploymentService
NewSandboxDeploymentService creates a new sandbox deployment service.
desktop/backend-go/internal/services/sandbox_deployment.go:90
↓ 7 callers
Function
NewSessionCache
NewSessionCache creates a new Redis-backed session cache If cfg.HMACSecret is empty, generates a random secret (development mode only) CRITICAL: In pr
desktop/backend-go/internal/middleware/redis_auth.go:69
↓ 7 callers
Function
NewSubconsciousHintProvider
NewSubconsciousHintProvider creates a new provider that composes PromptActuator hints with subconscious memory blocks.
desktop/backend-go/internal/subconscious/injector.go:29
↓ 7 callers
Function
NewTemplateSyncService
NewTemplateSyncService creates a new template sync service.
desktop/backend-go/internal/services/template_sync_service.go:48
↓ 7 callers
Function
NewVerifier
NewVerifier constructs a Verifier with all three validation layers. All validators are required. Uses DefaultVerificationThreshold if threshold is 0.
desktop/backend-go/internal/signal/verification.go:71
↓ 7 callers
Method
ProcessChunk
ProcessChunk processes a chunk from the LLM and writes events
desktop/backend-go/internal/streaming/sse_writer.go:83
↓ 7 callers
Method
Publish
Publish sends a message to a channel
desktop/backend-go/internal/redis/pubsub.go:108
↓ 7 callers
Method
SetEngineSync
SetEngineSync wires the shared service. Called once from route registration right after the handler is constructed.
desktop/backend-go/internal/handlers/engine_sync_mixin.go:30
↓ 7 callers
Method
SetModel
Options
desktop/backend-go/internal/agents/agent.go:43
↓ 7 callers
Method
SetOptions
(opts services.LLMOptions)
desktop/backend-go/internal/agents/agent.go:44
↓ 7 callers
Method
Shutdown
()
desktop/backend-go/internal/appgen/types.go:82
↓ 7 callers
Function
TransformArtifact
(a sqlc.Artifact)
desktop/backend-go/internal/handlers/response_tasks.go:114
↓ 7 callers
Method
UpdateOSAModuleInstanceStatus
(ctx context.Context, arg sqlc.UpdateOSAModuleInstanceStatusParams)
desktop/backend-go/internal/services/app_generation_orchestrator_test.go:21
↓ 7 callers
Function
ValidateVariableType
ValidateVariableType checks if a variable value matches the expected type
desktop/backend-go/internal/services/template_helpers.go:27
↓ 7 callers
Method
abort
()
frontend/src/lib/services/voiceTranscriptionService.ts:43
↓ 7 callers
Method
connect
Connect and launch the agent
frontend/src/lib/services/agentSession.ts:43
↓ 7 callers
Function
contains_phrase
(answer: str, phrase: str)
optimal-engine/benchmarks/scripts/judge_results.py:17
↓ 7 callers
Method
copyMetadata
copyMetadata creates a copy of metadata map
desktop/backend-go/internal/services/smart_chunking_utils.go:99
↓ 7 callers
Function
crmJSONBytes
crmJSONBytes converts an arbitrary value to JSON bytes for a JSONB column. Returns nil (SQL NULL) for empty/nil inputs so pgx doesn't send the bytes t
desktop/backend-go/internal/handlers/crm_helpers.go:29
↓ 7 callers
Function
crmToNullString
============================================================================ HELPER FUNCTIONS (CRM-specific to avoid redeclaration) ==================
desktop/backend-go/internal/handlers/crm_helpers.go:18
↓ 7 callers
Method
deduplicateMemories
deduplicateMemories removes duplicate memories
desktop/backend-go/internal/services/memory_extractor_helpers.go:80
↓ 7 callers
Method
do
---- internal HTTP helper ---------------------------------------------------- do is the single choke-point for all HTTP calls. It serialises the requ
desktop/backend-go/internal/integrations/sprites/client.go:268
↓ 7 callers
Function
emit
emit is the internal helper that guards against nil broadcasters and empty workflow IDs before invoking the broadcaster.
desktop/backend-go/internal/sandbox/e2b/events.go:95
↓ 7 callers
Function
errElixirRequired
(command string)
desktop/backend-go/cmd/optimal-cli/commands.go:213
↓ 7 callers
Method
evictBlocks
evictBlocks removes lowest priority blocks until tokensNeeded are freed
desktop/backend-go/internal/services/context_tracker_management.go:91
↓ 7 callers
Function
extractDomain
extractDomain extracts the domain from a URL
desktop/backend-go/internal/services/websearch_service_helpers.go:22
↓ 7 callers
Method
extractTags
extractTags extracts relevant tags from text
desktop/backend-go/internal/services/memory_extractor_helpers.go:9
↓ 7 callers
Function
generateFileID
generateFileID creates a stable, unique ID for a file path.
desktop/backend-go/internal/handlers/filesystem.go:64
↓ 7 callers
Function
generateHint
generateHint produces a behavioral hint string for agents based on health signals.
desktop/backend-go/internal/services/session_health.go:109
↓ 7 callers
Function
generateUnifiedDiff
generateUnifiedDiff creates a unified diff by delegating to the shared computeUnifiedDiff (workspace_version_service.go) and adding truncation support
desktop/backend-go/internal/services/snapshot_diff.go:239
↓ 7 callers
Method
get
Fetch one memory by id.
optimal-engine/sdks/python/src/optimal_engine/memory.py:61
↓ 7 callers
Function
getAuthBase
(serverUrl?: string)
frontend/src/lib/auth-client.ts:60
↓ 7 callers
Function
getElectronAPI
()
frontend/src/lib/utils/platform.ts:112
↓ 7 callers
Function
getHeaders
()
frontend/src/lib/api/multimodal-search/client.ts:36
↓ 7 callers
Function
getHiddenSelectionToolbarState
()
frontend/src/lib/modules/knowledge-base/views/editor/selection-formatting.ts:48
↓ 7 callers
Function
getSettings
()
optimal-engine/extensions/browser/src/lib/storage.ts:10
↓ 7 callers
Function
getTestConfig
These tests require OSA to be running on localhost:8089 Run with: go test -tags=integration ./internal/integrations/osa/...
desktop/backend-go/internal/integrations/osa/integration_test.go:19
↓ 7 callers
Function
handleResponse
(response: Response)
frontend/src/lib/api/multimodal-search/client.ts:44
↓ 7 callers
Function
isBrowser
()
frontend/src/lib/config/runtime.ts:13
↓ 7 callers
Function
isDuplicate
============================================================================ Helpers =================================================================
desktop/backend-go/internal/services/suggestion_service.go:398
↓ 7 callers
Function
isOrgManager
(role string)
desktop/backend-go/internal/handlers/organizations.go:89
↓ 7 callers
Function
limitString
Shared test helper functions limitString truncates a string to a maximum length
desktop/backend-go/tests/security/main_test.go:24
↓ 7 callers
Function
makeTestDetectorRegistry
(t *testing.T)
desktop/backend-go/internal/signal/signal_test.go:699
↓ 7 callers
Function
nullableString
nullableString converts an empty string to nil so Postgres gets a proper NULL.
desktop/backend-go/internal/sorx/scheduler.go:543
↓ 7 callers
Function
resolveWorkflowSearch
resolveWorkflowSearch returns the search arguments for queries that accept either a UUID or a workflow ID prefix.
desktop/backend-go/internal/handlers/osa_workflows_helpers.go:25
↓ 7 callers
Function
sanitizeContent
sanitizeContent replaces problematic Unicode characters with ASCII equivalents
desktop/backend-go/internal/handlers/chat_streaming_sse.go:21
↓ 7 callers
Function
sendToMainWindow
(channel: string, ...args: unknown[])
desktop/src/main/window.ts:163
↓ 7 callers
Method
sessionKey
sessionKey generates a secure Redis key for a session using HMAC-SHA256 This prevents enumeration attacks by hashing the session ID before using it as
desktop/backend-go/internal/redis/session.go:120
↓ 7 callers
Function
setupTestDB
setupTestDB creates a test database connection Uses testcontainers pattern from existing tests
desktop/backend-go/internal/services/multi_agent_integration_test.go:113
↓ 7 callers
Function
setupTestTempWorkspace
setupTestTempWorkspace creates a temporary workspace directory for file operations
desktop/backend-go/internal/services/multi_agent_integration_test.go:136
↓ 7 callers
Method
teamWorkspace
teamWorkspace returns the workspace id that owns a team.
desktop/backend-go/internal/handlers/teams.go:64
↓ 7 callers
Function
testSandboxConfig
testSandboxConfig creates a config for tests
desktop/backend-go/internal/services/sandbox_deployment_test.go:19
↓ 7 callers
Function
testSandboxLogger
testSandboxLogger creates a logger for tests
desktop/backend-go/internal/services/sandbox_deployment_test.go:14
↓ 7 callers
Function
togglePopup
()
desktop/src/main/popup/chat-popup.ts:135
↓ 7 callers
Function
truncateString
truncateString returns s truncated to maxLen characters, appending "..." when truncation occurs.
desktop/backend-go/internal/handlers/commands_context.go:367
↓ 7 callers
Method
updateSandboxStatus
updateSandboxStatus updates the sandbox status in the database.
desktop/backend-go/internal/services/sandbox_deployment.go:491
← previous
next →
501–600 of 12,109, ranked by callers