@swarmvaultai/engine 3.3.0 → 3.5.0

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/README.md CHANGED
@@ -31,6 +31,7 @@ import {
31
31
  defaultVaultConfig,
32
32
  defaultVaultSchema,
33
33
  doctorRetrieval,
34
+ doctorVault,
34
35
  exploreVault,
35
36
  exportGraphFormat,
36
37
  exportGraphHtml,
@@ -77,7 +78,7 @@ import {
77
78
  } from "@swarmvaultai/engine";
78
79
  ```
79
80
 
80
- The engine also exports the main runtime types for providers, graph artifacts, pages, manifests, query results, task records, retrieval status, lint findings, and watch records.
81
+ The engine also exports the main runtime types for providers, graph artifacts, pages, manifests, query results, task records, vault doctor reports with prioritized recommendations, retrieval status, lint findings, and watch records.
81
82
 
82
83
  ## Example
83
84
 
@@ -89,6 +90,7 @@ import {
89
90
  buildContextPack,
90
91
  compileVault,
91
92
  doctorRetrieval,
93
+ doctorVault,
92
94
  exploreVault,
93
95
  exportGraphHtml,
94
96
  exportGraphFormat,
@@ -153,6 +155,7 @@ await finishMemoryTask(rootDir, memory.task.id, {
153
155
  console.log((await readMemoryTask(rootDir, memory.task.id)).status);
154
156
  console.log((await listMemoryTasks(rootDir)).length);
155
157
  console.log((await resumeMemoryTask(rootDir, memory.task.id)).content);
158
+ console.log((await doctorVault(rootDir)).recommendations);
156
159
  console.log(await doctorRetrieval(rootDir));
157
160
 
158
161
  const graphQuery = await queryGraphVault(rootDir, "Which nodes bridge the biggest communities?");