@andespindola/brainlink 0.1.0-beta.20 → 0.1.0-beta.22
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/COPYRIGHT.md
ADDED
package/README.md
CHANGED
|
@@ -104,6 +104,14 @@ select {
|
|
|
104
104
|
margin-left: auto;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
.license-badge {
|
|
108
|
+
margin-left: 10px;
|
|
109
|
+
color: var(--muted);
|
|
110
|
+
font-size: 11px;
|
|
111
|
+
letter-spacing: 0.02em;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
|
|
107
115
|
.search input,
|
|
108
116
|
.agent-filter select {
|
|
109
117
|
width: 100%;
|
|
@@ -370,6 +378,13 @@ li small {
|
|
|
370
378
|
order: 4;
|
|
371
379
|
}
|
|
372
380
|
|
|
381
|
+
.license-badge {
|
|
382
|
+
width: 100%;
|
|
383
|
+
margin-left: 0;
|
|
384
|
+
order: 5;
|
|
385
|
+
white-space: normal;
|
|
386
|
+
}
|
|
387
|
+
|
|
373
388
|
.content-dialog header {
|
|
374
389
|
align-items: stretch;
|
|
375
390
|
flex-direction: column;
|
|
@@ -42,6 +42,7 @@ export const createClientHtml = () => `<!doctype html>
|
|
|
42
42
|
<button id="reset" type="button" title="Reset view">⌂</button>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
+
<small class="license-badge" aria-label="License notice">MIT License · Copyright © 2026 Anderson Espindola</small>
|
|
45
46
|
</header>
|
|
46
47
|
<canvas id="graph" aria-label="Brainlink knowledge graph"></canvas>
|
|
47
48
|
</section>
|
|
@@ -709,9 +709,10 @@ const loadAgents = async () => {
|
|
|
709
709
|
|
|
710
710
|
state.agentId = selected
|
|
711
711
|
if (signature !== state.agentsSignature) {
|
|
712
|
+
const formatAgentLabel = (agent) => agent.id === 'shared' ? agent.id : agent.id + ' · ' + agent.documentCount
|
|
712
713
|
elements.agent.innerHTML = agents.length
|
|
713
|
-
? agents.map(agent => '<option value="' + escapeHtml(agent.id) + '">' + escapeHtml(agent
|
|
714
|
-
: '<option value="shared">shared
|
|
714
|
+
? agents.map(agent => '<option value="' + escapeHtml(agent.id) + '">' + escapeHtml(formatAgentLabel(agent)) + '</option>').join('')
|
|
715
|
+
: '<option value="shared">shared</option>'
|
|
715
716
|
state.agentsSignature = signature
|
|
716
717
|
}
|
|
717
718
|
elements.agent.value = selected
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andespindola/brainlink",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.22",
|
|
4
4
|
"description": "Local-first knowledge memory for agents with Markdown, backlinks, indexing and context retrieval.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dist",
|
|
33
33
|
"assets",
|
|
34
34
|
"README.md",
|
|
35
|
+
"COPYRIGHT.md",
|
|
35
36
|
"LICENSE",
|
|
36
37
|
"CHANGELOG.md",
|
|
37
38
|
"CONTRIBUTING.md",
|