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:
+2
-12
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user