Initial CST-Agent: portable Linux/Termux/Windows coding agent.

Vendored sashidown, OpenAI-compatible env (OPENAI_*), and bootstrap scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WHC
2026-09-07 22:42:32 +08:00
co-authored by Cursor
commit 1f1fcba7ad
75 changed files with 14940 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#include "cst_agent.h"
#include <stdio.h>
#ifdef CST_HEADLESS_ONLY
int cst_tui_run(cst_agent_t *agent) {
(void)agent;
fprintf(stderr,
"TUI was not built into this binary (CST_BUILD_TUI=OFF).\n"
"Use --headless --prompt '...'\n");
return 1;
}
#endif