agentty-git

LOW
maintainer 1ay1 0 votes scanned 2026-09-08 15:17:32.240420
View on AUR
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: Ayush Bhat <tfeayush@gmail.com>
2#
3# agentty-git — build agentty from the tip of master, FULLY DYNAMICALLY
4# LINKED against the system libraries (openssl, libnghttp2, gcc-libs).
5# This is the counterpart to agentty-bin, which ships the prebuilt static
6# release binary. Users who want to ride HEAD (and get Arch's ABI/security
7# updates for OpenSSL et al. via normal `pacman -Syu`) want this package.
8#
9# Network policy: everything is fetched by makepkg in source=() — the four
10# git submodules are wired to the local clones in prepare(), and the three
11# CMake-FetchContent deps (nlohmann_json / simdjson / mimalloc, pinned by
12# the build system to exact tags) are provided as checksummed tarballs via
13# FETCHCONTENT_SOURCE_DIR_* overrides. build() runs fully offline
14# (FETCHCONTENT_FULLY_DISCONNECTED=ON enforces it).
15
16pkgname=agentty-git
17_pkgname=agentty
18pkgver=0.8.0.r56.g3708ca82
19pkgrel=1
20pkgdesc="Blazing-fast Claude in your terminal (C++26 TUI agent) — git HEAD, dynamically linked"
21arch=('x86_64' 'aarch64')
22url="https://github.com/1ay1/agentty"
23license=('MIT')
24depends=('glibc' 'gcc-libs' 'openssl' 'libnghttp2')
25makedepends=('git' 'cmake' 'ninja')
26optdepends=('bubblewrap: sandbox bash/diagnostics tool calls'
27 'openssh: for `agentty airgap`')
28provides=("$_pkgname")
29conflicts=("$_pkgname")
30# makepkg's default LTOFLAGS (-flto=auto) ICE GCC 16's LTO streamer on this
31# C++26 tree ("tree code 'decltype_type' is not supported in LTO streams").
32# The project's own release pipeline handles LTO where it's known-good; the
33# AUR build stays plain -O3.
34options=('!lto')
35
36# Pinned FetchContent tags — keep in sync with:
37# cmake/AgenttySubmodules.cmake (nlohmann_json GIT_TAG, simdjson GIT_TAG,
38# AGENTTY_MIMALLOC_TAG). The build fails loudly if they drift, because the
39# FETCHCONTENT_SOURCE_DIR override simply supplies whatever is unpacked
40# here — bump these lines when the pins move.
41_json_tag=v3.11.3
42_simdjson_tag=v3.10.1
43_mimalloc_tag=v3.4.5
44
45source=("$_pkgname::git+https://github.com/1ay1/agentty.git"
46 'git+https://github.com/1ay1/maya.git'
47 'git+https://github.com/1ay1/acp-cpp.git'
48 'git+https://github.com/1ay1/mcp-cpp.git'
49 'git+https://github.com/1ay1/rag-cpp.git'
50 "nlohmann_json-${_json_tag}.tar.gz::https://github.com/nlohmann/json/archive/${_json_tag}.tar.gz"
51 "simdjson-${_simdjson_tag}.tar.gz::https://github.com/simdjson/simdjson/archive/${_simdjson_tag}.tar.gz"
52 "mimalloc-${_mimalloc_tag}.tar.gz::https://github.com/microsoft/mimalloc/archive/${_mimalloc_tag}.tar.gz")
53sha256sums=('SKIP'
54 'SKIP'
55 'SKIP'
56 'SKIP'
57 'SKIP'
58 '0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406'
59 '1e8f881cb2c0f626c56cd3665832f1e97b9d4ffc648ad9e1067c134862bba060'
60 '19a43af0645c57d348e729d5b31e23e912582911bb1047f795790834d3416221')
61
62pkgver() {
63 cd "$_pkgname"
64 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
65}
66
67prepare() {
68 cd "$_pkgname"
69 # Point every submodule at the local mirror makepkg already cloned, so
70 # `submodule update` never touches the network.
71 git submodule init
72 git config submodule.maya.url "$srcdir/maya"
73 git config submodule.acp-cpp.url "$srcdir/acp-cpp"
74 git config submodule.mcp-cpp.url "$srcdir/mcp-cpp"
75 git config submodule.rag-cpp.url "$srcdir/rag-cpp"
76 git -c protocol.file.allow=always submodule update
77}
78
79build() {
80 cmake -S "$_pkgname" -B build -G Ninja \
81 -DCMAKE_BUILD_TYPE=Release \
82 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
83 -DAGENTTY_STANDALONE=OFF \
84 -DAGENTTY_AUTO_PULL_SUBMODULES=OFF \
85 -DAGENTTY_COMPILER_CACHE=OFF \
86 -DAGENTTY_BUILD_TESTS=OFF \
87 -DFETCHCONTENT_FULLY_DISCONNECTED=ON \
88 -DFETCHCONTENT_SOURCE_DIR_NLOHMANN_JSON="$srcdir/json-${_json_tag#v}" \
89 -DFETCHCONTENT_SOURCE_DIR_SIMDJSON="$srcdir/simdjson-${_simdjson_tag#v}" \
90 -DFETCHCONTENT_SOURCE_DIR_MIMALLOC="$srcdir/mimalloc-${_mimalloc_tag#v}"
91 cmake --build build
92}
93
94package() {
95 install -Dm755 build/agentty "$pkgdir/usr/bin/$_pkgname"
96 install -Dm644 "$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
97}
98

Scan history

Scanned at (UTC)SeverityRules
2026-09-08 15:17:32 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion