@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.
@@ -25,7 +25,7 @@ async function resolveGraphology() {
25
25
  if (_GraphCtor)
26
26
  return _GraphCtor;
27
27
  try {
28
- const mod = await import('../../index.js');
28
+ const mod = await import('graphology');
29
29
  _GraphCtor = (mod.default ?? mod);
30
30
  return _GraphCtor;
31
31
  }
@@ -12,7 +12,7 @@ async function resolveGraphology() {
12
12
  if (_GraphCtor)
13
13
  return _GraphCtor;
14
14
  try {
15
- const mod = await import('../../../../index.js');
15
+ const mod = await import('graphology');
16
16
  _GraphCtor = (mod.default ?? mod);
17
17
  return _GraphCtor;
18
18
  }
@@ -21,7 +21,7 @@ async function resolveGraph() {
21
21
  if (_GraphCtor)
22
22
  return _GraphCtor;
23
23
  try {
24
- const mod = await import('../../../../../index.js');
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('../../../../../index.js');
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('../../../../../index.js')).default;
490
- const louvain = (await import('../../../../../index.js')).default;
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`);
@@ -67,7 +67,7 @@ export class HnswIndexSidecar {
67
67
  hnswEfSearch: config.hnswEfSearch ?? DEFAULTS.hnswEfSearch,
68
68
  };
69
69
  try {
70
- this.hnswlib = await import('../../../index.js');
70
+ this.hnswlib = await import('hnswlib-node');
71
71
  this.hnswAvailable = true;
72
72
  }
73
73
  catch {
@@ -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('../../../index.js');
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.6",
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": {