lmcp: 1.1.1 -> 1.2.1 (tools.d plugin scan + LMCP_HOST/LMCP_CONF env)

Tracks upstream lmcp v1.2.1 (commits e05438f + c5375b8). Combined
release that lets hosts like hertz/ampere stop maintaining forked
/opt/lmcp/server.lua overrides — packaged server.lua becomes the
canonical entrypoint, host-local tools live in /opt/lmcp/tools.d/
as plugin files, single-interface binding + conf-file auth come via
LMCP_HOST + LMCP_CONF systemd env. Closes lmcp#22 structurally.

New tarball sha256:
  bf9cce1a84c66b1b74c5aec923c5960d60ae33c221afc8d47ce0d74b8f7ee609

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-17 23:34:07 +00:00
parent 4820e53b18
commit a168342fa8
3 changed files with 26 additions and 5 deletions
+3 -3
View File
@@ -7,10 +7,10 @@
# package (Architecture: all, depends on lua + lua-socket).
set -euo pipefail
PKGVER=1.1.1
UPSTREAM_TAG=v1.1.1
PKGVER=1.2.1
UPSTREAM_TAG=v1.2.1
PKGREL=1
LMCP_TARBALL_SHA256=80c2e815aa61a2d3baab051c51cd247bdefa9dd03d72c4867b99c49b6eae9cb9
LMCP_TARBALL_SHA256=bf9cce1a84c66b1b74c5aec923c5960d60ae33c221afc8d47ce0d74b8f7ee609
HERE=$(dirname "$(readlink -f "$0")")
# Reproducible build: pin all file mtimes + ar member timestamps to a fixed
+21
View File
@@ -1,3 +1,24 @@
lmcp (1.2.1-1) bookworm trixie; urgency=medium
* tools.d/ plugin scan (closes lmcp#22): server.lua now scans
LMCP_TOOLS_DIR (default /opt/lmcp/tools.d on POSIX) for *.lua
files and invokes each as a function receiving (server, run).
Lets hosts ship local tool extensions alongside the packaged
generics without forking server.lua. Existing single-file
deployments without a tools.d/ directory: no behaviour change.
* LMCP_HOST + LMCP_CONF env vars: packaged server.lua now threads
these into lmcp.new(opts.host, opts.conf). Hosts that need
single-interface binding (e.g. hertz on 192.168.88.18) or a
conf-file-based bearer token (e.g. /opt/herding/etc/hertz-tools.conf)
can drive the packaged entrypoint directly via systemd env
instead of carrying a forked server.lua.
* Together with the above, hertz, ampere, and any future host with
custom tools can migrate from /opt/lmcp/server.lua forks to a
plain plugin file + standard systemd env. apt upgrade then
delivers all packaged improvements automatically.
-- Markus Fritsche <mfritsche@reauktion.de> Mon, 18 May 2026 01:30:00 +0000
lmcp (1.1.1-1) bookworm trixie; urgency=medium
* Bug fix: omit empty inputSchema.properties at tool registration.