MCPcopy Create free account

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

Functions1,222 in github.com/anthropics/claude-code

↓ 80 callersMethodget
(index: number)
mods/types/claude-code.d.ts:20887
↓ 39 callersMethodhas
(name: string)
mods/types/claude-code.d.ts:20799
↓ 39 callersMethodset
(index: number, value?: any)
mods/types/claude-code.d.ts:20889
↓ 12 callersMethoddelete
(name: string)
mods/types/claude-code.d.ts:20796
↓ 12 callersFunctionrun
mods/diff/tests/git/fetch-hunks.test.ts:43
↓ 9 callersFunctioncalendarFieldsAt
( ms: number, zone: string, )
mods/easel/hooks/core/calendar/calendar-fields-at/calendar-fields-at.ts:15
↓ 8 callersFunctiontextShapesOf
(toLay: Types.TextToLay)
mods/easel/hooks/core/layout/text-shapes-of/text-shapes-of.ts:11
↓ 6 callersFunctionanswersOf
( numstat: string, bodies: Readonly<Record<string, string>>, dirty: readonly string[] = Object.keys(bodi
mods/diff/tests/fixtures/answers-of.ts:14
↓ 6 callersFunctionredraw
(engine: Host)
mods/diff/hooks/register.ts:228
↓ 6 callersFunctionstringsOf
(value: unknown)
mods/sec-default/hooks/early-run/strings-of.ts:7
↓ 6 callersFunctionunitOf
(seriesToRead: Reading.Series[])
mods/easel/hooks/core/charting/unit-of/unit-of.ts:9
↓ 5 callersFunctioncountOf
(items: readonly T[], passes: (item: T) => boolean)
mods/diff/hooks/count-of/count-of.ts:9
↓ 5 callersFunctionisRecord
(value: unknown)
mods/telemetry/hooks/entries/is-record/is-record.ts:7
↓ 5 callersFunctionkeptOf
(items: readonly (T | null)[])
mods/diff/hooks/kept-of/kept-of.ts:8
↓ 5 callersFunctionmaxWidthOf
(texts: string[])
mods/easel/hooks/core/layout/max-width-of/max-width-of.ts:9
↓ 5 callersFunctionpixelsAcross
(columns: number)
mods/easel/hooks/core/svg/pixels-across/pixels-across.ts:9
↓ 5 callersFunctionrefresh
* One read of the diff, covering every change seen before it starts. A call * made during a read is kept as one later read. So is a call made durin
mods/diff/hooks/register.ts:363
↓ 5 callersFunctionrefusal
(what: string, method: Method = 'log')
mods/telemetry/hooks/entries/refusal/refusal.ts:16
↓ 5 callersFunctionunread
(why: string)
mods/easel/hooks/core/cells/unread/unread.ts:9
↓ 5 callersFunctionwrittenPathOf
({ tool, input }: Call)
mods/sec-default/hooks/early-run/written-path-of.ts:9
↓ 4 callersFunctiondiffStat
( kit: Kit, added: number, removed: number, )
mods/diff/hooks/views/sections/diff-stat/diff-stat.tsx:17
↓ 4 callersFunctionfoldedName
(name: string)
mods/sec-default/hooks/policy/managed-tools-restored/is-org-tool/tool-prefix-of/folded-name/folded-name.ts:12
↓ 4 callersFunctionisRecord
(value: unknown)
mods/diff/hooks/is-record/is-record.ts:7
↓ 4 callersFunctionisScript
({ tool }: Call)
mods/sec-default/hooks/early-run/is-script.ts:11
↓ 4 callersFunctionlegendOf
(needs: Types.LegendNeeds)
mods/easel/hooks/core/layout/legend-of/legend-of.ts:23
↓ 4 callersFunctionlegendRowOf
( legend: Types.Legend, row: Charting.LegendRow, top: number, )
mods/easel/hooks/core/layout/legend-row-of/legend-row-of.ts:19
↓ 4 callersFunctionnamedTable
( source: string, columns: string[], rows: Cells.Cell[][], )
mods/easel/hooks/core/tables/named-table/named-table.ts:12
↓ 4 callersFunctionopenOnFirstEdit
(engine: Host)
mods/diff/hooks/register.ts:731
↓ 4 callersFunctionownOption
(policy: Settings, name: string)
mods/sec-default/hooks/policy/own-option/own-option.ts:16
↓ 4 callersFunctionpixelsDown
(rows: number)
mods/easel/hooks/core/svg/pixels-down/pixels-down.ts:10
↓ 4 callersFunctionwallClockMs
(fields: readonly number[])
mods/easel/hooks/core/calendar/wall-clock-ms/wall-clock-ms.ts:7
↓ 3 callersMethodappend
(name: string, value: string)
mods/types/claude-code.d.ts:20795
↓ 3 callersFunctionarrayOf
(value: unknown)
mods/diff/hooks/array-of/array-of.ts:8
↓ 3 callersFunctionask
( mode: Git.BaseMode, narrowed: Pick<VcsDiffInput, 'paths' | 'isStatOnly'>, )
mods/diff/hooks/backend/vcs-backend-of/vcs-backend-of.ts:33
↓ 3 callersFunctionbounded
(call: Call)
mods/sec-default/hooks/early-run/bounded.ts:15
↓ 3 callersFunctioncellOf
(node: unknown)
mods/easel/hooks/core/tables/cell-of/cell-of.ts:9
↓ 3 callersFunctioncheckedMagnitude
( value: number, unit: string | null, )
mods/easel/hooks/core/cells/checked-magnitude/checked-magnitude.ts:16
↓ 3 callersFunctiondialogEntriesOf
( model: PaneState.PaneModel, )
mods/diff/hooks/views/dialog-pane/dialog-entries-of/dialog-entries-of.ts:12
↓ 3 callersFunctiondialogPane
()
mods/diff/hooks/register.ts:207
↓ 3 callersFunctiondialogWindowOf
( model: Pick<PaneState.PaneModel, 'selectedPath'>, paths: readonly string[], )
mods/diff/hooks/views/dialog-pane/dialog-window-of/dialog-window-of.ts:12
↓ 3 callersFunctiondiffDataOf
( context: Types.FetchContext, result: Types.MergedResult, basis: DiffBasis, )
mods/diff/hooks/git/tiers/diff-data-of/diff-data-of.ts:13
↓ 3 callersFunctiondrawnChartOf
( data: Reading.Data, request: CoreCall.ChartRequest, usage: Usage, )
mods/easel/hooks/core/easel/drawn-chart-of/drawn-chart-of.ts:22
↓ 3 callersFunctionendOverdueRest
* Ends a wait whose time has passed but whose timer never fired because the * host refused it, so a refused timer cannot hold reads for the whole
mods/diff/hooks/register.ts:533
↓ 3 callersFunctionentriesAt
( node: unknown, path: string, )
mods/easel/hooks/core/wire/entries-at/entries-at.ts:13
↓ 3 callersFunctionentryKindsOf
(engine: Host)
mods/diff/hooks/entry-kinds-of/entry-kinds-of.ts:12
↓ 3 callersFunctionformatAll
( format: Types.NumberFormat, values: number[], )
mods/easel/hooks/core/numbers/format-all/format-all.ts:16
↓ 3 callersFunctiongraphemesOf
(text: string)
mods/easel/hooks/core/texts/graphemes-of/graphemes-of.ts:10
↓ 3 callersFunctionhunkHeaderOf
(hunk: Git.Hunk)
mods/diff/hooks/views/detail/hunk-header-of/hunk-header-of.ts:14
↓ 3 callersFunctionisPaneSeen
()
mods/diff/hooks/register.ts:84
↓ 3 callersFunctionisSameCall
(one: Call, other: Call)
mods/sec-default/hooks/early-run/is-same-call.ts:12
↓ 3 callersFunctionisSameVerdict
( one: EventResult<'tool.check'>, other: EventResult<'tool.check'> | undefined, )
mods/sec-default/hooks/held-verdict/verdicts/is-same-verdict.ts:11
↓ 3 callersFunctionisWeekend
(ms: number, zone: string)
mods/easel/hooks/core/calendar/is-weekend/is-weekend.ts:12
↓ 3 callersFunctionjoinedName
(name: string)
mods/sec-default/hooks/policy/managed-tools-restored/joined-name.ts:11
↓ 3 callersFunctionlistingOf
(entries: Listing)
mods/diff/tests/git/fetch-diff.test.ts:19
↓ 3 callersFunctionloadBodies
(engine: Host)
mods/diff/hooks/register.ts:244
↓ 3 callersFunctionmessageOf
(error: unknown)
mods/diff/hooks/message-of/message-of.ts:8
↓ 3 callersFunctionmodeChoiceOf
(mode: Modes.Mode)
mods/agents-md/hooks/telemetry/mode-choice-of.ts:10
↓ 3 callersFunctionnamesSettingsFile
( $: EngineInterface, texts: readonly string[], served: readonly string[], )
mods/sec-default/hooks/early-run/names-settings-file.ts:17
↓ 3 callersFunctionpinBackend
(engine: Host, isAsked = false)
mods/diff/hooks/register.ts:125
↓ 3 callersFunctionpixelPoint
(column: number, row: number)
mods/easel/hooks/core/svg/pixel-point/pixel-point.ts:11
↓ 3 callersFunctionplaced
( $: EngineInterface, path: string, steps?: number, )
mods/sec-default/hooks/early-run/placed.ts:18
↓ 3 callersFunctionprojectDirOf
(path: string)
mods/agents-md/hooks/files/project-dir-of.ts:10
↓ 3 callersFunctionscheduleRefresh
(engine: Host)
mods/diff/hooks/register.ts:579
↓ 3 callersFunctionstoredTextOf
(storedResult: unknown, fallback = '')
mods/easel/hooks/shell/stored-text-of/stored-text-of.ts:10
↓ 3 callersFunctionsummedSeries
( seriesToAdd: Types.SizedSeries[], name: string, )
mods/easel/hooks/core/charting/summed-series/summed-series.ts:14
↓ 3 callersFunctiontextsIn
(lines: string[], field: Types.Field)
mods/easel/hooks/core/tables/tables-of-text/tables-of-plain-text/aligned-reading/cells-by-position/columns-of-fields/texts-in/texts-in.ts:10
↓ 3 callersFunctiontimeAt
(ms: number, isZoned: boolean)
mods/easel/hooks/core/cells/read-time/time-at/time-at.ts:10
↓ 3 callersMethodtoString
()
mods/types/claude-code.d.ts:20821
↓ 3 callersFunctiontruncateMiddle
(text: string, maxWidth: number)
mods/easel/hooks/core/texts/truncate-middle/truncate-middle.ts:16
↓ 3 callersFunctiontypicalStepMs
(step: Types.Step)
mods/easel/hooks/core/calendar/typical-step-ms/typical-step-ms.ts:9
↓ 3 callersFunctionwidthOf
(text: string)
mods/easel/hooks/core/texts/width-of/width-of.ts:11
↓ 3 callersFunctionwithUntracked
( context: Types.FetchContext, result: Types.NumstatResult, scope: Types.UntrackedScope, )
mods/diff/hooks/git/tiers/with-untracked/with-untracked.ts:20
↓ 3 callersFunctionwrappedTextOf
( room: Types.Room, texts: string[], ink: Shapes.Ink, )
mods/easel/hooks/core/layout/wrapped-text-of/wrapped-text-of.ts:15
↓ 2 callersFunctionarchOf
(machine: string)
mods/telemetry/hooks/context/machine/arch-of/arch-of.ts:8
↓ 2 callersFunctionasBars
( request: CoreCall.ChartRequest, )
mods/easel/hooks/core/easel/chart-from-call/as-bars/as-bars.ts:10
↓ 2 callersFunctionaskKeptOpen
(engine: Host)
mods/diff/hooks/register.ts:519
↓ 2 callersFunctionbarRowsOf
( shownBars: Types.SizedSeries[], allValues: number[], options: Types.BarRowsOptions, )
mods/easel/hooks/core/charting/chart-of/bar-rows-of/bar-rows-of.ts:25
↓ 2 callersFunctionbarValueOf
(barSeries: Types.SizedSeries)
mods/easel/hooks/core/charting/bar-value-of/bar-value-of.ts:9
↓ 2 callersFunctionbareNameReadsUnder
(name: string, prefix: string)
mods/sec-default/hooks/policy/managed-tools-restored/bare-name-reads-under.ts:14
↓ 2 callersFunctionbaseNameOf
(path: string)
mods/diff/hooks/classify/base-name-of/base-name-of.ts:7
↓ 2 callersFunctionbodyStampOf
(data: Git.DiffData)
mods/diff/hooks/register.ts:274
↓ 2 callersFunctionbySlug
(...probes: Backend.BackendProbe[])
mods/diff/tests/backend/backend-of.test.ts:11
↓ 2 callersFunctioncacheOutcome
( cache: Types.ChartCache, id: string, outcome: Easel.Outcome, )
mods/easel/hooks/shell/cache-outcome/cache-outcome.ts:16
↓ 2 callersFunctioncellOfSpans
( spans: Types.Span[], start: number, partialBlocks: readonly string[], )
mods/easel/hooks/core/raster/cell-of-spans/cell-of-spans.ts:18
↓ 2 callersFunctioncellWidth
(text: string)
mods/diff/hooks/views/layout/cell-width/cell-width.ts:15
↓ 2 callersFunctioncellsUnder
( columns: string[], cells: Map<string, Cells.Cell>, )
mods/easel/hooks/core/tables/cells-under/cells-under.ts:11
↓ 2 callersFunctionchainRootOf
( file: InstructionFile, byPath: ReadonlyMap<string, InstructionFile>, )
mods/agents-md/hooks/files/chain-root-of.ts:13
↓ 2 callersFunctionchargedWidth
(text: string)
mods/diff/hooks/views/layout/charged-width/charged-width.ts:14
↓ 2 callersFunctioncheckedProps
( props: unknown, method: Method, )
mods/telemetry/hooks/entries/checked-props/checked-props.ts:16
↓ 2 callersFunctionclosePane
(engine: Host)
mods/diff/hooks/register.ts:718
↓ 2 callersFunctioncolumnNamed
(table: Types.Table, name: string)
mods/easel/hooks/core/casting/column-named/column-named.ts:10
↓ 2 callersFunctioncommand
()
mods/diff/tests/register.test.ts:354
↓ 2 callersFunctionconfigFolders
( $: EngineInterface, first: FirstFolder, )
mods/sec-default/hooks/early-run/config-folders.ts:14
↓ 2 callersFunctioncutTable
()
mods/easel/hooks/core/tables/tables-of-text/cut-table/cut-table.ts:8
↓ 2 callersFunctiondataFill
(ink: Shapes.Ink, attributes = '')
mods/easel/hooks/core/svg/data-fill/data-fill.ts:10
↓ 2 callersFunctiondataOf
(backend: Backend.Backend, mode: Git.BaseMode)
mods/diff/tests/backend/vcs-backend-of.test.ts:72
↓ 2 callersFunctiondataOf
( files: readonly Git.FileStat[], overrides: Partial<Git.DiffData> = {}, )
mods/diff/tests/views/pane-view.test.ts:13
↓ 2 callersFunctiondatingsOf
( context: Types.DatingContext, paths: readonly string[], )
mods/diff/hooks/git/probes/datings-of/datings-of.ts:17
↓ 2 callersFunctiondecimalsFor
(size: number, digits: number)
mods/easel/hooks/core/numbers/decimals-for/decimals-for.ts:10
↓ 2 callersFunctiondepsOf
( script: Script, overrides: Partial<Git.GitDeps> = {}, )
mods/diff/tests/git/fetch-diff.test.ts:22
next →1–100 of 1,222, ranked by callers