release: Hermit 1.0.0 — home layout, icon font, install
Compact the home parliament chip, animate crab states like the HTML kit, ship hermit-icons.ttf (sbix) + frames, and install the font from make/ bootstrap/package paths. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,8 +45,13 @@ const char *hermit_mini_badge(hermit_state_t st, int frame, int ascii);
|
||||
/* Home shell crab: up to *nlines strings (not owned). Returns line count. */
|
||||
int hermit_shell_art(hermit_state_t st, int with_shell, int ascii,
|
||||
const char **lines, int max_lines);
|
||||
/* Same as hermit_shell_art, but advances HTML-kit animation by frame. */
|
||||
int hermit_shell_art_frame(hermit_state_t st, int with_shell, int ascii,
|
||||
int frame, const char **lines, int max_lines);
|
||||
int hermit_shell_art_width(void);
|
||||
int hermit_shell_art_height(void);
|
||||
|
||||
/* Color roles for art cells: 0=body(crab) 1=shell 2=eye 3=leg 4=prompt 5=mark */
|
||||
/* Color roles for art cells: 0=body 1=shell 2=eye 3=leg 4=prompt 5=mark */
|
||||
int hermit_shell_cell_role(hermit_state_t st, int with_shell, int row, int col);
|
||||
|
||||
/* PUA base U+E700; layout: shell*HERMIT_ST_N*HERMIT_FONT_FRAMES + st*FRAMES + frame */
|
||||
@@ -54,6 +59,9 @@ int hermit_shell_cell_role(hermit_state_t st, int with_shell, int row, int col);
|
||||
#define HERMIT_FONT_FRAMES 8
|
||||
wchar_t hermit_font_codepoint(hermit_state_t st, int frame, int with_shell);
|
||||
|
||||
/* Non-empty path when hermit-icons.ttf is installed (may be ""). */
|
||||
const char *hermit_font_path(void);
|
||||
|
||||
/* Map agent UI signals → icon state. */
|
||||
hermit_state_t hermit_state_from_ui(int busy, int ask, int error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user