@andespindola/brainlink 0.1.0-beta.39 → 0.1.0-beta.40

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 CHANGED
@@ -30,6 +30,7 @@
30
30
  - Added native GUI parent-process monitoring so GUI windows close automatically when `blink server` stops.
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
+ - Fixed graph modal content loading by correcting agent query parameter composition for `/api/graph-node` and `/api/graph-filter` requests.
33
34
 
34
35
  ## 0.1.0-beta.3
35
36
 
@@ -65,7 +65,7 @@ const zoomRange = {
65
65
  max: 4.5
66
66
  }
67
67
 
68
- const agentQuery = () => state.agentId ? '?agent=' + encodeURIComponent(state.agentId) : ''
68
+ const agentQuery = (separator = '?') => state.agentId ? separator + 'agent=' + encodeURIComponent(state.agentId) : ''
69
69
 
70
70
  const setGraphStatus = text => {
71
71
  state.graphStatus = text
@@ -309,11 +309,11 @@ const resetContentFilter = () => {
309
309
 
310
310
  const syncContentFilter = async (query, token) => {
311
311
  const response = await fetch(
312
- '/api/graph-filter?q=' +
312
+ '/api/graph-filter?q=' +
313
313
  encodeURIComponent(query) +
314
314
  '&limit=' +
315
315
  encodeURIComponent(String(Math.max(state.nodes.length, 1))) +
316
- agentQuery()
316
+ agentQuery('&')
317
317
  )
318
318
 
319
319
  if (!response.ok || token !== state.contentFilter.token) {
@@ -705,7 +705,7 @@ const fetchNodeDetails = async node => {
705
705
  return cached
706
706
  }
707
707
 
708
- const response = await fetch('/api/graph-node?id=' + encodeURIComponent(node.id) + agentQuery())
708
+ const response = await fetch('/api/graph-node?id=' + encodeURIComponent(node.id) + agentQuery('&'))
709
709
  if (!response.ok) {
710
710
  throw new Error('Failed to load graph node details')
711
711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andespindola/brainlink",
3
- "version": "0.1.0-beta.39",
3
+ "version": "0.1.0-beta.40",
4
4
  "description": "Local-first knowledge memory for agents with Markdown, backlinks, indexing and context retrieval.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -62,6 +62,9 @@
62
62
  "commander": "^14.0.2",
63
63
  "zod": "^4.3.6"
64
64
  },
65
+ "overrides": {
66
+ "qs": "6.15.2"
67
+ },
65
68
  "devDependencies": {
66
69
  "@types/node": "^24.9.2",
67
70
  "tsx": "^4.21.0",