aish: package v0.1.0 for arch + debian #95
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/aish-v0.1.0-package"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
First packaged release of aish (AI-augmented conversational shell, LuaJIT 2.x + FFI). Tag
v0.1.0(commit8fb5954, tarball sha2569ebc3939e028832e39391ae33efacb5ec9bcd99d123cbc8ca1cd6ca9a640b5b5).arch/aish/PKGBUILD—depends=(luajit readline curl), arch=any.debian/aish/{build-deb.sh,debian/}— puredpkg-deb,SOURCE_DATE_EPOCHpinned, dependsluajit, libreadline8t64 | libreadline8, libcurl4t64 | libcurl4for bookworm+trixie portability..gitea/workflows/build.yml+174 lines: two new jobsaish-any(chainsneeds: lmcp-debian) andaish-debian(chainsneeds: aish-any). Sibling of claude-his-any in the pure-Lua DAG branch.Install layout mirrors lmcp's pattern, adapted for LuaJIT (5.1 path):
/usr/bin/aish— POSIX-sh wrapper that execsluajit $AISH_LIB/main.lua(default/usr/share/lua/5.1/aish)./usr/share/lua/5.1/aish/{main,broker,context,executor,history,mcp,renderer,repl,router,safety,secrets}.lua/usr/share/lua/5.1/aish/ffi/{curl,libc,pty,readline}.lua/usr/share/lua/5.1/aish/vendor/dkjson.lua/usr/share/doc/aish/{README.md,LICENSE,examples/config.lua}— example config is token-redacted (live tokens in upstream'sconfig.luaare deliberately not shipped).Upstream side: aish needed three in-tree changes for the package to work, landed in
8fb5954onmarfrit/aishmain pre-tag — script-dir-relativepackage.pathinmain.lua,bin/aishwrapper, redactedexamples/config.lua, plus a MITLICENSE+ README update.Reviews
luajit main.lua, wrapper didn't pre-check forluajiton PATH, HOSSENFELDER URL lacked areplace mehint).needs:frommpv-fourier-aarch64tolmcp-debianfor cleaner DAG + faster cold-build wall-clock; removed deadBuild-Depends: debhelper-compatfromdebian/aish/debian/controlsince build-deb.sh is pure dpkg-deb).Test plan
aish-anyjob runs makepkg cleanly on first push and signs successfully.aish-debianjob builds the .deb cleanly and reprepro accepts it on both bookworm and trixie suites.pacman -S aishon an Arch/ALARM host installs cleanly;aish --helpshows the correct "aish" usage banner;aishinteractive starts and locates~/.config/aish/config.lua.apt install aishon a Debian host (hertz/higgs) installs cleanly; sameaish --help+ interactive smoke.apt show aishlists the example config under/usr/share/doc/aish/examples/config.lua.🤖 Generated with Claude Code
aish is an AI-augmented conversational shell in LuaJIT 2.x with FFI bindings to libcurl, GNU readline, and libc — no C extensions, no build step. Source-of-truth: git.reauktion.de/marfrit/aish, tag v0.1.0 (tarball sha256 9ebc3939e028832e39391ae33efacb5ec9bcd99d123cbc8ca1cd6ca9a640b5b5). The arch and debian recipes mirror the lmcp pattern (pure-Lua any-arch package, no makefile, install copies modules directly): arch/aish/PKGBUILD — depends=(luajit readline curl) debian/aish/build-deb.sh — pure dpkg-deb, SOURCE_DATE_EPOCH pinned debian/aish/debian/{control,changelog,copyright} Install layout, matching what main.lua's script-dir-relative package.path expects after the wrapper execs `luajit /usr/share/lua/5.1/aish/main.lua`: /usr/bin/aish ← bin/aish wrapper /usr/share/lua/5.1/aish/{main,broker,context,executor,history, mcp,renderer,repl,router,safety,secrets}.lua /usr/share/lua/5.1/aish/ffi/{curl,libc,pty,readline}.lua /usr/share/lua/5.1/aish/vendor/dkjson.lua /usr/share/doc/aish/{README.md,LICENSE,examples/config.lua} CI: two new jobs in .gitea/workflows/build.yml at the end of file. aish-any chains needs:lmcp-debian (parallel-DAG with claude-his-any, serialized via the shared arch-aarch64 runner — avoids needless wait through the unrelated fourier stack). aish-debian chains needs:aish-any. Both invoke the standard check-already-published.sh fast-skip on no- change pushes. Sonnet review (per feedback_reviews_use_sonnet.md + bugfix-process step 4): no blockers. Folded in two findings before commit: switched needs: from mpv-fourier-aarch64 to lmcp-debian (cleaner DAG, faster cold-build wall clock), removed the dead Build-Depends: debhelper- compat line from debian/aish/debian/control (build-deb.sh doesn't use debhelper). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>