deepseek-harness-cli-git

LOW
maintainer fpgartktic 0 votes scanned 2026-11-03 14:04:44.822193
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: Mateusz Okulanis <FPGArtktic@outlook.com>
2# Contributor: Christoph Schmidpeter <christoph.schmidpeter@gmail.com>
3# Based on the deepseek-harness-git AUR package.
4
5pkgname=deepseek-harness-cli-git
6pkgver=0.2.2.alpha.3.r25588.g8bd0733
7pkgrel=2
8pkgdesc='DeepSeek Harness CLI (dsh) and agent harness (git, builds on Linux without the macOS-only CUA provider)'
9arch=('x86_64' 'aarch64')
10url='https://github.com/deepseek-ai/deepseek-harness'
11license=('MIT')
12depends=('nodejs' 'pnpm')
13makedepends=('git' 'npm')
14optdepends=('git: repository-aware tools'
15 'bubblewrap: sandboxed command execution')
16options=('!strip')
17provides=('deepseek-harness')
18conflicts=('deepseek-harness' 'deepseek-harness-bin' 'deepseek-harness-git')
19source=('git+https://github.com/deepseek-ai/deepseek-harness.git' 'aur-package.mjs' 'check-runtime.mjs')
20sha256sums=('SKIP' 'dbeef3bba45b2ae022452db4245b7bcfd543fd63acd45b4b6666566bb232e1bc' 'a684df2d80ceecb8ae8342e2378d47a637f6a791751cd50adde650d4e461bea7')
21
22pkgver() {
23 cd "$srcdir/deepseek-harness"
24 local _ver
25 _ver=$(node -p "require('./apps/cli/package.json').version.replace('-rc.', 'rc.').replace(/-/g, '.')")
26 printf '%s.r%s.g%s' "$_ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
27}
28
29prepare() {
30 cd "$srcdir/deepseek-harness"
31
32 # This hook only manages development git hooks and breaks production packing.
33 node -e "const fs=require('fs'); const p=JSON.parse(fs.readFileSync('package.json','utf8')); delete p.scripts.postinstall; fs.writeFileSync('package.json', JSON.stringify(p,null,2)+'\\n')"
34 # Keep pnpm's mutable store out of the source and package trees.
35 export pnpm_config_store_dir="$srcdir/.pnpm-store"
36 pnpm install --frozen-lockfile --store-dir "$pnpm_config_store_dir"
37}
38
39build() {
40 cd "$srcdir/deepseek-harness"
41 pnpm run build:official
42
43 rm -rf dist/aur-dsh dist/aur-vendor
44 pnpm run release:pack --family vendor --out dist/aur-vendor
45 pnpm run release:pack --family dsh --out dist/aur-dsh
46
47 node "$srcdir/aur-package.mjs" "$srcdir"
48
49 cd "$srcdir/npm-root"
50 npm install --include=optional --no-audit --no-fund --package-lock=false
51}
52
53check() {
54 node "$srcdir/check-runtime.mjs" "$srcdir/npm-root"
55 node "$srcdir/npm-root/node_modules/@deepseek-ai/dsh/lib/bin.js" --version
56}
57
58package() {
59 install -d "$pkgdir/usr/lib/deepseek-harness" "$pkgdir/usr/bin"
60 # Preserve the runtime tree's metadata and symlink structure without
61 # attempting to preserve source-tree ownership under fakeroot.
62 cp -a --no-preserve=ownership "$srcdir/npm-root/node_modules" "$pkgdir/usr/lib/deepseek-harness/"
63 ln -s ../lib/deepseek-harness/node_modules/@deepseek-ai/dsh/lib/bin.js "$pkgdir/usr/bin/dsh"
64 install -Dm644 "$srcdir/deepseek-harness/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
65 find "$pkgdir/usr" -type d -exec chmod 755 {} +
66}
67

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 14:04:44 Low 1
2026-11-03 12:04:35 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