Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
Function
checkPermissions
(input, context)
source code/tools/FileReadTool/FileReadTool.ts:400
Function
checkPermissions
(input)
source code/tools/TodoWriteTool/TodoWriteTool.ts:60
Function
checkPermissions
(input, context)
source code/tools/FileEditTool/FileEditTool.ts:127
Function
checkPermissions
(_input)
source code/tools/WebSearchTool/WebSearchTool.ts:211
Function
checkPermissions
(input)
source code/tools/AskUserQuestionTool/AskUserQuestionTool.tsx:184
Function
checkPermissions
(input, context)
source code/tools/AgentTool/AgentTool.tsx:1283
Function
checkPermissions
(input, context)
source code/tools/FileWriteTool/FileWriteTool.ts:137
Function
checkPermissions
(input, context)
source code/tools/BashTool/BashTool.tsx:541
Function
checkPermissions
(input, context)
source code/tools/WebFetchTool/WebFetchTool.ts:106
Function
checkPermissions
(input, context)
source code/tools/LSPTool/LSPTool.ts:212
Function
checkPermissions
(input, context)
source code/tools/GrepTool/GrepTool.ts:235
Function
checkPermissions
()
source code/tools/testing/TestingPermissionTool.tsx:38
Function
checkPermissions
()
source code/tools/MCPTool/MCPTool.ts:58
Function
checkPermissions
(input, _context)
source code/tools/SendMessageTool/SendMessageTool.ts:587
Function
checkPermissions
(input, context)
source code/tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts:223
Function
checkPermissions
()
source code/services/mcp/client.ts:1816
Function
checkPwshCommandOrFile
* Checks for PowerShell re-invocation (nested pwsh/powershell process). * * Any PowerShell executable in command position is flagged — not just * -
source code/tools/PowerShellTool/powershellSecurity.ts:194
Function
checkRuntimeStateManipulation
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:984
Function
checkScheduledTask
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:853
Function
checkScriptBlockInjection
* Checks for script block injection patterns where script blocks * appear in suspicious contexts that could execute arbitrary code. * * Script bloc
source code/tools/PowerShellTool/powershellSecurity.ts:665
Function
checkSplatting
* AST-only check: Detects splatting (@variable) which can obscure arguments.
source code/tools/PowerShellTool/powershellSecurity.ts:748
Function
checkStartProcess
* Checks for dangerous Start-Process patterns. * * Two vectors: * 1. `-Verb RunAs` — privilege escalation (UAC prompt). * 2. Launching a PowerShel
source code/tools/PowerShellTool/powershellSecurity.ts:552
Function
checkStopParsing
* AST-only check: Detects stop-parsing token (--%) which prevents further parsing.
source code/tools/PowerShellTool/powershellSecurity.ts:763
Function
checkSubExpressions
* AST-only check: Detects subexpressions $() which can hide command execution.
source code/tools/PowerShellTool/powershellSecurity.ts:716
Function
checkTypeLiterals
* AST-only check: type literals outside Microsoft's ConstrainedLanguage * allowlist. CLM blocks all .NET type access except ~90 primitives/attributes
source code/tools/PowerShellTool/powershellSecurity.ts:803
Function
checkWmiProcessSpawn
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:1018
Function
chordToDisplayString
( chord: Chord, platform: DisplayPlatform = 'linux', )
source code/keybindings/parser.ts:183
Function
clampRect
(rect: Rectangle, size: Size)
source code/ink/layout/geometry.ts:73
Function
cleanup
()
source code/tools/AgentTool/runAgent.ts:199
Function
cleanup
()
source code/utils/combinedAbortSignal.ts:42
Function
cleanup
()
source code/utils/nativeInstaller/pidLock.ts:312
Method
cleanup
()
source code/utils/ShellCommand.ts:370
Method
cleanup
()
source code/utils/ShellCommand.ts:436
Function
cleanupOldResolutions
( teamName?: string, maxAgeMs = 3600000, )
source code/utils/swarm/permissionSync.ts:454
Function
cleanupSessionPluginCache
()
source code/utils/plugins/zipCache.ts:148
Function
cleanupTaskOutput
(taskId: string)
source code/utils/task/diskOutput.ts:380
Function
clear
()
source code/utils/signal.ts:41
Function
clear
()
source code/utils/nativeInstaller/installer.ts:971
Method
clear
()
source code/utils/fileStateCache.ts:60
Method
clear
* Clear all items from the buffer.
source code/utils/CircularBuffer.ts:74
Method
clear
* Clears all accumulated data
source code/utils/stringUtils.ts:196
Method
clear
* Clears the entire cache. Useful for testing or memory management.
source code/utils/fileReadCache.ts:75
Function
clearAllAsyncHooks
()
source code/utils/hooks/AsyncHookRegistry.ts:306
Function
clearApiRequestCache
()
source code/services/api/dumpPrompts.ts:38
Function
clearBinaryCache
()
source code/utils/binaryCheck.ts:53
Function
clearBuiltinPlugins
()
source code/plugins/builtinPlugins.ts:128
Function
clearBundledSkills
()
source code/skills/bundledSkills.ts:115
Function
clearDirectoryCache
()
source code/utils/suggestions/directoryCompletion.ts:147
Function
clearDynamicTeamContext
()
source code/utils/teammate.ts:74
Function
clearGitAvailabilityCache
()
source code/utils/plugins/gitAvailability.ts:69
Function
clearGrowthBookConfigOverrides
()
source code/services/analytics/growthbook.ts:275
Function
clearHookEventState
()
source code/utils/hooks/hookEvents.ts:190
Function
clearInstalledPluginsCache
()
source code/utils/plugins/installedPluginsManager.ts:101
Function
clearKillRing
()
source code/utils/Cursor.ts:68
Function
clearMailbox
( agentName: string, teamName?: string, )
source code/utils/teammateMailbox.ts:351
Function
clearMdmSettingsCache
()
source code/utils/settings/mdm/settings.ts:145
Function
clearOutputStyleCaches
()
source code/outputStyles/loadOutputStylesDir.ts:96
Function
clearPathCache
()
source code/utils/suggestions/directoryCompletion.ts:262
Function
clearPendingHistoryEntries
()
source code/history.ts:438
Function
clearPlanSlug
(sessionId?: SessionId)
source code/utils/plans.ts:64
Function
clearPostSamplingHooks
()
source code/utils/hooks/postSamplingHooks.ts:40
Function
clearRegion
( screen: Screen, regionX: number, regionY: number, regionWidth: number, regionHeight: number, )
source code/ink/screen.ts:961
Function
clearRegisteredHooks
()
source code/bootstrap/state.ts:1444
Function
clearSession
(sessionId: string)
source code/services/api/sessionIngress.ts:504
Function
clearShellHistoryCache
()
source code/utils/suggestions/shellHistoryCompletion.ts:64
Function
clearSlackChannelCache
()
source code/utils/suggestions/slackChannelSuggestions.ts:205
Function
clearStatus
()
source code/bridge/bridgeUI.ts:466
Function
click
* Move, then click. Modifiers are press/release bracketed via withModifiers * — same pattern as Cowork. AppKit computes NSEvent.clickCount from t
source code/utils/computerUse/executor.ts:540
Method
clientMetadata
()
source code/services/mcp/auth.ts:1419
Method
clientMetadataUrl
* CIMD (SEP-991): URL-based client_id. When the auth server advertises * client_id_metadata_document_supported: true, the SDK uses this URL as the
source code/services/mcp/auth.ts:1447
Function
cloneDeep
(value: T)
source code/utils/slowOperations.ts:236
Function
close
()
source code/bridge/replBridgeTransport.ts:286
Function
close
(sock)
source code/upstreamproxy/relay.ts:229
Function
close
()
source code/services/voiceStreamSTT.ts:308
Method
close
()
source code/cli/transports/HybridTransport.ts:173
Method
close
()
source code/cli/transports/WorkerStateUploader.ts:51
Method
close
* Drop pending events and stop processing. * Resolves any blocked enqueue() and flush() callers.
source code/cli/transports/SerialBatchEventUploader.ts:141
Method
close
()
source code/services/mcp/SdkControlTransport.ts:90
Method
close
()
source code/services/mcp/SdkControlTransport.ts:131
Function
closeFile
* Close a file in LSP servers (sends didClose notification) * * NOTE: Currently available but not yet integrated with compact flow. * TODO: I
source code/services/lsp/LSPServerManager.ts:379
Method
codeVerifier
()
source code/services/mcp/auth.ts:1953
Method
collectResults
()
source code/services/tools/StreamingToolExecutor.ts:278
Method
columns
()
source code/utils/Cursor.ts:1044
Function
commandHasArg
( command: ParsedCommandElement, arg: string, )
source code/utils/powershell/parser.ts:1610
Function
commitMount
(node: DOMElement)
source code/ink/reconciler.ts:403
Function
commitTextUpdate
(node: TextNode, _oldText: string, newText: string)
source code/ink/reconciler.ts:462
Function
commitUpdate
( node: DOMElement, _type: ElementNames, oldProps: Props, newProps: Props, )
source code/ink/reconciler.ts:428
Function
compareAgentsByName
( a: AgentDefinition, b: AgentDefinition, )
source code/tools/AgentTool/agentDisplay.ts:99
Function
compareDesc
* Sort comparator: lastModified desc, then sessionId desc for stable * ordering across mtime ties.
source code/utils/listSessionsImpl.ts:232
Function
completeAgentTask
(result: AgentToolResult, setAppState: SetAppState)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:414
Method
componentDidCatch
(error: Error)
source code/ink/components/App.tsx:208
Method
componentDidMount
()
source code/ink/components/App.tsx:183
Method
componentWillUnmount
()
source code/ink/components/App.tsx:189
Function
computeBranch
()
source code/utils/git/gitFilesystem.ts:502
Function
computeDefaultBranch
()
source code/utils/git/gitFilesystem.ts:546
Function
computeHead
()
source code/utils/git/gitFilesystem.ts:514
Function
computeRemoteUrl
()
source code/utils/git/gitFilesystem.ts:529
Function
connect
()
source code/bridge/replBridgeTransport.ts:338
Function
connectRemoteControl
( _opts: ConnectRemoteControlOptions, )
source code/entrypoints/agentSdkTypes.ts:441
Method
constructor
(config: QueryEngineConfig)
source code/QueryEngine.ts:202
← previous
next →
9,501–9,600 of 11,462, ranked by callers