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
↓ 2,071 callers
Method
JSON
JSON returns the JSON representation of the log entry
desktop/backend-go/internal/logging/logger.go:123
↓ 1,876 callers
Method
Scan
(src interface{})
desktop/backend-go/internal/database/sqlc/models.go:588
↓ 1,210 callers
Method
Info
Info logs at info level
desktop/backend-go/internal/logging/sanitizer.go:267
↓ 1,134 callers
Method
QueryRow
(context.Context, string, ...interface{})
desktop/backend-go/internal/database/sqlc/db.go:17
↓ 1,014 callers
Function
make
(def: AgentTool<TInput>)
optimal-engine/sdks/typescript/src/adapters/openai-agents.ts:56
↓ 952 callers
Method
Query
(context.Context, string, ...interface{})
desktop/backend-go/internal/database/sqlc/db.go:16
↓ 899 callers
Method
Run
Execution - returns streaming events instead of raw strings
desktop/backend-go/internal/agents/agent.go:39
↓ 807 callers
Method
Close
Close shuts down the engine gracefully.
desktop/backend-go/internal/sorx/engine.go:50
↓ 719 callers
Method
Exec
(context.Context, string, ...interface{})
desktop/backend-go/internal/database/sqlc/db.go:15
↓ 677 callers
Method
String
String returns a human-readable representation of the signal.
desktop/backend-go/internal/signal/signal.go:132
↓ 619 callers
Function
update
(id: string, data: UpdateNodeData)
frontend/src/lib/stores/nodes.ts:118
↓ 519 callers
Method
GetCurrentUser
GetCurrentUser returns the current user's profile information GET /api/users/me
desktop/backend-go/internal/handlers/username.go:179
↓ 481 callers
Method
Warn
Warn logs at warning level
desktop/backend-go/internal/logging/sanitizer.go:272
↓ 451 callers
Function
request
( endpoint: string, options: RequestOptions = {}, )
frontend/src/lib/api/base.ts:247
↓ 417 callers
Method
Error
()
desktop/backend-go/internal/services/onboarding_validation.go:18
↓ 408 callers
Method
Error
()
desktop/backend-go/internal/handlers/health.go:132
↓ 373 callers
Method
Error
Error implements the error interface.
desktop/backend-go/internal/signal/signal.go:155
↓ 340 callers
Method
String
Helper: Convert semantic version to string
desktop/backend-go/internal/services/app_version_service.go:398
↓ 333 callers
Method
Set
Set stores a query result in cache
desktop/backend-go/internal/cache/query_cache.go:92
↓ 257 callers
Method
log
(...args: unknown[])
frontend/src/lib/utils/sse.ts:155
↓ 236 callers
Function
get
(endpoint: string)
frontend/src/lib/api/base.ts:378
↓ 229 callers
Method
Close
Close shuts down the broadcaster and cleanup goroutine
desktop/backend-go/internal/services/sse_broadcaster.go:285
↓ 202 callers
Method
Debug
Helper functions for convenience Debug logs at debug level
desktop/backend-go/internal/logging/sanitizer.go:262
↓ 196 callers
Method
Set
Set stores a response in the cache
desktop/backend-go/internal/integrations/osa/fallback.go:56
↓ 189 callers
Method
get
( path: string, opts?: Omit<RequestOptions, "method" | "body">, )
optimal-engine/sdks/typescript/src/http.ts:49
↓ 175 callers
Function
cancel
()
frontend/src/lib/stores/osa.ts:535
↓ 138 callers
Method
Done
Done returns a channel that is closed when the subscriber is unsubscribed. SSE handlers can select on this to detect clean shutdown.
desktop/backend-go/internal/services/build_event_bus.go:58
↓ 124 callers
Method
toString
Plain text content (computed)
frontend/src/lib/modules/knowledge-base/entities/block.ts:104
↓ 121 callers
Method
Close
Close releases resources held by the client.
desktop/backend-go/internal/integrations/osa/client.go:331
↓ 101 callers
Method
Log
Log writes a log entry at the specified level
desktop/backend-go/internal/logging/sanitizer.go:152
↓ 90 callers
Method
Get
Get handles GET /api/v1/sandbox/edit/:id Response: {"sandbox": SandboxEdit}
desktop/backend-go/internal/handlers/sandbox_edit.go:90
↓ 85 callers
Function
close
()
optimal-engine/sdks/typescript/src/surface.ts:63
↓ 82 callers
Function
setupGin
setupGin switches Gin to test mode and returns a recorder + context.
desktop/backend-go/internal/handlers/projects_test.go:54
↓ 79 callers
Function
getApiBaseUrl
()
frontend/src/lib/api/base.ts:17
↓ 65 callers
Function
cn
(...inputs: ClassValue[])
src/lib/lib/utils.ts:4
↓ 64 callers
Function
generateTone
(frequency: number, duration: number, type: OscillatorType = 'sine')
frontend/src/lib/stores/soundStore.ts:58
↓ 60 callers
Method
on
Register a handler for incoming events.
optimal-engine/sdks/typescript/src/surface.ts:30
↓ 57 callers
Method
Unix
()
desktop/backend-go/internal/redis/pubsub.go:237
↓ 54 callers
Function
injectUser
injectUser plants a BetterAuthUser into a Gin context so handlers that call middleware.GetCurrentUser() succeed without real auth middleware.
desktop/backend-go/internal/handlers/projects_test.go:45
↓ 53 callers
Method
Set
Set caches user data for a session token
desktop/backend-go/internal/middleware/redis_auth.go:148
↓ 51 callers
Method
Pool
Pool returns the database pool.
desktop/backend-go/internal/integrations/google/provider.go:258
↓ 51 callers
Function
delete
(endpoint: string)
frontend/src/lib/api/base.ts:413
↓ 51 callers
Method
parse
* Parse a transcript into a structured VoiceCommand
frontend/src/lib/services/voiceCommandParser.ts:145
↓ 50 callers
Method
Close
Close shuts down the CARRIER client gracefully. Pending synchronous Send calls will receive a FallbackError with ReasonDisconnected.
desktop/backend-go/internal/carrier/client.go:81
↓ 49 callers
Method
Error
Error implements the error interface so ResponseError can be used with standard Go error handling idioms.
desktop/backend-go/internal/carrier/messages.go:173
↓ 49 callers
Method
ReadFile
(ctx context.Context, input json.RawMessage)
desktop/backend-go/internal/tools/code_tools_file_ops.go:30
↓ 49 callers
Method
input
(id: string, data: string)
frontend/src/lib/services/electron-terminal.service.ts:18
↓ 48 callers
Method
update
* Update a record
desktop/src/main/database/sqlite.ts:199
↓ 46 callers
Method
Stop
(ctx context.Context, appID uuid.UUID)
desktop/backend-go/internal/handlers/sandbox.go:21
↓ 45 callers
Method
Error
()
desktop/backend-go/internal/container/filesystem.go:31
↓ 44 callers
Method
String
()
desktop/backend-go/internal/integrations/osa/resilience.go:47
↓ 42 callers
Method
Error
()
desktop/backend-go/internal/integrations/osa/types.go:171
↓ 42 callers
Function
GenerateTestID
GenerateTestID generates a unique test identifier
desktop/backend-go/internal/sorx/live_test_helpers.go:277
↓ 42 callers
Function
newOAuthHandlerNoPool
newOAuthHandler creates a handler with no database (pool = nil). Sufficient for tests that only test the redirect/state logic and don't hit storeOAuth
desktop/backend-go/internal/handlers/oauth_test.go:62
↓ 41 callers
Method
Name
Name returns the unique identifier for this skill
desktop/backend-go/internal/services/skills/types.go:11
↓ 41 callers
Function
mustMarshal
─── JSON encode helpers ──────────────────────────────────────────────────────
desktop/backend-go/internal/handlers/projects_test.go:499
↓ 38 callers
Method
Name
()
desktop/backend-go/internal/agents/agent.go:31
↓ 38 callers
Method
delete
* Delete a record
desktop/src/main/database/sqlite.ts:212
↓ 37 callers
Function
CreateTestActionContext
CreateTestActionContext creates a minimal ActionContext for testing
desktop/backend-go/internal/sorx/live_test_helpers.go:229
↓ 37 callers
Method
Get
Get retrieves a skill by name
desktop/backend-go/internal/services/skills/registry.go:61
↓ 37 callers
Method
Ping
(ctx context.Context)
desktop/backend-go/internal/handlers/health.go:16
↓ 37 callers
Function
generateContent
Helper functions
desktop/backend-go/internal/services/app_generation_orchestrator_test.go:607
↓ 37 callers
Function
newHandlerNoPool
newHandlerNoPool creates an OSAAppsHandler with nil pool/queries — sufficient for testing paths that return before any DB call (auth + ID parse branch
desktop/backend-go/internal/handlers/osa_apps_management_test.go:55
↓ 36 callers
Function
RegisterAction
RegisterAction registers an action handler.
desktop/backend-go/internal/sorx/types.go:310
↓ 36 callers
Method
has
(name string)
desktop/backend-go/cmd/reembed/main.go:106
↓ 36 callers
Function
newNodeHandler
─── constructor ────────────────────────────────────────────────────────────
desktop/backend-go/internal/handlers/nodes_test.go:28
↓ 36 callers
Function
oauthRouter
oauthRouter creates a Gin engine for OAuth handler tests. userID is injected into context to simulate an authenticated user.
desktop/backend-go/internal/handlers/oauth_test.go:68
↓ 36 callers
Function
respondError
respondError sends a JSON error response. Internal error details are logged server-side but never exposed to clients.
desktop/backend-go/internal/handlers/sandbox.go:39
↓ 35 callers
Method
Error
Error implements the error interface.
desktop/backend-go/internal/sandbox/e2b/errors.go:71
↓ 35 callers
Function
dispatch
(name string, args []string, opts globalOpts)
desktop/backend-go/cmd/optimal-cli/dispatch.go:20
↓ 34 callers
Method
Write
(p []byte)
desktop/backend-go/internal/agents/registry_test.go:32
↓ 34 callers
Function
matchesPattern
(text: string, patterns: string[])
frontend/src/lib/services/voiceCommandPatterns.ts:14
↓ 34 callers
Function
update
()
frontend/src/lib/modules/knowledge-base/views/editor/contenteditable-sync.ts:88
↓ 33 callers
Method
Flush
Flush flushes the writer if it supports flushing
desktop/backend-go/internal/streaming/sse_writer.go:61
↓ 33 callers
Function
proxy
(extra: Record<string, unknown> = {})
frontend/vite.config.ts:14
↓ 33 callers
Function
tableParseUUID
============================================================================ Helper Functions (table-specific to avoid conflicts) ====================
desktop/backend-go/internal/handlers/tables_helpers.go:19
↓ 32 callers
Method
Close
Close cleanups the container manager and Docker client
desktop/backend-go/internal/container/manager.go:127
↓ 32 callers
Method
Publish
Publish broadcasts a build event to all subscribers for the given app. Critical events (generation_complete, error, generation_failed) use a blocking
desktop/backend-go/internal/services/build_event_bus.go:193
↓ 32 callers
Method
RunActionTest
RunActionTest runs a single action test
desktop/backend-go/internal/sorx/live_test_helpers.go:71
↓ 32 callers
Function
crmUuidToString
(u pgtype.UUID)
desktop/backend-go/internal/handlers/crm_helpers.go:323
↓ 32 callers
Function
newEmptyResult
newEmptyResult returns a fresh ValidationResult with Allowed=true and no violations.
desktop/backend-go/internal/services/module_protection_test.go:23
↓ 32 callers
Function
setupTestDB
setupTestDB creates a test database connection In production, this would use testcontainers, but for now we'll use a simple in-memory approach
desktop/backend-go/internal/handlers/osa_test_helpers.go:16
↓ 31 callers
Method
Get
Get retrieves an agent by ID. Returns an error (not a panic) if not found.
desktop/backend-go/internal/agents/registry.go:56
↓ 31 callers
Method
GetUserRole
GetUserRole gets a user's role in a workspace
desktop/backend-go/internal/services/workspace_service.go:504
↓ 30 callers
Method
Get
Get retrieves a response from the cache
desktop/backend-go/internal/integrations/osa/fallback.go:69
↓ 30 callers
Function
createIntTestUserWithSession
createIntTestUserWithSession creates a user and session for integration tests
desktop/backend-go/internal/handlers/integrations_test_helpers.go:13
↓ 30 callers
Function
newTeamHandler
─── constructor ────────────────────────────────────────────────────────────
desktop/backend-go/internal/handlers/team_test.go:21
↓ 30 callers
Function
redirectWithError
redirectWithError redirects back to frontend with an error message.
desktop/backend-go/internal/handlers/oauth_common.go:218
↓ 30 callers
Method
test
Trigger a synthetic surface push to all listeners of a subscription.
optimal-engine/sdks/python/src/optimal_engine/surface.py:102
↓ 29 callers
Method
Respond
Respond sends the error response and logs it
desktop/backend-go/internal/utils/errors.go:194
↓ 29 callers
Method
addEventListener
(type: string, listener: EventListener)
frontend/src/test/setup.ts:235
↓ 29 callers
Function
buildOAuthConfig
--------------------------------------------------------------------------- Test helpers -------------------------------------------------------------
desktop/backend-go/internal/handlers/oauth_test.go:25
↓ 29 callers
Function
newGinContext
newGinContext returns a recorder + context pair wired to the given method, path, and body. Sets Content-Type: application/json.
desktop/backend-go/internal/handlers/crm_deals_test.go:64
↓ 27 callers
Function
cleanupWorkflows
cleanupWorkflows removes test workflows from database
desktop/backend-go/internal/handlers/osa_test_helpers.go:38
↓ 27 callers
Function
createTestWorkspace
createTestWorkspace creates a test workspace in the database
desktop/backend-go/internal/handlers/osa_test_helpers.go:47
↓ 27 callers
Function
newBlock
newBlock creates a test ContextBlock.
desktop/backend-go/internal/services/context_tracker_test.go:60
↓ 26 callers
Function
RespondInternalErr
============================================================================ Safe response helpers ===================================================
desktop/backend-go/internal/handlers/error_middleware.go:76
↓ 26 callers
Method
Subscribe
Subscribe creates a new subscription for build events for a specific app. Returns a subscriber that can receive events via the Events channel. If even
desktop/backend-go/internal/services/build_event_bus.go:96
↓ 26 callers
Function
isValidPath
isValidPath validates path parameters to prevent directory traversal attacks
desktop/backend-go/internal/handlers/osa_apps_helpers.go:132
↓ 26 callers
Function
mockMemory
(overrides?: Partial<Memory>)
frontend/src/lib/test-utils/mocks.ts:10
next →
1–100 of 12,109, ranked by callers