MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

FunctioncheckPermissions
(input, context)
source code/tools/FileReadTool/FileReadTool.ts:400
FunctioncheckPermissions
(input)
source code/tools/TodoWriteTool/TodoWriteTool.ts:60
FunctioncheckPermissions
(input, context)
source code/tools/FileEditTool/FileEditTool.ts:127
FunctioncheckPermissions
(_input)
source code/tools/WebSearchTool/WebSearchTool.ts:211
FunctioncheckPermissions
(input)
source code/tools/AskUserQuestionTool/AskUserQuestionTool.tsx:184
FunctioncheckPermissions
(input, context)
source code/tools/AgentTool/AgentTool.tsx:1283
FunctioncheckPermissions
(input, context)
source code/tools/FileWriteTool/FileWriteTool.ts:137
FunctioncheckPermissions
(input, context)
source code/tools/BashTool/BashTool.tsx:541
FunctioncheckPermissions
(input, context)
source code/tools/WebFetchTool/WebFetchTool.ts:106
FunctioncheckPermissions
(input, context)
source code/tools/LSPTool/LSPTool.ts:212
FunctioncheckPermissions
(input, context)
source code/tools/GrepTool/GrepTool.ts:235
FunctioncheckPermissions
()
source code/tools/testing/TestingPermissionTool.tsx:38
FunctioncheckPermissions
()
source code/tools/MCPTool/MCPTool.ts:58
FunctioncheckPermissions
(input, _context)
source code/tools/SendMessageTool/SendMessageTool.ts:587
FunctioncheckPermissions
(input, context)
source code/tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts:223
FunctioncheckPermissions
()
source code/services/mcp/client.ts:1816
FunctioncheckPwshCommandOrFile
* 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
FunctioncheckRuntimeStateManipulation
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:984
FunctioncheckScheduledTask
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:853
FunctioncheckScriptBlockInjection
* 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
FunctioncheckSplatting
* AST-only check: Detects splatting (@variable) which can obscure arguments.
source code/tools/PowerShellTool/powershellSecurity.ts:748
FunctioncheckStartProcess
* 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
FunctioncheckStopParsing
* AST-only check: Detects stop-parsing token (--%) which prevents further parsing.
source code/tools/PowerShellTool/powershellSecurity.ts:763
FunctioncheckSubExpressions
* AST-only check: Detects subexpressions $() which can hide command execution.
source code/tools/PowerShellTool/powershellSecurity.ts:716
FunctioncheckTypeLiterals
* 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
FunctioncheckWmiProcessSpawn
( parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:1018
FunctionchordToDisplayString
( chord: Chord, platform: DisplayPlatform = 'linux', )
source code/keybindings/parser.ts:183
FunctionclampRect
(rect: Rectangle, size: Size)
source code/ink/layout/geometry.ts:73
Functioncleanup
()
source code/tools/AgentTool/runAgent.ts:199
Functioncleanup
()
source code/utils/combinedAbortSignal.ts:42
Functioncleanup
()
source code/utils/nativeInstaller/pidLock.ts:312
Methodcleanup
()
source code/utils/ShellCommand.ts:370
Methodcleanup
()
source code/utils/ShellCommand.ts:436
FunctioncleanupOldResolutions
( teamName?: string, maxAgeMs = 3600000, )
source code/utils/swarm/permissionSync.ts:454
FunctioncleanupSessionPluginCache
()
source code/utils/plugins/zipCache.ts:148
FunctioncleanupTaskOutput
(taskId: string)
source code/utils/task/diskOutput.ts:380
Functionclear
()
source code/utils/signal.ts:41
Functionclear
()
source code/utils/nativeInstaller/installer.ts:971
Methodclear
()
source code/utils/fileStateCache.ts:60
Methodclear
* Clear all items from the buffer.
source code/utils/CircularBuffer.ts:74
Methodclear
* Clears all accumulated data
source code/utils/stringUtils.ts:196
Methodclear
* Clears the entire cache. Useful for testing or memory management.
source code/utils/fileReadCache.ts:75
FunctionclearAllAsyncHooks
()
source code/utils/hooks/AsyncHookRegistry.ts:306
FunctionclearApiRequestCache
()
source code/services/api/dumpPrompts.ts:38
FunctionclearBinaryCache
()
source code/utils/binaryCheck.ts:53
FunctionclearBuiltinPlugins
()
source code/plugins/builtinPlugins.ts:128
FunctionclearBundledSkills
()
source code/skills/bundledSkills.ts:115
FunctionclearDirectoryCache
()
source code/utils/suggestions/directoryCompletion.ts:147
FunctionclearDynamicTeamContext
()
source code/utils/teammate.ts:74
FunctionclearGitAvailabilityCache
()
source code/utils/plugins/gitAvailability.ts:69
FunctionclearGrowthBookConfigOverrides
()
source code/services/analytics/growthbook.ts:275
FunctionclearHookEventState
()
source code/utils/hooks/hookEvents.ts:190
FunctionclearInstalledPluginsCache
()
source code/utils/plugins/installedPluginsManager.ts:101
FunctionclearKillRing
()
source code/utils/Cursor.ts:68
FunctionclearMailbox
( agentName: string, teamName?: string, )
source code/utils/teammateMailbox.ts:351
FunctionclearMdmSettingsCache
()
source code/utils/settings/mdm/settings.ts:145
FunctionclearOutputStyleCaches
()
source code/outputStyles/loadOutputStylesDir.ts:96
FunctionclearPathCache
()
source code/utils/suggestions/directoryCompletion.ts:262
FunctionclearPendingHistoryEntries
()
source code/history.ts:438
FunctionclearPlanSlug
(sessionId?: SessionId)
source code/utils/plans.ts:64
FunctionclearPostSamplingHooks
()
source code/utils/hooks/postSamplingHooks.ts:40
FunctionclearRegion
( screen: Screen, regionX: number, regionY: number, regionWidth: number, regionHeight: number, )
source code/ink/screen.ts:961
FunctionclearRegisteredHooks
()
source code/bootstrap/state.ts:1444
FunctionclearSession
(sessionId: string)
source code/services/api/sessionIngress.ts:504
FunctionclearShellHistoryCache
()
source code/utils/suggestions/shellHistoryCompletion.ts:64
FunctionclearSlackChannelCache
()
source code/utils/suggestions/slackChannelSuggestions.ts:205
FunctionclearStatus
()
source code/bridge/bridgeUI.ts:466
Functionclick
* 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
MethodclientMetadata
()
source code/services/mcp/auth.ts:1419
MethodclientMetadataUrl
* 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
FunctioncloneDeep
(value: T)
source code/utils/slowOperations.ts:236
Functionclose
()
source code/bridge/replBridgeTransport.ts:286
Functionclose
(sock)
source code/upstreamproxy/relay.ts:229
Functionclose
()
source code/services/voiceStreamSTT.ts:308
Methodclose
()
source code/cli/transports/HybridTransport.ts:173
Methodclose
()
source code/cli/transports/WorkerStateUploader.ts:51
Methodclose
* Drop pending events and stop processing. * Resolves any blocked enqueue() and flush() callers.
source code/cli/transports/SerialBatchEventUploader.ts:141
Methodclose
()
source code/services/mcp/SdkControlTransport.ts:90
Methodclose
()
source code/services/mcp/SdkControlTransport.ts:131
FunctioncloseFile
* 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
MethodcodeVerifier
()
source code/services/mcp/auth.ts:1953
MethodcollectResults
()
source code/services/tools/StreamingToolExecutor.ts:278
Methodcolumns
()
source code/utils/Cursor.ts:1044
FunctioncommandHasArg
( command: ParsedCommandElement, arg: string, )
source code/utils/powershell/parser.ts:1610
FunctioncommitMount
(node: DOMElement)
source code/ink/reconciler.ts:403
FunctioncommitTextUpdate
(node: TextNode, _oldText: string, newText: string)
source code/ink/reconciler.ts:462
FunctioncommitUpdate
( node: DOMElement, _type: ElementNames, oldProps: Props, newProps: Props, )
source code/ink/reconciler.ts:428
FunctioncompareAgentsByName
( a: AgentDefinition, b: AgentDefinition, )
source code/tools/AgentTool/agentDisplay.ts:99
FunctioncompareDesc
* Sort comparator: lastModified desc, then sessionId desc for stable * ordering across mtime ties.
source code/utils/listSessionsImpl.ts:232
FunctioncompleteAgentTask
(result: AgentToolResult, setAppState: SetAppState)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:414
MethodcomponentDidCatch
(error: Error)
source code/ink/components/App.tsx:208
MethodcomponentDidMount
()
source code/ink/components/App.tsx:183
MethodcomponentWillUnmount
()
source code/ink/components/App.tsx:189
FunctioncomputeBranch
()
source code/utils/git/gitFilesystem.ts:502
FunctioncomputeDefaultBranch
()
source code/utils/git/gitFilesystem.ts:546
FunctioncomputeHead
()
source code/utils/git/gitFilesystem.ts:514
FunctioncomputeRemoteUrl
()
source code/utils/git/gitFilesystem.ts:529
Functionconnect
()
source code/bridge/replBridgeTransport.ts:338
FunctionconnectRemoteControl
( _opts: ConnectRemoteControlOptions, )
source code/entrypoints/agentSdkTypes.ts:441
Methodconstructor
(config: QueryEngineConfig)
source code/QueryEngine.ts:202
← previousnext →9,501–9,600 of 11,462, ranked by callers