MCPcopy Create free account

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

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

↓ 2 callersFunctionround4
Round a tuned threshold to 4dp so repeated nudges stay stable.
packages/shared/src/proposalStats.ts:144
↓ 2 callersFunctionrunFeedbackScan
(deps: { vaultIndex: VaultIndex; proposalStore: ProposalStore; eventBus: EventBus; pathResolver: PathR
apps/api/src/routes/files.ts:1680
↓ 2 callersFunctionrunMaintenanceScan
(deps: { vaultIndex: VaultIndex; proposalStore: ProposalStore; eventBus: EventBus; pathResolver: PathR
apps/api/src/routes/files.ts:1526
↓ 2 callersFunctionsaveCurrentFile
()
apps/web/src/App.tsx:255
↓ 2 callersFunctionsegment
* Break body text into comparable segments: one per line, each further split on * sentence punctuation, normalized to single-spaced and trimmed.
packages/shared/src/feedback.ts:231
↓ 2 callersMethodsetData
(type: string, val: string)
apps/web/src/components/__tests__/GlobalLayout.test.tsx:163
↓ 2 callersFunctionshowConfirmModal
(config: { title: string; description: string; confirmLabel: string; cancelLabel: string;
apps/web/src/App.tsx:120
↓ 2 callersFunctionstripCode
* Remove fenced (``` ```) and inline (`` ` ``) code so tags/links inside code * are not extracted as real tags/links.
packages/shared/src/markdown.ts:128
↓ 2 callersFunctionsubmitCurrentMode
()
apps/web/src/components/GlobalLayout.tsx:660
↓ 2 callersFunctiontoEtag
(content: string, lastModified: string)
apps/api/src/routes/files.ts:254
↓ 2 callersFunctionvisibleLines
Body lines outside fenced code blocks, so a leading fence can't become a * skill's name or description.
packages/shared/src/skills.ts:35
↓ 2 callersFunctionwithMd
Ensure a logical path carries a `.md` extension.
packages/shared/src/feedback.ts:167
↓ 2 callersFunctionwrite
(proposal: EditProposal)
apps/api/src/storage/proposalStore.ts:52
↓ 1 callersFunctionactorClass
(actor: string)
apps/web/src/components/ActivityPanel.tsx:27
↓ 1 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/feedback.test.ts:25
↓ 1 callersFunctionapi
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/schema.test.ts:20
↓ 1 callersFunctionappendCrossLink
Append a `> See also [[label]]` cross-link, keeping one trailing newline.
packages/shared/src/maintenance.ts:143
↓ 1 callersFunctionappendLesson
Append a lesson to an existing playbook, keeping one trailing newline.
packages/shared/src/feedback.ts:426
↓ 1 callersFunctionapplyProposal
Apply an approved proposal to the vault, recording it as the proposer's edit.
apps/api/src/routes/files.ts:1306
↓ 1 callersFunctionbasename
(path: string)
apps/web/src/components/SearchDialog.tsx:22
↓ 1 callersFunctionbuildNoteVector
* Build a normalized TF-IDF vector for a note's tokens — the same weighting the * semantic engine (`semantic.ts`) uses per chunk, applied here at not
packages/shared/src/maintenance.ts:153
↓ 1 callersFunctionbuildServer
(context: AppContext)
apps/mcp/src/server.ts:765
↓ 1 callersFunctioncheckNode
()
scripts/doctor.mjs:24
↓ 1 callersFunctioncheckVault
()
scripts/doctor.mjs:35
↓ 1 callersMethodclose
()
apps/api/src/events/watcher.ts:21
↓ 1 callersFunctioncloseMobileSidebar
()
apps/web/src/components/GlobalLayout.tsx:548
↓ 1 callersFunctioncollectDirectoryPaths
(nodes: FileNode[])
apps/web/src/components/FileTreeSidebar.tsx:10
↓ 1 callersFunctioncomputeAdjacency
(graph: GraphData)
apps/web/src/components/graphLayout.ts:142
↓ 1 callersFunctioncomputeGraphLayout
( graph: GraphData, options: LayoutOptions = {}, )
apps/web/src/components/graphLayout.ts:35
↓ 1 callersFunctionconfirmDelete
()
apps/web/src/components/GlobalLayout.tsx:734
↓ 1 callersFunctionconnect
()
apps/web/src/hooks/useVaultEvents.ts:87
↓ 1 callersFunctioncosine
(a: Map<string, number>, b: Map<string, number>)
packages/shared/src/semantic.ts:200
↓ 1 callersFunctioncosine
Cosine of two normalized vectors = their dot product (iterate the smaller).
packages/shared/src/maintenance.ts:175
↓ 1 callersFunctioncountWords
(text: string)
apps/web/src/components/RichTextEditorPane.tsx:40
↓ 1 callersFunctioncreateApiClient
(context: AppContext)
apps/mcp/src/server.ts:73
↓ 1 callersFunctioncreateDirectory
(path: string)
apps/web/src/api/files.ts:214
↓ 1 callersFunctioncreateFile
(path: string, content = '')
apps/web/src/api/files.ts:207
↓ 1 callersFunctioncreateIdempotencyCache
(capacity = DEFAULT_CAPACITY)
apps/api/src/storage/idempotencyCache.ts:17
↓ 1 callersFunctioncreateRouteDependencies
(rootPath: string)
apps/api/src/routes/files.test.ts:24
↓ 1 callersFunctioncreateVaultWatcher
(options: { contentRoot: string; eventBus: EventBus; debounceMs?: number; })
apps/api/src/events/watcher.ts:73
↓ 1 callersFunctiondedupeKey
* Stable, collision-proof de-dupe key for a passage. JSON-encoding the * path/heading/text triple keeps the key plain text (no magic separator byte)
packages/shared/src/context.ts:73
↓ 1 callersFunctiondefaultTargetFor
(channel: FeedbackChannel)
packages/shared/src/feedback.ts:172
↓ 1 callersFunctiondeletePath
(path: string, recursive = false)
apps/web/src/api/files.ts:228
↓ 1 callersFunctiondoRebuild
()
apps/api/src/index/vaultIndex.ts:101
↓ 1 callersFunctionedgePath
A gentle quadratic arc between two points — softer than a straight line.
apps/web/src/components/KnowledgeGraph.tsx:47
↓ 1 callersFunctionensureContentRoot
(contentRoot: string)
apps/api/src/config.ts:34
↓ 1 callersMethodensureInsideRoot
(absolutePath: string)
apps/api/src/storage/pathResolver.ts:17
↓ 1 callersFunctionestimateCandidateTokens
Approximate the tokens a candidate contributes (its heading counts too).
packages/shared/src/context.ts:61
↓ 1 callersFunctionexcerptOf
A whitespace-collapsed, length-capped excerpt of a passage.
packages/shared/src/think.ts:86
↓ 1 callersFunctionextractBlockAnchorsFromNote
(raw: string)
packages/shared/src/blocks.ts:249
↓ 1 callersFunctionfetchAudit
( params: { path?: string; limit?: number } = {}, )
apps/web/src/api/files.ts:148
↓ 1 callersFunctionfetchBacklinks
(path: string)
apps/web/src/api/files.ts:85
↓ 1 callersFunctionfetchGraph
()
apps/web/src/api/files.ts:92
↓ 1 callersFunctionfetchTree
(path = '')
apps/web/src/api/files.ts:73
↓ 1 callersFunctionfindHeadings
Find ATX headings in body order, skipping fenced (``` / ~~~) code blocks.
packages/shared/src/feedback.ts:283
↓ 1 callersFunctionfirstBodyLine
First non-empty body line of a note (heading marker stripped) — a fallback * display snippet for hits that have no exact match line and no semantic c
apps/api/src/routes/files.ts:900
↓ 1 callersFunctionfirstHeading
(body: string)
packages/shared/src/skills.ts:50
↓ 1 callersFunctionfirstParagraphLine
(body: string)
packages/shared/src/skills.ts:60
↓ 1 callersFunctionfixMarkdownFormat
(params: { apiKey: string; model: string; markdown: string; signal?: AbortSignal; })
apps/web/src/openrouter/client.ts:32
↓ 1 callersFunctionflattenFiles
(nodes: FileNode[])
apps/mcp/src/server.ts:97
↓ 1 callersFunctionflattenMarkdownPaths
(nodes: TreeNode[])
apps/api/src/index/vaultIndex.ts:43
↓ 1 callersFunctionflattenTree
(nodes: FileNode[], depth = 1)
apps/web/src/components/GlobalLayout.tsx:158
↓ 1 callersFunctionformatLesson
(pairing: FeedbackPairing, diff: FeedbackDiff)
packages/shared/src/feedback.ts:385
↓ 1 callersFunctionformatTimestamp
(ts: string)
apps/web/src/components/ActivityPanel.tsx:19
↓ 1 callersFunctiongenerateBlockId
Generate a short, URL-safe, ASCII block id.
packages/shared/src/blocks.ts:199
↓ 1 callersMethodget
(key: string)
apps/api/src/storage/idempotencyCache.ts:11
↓ 1 callersMethodgetRootPath
()
apps/api/src/storage/pathResolver.ts:13
↓ 1 callersFunctionhandleEventStream
( req: http.IncomingMessage, res: http.ServerResponse, eventBus: EventBus, )
apps/api/src/events/sse.ts:15
↓ 1 callersFunctionhandleItemDragLeave
(event: DragEvent<HTMLElement>, node: FileNode)
apps/web/src/components/GlobalLayout.tsx:420
↓ 1 callersFunctionhandleItemDragStart
(event: DragEvent<HTMLElement>, nodePath: string)
apps/web/src/components/GlobalLayout.tsx:370
↓ 1 callersFunctionhandleItemDrop
(event: DragEvent<HTMLElement>, node: FileNode)
apps/web/src/components/GlobalLayout.tsx:429
↓ 1 callersFunctionhandleOpenFileChangedOnDisk
(path: string)
apps/web/src/App.tsx:282
↓ 1 callersFunctionhandleScan
()
apps/web/src/components/MaintenancePanel.tsx:38
↓ 1 callersFunctionhandleSelectFile
(nextPath: string)
apps/web/src/App.tsx:215
↓ 1 callersFunctionhandleTopSave
()
apps/web/src/components/GlobalLayout.tsx:806
↓ 1 callersFunctionhybridSearch
(params: { query: string; limit?: number; })
apps/web/src/api/files.ts:133
↓ 1 callersFunctionidf
(term: string)
packages/shared/src/semantic.ts:273
↓ 1 callersFunctionidf
(term: string)
packages/shared/src/maintenance.ts:289
↓ 1 callersFunctioninstallMatchMedia
* Install a controllable `prefers-color-scheme` media query (jsdom has none). * Returns a `setDark` that flips the value and notifies listeners, so a
apps/web/src/components/__tests__/MarkdownPreviewPane.mermaid.test.tsx:24
↓ 1 callersFunctioninstallShutdownHandlers
(context: AppContext)
apps/mcp/src/server.ts:794
↓ 1 callersFunctionisIgnoredRelativePath
(relativePath: string)
apps/api/src/events/watcher.ts:32
↓ 1 callersFunctionlistener
()
apps/api/src/server.ts:141
↓ 1 callersFunctionload
()
apps/web/src/components/GraphView.tsx:30
↓ 1 callersFunctionloadMermaid
()
apps/web/src/components/MermaidDiagram.tsx:13
↓ 1 callersFunctionloadOpenRouterApiKey
()
apps/web/src/openrouter/storage.ts:15
↓ 1 callersFunctionloadOpenRouterModel
()
apps/web/src/openrouter/storage.ts:35
↓ 1 callersFunctionloadSynthesisConfig
()
apps/api/src/think/synthesize.ts:30
↓ 1 callersFunctionmain
()
apps/mcp/src/server.ts:805
↓ 1 callersFunctionmaybeSeedWelcome
Drop a friendly note in the vault on its very first launch so it isn't empty.
apps/mcp/src/server.ts:163
↓ 1 callersMethodmoveMarkdownFile
(fromLogicalPath: string, toLogicalPath: string)
apps/api/src/storage/fileRepository.ts:23
↓ 1 callersFunctionnewPlaybook
A fresh per-channel playbook, seeded with its first lesson (a `type: skill` note).
packages/shared/src/feedback.ts:406
↓ 1 callersFunctionnodeToText
(children: ReactNode)
apps/web/src/components/MarkdownPreviewPane.tsx:25
↓ 1 callersFunctionnodeType
* A note's declared frontmatter `type:`, normalized to lowercase, or undefined. * Read here (rather than via the schema module) so the graph stays a
packages/shared/src/graph.ts:158
↓ 1 callersMethodnormalizeLogicalPath
(logicalPath: string)
apps/api/src/storage/pathResolver.ts:16
↓ 1 callersFunctionparsePatchOp
(raw: unknown)
apps/api/src/routes/files.ts:572
↓ 1 callersFunctionproposal
(overrides: Partial<EditProposal>)
apps/web/src/components/__tests__/MaintenancePanel.test.tsx:13
↓ 1 callersFunctionpruneClaims
Drop de-dupe claims older than the window so the map can't grow unbounded.
apps/api/src/events/watcher.ts:94
↓ 1 callersFunctionpublishFeedbackProposal
Broadcast a `proposal_created` event for a feedback-loop-filed proposal.
apps/api/src/routes/files.ts:1650
↓ 1 callersFunctionpublishMaintenanceProposal
Broadcast a `proposal_created` event for a maintenance-filed proposal.
apps/api/src/routes/files.ts:1449
↓ 1 callersFunctionradiusFor
(node: GraphNode)
apps/web/src/components/KnowledgeGraph.tsx:139
← previousnext →201–300 of 473, ranked by callers