Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CheMiguel23/MemoryMesh
/ functions
Functions
214 in github.com/CheMiguel23/MemoryMesh
⨍
Functions
214
◇
Types & classes
113
Method
addNodes
(nodes: Node[])
src/application/managers/GraphManager.ts:30
Method
addNodes
* Adds new nodes to the knowledge graph.
src/application/managers/NodeManager.ts:16
Method
addNodes
(nodes: Node[])
src/application/managers/ApplicationManager.ts:39
Method
addNodes
(nodes: Node[])
src/application/managers/interfaces/IManagerOperations.ts:28
Method
addNodes
(nodes: Node[])
src/application/operations/GraphOperations.ts:30
Method
addRollbackAction
* Adds a rollback action to be executed if the transaction is rolled back. * @throws Error if no transaction is in progress
src/application/managers/TransactionManager.ts:52
Method
addRollbackAction
(action: () => Promise<void>, description: string)
src/application/managers/ApplicationManager.ts:105
Method
addRollbackAction
(action: () => Promise<void>, description: string)
src/application/operations/TransactionOperations.ts:42
Method
beginTransaction
()
src/application/managers/ApplicationManager.ts:89
Method
clearInstances
* Clears all cached manager instances
src/application/managers/ManagerFactory.ts:99
Method
commit
()
src/application/managers/ApplicationManager.ts:93
Function
constructor
(protected knowledgeGraphManager: ApplicationManager)
src/integration/tools/handlers/BaseToolHandler.ts:8
Function
constructor
(storage: IStorage = new JsonLineStorage())
src/application/managers/base/BaseManager.ts:13
Function
constructor
* Creates an instance of IManager. * @param storage - The storage mechanism to use for persisting the knowledge graph. * @throws {Error} If
src/application/managers/interfaces/IManager.ts:20
Method
constructor
()
src/infrastructure/storage/JsonLineStorage.ts:20
Method
constructor
()
src/infrastructure/events/EventEmitter.ts:14
Method
constructor
()
src/integration/tools/DynamicSchemaToolRegistry.ts:34
Method
constructor
()
src/integration/tools/registry/toolsRegistry.ts:18
Method
constructor
()
src/integration/tools/registry/dynamicTools.ts:16
Method
constructor
* Creates an instance of SchemaBuilder.
src/core/schema/SchemaBuilder.ts:64
Method
constructor
(storage?: IStorage)
src/application/managers/GraphManager.ts:23
Method
constructor
(storage: IStorage)
src/application/managers/TransactionManager.ts:17
Method
constructor
(storage: IStorage = new JsonLineStorage())
src/application/managers/ApplicationManager.ts:32
Method
constructor
( private nodeManager: INodeManager, private edgeManager: IEdgeManager, private metada
src/application/operations/GraphOperations.ts:22
Method
constructor
(private transactionManager: ITransactionManager)
src/application/operations/TransactionOperations.ts:8
Method
constructor
(private searchManager: ISearchManager)
src/application/operations/SearchOperations.ts:9
Function
createManagers
()
src/application/managers/base/BaseManager.ts:17
Method
createMetadataMap
* Creates a metadata entry map for efficient lookup
src/core/metadata/MetadataProcessor.ts:79
Method
deleteEdges
(edges: Edge[])
src/application/managers/GraphManager.ts:51
Method
deleteEdges
* Deletes edges from the knowledge graph.
src/application/managers/EdgeManager.ts:108
Method
deleteEdges
(edges: Edge[])
src/application/managers/ApplicationManager.ts:59
Method
deleteEdges
(edges: Edge[])
src/application/operations/GraphOperations.ts:64
Method
deleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/GraphManager.ts:64
Method
deleteMetadata
* Deletes metadata from nodes.
src/application/managers/MetadataManager.ts:55
Method
deleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/ApplicationManager.ts:71
Method
deleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/interfaces/IManagerOperations.ts:56
Method
deleteMetadata
(deletions: MetadataDeletion[])
src/application/operations/GraphOperations.ts:82
Method
deleteNodes
(nodeNames: string[])
src/application/managers/GraphManager.ts:38
Method
deleteNodes
* Deletes nodes and their associated edges from the knowledge graph.
src/application/managers/NodeManager.ts:78
Method
deleteNodes
(nodeNames: string[])
src/application/managers/ApplicationManager.ts:47
Method
deleteNodes
(nodeNames: string[])
src/application/managers/interfaces/IManagerOperations.ts:32
Method
deleteNodes
(nodeNames: string[])
src/application/operations/GraphOperations.ts:44
Method
eventNames
* Gets all registered event names.
src/infrastructure/events/EventEmitter.ts:130
Method
formatMetadataEntry
* Formats a metadata entry into a string
src/core/metadata/MetadataProcessor.ts:24
Method
getAllManagers
* Creates all manager instances at once
src/application/managers/ManagerFactory.ts:86
Method
getCurrentGraph
* Gets the current graph state within the transaction.
src/application/managers/TransactionManager.ts:119
Method
getCurrentGraph
()
src/application/managers/ApplicationManager.ts:113
Method
getCurrentGraph
()
src/application/operations/TransactionOperations.ts:50
Method
getEdges
(filter?: EdgeFilter)
src/application/managers/GraphManager.ts:55
Method
getEdges
* Retrieves edges from the knowledge graph based on filter criteria.
src/application/managers/EdgeManager.ts:137
Method
getEdges
(filter?: EdgeFilter)
src/application/managers/ApplicationManager.ts:63
Method
getEdges
(filter?: EdgeFilter)
src/application/operations/GraphOperations.ts:70
Method
getListeners
* Gets all listeners for a specific event.
src/infrastructure/events/EventEmitter.ts:137
Method
getMetadata
* Retrieves metadata for a specific node.
src/application/managers/MetadataManager.ts:87
Method
getMetadata
(nodeName: string)
src/application/managers/interfaces/IManagerOperations.ts:58
Method
getMetadata
* Retrieves metadata for a specific node.
src/application/managers/interfaces/IMetadataManager.ts:24
Method
getNodes
* Retrieves specific nodes from the knowledge graph by their names.
src/application/managers/NodeManager.ts:105
Method
getNodes
(nodeNames: string[])
src/application/managers/interfaces/IManagerOperations.ts:34
Method
getNodes
* Retrieves specific nodes from the knowledge graph by their names.
src/application/managers/interfaces/INodeManager.ts:29
Method
getTool
* Gets a specific tool by name
src/integration/tools/registry/toolsRegistry.ts:64
Method
getTools
* Retrieves all generated tools
src/integration/tools/DynamicSchemaToolRegistry.ts:82
Method
getValue
* Extracts value for a specific metadata key
src/core/metadata/MetadataProcessor.ts:69
Function
handleError
(name: string, error: unknown)
src/integration/tools/handlers/BaseToolHandler.ts:19
Method
handleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/MetadataToolHandler.ts:8
Method
handleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/DynamicToolHandler.ts:9
Method
handleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/SearchToolHandler.ts:8
Method
handleToolCall
* Handles tool calls for dynamically generated schema-based tools
src/integration/tools/DynamicSchemaToolRegistry.ts:136
Method
handleToolCall
* Handles a tool call by delegating to the appropriate handler
src/integration/tools/registry/toolsRegistry.ts:80
Method
handleToolCall
* Handles a call to a dynamic tool
src/integration/tools/registry/dynamicTools.ts:59
Method
indexEdge
* Indexes a single edge by adding it to all relevant indices.
src/infrastructure/storage/JsonLineStorage.ts:138
Function
initialize
* Initializes the manager by emitting the 'initialized' event. * Common implementation for all manager classes.
src/application/managers/interfaces/IManager.ts:32
Method
initialize
* Initializes the registry by loading schemas and generating tools
src/integration/tools/DynamicSchemaToolRegistry.ts:52
Method
initialize
* Initializes the registry with both static and dynamic tools
src/integration/tools/registry/toolsRegistry.ts:34
Method
initialize
* Initializes the dynamic tool registry
src/integration/tools/registry/dynamicTools.ts:32
Method
initialize
* Initializes all tool handlers
src/integration/tools/handlers/ToolHandlerFactory.ts:21
Method
initialize
* Initializes the search manager.
src/application/managers/SearchManager.ts:143
Method
isInTransaction
()
src/application/managers/ApplicationManager.ts:109
Method
isInTransaction
()
src/application/operations/TransactionOperations.ts:46
Method
listenerCount
* Gets the number of listeners for a specific event.
src/infrastructure/events/EventEmitter.ts:121
Method
loadAllSchemas
* Loads all schema files from the schemas directory.
src/core/schema/SchemaLoader.ts:95
Method
loadEdgesByIds
(edgeIds: string[])
src/infrastructure/storage/IStorage.ts:22
Method
loadEdgesByIds
* Loads specific edges by their IDs from storage.
src/infrastructure/storage/JsonLineStorage.ts:124
Method
mergeMetadata
* Merges multiple metadata arrays, removing duplicates
src/core/metadata/MetadataProcessor.ts:46
Method
once
* Adds a one-time event listener that removes itself after being called.
src/infrastructure/events/EventEmitter.ts:68
Method
onceWrapper
(data: any)
src/infrastructure/events/EventEmitter.ts:73
Method
openNodes
* Retrieves specific nodes and their immediate neighbors from the knowledge graph.
src/application/managers/SearchManager.ts:74
Method
openNodes
(names: string[])
src/application/managers/ApplicationManager.ts:84
Method
openNodes
(names: string[])
src/application/managers/interfaces/IManagerOperations.ts:67
Method
openNodes
(names: string[])
src/application/operations/SearchOperations.ts:20
Method
readGraph
* Reads and returns the entire knowledge graph.
src/application/managers/SearchManager.ts:128
Method
readGraph
()
src/application/managers/ApplicationManager.ts:76
Method
readGraph
()
src/application/managers/interfaces/IManagerOperations.ts:69
Method
readGraph
()
src/application/operations/SearchOperations.ts:27
Method
removeAllListeners
* Removes all listeners for a specific event or all events.
src/infrastructure/events/EventEmitter.ts:110
Method
rollback
()
src/application/managers/ApplicationManager.ts:97
Method
saveGraph
* Saves the entire knowledge graph to storage.
src/infrastructure/storage/JsonLineStorage.ts:103
Method
searchNodes
* Searches for nodes in the knowledge graph based on a query. * Includes both matching nodes and their immediate neighbors.
src/application/managers/SearchManager.ts:16
Method
searchNodes
(query: string)
src/application/managers/ApplicationManager.ts:80
Method
searchNodes
(query: string)
src/application/managers/interfaces/IManagerOperations.ts:65
Method
searchNodes
(query: string)
src/application/operations/SearchOperations.ts:13
← previous
next →
101–200 of 214, ranked by callers