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:
@@ -24,9 +24,9 @@
|
||||
#include "cst_tools.h"
|
||||
#include "cst_util.h"
|
||||
#include "cst_version.h"
|
||||
#include "cst_hermit_glyph.h"
|
||||
#include "os_compat.h"
|
||||
#include "sashidown.h"
|
||||
#include "cst_hermit_glyph.h"
|
||||
|
||||
#include <locale.h>
|
||||
#include <pthread.h>
|
||||
@@ -5467,7 +5467,7 @@ static void cmd_realm(tui_t *t, char *arg, int *quit) {
|
||||
if (cst_realm_dir(dir, sizeof(dir)) != 0 ||
|
||||
!cst_realm_is_password_mode(dir)) {
|
||||
push_system_line(t, "No password Realm yet. Outside TUI run:");
|
||||
push_system_line(t, " cst-agent --realm-password-init");
|
||||
push_system_line(t, " hermit --realm-password-init");
|
||||
return;
|
||||
}
|
||||
char pw[256];
|
||||
@@ -5621,7 +5621,7 @@ static void cmd_status(tui_t *t, char *arg, int *quit) {
|
||||
}
|
||||
free(pst);
|
||||
if (cst_parliament_is_active() && !cst_parliament_session_ok(NULL, 0))
|
||||
push_system_line(t, " tip cst-agent --login (CST_REALM_PASSWORD)");
|
||||
push_system_line(t, " tip hermit --login (HERMIT_REALM_PASSWORD)");
|
||||
}
|
||||
cst_usage_t u;
|
||||
cst_agent_usage(t->agent, &u, NULL);
|
||||
@@ -6363,7 +6363,7 @@ static void cmd_web(tui_t *t, char *arg, int *quit) {
|
||||
(void)arg;
|
||||
(void)quit;
|
||||
#ifdef _WIN32
|
||||
push_system_line(t, "open another terminal and run: cst-agent --web");
|
||||
push_system_line(t, "open another terminal and run: hermit --web");
|
||||
#else
|
||||
static pid_t spawned = 0;
|
||||
if (spawned > 0) { /* collect the one we started last time */
|
||||
@@ -6372,7 +6372,7 @@ static void cmd_web(tui_t *t, char *arg, int *quit) {
|
||||
}
|
||||
char dir[4096], exe[4096 + 16];
|
||||
if (os_exe_dir(dir, sizeof(dir)) != 0) {
|
||||
push_system_line(t, "cannot locate this binary: run cst-agent --web yourself");
|
||||
push_system_line(t, "cannot locate this binary: run hermit --web yourself");
|
||||
return;
|
||||
}
|
||||
snprintf(exe, sizeof(exe), "%s/cst-agent", dir);
|
||||
@@ -7897,7 +7897,7 @@ int cst_tui_run(cst_agent_t *agent) {
|
||||
t.show_todo = 1;
|
||||
t.show_side = 1; /* Seat Deck; narrow terminals auto-hide in layout() */
|
||||
{
|
||||
const char *mo = getenv("CST_ASCII_MOTION");
|
||||
const char *mo = hermit_getenv("ASCII_MOTION");
|
||||
t.motion_on = !(mo && mo[0] == '0');
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user