Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-code
/ functions
Functions
689 in github.com/anthropics/claude-code
⨍
Functions
689
◇
Types & classes
24
Method
__init__
Initialize rule engine.
plugins/hookify/core/rule_engine.py:30
Function
_agentic
()
plugins/security-guidance/hooks/security_reminder_hook.py:865
Function
_check
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:243
Function
_fallback
()
plugins/security-guidance/hooks/security_reminder_hook.py:875
Function
_leg
()
plugins/security-guidance/hooks/llm.py:559
Function
_load
(state)
plugins/security-guidance/hooks/diffstate.py:52
Function
_read_previous
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:1220
Function
_record
(state)
plugins/security-guidance/hooks/diffstate.py:65
Function
_record
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:323
Function
_record_findings
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:1346
Function
_record_fire
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:1896
Function
_restore
(state)
plugins/security-guidance/hooks/diffstate.py:129
Function
_save
(state)
plugins/security-guidance/hooks/diffstate.py:45
Function
_save
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:488
Function
_score
(item)
plugins/security-guidance/hooks/gitutil.py:527
Function
_snap
(state)
plugins/security-guidance/hooks/diffstate.py:89
Function
_sweep
(state)
plugins/security-guidance/hooks/security_reminder_hook.py:339
Function
_tolerant
(data)
plugins/security-guidance/hooks/llm.py:1194
Method
abort
(reason?: unknown)
mods/types/claude-code.d.ts:11385
Function
absoluteOf
(path: string, root: string, home?: string)
mods/agents-md/hooks/frames/absolute-of.ts:13
Method
addEventListener
( type: 'abort', listener: () => void, options?: { once?: boolean }, )
mods/types/claude-code.d.ts:11370
Function
afterFetch
(model: PaneModel, fetched: Fetched)
mods/diff/hooks/pane-state/after-fetch/after-fetch.ts:14
Function
afterNewSession
(model: PaneModel)
mods/diff/hooks/pane-state/after-new-session/after-new-session.ts:11
Function
agentOffered
( agent: string, provider: Origin, )
mods/sec-default/tests/fixtures/agent-offered.ts:11
Function
agentSpawned
(provider: Origin)
mods/sec-default/tests/fixtures/agent-spawned.ts:10
Function
allowing
(name: string, tier?: Plugin['tier'])
mods/sec-default/tests/fixtures/tool-check/allowing.ts:11
Function
analyze_security_concerns
Run a higher-level security concerns analysis on files/diffs. Identifies AREAS OF CONCERN that the main model should investigate. Returns
plugins/security-guidance/hooks/llm.py:1570
Function
ancestorOf
( dir: string, name: string, content: string, )
mods/agents-md/tests/fixtures/ancestor-of.ts:11
Function
areContiguous
(parts: readonly ParsedHunk[])
mods/diff/tests/fixtures/code-blocks-of/are-contiguous.ts:10
Function
armedAskOf
(path: string, hunks: readonly Git.Hunk[])
mods/diff/hooks/ask/armed-ask-of.ts:16
Function
asking
(name: string)
mods/sec-default/tests/fixtures/tool-check/asking.ts:10
Function
atomic_check_counter
Atomically check if a counter has reached its limit and increment if not. Returns True if the counter is below max_count (should proceed),
plugins/security-guidance/hooks/security_reminder_hook.py:253
Function
backendOf
( host: BackendHost, probes: Iterable<BackendProbe>, )
mods/diff/hooks/backend/backend-of.ts:17
Function
baseModeOf
(value: unknown)
mods/diff/hooks/pane-state/base-mode-of/base-mode-of.ts:9
Function
baseStoreKeyOf
(toplevel: string)
mods/diff/hooks/names/keys/base-store-key-of.ts:8
Function
batchOf
( rows: readonly Batching.PendingRow[], stamp: BatchStamp, )
mods/telemetry/hooks/entries/batch-of.ts:14
Function
bigBodyOf
()
mods/diff/tests/fixtures/pane-view/big-body-of.ts:11
Function
bodiesOf
( body: Git.FileHunks, ...paths: readonly string[] )
mods/diff/tests/fixtures/pane-view/bodies-of.ts:11
Function
bodyEntryOf
( file: Git.FileStat, model: Pick<PaneState.PaneModel, 'bodies'>, )
mods/diff/hooks/views/entries/body-entry-of/body-entry-of.ts:13
Function
bodyLayoutOf
( model: PaneState.PaneModel, plan: DockPlan, )
mods/diff/hooks/views/body/plan/body-layout-of.ts:18
Function
bodyScrolledBy
( model: PaneState.PaneModel, scroll: Pick<UiScrollInput, 'by' | 'bodyRows' | 'contentRows'>, )
mods/diff/hooks/views/body/body-scrolled-by.ts:18
Function
branchBaseOf
( run: Types.GitRun, )
mods/diff/hooks/git/probes/branch-base-of/branch-base-of.ts:19
Function
branchTier
( context: Types.FetchContext, )
mods/diff/hooks/git/tiers/branch-tier.ts:19
Function
build_investigate_prompt
( touched_paths: list[str], diff_files: list[tuple[str, str]], *, context_note: str = "", )
plugins/security-guidance/hooks/review_api.py:156
Function
build_refute_prompt
(candidates: list[dict[str, Any]], diff_text: str)
plugins/security-guidance/hooks/review_api.py:210
Function
caught
(e: E, next: ((e: E) => R) & Caught)
mods/telemetry/hooks/gate/caught/caught.ts:13
Function
caughtAnswer
( last: EventResult<'tool.check'> | undefined, trace: readonly TraceEntry<'tool.check'>[], )
mods/sec-default/hooks/held-verdict/caught-answer.ts:16
Function
checkedFields
(entry: unknown)
mods/telemetry/hooks/entries/checked-fields.ts:18
Function
checkedMark
(entry: unknown)
mods/telemetry/hooks/entries/checked-mark.ts:19
Function
checksAnswered
(on: On, verdict: EventResult<'tool.check'>)
mods/sec-default/tests/fixtures/tool-check/checks-answered.ts:11
Function
codesIn
(node: RenderNode)
mods/diff/tests/fixtures/tree/codes-in.ts:10
Function
commandDescribed
( command: string, provider: Origin, )
mods/sec-default/tests/fixtures/command-described.ts:11
Function
configDetailOf
(isUntracked: boolean)
mods/diff/tests/fixtures/pane-view/config-detail-of.ts:11
Function
contextOf
( deps: TelemetryDeps, isInteractive: boolean, )
mods/telemetry/hooks/context/context-of.ts:18
Function
createPolicyMemo
( ttlMs: number, now: () => number = Date.now, )
mods/sec-default/hooks/policy/create-policy-memo/create-policy-memo.ts:11
Function
decidedByPolicy
( policy: Promise<Settings>, decide: (policy: Settings) => boolean, )
mods/sec-default/hooks/policy/decided-by-policy.ts:12
Function
denyRulesHold
(policy: Settings)
mods/sec-default/hooks/policy/deny-rules-hold.ts:15
Function
deploymentOf
( signals: readonly DeploymentSignal[], platform: string, )
mods/telemetry/hooks/deployment/deployment-of.ts:12
Function
detailModelOf
( entry: BodyEntry, model: Pick<PaneState.PaneModel, 'armedPath' | 'words'>, )
mods/diff/hooks/views/entries/detail-model-of/detail-model-of.ts:13
Function
detailView
( kit: Kit, detail: DetailModel, room: Types.BodyRoom, )
mods/diff/hooks/views/detail/detail-view.tsx:27
Function
dialogFileRow
( kit: Kit, row: FileRowModel, onPress: () => void, )
mods/diff/hooks/views/sections/dialog-file-row/dialog-file-row.tsx:23
Function
dialogFocusOf
( model: PaneState.PaneModel, element: string | undefined, )
mods/diff/hooks/views/dialog-pane/dialog-focus-of.ts:20
Function
dialogRowsOf
(model: PaneState.PaneModel)
mods/diff/hooks/views/dialog-pane/dialog-rows-of.ts:17
Function
dialogTitleOf
(model: PaneModel)
mods/diff/hooks/pane-state/dialog-title-of.ts:16
Function
diffAt
(columns: number)
mods/diff/tests/fixtures/diff-at.ts:12
Function
dimNote
(kit: Kit, text: string)
mods/diff/hooks/views/sections/dim-note/dim-note.tsx:15
Function
dirtyPathsOf
( run: Types.GitRun, )
mods/diff/hooks/git/probes/dirty-paths-of/dirty-paths-of.ts:17
Function
displayPathOf
( file: Pick<Types.FileStat, 'path' | 'renamedFrom'>, )
mods/diff/hooks/git/display-path-of/display-path-of.ts:11
Function
divider
(kit: Kit)
mods/diff/hooks/views/sections/divider.tsx:15
Function
dockPlanOf
(model: PaneState.PaneModel)
mods/diff/hooks/views/body/plan/dock-plan-of.ts:18
Function
dockedPane
( $: Engine, on: On, model: PaneState.PaneModel, )
mods/diff/tests/fixtures/pane-view/docked-pane.ts:16
Function
drawWindow
( kit: Kit, layout: BodyLayout, top: number, )
mods/diff/hooks/views/body/draw-window.tsx:27
Function
drawnLineOf
(line: string)
mods/diff/hooks/views/detail/code-blocks-of/drawn-line-of/drawn-line-of.ts:13
Function
editsOf
(...results: unknown[])
mods/diff/tests/fixtures/turn-diffs-of/edits-of.ts:10
Function
elementIn
( tree: unknown, wanted: ElementQuery, )
mods/diff/tests/fixtures/tree/element-in.ts:11
Function
emptyStateOf
( model: Pick<PaneModel, 'data' | 'words'>, filesCount: number, )
mods/diff/hooks/pane-state/empty-state-of.ts:17
Function
entryOf
(file: Parameters<typeof Entries.bodyEntryOf>[0])
mods/diff/hooks/views/body/plan/dock-plan-of.ts:40
Function
eventNameOf
(row: unknown)
mods/telemetry/tests/fixtures/wire/event-name-of.ts:8
Function
extract_file_paths_from_diff
Extract file paths from unified diff output (without content). Only includes files with source code extensions. Returns a list of file pa
plugins/security-guidance/hooks/gitutil.py:587
Function
failing
()
mods/sec-default/tests/policy/create-policy-memo.test.ts:62
Function
failingNext
(isCalled: boolean)
mods/telemetry/tests/fixtures/gate/failing-next.ts:8
Function
fetchContextOf
( deps: Types.GitDeps, mode: Types.BaseMode, )
mods/diff/hooks/git/tiers/fetch-context-of/fetch-context-of.ts:13
Function
fileKeyOf
(entry: Pick<BodyEntry, 'path'>)
mods/diff/hooks/views/sections/file-key-of/file-key-of.ts:10
Function
fileRow
( kit: Kit, row: FileRowModel, onPress: () => void, )
mods/diff/hooks/views/sections/file-row/file-row.ts:23
Function
filesChanged
(count: number)
mods/diff/tests/fixtures/scripted/files-changed.ts:9
Function
filesOf
(found: readonly FsAncestor[])
mods/agents-md/hooks/files/files-of.ts:12
Function
filter_by_severity
Medium-included is the validated default; the model's investigate-stage severity is conservative and dropping mediums before self-refute filters
plugins/security-guidance/hooks/review_api.py:350
Function
firstPartySession
( on: On, options: SessionOptions = {}, )
mods/telemetry/tests/fixtures/first-party-session.ts:26
Function
fittedAskTextOf
( text: string, room: number, )
mods/diff/hooks/ask/fitted-ask-text-of.ts:11
Method
forEach
(callback: (value: string, key: string) => void)
mods/types/claude-code.d.ts:11409
Function
format_findings
Render findings as the same text block the CC plugin emits to Claude.
plugins/security-guidance/hooks/review_api.py:368
Method
from_dict
Create Condition from dict.
plugins/hookify/core/config_loader.py:23
Method
getAll
(name: string)
mods/types/claude-code.d.ts:11405
Function
gitBackendOf
( host: Backend.BackendHost, )
mods/diff/hooks/git/git-backend-of.ts:23
Function
gitHostOf
()
mods/diff/tests/fixtures/backend-of/git-host-of.ts:12
Function
gitWordOf
(argv: readonly string[])
mods/diff/tests/fixtures/git-word-of.ts:12
Function
guidance_block
The wrapped <project-security-guidance> block, or empty string.
plugins/security-guidance/hooks/extensibility.py:79
Function
handedTo
( trace: readonly TraceEntry<'tool.check'>[], at: number, )
mods/sec-default/hooks/held-verdict/verdicts/ranking/handed-to.ts:14
Function
hasMcpAllowlist
(policy: Settings)
mods/sec-default/hooks/policy/has-mcp-allowlist.ts:10
Function
headKeyOf
( deps: Types.HeadKeyDeps, repository: Types.Repository, )
mods/diff/hooks/git/probes/head-key-of/head-key-of.ts:20
← previous
next →
401–500 of 689, ranked by callers