brainllm 13.1.1 → 13.1.2

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 CHANGED
@@ -10,7 +10,7 @@ Self-hosted memory for LLMs in [TriliumNext Notes](https://github.com/TriliumNex
10
10
 
11
11
  [**Site**](https://miisodev.github.io/BrainLLM/) · [Connect to Claude](https://miisodev.github.io/BrainLLM/connect.html) · [How it works](https://miisodev.github.io/BrainLLM/how-it-works.html) · [Docs](https://miisodev.github.io/BrainLLM/docs.html) · [Privacy](https://miisodev.github.io/BrainLLM/privacy.html)
12
12
 
13
- [![Version](https://img.shields.io/badge/version-13.1.1-f59e0b?style=flat-square)](https://github.com/miisodev/BrainLLM/releases)
13
+ [![Version](https://img.shields.io/badge/version-13.1.2-f59e0b?style=flat-square)](https://github.com/miisodev/BrainLLM/releases)
14
14
  [![CI](https://img.shields.io/github/actions/workflow/status/miisodev/BrainLLM/ci.yml?branch=main&style=flat-square&label=CI&color=f59e0b)](https://github.com/miisodev/BrainLLM/actions/workflows/ci.yml)
15
15
  [![License: MIT](https://img.shields.io/badge/license-MIT-a1a1aa?style=flat-square)](./LICENSE)
16
16
  [![Runtime: Bun](https://img.shields.io/badge/runtime-Bun%20%E2%89%A5%201.0-a1a1aa?style=flat-square&logo=bun&logoColor=white)](https://bun.sh)
package/dist/index.js CHANGED
@@ -20815,6 +20815,15 @@ class McpServer {
20815
20815
  this._promptHandlersInitialized = false;
20816
20816
  this.server = new Server(serverInfo, options);
20817
20817
  this._maxToolInputElements = resolveMaxToolInputElements(options?.maxToolInputElements);
20818
+ if (options?.capabilities?.tools) {
20819
+ this.setToolRequestHandlers();
20820
+ }
20821
+ if (options?.capabilities?.resources) {
20822
+ this.setResourceRequestHandlers();
20823
+ }
20824
+ if (options?.capabilities?.prompts) {
20825
+ this.setPromptRequestHandlers();
20826
+ }
20818
20827
  }
20819
20828
  get experimental() {
20820
20829
  if (!this._experimental) {
@@ -32982,7 +32991,7 @@ function createServer(origin = null) {
32982
32991
  const s = new McpServer({
32983
32992
  name: BRAND2.name,
32984
32993
  title: BRAND2.name,
32985
- version: "13.1.1",
32994
+ version: "13.1.2",
32986
32995
  description: BRAND2.description,
32987
32996
  websiteUrl: origin ?? BRAND2.website,
32988
32997
  icons: brandIcons(origin)
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "brainllm",
4
4
  "display_name": "BrainLLM",
5
- "version": "13.1.1",
5
+ "version": "13.1.2",
6
6
  "description": "Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.",
7
7
  "long_description": "BrainLLM is an MCP server that organises memory into five purpose-built areas (Master, LLM, Memory, Knowledge, Insights). The model supplies content while the server owns placement, format, lifecycle, dates and backups. Includes a full raw ETAPI surface for advanced use. Requires a running TriliumNext instance and the Bun runtime.",
8
8
  "author": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brainllm",
3
- "version": "13.1.1",
3
+ "version": "13.1.2",
4
4
  "mcpName": "io.github.miisodev/brainllm",
5
5
  "description": "Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.",
6
6
  "author": "Kevin Miiso Novo <miisodev@gmail.com>",
@@ -62,11 +62,11 @@
62
62
  "prepublishOnly": "bun run build"
63
63
  },
64
64
  "dependencies": {
65
- "@modelcontextprotocol/sdk": "^1.32.0",
65
+ "@modelcontextprotocol/sdk": "^1.32.2",
66
66
  "zod": "^4.6.6"
67
67
  },
68
68
  "devDependencies": {
69
- "@types/bun": "latest",
69
+ "@types/bun": "^1.4.4",
70
70
  "ajv": "^8.20.0",
71
71
  "ajv-formats": "^3.0.1",
72
72
  "sharp": "^0.35.5",
package/server.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.miisodev/brainllm",
4
4
  "description": "Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.",
5
- "version": "13.1.1",
5
+ "version": "13.1.2",
6
6
  "websiteUrl": "https://miisodev.github.io/BrainLLM/",
7
7
  "repository": {
8
8
  "url": "https://github.com/miisodev/BrainLLM",
@@ -12,7 +12,7 @@
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "brainllm",
15
- "version": "13.1.1",
15
+ "version": "13.1.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },