Merge pull request 'lmcp: 1.1.1 -> 1.2.1 (tools.d plugin scan + LMCP_HOST/LMCP_CONF env)' (#25) from claude-noether/marfrit-packages:noether/lmcp-1.2.1 into main
build and publish packages / distcc-avahi-aarch64 (push) Successful in 37s
build and publish packages / lmcp-any (push) Successful in 10s
build and publish packages / lmcp-debian (push) Successful in 7s
build and publish packages / claude-his-any (push) Successful in 7s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 13m11s
build and publish packages / claude-his-debian (push) Successful in 12s
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Successful in 13s
build and publish packages / mpv-fourier-aarch64 (push) Successful in 1m5s
build and publish packages / distcc-avahi-aarch64 (push) Successful in 37s
build and publish packages / lmcp-any (push) Successful in 10s
build and publish packages / lmcp-debian (push) Successful in 7s
build and publish packages / claude-his-any (push) Successful in 7s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 13m11s
build and publish packages / claude-his-debian (push) Successful in 12s
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Successful in 13s
build and publish packages / mpv-fourier-aarch64 (push) Successful in 1m5s
Reviewed-on: #25
This commit was merged in pull request #25.
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
||||
# Source of truth: git.reauktion.de/marfrit/lmcp
|
||||
|
||||
pkgname=lmcp
|
||||
pkgver=1.1.1
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="Lightweight MCP (Model Context Protocol) server in pure Lua"
|
||||
arch=('any')
|
||||
@@ -14,7 +14,7 @@ depends=('lua' 'lua-socket')
|
||||
# pre-release pkgvers (e.g. 1.2.0_rc1 → v1.2.0-rc1).
|
||||
_tag="v${pkgver//_/-}"
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/${_tag}.tar.gz")
|
||||
sha256sums=('80c2e815aa61a2d3baab051c51cd247bdefa9dd03d72c4867b99c49b6eae9cb9')
|
||||
sha256sums=('bf9cce1a84c66b1b74c5aec923c5960d60ae33c221afc8d47ce0d74b8f7ee609')
|
||||
|
||||
package() {
|
||||
cd "${pkgname}"
|
||||
|
||||
Vendored
+3
-3
@@ -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
|
||||
|
||||
Vendored
+21
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user