MCPcopy Create free account

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

Functions349 in github.com/anthropics/claude-code

↓ 1 callersFunctionmain
()
examples/hooks/bash_command_validator_example.py:56
↓ 1 callersFunctionmarkFieldsOf
( kind: TelemetryTypes.MarkKind, feature: string, reason?: string, )
mods/telemetry/hooks/entries/mark-fields-of/mark-fields-of.ts:14
↓ 1 callersFunctionmarkStale
(owner: string, repo: string)
scripts/sweep.ts:45
↓ 1 callersFunctionmaxRowsOf
(rows: readonly Types.Row[], cells: BodyCells)
mods/diff/hooks/views/detail/max-rows-of/max-rows-of.ts:24
↓ 1 callersFunctionmergeBaseCandidatesOf
( run: Types.GitRun, defaultBranch: string, )
mods/diff/hooks/git/probes/merge-base-candidates-of/merge-base-candidates-of.ts:17
↓ 1 callersFunctionmergedWithUntracked
( result: Types.NumstatResult, untracked: readonly Types.FileStat[] | null, )
mods/diff/hooks/git/tiers/with-untracked/merged-with-untracked/merged-with-untracked.ts:15
↓ 1 callersFunctionmessageOf
(error: unknown)
mods/diff/hooks/message-of/message-of.ts:8
↓ 1 callersFunctionmissingBaseOf
( run: Types.GitRun, defaultBranch: string, )
mods/diff/hooks/git/probes/missing-base-of/missing-base-of.ts:15
↓ 1 callersFunctionmodeLabelOf
( requested: Git.BaseMode, source: Git.DiffSource, phase: 'pending' | 'settled', words: Pick<Backend.B
mods/diff/hooks/pane-state/mode-label-of/mode-label-of.ts:16
↓ 1 callersFunctionmtimeOf
(engine: Host)
mods/diff/hooks/mtime-of/mtime-of.ts:11
↓ 1 callersFunctionnameOf
(path: string)
mods/diff/hooks/views/detail/detail-view.tsx:45
↓ 1 callersFunctionnoteOf
(text: string | null)
mods/diff/hooks/views/current-pane/current-pane.tsx:64
↓ 1 callersFunctionopenOnFirstEdit
(engine: Host)
mods/diff/hooks/register.ts:292
↓ 1 callersFunctionorgServerNames
(policy: Settings)
mods/sec-default/hooks/policy/managed-tools-restored/is-org-tool/org-server-names/org-server-names.ts:13
↓ 1 callersFunctionpastUsers
( e: E, next: Provided.ProvidedNext<E, R>, )
mods/sec-default/hooks/past-users/past-users.ts:16
↓ 1 callersFunctionplaceholderOf
(detail: DetailModel)
mods/diff/hooks/views/detail/placeholder-of/placeholder-of.ts:15
↓ 1 callersFunctionplain
(text: string)
mods/diff/hooks/views/detail/hunk-body/hunk-body.tsx:67
↓ 1 callersFunctionpost
( fields: Entries.Fields, method: TelemetryTypes.Method, )
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:20
↓ 1 callersFunctionpresent
( children: readonly (RenderElement | null)[], )
mods/diff/hooks/views/sections/present/present.ts:10
↓ 1 callersFunctionqueued
( fields: Entries.Fields, method: TelemetryTypes.Method, )
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:59
↓ 1 callersFunctionreadHeadKey
()
mods/diff/hooks/register.ts:165
↓ 1 callersFunctionrecord_pending_warnings
Mark file:rule pairs as pending for the Stop-hook outcome sweep.
plugins/security-guidance/hooks/security_reminder_hook.py:321
↓ 1 callersFunctionrecord_touched_path
Append a file path to the touched_paths list (deduped, capped at 200). Stop is the consumer and clears under the same lock it reads with; UPS
plugins/security-guidance/hooks/diffstate.py:57
↓ 1 callersFunctionrowOf
(file: Git.FileStat)
mods/diff/hooks/views/current-pane/current-pane.tsx:60
↓ 1 callersFunctionrowsOf
( lines: readonly Types.DiffLine[], cells: number, )
mods/diff/hooks/views/detail/rows-of/rows-of.ts:19
↓ 1 callersFunctionrunChildren
(run: Types.Run)
mods/diff/hooks/views/detail/hunk-body/hunk-body.tsx:56
↓ 1 callersFunctionrunOf
(pinned: Types.Repository | null)
mods/diff/hooks/git/git-backend-of.ts:25
↓ 1 callersFunctionrunsOf
(rows: readonly Types.Row[])
mods/diff/hooks/views/detail/runs-of/runs-of.ts:9
↓ 1 callersFunctionsafely
(send: () => Promise<void>)
mods/diff/hooks/record/safely/safely.ts:7
↓ 1 callersFunctionsanitizeLine
(text: string)
mods/diff/hooks/views/layout/sanitize-line/sanitize-line.ts:14
↓ 1 callersFunctionsave_state
Save the full state dict to file.
plugins/security-guidance/hooks/session_state.py:104
↓ 1 callersFunctionsegmentsOf
(line: Types.DiffLine)
mods/diff/hooks/views/detail/rows-of/segments-of/segments-of.ts:12
↓ 1 callersFunctionselectedOf
()
mods/diff/hooks/register.ts:122
↓ 1 callersFunctionsliceCells
(text: string, cells: number)
mods/diff/hooks/views/layout/slice-cells/slice-cells.ts:16
↓ 1 callersFunctionstampProbeOf
( deps: Pick<Types.GitDeps, 'entryKindsOf' | 'mtimeOf'>, base: string, budget: number, )
mods/diff/hooks/git/probes/stamp-probe-of/stamp-probe-of.ts:13
↓ 1 callersFunctionstartPoll
(engine: Host, pinned: Backend.Backend)
mods/diff/hooks/register.ts:164
↓ 1 callersFunctionsweep_pending_warnings
Stop-hook final sweep. Re-read every file in pending_warnings, re-check patterns, and return (fixed, unresolved, unresolved_mask). Clears sta
plugins/security-guidance/hooks/security_reminder_hook.py:332
↓ 1 callersFunctiontelemetryOf
(deps: TelemetryDeps)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:17
↓ 1 callersFunctiontokensOf
(text: string)
mods/diff/hooks/word-diff/tokens-of/tokens-of.ts:8
↓ 1 callersFunctiontriggerDedupeWorkflow
( owner: string, repo: string, issueNumber: number, token: string, dryRun: boolean = true )
scripts/backfill-duplicate-comments.ts:47
↓ 1 callersFunctionturnPane
( kit: Kit, model: PaneState.PaneModel, turn: Turns.TurnDiff, )
mods/diff/hooks/views/turn-pane/turn-pane.tsx:22
↓ 1 callersFunctionuntrackedRowsOf
( context: Types.DatingContext, paths: readonly string[], place: UntrackedPlace, )
mods/diff/hooks/git/probes/untracked-rows-of/untracked-rows-of.ts:19
↓ 1 callersFunctionviaGit
()
mods/diff/hooks/git/probes/head-key-of/head-key-of.ts:34
↓ 1 callersFunctionwasDrawnWhenProbed
(engine: Host)
mods/diff/hooks/register.ts:284
↓ 1 callersFunctionwordDiff
(removed: string, added: string)
mods/diff/hooks/word-diff/word-diff.ts:17
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
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
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
FunctionarmedAskOf
(path: string, hunks: readonly Git.Hunk[])
mods/diff/hooks/ask/armed-ask-of.ts:16
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:16
FunctionbaseLabelOf
( requested: Git.BaseMode, data: Git.DiffData | null, filesCount: number, words: Pick<Backend.BackendW
mods/diff/hooks/pane-state/base-label-of.ts:19
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
(fields: Fields, session: RowSession)
mods/telemetry/hooks/entries/batch-of.ts:16
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
FunctioncheckedFields
(entry: unknown)
mods/telemetry/hooks/entries/checked-fields.ts:19
FunctioncheckedMark
(entry: unknown)
mods/telemetry/hooks/entries/checked-mark.ts:15
FunctioncontrolsView
( kit: Kit, model: Pick< PaneState.PaneModel, 'source' | 'requestedMode' | 'turns' | 'baseModes' |
mods/diff/hooks/views/sections/controls-view.tsx:23
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
FunctiondetailView
( kit: Kit, detail: DetailModel, onToggleAsk: () => void, )
mods/diff/hooks/views/detail/detail-view.tsx:30
FunctiondimNote
(kit: Kit, text: string)
mods/diff/hooks/views/sections/dim-note/dim-note.tsx:15
Functiondivider
(kit: Kit)
mods/diff/hooks/views/sections/divider.tsx:14
FunctionemptyStateOf
( data: Git.DiffData | null, filesCount: number, words: Backend.BackendWords, )
mods/diff/hooks/pane-state/empty-state-of.ts:19
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
FunctionfetchContextOf
( deps: Types.GitDeps, mode: Types.BaseMode, )
mods/diff/hooks/git/tiers/fetch-context-of/fetch-context-of.ts:13
FunctionfileKeyOf
(path: string)
mods/diff/hooks/views/sections/file-key-of/file-key-of.ts:9
FunctionfileRow
( kit: Kit, row: FileRowModel, onPress: () => void, )
mods/diff/hooks/views/sections/file-row/file-row.tsx:24
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
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
FunctiongitBackendOf
( host: Backend.BackendHost, )
mods/diff/hooks/git/git-backend-of.ts:21
Functionguidance_block
The wrapped <project-security-guidance> block, or empty string.
plugins/security-guidance/hooks/extensibility.py:79
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
FunctionheaderTotalsOf
( data: Git.DiffData, partition: Partition, )
mods/diff/hooks/pane-state/header-totals-of.ts:16
FunctionheaderView
( kit: Kit, headline: string | null, totals: PaneState.HeaderTotals, )
mods/diff/hooks/views/sections/header-view.tsx:23
Functionholds
([low, high]: readonly [number, number])
mods/diff/hooks/views/layout/cell-width/cell-width.ts:20
← previousnext →201–300 of 349, ranked by callers