MCPcopy Create free account

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

Functions689 in github.com/anthropics/claude-code

↓ 1 callersFunctionleft
()
mods/diff/hooks/views/detail/code-blocks-of/code-blocks-of.ts:31
↓ 1 callersFunctionlinesOf
(body: Git.FileHunks | null | undefined)
mods/diff/tests/git/fetch-hunks.test.ts:55
↓ 1 callersFunctionlinesOf
(body: Git.FileHunks | undefined)
mods/diff/tests/git/parse/parse-file-diffs.test.ts:11
↓ 1 callersFunctionlinuxDistroOf
( readOsRelease: () => Promise<string>, )
mods/telemetry/hooks/context/linux-distro-of/linux-distro-of.ts:11
↓ 1 callersFunctionlinuxFilesOf
( deps: TelemetryDeps, isLinux: boolean, )
mods/telemetry/hooks/context/probe-of/linux-files-of/linux-files-of.ts:14
↓ 1 callersFunctionlistOf
()
mods/diff/hooks/views/sidebar-pane/sidebar-pane.tsx:82
↓ 1 callersFunctionlistingOf
(directory: string)
mods/diff/hooks/git/probes/kind-walk-of/kind-walk-of.ts:26
↓ 1 callersFunctionload_baseline_sha
Load the git baseline SHA from state.
plugins/security-guidance/hooks/diffstate.py:50
↓ 1 callersFunctionload_rule_file
Load a single rule file. Returns: Rule object or None if file is invalid.
plugins/hookify/core/config_loader.py:244
↓ 1 callersFunctionload_state
Load the full state dict from file.
plugins/security-guidance/hooks/session_state.py:88
↓ 1 callersFunctionloadingOf
()
mods/diff/hooks/views/prelude-of/prelude-of.tsx:36
↓ 1 callersFunctionmain
Run the bootstrap. Returns (outcome, err_phase, err_kind). err_phase / err_kind are non-empty only on BUILD_FAILED — they let telemetry split
plugins/security-guidance/hooks/ensure_agent_sdk.py:57
↓ 1 callersFunctionmain
Main hook function.
plugins/security-guidance/hooks/security_reminder_hook.py:2019
↓ 1 callersFunctionmain
Main entry point for PostToolUse hook.
plugins/hookify/hooks/posttooluse.py:30
↓ 1 callersFunctionmain
Main entry point for PreToolUse hook.
plugins/hookify/hooks/pretooluse.py:35
↓ 1 callersFunctionmain
Main entry point for UserPromptSubmit hook.
plugins/hookify/hooks/userpromptsubmit.py:30
↓ 1 callersFunctionmain
Main entry point for Stop hook.
plugins/hookify/hooks/stop.py:30
↓ 1 callersFunctionmain
()
examples/hooks/bash_command_validator_example.py:56
↓ 1 callersFunctionmanagedModsOnlyRefusal
(name: string)
mods/sec-default/hooks/managed-mods-only-refusal/managed-mods-only-refusal.ts:8
↓ 1 callersFunctionmarkFieldsOf
({ kind, feature, reason, props, }: Mark)
mods/telemetry/hooks/entries/mark-fields-of/mark-fields-of.ts:17
↓ 1 callersFunctionmarkStale
(owner: string, repo: string)
scripts/sweep.ts:45
↓ 1 callersFunctionmarkTabSwitch
(engine: Host, tab: (typeof Record.TABS)[number])
mods/diff/hooks/register.ts:472
↓ 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
()
mods/diff/hooks/views/body/plan/segments/segments-of.ts:106
↓ 1 callersFunctionmetadataOf
( row: Batching.PendingRow, remoteHash: string | undefined, )
mods/telemetry/hooks/entries/event-data-of/metadata-of/metadata-of.ts:11
↓ 1 callersFunctionmiddleOf
(path: string)
mods/diff/hooks/git/rename-display-of/rename-display-of.ts:45
↓ 1 callersFunctionmissingBaseOf
( run: Types.GitRun, defaultBranch: string, )
mods/diff/hooks/git/probes/missing-base-of/missing-base-of.ts:15
↓ 1 callersFunctionmodsPolicyOf
(value: boolean | number | string)
mods/sec-default/tests/fixtures/mods-policy-of.ts:10
↓ 1 callersFunctionmoreOf
(way: 'up' | 'down', count: number)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:98
↓ 1 callersFunctionmtimeOf
(engine: Host)
mods/diff/hooks/mtime-of/mtime-of.ts:11
↓ 1 callersFunctionnameOf
()
mods/diff/hooks/pane-state/mode-label-of/mode-label-of.ts:28
↓ 1 callersFunctionnoopActionsOf
()
mods/diff/tests/fixtures/pane-view/noop-actions-of.ts:9
↓ 1 callersFunctionnormalizedRemoteOf
(remote: string)
mods/telemetry/hooks/context/remote-hash-of/normalized-remote-of/normalized-remote-of.ts:11
↓ 1 callersFunctionnoteOf
(entry: Entries.BodyEntry)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:80
↓ 1 callersFunctiononFeature
()
mods/diff/tests/git/probes/branch-base-of.test.ts:14
↓ 1 callersFunctiononFeatureNoUntrackedOf
()
mods/diff/tests/git/fetch-diff.test.ts:61
↓ 1 callersFunctionopenOnRestore
(engine: Host)
mods/diff/hooks/register.ts:519
↓ 1 callersFunctionopenedOf
()
mods/diff/hooks/views/body/plan/segments/segments-of.ts:123
↓ 1 callersFunctionorgServerNames
(policy: Settings)
mods/sec-default/hooks/policy/managed-tools-restored/is-org-tool/org-server-names/org-server-names.ts:13
↓ 1 callersFunctionosReleaseValue
(content: string, key: 'ID' | 'VERSION_ID')
mods/telemetry/hooks/context/linux-distro-of/os-release-value/os-release-value.ts:9
↓ 1 callersFunctionpagedEdgeOf
(way: 'up' | 'down', count: number)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:105
↓ 1 callersFunctionparseFileDiff
(stdout: string)
mods/diff/hooks/git/parse/parse-file-diff.ts:19
↓ 1 callersFunctionpastUsers
( e: E, next: Provided.ProvidedNext<E, R>, )
mods/sec-default/hooks/past-users/past-users.ts:16
↓ 1 callersFunctionpickedTurnOf
(model: PaneModel)
mods/diff/hooks/pane-state/picked-turn-of/picked-turn-of.ts:11
↓ 1 callersFunctionplaceholderOf
(detail: DetailModel)
mods/diff/hooks/views/detail/placeholder-of/placeholder-of.ts:15
↓ 1 callersFunctionplausibleUuid
(value: unknown)
mods/telemetry/hooks/context/identity/plausible-uuid/plausible-uuid.ts:11
↓ 1 callersFunctionpost
(body: string, auth: string)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:72
↓ 1 callersFunctionpostedWithRetry
( body: string, auth: string, )
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:83
↓ 1 callersFunctionpresent
( children: readonly (RenderElement | null)[], )
mods/diff/hooks/views/sections/present/present.ts:12
↓ 1 callersFunctionprimed
()
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:64
↓ 1 callersFunctionprobeBackend
(engine: Host)
mods/diff/hooks/register.ts:119
↓ 1 callersFunctionprobeOf
( deps: TelemetryDeps, isInteractive: boolean, )
mods/telemetry/hooks/context/probe-of/probe-of.ts:21
↓ 1 callersFunctionprobeOf
(budget: number)
mods/diff/tests/git/probes/datings-of.test.ts:33
↓ 1 callersFunctionprobesOf
()
mods/diff/tests/register.test.ts:1045
↓ 1 callersFunctionqueued
(fields: Entries.Fields)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:167
↓ 1 callersFunctionrawRecordOf
(path: string)
mods/diff/tests/fixtures/scripted/raw-record-of.ts:8
↓ 1 callersFunctionreadHeadKey
()
mods/diff/hooks/register.ts:293
↓ 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 callersFunctionrecordingBackendHostOf
( script: Readonly<Record<string, ProcessRunResult>>, )
mods/diff/tests/fixtures/backend-of/recording-backend-host-of.ts:14
↓ 1 callersFunctionrefusalFor
(entry: unknown)
mods/telemetry/tests/register.test.ts:331
↓ 1 callersFunctionregisteredToolOf
(plugin: string, name: string)
mods/sec-default/tests/fixtures/registered-tool-of.ts:8
↓ 1 callersFunctionremoteHashOf
( remote: string | null | undefined, )
mods/telemetry/hooks/context/remote-hash-of/remote-hash-of.ts:12
↓ 1 callersFunctionrenameDisplayOf
(oldPath: string, newPath: string)
mods/diff/hooks/git/rename-display-of/rename-display-of.ts:13
↓ 1 callersFunctionrowOf
(path: string, kind: Partial<Git.FileStat> = {})
mods/diff/tests/git/fetch-hunks.test.ts:12
↓ 1 callersFunctionrunOf
(script: Script)
mods/diff/tests/git/probes/branch-base-of.test.ts:12
↓ 1 callersFunctionrunOf
(pinned: Types.Repository | null)
mods/diff/hooks/git/git-backend-of.ts:27
↓ 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 callersFunctionscriptedGitOf
( script: Readonly<Record<string, ProcessRunResult>>, )
mods/diff/tests/fixtures/scripted/scripted-git-of.ts:14
↓ 1 callersFunctionseparatorOf
(dir: string)
mods/agents-md/hooks/frames/absolute-of.ts:33
↓ 1 callersFunctionsessionFieldsOf
(facts: Facts)
mods/telemetry/hooks/context/session-fields-of/session-fields-of.ts:14
↓ 1 callersFunctionshellOf
(shellPath: string | undefined)
mods/telemetry/hooks/context/shell-of/shell-of.ts:12
↓ 1 callersFunctionsidebarPane
( kit: Kit, model: PaneState.PaneModel, )
mods/diff/hooks/views/sidebar-pane/sidebar-pane.tsx:26
↓ 1 callersFunctionspawnedSince
()
mods/diff/tests/register.test.ts:69
↓ 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:292
↓ 1 callersFunctionstartsSession
(on: On, now = 0)
mods/diff/tests/fixtures/starts-session.ts:13
↓ 1 callersFunctionstatTextOf
(added: number, removed: number)
mods/diff/hooks/views/sections/stat-text-of/stat-text-of.ts:11
↓ 1 callersFunctionstubBackendOf
(toplevel: string)
mods/diff/tests/fixtures/backend-of/stub-backend-of.ts:11
↓ 1 callersFunctionsubHunksOf
( hunk: Git.Hunk, maxChars: number, )
mods/diff/hooks/views/detail/sub-hunks-of/sub-hunks-of.ts:16
↓ 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 callersFunctiontagsOf
(variable: string | undefined)
mods/telemetry/hooks/context/environment-fields-of/tags-of/tags-of.ts:8
↓ 1 callersFunctiontelemetryOf
(deps: TelemetryDeps)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:23
↓ 1 callersFunctionterminalOf
( facts: Facts, platform: string, isInteractive: boolean, )
mods/telemetry/hooks/context/terminal-of/terminal-of.ts:17
↓ 1 callersFunctiontriggerDedupeWorkflow
( owner: string, repo: string, issueNumber: number, token: string, dryRun: boolean = true )
scripts/backfill-duplicate-comments.ts:47
↓ 1 callersFunctionturnTitleOf
( turn: Pick<Turns.TurnDiff, 'index' | 'preview'>, )
mods/diff/hooks/pane-state/turn-title-of/turn-title-of.ts:11
↓ 1 callersFunctionunbornNoUntrackedOf
()
mods/diff/tests/git/fetch-diff.test.ts:73
↓ 1 callersFunctionunpin
()
mods/diff/hooks/register.ts:169
↓ 1 callersFunctionuntrackedRowsOf
( context: Types.DatingContext, paths: readonly string[], place: UntrackedPlace, )
mods/diff/hooks/git/probes/untracked-rows-of/untracked-rows-of.ts:20
↓ 1 callersFunctionvcsOf
( list: (path: string) => Promise<readonly FsEntry[]>, cwd: string, hasP4Port: boolean, )
mods/telemetry/hooks/context/vcs-of/vcs-of.ts:15
↓ 1 callersFunctionversionOf
(version: string | undefined)
mods/telemetry/hooks/context/version-of/version-of.ts:8
↓ 1 callersFunctionviaGit
()
mods/diff/hooks/git/probes/head-key-of/head-key-of.ts:36
↓ 1 callersFunctionwalkOf
(budget: number)
mods/diff/tests/git/probes/kind-walk-of.test.ts:13
↓ 1 callersFunctionwalks
()
mods/diff/tests/git.test.ts:50
↓ 1 callersFunctionwireOf
(value: unknown)
mods/telemetry/hooks/entries/wire-of/wire-of.ts:10
↓ 1 callersFunctionwithClosingLine
(body: Types.FileHunks)
mods/diff/hooks/git/fetch-hunks/with-closing-line/with-closing-line.ts:14
↓ 1 callersFunctionwslVersionOf
( readProcVersion: () => Promise<string>, )
mods/telemetry/hooks/context/wsl-version-of/wsl-version-of.ts:8
← previousnext →301–400 of 689, ranked by callers