MCPcopy Create free account

hub / github.com/QuantaAlpha/claude-code / functions

Functions11,613 in github.com/QuantaAlpha/claude-code

Functioncall
(onDone: LocalJSXCommandOnDone, context: LocalJSXCommandContext, args?: string)
src/commands/add-dir/add-dir.tsx:65
Functioncall
(onDone: LocalJSXCommandOnDone)
src/commands/mobile/mobile.tsx:271
Functioncall
(onDone, context, args)
src/commands/review/ultrareviewCommand.tsx:28
Functioncall
(onDone: LocalJSXCommandOnDone, context: LocalJSXCommandContext)
src/commands/upgrade/upgrade.tsx:9
Functioncall
(onDone: LocalJSXCommandOnDone, context: LocalJSXCommandContext)
src/commands/status/status.tsx:5
Functioncall
(onDone, context)
src/commands/hooks/hooks.tsx:6
Functioncall
(onDone: LocalJSXCommandOnDone, context: ToolUseContext)
src/commands/agents/agents.tsx:6
Functioncall
()
src/commands/logout/logout.tsx:72
Functioncall
(onDone, { options: { commands } })
src/commands/help/help.tsx:4
Functioncall
( onDone: LocalJSXCommandOnDone, context: ToolUseContext & LocalJSXCommandContext, args: string, )
src/commands/rename/rename.ts:21
Functioncall
(onDone: LocalJSXCommandOnDone, _context: unknown, args?: string)
src/commands/tag/tag.tsx:205
Functioncall
(onDone, context)
src/commands/config/config.tsx:4
Functioncall
()
src/commands/thinkback-play/thinkback-play.ts:18
Functioncall
(onDone: LocalJSXCommandOnDone, context: ToolUseContext, args: string)
src/commands/export/export.tsx:53
Functioncall
(_, context)
src/commands/clear/clear.ts:4
Functioncall
( args: Record<string, unknown>, context, _canUseTool,
src/services/mcp/client.ts:1833
FunctioncanUseTool
()
src/utils/queryHelpers.ts:278
FunctioncanUseTool
()
src/services/AgentSummary/agentSummary.ts:94
FunctioncanUseTool
()
src/services/PromptSuggestion/promptSuggestion.ts:302
FunctioncanYankPop
()
src/utils/Cursor.ts:87
FunctioncancelAll
()
src/bridge/jwtUtils.ts:243
FunctioncancelAndAbort
( feedback?: string, isAbort?: boolean, contentBlocks?: ContentBlockParam[], )
src/hooks/toolPermission/PermissionContext.ts:154
FunctioncancelRequest
(requestId_2)
src/hooks/useReplBridge.tsx:573
Functioncapabilities
()
src/services/lsp/LSPClient.ts:80
FunctioncaptureExcluding
( _allowedBundleIds: string[], _quality: number, width: number, height: number,
stubs/ant-computer-use-swift/index.ts:256
FunctioncaptureRegion
( _allowedBundleIds: string[], _x: number, _y: number, _width: number, _height:
stubs/ant-computer-use-swift/index.ts:265
FunctioncellOutputToToolResult
(output: NotebookCellSourceOutput)
src/utils/notebook.ts:134
FunctionchangeFile
(filePath: string, content: string)
src/services/lsp/LSPServerManager.ts:312
Functioncheck
()
src/components/ScrollKeybindingHandler.tsx:741
Functioncheck
()
src/utils/cronScheduler.ts:230
FunctioncheckAccessibility
()
stubs/ant-computer-use-swift/index.ts:196
FunctioncheckAddType
* Checks for Add-Type usage which compiles and loads .NET code at runtime. * This can be used to execute arbitrary compiled code.
src/tools/PowerShellTool/powershellSecurity.ts:321
FunctioncheckComObject
* Checks for New-Object -ComObject. COM objects like WScript.Shell, * Shell.Application, MMC20.Application, Schedule.Service, Msxml2.XMLHTTP * have
src/tools/PowerShellTool/powershellSecurity.ts:343
FunctioncheckDangerousFilePathExecution
* Checks for DANGEROUS_SCRIPT_BLOCK_CMDLETS invoked with -FilePath (or * -LiteralPath). These run a script file — arbitrary code execution with no *
src/tools/PowerShellTool/powershellSecurity.ts:452
FunctioncheckDownloadCradles
( parsed: ParsedPowerShellCommand, )
src/tools/PowerShellTool/powershellSecurity.ts:234
FunctioncheckDownloadUtilities
* Checks for standalone download utilities — LOLBAS tools commonly used to * fetch payloads. Unlike checkDownloadCradles (which requires download + I
src/tools/PowerShellTool/powershellSecurity.ts:276
FunctioncheckDynamicCommandName
* Checks for dynamic command invocation where the command name itself is an * expression that cannot be statically resolved. * * PoCs: * & ${fun
src/tools/PowerShellTool/powershellSecurity.ts:143
FunctioncheckEnabledPlugins
()
src/utils/plugins/pluginStartupCheck.ts:39
FunctioncheckEncodedCommand
* Checks for encoded command parameters which obscure intent. * These are commonly used in malware to bypass security tools.
src/tools/PowerShellTool/powershellSecurity.ts:166
FunctioncheckEndpoint
(url: string)
src/utils/preflightChecks.tsx:22
FunctioncheckEnvVarManipulation
( parsed: ParsedPowerShellCommand, )
src/tools/PowerShellTool/powershellSecurity.ts:908
FunctioncheckExpandableStrings
* AST-only check: Detects expandable strings (double-quoted) with embedded * expressions like "$env:PATH" or "$(dangerous-command)". These can hide
src/tools/PowerShellTool/powershellSecurity.ts:731
FunctioncheckForEachMemberName
* Checks for ForEach-Object -MemberName. Invokes a method by string name on * every piped object — semantically equivalent to `| % { $_.Method() }` b
src/tools/PowerShellTool/powershellSecurity.ts:499
FunctioncheckHasGitRemote
()
src/utils/background/remote/preconditions.ts:67
FunctioncheckHasTeamMemOps
(message: CollapsedReadSearchGroup)
src/components/messages/teamMemCollapsed.tsx:11
FunctioncheckInvokeExpression
* Checks if a PowerShell command uses Invoke-Expression or its alias (iex). * These are equivalent to eval and can execute arbitrary code.
src/tools/PowerShellTool/powershellSecurity.ts:106
FunctioncheckInvokeItem
* Invoke-Item (alias ii) opens a file with its default handler (ShellExecute * on Windows, open/xdg-open on Unix). On an .exe/.ps1/.bat/.cmd this is
src/tools/PowerShellTool/powershellSecurity.ts:822
FunctioncheckManagedSettingsSecurity
(cachedSettings: SettingsJson | null, newSettings: SettingsJson | null)
src/services/remoteManagedSettings/securityCheck.tsx:22
FunctioncheckMemberInvocations
* AST-only check: Detects .NET method invocations which can access system APIs.
src/tools/PowerShellTool/powershellSecurity.ts:776
FunctioncheckModuleLoading
* Module-loading cmdlets execute a .psm1's top-level script body (Import-Module) * or download from arbitrary repositories (Install-Module, Save-Modu
src/tools/PowerShellTool/powershellSecurity.ts:946
FunctioncheckPermissions
(input: PowerShellToolInput, context: Parameters<Tool['checkPermissions']>[1])
src/tools/PowerShellTool/PowerShellTool.tsx:375
FunctioncheckPermissions
(input, context)
src/tools/GlobTool/GlobTool.ts:135
FunctioncheckPermissions
( { skill, args }, context, )
src/tools/SkillTool/SkillTool.ts:432
FunctioncheckPermissions
(input)
src/tools/McpAuthTool/McpAuthTool.ts:82
FunctioncheckPermissions
(input: Input)
src/tools/ConfigTool/ConfigTool.ts:98
FunctioncheckPermissions
(input)
src/tools/SyntheticOutputTool/SyntheticOutputTool.ts:66
FunctioncheckPermissions
(input, context)
src/tools/NotebookEditTool/NotebookEditTool.ts:125
FunctioncheckPermissions
(input, context)
src/tools/FileReadTool/FileReadTool.ts:398
FunctioncheckPermissions
(input)
src/tools/TodoWriteTool/TodoWriteTool.ts:58
FunctioncheckPermissions
(input, context)
src/tools/FileEditTool/FileEditTool.ts:125
FunctioncheckPermissions
(_input)
src/tools/WebSearchTool/WebSearchTool.ts:209
FunctioncheckPermissions
(input)
src/tools/AskUserQuestionTool/AskUserQuestionTool.tsx:182
FunctioncheckPermissions
(input, context)
src/tools/AgentTool/AgentTool.tsx:1281
FunctioncheckPermissions
(input, context)
src/tools/FileWriteTool/FileWriteTool.ts:135
FunctioncheckPermissions
(input, context)
src/tools/BashTool/BashTool.tsx:539
FunctioncheckPermissions
(input, context)
src/tools/WebFetchTool/WebFetchTool.ts:104
FunctioncheckPermissions
(input, context)
src/tools/LSPTool/LSPTool.ts:210
FunctioncheckPermissions
(input, context)
src/tools/GrepTool/GrepTool.ts:233
FunctioncheckPermissions
()
src/tools/testing/TestingPermissionTool.tsx:36
FunctioncheckPermissions
()
src/tools/MCPTool/MCPTool.ts:56
FunctioncheckPermissions
(input, _context)
src/tools/SendMessageTool/SendMessageTool.ts:585
FunctioncheckPermissions
(input, context)
src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts:221
FunctioncheckPermissions
()
src/services/mcp/client.ts:1814
FunctioncheckPwshCommandOrFile
* Checks for PowerShell re-invocation (nested pwsh/powershell process). * * Any PowerShell executable in command position is flagged — not just * -
src/tools/PowerShellTool/powershellSecurity.ts:192
FunctioncheckRuntimeStateManipulation
( parsed: ParsedPowerShellCommand, )
src/tools/PowerShellTool/powershellSecurity.ts:982
FunctioncheckScheduledTask
( parsed: ParsedPowerShellCommand, )
src/tools/PowerShellTool/powershellSecurity.ts:851
FunctioncheckScreenRecording
()
stubs/ant-computer-use-swift/index.ts:199
FunctioncheckScriptBlockInjection
* Checks for script block injection patterns where script blocks * appear in suspicious contexts that could execute arbitrary code. * * Script bloc
src/tools/PowerShellTool/powershellSecurity.ts:663
FunctioncheckSplatting
* AST-only check: Detects splatting (@variable) which can obscure arguments.
src/tools/PowerShellTool/powershellSecurity.ts:746
FunctioncheckStartProcess
* Checks for dangerous Start-Process patterns. * * Two vectors: * 1. `-Verb RunAs` — privilege escalation (UAC prompt). * 2. Launching a PowerShel
src/tools/PowerShellTool/powershellSecurity.ts:550
FunctioncheckStopParsing
* AST-only check: Detects stop-parsing token (--%) which prevents further parsing.
src/tools/PowerShellTool/powershellSecurity.ts:761
FunctioncheckSubExpressions
* AST-only check: Detects subexpressions $() which can hide command execution.
src/tools/PowerShellTool/powershellSecurity.ts:714
FunctioncheckTypeLiterals
* AST-only check: type literals outside Microsoft's ConstrainedLanguage * allowlist. CLM blocks all .NET type access except ~90 primitives/attributes
src/tools/PowerShellTool/powershellSecurity.ts:801
FunctioncheckWmiProcessSpawn
( parsed: ParsedPowerShellCommand, )
src/tools/PowerShellTool/powershellSecurity.ts:1016
FunctionchordToDisplayString
( chord: Chord, platform: DisplayPlatform = 'linux', )
src/keybindings/parser.ts:181
FunctionclampRect
(rect: Rectangle, size: Size)
src/ink/layout/geometry.ts:71
Functioncleanup
()
src/tools/AgentTool/runAgent.ts:197
Functioncleanup
()
src/utils/combinedAbortSignal.ts:40
Functioncleanup
()
src/utils/nativeInstaller/pidLock.ts:310
Methodcleanup
()
src/utils/ShellCommand.ts:368
Methodcleanup
()
src/utils/ShellCommand.ts:434
FunctioncleanupOldResolutions
( teamName?: string, maxAgeMs = 3600000, )
src/utils/swarm/permissionSync.ts:452
FunctioncleanupSessionPluginCache
()
src/utils/plugins/zipCache.ts:146
FunctioncleanupTaskOutput
(taskId: string)
src/utils/task/diskOutput.ts:378
Functionclear
()
src/utils/signal.ts:39
Functionclear
()
src/utils/nativeInstaller/installer.ts:969
Methodclear
()
src/utils/fileStateCache.ts:58
Methodclear
* Clear all items from the buffer.
src/utils/CircularBuffer.ts:72
Methodclear
* Clears all accumulated data
src/utils/stringUtils.ts:194
Methodclear
* Clears the entire cache. Useful for testing or memory management.
src/utils/fileReadCache.ts:73
← previousnext →9,501–9,600 of 11,613, ranked by callers