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
↓ 4 callers
Function
buildPromotionMetadata
( candidate: AbstractionCandidateRecord, params: { targetKind: "event" | "graph" | "state" | "strategy
src/pipeline/abstractionPromotion.ts:115
↓ 4 callers
Function
buildTurnSemanticCompilerInput
( messages: TurnCaptureMessage[], referenceContext?: TurnSemanticReferenceContext, )
src/pipeline/turnSemanticCompiler.ts:244
↓ 4 callers
Function
callBody
(args: Record<string, unknown>, extra?: Record<string, unknown>)
src/host/mcpProtocol.ts:170
↓ 4 callers
Function
candidateRetrievalScore
(entry: PromptEvidenceCandidate)
src/pipeline/evidenceAssembler.ts:1128
↓ 4 callers
Function
candidateTurnIndex
(candidate: ClassifiedCandidate)
src/pipeline/write.ts:219
↓ 4 callers
Function
captureAgentEndTurn
(params: CaptureParams)
src/pipeline/turnCapture.ts:82
↓ 4 callers
Function
clampMessageWindow
( content: string, start: number, end: number, )
src/pipeline/turnSemanticCompiler.ts:114
↓ 4 callers
Function
clampWindow
(query: string, start: number, end: number)
src/pipeline/queryCompiler.ts:180
↓ 4 callers
Function
cleanupStaleLocalEmbeddingWorkers
(params: { registryDir?: string; logger?: MemxLogger; currentPid?: number; legacyStateDirs?: string[];
src/search/backends/embeddingBackend.ts:380
↓ 4 callers
Method
close
()
src/host/service.ts:989
↓ 4 callers
Function
collapseRepeatedLeadingSentence
(text: string)
src/pipeline/retrieve.ts:1557
↓ 4 callers
Function
contentStructuralComplexity
(text: string)
src/pipeline/sourceWeighting.ts:15
↓ 4 callers
Function
cosineFromSparse
(left: Map<string, number>, right: Map<string, number>)
src/pipeline/semantic/textSimilarity.ts:61
↓ 4 callers
Method
create
(task: ConversationTask)
src/db/repositories/taskRepo.ts:22
↓ 4 callers
Function
currentSourceEpoch
(store: MemxStoreBundle, ctx: MemoryOperationContext)
src/pipeline/abstractionPromotion.ts:30
↓ 4 callers
Function
dedupeById
( items: T[], getId: (item: T) => string, )
src/pipeline/write.ts:504
↓ 4 callers
Function
deriveAnswerMode
(query: string, queryShape: RecallQueryShape)
src/pipeline/queryCompiler.ts:876
↓ 4 callers
Function
deriveNativeHookBudget
(hookTimeoutMs: number)
src/timeouts.ts:34
↓ 4 callers
Function
directCausalExplanationScore
( queryAnalysis: QueryCompileResult, entry: PromptEvidenceCandidate, )
src/pipeline/evidenceAssembler.ts:1504
↓ 4 callers
Function
effectiveSlotRequiredRole
( slot: QueryEvidenceSlot, )
src/pipeline/queryCompiler.ts:1941
↓ 4 callers
Function
emitWriteSignal
( store: MemxStoreBundle, ctx: Pick<MemoryOperationContext, "agentId" | "sessionKey" | "now" | "scopes">,
src/pipeline/signalLedger.ts:315
↓ 4 callers
Function
ensureGraphEdge
( edges: Map<string, GraphEvidenceEdge>, edge: GraphEvidenceEdge, )
src/pipeline/memoryObjects.ts:1842
↓ 4 callers
Function
ensureGraphNode
( nodes: Map<string, GraphEvidenceNode>, node: GraphEvidenceNode, )
src/pipeline/memoryObjects.ts:1830
↓ 4 callers
Method
expandNeighborhood
(params: { agentId: string; scopes: string[]; seedEntityIds: string[]; maxHops: number; ma
src/db/repositories/graphRepo.ts:740
↓ 4 callers
Function
extractTokens
(value: string)
src/pipeline/semantic/textSimilarity.ts:16
↓ 4 callers
Function
factSupportSourceRefs
(fact: NormalizedFact)
src/pipeline/retrieve.ts:509
↓ 4 callers
Function
filledSlotIdsForText
(queryAnalysis: RecallQueryAnalysis, text: string)
src/pipeline/retrieve.ts:1353
↓ 4 callers
Function
finalizeDecision
(params: { candidate: MemoryCandidate; ctx: MemoryOperationContext; explicitIntent: boolean; proposedA
src/pipeline/policy.ts:567
↓ 4 callers
Method
findBySemanticKey
(params: { agentId: string; scope: string; canonicalSubject: string; predicate: string; in
src/db/repositories/factRepo.ts:308
↓ 4 callers
Function
focusRecallBundleForQueryEntities
( queryAnalysis: Pick<QueryCompileResult, "queryEntities">, bundle: EvidenceBundle, )
src/host/service.ts:786
↓ 4 callers
Function
frameHintsForSourceRef
( frame: TurnSemanticFrame | undefined, sourceRef: string, )
src/pipeline/turnSemanticCompiler.ts:588
↓ 4 callers
Method
getSessionCursor
(agentId: string, sessionKey: string)
src/runtime.ts:180
↓ 4 callers
Method
getState
(agentId: string, sessionKey: string)
src/db/repositories/maintenanceRepo.ts:175
↓ 4 callers
Function
graphSeedSpecificity
(name: string)
src/pipeline/memoryObjects.ts:1336
↓ 4 callers
Function
guidanceTextFromFact
(fact: NormalizedFact)
src/pipeline/memoryObjects.ts:360
↓ 4 callers
Method
handleEmbeddingFailure
(error: unknown, message: string)
src/search/backends/embeddingBackend.ts:983
↓ 4 callers
Function
hasResourceAffordanceBridge
(metadata: Record<string, unknown> | undefined)
src/pipeline/candidateGeneration.ts:1667
↓ 4 callers
Method
hybridSearch
(params: RetrievalSearchParams)
src/search/backends/ftsBackend.ts:89
↓ 4 callers
Function
informativePromptAnchors
(anchors: string[])
src/pipeline/retrieve.ts:969
↓ 4 callers
Function
isEntityScopedSemanticKey
(semanticKey: string)
src/pipeline/beliefAggregation.ts:509
↓ 4 callers
Function
jsonResponse
(id: JsonRpcRequest["id"], result: unknown)
src/host/mcpProtocol.ts:156
↓ 4 callers
Function
keyFor
(candidate: PromptEvidenceCandidate)
src/pipeline/retrieve.ts:2873
↓ 4 callers
Function
killProcessBestEffort
(pid: number, signal: NodeJS.Signals)
src/search/backends/embeddingBackend.ts:189
↓ 4 callers
Function
lineageFromMetadata
( metadata: Record<string, unknown> | undefined, fallback?: Partial<LineageRef>, )
src/pipeline/memoryObjectsHelpers.ts:101
↓ 4 callers
Function
logger
()
tests/maintenance-resume.test.mjs:14
↓ 4 callers
Function
looksLikeProjectDescriptor
(value: string)
src/pipeline/projectIdentity.ts:179
↓ 4 callers
Function
meaningfulQueryTerms
(query: string)
src/pipeline/queryCompiler.ts:862
↓ 4 callers
Function
mergeProjectProfileValue
( base: Record<string, unknown> | undefined, update: Record<string, unknown>, )
src/pipeline/normalize.ts:400
↓ 4 callers
Function
mergeStringArrays
( existing: Record<string, unknown> | undefined, key: string, next: string[], )
src/pipeline/maintenanceContract.ts:32
↓ 4 callers
Function
metadataStringArray
(metadata: Record<string, unknown> | undefined, key: string)
src/pipeline/evidenceAssembler.ts:1087
↓ 4 callers
Function
missingRequiredAfterContext
( entry: PromptEvidenceCandidate, contextCandidates: PromptEvidenceCandidate[], )
src/pipeline/evidenceAssembler.ts:990
↓ 4 callers
Function
normalizeCompiledTurnSemanticPatch
( messages: TurnCaptureMessage[], patch: Partial<TurnSemanticFrame>, )
src/pipeline/reasoner.ts:1956
↓ 4 callers
Function
normalizeGraphRelationType
(value: string)
src/pipeline/semantic/heuristics.ts:152
↓ 4 callers
Function
normalizeHookPayload
( hostId: string, eventName: string, payload: Record<string, unknown>, )
src/host/hookPayload.ts:107
↓ 4 callers
Function
normalizePlanLayers
( layers: unknown, fallbackLayers: EvidencePlanLayer[], limit = 12, )
src/pipeline/queryCompiler.ts:1028
↓ 4 callers
Function
normalizeSessionPart
(part: string)
src/pipeline/retrieve.ts:2787
↓ 4 callers
Function
normalizeSessionPart
(part: string)
src/pipeline/evidenceAssembler.ts:197
↓ 4 callers
Function
normalizeSlotText
(value: string)
src/pipeline/attributeSlots.ts:97
↓ 4 callers
Function
orderByScore
(items: T[])
src/support.ts:169
↓ 4 callers
Function
packetHasSoftPenalty
(packet: EvidencePacket, reason: string)
src/pipeline/evidenceAssembler.ts:3011
↓ 4 callers
Function
packetQueryAnchorCoverage
(packet: EvidencePacket, terms: string[])
src/host/service.ts:648
↓ 4 callers
Function
pendingPath
( envelope: Pick<MemxTurnEnvelope, "hostId" | "actorId" | "sessionId" | "workspaceDir">, config: HookRunti
src/host/hookRunner.ts:245
↓ 4 callers
Function
positiveNumberSetting
(value: unknown)
src/host/hookRunner.ts:57
↓ 4 callers
Function
primaryCandidateRowsForSurface
( result: CandidateGenerationResult, surface: CandidateHit["surface"], options?: { store: MemxStoreB
src/pipeline/retrieve.ts:615
↓ 4 callers
Function
primaryRouteFromWeights
( routeWeights: Partial<Record<MemoryPrimaryRouteType, number>>, )
src/pipeline/queryCompiler.ts:443
↓ 4 callers
Function
prioritizeCandidateRowsForMainSurface
( rows: EvidenceRow[], queryAnchors: string[], limit: number, )
src/pipeline/retrieve.ts:645
↓ 4 callers
Function
projectionBlock
( role: WorkingProjectionRole, title: string, lines: string[], sourceIds: string[], )
src/pipeline/memoryObjectsProjection.ts:20
↓ 4 callers
Function
promptEvidenceAnswerSpecificity
( queryAnalysis: RecallQueryAnalysis, candidate: PromptEvidenceCandidate, )
src/pipeline/retrieve.ts:1684
↓ 4 callers
Function
promptEvidenceRole
( candidate: PromptEvidenceCandidate, )
src/pipeline/retrieve.ts:1642
↓ 4 callers
Function
promptMetadataStringArray
( metadata: Record<string, unknown> | undefined, key: string, )
src/pipeline/retrieve.ts:1059
↓ 4 callers
Function
push
(value: string | undefined)
src/pipeline/entityAliases.ts:23
↓ 4 callers
Function
pushTurnWindow
( prefix: string[], turn: number, suffixes: string[] = [], userPrefix?: string[], turnTemp
src/pipeline/retrieve.ts:2374
↓ 4 callers
Function
queryEchoScore
(queryAnalysis: QueryCompileResult, text: string)
src/pipeline/evidenceAssembler.ts:760
↓ 4 callers
Function
readJson
(path: string)
src/host/standaloneQuickstart.ts:360
↓ 4 callers
Function
readString
(record: Record<string, unknown>, keys: string[])
src/host/transcript.ts:41
↓ 4 callers
Method
recordPendingTurn
(params: { agentId: string; sessionKey: string; turnId: string; observedAt: string; update
src/db/repositories/maintenanceRepo.ts:209
↓ 4 callers
Method
recordPolicyDecision
(params: { agentId: string; sessionKey?: string; sourceRef: string; candidateText: string;
src/db/repositories/auditRepo.ts:24
↓ 4 callers
Method
recordSemanticWriteAttemptStart
(params: { agentId: string; sessionKey?: string; scope: string; turnId: string; jobType?:
src/db/repositories/auditRepo.ts:149
↓ 4 callers
Function
refsForUnit
(unit: EvidenceUnit)
src/pipeline/evidenceAssembler.ts:538
↓ 4 callers
Method
rememberStagedRecallableTurn
( ctx: Pick<MemoryOperationContext, "agentId" | "dbPath" | "sessionKey" | "workspaceDir">, messages: T
src/runtime.ts:212
↓ 4 callers
Function
resolvePatchSourceRef
(value: unknown)
src/pipeline/reasoner.ts:1969
↓ 4 callers
Function
resourceMetadata
(assertion: MemoryResourceAssertionHint)
src/pipeline/normalize.ts:671
↓ 4 callers
Function
rewriteProjectName
(value: string, allowDescriptorAlias = false)
src/pipeline/write.ts:569
↓ 4 callers
Function
routeModerateThreshold
( route: MemoryPrimaryRouteType, thresholds: RecallProbeThresholds, )
src/pipeline/retrieve.ts:4238
↓ 4 callers
Function
rowsFromSearchHits
(hits: SearchHit[])
src/pipeline/memoryObjectsHelpers.ts:194
↓ 4 callers
Function
runOpenClawQuickstart
( rawOptions: OpenClawQuickstartOptions, deps: QuickstartDeps = {}, )
src/host/quickstart.ts:474
↓ 4 callers
Function
runtimePositiveInt
( envValue: string | undefined, configValue: number | undefined, fallback: number, )
src/host/hookRunner.ts:226
↓ 4 callers
Function
sanitizeTaskMetadataValue
( key: TaskMetadataKey, value: unknown, params?: { currentProject?: string; knownProjects?: stri
src/pipeline/authority.ts:145
↓ 4 callers
Method
scheduleIdleFlush
(store: MemxStoreBundle, template: MaintenanceContextTemplate)
src/runtime.ts:303
↓ 4 callers
Function
selectAgentEndMessagesForCapture
(params: { messages: unknown[]; ctx: AgentEndContext; cursors: AgentEndCursorStore; agentId: string;
src/pipeline/agentEndMessages.ts:39
↓ 4 callers
Function
semanticTaskSummaryText
(task: { summary: string; metadataJson?: Record<string, unknown>; })
src/pipeline/taskSummary.ts:122
↓ 4 callers
Function
shouldRetrySemanticCompile
(options: ReasonerCallAuditOptions)
src/pipeline/reasoner.ts:83
↓ 4 callers
Function
slotSubjectQueryVariants
(hints: string[])
src/pipeline/candidateGeneration.ts:1490
↓ 4 callers
Function
sourceReliabilityFromMarker
(marker: string | undefined)
src/pipeline/beliefAggregation.ts:133
↓ 4 callers
Function
stringifyTurnIds
(turnIds: string[])
src/db/repositories/maintenanceRepo.ts:79
↓ 4 callers
Method
summarizeChunk
( text: string, role: ConversationChunk["role"] = "user", options: ReasonerCallAuditOptions & { al
src/pipeline/reasoner.ts:2677
↓ 4 callers
Function
surfaceSimilarity
(left: string, right: string)
src/pipeline/semantic/textSimilarity.ts:134
↓ 4 callers
Function
targetGroupKey
(params: { memoryKind: MemoryBeliefKind; contentRef?: string; semanticKey: string; })
src/pipeline/beliefAggregation.ts:525
↓ 4 callers
Function
taskMetadataValue
(task: { metadataJson?: Record<string, unknown> }, key: string)
src/pipeline/retrieve.ts:374
↓ 4 callers
Function
taskProject
(task: { metadataJson?: Record<string, unknown> })
src/pipeline/retrieve.ts:379
← previous
next →
301–400 of 2,243, ranked by callers