@andespindola/brainlink 0.1.0-beta.40 → 0.1.0-beta.42
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/CHANGELOG.md +7 -0
- package/README.md +10 -0
- package/dist/application/frontend/client-js.js +667 -68
- package/dist/application/frontend/client-worker-js.js +66 -0
- package/dist/application/index-vault.js +137 -21
- package/dist/application/server/routes.js +36 -1
- package/dist/application/start-server.js +75 -4
- package/dist/cli/commands/write-commands.js +41 -12
- package/dist/infrastructure/file-index.js +30 -0
- package/dist/infrastructure/file-system-vault.js +15 -0
- package/dist/infrastructure/index-state.js +50 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -31,6 +31,13 @@
|
|
|
31
31
|
- Improved non-mac browser detection fallback to try installed Edge/Chrome/Firefox/Chromium candidates before system default open.
|
|
32
32
|
- Improved graph filter rendering to keep hub anchor nodes visible (`Memory Hub`/`MOC`/high-degree fallback) for coherent relationship context.
|
|
33
33
|
- Fixed graph modal content loading by correcting agent query parameter composition for `/api/graph-node` and `/api/graph-filter` requests.
|
|
34
|
+
- Improved 50k+ graph rendering performance with viewport-aware spatial node culling, cached render visibility, and node-adjacent edge selection to avoid full graph scans every frame.
|
|
35
|
+
- Added incremental vault indexing with file snapshots to reuse unchanged documents/chunks/embeddings, plus adaptive search-pack rebuild thresholds to avoid full re-compression on small edits.
|
|
36
|
+
- Reduced large-graph HTTP payload size with compact `/api/graph-layout` encoding for high-node vaults and capped transmitted edges to improve UI load responsiveness.
|
|
37
|
+
- Added aggressive graph LOD clustering when zoomed out, dynamic per-zoom edge render budgets, and a dedicated frontend worker for off-main-thread graph filter matching.
|
|
38
|
+
- Improved Linux browser fallback launch stability by auto-applying Chromium compatibility flags (`--ozone-platform=x11`, `--disable-gpu`, `--disable-features=Vulkan,VaapiVideoDecoder`, `--disable-background-networking`) for app-window/browser modes.
|
|
39
|
+
- Improved massive-graph UI responsiveness with stricter render budgets, adaptive heavy-graph frame throttling, reduced interaction hit-test frequency, and URL-first agent selection on initial graph load.
|
|
40
|
+
- Improved 50k+ graph LOD behavior so zoomed-out views render lightweight cluster overviews and progressively reveal nodes/edges only as zoom increases.
|
|
34
41
|
|
|
35
42
|
## 0.1.0-beta.3
|
|
36
43
|
|
package/README.md
CHANGED
|
@@ -71,6 +71,8 @@ Legacy `.jsonl.gz` packs are upgraded to `.blpk` automatically on first search/c
|
|
|
71
71
|
- Middle-out context assembly around the strongest chunk per document.
|
|
72
72
|
- In-process index and context caching with automatic invalidation on index updates.
|
|
73
73
|
- Compressed-space prefiltering for `.blpk` packs before decryption and scan.
|
|
74
|
+
- Incremental indexing that reprocesses only changed markdown files and reuses existing chunks/embeddings for unchanged notes.
|
|
75
|
+
- Adaptive compressed-pack rebuild policy to keep indexing fast during small edit batches.
|
|
74
76
|
- Agent namespaces under `agents/<agent-id>/`.
|
|
75
77
|
- S3-compatible bucket vaults through `s3://bucket/prefix` URIs.
|
|
76
78
|
- CLI with machine-readable `--json` output.
|
|
@@ -78,6 +80,11 @@ Legacy `.jsonl.gz` packs are upgraded to `.blpk` automatically on first search/c
|
|
|
78
80
|
- Built-in MCP stdio server for agent tool integration.
|
|
79
81
|
- Local HTTP API.
|
|
80
82
|
- Realtime graph UI with agent selector and colored knowledge groups.
|
|
83
|
+
- Graph renderer optimized for large datasets with viewport-driven node culling and edge lookup by visible nodes.
|
|
84
|
+
- Large graph layout API automatically uses compact payload encoding and edge-cap transmission to reduce initial client load on very large vaults.
|
|
85
|
+
- Zoomed-out graph LOD now clusters dense regions and progressively expands nodes as zoom increases.
|
|
86
|
+
- Graph filtering runs in a dedicated browser worker to keep the UI thread responsive during heavy datasets.
|
|
87
|
+
- Edge rendering budgets adapt to zoom level to prevent frame spikes on large graph panoramas.
|
|
81
88
|
|
|
82
89
|
## Install
|
|
83
90
|
|
|
@@ -563,6 +570,7 @@ By default, `blink server` tries to open the graph in a native desktop GUI windo
|
|
|
563
570
|
|
|
564
571
|
On Linux, native GUI is disabled by default for better startup performance. Enable it with `BRAINLINK_LINUX_NATIVE_GUI=1`.
|
|
565
572
|
If native GUI launch is unavailable on your system, it falls back to dedicated app-window mode and then to the default browser.
|
|
573
|
+
For Chromium-family browsers on Linux (`chromium`, `chromium-browser`, `google-chrome`, `microsoft-edge`, `brave-browser`), Brainlink now auto-applies compatibility flags during launch (`--ozone-platform=x11`, `--disable-gpu`, `--disable-features=Vulkan,VaapiVideoDecoder`, `--disable-background-networking`) to avoid common Wayland/Vulkan/VAAPI startup issues.
|
|
566
574
|
Use `--no-open` to keep it headless.
|
|
567
575
|
When native GUI is used, the GUI window automatically closes when the `blink server` process stops.
|
|
568
576
|
|
|
@@ -582,6 +590,7 @@ The graph UI shows:
|
|
|
582
590
|
- double-click on canvas zooms in at cursor position
|
|
583
591
|
- floating graph totals (notes, links, tags) below the Brainlink title
|
|
584
592
|
- large-graph rendering safeguards (edge draw caps, lower redraw rate, zoom-aware interaction)
|
|
593
|
+
- massive-graph LOD progression: zoomed-out views prefer lightweight clusters, then progressively reveal nodes and edges as zoom increases
|
|
585
594
|
|
|
586
595
|
The server indexes before starting by default. Use `--no-index` to skip that step:
|
|
587
596
|
|
|
@@ -881,6 +890,7 @@ Starts the local read-only graph UI and HTTP API.
|
|
|
881
890
|
By default, it tries to open a native desktop GUI window for the graph URL.
|
|
882
891
|
On Linux, native GUI is disabled by default; enable it with `BRAINLINK_LINUX_NATIVE_GUI=1`.
|
|
883
892
|
If native GUI launch is unavailable, it falls back to dedicated app-window mode and then browser open.
|
|
893
|
+
When fallback opens Chromium-family browsers on Linux, Brainlink automatically uses compatibility launch flags for stable rendering on Ubuntu/Wayland setups.
|
|
884
894
|
Use `--no-open` to skip that behavior.
|
|
885
895
|
|
|
886
896
|
The HTTP server only binds to loopback hosts such as `127.0.0.1`, `localhost` or `::1`.
|