MCPcopy Create free account

hub / github.com/CheMiguel23/MemoryMesh / functions

Functions214 in github.com/CheMiguel23/MemoryMesh

MethodaddNodes
(nodes: Node[])
src/application/managers/GraphManager.ts:30
MethodaddNodes
* Adds new nodes to the knowledge graph.
src/application/managers/NodeManager.ts:16
MethodaddNodes
(nodes: Node[])
src/application/managers/ApplicationManager.ts:39
MethodaddNodes
(nodes: Node[])
src/application/managers/interfaces/IManagerOperations.ts:28
MethodaddNodes
(nodes: Node[])
src/application/operations/GraphOperations.ts:30
MethodaddRollbackAction
* 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
MethodaddRollbackAction
(action: () => Promise<void>, description: string)
src/application/managers/ApplicationManager.ts:105
MethodaddRollbackAction
(action: () => Promise<void>, description: string)
src/application/operations/TransactionOperations.ts:42
MethodbeginTransaction
()
src/application/managers/ApplicationManager.ts:89
MethodclearInstances
* Clears all cached manager instances
src/application/managers/ManagerFactory.ts:99
Methodcommit
()
src/application/managers/ApplicationManager.ts:93
Functionconstructor
(protected knowledgeGraphManager: ApplicationManager)
src/integration/tools/handlers/BaseToolHandler.ts:8
Functionconstructor
(storage: IStorage = new JsonLineStorage())
src/application/managers/base/BaseManager.ts:13
Functionconstructor
* 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
Methodconstructor
()
src/infrastructure/storage/JsonLineStorage.ts:20
Methodconstructor
()
src/infrastructure/events/EventEmitter.ts:14
Methodconstructor
()
src/integration/tools/DynamicSchemaToolRegistry.ts:34
Methodconstructor
()
src/integration/tools/registry/toolsRegistry.ts:18
Methodconstructor
()
src/integration/tools/registry/dynamicTools.ts:16
Methodconstructor
* Creates an instance of SchemaBuilder.
src/core/schema/SchemaBuilder.ts:64
Methodconstructor
(storage?: IStorage)
src/application/managers/GraphManager.ts:23
Methodconstructor
(storage: IStorage)
src/application/managers/TransactionManager.ts:17
Methodconstructor
(storage: IStorage = new JsonLineStorage())
src/application/managers/ApplicationManager.ts:32
Methodconstructor
( private nodeManager: INodeManager, private edgeManager: IEdgeManager, private metada
src/application/operations/GraphOperations.ts:22
Methodconstructor
(private transactionManager: ITransactionManager)
src/application/operations/TransactionOperations.ts:8
Methodconstructor
(private searchManager: ISearchManager)
src/application/operations/SearchOperations.ts:9
FunctioncreateManagers
()
src/application/managers/base/BaseManager.ts:17
MethodcreateMetadataMap
* Creates a metadata entry map for efficient lookup
src/core/metadata/MetadataProcessor.ts:79
MethoddeleteEdges
(edges: Edge[])
src/application/managers/GraphManager.ts:51
MethoddeleteEdges
* Deletes edges from the knowledge graph.
src/application/managers/EdgeManager.ts:108
MethoddeleteEdges
(edges: Edge[])
src/application/managers/ApplicationManager.ts:59
MethoddeleteEdges
(edges: Edge[])
src/application/operations/GraphOperations.ts:64
MethoddeleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/GraphManager.ts:64
MethoddeleteMetadata
* Deletes metadata from nodes.
src/application/managers/MetadataManager.ts:55
MethoddeleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/ApplicationManager.ts:71
MethoddeleteMetadata
(deletions: MetadataDeletion[])
src/application/managers/interfaces/IManagerOperations.ts:56
MethoddeleteMetadata
(deletions: MetadataDeletion[])
src/application/operations/GraphOperations.ts:82
MethoddeleteNodes
(nodeNames: string[])
src/application/managers/GraphManager.ts:38
MethoddeleteNodes
* Deletes nodes and their associated edges from the knowledge graph.
src/application/managers/NodeManager.ts:78
MethoddeleteNodes
(nodeNames: string[])
src/application/managers/ApplicationManager.ts:47
MethoddeleteNodes
(nodeNames: string[])
src/application/managers/interfaces/IManagerOperations.ts:32
MethoddeleteNodes
(nodeNames: string[])
src/application/operations/GraphOperations.ts:44
MethodeventNames
* Gets all registered event names.
src/infrastructure/events/EventEmitter.ts:130
MethodformatMetadataEntry
* Formats a metadata entry into a string
src/core/metadata/MetadataProcessor.ts:24
MethodgetAllManagers
* Creates all manager instances at once
src/application/managers/ManagerFactory.ts:86
MethodgetCurrentGraph
* Gets the current graph state within the transaction.
src/application/managers/TransactionManager.ts:119
MethodgetCurrentGraph
()
src/application/managers/ApplicationManager.ts:113
MethodgetCurrentGraph
()
src/application/operations/TransactionOperations.ts:50
MethodgetEdges
(filter?: EdgeFilter)
src/application/managers/GraphManager.ts:55
MethodgetEdges
* Retrieves edges from the knowledge graph based on filter criteria.
src/application/managers/EdgeManager.ts:137
MethodgetEdges
(filter?: EdgeFilter)
src/application/managers/ApplicationManager.ts:63
MethodgetEdges
(filter?: EdgeFilter)
src/application/operations/GraphOperations.ts:70
MethodgetListeners
* Gets all listeners for a specific event.
src/infrastructure/events/EventEmitter.ts:137
MethodgetMetadata
* Retrieves metadata for a specific node.
src/application/managers/MetadataManager.ts:87
MethodgetMetadata
(nodeName: string)
src/application/managers/interfaces/IManagerOperations.ts:58
MethodgetMetadata
* Retrieves metadata for a specific node.
src/application/managers/interfaces/IMetadataManager.ts:24
MethodgetNodes
* Retrieves specific nodes from the knowledge graph by their names.
src/application/managers/NodeManager.ts:105
MethodgetNodes
(nodeNames: string[])
src/application/managers/interfaces/IManagerOperations.ts:34
MethodgetNodes
* Retrieves specific nodes from the knowledge graph by their names.
src/application/managers/interfaces/INodeManager.ts:29
MethodgetTool
* Gets a specific tool by name
src/integration/tools/registry/toolsRegistry.ts:64
MethodgetTools
* Retrieves all generated tools
src/integration/tools/DynamicSchemaToolRegistry.ts:82
MethodgetValue
* Extracts value for a specific metadata key
src/core/metadata/MetadataProcessor.ts:69
FunctionhandleError
(name: string, error: unknown)
src/integration/tools/handlers/BaseToolHandler.ts:19
MethodhandleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/MetadataToolHandler.ts:8
MethodhandleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/DynamicToolHandler.ts:9
MethodhandleTool
(name: string, args: Record<string, any>)
src/integration/tools/handlers/SearchToolHandler.ts:8
MethodhandleToolCall
* Handles tool calls for dynamically generated schema-based tools
src/integration/tools/DynamicSchemaToolRegistry.ts:136
MethodhandleToolCall
* Handles a tool call by delegating to the appropriate handler
src/integration/tools/registry/toolsRegistry.ts:80
MethodhandleToolCall
* Handles a call to a dynamic tool
src/integration/tools/registry/dynamicTools.ts:59
MethodindexEdge
* Indexes a single edge by adding it to all relevant indices.
src/infrastructure/storage/JsonLineStorage.ts:138
Functioninitialize
* Initializes the manager by emitting the 'initialized' event. * Common implementation for all manager classes.
src/application/managers/interfaces/IManager.ts:32
Methodinitialize
* Initializes the registry by loading schemas and generating tools
src/integration/tools/DynamicSchemaToolRegistry.ts:52
Methodinitialize
* Initializes the registry with both static and dynamic tools
src/integration/tools/registry/toolsRegistry.ts:34
Methodinitialize
* Initializes the dynamic tool registry
src/integration/tools/registry/dynamicTools.ts:32
Methodinitialize
* Initializes all tool handlers
src/integration/tools/handlers/ToolHandlerFactory.ts:21
Methodinitialize
* Initializes the search manager.
src/application/managers/SearchManager.ts:143
MethodisInTransaction
()
src/application/managers/ApplicationManager.ts:109
MethodisInTransaction
()
src/application/operations/TransactionOperations.ts:46
MethodlistenerCount
* Gets the number of listeners for a specific event.
src/infrastructure/events/EventEmitter.ts:121
MethodloadAllSchemas
* Loads all schema files from the schemas directory.
src/core/schema/SchemaLoader.ts:95
MethodloadEdgesByIds
(edgeIds: string[])
src/infrastructure/storage/IStorage.ts:22
MethodloadEdgesByIds
* Loads specific edges by their IDs from storage.
src/infrastructure/storage/JsonLineStorage.ts:124
MethodmergeMetadata
* Merges multiple metadata arrays, removing duplicates
src/core/metadata/MetadataProcessor.ts:46
Methodonce
* Adds a one-time event listener that removes itself after being called.
src/infrastructure/events/EventEmitter.ts:68
MethodonceWrapper
(data: any)
src/infrastructure/events/EventEmitter.ts:73
MethodopenNodes
* Retrieves specific nodes and their immediate neighbors from the knowledge graph.
src/application/managers/SearchManager.ts:74
MethodopenNodes
(names: string[])
src/application/managers/ApplicationManager.ts:84
MethodopenNodes
(names: string[])
src/application/managers/interfaces/IManagerOperations.ts:67
MethodopenNodes
(names: string[])
src/application/operations/SearchOperations.ts:20
MethodreadGraph
* Reads and returns the entire knowledge graph.
src/application/managers/SearchManager.ts:128
MethodreadGraph
()
src/application/managers/ApplicationManager.ts:76
MethodreadGraph
()
src/application/managers/interfaces/IManagerOperations.ts:69
MethodreadGraph
()
src/application/operations/SearchOperations.ts:27
MethodremoveAllListeners
* Removes all listeners for a specific event or all events.
src/infrastructure/events/EventEmitter.ts:110
Methodrollback
()
src/application/managers/ApplicationManager.ts:97
MethodsaveGraph
* Saves the entire knowledge graph to storage.
src/infrastructure/storage/JsonLineStorage.ts:103
MethodsearchNodes
* 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
MethodsearchNodes
(query: string)
src/application/managers/ApplicationManager.ts:80
MethodsearchNodes
(query: string)
src/application/managers/interfaces/IManagerOperations.ts:65
MethodsearchNodes
(query: string)
src/application/operations/SearchOperations.ts:13
← previousnext →101–200 of 214, ranked by callers