@swarmvaultai/engine 0.1.22 → 0.1.23
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 +4 -2
- package/dist/chunk-6UPHDGEB.js +1073 -0
- package/dist/index.d.ts +89 -2
- package/dist/index.js +584 -147
- package/dist/registry-6KZMA3XM.js +12 -0
- package/dist/viewer/assets/index-f8JPYMw_.js +330 -0
- package/dist/viewer/index.html +1 -1
- package/dist/viewer/lib.d.ts +52 -1
- package/dist/viewer/lib.js +23 -4
- package/package.json +1 -1
- package/dist/viewer/assets/index-DEETVhXx.js +0 -330
package/README.md
CHANGED
|
@@ -169,8 +169,8 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
169
169
|
### Compile + Query
|
|
170
170
|
|
|
171
171
|
- `compileVault(rootDir, { approve })` writes wiki pages, graph data, and search state using the vault schema as guidance, or stages a review bundle
|
|
172
|
-
- compile also writes graph orientation pages such as `wiki/graph/report.md` and `wiki/graph/communities/<community>.md`
|
|
173
|
-
- `benchmarkVault(rootDir, { questions })` writes `state/benchmark.json` and folds the latest benchmark summary into `wiki/graph/report.md`
|
|
172
|
+
- compile also writes graph orientation pages such as `wiki/graph/report.md`, `wiki/graph/report.json`, and `wiki/graph/communities/<community>.md`
|
|
173
|
+
- `benchmarkVault(rootDir, { questions })` writes `state/benchmark.json` and folds the latest benchmark summary into `wiki/graph/report.md` and `wiki/graph/report.json`
|
|
174
174
|
- `queryVault(rootDir, { question, save, format, review })` answers against the compiled vault using the same schema layer and saves by default
|
|
175
175
|
- `exploreVault(rootDir, { question, steps, format, review })` runs a save-first multi-step exploration loop and writes a hub page plus step outputs
|
|
176
176
|
- `searchVault(rootDir, query, limit)` searches compiled pages directly
|
|
@@ -220,6 +220,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
220
220
|
- `raw/assets/`: copied attachments referenced by ingested markdown bundles and remote URL ingests
|
|
221
221
|
- `wiki/`: generated markdown pages, the append-only `log.md` activity trail, staged candidates, saved query outputs, exploration hub pages, and a human-only `insights/` area
|
|
222
222
|
- `wiki/graph/`: generated graph report pages and per-community summaries derived from `state/graph.json`
|
|
223
|
+
- `wiki/graph/report.json`: machine-readable graph report data used by the viewer and export surfaces
|
|
223
224
|
- `wiki/outputs/assets/`: local chart/image artifacts and JSON manifests for saved visual outputs
|
|
224
225
|
- `wiki/code/`: generated module pages for ingested code sources
|
|
225
226
|
- `wiki/projects/`: generated project rollups over canonical pages
|
|
@@ -241,6 +242,7 @@ Saved outputs are indexed immediately into the graph page registry and search in
|
|
|
241
242
|
Code sources also emit module, symbol, and parser-backed rationale nodes into `state/graph.json`, so local imports, exports, inheritance, same-module call edges, and rationale links are queryable through the same viewer and search pipeline.
|
|
242
243
|
Ingest, inbox import, compile, query, lint, review, and candidate operations also append human-readable entries to `wiki/log.md`.
|
|
243
244
|
PDF sources now go through a local text-extraction pass before analysis, and image sources use the configured `visionProvider` for structured OCR/diagram extraction when a real multimodal provider is available. When image extraction is unavailable, SwarmVault records an explicit warning in the extraction sidecar and carries that warning forward into analysis instead of silently treating the source as empty.
|
|
245
|
+
Compile and repo-refresh runs also keep benchmark artifacts current by default, so graph report consumers can show freshness and stale-state without requiring a separate benchmark command first.
|
|
244
246
|
|
|
245
247
|
## Notes
|
|
246
248
|
|