lmcp: bump to v0.4.0 (edit_file tool)

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) <noreply@anthropic.com>
This commit is contained in:
2026-04-17 17:48:45 +02:00
parent 27689de255
commit a7976f1b7d
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -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}"
+3 -3
View File
@@ -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
+7 -1
View File
@@ -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 <mfritsche@reauktion.de> 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 <mfritsche@reauktion.de> Tue, 14 Apr 2026 22:00:00 +0200
-- Markus Fritsche <mfritsche@reauktion.de> Tue, 14 Apr 2026 22:00:00 +0200