Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AITabby/opencodex
/ functions
Functions
255 in github.com/AITabby/opencodex
⨍
Functions
255
◇
Types & classes
33
↓ 30 callers
Method
filter
(chunk: string)
src/proxy/translator.ts:645
↓ 27 callers
Method
close
()
src/proxy/codex_app_server.ts:142
↓ 27 callers
Method
write
(msg: any)
src/server.ts:192
↓ 18 callers
Method
getModelCatalog
()
src/proxy/index.ts:1217
↓ 12 callers
Method
run
(action: string, args: string[])
src/cu/actions.ts:122
↓ 11 callers
Function
sendWindowsAction
(action: string, params: Record<string, unknown> = {})
src/cu/windows-agent.ts:63
↓ 9 callers
Function
estimateTokensForRequest
(body: any, model: string)
src/proxy/index.ts:642
↓ 9 callers
Method
restartCodexDesktop
()
src/proxy/index.ts:1591
↓ 8 callers
Function
_contentToText
(content: any)
src/proxy/translator.ts:352
↓ 8 callers
Method
call
(method: string, params: any, timeoutMs = 30000)
src/proxy/codex_app_server.ts:113
↓ 8 callers
Function
loadHistoryFromRollout
(sessionId: string)
src/proxy/index.ts:194
↓ 7 callers
Method
SetCursorPos
(int x, int y)
native/windows-cu-agent/Program.cs:11
↓ 7 callers
Function
_imageHash
(b64Data: string)
src/proxy/translator.ts:1263
↓ 7 callers
Function
finish
(error?: Error, value?: any)
src/cu/windows-agent.ts:37
↓ 6 callers
Function
_sanitizeString
(value: string)
src/proxy/translator.ts:537
↓ 6 callers
Function
flushPendingAssistantToolCalls
()
src/proxy/translator.ts:385
↓ 6 callers
Function
normalizeImportedMemory
( input: unknown, fallbackTitle = "Imported conversation" )
src/proxy/memory_bridge.ts:148
↓ 6 callers
Function
queryRows
(database: Database, sql: string, params: any[] = [])
src/proxy/memory_file_import.ts:518
↓ 6 callers
Method
updateContextUsage
( sessionId: string, model: string, requestBody: any, contextWindow: number, providerUsage
src/proxy/index.ts:799
↓ 5 callers
Function
_copyIfPresent
(src: any, dst: any, srcKey: string, dstKey?: string)
src/proxy/translator.ts:346
↓ 5 callers
Function
flushDeferred
()
src/proxy/translator.ts:392
↓ 5 callers
Method
saveModelCatalog
(catalog: any)
src/proxy/index.ts:1229
↓ 5 callers
Function
sipsCompressB64
(b64Data: string)
src/proxy/translator.ts:1269
↓ 4 callers
Function
describeImageB64
(b64Data: string, config?: any)
src/proxy/translator.ts:1301
↓ 4 callers
Function
normalizeMessages
(messages: unknown[])
src/proxy/memory_bridge.ts:82
↓ 4 callers
Function
parseMaybeJson
(value: unknown)
src/proxy/memory_file_import.ts:601
↓ 4 callers
Function
resolveCodexBinary
()
src/proxy/codex_app_server.ts:12
↓ 4 callers
Method
saveConfig
()
src/proxy/index.ts:1208
↓ 4 callers
Function
savePersistentCache
()
src/proxy/translator.ts:1248
↓ 4 callers
Function
tableColumns
(database: Database, table: string)
src/proxy/memory_file_import.ts:530
↓ 4 callers
Method
writeChatDelta
(writeSse: (payload: any) => Promise<void>, chunk: any)
src/proxy/translator.ts:848
↓ 3 callers
Method
_ensureToolOpened
(writeSse: (payload: any) => Promise<void>, state: any)
src/proxy/translator.ts:1016
↓ 3 callers
Method
_openMessage
(writeSse: (payload: any) => Promise<void>)
src/proxy/translator.ts:944
↓ 3 callers
Method
_response
(status: string, final = false, usage?: { input_tokens: number, output_tokens: number, total_tokens: number })
src/proxy/translator.ts:1171
↓ 3 callers
Method
_wrap
(writeSse: (payload: any) => Promise<void>)
src/proxy/translator.ts:746
↓ 3 callers
Function
chatCompletionToResponse
(payload: any, requestedModel: string, namespaceMap?: Record<string, string>)
src/proxy/translator.ts:277
↓ 3 callers
Method
clearSessionUsage
(sessionId: string)
src/proxy/index.ts:788
↓ 3 callers
Method
contextKey
(sessionId: string, model: string)
src/proxy/index.ts:778
↓ 3 callers
Function
escapeSql
(value: string)
src/proxy/index.ts:473
↓ 3 callers
Function
extractNamespaceMap
(tools: any[] | undefined)
src/proxy/translator.ts:66
↓ 3 callers
Method
findProvider
(model: string, catalogEntry?: any)
src/proxy/index.ts:1436
↓ 3 callers
Function
findRolloutFileById
(dir: string, sessionId: string)
src/proxy/index.ts:6612
↓ 3 callers
Method
finish
(writeSse: (payload: any) => Promise<void>, usage?: { input_tokens: number, output_tokens: number, total_token
src/proxy/translator.ts:788
↓ 3 callers
Function
hasTable
(database: Database, table: string)
src/proxy/memory_file_import.ts:537
↓ 3 callers
Function
isSameMessage
(m1: any, m2: any)
src/proxy/index.ts:153
↓ 3 callers
Function
parseClaudeJsonlItems
( parsedItems: any[], fallbackTitle: string )
src/proxy/memory_file_import.ts:97
↓ 3 callers
Function
parseJsonlItems
(text: string)
src/proxy/memory_file_import.ts:83
↓ 3 callers
Function
readProtobufVarint
( bytes: Buffer, offset: number )
src/proxy/memory_file_import.ts:340
↓ 3 callers
Method
resolveKey
(raw: string)
src/proxy/index.ts:1448
↓ 3 callers
Function
textFromContent
(content: unknown)
src/proxy/memory_bridge.ts:33
↓ 3 callers
Method
transcribeAudioAPI
(filePath: string, settings: any)
src/proxy/index.ts:4870
↓ 3 callers
Method
transcribeAudioLocal
(filePath: string, cb: (text: string | null) => void)
src/proxy/index.ts:4832
↓ 2 callers
Method
DeleteDC
(IntPtr dc)
native/windows-cu-agent/Program.cs:27
↓ 2 callers
Method
GetSystemMetrics
(int index)
native/windows-cu-agent/Program.cs:21
↓ 2 callers
Method
GetWindow
(IntPtr window, int command)
native/windows-cu-agent/Program.cs:13
↓ 2 callers
Method
SelectObject
(IntPtr dc, IntPtr obj)
native/windows-cu-agent/Program.cs:26
↓ 2 callers
Method
_closeMessage
(writeSse: (payload: any) => Promise<void>)
src/proxy/translator.ts:971
↓ 2 callers
Method
_closeReasoning
(writeSse: (payload: any) => Promise<void>, state: any)
src/proxy/translator.ts:1108
↓ 2 callers
Method
_messageItem
(status: string)
src/proxy/translator.ts:1144
↓ 2 callers
Method
_reasoningItem
(state: any, status: string)
src/proxy/translator.ts:1134
↓ 2 callers
Method
_resolveNamespace
(name: string)
src/proxy/translator.ts:778
↓ 2 callers
Method
_toolItem
(state: any, status: string)
src/proxy/translator.ts:1155
↓ 2 callers
Function
_unflattenVariants
(name: string)
src/proxy/translator.ts:86
↓ 2 callers
Function
addLog
(tag: string, text: string, level: string = "info")
src/proxy/index.ts:104
↓ 2 callers
Function
alignToolMessages
(msgs: any[])
src/proxy/index.ts:556
↓ 2 callers
Function
antigravityMessageText
(payload: Buffer)
src/proxy/memory_file_import.ts:406
↓ 2 callers
Method
autoPatchPlugins
()
src/proxy/index.ts:1546
↓ 2 callers
Method
broadcastSession
(sessionId: string)
src/proxy/index.ts:5390
↓ 2 callers
Function
broadcastSessionUpdate
(sessionId: string, tokens: number, contextWindow: number, model: string, isEstimated: boolean)
src/proxy/index.ts:120
↓ 2 callers
Method
connect
()
src/proxy/codex_app_server.ts:38
↓ 2 callers
Method
ensureCheckPermsHelper
()
src/proxy/index.ts:998
↓ 2 callers
Function
estimateTokensForMessages
( messages: any[], weights: { cjk: number; whitespace: number; other: number } = { cjk: 1.2, whitespace: 0
src/proxy/index.ts:620
↓ 2 callers
Function
findRolloutFiles
(dir: string, filesList: string[] = [])
src/proxy/index.ts:6595
↓ 2 callers
Function
generateRandomHex
(length: number)
src/proxy/translator.ts:699
↓ 2 callers
Method
getAssistantMessage
()
src/proxy/translator.ts:757
↓ 2 callers
Method
getModelContextWindow
(model: string)
src/proxy/index.ts:782
↓ 2 callers
Function
getSessionTitle
(sessionId: string)
src/proxy/index.ts:361
↓ 2 callers
Function
importMemoryIntoCodex
(memory: OpenCodexMemoryPackage)
src/proxy/index.ts:483
↓ 2 callers
Method
initCodexMcp
()
src/proxy/index.ts:6351
↓ 2 callers
Method
injectPromptViaCDP
(prompt: string)
src/proxy/index.ts:6494
↓ 2 callers
Function
isTrustedBrowserOrigin
(origin: string | undefined)
src/proxy/index.ts:29
↓ 2 callers
Function
keepExistingSecret
(incoming: unknown, existing: unknown)
src/proxy/index.ts:48
↓ 2 callers
Function
loadImportedMemoryFromRollout
(sessionId: string)
src/proxy/index.ts:318
↓ 2 callers
Function
memoryPackageFromMessages
( messages: MemoryMessage[], title: string, sourceThreadId?: string )
src/proxy/memory_bridge.ts:289
↓ 2 callers
Function
mergeHistory
(history: any[], incoming: any[])
src/proxy/index.ts:175
↓ 2 callers
Method
mergeNativeModelsIntoCatalog
()
src/proxy/index.ts:1264
↓ 2 callers
Method
mouse_event
(uint flags, uint dx, uint dy, uint data, nuint extraInfo)
native/windows-cu-agent/Program.cs:10
↓ 2 callers
Function
normalizeRole
(role: unknown)
src/proxy/memory_bridge.ts:64
↓ 2 callers
Function
parseMemoryFile
( fileName: string, bytes: Uint8Array, selectedSessionId?: string )
src/proxy/memory_file_import.ts:783
↓ 2 callers
Function
parseMemoryFilePath
( path: string, selectedSessionId?: string )
src/proxy/memory_file_import.ts:816
↓ 2 callers
Function
patchToolCallArguments
(fnName: string, argumentsStr: string)
src/proxy/translator.ts:28
↓ 2 callers
Function
pcmToWav
(pcm: Buffer, sampleRate: number, channels: number, bitsPerSample: number)
src/proxy/index.ts:6647
↓ 2 callers
Function
processVisionBridge
(body: any, config?: any)
src/proxy/translator.ts:1501
↓ 2 callers
Method
processWebSocketSTT
(ws: WebSocket, pcmBuffer: Buffer, fallbackText: string = "")
src/proxy/index.ts:5673
↓ 2 callers
Function
redactSecrets
(value: T)
src/proxy/index.ts:40
↓ 2 callers
Method
rejectAll
(error: Error)
src/proxy/codex_app_server.ts:148
↓ 2 callers
Function
responsesToChat
(body: any, upstreamModel: string, sessionId?: string)
src/proxy/translator.ts:173
↓ 2 callers
Method
sendVADRequest
(req: any)
src/proxy/index.ts:980
↓ 2 callers
Method
startVADDaemon
()
src/proxy/index.ts:915
↓ 2 callers
Function
stripManagedBlocks
(content: string)
src/proxy/index.ts:6666
next →
1–100 of 255, ranked by callers