MCPcopy Create free account

hub / github.com/Noumena-Network/code / functions

Functions14,563 in github.com/Noumena-Network/code

↓ 2 callersFunctionwithMockCurrentSession
( session: ResolvedAuthSession, fn: () => T, )
src/utils/user.test.ts:127
↓ 2 callersFunctionwithMockCurrentSession
( session: ResolvedAuthSession, fn: () => T, )
src/utils/model/check1mAccess.test.ts:84
↓ 2 callersFunctionwithMockCurrentSession
( session: ResolvedAuthSession, fn: () => Promise<T> | T, )
src/services/api/withRetry.test.ts:198
↓ 2 callersFunctionwithResolvers
()
src/utils/withResolvers.ts:5
↓ 2 callersFunctionwithStreamingVCR
( messages: Message[], f: () => AsyncGenerator< StreamEvent | AssistantMessage | SystemAPIErrorMessage
src/services/vcr.ts:350
↓ 2 callersFunctionwithSupportedSyncEnv
(fn: () => T)
src/ink/logUpdateFlickerRegression.test.ts:43
↓ 2 callersFunctionwithTheme
(node: ReactNode)
src/ink.ts:14
↓ 2 callersFunctionwithTimeout
* Race a promise against a timeout. Cleans up the timer regardless of outcome * to avoid unhandled rejections from orphaned setTimeout callbacks.
src/services/lsp/LSPServerInstance.ts:499
↓ 2 callersFunctionwordBoundsAt
* Find the bounds of the same-class character run at (col, row). Returns * null if the click is out of bounds or lands on a noSelect cell. Used by *
src/ink/selection.ts:162
↓ 2 callersFunctionworkerRequest
( host: string, )
src/session/replSandboxPermissionDispatch.test.ts:144
↓ 2 callersFunctionworktreePathFor
(repoRoot: string, slug: string)
src/utils/worktree.ts:237
↓ 2 callersFunctionwrap
(text: string, width: number)
src/buddy/CompanionSprite.tsx:28
↓ 2 callersFunctionwrapCommandText
( raw: string, origin: MessageOrigin | undefined, )
src/utils/messages.ts:5596
↓ 2 callersFunctionwrapFetchWithStepUpDetection
( baseFetch: FetchLike, provider: ClaudeAuthProvider, )
src/services/mcp/auth.ts:1354
↓ 2 callersFunctionwrapSpawn
( childProcess: ChildProcess, abortSignal: AbortSignal, timeout: number, taskOutput: TaskOutput, sho
src/utils/ShellCommand.ts:387
↓ 2 callersFunctionwrapText
(h: Highlight, width: number, theme: Theme)
src/native-ts/color-diff/index.ts:663
↓ 2 callersFunctionwrapWithCwd
(fn: () => T)
src/tools/AgentTool/AgentTool.tsx:642
↓ 2 callersMethodwrapWithSandbox
( command: string, binShell?: string, customConfig?: Partial<SandboxRuntimeConfig>, abortSigna
src/utils/sandbox/sandbox-adapter.ts:925
↓ 2 callersFunctionwrapWithSoftWrap
* Wrap text and record which output lines are soft-wrap continuations * (i.e. the `\n` before them was inserted by word-wrap, not in the * source).
src/ink/render-node-to-output.ts:338
↓ 2 callersFunctionwrapper
(startPath: string)
src/utils/git.ts:103
↓ 2 callersFunctionwrite
(obj: object)
src/utils/errorLogSink.ts:53
↓ 2 callersFunctionwriteAgentMetadata
( agentId: AgentId, metadata: AgentMetadata, )
src/utils/sessionStorage.ts:311
↓ 2 callersMethodwriteCell
(value: string)
src/ink/terminalReplayOracle.ts:130
↓ 2 callersFunctionwriteCellWithStyleStr
* Write a cell with a pre-serialized style transition string (from * StylePool.transition). Inlines the txn logic to avoid closure/tuple/delta * all
src/ink/log-update.ts:1635
↓ 2 callersFunctionwriteClipboardViaPbcopy
(text: string)
src/utils/computerUse/executor.ts:80
↓ 2 callersFunctionwriteFileAndFlush
( filePath: string, content: string, flag: 'w' | 'wx' = 'w', )
src/components/agents/agentFileUtils.ts:325
↓ 2 callersFunctionwriteFileLines
( filePath: string, lines: string[], )
src/utils/shellConfig.ts:96
↓ 2 callersFunctionwriteHighWaterMark
( taskListId: string, value: number, )
src/utils/tasks.ts:126
↓ 2 callersFunctionwriteIfMissing
* Write `content` to `path` only if the file does not already exist. * Uses O_EXCL ('wx') for atomic create-if-missing.
src/utils/localInstaller.ts:54
↓ 2 callersFunctionwriteMcpjsonFile
* Internal utility: Write MCP config to .mcp.json file. * Preserves file permissions and flushes to disk before rename. * Uses the original path for
src/services/mcp/config.ts:89
↓ 2 callersFunctionwriteOauthTokens
(expiresAt: number)
src/services/mcp/claudeai.test.ts:108
↓ 2 callersFunctionwriteOauthTokens
(expiresAt: number)
src/services/api/usage.test.ts:101
↓ 2 callersFunctionwriteOut
(stream: NodeJS.WriteStream, data: string)
src/utils/process.ts:17
↓ 2 callersFunctionwritePayload
(path: string, payload: unknown)
src/commands/repaint/repaint.ts:297
↓ 2 callersFunctionwritePerfettoTrace
* Final async write: close open spans and write the complete trace. * Idempotent — sets `traceWritten` on success so subsequent calls are no-ops.
src/utils/telemetry/perfettoTracing.ts:1015
↓ 2 callersFunctionwriteRules
(rules: AutoModeRules)
src/cli/handlers/autoMode.ts:20
↓ 2 callersFunctionwriteTeamFixture
( teamName = 'team-alpha', memberName = 'agent-beta', )
src/session/replTurnController.test.ts:29
↓ 2 callersFunctionwriteToFile
(text: string, filename: string)
src/commands/copy/copy.tsx:73
↓ 2 callersFunctionyankPop
()
src/utils/Cursor.ts:91
↓ 2 callersFunctionzeroStats
()
src/hooks/virtualScrollStats.ts:34
↓ 1 callersMethod#createResultPromise
()
src/utils/ShellCommand.ts:263
↓ 1 callersMethod#drain
()
src/utils/task/diskOutput.ts:207
↓ 1 callersMethod#queueToBuffers
Keep this in a separate method so that GC doesn't keep it alive for any longer than it should.
src/utils/task/diskOutput.ts:189
↓ 1 callersMethod#readStdoutFromFile
()
src/utils/task/TaskOutput.ts:297
↓ 1 callersMethod#rewatch
* Point the file watcher at the current tasks directory. Called on start * and whenever #fetch detects the task list ID has changed (e.g. when *
src/hooks/useTasksV2.ts:90
↓ 1 callersMethod#startSizeWatchdog
()
src/utils/ShellCommand.ts:239
↓ 1 callersMethod#stop
* Tear down the watcher, timers, and in-process subscription. Called when * the last subscriber unsubscribes. Preserves #tasks/#hidden cache so a
src/hooks/useTasksV2.ts:186
↓ 1 callersMethod#updateProgress
* Single backward pass: count all newlines (for totalLines) and extract * the last few lines as flat copies (for the CircularBuffer / progress).
src/utils/task/TaskOutput.ts:207
↓ 1 callersMethod#writeAllChunks
()
src/utils/task/diskOutput.ts:178
↓ 1 callersFunctionAUTO_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:235
↓ 1 callersFunctionDANGEROUS_uncachedSystemPromptSection
( name: string, compute: ComputeFn, _reason: string, )
src/constants/systemPromptSections.ts:32
↓ 1 callersFunctionDONT_ASK_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:238
↓ 1 callersFunctionLOCAL_REVIEW_PROMPT
(args: string)
src/commands/review.ts:9
↓ 1 callersFunction_bundleWithFallback
( gitRoot: string, bundlePath: string, maxBytes: number, hasStash: boolean, signal: AbortSignal | un
src/utils/teleport/gitBundle.ts:51
↓ 1 callersMethod_doRefresh
( refreshToken: string, )
src/services/mcp/auth.ts:2177
↓ 1 callersFunction_executeApiKeyHelper
( isNonInteractiveSession: boolean, )
src/utils/auth.ts:612
↓ 1 callersFunction_format_error
(error)
rust/py_repl_host/assets/kernel.py:20
↓ 1 callersFunction_format_error
(error)
src/tools/REPLTool/kernel.py:20
↓ 1 callersFunction_handle_exec
(message)
rust/py_repl_host/assets/kernel.py:92
↓ 1 callersFunction_handle_exec
(message)
src/tools/REPLTool/kernel.py:83
↓ 1 callersMethod_isImmediatePropagationStopped
@internal
src/ink/events/terminal-event.ts:93
↓ 1 callersMethod_isPropagationStopped
@internal
src/ink/events/terminal-event.ts:88
↓ 1 callersFunction_join_outputs
(stdout_text, stderr_text)
rust/py_repl_host/assets/kernel.py:28
↓ 1 callersFunction_main
()
rust/py_repl_host/assets/kernel.py:179
↓ 1 callersFunction_main
()
src/tools/REPLTool/kernel.py:171
↓ 1 callersMethod_prepareForTarget
* Hook for subclasses to do per-node setup before each handler fires. * Default is a no-op.
src/ink/events/terminal-event.ts:101
↓ 1 callersFunction_read_stdin
(exec_queue)
rust/py_repl_host/assets/kernel.py:152
↓ 1 callersFunction_read_stdin
(exec_queue)
src/tools/REPLTool/kernel.py:144
↓ 1 callersMethod_resetFlushState
@internal Reset flush/queue state for testing.
src/utils/sessionStorage.ts:611
↓ 1 callersFunction_run_tool
(exec_id, tool_name, args)
rust/py_repl_host/assets/kernel.py:57
↓ 1 callersFunction_run_tool
(exec_id, tool_name, args)
src/tools/REPLTool/kernel.py:48
↓ 1 callersMethod_setTarget
@internal
src/ink/events/terminal-event.ts:73
↓ 1 callersFunctionabortPromptSuggestion
()
src/services/PromptSuggestion/promptSuggestion.ts:97
↓ 1 callersFunctionacceptSpeculation
( state: SpeculationState, setAppState: (f: (prev: AppState) => AppState) => void, cleanMessageCount: nu
src/services/PromptSuggestion/speculation.ts:718
↓ 1 callersFunctionaccumulateStreamEvents
( buffer: SDKPartialAssistantMessage[], state: StreamAccumulatorState, )
src/cli/transports/ccrClient.ts:141
↓ 1 callersFunctionaccumulateToolUses
* Count tool uses in an assistant message and add to existing counts.
src/utils/streamlinedTransform.ts:109
↓ 1 callersFunctionacquireLock
* Attempts to acquire a lock for auto-updater * @returns true if lock was acquired, false if another process holds the lock
src/utils/autoUpdater.ts:186
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
src/utils/swarm/backends/ITermBackend.ts:21
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
src/utils/swarm/backends/TmuxBackend.ts:43
↓ 1 callersFunctionacquireProcessLifetimeLock
( versionPath: string, lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:299
↓ 1 callersFunctionactivateProactive
(_reason?: string)
src/proactive/index.ts:20
↓ 1 callersFunctionactiveInstallerClaudePatterns
()
src/constants/repoExposureAudit.ts:110
↓ 1 callersMethodaddAll
* Add multiple items to the buffer at once.
src/utils/CircularBuffer.ts:29
↓ 1 callersFunctionaddApiRequestToCache
(requestData: unknown)
src/services/api/dumpPrompts.ts:50
↓ 1 callersFunctionaddBetaInteractionAttributes
( span: Span, userPrompt: string, )
src/utils/telemetry/betaSessionTracing.ts:224
↓ 1 callersFunctionaddBetaLLMRequestAttributes
( span: Span, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], )
src/utils/telemetry/betaSessionTracing.ts:248
↓ 1 callersFunctionaddBetaLLMResponseAttributes
( endAttributes: Record<string, string | number | boolean>, metadata?: { modelOutput?: string thin
src/utils/telemetry/betaSessionTracing.ts:407
↓ 1 callersFunctionaddBetaToolInputAttributes
( span: Span, toolName: string, toolInput: string, )
src/utils/telemetry/betaSessionTracing.ts:450
↓ 1 callersFunctionaddBetaToolResultAttributes
( endAttributes: Record<string, string | number | boolean>, toolName: string | number | boolean, toolRes
src/utils/telemetry/betaSessionTracing.ts:475
↓ 1 callersFunctionaddCacheBreakpoints
( messages: (UserMessage | AssistantMessage)[], enablePromptCaching: boolean, querySource?: QuerySource,
src/services/api/claude.ts:3090
↓ 1 callersFunctionaddCleanupResults
( a: CleanupResult, b: CleanupResult, )
src/utils/cleanup.ts:39
↓ 1 callersFunctionaddCronTask
( cron: string, prompt: string, recurring: boolean, durable: boolean, agentId?: string, )
src/utils/cronTasks.ts:212
↓ 1 callersFunctionaddDreamTurn
( taskId: string, turn: DreamTurn, touchedPaths: string[], setAppState: SetAppState, )
src/tasks/DreamTask/DreamTask.ts:76
↓ 1 callersFunctionaddExceededLimit
( type: 'five_hour' | 'seven_day' | 'seven_day_opus' | 'seven_day_sonnet', hoursFromNow: number, )
src/services/mockRateLimits.ts:250
↓ 1 callersFunctionaddFileGlobRuleToGitignore
( filename: string, cwd: string = getCwd(), )
src/utils/git/gitignore.ts:53
↓ 1 callersFunctionaddFlaggedPlugin
(pluginId: string)
src/utils/plugins/pluginFlagging.ts:151
↓ 1 callersFunctionaddInvokedSkill
()
src/tools/SkillTool/SkillTool.test.ts:69
↓ 1 callersFunctionaddItemToJSONCArray
(content: string, newItem: unknown)
src/utils/json.ts:258
↓ 1 callersFunctionaddMarker
(h: Highlight, theme: Theme)
src/native-ts/color-diff/index.ts:747
↓ 1 callersFunctionaddPendingClear
( parent: DOMElement, rect: Rectangle, isAbsolute: boolean, )
src/ink/node-cache.ts:34
← previousnext →6,001–6,100 of 14,563, ranked by callers