MCPcopy Create free account

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

Functions689 in github.com/anthropics/claude-code

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
Methodabort
(reason?: unknown)
mods/types/claude-code.d.ts:11385
FunctionabsoluteOf
(path: string, root: string, home?: string)
mods/agents-md/hooks/frames/absolute-of.ts:13
MethodaddEventListener
( type: 'abort', listener: () => void, options?: { once?: boolean }, )
mods/types/claude-code.d.ts:11370
FunctionafterFetch
(model: PaneModel, fetched: Fetched)
mods/diff/hooks/pane-state/after-fetch/after-fetch.ts:14
FunctionafterNewSession
(model: PaneModel)
mods/diff/hooks/pane-state/after-new-session/after-new-session.ts:11
FunctionagentOffered
( agent: string, provider: Origin, )
mods/sec-default/tests/fixtures/agent-offered.ts:11
FunctionagentSpawned
(provider: Origin)
mods/sec-default/tests/fixtures/agent-spawned.ts:10
Functionallowing
(name: string, tier?: Plugin['tier'])
mods/sec-default/tests/fixtures/tool-check/allowing.ts:11
Functionanalyze_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
FunctionancestorOf
( dir: string, name: string, content: string, )
mods/agents-md/tests/fixtures/ancestor-of.ts:11
FunctionareContiguous
(parts: readonly ParsedHunk[])
mods/diff/tests/fixtures/code-blocks-of/are-contiguous.ts:10
FunctionarmedAskOf
(path: string, hunks: readonly Git.Hunk[])
mods/diff/hooks/ask/armed-ask-of.ts:16
Functionasking
(name: string)
mods/sec-default/tests/fixtures/tool-check/asking.ts:10
Functionatomic_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
FunctionbackendOf
( host: BackendHost, probes: Iterable<BackendProbe>, )
mods/diff/hooks/backend/backend-of.ts:17
FunctionbaseModeOf
(value: unknown)
mods/diff/hooks/pane-state/base-mode-of/base-mode-of.ts:9
FunctionbaseStoreKeyOf
(toplevel: string)
mods/diff/hooks/names/keys/base-store-key-of.ts:8
FunctionbatchOf
( rows: readonly Batching.PendingRow[], stamp: BatchStamp, )
mods/telemetry/hooks/entries/batch-of.ts:14
FunctionbigBodyOf
()
mods/diff/tests/fixtures/pane-view/big-body-of.ts:11
FunctionbodiesOf
( body: Git.FileHunks, ...paths: readonly string[] )
mods/diff/tests/fixtures/pane-view/bodies-of.ts:11
FunctionbodyEntryOf
( file: Git.FileStat, model: Pick<PaneState.PaneModel, 'bodies'>, )
mods/diff/hooks/views/entries/body-entry-of/body-entry-of.ts:13
FunctionbodyLayoutOf
( model: PaneState.PaneModel, plan: DockPlan, )
mods/diff/hooks/views/body/plan/body-layout-of.ts:18
FunctionbodyScrolledBy
( model: PaneState.PaneModel, scroll: Pick<UiScrollInput, 'by' | 'bodyRows' | 'contentRows'>, )
mods/diff/hooks/views/body/body-scrolled-by.ts:18
FunctionbranchBaseOf
( run: Types.GitRun, )
mods/diff/hooks/git/probes/branch-base-of/branch-base-of.ts:19
FunctionbranchTier
( context: Types.FetchContext, )
mods/diff/hooks/git/tiers/branch-tier.ts:19
Functionbuild_investigate_prompt
( touched_paths: list[str], diff_files: list[tuple[str, str]], *, context_note: str = "", )
plugins/security-guidance/hooks/review_api.py:156
Functionbuild_refute_prompt
(candidates: list[dict[str, Any]], diff_text: str)
plugins/security-guidance/hooks/review_api.py:210
Functioncaught
(e: E, next: ((e: E) => R) & Caught)
mods/telemetry/hooks/gate/caught/caught.ts:13
FunctioncaughtAnswer
( last: EventResult<'tool.check'> | undefined, trace: readonly TraceEntry<'tool.check'>[], )
mods/sec-default/hooks/held-verdict/caught-answer.ts:16
FunctioncheckedFields
(entry: unknown)
mods/telemetry/hooks/entries/checked-fields.ts:18
FunctioncheckedMark
(entry: unknown)
mods/telemetry/hooks/entries/checked-mark.ts:19
FunctionchecksAnswered
(on: On, verdict: EventResult<'tool.check'>)
mods/sec-default/tests/fixtures/tool-check/checks-answered.ts:11
FunctioncodesIn
(node: RenderNode)
mods/diff/tests/fixtures/tree/codes-in.ts:10
FunctioncommandDescribed
( command: string, provider: Origin, )
mods/sec-default/tests/fixtures/command-described.ts:11
FunctionconfigDetailOf
(isUntracked: boolean)
mods/diff/tests/fixtures/pane-view/config-detail-of.ts:11
FunctioncontextOf
( deps: TelemetryDeps, isInteractive: boolean, )
mods/telemetry/hooks/context/context-of.ts:18
FunctioncreatePolicyMemo
( ttlMs: number, now: () => number = Date.now, )
mods/sec-default/hooks/policy/create-policy-memo/create-policy-memo.ts:11
FunctiondecidedByPolicy
( policy: Promise<Settings>, decide: (policy: Settings) => boolean, )
mods/sec-default/hooks/policy/decided-by-policy.ts:12
FunctiondenyRulesHold
(policy: Settings)
mods/sec-default/hooks/policy/deny-rules-hold.ts:15
FunctiondeploymentOf
( signals: readonly DeploymentSignal[], platform: string, )
mods/telemetry/hooks/deployment/deployment-of.ts:12
FunctiondetailModelOf
( entry: BodyEntry, model: Pick<PaneState.PaneModel, 'armedPath' | 'words'>, )
mods/diff/hooks/views/entries/detail-model-of/detail-model-of.ts:13
FunctiondetailView
( kit: Kit, detail: DetailModel, room: Types.BodyRoom, )
mods/diff/hooks/views/detail/detail-view.tsx:27
FunctiondialogFileRow
( kit: Kit, row: FileRowModel, onPress: () => void, )
mods/diff/hooks/views/sections/dialog-file-row/dialog-file-row.tsx:23
FunctiondialogFocusOf
( model: PaneState.PaneModel, element: string | undefined, )
mods/diff/hooks/views/dialog-pane/dialog-focus-of.ts:20
FunctiondialogRowsOf
(model: PaneState.PaneModel)
mods/diff/hooks/views/dialog-pane/dialog-rows-of.ts:17
FunctiondialogTitleOf
(model: PaneModel)
mods/diff/hooks/pane-state/dialog-title-of.ts:16
FunctiondiffAt
(columns: number)
mods/diff/tests/fixtures/diff-at.ts:12
FunctiondimNote
(kit: Kit, text: string)
mods/diff/hooks/views/sections/dim-note/dim-note.tsx:15
FunctiondirtyPathsOf
( run: Types.GitRun, )
mods/diff/hooks/git/probes/dirty-paths-of/dirty-paths-of.ts:17
FunctiondisplayPathOf
( file: Pick<Types.FileStat, 'path' | 'renamedFrom'>, )
mods/diff/hooks/git/display-path-of/display-path-of.ts:11
Functiondivider
(kit: Kit)
mods/diff/hooks/views/sections/divider.tsx:15
FunctiondockPlanOf
(model: PaneState.PaneModel)
mods/diff/hooks/views/body/plan/dock-plan-of.ts:18
FunctiondockedPane
( $: Engine, on: On, model: PaneState.PaneModel, )
mods/diff/tests/fixtures/pane-view/docked-pane.ts:16
FunctiondrawWindow
( kit: Kit, layout: BodyLayout, top: number, )
mods/diff/hooks/views/body/draw-window.tsx:27
FunctiondrawnLineOf
(line: string)
mods/diff/hooks/views/detail/code-blocks-of/drawn-line-of/drawn-line-of.ts:13
FunctioneditsOf
(...results: unknown[])
mods/diff/tests/fixtures/turn-diffs-of/edits-of.ts:10
FunctionelementIn
( tree: unknown, wanted: ElementQuery, )
mods/diff/tests/fixtures/tree/element-in.ts:11
FunctionemptyStateOf
( model: Pick<PaneModel, 'data' | 'words'>, filesCount: number, )
mods/diff/hooks/pane-state/empty-state-of.ts:17
FunctionentryOf
(file: Parameters<typeof Entries.bodyEntryOf>[0])
mods/diff/hooks/views/body/plan/dock-plan-of.ts:40
FunctioneventNameOf
(row: unknown)
mods/telemetry/tests/fixtures/wire/event-name-of.ts:8
Functionextract_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
Functionfailing
()
mods/sec-default/tests/policy/create-policy-memo.test.ts:62
FunctionfailingNext
(isCalled: boolean)
mods/telemetry/tests/fixtures/gate/failing-next.ts:8
FunctionfetchContextOf
( deps: Types.GitDeps, mode: Types.BaseMode, )
mods/diff/hooks/git/tiers/fetch-context-of/fetch-context-of.ts:13
FunctionfileKeyOf
(entry: Pick<BodyEntry, 'path'>)
mods/diff/hooks/views/sections/file-key-of/file-key-of.ts:10
FunctionfileRow
( kit: Kit, row: FileRowModel, onPress: () => void, )
mods/diff/hooks/views/sections/file-row/file-row.ts:23
FunctionfilesChanged
(count: number)
mods/diff/tests/fixtures/scripted/files-changed.ts:9
FunctionfilesOf
(found: readonly FsAncestor[])
mods/agents-md/hooks/files/files-of.ts:12
Functionfilter_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
FunctionfirstPartySession
( on: On, options: SessionOptions = {}, )
mods/telemetry/tests/fixtures/first-party-session.ts:26
FunctionfittedAskTextOf
( text: string, room: number, )
mods/diff/hooks/ask/fitted-ask-text-of.ts:11
MethodforEach
(callback: (value: string, key: string) => void)
mods/types/claude-code.d.ts:11409
Functionformat_findings
Render findings as the same text block the CC plugin emits to Claude.
plugins/security-guidance/hooks/review_api.py:368
Methodfrom_dict
Create Condition from dict.
plugins/hookify/core/config_loader.py:23
MethodgetAll
(name: string)
mods/types/claude-code.d.ts:11405
FunctiongitBackendOf
( host: Backend.BackendHost, )
mods/diff/hooks/git/git-backend-of.ts:23
FunctiongitHostOf
()
mods/diff/tests/fixtures/backend-of/git-host-of.ts:12
FunctiongitWordOf
(argv: readonly string[])
mods/diff/tests/fixtures/git-word-of.ts:12
Functionguidance_block
The wrapped <project-security-guidance> block, or empty string.
plugins/security-guidance/hooks/extensibility.py:79
FunctionhandedTo
( trace: readonly TraceEntry<'tool.check'>[], at: number, )
mods/sec-default/hooks/held-verdict/verdicts/ranking/handed-to.ts:14
FunctionhasMcpAllowlist
(policy: Settings)
mods/sec-default/hooks/policy/has-mcp-allowlist.ts:10
FunctionheadKeyOf
( deps: Types.HeadKeyDeps, repository: Types.Repository, )
mods/diff/hooks/git/probes/head-key-of/head-key-of.ts:20
← previousnext →401–500 of 689, ranked by callers