feat: restore CI/release, prompt contracts, faster install (0.9.33)

Bring back Gitea CI + auto-publish; share release helpers; strengthen multi-turn
tool/job prompts with a unit contract; ccache/make help and --release bootstrap.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WHC
2026-10-29 19:56:42 +08:00
co-authored by Cursor
parent f00aad9e3e
commit 814a31c9c8
14 changed files with 588 additions and 94 deletions
+3 -1
View File
@@ -12,6 +12,8 @@
# check is skipped under GITEA_ACTIONS / GITHUB_ACTIONS / CI.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
# shellcheck source=lib_release.sh
. "$ROOT/scripts/lib_release.sh"
SERVER="${CST_GITEA:-${GITHUB_SERVER_URL:-https://git.whcself.xyz}}"
REPO="${CST_REPO:-${GITHUB_REPOSITORY:-WHC/CST-agent}}"
API="$SERVER/api/v1/repos/$REPO"
@@ -33,7 +35,7 @@ for f in "$@"; do
done
cd "$ROOT"
ver="$(sed -n 's/^#define CST_VERSION_\(MAJOR\|MINOR\|PATCH\) \([0-9]*\)$/\2/p' include/cst_version.h | paste -sd.)"
ver="$(cst_version)"
tag="v$ver"
# If this job was triggered by a version tag, it must match cst_version.h.