@swarmvaultai/viewer 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +14 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  `@swarmvaultai/viewer` is the graph UI package for SwarmVault.
4
4
 
5
- It is the frontend used by `swarmvault graph serve` to visualize `state/graph.json` as an interactive graph of sources, concepts, and entities.
5
+ It powers `swarmvault graph serve` and renders `state/graph.json` as an interactive graph of sources, concepts, and entities.
6
6
 
7
7
  ## What It Does
8
8
 
@@ -11,9 +11,9 @@ The viewer loads graph data from `/api/graph` and renders:
11
11
  - source nodes
12
12
  - concept nodes
13
13
  - entity nodes
14
- - extracted, inferred, and conflicted edges
14
+ - extracted, inferred, conflicted, and stale edge states
15
15
 
16
- Its primary use is as part of the SwarmVault runtime, but the package also exports lightweight graph types and a fetch helper for custom integrations.
16
+ Its main purpose is to support the SwarmVault runtime, but the package also exports lightweight types and helpers for custom integrations.
17
17
 
18
18
  ## Package Use
19
19
 
@@ -24,6 +24,11 @@ const graph = await fetchGraphArtifact("/api/graph");
24
24
  console.log(graph.nodes.length);
25
25
  ```
26
26
 
27
+ ## Notes
28
+
29
+ - End users do not need to install this package separately to use `swarmvault graph serve`
30
+ - The CLI and engine bundle the built viewer assets for the normal install path
31
+
27
32
  ## Development
28
33
 
29
34
  ```bash
@@ -31,3 +36,9 @@ pnpm build
31
36
  pnpm lint
32
37
  pnpm test
33
38
  ```
39
+
40
+ ## Links
41
+
42
+ - Website: https://www.swarmvault.ai
43
+ - Docs: https://www.swarmvault.ai/docs
44
+ - GitHub: https://github.com/swarmclawai/swarmvault
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmvaultai/viewer",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Graph viewer package for SwarmVault graph artifacts.",
5
5
  "type": "module",
6
6
  "main": "dist/lib.js",
@@ -18,7 +18,7 @@
18
18
  "type": "git",
19
19
  "url": "git+https://github.com/swarmclawai/swarmvault.git"
20
20
  },
21
- "homepage": "https://swarmvault.ai",
21
+ "homepage": "https://www.swarmvault.ai",
22
22
  "bugs": {
23
23
  "url": "https://github.com/swarmclawai/swarmvault/issues"
24
24
  },