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
↓ 5 callers
Method
Category
"Google Calendar", "Slack"
desktop/backend-go/internal/integrations/types.go:16
↓ 5 callers
Method
ChunkDocument
ChunkDocument intelligently chunks a document based on its type
desktop/backend-go/internal/services/smart_chunking_service.go:62
↓ 5 callers
Method
CreateWorkspace
CreateWorkspace creates an isolated directory for an app generation Returns the absolute path to the workspace
desktop/backend-go/internal/services/workspace_manager.go:32
↓ 5 callers
Function
DefaultLLMOptions
DefaultLLMOptions returns sensible defaults
desktop/backend-go/internal/services/llm.go:26
↓ 5 callers
Function
DefaultRateLimitConfig
DefaultRateLimitConfig returns production-safe defaults
desktop/backend-go/internal/terminal/ratelimit.go:31
↓ 5 callers
Method
DeleteCredential
(ctx context.Context, userID, providerID string)
desktop/backend-go/internal/integrations/handler.go:24
↓ 5 callers
Method
Flush
Flush flushes any remaining content
desktop/backend-go/internal/streaming/sse_writer.go:94
↓ 5 callers
Method
Frequency
(_ context.Context, _ time.Duration)
desktop/backend-go/internal/subconscious/metrics_impl.go:128
↓ 5 callers
Function
GenerateAuthToken
GenerateAuthToken generates a JWT token for OSA API authentication
desktop/backend-go/internal/integrations/osa/auth.go:19
↓ 5 callers
Method
GetAccessibleMemories
GetAccessibleMemories retrieves all memories accessible to user (workspace + private + shared)
desktop/backend-go/internal/services/memory_hierarchy_service.go:94
↓ 5 callers
Method
GetActiveContextCount
GetActiveContextCount returns the number of active contexts in memory
desktop/backend-go/internal/services/context_tracker_helpers.go:10
↓ 5 callers
Method
GetAppStatus
GetAppStatus retrieves status of a deployed app GET /api/osa/deployment/:app_id/status
desktop/backend-go/internal/handlers/osa_deployment.go:88
↓ 5 callers
Method
GetChunkStatistics
GetChunkStatistics returns statistics about chunks
desktop/backend-go/internal/services/smart_chunking_optimize.go:11
↓ 5 callers
Method
GetCustomRecord
(ctx context.Context, id pgtype.UUID)
desktop/backend-go/internal/database/sqlc/flexible_tables.sql.go:404
↓ 5 callers
Method
GetEffectiveSettings
GetEffectiveSettings retrieves merged focus settings for a user and mode
desktop/backend-go/internal/services/focus_settings.go:9
↓ 5 callers
Method
GetEmbedding
============================================================================= RAG EMBEDDING CACHING (Critical - 90%+ hit rate target) ================
desktop/backend-go/internal/cache/redis_cache.go:135
↓ 5 callers
Method
GetOrCreateFilesystemContainer
GetOrCreateFilesystemContainer gets an existing or creates a new lightweight container for filesystem operations. Unlike terminal containers, these ar
desktop/backend-go/internal/container/container.go:410
↓ 5 callers
Method
GetPermissions
GetPermissions gets user's permissions in project
desktop/backend-go/internal/services/project_access_service.go:86
↓ 5 callers
Method
GetProject
GetProject returns a single project with notes.
desktop/backend-go/internal/handlers/projects_read.go:16
↓ 5 callers
Function
GetRateLimiter
GetRateLimiter returns the global rate limiter instance
desktop/backend-go/internal/terminal/ratelimit.go:58
↓ 5 callers
Function
GetSanitizer
GetSanitizer returns the singleton sanitizer instance
desktop/backend-go/internal/terminal/sanitizer.go:73
↓ 5 callers
Method
GetSession
GetSession retrieves a session by ID
desktop/backend-go/internal/services/onboarding_sessions.go:86
↓ 5 callers
Method
GetSlidesAPI
GetSlidesAPI returns a Google Slides API service for a user.
desktop/backend-go/internal/integrations/google/slides.go:55
↓ 5 callers
Method
GetSubscriberCountForApp
GetSubscriberCountForApp returns the number of subscribers for a specific app
desktop/backend-go/internal/services/build_event_bus.go:345
↓ 5 callers
Method
GetTemplateInfo
GetTemplateInfo returns information about a template (for UI/API)
desktop/backend-go/internal/services/osa_prompt_builder.go:274
↓ 5 callers
Method
GetTokenUsageStats
GetTokenUsageStats returns statistics about token usage
desktop/backend-go/internal/services/context_tracker_query.go:10
↓ 5 callers
Method
GetUserQuota
GetUserQuota retrieves the quota limits for a user. Returns admin overrides if set, otherwise returns default quota.
desktop/backend-go/internal/services/sandbox_quota.go:220
↓ 5 callers
Method
GetWorkflowFiles
GetWorkflowFiles returns all files for a workflow. GET /api/osa/workflows/:id/files
desktop/backend-go/internal/handlers/osa_workflows_files.go:18
↓ 5 callers
Function
InternalAuthMiddleware
InternalAuthMiddleware verifies internal service-to-service requests with either an allowlisted source IP or an HMAC signature over: timestamp + met
desktop/backend-go/internal/middleware/internal_auth.go:68
↓ 5 callers
Method
InvalidateUserSessions
InvalidateUserSessions removes all cached sessions for a user This uses the user->sessions index for efficient O(N) operation where N = user's session
desktop/backend-go/internal/middleware/redis_auth.go:216
↓ 5 callers
Method
IsAvailable
IsAvailable checks if a specific port is available for allocation.
desktop/backend-go/internal/services/port_allocator.go:210
↓ 5 callers
Method
IsConnected
IsConnected checks if Google Docs is connected for a user.
desktop/backend-go/internal/integrations/google/docs.go:399
↓ 5 callers
Method
IsExpired
IsExpired returns true if the session has exceeded its maximum duration
desktop/backend-go/internal/terminal/session.go:86
↓ 5 callers
Function
IsValidEnvVarValue
IsValidEnvVarValue validates environment variable values. Prevents shell injection by checking for dangerous characters.
desktop/backend-go/internal/services/sandbox_env.go:327
↓ 5 callers
Method
ListArtifacts
ListArtifacts returns all artifacts for the current user.
desktop/backend-go/internal/handlers/artifacts.go:44
↓ 5 callers
Method
ListProjects
ListProjects returns all projects for the current user. Results are cached in Redis for 5 minutes with user-specific keys.
desktop/backend-go/internal/handlers/projects.go:68
↓ 5 callers
Method
ListTasks
ListTasks returns paginated tasks. Query params: limit (1-50), cursor, status, due (today|week|overdue), fields
desktop/backend-go/internal/handlers/mobile_tasks.go:19
↓ 5 callers
Function
LogWithFields
LogWithFields logs a message with structured fields
desktop/backend-go/internal/logging/logger.go:132
↓ 5 callers
Function
NewOrchestrator
(pool *pgxpool.Pool)
desktop/backend-go/internal/appgen/orchestrator.go:28
↓ 5 callers
Function
NewProjectAgent
NewProjectAgent creates a new project/planning agent
desktop/backend-go/internal/agents/agent_constructors.go:81
↓ 5 callers
Function
NewSSEBroadcasterWithConfig
NewSSEBroadcasterWithConfig creates a broadcaster with custom configuration
desktop/backend-go/internal/services/sse_broadcaster.go:49
↓ 5 callers
Function
NewSandboxEnvService
NewSandboxEnvService creates a new sandbox environment variable service.
desktop/backend-go/internal/services/sandbox_env.go:61
↓ 5 callers
Function
NewTaskAgent
NewTaskAgent creates a new task management agent
desktop/backend-go/internal/agents/agent_constructors.go:179
↓ 5 callers
Method
Pool
Pool returns the database pool.
desktop/backend-go/internal/integrations/notion/provider.go:304
↓ 5 callers
Method
Rate
Rate returns the rolling bounce rate over the given window.
desktop/backend-go/internal/signal/metrics.go:76
↓ 5 callers
Function
RateLimitMiddleware
RateLimitMiddleware returns a Gin middleware that enforces rate limiting
desktop/backend-go/internal/middleware/rate_limiter.go:272
↓ 5 callers
Method
Register
Register adds a hook for a specific event
desktop/backend-go/internal/appgen/hooks/types.go:52
↓ 5 callers
Method
RemoveConnection
RemoveConnection decrements connection count for a user
desktop/backend-go/internal/terminal/ratelimit.go:147
↓ 5 callers
Function
RequireAuth
RequireAuth ensures a user is authenticated, aborting with 401 if not. MUST be used AFTER AuthMiddleware or CachedAuthMiddleware in the middleware cha
desktop/backend-go/internal/middleware/auth.go:191
↓ 5 callers
Method
RestoreSnapshot
RestoreSnapshot restores a workspace to a specific version
desktop/backend-go/internal/services/workspace_version_service.go:78
↓ 5 callers
Method
SanitizeInput
SanitizeInput escapes HTML special characters to prevent XSS
desktop/backend-go/internal/services/onboarding_validation.go:135
↓ 5 callers
Function
SecurityHeaders
SecurityHeaders returns a middleware that sets security-related HTTP headers. These headers protect against common web vulnerabilities: - Clickjacking
desktop/backend-go/internal/middleware/security_headers.go:21
↓ 5 callers
Method
SetMemoryContext
For role-based permission context (Feature 1)
desktop/backend-go/internal/agents/agent.go:49
↓ 5 callers
Method
SetOptions
(opts LLMOptions)
desktop/backend-go/internal/services/llm.go:125
↓ 5 callers
Method
Stream
Stream handles SSE connection for real-time notifications GET /api/notifications/stream
desktop/backend-go/internal/handlers/notifications.go:132
↓ 5 callers
Function
TransformClient
(c sqlc.Client)
desktop/backend-go/internal/handlers/response_crm.go:39
↓ 5 callers
Function
TransformContexts
(contexts []sqlc.Context)
desktop/backend-go/internal/handlers/response_workspace.go:296
↓ 5 callers
Function
TransformNodes
(nodes []sqlc.Node)
desktop/backend-go/internal/handlers/response_workspace.go:393
↓ 5 callers
Method
UpdateNode
UpdateNode updates a node
desktop/backend-go/internal/handlers/nodes.go:227
↓ 5 callers
Method
UpdateQValue
UpdateQValue performs a Bellman-equation update for the given state-action pair: Q(s,a) ← Q(s,a) + α·(r + γ·maxQ(s,·) - Q(s,a))
desktop/backend-go/internal/feedback/self_improvement.go:199
↓ 5 callers
Method
abort
()
frontend/src/app.d.ts:52
↓ 5 callers
Function
addCSRFToken
( method: string, headers: Record<string, string>, )
frontend/src/lib/api/base.ts:70
↓ 5 callers
Method
addListener
* Add a listener for sync events
desktop/src/main/sync/engine.ts:159
↓ 5 callers
Function
appendLine
appendLine appends a line to content, respecting MaxBlockContentLength.
desktop/backend-go/internal/subconscious/block_accumulator.go:207
↓ 5 callers
Method
ask
Ask the second brain. Wiki-first, hybrid-fallback, hot-cited envelope. Sends ``POST /api/rag``. Returns the rendered answer plus the
optimal-engine/sdks/python/src/optimal_engine/retrieval.py:45
↓ 5 callers
Function
buildDashboard
buildDashboard returns a populated sqlc.UserDashboard for use in response assertions.
desktop/backend-go/internal/handlers/dashboard_test.go:59
↓ 5 callers
Method
close
()
frontend/src/test/setup.ts:153
↓ 5 callers
Function
computeTestHMAC
Helper function to compute HMAC for tests
desktop/backend-go/internal/middleware/internal_auth_test.go:395
↓ 5 callers
Function
contains
contains checks if a string contains any of the given substrings
desktop/backend-go/internal/appgen/hooks/error_recovery.go:177
↓ 5 callers
Method
count
()
desktop/backend-go/internal/subconscious/metrics_impl.go:63
↓ 5 callers
Function
countNewApps
countNewApps counts apps in 'to' that are not in 'from' (by app name)
desktop/backend-go/internal/services/workspace_version_diff.go:230
↓ 5 callers
Function
createIntTestConversation
createIntTestConversation creates a conversation for integration tests
desktop/backend-go/internal/handlers/integrations_test_helpers.go:79
↓ 5 callers
Function
createSlashMenuState
(overrides: Partial<SlashMenuState> = {})
frontend/src/lib/modules/knowledge-base/views/editor/slash-menu-state.ts:31
↓ 5 callers
Function
csrfHeaders
(base: HeadersInit = {})
frontend/src/lib/stores/notifications.ts:91
↓ 5 callers
Function
dashboardUuidToString
(u pgtype.UUID)
desktop/backend-go/internal/handlers/dashboard_crud_helpers.go:84
↓ 5 callers
Method
decrypt
decrypt decrypts a value using AES-GCM.
desktop/backend-go/internal/services/sandbox_env.go:375
↓ 5 callers
Function
deriveKey
deriveKey derives a 32-byte AES key from a passphrase using SHA-256.
desktop/backend-go/internal/services/sandbox_env.go:410
↓ 5 callers
Method
do
----- low-level --------------------------------------------------------------
desktop/backend-go/internal/optimalengine/client.go:271
↓ 5 callers
Function
drainEvents
drainEvents reads events from subscriber channel with timeout
desktop/backend-go/internal/services/osa_queue_worker_test.go:1106
↓ 5 callers
Method
evictLRUIfNeeded
evictLRUIfNeeded removes least recently used contexts if cache is full
desktop/backend-go/internal/services/context_tracker_persistence.go:12
↓ 5 callers
Function
extractKeywordsFromText
extractKeywordsFromText extracts meaningful words from text (filters stop words)
desktop/backend-go/internal/services/onboarding_email_analyzer.go:270
↓ 5 callers
Function
extractRichTextPlainText
(content: RichText[] | string | null)
frontend/src/lib/modules/knowledge-base/utils/rich-text.ts:30
↓ 5 callers
Function
extractSubnet
extractSubnet extracts the subnet prefix from an IP address For IPv4: returns first 3 octets (e.g., "192.168.1" from "192.168.1.100") For IPv6: return
desktop/backend-go/internal/terminal/session.go:124
↓ 5 callers
Function
findRootForPane
(paneId: string)
frontend/src/lib/stores/terminal/terminalStore.svelte.ts:333
↓ 5 callers
Method
flush
(final bool)
desktop/backend-go/internal/services/engine_sync.go:357
↓ 5 callers
Method
generateChunkID
generateChunkID generates a unique ID for a chunk
desktop/backend-go/internal/services/smart_chunking_utils.go:83
↓ 5 callers
Function
generateUserID
()
desktop/backend-go/internal/handlers/auth_google.go:592
↓ 5 callers
Method
get
Fetch a single workspace by id.
optimal-engine/sdks/python/src/optimal_engine/workspace.py:59
↓ 5 callers
Function
getBackendUrl
()
frontend/src/lib/api/base.ts:88
↓ 5 callers
Function
getEnvOrDefault
(key, defaultValue string)
desktop/backend-go/internal/services/onboarding_ai_service.go:470
↓ 5 callers
Function
getInstallationStatus
getInstallationStatus safely extracts installation status from nullable field
desktop/backend-go/internal/handlers/osa_apps_helpers.go:183
↓ 5 callers
Function
getLanguageLabel
(languageId: string)
frontend/src/lib/editor/utils/language-detection.ts:136
↓ 5 callers
Function
getPreferences
()
optimal-engine/extensions/raycast/src/lib/preferences.ts:8
↓ 5 callers
Function
getSelectionToolbarState
({ readOnly = false, blockElement, selection, getSelection = getWindowSelection }: SelectionToolbarStateOp
frontend/src/lib/modules/knowledge-base/views/editor/selection-formatting.ts:56
↓ 5 callers
Function
getShortcuts
()
desktop/src/main/popup/chat-popup.ts:46
↓ 5 callers
Function
getState
()
frontend/src/lib/stores/osa.ts:172
↓ 5 callers
Function
hashText
============================================================================= HELPER FUNCTIONS =======================================================
desktop/backend-go/internal/cache/redis_cache.go:469
↓ 5 callers
Function
initializeWorkspaces
()
frontend/src/lib/stores/workspaces.ts:194
↓ 5 callers
Function
initiateGoogleOAuth
(serverUrl?: string)
frontend/src/lib/auth-client.ts:134
↓ 5 callers
Method
insert
* Insert a record
desktop/src/main/database/sqlite.ts:186
← previous
next →
701–800 of 12,109, ranked by callers