Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NeoLi00/memX
/ functions
Functions
2,243 in github.com/NeoLi00/memX
⨍
Functions
2,243
◇
Types & classes
47
↓ 11 callers
Method
nextMemoryEpoch
(agentId: string, updatedAt = nowIso())
src/db/client.ts:95
↓ 11 callers
Function
normalizedTerms
( text: string, params: { stopwords?: Set<string>; minLength?: number; includeCjkSubwords?: bo
src/support.ts:53
↓ 11 callers
Function
packet
(packetId, text, entityAliases = [])
tests/host-service-context.test.mjs:14
↓ 11 callers
Function
pushEntity
( name: string, type?: EntityType, aliases: string[] = [], )
src/pipeline/normalize.ts:2113
↓ 11 callers
Function
queryAnalysis
(query, answerMode = "single_fact")
tests/evidence-packet-selection.test.mjs:7
↓ 11 callers
Function
retrieveEvidence
( store: MemxStoreBundle, ctx: MemoryOperationContext, query: string, searchQuery = query, auditOpti
src/pipeline/retrieve.ts:5760
↓ 11 callers
Function
row
(id, text)
tests/host-service-context.test.mjs:4
↓ 11 callers
Function
runAutomaticMaintenanceBatch
( store: MemxStoreBundle, ctx: MemoryOperationContext, batch: MaintenanceBatchMetadata, )
src/pipeline/maintenanceBatch.ts:18
↓ 11 callers
Function
snapshotMemoryLlmBudgetAudit
( audit: MemoryLlmBudgetAudit | undefined, )
src/pipeline/llmBudgetAudit.ts:57
↓ 10 callers
Function
buildMemoryObject
(params: { kind: MemoryObjectKind; row: EvidenceRow; objective: MemorySelectionObjective; attrs?: Memo
src/pipeline/memoryObjects.ts:999
↓ 10 callers
Function
configFor
(dbPath)
tests/lifecycle-regressions.test.mjs:29
↓ 10 callers
Method
deleteDocs
(docIds: string[])
src/db/repositories/vectorRepo.ts:92
↓ 10 callers
Function
focusEvidenceRows
(rows: T[], terms: string[])
src/host/service.ts:769
↓ 10 callers
Function
handleMcpRequest
( request: JsonRpcRequest, deps: MemxMcpHandlerDeps = {}, )
src/host/mcpProtocol.ts:237
↓ 10 callers
Method
isEnabled
()
src/pipeline/reasoner.ts:3913
↓ 10 callers
Function
isProjectProfileStateKey
(key: string)
src/pipeline/projectIdentity.ts:244
↓ 10 callers
Function
isQuestionLike
(text: string)
src/pipeline/semantic/heuristics.ts:148
↓ 10 callers
Method
listDocs
(params: { agentId: string; scopes: string[]; limit?: number; readEpoch?: number; docKinds
src/db/repositories/vectorRepo.ts:161
↓ 10 callers
Method
listSemanticWriteJobs
(params: { agentId: string; sessionKey?: string; statuses?: SemanticWriteJobStatus[]; limit?:
src/db/repositories/auditRepo.ts:255
↓ 10 callers
Function
recordSignal
( store: MemxStoreBundle, ctx: Pick<MemoryOperationContext, "agentId" | "sessionKey" | "now" | "scopes">,
src/pipeline/signalLedger.ts:43
↓ 10 callers
Function
runStandaloneMemxQuickstart
( rawOptions: StandaloneMemxQuickstartOptions, deps: StandaloneQuickstartDeps = {}, )
src/host/standaloneQuickstart.ts:1041
↓ 10 callers
Method
toEntity
(row: EntityRow)
src/db/repositories/graphRepo.ts:878
↓ 10 callers
Method
update
(taskId: string, patch: Partial<ConversationTask>)
src/db/repositories/taskRepo.ts:55
↓ 10 callers
Method
upsertDocs
(docs: VectorDocRecord[])
src/db/repositories/vectorRepo.ts:45
↓ 10 callers
Method
withTransaction
(run: () => T)
src/db/client.ts:76
↓ 9 callers
Function
describeStateValue
(key: string, valueJson: Record<string, unknown>)
src/pipeline/memoryObjectsHelpers.ts:234
↓ 9 callers
Function
evidenceShapeFitScore
( queryAnalysis: QueryCompileResult, entry: PromptEvidenceCandidate, shapes: EvidenceShape[], )
src/pipeline/evidenceAssembler.ts:892
↓ 9 callers
Function
evidenceSlotRequiredRole
( slot: QueryEvidenceSlot | undefined, )
src/pipeline/evidenceAssembler.ts:79
↓ 9 callers
Function
getSemanticDraft
(candidate: ClassifiedCandidate)
src/pipeline/normalize.ts:1434
↓ 9 callers
Function
isProcessAlive
(pid: number | undefined)
src/host/serviceManager.ts:79
↓ 9 callers
Function
lexicalSearchTerms
(text: string, maxTerms = 64)
src/search/lexical.ts:20
↓ 9 callers
Method
observe
(input: unknown)
src/host/service.ts:1055
↓ 9 callers
Function
parseTurnIds
(raw: string)
src/db/repositories/maintenanceRepo.ts:68
↓ 9 callers
Function
queryContextSupportScore
( queryAnalysis: QueryCompileResult, entry: PromptEvidenceCandidate, )
src/pipeline/evidenceAssembler.ts:1615
↓ 9 callers
Function
requestedAttributeSlotsFromText
(...values: Array<string | undefined>)
src/pipeline/attributeSlots.ts:202
↓ 9 callers
Function
resolveScope
( scope: string | undefined, config: MemoryPluginConfig, ctx: NonNullable<ReturnType<typeof buildOperati
src/plugin-tools.ts:31
↓ 9 callers
Method
search
(params: { agentId: string; scopes: string[]; sessionKey?: string; text?: string; eventTyp
src/db/repositories/eventRepo.ts:125
↓ 9 callers
Function
stringValue
(value: unknown)
src/pipeline/memoryObjects.ts:1292
↓ 8 callers
Function
add
(layer: EvidencePlanLayer)
src/pipeline/queryCompiler.ts:1049
↓ 8 callers
Function
buildFact
(params: { ctx: MemoryOperationContext; candidate: ClassifiedCandidate; subject: string; predicate: st
src/pipeline/normalize.ts:575
↓ 8 callers
Function
buildSourceRef
(candidate: ClassifiedCandidate)
src/pipeline/write.ts:77
↓ 8 callers
Method
context
(request: MemxRecallRequest)
src/host/service.ts:1292
↓ 8 callers
Method
currentMemoryEpoch
(agentId: string)
src/db/client.ts:88
↓ 8 callers
Method
embedTextsBatch
()
src/search/backends/ftsBackend.ts:93
↓ 8 callers
Function
formatFactLine
(params: { subject: string; predicate: string; object?: string; objectValueJson?: Record<string, unkno
src/pipeline/memoryObjectsHelpers.ts:365
↓ 8 callers
Function
idAfterPrefix
(value: string | undefined, prefix: string)
src/pipeline/signalLedger.ts:448
↓ 8 callers
Function
isProcessAlive
(pid: number | undefined)
src/search/backends/embeddingBackend.ts:162
↓ 8 callers
Function
maxHintConfidence
(values: Array<number | undefined>)
src/pipeline/policy.ts:258
↓ 8 callers
Function
minimalConfig
()
tests/llm-only-entities.test.mjs:21
↓ 8 callers
Function
normalizedPromptEvidenceSourceRefs
(entry: PromptEvidenceCandidate)
src/pipeline/retrieve.ts:3426
↓ 8 callers
Function
promptEvidenceAuthorityRank
(candidate: PromptEvidenceCandidate)
src/pipeline/retrieve.ts:1747
↓ 8 callers
Function
promptEvidenceScoringText
(candidate: PromptEvidenceCandidate)
src/pipeline/retrieve.ts:1101
↓ 8 callers
Function
readJson
(relativePath)
tests/multi-agent-adapters.test.mjs:12
↓ 8 callers
Function
sanitizeTaskMetadata
( metadata: Record<string, unknown> | undefined, params?: { currentProject?: string; knownProjects
src/pipeline/authority.ts:162
↓ 8 callers
Function
shouldSuppressRecallText
(text: string)
src/pipeline/memoryObjectsHelpers.ts:185
↓ 8 callers
Function
sourceRefsAdjacent
(leftRefs: string[], rightRefs: string[], maxDistance = 2)
src/pipeline/evidenceAssembler.ts:246
↓ 8 callers
Function
surfaceTypeMatches
(surface: CandidateSurface, hit: SearchHit)
src/pipeline/candidateGeneration.ts:245
↓ 8 callers
Function
toSparseTf
(features: string[])
src/pipeline/semantic/textSimilarity.ts:24
↓ 8 callers
Function
trimGraphHypothesisName
(value: string)
src/pipeline/abstractionJobs.ts:595
↓ 8 callers
Function
uniqueSearchQueries
(values: string[], limit = 12)
src/pipeline/candidateGeneration.ts:1462
↓ 8 callers
Function
writeAtomic
(path: string, text: string)
src/host/standaloneQuickstart.ts:367
↓ 7 callers
Function
average
(values: number[])
src/pipeline/strategyHypotheses.ts:88
↓ 7 callers
Function
canonicalTargetContentRef
( contentRef: string | undefined, semanticKey: string, )
src/pipeline/beliefAggregation.ts:518
↓ 7 callers
Function
compileTurnSemantics
( params: CompileTurnSemanticsParams, )
src/pipeline/turnSemanticCompiler.ts:648
↓ 7 callers
Function
countTable
( store: Awaited<ReturnType<MemxRuntimeManager["getStore"]>>, table: string, )
src/plugin-tools.ts:45
↓ 7 callers
Function
countTable
(store: MemxStoreBundle, table: string)
src/host/service.ts:240
↓ 7 callers
Function
createLogger
()
tests/local-embedding-worker.test.mjs:13
↓ 7 callers
Function
debug
(message: string)
src/host/hookRunner.ts:468
↓ 7 callers
Method
finishSemanticWriteAttempt
(params: { agentId: string; sessionKey?: string; turnId: string; jobType?: SemanticWriteJobRec
src/db/repositories/auditRepo.ts:216
↓ 7 callers
Method
getDoc
(docId: string, readEpoch?: number)
src/db/repositories/vectorRepo.ts:288
↓ 7 callers
Function
hasSemanticDraftFamily
( candidate: ClassifiedCandidate, family: TurnSemanticAssertionFamilyHint, )
src/pipeline/normalize.ts:1460
↓ 7 callers
Function
maintenanceKey
(agentId: string, dbPath: string, sessionKey: string)
src/runtime.ts:55
↓ 7 callers
Function
metadataString
(value: unknown)
src/pipeline/memoryObjects.ts:118
↓ 7 callers
Function
metadataStringArray
(metadata: Record<string, unknown> | undefined, key: string)
src/pipeline/retrieve.ts:2288
↓ 7 callers
Function
normalizeCandidate
( candidate: ClassifiedCandidate, ctx: MemoryOperationContext, )
src/pipeline/normalize.ts:2007
↓ 7 callers
Function
normalizeSearchText
(text: string)
src/pipeline/memoryObjectsHelpers.ts:181
↓ 7 callers
Function
projectAliasVariants
(value: string)
src/pipeline/projectIdentity.ts:197
↓ 7 callers
Function
promptEvidenceSlotRoleForCandidate
( queryAnalysis: RecallQueryAnalysis, candidate: PromptEvidenceCandidate, )
src/pipeline/retrieve.ts:1952
↓ 7 callers
Method
recordTrace
(entry: Omit<ReasonerTraceEntry, "at">)
src/pipeline/reasoner.ts:3903
↓ 7 callers
Function
scopeVarsForContext
(input: { agentId?: string; sessionKey?: string; project?: string; workspaceDir?: string; })
src/security/scopes.ts:12
↓ 7 callers
Function
selectionObjectiveForRoute
( routeType: MemoryPrimaryRouteType, query: string, now: string, currentSessionKey?: string, )
src/pipeline/retrieve.ts:5484
↓ 6 callers
Function
addDays
(iso: string, days: number)
src/pipeline/beliefAggregation.ts:122
↓ 6 callers
Function
asEnvelopeContext
( config: MemoryPluginConfig, envelope: Pick<MemxTurnEnvelope, "actorId" | "sessionId" | "hostId" | "works
src/host/service.ts:223
↓ 6 callers
Function
assessAssistantChunk
( chunk: ConversationChunk, taskChunks: ConversationChunk[], )
src/pipeline/sourceWeighting.ts:96
↓ 6 callers
Function
backgroundBeliefPriority
(belief?: MemoryBeliefRecord)
src/pipeline/memoryObjects.ts:979
↓ 6 callers
Function
beliefBudgetPriority
( entry: Pick<ScheduledMemoryObject, "object" | "objectiveScore">, )
src/pipeline/memoryObjects.ts:2673
↓ 6 callers
Function
beliefTargetKey
(params: { memoryKind: MemoryBeliefKind; contentRef?: string; semanticKey: string; })
src/pipeline/beliefAggregation.ts:773
↓ 6 callers
Function
buildMaintenanceContractMetadata
(params: { existing?: Record<string, unknown>; sourceRef?: string; supportContentRefs?: string[]; supp
src/pipeline/maintenanceContract.ts:153
↓ 6 callers
Function
buildVectorDoc
(params: { kind: VectorDocRecord["docKind"]; sourceId: string; scope: string; agentId: string; text:
src/pipeline/normalize.ts:1932
↓ 6 callers
Function
buildVectorDocMetadata
(params: { docType: string; confidence: number; observedAt: string; lineage: LineageRef; extra?: Rec
src/pipeline/vectorDocMetadata.ts:87
↓ 6 callers
Function
cachedHybridSearch
( store: MemxStoreBundle, ctx: MemoryOperationContext, params: RetrievalSearchParams, )
src/pipeline/candidateGeneration.ts:104
↓ 6 callers
Function
canonicalAttributeSlot
(value: string | undefined)
src/pipeline/attributeSlots.ts:126
↓ 6 callers
Function
chunk
(turnId, seq, role, content, summary = "")
tests/llm-only-entities.test.mjs:469
↓ 6 callers
Function
cleanPromptEvidenceText
(text: string)
src/pipeline/retrieve.ts:1580
↓ 6 callers
Function
containsLikelySecret
(text: string)
src/security/injection.ts:66
↓ 6 callers
Function
createServiceConfigFromEnv
(env: NodeJS.ProcessEnv = process.env)
src/host/service.ts:195
↓ 6 callers
Function
directFactQueryAnalysis
(query, subject, relation)
tests/lifecycle-regressions.test.mjs:73
↓ 6 callers
Function
envBooleanOverride
(name: string, current: boolean)
src/config.ts:450
↓ 6 callers
Function
evidenceGoalQuerySemanticSupport
( queryAnalysis: RecallQueryAnalysis, text: string, )
src/pipeline/retrieve.ts:995
↓ 6 callers
Function
factConfirmationKey
(preference: MemoryCandidatePreferenceHint)
src/pipeline/consolidate.ts:235
← previous
next →
101–200 of 2,243, ranked by callers