@framers/agentos 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cognition/discovery/CapabilityGraph.js +1 -1
- package/dist/cognition/memory/retrieval/graph/GraphologyMemoryGraph.js +1 -1
- package/dist/cognition/memory/retrieval/graph/graphrag/GraphRAGEngine.js +2 -2
- package/dist/cognition/memory/retrieval/graph/graphrag/Neo4jGraphRAGEngine.js +2 -2
- package/dist/cognition/rag/vector-search/HnswIndexSidecar.js +1 -1
- package/dist/cognition/rag/vector_stores/HnswlibVectorStore.js +1 -1
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ async function resolveGraph() {
|
|
|
21
21
|
if (_GraphCtor)
|
|
22
22
|
return _GraphCtor;
|
|
23
23
|
try {
|
|
24
|
-
const mod = await import('
|
|
24
|
+
const mod = await import('graphology');
|
|
25
25
|
// graphology's CJS bundle exposes the Graph class as a named
|
|
26
26
|
// export (`Graph`) and leaves `default` undefined; the ESM bundle
|
|
27
27
|
// does ship a default. Fall through both shapes before failing.
|
|
@@ -44,7 +44,7 @@ async function resolveLouvain() {
|
|
|
44
44
|
if (_louvain)
|
|
45
45
|
return _louvain;
|
|
46
46
|
try {
|
|
47
|
-
const mod = await import('
|
|
47
|
+
const mod = await import('graphology-communities-louvain');
|
|
48
48
|
_louvain = (mod.default ?? mod);
|
|
49
49
|
return _louvain;
|
|
50
50
|
}
|
|
@@ -486,8 +486,8 @@ export class Neo4jGraphRAGEngine {
|
|
|
486
486
|
async detectCommunitiesClientSide() {
|
|
487
487
|
// Fetch all nodes and edges, run graphology Louvain client-side
|
|
488
488
|
try {
|
|
489
|
-
const Graph = (await import('
|
|
490
|
-
const louvain = (await import('
|
|
489
|
+
const Graph = (await import('graphology')).default;
|
|
490
|
+
const louvain = (await import('graphology-communities-louvain')).default;
|
|
491
491
|
const graph = new Graph({ multi: false, type: 'undirected' });
|
|
492
492
|
// Fetch all entities
|
|
493
493
|
const entities = await this.cypher.read(`MATCH (e:${ENTITY_LABEL}) RETURN e.entityId AS entityId`);
|
|
@@ -59,7 +59,7 @@ export class HnswlibVectorStore {
|
|
|
59
59
|
this.config = config;
|
|
60
60
|
// Load hnswlib-node dynamically (optional peer dependency)
|
|
61
61
|
try {
|
|
62
|
-
const hnswlib = await import('
|
|
62
|
+
const hnswlib = await import('hnswlib-node');
|
|
63
63
|
this.HierarchicalNSW = hnswlib.HierarchicalNSW;
|
|
64
64
|
}
|
|
65
65
|
catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@framers/agentos",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "AgentOS — open-source TypeScript runtime for autonomous AI agents. Unified graph orchestration, cognitive memory, runtime tool generation, multi-tier guardrails, voice pipeline, and 21 LLM providers.",
|
|
5
5
|
"homepage": "https://agentos.sh",
|
|
6
6
|
"repository": {
|