feat: Hermit 1.1.0 — HERMIT_* env, Tauri desktop shell
Wire hermit_getenv across the engine, rebrand WebUI/systemd/docs, and add apps/desktop (Tauri 2 + React) with a DeepSeek-Harness-like UI. Qt app/ is frozen; full libcstcore FFI is scaffolded behind --features engine. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
# Install or upgrade CST-Agent on Android Termux. Safe to rerun: an existing
|
||||
# Install or upgrade Hermit on Android Termux. Safe to rerun: an existing
|
||||
# checkout is fast-forwarded, rebuilt and reinstalled.
|
||||
#
|
||||
# bootstrap_termux.sh [DIR] [--no-pull]
|
||||
# cst-agent-update (installed by this script; same as rerunning it)
|
||||
# hermit-update (installed by this script; same as rerunning it)
|
||||
set -euo pipefail
|
||||
|
||||
main() {
|
||||
local repo_url="${CST_AGENT_REPO:-https://git.whcself.xyz/WHC/CST-agent.git}"
|
||||
local repo_url="${HERMIT_REPO:-${CST_AGENT_REPO:-https://git.whcself.xyz/WHC/Hermit.git}}"
|
||||
local dir="" pull=1 changed=0 arg
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
@@ -21,10 +21,12 @@ main() {
|
||||
esac
|
||||
done
|
||||
if [[ -z "$dir" ]]; then
|
||||
if [[ -n "${CST_AGENT_DIR:-}" ]]; then
|
||||
dir="$CST_AGENT_DIR"
|
||||
if [[ -n "${HERMIT_DIR:-${CST_AGENT_DIR:-}}" ]]; then
|
||||
dir="${HERMIT_DIR:-$CST_AGENT_DIR}"
|
||||
elif [[ -f Makefile && -f src/main.c && -d .git ]]; then
|
||||
dir="$(pwd)"
|
||||
elif [[ -d "$HOME/Hermit/.git" ]]; then
|
||||
dir="$HOME/Hermit"
|
||||
else
|
||||
dir="$HOME/CST-agent"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user