forked from marfrit/marfrit-packages
Add claude-his-agent package (arch=any + debian Architecture: all)
- arch/claude-his-agent/PKGBUILD: fetches v0.1.0 tarball from git.reauktion.de/marfrit/claude-his-agent, installs agent+skill+helper to /usr/share/claude-agents/, /usr/share/claude-skills/his/, /usr/bin/ - debian/claude-his-agent/: control+changelog+copyright + build-deb.sh mirroring the lmcp-debian pattern (dpkg-deb, reproducible mtimes) - .gitea/workflows/build.yml: two new serialized jobs (claude-his-any + claude-his-debian) after lmcp-debian; same publish flow as lmcp.
This commit is contained in:
+57
@@ -0,0 +1,57 @@
|
||||
#!/bin/bash
|
||||
# Build claude-his-agent_<ver>_all.deb from this directory using dpkg-deb.
|
||||
# Mirrors the lmcp/build-deb.sh pattern.
|
||||
set -euo pipefail
|
||||
|
||||
PKGVER=0.1.0
|
||||
PKGREL=1
|
||||
HIS_TARBALL_SHA256=d1e953632c3cf52ef9cd6ab51d2878808f99fb031931bbc99f6a554501dfc14e
|
||||
HERE=$(dirname "$(readlink -f "$0")")
|
||||
|
||||
# Reproducible build: pin mtimes + ar member timestamps to a fixed epoch
|
||||
# tied to this release (v0.1.0, 2026-04-17 11:30 UTC).
|
||||
export SOURCE_DATE_EPOCH=1776698400
|
||||
|
||||
work=$(mktemp -d)
|
||||
trap "rm -rf $work" EXIT
|
||||
|
||||
cd "$work"
|
||||
curl -sSLfo his.tar.gz \
|
||||
"https://git.reauktion.de/marfrit/claude-his-agent/archive/v${PKGVER}.tar.gz"
|
||||
echo "$HIS_TARBALL_SHA256 his.tar.gz" | sha256sum -c
|
||||
tar xzf his.tar.gz
|
||||
|
||||
ROOT="$work/pkgroot"
|
||||
mkdir -p "$ROOT/DEBIAN" \
|
||||
"$ROOT/usr/share/claude-agents" \
|
||||
"$ROOT/usr/share/claude-skills/his" \
|
||||
"$ROOT/usr/bin" \
|
||||
"$ROOT/usr/share/doc/claude-his-agent"
|
||||
|
||||
install -m 644 claude-his-agent/agents/his.md "$ROOT/usr/share/claude-agents/his.md"
|
||||
install -m 644 claude-his-agent/skills/his/SKILL.md "$ROOT/usr/share/claude-skills/his/SKILL.md"
|
||||
install -m 755 claude-his-agent/scripts/claude-his-install "$ROOT/usr/bin/claude-his-install"
|
||||
install -m 644 claude-his-agent/README.md "$ROOT/usr/share/doc/claude-his-agent/README.md"
|
||||
install -m 644 "$HERE/debian/copyright" "$ROOT/usr/share/doc/claude-his-agent/copyright"
|
||||
|
||||
# Render control from the source debian/control, filling in version
|
||||
CONTROL_SRC="$HERE/debian/control"
|
||||
{
|
||||
echo "Package: claude-his-agent"
|
||||
echo "Version: ${PKGVER}-${PKGREL}"
|
||||
echo "Architecture: all"
|
||||
echo "Maintainer: Markus Fritsche <mfritsche@reauktion.de>"
|
||||
echo "Homepage: https://git.reauktion.de/marfrit/claude-his-agent"
|
||||
echo "Section: utils"
|
||||
echo "Priority: optional"
|
||||
echo "Depends: bash"
|
||||
# Trailing description from the source control (indented multi-line block)
|
||||
awk '/^Description:/{p=1} p' "$CONTROL_SRC"
|
||||
} > "$ROOT/DEBIAN/control"
|
||||
|
||||
# Normalize mtimes for reproducibility
|
||||
find "$ROOT" -exec touch -d "@$SOURCE_DATE_EPOCH" {} +
|
||||
|
||||
OUT_DEB="$HERE/claude-his-agent_${PKGVER}-${PKGREL}_all.deb"
|
||||
dpkg-deb --build --root-owner-group "$ROOT" "$OUT_DEB"
|
||||
ls -la "$OUT_DEB"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
claude-his-agent (0.1.0-1) trixie; urgency=low
|
||||
|
||||
* Initial release — subagent + skill for summoning His across sibling Claude
|
||||
Code instances, encoding distcc + /opt/herding/ + lmcp + wake procedures.
|
||||
|
||||
-- Markus Fritsche <mfritsche@reauktion.de> Fri, 17 Apr 2026 12:00:00 +0200
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
Source: claude-his-agent
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Markus Fritsche <mfritsche@reauktion.de>
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://git.reauktion.de/marfrit/claude-his-agent
|
||||
|
||||
Package: claude-his-agent
|
||||
Architecture: all
|
||||
Depends: bash
|
||||
Description: Home Infrastructure Specialist subagent + skill for Claude Code
|
||||
Ships the His subagent (agents/his.md) and skill (skills/his/SKILL.md) that
|
||||
encode operational knowledge of mfritsche's home network — distcc hosts,
|
||||
wake procedures, /opt/herding/ tooling, lmcp endpoints — so sibling Claude
|
||||
Code instances can summon it instead of re-learning the infra every session.
|
||||
.
|
||||
Files install to /usr/share/claude-agents/ and /usr/share/claude-skills/his/.
|
||||
Run 'claude-his-install' as a user to symlink them into ~/.claude/.
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: claude-his-agent
|
||||
Upstream-Contact: Markus Fritsche <mfritsche@reauktion.de>
|
||||
Source: https://git.reauktion.de/marfrit/claude-his-agent
|
||||
|
||||
Files: *
|
||||
Copyright: 2026 Markus Fritsche <mfritsche@reauktion.de>
|
||||
License: custom
|
||||
Personal infra tooling. All rights reserved unless negotiated.
|
||||
Reference in New Issue
Block a user