MCPcopy Create free account

hub / github.com/Martian-Engineering/pr-sheriff / functions

Functions153 in github.com/Martian-Engineering/pr-sheriff

↓ 1 callersFunctionfindDefaultConfigPath
()
src/config/paths.ts:17
↓ 1 callersFunctiongetAnthropicKey
()
scripts/pr-supersession-single.js:39
↓ 1 callersFunctiongetCorpusFrontmatterForFile
( qmdRunner: QmdRunner, file: string )
src/candidates/retrieveCandidates.ts:66
↓ 1 callersFunctiongetDefaults
()
src/config/loadConfig.ts:22
↓ 1 callersFunctiongetPR
(prNumber)
scripts/pr-supersession-single.js:235
↓ 1 callersFunctiongh
(query)
scripts/pr-supersession-detector-llm.js:17
↓ 1 callersFunctiongh
(query, timeout = 20)
scripts/pr-supersession-detector.js:13
↓ 1 callersFunctionindentLines
(text, prefix)
scripts/pr-supersession-single.js:167
↓ 1 callersFunctionindex
(argv: string[], _ctx: CommandContext)
src/commands/subcommands/index.ts:4
↓ 1 callersFunctionloadConfig
(opts: { configPath?: string })
src/config/loadConfig.ts:44
↓ 1 callersFunctionloadConfigFile
(configPath: string)
src/config/loadConfig.ts:30
↓ 1 callersFunctionmain
* Entry point for the pr-sheriff CLI. * * This scaffold focuses on: * - a stable subcommand structure * - config loading (file + env) * - emittin
src/cli.ts:17
↓ 1 callersFunctionmain
* @param {Args} args
scripts/qmd-corpus-index.js:493
↓ 1 callersFunctionmain
()
scripts/pr-supersession-detector-llm.js:151
↓ 1 callersFunctionmain
()
scripts/pr-supersession-detector-simple.js:22
↓ 1 callersFunctionmain
()
scripts/pr-supersession-detector.js:36
↓ 1 callersFunctionmain
* Copy runtime `.mjs` modules from `src/` into `dist/`. * * The project uses TypeScript for the CLI, but keeps some runtime modules as `.mjs`. * `t
scripts/copy-mjs-to-dist.mjs:11
↓ 1 callersFunctionmakeFixtureGhRunner
* Create a `ghRunner` compatible stub backed by `.http` fixtures. * * Supported endpoints: * - `GET /repos/<owner>/<repo>/pulls/<n>` * - `GET /rep
src/commands/subcommands/analyzePr.ts:104
↓ 1 callersFunctionmakeStubGitHubFetch
({ prsByNumber, issuesByNumber, commentsByNumber, timelinesByIssue })
test/reference_graph.test.mjs:6
↓ 1 callersFunctionparseCorpusFrontmatter
(markdown: string)
src/candidates/parseFrontmatter.ts:39
↓ 1 callersFunctionparseCorpusPathFromQmdFile
(file: string)
src/candidates/retrieveCandidates.ts:43
↓ 1 callersFunctionparseLogLevel
(value: string | undefined)
src/config/loadConfig.ts:11
↓ 1 callersFunctionparseOwnerRepo
(repo)
src/github/github_fetch.mjs:6
↓ 1 callersFunctionparseQmdJsonOutput
(raw: string)
src/qmd/parseQmdJson.ts:17
↓ 1 callersFunctionpickKeywordQuery
(title: unknown)
src/commands/subcommands/analyzePr.ts:76
↓ 1 callersFunctionreadFixture
(fixturesDir: string, filename: string)
src/commands/subcommands/analyzePr.ts:89
↓ 1 callersFunctionrenderIssueDoc
* @param {any} issue * @param {any[]} issueComments * @returns {string}
scripts/qmd-corpus-index.js:368
↓ 1 callersFunctionrenderIssueTraceForPrompt
(trace)
scripts/pr-supersession-single.js:398
↓ 1 callersFunctionrenderPullDoc
* @param {any} pr * @param {any[]} issueComments * @param {any[]} reviews * @returns {string}
scripts/qmd-corpus-index.js:276
↓ 1 callersFunctionreport
(argv: string[], _ctx: CommandContext)
src/commands/subcommands/report.ts:4
↓ 1 callersFunctionrunAnalyzePrDry
()
test/analyze_pr_smoke.test.mjs:10
↓ 1 callersFunctionrunAnthropicJudge
(opts)
src/llm/anthropic_judge.mjs:65
↓ 1 callersFunctionrunCommand
(command: string, argv: string[], ctx: CommandContext)
src/commands/runCommand.ts:11
↓ 1 callersFunctionrunQmdIndex
* @param {Args} args
scripts/qmd-corpus-index.js:465
↓ 1 callersFunctionsearch
(query)
scripts/pr-supersession-single.js:98
↓ 1 callersMethodsearchMergedPRs
* Search merged PRs in a repo, with optional time window. * * @param {object} opts * @param {string} [opts.query] - raw search terms (no repo
src/github/github_fetch.mjs:242
↓ 1 callersFunctionsha256Hex
(text)
src/github/file_cache.mjs:5
↓ 1 callersFunctionstripAnsiAndOsc
(s: string)
src/qmd/parseQmdJson.ts:1
↓ 1 callersFunctionstripUtf8Bom
* Robust parsing helpers for JSON-only LLM outputs. * * Models occasionally wrap JSON in markdown fences or add prefatory text. * These helpers aim
src/llm/judge_parse.mjs:8
↓ 1 callersFunctiontimelinePRNumbers
(nodes)
src/graph/reference_graph_builder.mjs:97
↓ 1 callersFunctiontoIsoDate
(v: unknown)
src/commands/subcommands/analyzePr.ts:32
↓ 1 callersFunctionvalidateEvidence
(item, path)
src/llm/judge_schema.mjs:183
↓ 1 callersFunctionvalidateTimelineEvent
(item, path)
src/llm/judge_schema.mjs:214
↓ 1 callersFunctionwalk
(dir)
scripts/copy-mjs-to-dist.mjs:22
Methodconstructor
* @param {object} opts * @param {string} opts.repo - "owner/name" * @param {string} [opts.cacheDir] - defaults to ".cache/pr-sheriff/github"
src/github/github_fetch.mjs:86
FunctiondefaultGhRunner
( args, { stdin = undefined, timeoutMs = 30_000, maxOutputBytes = 20 * 1024 * 1024 } = {}, )
src/github/gh_api_runner.mjs:10
FunctiongetIssue
(number)
test/reference_graph.test.mjs:22
FunctiongetIssueTimeline
(number)
test/reference_graph.test.mjs:28
FunctiongetPR
(number)
test/reference_graph.test.mjs:11
FunctionlistPRComments
(number)
test/reference_graph.test.mjs:17
FunctionrunQmd
(args: string[])
src/qmd/runQmd.ts:13
Functionrunner
(args)
test/candidates_retrieval.test.mjs:10
Functionrunner
(args)
test/github_fetch.test.mjs:20
← previous101–153 of 153, ranked by callers