MCPcopy Create free account

hub / github.com/NeoLi00/memX / functions

Functions2,243 in github.com/NeoLi00/memX

↓ 299 callersFunctionclamp01
(value: number)
src/support.ts:122
↓ 255 callersMethodget
(factId: string)
src/db/repositories/factRepo.ts:225
↓ 227 callersFunctionnormalizeText
(text: string)
src/support.ts:33
↓ 211 callersFunctiontruncateText
(text: string, maxChars: number)
src/support.ts:90
↓ 186 callersMethodprepare
(sql: string)
src/db/client.ts:68
↓ 146 callersFunctionBoolean
()
src/tooling.ts:13
↓ 102 callersFunctionString
()
src/tooling.ts:7
↓ 79 callersFunctionstableHash
(parts: Array<string | undefined | null>)
src/support.ts:18
↓ 76 callersFunctionnormalizeName
(value: string)
src/support.ts:135
↓ 69 callersFunctionobjectRecord
(value: unknown)
src/support.ts:269
↓ 64 callersFunctionreadOption
(argv: string[], name: string)
src/bin/memx.ts:29
↓ 60 callersFunctionsemanticTextSimilarity
(left: string, right: string)
src/pipeline/semantic/textSimilarity.ts:275
↓ 59 callersFunctionNumber
()
src/tooling.ts:10
↓ 45 callersMethodgetStore
(ctx: MemoryOperationContext)
src/runtime.ts:129
↓ 45 callersFunctionuniqueNonEmpty
(values: string[], limit = 8)
src/pipeline/queryCompiler.ts:810
↓ 44 callersFunctionuniqueNonEmpty
( values: Array<string | null | undefined>, limit = Number.POSITIVE_INFINITY, )
src/pipeline/retrieve.ts:383
↓ 43 callersMethodclose
()
src/db/client.ts:114
↓ 43 callersMethodexec
(sql: string)
src/db/client.ts:72
↓ 43 callersFunctionnowIso
(date = new Date())
src/support.ts:10
↓ 39 callersFunctionasNumber
( raw: unknown, fallback: number, issues: ValidationIssue[], path: string, opts: { min?: number; max
src/config.ts:494
↓ 39 callersFunctionsafeJsonParse
(value: string | null | undefined, fallback: T)
src/support.ts:111
↓ 37 callersFunctionjsonToolResult
(payload: unknown)
src/tooling.ts:46
↓ 36 callersFunctionoperationType
(queryAnalysis: QueryCompileResult)
src/pipeline/evidenceAssembler.ts:75
↓ 34 callersMethodflush
()
src/pipeline/turnScheduler.ts:647
↓ 32 callersFunctioncount
(table: string)
src/cli/registerCli.ts:544
↓ 31 callersMethodenqueue
(ctx: MemoryOperationContext, messages: TurnCaptureMessage[])
src/pipeline/turnScheduler.ts:630
↓ 31 callersFunctionlogger
()
tests/lifecycle-regressions.test.mjs:20
↓ 30 callersFunctionreadString
(params: Record<string, unknown>, key: string)
src/tooling.ts:53
↓ 30 callersFunctionuniqueMaintenanceRefs
(values: Array<string | undefined | null>)
src/pipeline/maintenanceContract.ts:16
↓ 26 callersMethodcloseAll
()
src/runtime.ts:145
↓ 24 callersFunctionchunkCandidate
(query, overrides = {})
tests/evidence-packet-selection.test.mjs:83
↓ 24 callersFunctionminimalCtx
()
tests/llm-only-entities.test.mjs:31
↓ 23 callersFunctiondedupeEvidenceRows
(rows: EvidenceRow[], limit: number)
src/pipeline/memoryObjectsHelpers.ts:164
↓ 23 callersFunctionstringValue
(value: unknown)
src/pipeline/abstractionPromotion.ts:61
↓ 22 callersFunctioncompileQueryWithoutSemanticFallback
( query: string, reason = "llm-only-query-compiler-unavailable", )
src/pipeline/queryCompiler.ts:2502
↓ 22 callersFunctionctxFor
(dbPath)
tests/lifecycle-regressions.test.mjs:49
↓ 22 callersFunctionreadString
(record: Record<string, unknown>, keys: string[])
src/host/hookPayload.ts:24
↓ 22 callersFunctiontrimOrUndefined
(value: string | undefined)
src/host/standaloneQuickstart.ts:138
↓ 21 callersFunctionaverage
(values: number[])
src/pipeline/abstractionJobs.ts:282
↓ 21 callersFunctionfilterBootstrapRows
(rows: T[])
src/pipeline/bootstrapFilter.ts:48
↓ 20 callersFunctionrandomId
(prefix: string)
src/support.ts:14
↓ 19 callersFunctionasBoolean
(raw: unknown, fallback: boolean)
src/config.ts:511
↓ 19 callersFunctionnormalizeSourceRefs
(refs: unknown)
src/pipeline/sourceRefs.ts:120
↓ 19 callersFunctionrunHook
(eventName, payload)
tests/multi-agent-adapters.test.mjs:442
↓ 19 callersFunctionstringProp
(description: string)
src/host/mcpProtocol.ts:37
↓ 19 callersFunctionstringValue
(value: unknown)
src/pipeline/abstractionJobs.ts:301
↓ 19 callersFunctiontextMentionsFocusEntity
(text: string | undefined, terms: string[])
src/host/service.ts:500
↓ 18 callersFunctiontrimOrUndefined
(value: string | undefined)
src/host/quickstart.ts:122
↓ 18 callersFunctiontruthyString
(value: unknown)
src/pipeline/strategyHypotheses.ts:95
↓ 17 callersFunctioncompileQuery
(params: QueryCompileParams)
src/pipeline/queryCompiler.ts:2758
↓ 17 callersFunctionrecordMemoryLlmBudgetCall
( audit: MemoryLlmBudgetAudit | undefined, entry: Omit<MemoryLlmBudgetCall, "at"> & { at?: string }, )
src/pipeline/llmBudgetAudit.ts:23
↓ 17 callersFunctionstringArray
(value: unknown)
src/pipeline/maintenanceContract.ts:26
↓ 16 callersFunctionassessNativeContextEligibility
( query: string, queryAnalysis: QueryCompileResult, bundle: EvidenceBundle, )
src/host/service.ts:900
↓ 16 callersFunctionbuildOperationContext
( config: MemoryPluginConfig, actor: PluginActorContext, overrides?: { now?: string }, )
src/runtime.ts:89
↓ 16 callersMethoddelete
(params: { agentId: string; scope?: string; key?: string })
src/db/repositories/stateRepo.ts:98
↓ 16 callersFunctionevidenceCoverageForText
( queryAnalysis: QueryCompileResult, text: string, )
src/pipeline/evidenceCoverage.ts:52
↓ 16 callersFunctionresolveEntityMention
( store: MemxStoreBundle, ctx: MemoryOperationContext, mention: EntityMention, options: ResolveOptions
src/pipeline/entityResolver.ts:487
↓ 16 callersFunctionstringValue
(value: unknown)
src/pipeline/stateLifecycle.ts:280
↓ 15 callersFunctionassembleEvidencePackets
(input: EvidenceAssemblerInput)
src/pipeline/evidenceAssembler.ts:3731
↓ 15 callersFunctionbuildEntityMention
(params: BuildEntityMentionParams)
src/pipeline/entityResolver.ts:455
↓ 15 callersFunctioncountByAgent
(table: string, column = "agent_id")
src/cli/registerCli.ts:583
↓ 15 callersFunctionentryKey
(entry: PromptEvidenceCandidate)
src/pipeline/evidenceAssembler.ts:275
↓ 15 callersFunctionhasFlag
(argv: string[], name: string)
src/bin/memx.ts:37
↓ 15 callersFunctioninferredSlotRole
( queryAnalysis: QueryCompileResult, entry: PromptEvidenceCandidate, )
src/pipeline/evidenceAssembler.ts:1040
↓ 15 callersMethodlistByAgent
(params: { agentId: string; limit?: number; readEpoch?: number })
src/db/repositories/beliefRepo.ts:96
↓ 15 callersFunctionslotFromHints
(params: { id: string; role?: QueryEvidenceSlot["role"]; requiredRole?: QueryEvidenceSlot["requiredRole"
src/pipeline/queryCompiler.ts:1218
↓ 15 callersFunctionsubjectUser
()
src/pipeline/normalize.ts:72
↓ 15 callersFunctiontoEvidenceRow
(params: { id: string; text: string; score: number; scope: string; confidence?: number; sourceRef?
src/pipeline/memoryObjectsHelpers.ts:17
↓ 14 callersFunctioncanonicalStateKey
(key: string)
src/pipeline/semantic/heuristics.ts:259
↓ 14 callersFunctiondedupeSearchHits
(hits: T[])
src/pipeline/candidateGeneration.ts:566
↓ 14 callersFunctionentryAuthorRole
( entry: PromptEvidenceCandidate, )
src/pipeline/evidenceAssembler.ts:281
↓ 14 callersFunctiontrimOrUndefined
(value: string | undefined)
src/host/uninstall.ts:66
↓ 14 callersFunctionwithStore
(params: { config: MemoryPluginConfig; appConfig: { agents?: { list?: Array<{ id?: string }> } }; manage
src/cli/registerCli.ts:515
↓ 13 callersFunctionbindingSourceRefsForEntry
(entry: PromptEvidenceCandidate)
src/pipeline/evidenceAssembler.ts:161
↓ 13 callersFunctiongetStore
()
src/plugin-tools.ts:67
↓ 13 callersMethodlistByTask
(taskId: string)
src/db/repositories/chunkRepo.ts:131
↓ 13 callersFunctionprojectCodeFromStateKey
(key: string)
src/pipeline/projectIdentity.ts:248
↓ 13 callersFunctionprojectIdentityKey
(value: string)
src/pipeline/projectIdentity.ts:165
↓ 13 callersFunctionresolutionResult
(params: { mention: EntityMention; entity: NormalizedEntity; method: EntityResolutionMethod; confidenc
src/pipeline/entityResolver.ts:260
↓ 13 callersFunctionsemanticDraftGateScores
( action: MemoryAction, hintConfidence: number | undefined, )
src/pipeline/policy.ts:266
↓ 13 callersFunctionshouldUseExactSnippetSupport
(queryAnalysis: QueryCompileResult)
src/pipeline/retrieve.ts:410
↓ 13 callersFunctionslotCoverageForText
( queryAnalysis: RecallQueryAnalysis, text: string, )
src/pipeline/retrieve.ts:1255
↓ 13 callersFunctionsourceRefsForEntry
(entry: PromptEvidenceCandidate)
src/pipeline/evidenceAssembler.ts:124
↓ 13 callersFunctionsourceRefsFromMaintenanceMetadata
( metadata: Record<string, unknown> | undefined, )
src/pipeline/maintenanceContract.ts:40
↓ 12 callersFunctionaverage
(values: number[])
src/pipeline/beliefAggregation.ts:95
↓ 12 callersMethodcountByAgent
(params: { agentId: string; stages?: AbstractionCandidateRecord["stage"][]; })
src/db/repositories/abstractionRepo.ts:151
↓ 12 callersMethodfinishMaintenance
(run: MaintenanceRunRecord)
src/db/repositories/auditRepo.ts:736
↓ 12 callersMethodgetEntityById
(entityId: string)
src/db/repositories/graphRepo.ts:228
↓ 12 callersFunctionhook
(eventName: string)
src/host/standaloneQuickstart.ts:641
↓ 12 callersFunctionmetadataNumber
( metadata: Record<string, unknown> | undefined, key: string, fallback = 0, )
src/pipeline/beliefAggregation.ts:441
↓ 12 callersFunctionpersistResolution
( store: MemxStoreBundle, ctx: MemoryOperationContext, result: EntityResolutionResult, )
src/pipeline/entityResolver.ts:391
↓ 12 callersFunctionqueryAnchorSupport
(text: string, anchors: string[])
src/pipeline/semantic/heuristics.ts:247
↓ 12 callersFunctionsplitLabelValue
(text: string)
src/pipeline/memoryObjectsHelpers.ts:6
↓ 12 callersFunctiontokenizeSearchTerms
(text: string, stopwords: Set<string>)
src/pipeline/semantic/heuristics.ts:89
↓ 12 callersMethodupsert
( fact: NormalizedFact, changeReason: string, )
src/db/repositories/factRepo.ts:360
↓ 11 callersFunctionfact
(id, text, relation, object)
tests/evidence-packet-selection.test.mjs:582
↓ 11 callersFunctioninformativePromptAnchorSupport
(text: string, anchors: string[])
src/pipeline/retrieve.ts:976
↓ 11 callersFunctionjson
(res: ServerResponse, status: number, payload: unknown)
src/host/httpServer.ts:9
↓ 11 callersMethodkeywordSearch
(params: { agentId: string; scopes: string[]; query: string; limit: number; readEpoch?: nu
src/db/repositories/vectorRepo.ts:106
↓ 11 callersFunctionmetadataString
(value: unknown)
src/pipeline/taskSummary.ts:57
next →1–100 of 2,243, ranked by callers