Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ functions
Functions
14,563 in github.com/Noumena-Network/code
⨍
Functions
14,563
◇
Types & classes
433
↓ 56 callers
Function
isAgentSwarmsEnabled
()
src/utils/agentSwarmsEnabled.ts:25
↓ 55 callers
Function
buildTool
(def: D)
src/Tool.ts:782
↓ 55 callers
Function
isFullscreenEnvEnabled
()
src/utils/fullscreen.ts:112
↓ 55 callers
Function
logEvent
(name: string, payload: Record<string, unknown>)
src/tools/BriefTool/BriefTool.test.ts:49
↓ 54 callers
Function
logEvent
(eventName, metadata)
src/services/api/promptCacheBreakDetection.test.ts:21
↓ 54 callers
Function
saveOAuthTokensIfNeeded
(tokens: OAuthTokens)
src/utils/auth.ts:1268
↓ 54 callers
Function
unlink
(fsPath)
src/utils/fsOperations.ts:402
↓ 54 callers
Function
waitFor
( predicate: () => boolean, message: string, timeoutMs = 4000, )
src/ink/replPerfHarness.tsx:152
↓ 53 callers
Function
cliError
(msg?: string)
src/cli/exit.ts:19
↓ 53 callers
Function
createUserMessage
( uuid: string, content: string, options?: { isMeta?: boolean }, )
src/session/replTurnController.test.ts:50
↓ 53 callers
Function
useSetAppState
()
src/state/AppState.tsx:170
↓ 52 callers
Function
buildNoumenaPlatformUrl
(path: string)
src/utils/platformUrls.ts:53
↓ 52 callers
Function
createAttachmentMessage
( attachment: Attachment, )
src/utils/attachments.ts:3208
↓ 51 callers
Function
extractTag
(html: string, tagName: string)
src/utils/messages.ts:634
↓ 51 callers
Function
getMountedInkProbe
( terminal: FakeTerminal, )
src/ink/replPerfHarness.tsx:407
↓ 51 callers
Function
leaf
(P: ParseState, type: string, tok: Token)
src/utils/bash/bashParser.ts:702
↓ 51 callers
Function
restoreLex
(L: Lexer, s: LexSave)
src/utils/bash/bashParser.ts:759
↓ 50 callers
Function
gracefulShutdownSync
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:336
↓ 50 callers
Method
read
()
src/cli/structuredIO.ts:216
↓ 49 callers
Function
formatTokens
(count: number)
src/utils/format.ts:133
↓ 49 callers
Method
shift
* Shift full-width rows within [top, bottom] by n. n > 0 = up. Mirrors * what DECSTBM + SU/SD does to the terminal. Paired with blit() to reuse
src/ink/output.ts:260
↓ 48 callers
Function
getInitialSettings
()
src/utils/settings/settings.ts:899
↓ 48 callers
Function
registerCleanup
(cleanupFn: () => Promise<void>)
src/utils/cleanupRegistry.ts:14
↓ 48 callers
Function
truncateToWidth
(text: string, maxWidth: number)
src/utils/truncate.ts:63
↓ 47 callers
Function
createAssistantAPIErrorMessage
({ content, apiError, error, errorDetails, }: { content: string apiError?: AssistantMessage['apiEr
src/utils/messages.ts:436
↓ 47 callers
Function
enableConfigs
()
src/utils/config.ts:1408
↓ 47 callers
Function
mountedScreenIncludes
( ink: MountedInkProbe | undefined, text: string, )
src/ink/replPerfHarness.tsx:257
↓ 46 callers
Function
formatFileSize
(sizeInBytes: number)
src/utils/format.ts:9
↓ 46 callers
Function
formatNumber
(number: number)
src/utils/format.ts:124
↓ 46 callers
Function
logEvent
(eventName, metadata)
src/bridge/bridgeMessaging.test.ts:22
↓ 46 callers
Method
markDirty
()
src/native-ts/yoga-layout/index.ts:577
↓ 46 callers
Function
mkdirSync
(dirPath, options)
src/utils/fsOperations.ts:528
↓ 46 callers
Function
mountRepl
( options: | { messageCount?: number terminalColumns?: number terminalRows?: num
src/ink/replPerfHarness.tsx:329
↓ 46 callers
Function
pathExists
(path: string)
src/utils/file.ts:39
↓ 46 callers
Function
useTheme
()
src/components/design-system/ThemeProvider.tsx:122
↓ 46 callers
Function
wrapMessagesInSystemReminder
( messages: UserMessage[], )
src/utils/messages.ts:3201
↓ 45 callers
Method
enqueue
* Enqueue a patch to PUT /worker. Coalesces with any existing pending * patch. Fire-and-forget — callers don't need to await.
src/cli/transports/WorkerStateUploader.ts:43
↓ 45 callers
Function
isDefined
(n: number)
src/native-ts/yoga-layout/index.ts:108
↓ 45 callers
Function
sanitizeToolNameForAnalytics
( toolName: string, )
src/services/analytics/metadata.ts:69
↓ 44 callers
Method
cleanup
()
src/utils/ShellCommand.ts:92
↓ 44 callers
Function
isFastModeEnabled
()
src/utils/fastMode.ts:39
↓ 43 callers
Function
logEvent
(name: string, payload: Record<string, unknown>)
src/tools/SkillTool/SkillTool.test.ts:118
↓ 43 callers
Function
nextToken
* Scan next token. Context-sensitive: `cmd` mode treats [ as operator (test * command start), `arg` mode treats [ as word char (glob/subscript).
src/utils/bash/bashParser.ts:302
↓ 43 callers
Function
onCancel
()
src/screens/REPL.tsx:2277
↓ 43 callers
Method
read
()
src/utils/claudeInChrome/chromeNativeHost.ts:506
↓ 43 callers
Method
readFile
* Reads a file with caching. Returns both content and encoding. * Cache key includes file path and modification time for automatic invalidation.
src/utils/fileReadCache.ts:22
↓ 42 callers
Function
asSystemPrompt
(value: readonly string[])
src/utils/systemPromptType.ts:12
↓ 42 callers
Method
emit
(type: string | symbol, ...args: unknown[])
src/ink/events/emitter.ts:15
↓ 42 callers
Function
getDisplayPath
(filePath: string)
src/utils/file.ts:155
↓ 42 callers
Method
next
()
src/utils/stream.ts:19
↓ 41 callers
Function
csi
(...args: (string | number)[])
src/ink/termio/csi.ts:45
↓ 41 callers
Method
kill
()
src/utils/ShellCommand.ts:345
↓ 41 callers
Function
updateTaskState
( taskId: string, setAppState: SetAppState, updater: (task: T) => T, )
src/utils/task/framework.ts:48
↓ 41 callers
Function
useInput
(inputHandler: Handler, options: Options = {})
src/ink/hooks/use-input.ts:42
↓ 40 callers
Method
close
* Clean up connections gracefully
src/cli/remoteIO.ts:394
↓ 40 callers
Method
close
()
src/services/oauth/auth-code-listener.ts:197
↓ 40 callers
Function
getDefaultAppState
()
src/state/AppStateStore.ts:467
↓ 40 callers
Function
queryCheckpoint
(name: string)
src/utils/queryProfiler.ts:69
↓ 39 callers
Method
end
* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
src/bridge/flushGate.ts:37
↓ 39 callers
Function
log
(message: string, ...args: unknown[])
src/utils/claudeInChrome/chromeNativeHost.ts:39
↓ 38 callers
Method
cancel
()
src/utils/task/diskOutput.ts:137
↓ 38 callers
Method
default
()
native/openai-compat-ws-v2-napi/src/lib.rs:113
↓ 38 callers
Function
getIsRemoteMode
()
src/bootstrap/state.ts:1647
↓ 38 callers
Function
onStateChange
(state, detail)
src/cli/print.ts:3992
↓ 38 callers
Function
readScreenText
(screen: Screen)
src/ink/replPerfHarness.tsx:245
↓ 37 callers
Function
cliOk
(msg?: string)
src/cli/exit.ts:27
↓ 37 callers
Function
createRoot
({ stdout = process.stdout, stdin = process.stdin, stderr = process.stderr, exitOnCtrlC = true, patc
src/ink/root.ts:129
↓ 37 callers
Function
maybe
(label: string, f: () => Promise<A[]>)
src/utils/attachments.ts:1007
↓ 36 callers
Method
createMessage
(...args: InferenceCreateMessageArgs)
src/services/api/inferenceClient.ts:46
↓ 36 callers
Function
isFsInaccessible
(e: unknown)
src/utils/errors.ts:186
↓ 36 callers
Function
roughTokenCountEstimation
( content: string, bytesPerToken: number = 4, )
src/services/tokenEstimation.ts:203
↓ 36 callers
Method
stopImmediatePropagation
()
src/ink/events/event.ts:8
↓ 35 callers
Function
getContextWindowForModel
( model: string, betas?: string[], )
src/utils/context.ts:54
↓ 35 callers
Function
getProject
()
src/utils/sessionStorage.ts:479
↓ 35 callers
Function
isBareMode
()
src/utils/envUtils.ts:91
↓ 34 callers
Function
createAbortController
( maxListeners: number = DEFAULT_MAX_LISTENERS, )
src/utils/abortController.ts:16
↓ 34 callers
Function
extractTextContent
( blocks: readonly { readonly type: string }[], separator = '', )
src/utils/messages.ts:2962
↓ 34 callers
Function
getTeamName
(teamContext?: { teamName: string })
src/utils/teammate.ts:111
↓ 34 callers
Function
saveLex
(L: Lexer)
src/utils/bash/bashParser.ts:756
↓ 34 callers
Function
useShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/useShortcutDisplay.ts:29
↓ 33 callers
Method
close
* Closes the WebSocket connection.
src/utils/mcpWebSocketTransport.ts:159
↓ 33 callers
Function
createPermissionRequestMessage
(params: { request_id: string agent_id: string tool_name: string tool_use_id: string description: st
src/utils/teammateMailbox.ts:488
↓ 33 callers
Function
getAppState
()
src/commands/commit.ts:105
↓ 32 callers
Function
execFileNoThrow
(exe: string, args: string[])
src/commands/autofix-pr/autofix-pr.test.ts:63
↓ 32 callers
Function
getMainLoopModel
()
src/utils/model/model.ts:148
↓ 32 callers
Function
getModelStrings
()
src/utils/model/modelStrings.ts:136
↓ 32 callers
Function
permissionRuleValueToString
( ruleValue: PermissionRuleValue, )
src/utils/permissions/permissionRuleParser.ts:144
↓ 32 callers
Function
readFileSync
(fsPath, options)
src/utils/fsOperations.ts:445
↓ 32 callers
Function
shellQuote
(value: string)
src/cli/handlers/ant.ts:335
↓ 32 callers
Function
truncate
( text: string, columns: number, position: 'start' | 'middle' | 'end', )
src/ink/wrap-text.ts:28
↓ 32 callers
Function
useNotifications
()
src/context/notifications.tsx:38
↓ 31 callers
Function
createAssistantMessage
( uuid: string, usage?: { input_tokens: number output_tokens: number cache_creation_input_toke
src/components/PromptInput/promptInputMessageSignals.test.ts:15
↓ 31 callers
Function
createScreen
( width: number, height: number, styles: StylePool, charPool: CharPool, hyperlinkPool: HyperlinkPool
src/ink/screen.ts:487
↓ 31 callers
Function
getCommandName
(cmd: CommandBase)
src/types/command.ts:211
↓ 31 callers
Function
isEnvDefinedFalsy
( envVar: string | boolean | undefined, )
src/utils/envUtils.ts:69
↓ 31 callers
Function
logError
()
src/tools/LSPTool/LSPTool.test.ts:58
↓ 31 callers
Function
resolveToCanonical
(name: string)
src/tools/PowerShellTool/readOnlyValidation.ts:984
↓ 31 callers
Function
sendControlResponseSuccess
( message: SDKControlRequest, response?: Record<string, unknown>, )
src/cli/print.ts:2768
↓ 30 callers
Function
findToolByName
(tools: Tools, name: string)
src/Tool.ts:359
↓ 30 callers
Function
makeFrame
({ lines, viewportWidth = 10, viewportHeight, screenHeight = lines.length, cursorY = screenHeight, }
src/ink/tmuxResetSequence.test.ts:89
← previous
next →
101–200 of 14,563, ranked by callers