feat: Hermit 1.1.0 — HERMIT_* env, Tauri desktop shell
ci / tcc-check (push) Failing after 42s
ci / linux (aarch64, 0) (push) Skipped
ci / linux (x86, 1) (push) Skipped
ci / linux (x86_64, 1) (push) Skipped
ci / windows (push) Skipped

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:
WHC
2026-10-30 13:15:47 +08:00
co-authored by Cursor
parent 15c6c4a02a
commit ea38247161
71 changed files with 15336 additions and 143 deletions
+2 -12
View File
@@ -6,18 +6,8 @@
#include <stdlib.h>
#include <string.h>
const char *hermit_getenv(const char *suffix) {
char hk[96], ck[96];
if (!suffix || !suffix[0])
return "";
snprintf(hk, sizeof(hk), "HERMIT_%s", suffix);
const char *e = getenv(hk);
if (e && e[0])
return e;
snprintf(ck, sizeof(ck), "CST_%s", suffix);
e = getenv(ck);
return e ? e : "";
}
/* hermit_getenv lives in os_compat.c so light test binaries that link
* os_compat without hermit_glyph still resolve HERMIT_/CST_ dual env. */
static int file_ok(const char *path) {
os_stat_t st;