MCPcopy Create free account

hub / github.com/andylow92/file-system-like-github / functions

Functions473 in github.com/andylow92/file-system-like-github

↓ 81 callersMethodget
(id: string)
apps/api/src/storage/proposalStore.ts:27
↓ 59 callersMethodset
(key: string, value: T)
apps/api/src/storage/idempotencyCache.ts:12
↓ 55 callersFunctionresolve
( id: string, resolution: { status: 'approved' | 'rejected'; resolvedBy: string }, )
apps/api/src/storage/proposalStore.ts:104
↓ 32 callersFunctionsendJson
(res: http.ServerResponse, statusCode: number, body: ApiResponse<T>)
apps/api/src/routes/files.ts:172
↓ 31 callersMethodclose
Unsubscribe from the event bus (called on server close).
apps/api/src/index/vaultIndex.ts:40
↓ 29 callersFunctiondoc
(path: string, content: string)
apps/api/src/__tests__/maintenance.test.ts:5
↓ 29 callersFunctionexecuteHandler
( context: RequestContext, handler: (ctx: RequestContext) => Promise<void>, )
apps/api/src/routes/files.ts:1749
↓ 26 callersFunctiontool
Wrap a handler so API errors become readable tool errors instead of crashes.
apps/mcp/src/server.ts:110
↓ 23 callersFunctionscanVault
( documents: readonly MaintenanceDocument[], options: ScanVaultOptions = {}, )
packages/shared/src/maintenance.ts:204
↓ 22 callersFunctiondoc
(path: string, content: string)
apps/api/src/__tests__/schema.test.ts:5
↓ 21 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/structuredKnowledge.test.ts:57
↓ 19 callersFunctionparseFrontmatter
(raw: string)
packages/shared/src/markdown.ts:136
↓ 19 callersFunctionwaitFor
(predicate: (e: VaultEvent) => boolean, timeoutMs = 3000)
apps/api/src/routes/events.test.ts:60
↓ 18 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/searchAudit.test.ts:20
↓ 18 callersFunctioncreateServer
(config = loadConfig())
apps/api/src/server.ts:26
↓ 18 callersFunctionsendError
(res: http.ServerResponse, statusCode: number, error: ErrorResponse)
apps/api/src/routes/files.ts:177
↓ 17 callersFunctionrequireString
(value: unknown, fieldName: string)
apps/api/src/routes/files.ts:229
↓ 17 callersFunctionshowToast
(type: ToastType, message: string)
apps/web/src/components/GlobalLayout.tsx:629
↓ 16 callersFunctionrequestJson
(input: RequestInfo, init?: RequestInit)
apps/web/src/api/files.ts:44
↓ 16 callersFunctionseed
(notePath: string, content: string)
apps/api/src/routes/maintenance.test.ts:38
↓ 16 callersFunctionvalidateVault
( documents: readonly { path: string; content: string }[], pack: SchemaPack = DEFAULT_SCHEMA_PACK, )
packages/shared/src/schema.ts:262
↓ 15 callersFunctionrequireOptionalString
(value: unknown, fieldName: string)
apps/api/src/routes/files.ts:242
↓ 14 callersFunctionbuildGraph
( documents: readonly GraphDocument[], options: BuildGraphOptions = {}, )
packages/shared/src/graph.ts:180
↓ 14 callersFunctionentry
(overrides: Partial<QuestionEntry>)
apps/api/src/__tests__/questions.test.ts:4
↓ 14 callersFunctiongetErrorMessage
(error: unknown)
apps/web/src/api/files.ts:65
↓ 14 callersFunctionrec
Build a minimal proposal record for the stats helper.
apps/api/src/__tests__/proposalStats.test.ts:11
↓ 14 callersFunctionrenderLayout
()
apps/web/src/components/__tests__/GlobalLayout.test.tsx:32
↓ 13 callersFunctionpairNote
Build a `type: feedback` pairing note's content.
apps/api/src/__tests__/feedback.test.ts:14
↓ 13 callersMethodresolve
( id: string, resolution: { status: 'approved' | 'rejected'; resolvedBy: string }, )
apps/api/src/storage/proposalStore.ts:28
↓ 12 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/patchFile.test.ts:34
↓ 12 callersFunctionensureNoteId
( raw: string, id: string, )
packages/shared/src/noteId.ts:38
↓ 12 callersMethodresolveMarkdownPath
(logicalPath: string)
apps/api/src/storage/pathResolver.ts:15
↓ 12 callersFunctionresolveWikilink
(target: string, allPaths: string[])
packages/shared/src/markdown.ts:272
↓ 12 callersFunctionstat
A category stat with the fields recommendThreshold reads.
apps/api/src/__tests__/proposalStats.test.ts:87
↓ 11 callersFunctionassembleAnswerKit
( query: string, bundle: ContextBundle, options: AssembleAnswerKitOptions = {}, )
packages/shared/src/think.ts:94
↓ 11 callersFunctiondecode
Decode the JSON payload our `tool()` wrapper packs into a single text block.
apps/mcp/src/__tests__/freshClone.test.ts:46
↓ 11 callersFunctionloadFileFromContext
( context: RequestContext, logicalPath: string, )
apps/api/src/routes/files.ts:258
↓ 11 callersFunctionmatch
(p: string, text: string, score = 0.5, heading?: string)
apps/api/src/__tests__/think.test.ts:14
↓ 11 callersMethodresolvePath
(logicalPath: string)
apps/api/src/storage/pathResolver.ts:14
↓ 10 callersFunctionbundleOf
( query: string, matches: ContextCandidate[], neighbors?: ContextCandidate[], )
apps/api/src/__tests__/think.test.ts:21
↓ 10 callersFunctionfindKnowledgeGaps
( entries: readonly QuestionEntry[], options: FindKnowledgeGapsOptions = {}, )
packages/shared/src/questions.ts:56
↓ 10 callersMethodgetDocuments
The cached corpus (logical path → content), refreshed lazily before return.
apps/api/src/index/vaultIndex.ts:34
↓ 10 callersFunctiongetPageType
( type: string | undefined, pack: SchemaPack = DEFAULT_SCHEMA_PACK, )
packages/shared/src/schema.ts:220
↓ 10 callersFunctionpublishVaultEvent
* Broadcast a live event for a successful change. Published alongside (never * instead of) the audit write so connected clients see the change immedi
apps/api/src/routes/files.ts:154
↓ 10 callersFunctionrecommendThreshold
( stat: CategoryStat, current: number, options: ThresholdTuneOptions = {}, )
packages/shared/src/proposalStats.ts:159
↓ 10 callersFunctionscanFeedback
( documents: readonly FeedbackDocument[], options: ScanFeedbackOptions = {}, )
packages/shared/src/feedback.ts:461
↓ 9 callersFunctionassembleContextBundle
(input: AssembleContextInput)
packages/shared/src/context.ts:83
↓ 9 callersFunctioncleanup
()
apps/api/src/events/sse.ts:41
↓ 9 callersFunctionevent
(partial: Partial<VaultEvent> & Pick<VaultEvent, 'type'>)
apps/web/src/hooks/__tests__/useVaultEvents.test.ts:6
↓ 9 callersFunctionextractCopySection
(body: string, preferred: readonly string[])
packages/shared/src/feedback.ts:309
↓ 9 callersFunctionparseSkill
(path: string, content: string)
packages/shared/src/skills.ts:74
↓ 9 callersFunctionreciprocalRankFusion
( rankings: RankingInput[], options: { k?: number } = {}, )
packages/shared/src/hybrid.ts:73
↓ 8 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/think.test.ts:23
↓ 8 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/context.test.ts:20
↓ 8 callersFunctionextractBlockAnchors
(body: string)
packages/shared/src/blocks.ts:91
↓ 8 callersFunctionfindNoteId
(raw: string)
packages/shared/src/noteId.ts:19
↓ 8 callersFunctionlabelOf
Display label for a note path: the basename without the `.md` extension.
packages/shared/src/maintenance.ts:127
↓ 8 callersFunctionparseNote
(raw: string)
packages/shared/src/markdown.ts:254
↓ 8 callersMethodreadMarkdownFile
(logicalPath: string)
apps/api/src/storage/fileRepository.ts:21
↓ 8 callersFunctionrenderRichLayout
()
apps/web/src/components/__tests__/GlobalLayout.test.tsx:201
↓ 8 callersFunctionrouteVaultEvent
(event: VaultEvent, options: UseVaultEventsOptions)
apps/web/src/hooks/useVaultEvents.ts:30
↓ 8 callersFunctiontokenize
(text: string)
packages/shared/src/semantic.ts:121
↓ 7 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/questions.test.ts:25
↓ 7 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/hybridSearch.test.ts:20
↓ 7 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/graph.test.ts:20
↓ 7 callersFunctioncreatePathResolver
(contentRoot: string | undefined)
apps/api/src/storage/pathResolver.ts:20
↓ 7 callersFunctionextractWikilinks
(text: string)
packages/shared/src/markdown.ts:209
↓ 7 callersFunctionfindBlock
(body: string, id: string)
packages/shared/src/blocks.ts:121
↓ 7 callersFunctionparseFeedbackPairing
(notePath: string, content: string)
packages/shared/src/feedback.ts:189
↓ 7 callersFunctionreplaceBlock
(content: string, blockId: string, body: string)
packages/shared/src/patch.ts:157
↓ 7 callersFunctionreplaceSection
(content: string, heading: string, body: string)
packages/shared/src/patch.ts:111
↓ 7 callersFunctionscoreEvalCase
(evalCase: EvalCase, ranked: string[], k: number)
packages/shared/src/retrievalEval.ts:68
↓ 7 callersFunctionstatOrUndefined
(absolutePath: string)
apps/api/src/storage/fileRepository.ts:29
↓ 7 callersFunctionupsertBlockAnchor
( body: string, id: string | undefined, line: number, options: UpsertBlockAnchorOptions = {}, )
packages/shared/src/blocks.ts:218
↓ 6 callersFunctionasString
(value: string | string[] | undefined)
packages/shared/src/feedback.ts:181
↓ 6 callersFunctionbumpActivity
()
apps/web/src/App.tsx:58
↓ 6 callersFunctiondiffDraftFinal
( draftContent: string, finalContent: string, maxSegments: number = DEFAULT_MAX_SEGMENTS, )
packages/shared/src/feedback.ts:344
↓ 6 callersFunctionextractFrontmatterRelations
(content: string)
packages/shared/src/graph.ts:114
↓ 6 callersFunctionformatEvalReport
(label: string, summary: EvalSummary)
packages/shared/src/retrievalEval.ts:119
↓ 6 callersMethodgetData
(type: string)
apps/web/src/components/__tests__/GlobalLayout.test.tsx:167
↓ 6 callersFunctiongetParentDirectoryPath
(path: string)
apps/web/src/components/GlobalLayout.tsx:183
↓ 6 callersFunctionhandlers
()
apps/web/src/hooks/__tests__/useVaultEvents.test.ts:17
↓ 6 callersMethodlist
(options?: { path?: string; limit?: number })
apps/api/src/storage/auditLog.ts:13
↓ 6 callersFunctionlistSkills
( documents: readonly { path: string; content: string }[], query?: string, )
packages/shared/src/skills.ts:101
↓ 6 callersFunctionloadConfig
()
apps/api/src/config.ts:21
↓ 6 callersFunctionnavigateToFile
(nextPath: string)
apps/web/src/App.tsx:247
↓ 6 callersFunctionparseWikilinkToken
(raw: string)
packages/shared/src/markdown.ts:96
↓ 6 callersFunctionrecordAudit
Best-effort audit write: provenance must never break the underlying op.
apps/api/src/routes/files.ts:141
↓ 6 callersFunctionrefreshTree
()
apps/web/src/App.tsx:145
↓ 6 callersFunctionrunEval
Run every eval case against one search endpoint and summarize.
apps/api/src/routes/retrievalEval.test.ts:31
↓ 6 callersFunctionsummarizeOutcomes
(proposals: readonly ProposalRecord[])
packages/shared/src/proposalStats.ts:64
↓ 5 callersFunctionapplyAppend
(content: string, text: string)
packages/shared/src/patch.ts:56
↓ 5 callersFunctionapplyPatchOp
(content: string, op: PatchOp)
packages/shared/src/patch.ts:224
↓ 5 callersFunctionapplyPrepend
(content: string, text: string)
packages/shared/src/patch.ts:69
↓ 5 callersFunctionchunkNote
(path: string, content: string, maxChars = 600)
packages/shared/src/semantic.ts:134
↓ 5 callersMethodcreateMarkdownFile
(logicalPath: string, content?: string)
apps/api/src/storage/fileRepository.ts:20
↓ 5 callersFunctionfindTextMatch
(content: string, query: string)
packages/shared/src/search.ts:41
↓ 5 callersMethodlatest
()
apps/web/src/hooks/__tests__/useVaultEvents.test.ts:105
↓ 5 callersMethodlistTree
(logicalPath?: string)
apps/api/src/storage/fileRepository.ts:25
↓ 5 callersFunctionmatch
(path: string, text: string, score = 0.5)
apps/api/src/__tests__/context.test.ts:30
next →1–100 of 473, ranked by callers