Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pingdotgg/t3code
/ functions
Functions
7,925 in github.com/pingdotgg/t3code
⨍
Functions
7,925
◇
Types & classes
3,019
↓ 1,353 callers
Method
get
(key: string)
apps/web/src/lib/lruCache.ts:15
↓ 696 callers
Method
set
(key: string, value: T, approximateSize: number)
apps/web/src/lib/lruCache.ts:25
↓ 568 callers
Function
useCallback
(callback: T)
apps/web/src/components/ProviderUpdateEnvironmentRows.test.tsx:36
↓ 541 callers
Method
fail
(cause: unknown)
apps/server/src/provider/Layers/ClaudeAdapter.test.ts:75
↓ 444 callers
Function
useMemo
(factory: () => T)
apps/web/src/components/ProviderUpdateEnvironmentRows.test.tsx:40
↓ 420 callers
Function
cn
(...inputs: CxOptions)
apps/web/src/lib/utils.ts:7
↓ 353 callers
Function
useState
(initialValue: T | (() => T))
apps/web/src/components/ProviderUpdateEnvironmentRows.test.tsx:58
↓ 280 callers
Function
runGit
( cwd: string, args: readonly string[], allowNonZeroExit = false, )
apps/server/src/git/GitManager.test.ts:206
↓ 240 callers
Method
delete
()
apps/mobile/src/lib/composerImages.test.ts:26
↓ 207 callers
Function
useRef
(initialValue: T)
apps/web/src/components/ProviderUpdateEnvironmentRows.test.tsx:51
↓ 149 callers
Function
useThemeColor
(variable: `--color-${string}`)
apps/mobile/src/lib/useThemeColor.ts:10
↓ 147 callers
Method
preventDefault
()
apps/web/src/contextMenuFallback.test.ts:17
↓ 144 callers
Method
emit
(event: ProviderEvent)
apps/server/src/provider/Layers/CodexAdapter.test.ts:158
↓ 136 callers
Function
get
(kind)
apps/server/src/vcs/VcsDriverRegistry.ts:70
↓ 131 callers
Method
addEventListener
(type: "geometrychange", listener: EventListener)
apps/web/src/lib/windowControlsOverlay.ts:5
↓ 130 callers
Method
close
()
apps/server/scripts/cursor-acp-model-mismatch-probe.ts:288
↓ 112 callers
Method
open
()
packages/client-runtime/src/rpc/session.test.ts:69
↓ 102 callers
Function
stackedThreadToast
( options: StackedThreadToastOptions, )
apps/web/src/components/ui/toastHelpers.ts:23
↓ 100 callers
Function
buildAppUnderTest
(options?: { config?: Partial<ServerConfig.ServerConfig["Service"]>; layers?: { keybindings?: Partial<
apps/server/src/server.test.ts:315
↓ 97 callers
Function
asEventId
(value: string)
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts:60
↓ 96 callers
Function
asThreadId
(value: string)
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts:62
↓ 95 callers
Method
sendTurn
(input: CodexSessionRuntimeSendTurnInput)
apps/server/src/provider/Layers/CodexAdapter.test.ts:130
↓ 91 callers
Method
handle
(channel: string, listener: DesktopIpcHandleListener)
apps/desktop/src/ipc/DesktopIpc.ts:22
↓ 91 callers
Method
remove
()
apps/web/src/contextMenuFallback.test.ts:41
↓ 89 callers
Function
git
( cwd: string, args: ReadonlyArray<string>, env?: NodeJS.ProcessEnv, )
apps/server/src/vcs/GitVcsDriverCore.test.ts:44
↓ 88 callers
Function
createModelSelection
( instanceId: ProviderInstanceId, model: string, options?: ReadonlyArray<ProviderOptionSelection> | null
packages/shared/src/model.ts:316
↓ 85 callers
Function
scopeThreadRef
( environmentId: EnvironmentIdType, threadId: ThreadId, )
packages/client-runtime/src/environment/scoped.ts:18
↓ 84 callers
Function
asTurnId
(value: string)
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts:63
↓ 84 callers
Function
useAtomCommand
( command: AtomCommand<W, A, E>, options?: string | AtomCommandOptions, )
apps/web/src/state/use-atom-command.ts:10
↓ 82 callers
Function
makeTempDir
( prefix: string, )
apps/server/src/git/GitManager.test.ts:179
↓ 82 callers
Function
squashAtomCommandFailure
(result: { readonly cause: Cause.Cause<unknown>; })
packages/client-runtime/src/state/runtime.ts:270
↓ 81 callers
Function
set
(name, value)
apps/server/src/auth/ServerSecretStore.ts:187
↓ 77 callers
Method
on
(channel: string, listener: DesktopIpcSyncListener)
apps/desktop/src/ipc/DesktopIpc.ts:24
↓ 76 callers
Method
dispose
()
apps/web/src/components/files/fileSaveCoordinator.ts:28
↓ 76 callers
Function
scopedThreadKey
(ref: ScopedThreadRef)
packages/client-runtime/src/environment/scoped.ts:34
↓ 75 callers
Method
removeEventListener
(type: "geometrychange", listener: EventListener)
apps/web/src/lib/windowControlsOverlay.ts:6
↓ 72 callers
Method
exists
()
apps/mobile/src/lib/composerImages.test.ts:14
↓ 72 callers
Function
isAtomCommandInterrupted
(result: AtomCommandResult<unknown, unknown>)
packages/client-runtime/src/state/runtime.ts:266
↓ 72 callers
Function
openInput
(overrides: Partial<TerminalOpenInput> = {})
apps/server/src/terminal/Manager.test.ts:160
↓ 68 callers
Function
makeHarness
()
packages/client-runtime/src/state/shell.test.ts:47
↓ 65 callers
Function
makeActivity
(overrides: { id?: string; createdAt?: string; kind?: string; summary?: string; tone?: Orchestration
apps/web/src/session-logic.test.ts:28
↓ 64 callers
Function
driver
(value: string)
apps/web/src/components/ProviderUpdateLaunchNotification.logic.test.ts:46
↓ 64 callers
Method
emit
(message: SDKMessage)
apps/server/src/provider/Layers/ClaudeAdapter.test.ts:63
↓ 64 callers
Function
waitForThread
( readModel: () => Promise<ProviderRuntimeTestReadModel>, predicate: (thread: ProviderRuntimeTestThread) =
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts:170
↓ 64 callers
Function
withWsRpcClient
( wsUrl: string, f: (client: WsRpcClient) => Effect.Effect<A, E, R>, )
apps/server/src/server.test.ts:848
↓ 63 callers
Function
getHttpServerUrl
(pathname = "")
apps/server/src/server.test.ts:860
↓ 61 callers
Function
event
(overrides: Partial<ShortcutEventLike> = {})
apps/web/src/keybindings.test.ts:35
↓ 60 callers
Function
fetchEffect
(input: Parameters<typeof fetch>[0], init?: RequestInit)
apps/server/src/server.test.ts:1091
↓ 60 callers
Method
write
(data: string)
apps/server/src/terminal/PtyAdapter.ts:39
↓ 59 callers
Function
makeManager
(input?: { ghScenario?: FakeGhScenario; textGeneration?: Partial<FakeGitTextGeneration>; setupScriptRunn
apps/server/src/git/GitManager.test.ts:637
↓ 57 callers
Function
initRepo
( cwd: string, )
apps/server/src/git/GitManager.test.ts:235
↓ 57 callers
Function
makeDeterministicRandomService
(seed = 0x1234_5678)
apps/server/src/provider/Layers/ClaudeAdapter.test.ts:208
↓ 57 callers
Function
waitFor
( predicate: () => boolean | Promise<boolean>, timeoutMs = 10_000, )
apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts:72
↓ 55 callers
Function
scopeProjectRef
( environmentId: EnvironmentIdType, projectId: ProjectIdType, )
packages/client-runtime/src/environment/scoped.ts:11
↓ 54 callers
Function
makeHarness
(config?: { readonly nativeEventLogPath?: string; readonly nativeEventLogger?: ClaudeAdapterLiveOptions["n
apps/server/src/provider/Layers/ClaudeAdapter.test.ts:152
↓ 54 callers
Function
observeRpcEffect
( method: string, effect: Effect.Effect<A, E, R>, traceAttributes?: Readonly<Record<st
apps/server/src/ws.ts:463
↓ 53 callers
Function
asThreadId
(value: string)
apps/server/src/provider/Layers/ProviderService.test.ts:66
↓ 53 callers
Function
checkpointRefForThreadTurn
(threadId: ThreadId, turnCount: number)
apps/server/src/checkpointing/Utils.ts:6
↓ 51 callers
Function
provider
(input: { readonly driver: ReturnType<typeof ProviderDriverKind.make>; readonly instanceId?: ReturnType<ty
apps/web/src/components/ProviderUpdateLaunchNotification.logic.test.ts:49
↓ 51 callers
Method
spawn
( input: PtyAdapter.PtySpawnInput, )
apps/server/src/terminal/Manager.test.ts:109
↓ 50 callers
Method
start
()
apps/server/src/provider/Layers/CodexAdapter.test.ts:124
↓ 49 callers
Function
createBareRemote
()
apps/server/src/git/GitManager.test.ts:253
↓ 49 callers
Function
runtimeBase
( eventId: string, createdAt: string, provider: IntegrationProvider = CODEX_PROVIDER, )
apps/server/integration/orchestrationEngine.integration.test.ts:86
↓ 48 callers
Method
clear
()
apps/web/src/lib/lruCache.ts:41
↓ 48 callers
Method
createElement
(tagName: string)
apps/web/src/contextMenuFallback.test.ts:121
↓ 48 callers
Function
createManager
( historyLineLimit = 5, options: CreateManagerOptions = {}, )
apps/server/src/terminal/Manager.test.ts:226
↓ 46 callers
Method
request
(method: string, params: JsonValue, timeoutMs = requestTimeoutMs)
apps/server/scripts/cursor-acp-model-mismatch-probe.ts:182
↓ 46 callers
Function
runtimeEventBase
( event: ProviderEvent, canonicalThreadId: ThreadId, )
apps/server/src/provider/Layers/CodexAdapter.ts:429
↓ 46 callers
Method
status
()
infra/relay/src/observability.ts:175
↓ 46 callers
Function
toPersistenceSqlError
(operation: string)
apps/server/src/persistence/Errors.ts:76
↓ 45 callers
Function
awaitState
( state: SubscriptionRef.SubscriptionRef<SupervisorConnectionState>, predicate: (value: SupervisorConnecti
packages/client-runtime/src/connection/supervisor.test.ts:80
↓ 45 callers
Function
getAuthenticatedSessionCookieHeader
(credential = defaultDesktopBootstrapToken)
apps/server/src/server.test.ts:1127
↓ 44 callers
Function
offerRuntimeEvent
(event: ProviderRuntimeEvent)
apps/server/src/provider/Layers/ClaudeAdapter.ts:1387
↓ 43 callers
Function
getWsServerUrl
( pathname = "", options?: { authenticated?: boolean; credential?: string }, )
apps/server/src/server.test.ts:1216
↓ 43 callers
Function
toPersistenceSqlOrDecodeError
(sqlOperation: string, decodeOperation: string)
apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts:256
↓ 42 callers
Function
jsonRequestBody
(value: unknown)
apps/server/src/server.test.ts:1114
↓ 42 callers
Function
modShortcut
( key: string, overrides: Partial<Omit<KeybindingShortcut, "key">> = {}, )
apps/web/src/keybindings.test.ts:46
↓ 42 callers
Function
status
(overrides: Partial<VcsStatusResult> = {})
apps/web/src/components/GitActionsControl.logic.test.ts:14
↓ 41 callers
Function
readPayload
( schema: Schema.Schema<A>, payload: ProviderEvent["payload"], )
apps/server/src/provider/Layers/CodexAdapter.ts:136
↓ 41 callers
Function
writeTextFile
( cwd: string, relativePath: string, contents = "", )
apps/server/src/workspace/WorkspaceEntries.test.ts:47
↓ 40 callers
Function
appendAndProject
(event: Parameters<typeof eventStore.append>[0])
apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts:610
↓ 40 callers
Function
modelSelection
( provider: ProviderDriverKind, model: string, options?: Record<string, string | boolean | undefined>, )
apps/web/src/composerDraftStore.test.ts:137
↓ 39 callers
Function
createHarness
(options?: { serverSettings?: Partial<ServerSettings> })
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts:220
↓ 39 callers
Function
draftFor
(threadId: ThreadId, environmentId: EnvironmentId = LEGACY_TEST_ENVIRONMENT_ID)
apps/web/src/composerDraftStore.test.ts:165
↓ 39 callers
Function
makeTmpDir
( prefix = "git-vcs-driver-test-", )
apps/server/src/vcs/GitVcsDriverCore.test.ts:23
↓ 39 callers
Function
readThreadPreviewState
(ref: ScopedThreadRef)
apps/web/src/previewStateStore.ts:157
↓ 38 callers
Function
responseJsonEffect
(response: HttpClientResponse.HttpClientResponse)
apps/server/src/server.test.ts:1118
↓ 37 callers
Method
appendChild
(child: FakeElement)
apps/web/src/contextMenuFallback.test.ts:35
↓ 37 callers
Function
buildServerProvider
(input: { driver?: ProviderDriverKind; presentation: ServerProviderPresentation; enabled: boolean; che
apps/server/src/provider/providerSnapshot.ts:211
↓ 37 callers
Function
executeGit
( operation: string, cwd: string, args: readonly string[], options: ExecuteGitOptions = {},
apps/server/src/vcs/GitVcsDriverCore.ts:797
↓ 37 callers
Function
useEnvironmentQuery
( atom: Atom.Atom<AsyncResult.AsyncResult<A, E>> | null, )
apps/web/src/state/query.ts:24
↓ 36 callers
Function
listener
()
apps/web/src/connection/platform.ts:96
↓ 36 callers
Method
respond
(id: JsonRpcId, result: JsonValue)
apps/server/scripts/cursor-acp-model-mismatch-probe.ts:221
↓ 36 callers
Function
sshTargetLogFields
(target: DesktopSshEnvironmentTarget)
packages/ssh/src/tunnel.ts:109
↓ 35 callers
Function
resolveComposerDraftKey
( state: ComposerThreadLookupState, target: ComposerThreadTarget, )
apps/web/src/composerDraftStore.ts:1245
↓ 34 callers
Function
asThreadId
(value: string)
apps/server/src/provider/Layers/CodexAdapter.test.ts:56
↓ 34 callers
Function
makeEvent
(input: { sequence: number; type: OrchestrationEvent["type"]; occurredAt: string; aggregateKind: Orche
apps/server/src/orchestration/projector.test.ts:14
↓ 34 callers
Function
useAtomCommand
( command: AtomCommand<W, A, E>, options?: string | AtomCommandOptions, )
apps/mobile/src/state/use-atom-command.ts:10
↓ 33 callers
Function
cn
(...inputs: ClassValue[])
apps/mobile/src/lib/cn.ts:4
↓ 33 callers
Function
defaultInstanceIdForDriver
(driver: ProviderDriverKind)
packages/contracts/src/providerInstance.ts:148
next →
1–100 of 7,925, ranked by callers