From a7976f1b7d8b467bcc5dea5aaf0f19c1422cc462 Mon Sep 17 00:00:00 2001 From: Markus Fritsche Date: Fri, 17 Apr 2026 17:48:45 +0200 Subject: [PATCH] lmcp: bump to v0.4.0 (edit_file tool) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude Code Edit semantics — literal string replace with uniqueness check. replace_all flag for bulk edits. Fixes missing edit tool on lmcp-backed boltzmann / tesla / broglie. Co-Authored-By: Claude Opus 4.7 (1M context) --- arch/lmcp/PKGBUILD | 4 ++-- debian/lmcp/build-deb.sh | 6 +++--- debian/lmcp/debian/changelog | 8 +++++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/lmcp/PKGBUILD b/arch/lmcp/PKGBUILD index 0ad8aac21..7427ccfff 100644 --- a/arch/lmcp/PKGBUILD +++ b/arch/lmcp/PKGBUILD @@ -3,7 +3,7 @@ # Source of truth: git.reauktion.de/marfrit/lmcp pkgname=lmcp -pkgver=0.3.0 +pkgver=0.4.0 pkgrel=1 pkgdesc="Lightweight MCP (Model Context Protocol) server in pure Lua" arch=('any') @@ -11,7 +11,7 @@ url="https://git.reauktion.de/marfrit/lmcp" license=('MIT') depends=('lua' 'lua-socket') source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/v${pkgver}.tar.gz") -sha256sums=('80a37fc41633ae285b86f2f6cdd97f0c922c03022dce09addd47aeb379f2bcff') +sha256sums=('d5312690114ee9ce94fbfb03f21b9b17adf74772f4e34137cbc08e34c270c211') package() { cd "${pkgname}" diff --git a/debian/lmcp/build-deb.sh b/debian/lmcp/build-deb.sh index e72419490..379b57a70 100755 --- a/debian/lmcp/build-deb.sh +++ b/debian/lmcp/build-deb.sh @@ -7,16 +7,16 @@ # package (Architecture: all, depends on lua + lua-socket). set -euo pipefail -PKGVER=0.3.0 +PKGVER=0.4.0 PKGREL=1 -LMCP_TARBALL_SHA256=80a37fc41633ae285b86f2f6cdd97f0c922c03022dce09addd47aeb379f2bcff +LMCP_TARBALL_SHA256=d5312690114ee9ce94fbfb03f21b9b17adf74772f4e34137cbc08e34c270c211 HERE=$(dirname "$(readlink -f "$0")") # Reproducible build: pin all file mtimes + ar member timestamps to a fixed # epoch tied to this packaging release (lmcp v0.3.0 — 2026-04-14 22:00 UTC). # Without this, repeat builds produce different byte streams and reprepro # refuses re-includes with "size expected: X, got: Y". -export SOURCE_DATE_EPOCH=1776200400 +export SOURCE_DATE_EPOCH=1776440906 work=$(mktemp -d) trap "rm -rf $work" EXIT diff --git a/debian/lmcp/debian/changelog b/debian/lmcp/debian/changelog index 6dbe2f7f9..e076d7e87 100644 --- a/debian/lmcp/debian/changelog +++ b/debian/lmcp/debian/changelog @@ -1,5 +1,11 @@ +lmcp (0.4.0-1) bookworm trixie; urgency=medium + + * Add edit_file tool (Claude Code Edit semantics: literal match, + fails on multiple matches unless replace_all=true). + + -- Markus Fritsche Fri, 17 Apr 2026 15:48:26 +0000 lmcp (0.3.0-1) bookworm trixie; urgency=medium * Initial release packaged for marfrit overlay repo. - -- Markus Fritsche Tue, 14 Apr 2026 22:00:00 +0200 + -- Markus Fritsche Tue, 14 Apr 2026 22:00:00 +0200 \ No newline at end of file