Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/maka
/ functions
Functions
21,757 in github.com/apache/maka
⨍
Functions
21,757
◇
Types & classes
4,502
↓ 45 callers
Function
useMountedRef
()
packages/ui/src/use-mounted-ref.ts:13
↓ 44 callers
Function
generalizedErrorMessage
(error: unknown, fallback = 'Operation failed')
packages/core/src/redaction.ts:185
↓ 44 callers
Method
readHeader
(sessionId: string)
packages/runtime/src/session-manager.ts:663
↓ 44 callers
Method
resolve
(input: ResolveSandboxDiagnosticsInput)
packages/runtime/src/sandbox/diagnostics.ts:94
↓ 44 callers
Method
update
( sessionId: string, id: string, patch: unknown, context?: TaskLedgerMutationContext, )
packages/core/src/task-ledger.ts:122
↓ 42 callers
Method
close
()
packages/runtime-host/src/server/host-kernel.ts:110
↓ 40 callers
Method
destroy
()
apps/desktop/src/main/computer-use/pip-electron.ts:63
↓ 40 callers
Method
sync
()
packages/storage/src/marker-file.ts:10
↓ 40 callers
Method
transaction
(operation: () => T)
packages/storage/src/sqlite-session-metadata-store.ts:4674
↓ 40 callers
Function
useToast
()
packages/ui/src/toast.tsx:283
↓ 39 callers
Method
#requestDrain
()
packages/runtime-host/src/server/host-kernel.ts:274
↓ 39 callers
Method
appendMessage
(sessionId: string, m: StoredMessage)
packages/runtime/src/session-manager.ts:667
↓ 39 callers
Method
close
()
packages/runtime/src/network/scoped-fetch-transport.ts:28
↓ 39 callers
Method
readRun
(sessionId: string, runId: string)
packages/core/src/agent-run.ts:723
↓ 39 callers
Method
replaceAll
(records: readonly ArtifactRecord[])
packages/storage/src/artifact-metadata-repository.ts:6
↓ 39 callers
Function
run
(operation: () => T | Promise<T>)
packages/storage/src/usage-stores.ts:240
↓ 39 callers
Method
send
(frame: ConfigurationChangedFrame)
packages/runtime-host/src/server/configuration-change-service.ts:8
↓ 38 callers
Function
decodeHostFrame
(value: unknown)
packages/runtime-host/src/protocol/index.ts:234
↓ 38 callers
Method
ensureReady
()
packages/storage/src/session-store.ts:381
↓ 38 callers
Function
getConversationCopy
(locale: UiLocale)
packages/ui/src/conversation-copy.ts:580
↓ 38 callers
Method
release
()
packages/runtime-host/src/server/operation-dispatcher.ts:26
↓ 38 callers
Function
requestRender
()
packages/cli/src/pi-tui-runner.ts:389
↓ 38 callers
Function
resolve
()
packages/runtime/src/__tests__/session-manager-terminal-ledger.test.ts:2664
↓ 37 callers
Method
#poison
(cause: unknown)
packages/runtime-host/src/server/interaction-coordinator.ts:1276
↓ 37 callers
Method
bind
(publish: () => Promise<void>)
apps/desktop/src/main/runtime-host-capability-revision-publisher.ts:12
↓ 37 callers
Method
end
()
packages/runtime-host/src/transport/local-ipc-framing.ts:35
↓ 37 callers
Method
handle
(channel: string, listener: Parameters<IpcMain["handle"]>[1])
apps/desktop/src/main/runtime-host-desktop-candidate.ts:727
↓ 37 callers
Method
snapshot
()
packages/storage/src/pricing-store.ts:15
↓ 36 callers
Method
appendRuntimeEvent
( sessionId: string, runId: string, event: RuntimeEvent, options?: { durable?: boolean }, )
packages/core/src/runtime-event-store.ts:56
↓ 36 callers
Function
getShellCopy
(locale: UiLocale)
apps/desktop/src/renderer/locales/shell-copy.ts:1704
↓ 36 callers
Function
listener
( _event: Electron.IpcRendererEvent, value: unknown, ...args: unknown[] )
apps/desktop/src/preload/preload.ts:602
↓ 36 callers
Method
stat
(options: { bigint: true })
packages/storage/src/marker-file.ts:7
↓ 35 callers
Function
defineOperation
( spec: OperationSpec<Input, Output, ErrorCode>, )
packages/runtime-host/src/protocol/operation-spec.ts:63
↓ 35 callers
Method
start
()
packages/runtime/src/bots/types.ts:29
↓ 34 callers
Function
deepFreeze
(value: T)
packages/storage/src/runtime-policy/codec.ts:60
↓ 34 callers
Function
getDesktopConversationCopy
(locale: UiLocale)
apps/desktop/src/renderer/locales/conversation-copy.ts:765
↓ 34 callers
Function
normalize
(text: string)
packages/runtime/src/edit-replace.ts:223
↓ 34 callers
Function
openInteractiveExecutionStoresForWrite
( lease: StorageRootLease<'interactive', 'write'>, )
packages/storage/src/execution-stores.ts:233
↓ 34 callers
Function
requireEncodedByteLimit
(value: unknown, label: string, maxBytes: number)
packages/runtime-host/src/protocol/turn.ts:440
↓ 34 callers
Function
unsubscribe
()
apps/desktop/src/preload/preload.ts:1496
↓ 33 callers
Function
acquireOperationalStateDatabase
( workspaceRoot: string, options: OperationalStateDatabaseOptions = {}, )
packages/storage/src/operational-state-store.ts:95
↓ 33 callers
Function
clearTimeout
(handle: NodeJS.Timeout)
apps/desktop/src/main/__tests__/permission-overlay-controller.test.ts:49
↓ 33 callers
Method
getSnapshot
()
packages/storage/src/runtime-policy-stores.ts:72
↓ 33 callers
Function
invokeSessionRuntimeHost
( channel: string, sessionId: string, ...args: unknown[] )
apps/desktop/src/preload/preload.ts:423
↓ 33 callers
Method
listen
(http: HttpServer)
apps/desktop/src/main/browser/cdp-bridge.ts:181
↓ 33 callers
Method
readHeaderSnapshot
(sessionId: string)
packages/runtime-host/src/server/sandbox-boundary-graph-wake.ts:4
↓ 32 callers
Method
appendEvent
( sessionId: string, runId: string, event: EmittedAgentRunEvent, options?: AgentRunAppendOptio
packages/core/src/agent-run.ts:725
↓ 32 callers
Method
createRun
(header: AgentRunHeader, options?: { durable?: boolean })
packages/core/src/agent-run.ts:716
↓ 32 callers
Function
createWorkspaceWritePermissionProfile
()
packages/core/src/permission-profile.ts:137
↓ 32 callers
Function
exactRecord
( value: unknown, context: string, allowed: readonly string[], required: readonly string[] = allowed,
packages/core/src/runtime-policy/domain-codec.ts:12
↓ 32 callers
Function
handler
(event: Event)
apps/desktop/src/renderer/settings/settings-surface.tsx:180
↓ 32 callers
Function
persistenceFailed
(message: string, cause?: unknown)
packages/runtime-host/src/server/skill-catalog-transaction.ts:1268
↓ 32 callers
Method
read
()
packages/runtime-host/src/client/host-profile.ts:88
↓ 32 callers
Method
readRecordSync
(sessionId: string)
packages/storage/src/sqlite-session-metadata-store.ts:3965
↓ 32 callers
Function
runWithStorageRootLease
( lease: StorageRootLease<K, A>, expectedKind: K, expectedAccess: A, operation: (canonicalPath: string
packages/storage/src/root-authority.ts:625
↓ 31 callers
Method
abort
(error?: Error)
packages/runtime-host/src/transport/message-transport.ts:8
↓ 31 callers
Function
getToolActivityCopy
(locale: UiLocale)
packages/ui/src/tool-activity/copy.ts:269
↓ 31 callers
Method
list
(filter?: SessionListFilter)
packages/runtime/src/session-manager.ts:662
↓ 30 callers
Function
codecError
(source: CodecSource, message: string)
packages/storage/src/runtime-policy/errors.ts:28
↓ 30 callers
Method
create
(input: CreateArtifactInput)
packages/storage/src/artifact-store.ts:172
↓ 30 callers
Function
decodeClientFrame
(value: unknown)
packages/runtime-host/src/protocol/index.ts:204
↓ 30 callers
Function
isOptionalString
(value: unknown)
packages/core/src/record-schema.ts:60
↓ 30 callers
Function
isSessionNotFoundError
(error: unknown)
packages/storage/src/session-store.ts:81
↓ 30 callers
Method
recover
()
packages/runtime-host/src/server/host-kernel.ts:109
↓ 30 callers
Method
send
(method: string, params?: Record<string, unknown>)
apps/desktop/src/main/browser/session.ts:78
↓ 30 callers
Method
setTimeout
(handler: () => void, ms: number)
apps/desktop/src/renderer/model-wait-state.ts:103
↓ 29 callers
Method
begin
Acquire `key`; returns its release function, or null when already held.
apps/desktop/src/renderer/settings/action-guard.ts:13
↓ 29 callers
Function
stableHash
(value: unknown)
packages/runtime/src/request-shape.ts:479
↓ 28 callers
Function
createSessionStore
(workspaceRoot: string)
packages/storage/src/session-store.ts:362
↓ 28 callers
Function
domainError
(message: string)
packages/core/src/runtime-policy/domain-codec.ts:94
↓ 28 callers
Function
encodeProtocolMessage
(value: ClientFrame | HostFrame)
packages/runtime-host/src/protocol/index.ts:341
↓ 28 callers
Method
focus
()
apps/desktop/src/main/main-window.ts:37
↓ 28 callers
Function
isFiniteNumber
(value: unknown)
packages/core/src/shell-run.ts:544
↓ 28 callers
Function
normalizeMessageContent
(content: MessageContent)
packages/core/src/events.ts:145
↓ 28 callers
Function
proxiedFetch
( input: Parameters<typeof globalThis.fetch>[0], init: ProxiedFetchInit = {}, )
packages/runtime/src/bots/proxied-fetch.ts:17
↓ 28 callers
Function
requireId
(entry, kind)
scripts/computer-use/provider-matrix.mjs:46
↓ 28 callers
Function
requireString
(value: unknown, label: string, maxLength: number)
packages/runtime-host/src/protocol/codec.ts:51
↓ 27 callers
Method
beginDrain
()
packages/runtime-host/src/server/host-kernel.ts:108
↓ 27 callers
Method
expect
(attemptId: string)
apps/desktop/src/main/runtime-host-oauth-presentation.ts:21
↓ 27 callers
Method
preventDefault
()
apps/desktop/src/main/app-quit-coordinator.ts:2
↓ 27 callers
Method
readRuntimeEvents
(sessionId: string, runId: string)
packages/core/src/runtime-event-store.ts:79
↓ 27 callers
Function
resolve
Anything the renderer can put on the wire, including what the type forbids: * `sessions:create` is an IPC boundary, so the type is a hint, not a gat
apps/desktop/src/main/__tests__/create-session-input.test.ts:29
↓ 27 callers
Function
run
( target: { readonly kind: 'host_path'; readonly path: string }, operation: (workspace: { readon
packages/runtime-host/src/__tests__/skill-catalog-coordinator.test.ts:15
↓ 27 callers
Function
runtimeHostSessionRef
(sessionId: string)
apps/desktop/src/preload/preload.ts:285
↓ 27 callers
Function
syncDirectory
(path: string, deps: MarkerFileDependencies)
packages/storage/src/marker-file.ts:117
↓ 27 callers
Method
update
(patch: UpdateAppSettingsInput)
apps/desktop/src/main/client-settings-tools.ts:25
↓ 26 callers
Method
#throwIfPoisoned
()
packages/runtime-host/src/server/interaction-coordinator.ts:1272
↓ 26 callers
Method
accept
(value: unknown)
packages/runtime-host/src/client/connection.ts:337
↓ 26 callers
Function
createSqliteRuntimeStore
( path: string, options: SqliteRuntimeStoreOptions = {}, )
packages/storage/src/sqlite-runtime-store.ts:224
↓ 26 callers
Function
getAIModel
(input: ModelFactoryInput)
packages/runtime/src/model-factory.ts:47
↓ 26 callers
Method
inLane
(operation: (root: string) => Promise<T>)
packages/storage/src/runtime-policy/coordinator.ts:1340
↓ 26 callers
Method
readMessages
(sessionId: string)
packages/runtime/src/session-manager.ts:664
↓ 25 callers
Function
assertGraphLookupIdentity
(value: string, name: string)
packages/storage/src/sqlite-session-metadata-store.ts:5251
↓ 25 callers
Function
getSharedUiCopy
(locale: UiLocale)
packages/ui/src/shared-ui-copy.ts:291
↓ 25 callers
Function
isPathInside
( root: string, target: string, pathApi: PathInsideApi = { relative, isAbsolute, sep }, )
packages/runtime/src/path-containment.ts:36
↓ 25 callers
Method
request
(callback: () => void)
packages/ui/src/prompt-anchor-rail.tsx:49
↓ 24 callers
Method
cancel
()
packages/runtime/src/connection-effect-fetch.ts:31
↓ 24 callers
Function
connectRuntimeHost
( input: ConnectRuntimeHostInput, )
packages/runtime-host/src/client/connection.ts:1064
↓ 24 callers
Method
create
(input: CreateSessionInput, initialBoundary?: ExecutionBoundary)
packages/runtime/src/session-manager.ts:634
↓ 24 callers
Method
current
()
apps/desktop/src/main/project-root-controller.ts:11
← previous
next →
101–200 of 21,757, ranked by callers