wish-agent-git
LOW
maintainer windust
0 votes
scanned 2026-10-07 14:05:47.471701
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: WindustH <windusth2006@gmail.com>
2
3
_pkgname=wish-agent
4
pkgname=$_pkgname-git
5
pkgver=0.2.0.r0.gced6623
6
pkgrel=1
7
pkgdesc="Self-hosted AI agent server and web app: long-lived sessions, shell tools and many model providers"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/WindustH/wish-core"
10
license=('MIT')
11
depends=('glibc' 'libgcc')
12
# The web app's build fetches its pinned packages and fonts, and subsets the fonts.
13
makedepends=('git' 'cargo' 'nodejs' 'corepack' 'python' 'python-fonttools' 'python-brotli' 'python-numpy' '7zip')
14
provides=("$_pkgname")
15
conflicts=("$_pkgname" "$_pkgname-bin" 'tk')
16
options=('!lto' '!debug')
17
source=("wish-core::git+https://github.com/WindustH/wish-core.git"
18
"wish-web::git+https://github.com/WindustH/wish-web.git"
19
"wish-agent.service")
20
sha256sums=('SKIP'
21
'SKIP'
22
'932ff80ab90865dbeb39168c36293738af32ec5f197c7630930d0a54c2bac0d0')
23
24
pkgver() {
25
cd wish-core
26
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
27
}
28
29
prepare() {
30
cd wish-web
31
./pnpmw install --frozen-lockfile
32
# Downloads the pinned fonts into .cache; the build reuses them.
33
python3 tools/fonts.py
34
cd ../wish-core
35
export RUSTUP_TOOLCHAIN=stable
36
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
37
}
38
39
build() {
40
cd wish-web
41
./pnpmw build
42
cd ../wish-core
43
export RUSTUP_TOOLCHAIN=stable
44
export CARGO_TARGET_DIR=target
45
cargo build --frozen --release
46
}
47
48
package() {
49
# The program finds its web app beside it; /usr/bin holds a link. Tk's `wish` is the same path.
50
install -Dm755 wish-core/target/release/wish "$pkgdir/usr/lib/$_pkgname/wish"
51
cp -r wish-web/dist "$pkgdir/usr/lib/$_pkgname/web"
52
install -dm755 "$pkgdir/usr/bin"
53
ln -s "/usr/lib/$_pkgname/wish" "$pkgdir/usr/bin/wish"
54
install -Dm644 wish-agent.service "$pkgdir/usr/lib/systemd/user/wish-agent.service"
55
install -Dm644 wish-core/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
56
install -Dm644 wish-core/README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
57
}
58
Changes since previous scan
--- PKGBUILD @ 2026-10-06 00:13+++ PKGBUILD @ 2026-10-07 14:05@@ -2,7 +2,7 @@ _pkgname=wish-agent pkgname=$_pkgname-git-pkgver=0.1.3.r0.g41f72cc+pkgver=0.2.0.r0.gced6623 pkgrel=1 pkgdesc="Self-hosted AI agent server and web app: long-lived sessions, shell tools and many model providers" arch=('x86_64' 'aarch64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 14:05:47 | Low | 1 |
| 2026-10-06 00:13:36 | Clean | 2 |
| 2026-10-05 23:40:58 | Low | 1 |