multiproject

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package multiproject handles cross-project memory linking and global entity resolution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrossProjectSearch

func CrossProjectSearch(stores []*storage.Store, query string, limit int) ([]*storage.Node, error)

CrossProjectSearch searches for nodes matching a query across multiple stores.

func LinkProjects

func LinkProjects(globalStore *storage.Store, nodeA, projectA, nodeB, projectB string) error

LinkProjects creates a cross-project edge between two nodes in different stores. The edge is stored in the global store (dst) as a relates_to edge.

func ResolveGlobalEntity

func ResolveGlobalEntity(globalStore *storage.Store, name, entityType string) (*storage.Node, error)

ResolveGlobalEntity finds or creates a global entity node that represents the same concept across multiple projects (e.g., "PostgreSQL", "jose").

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL