Vorgabepfad: ~/.hermes/skilld statt ~/.hermes/skilllib

Dienst und Ablage sollen denselben Namen tragen — tasksd, memoryd, wikid machen es vor.
Auf n95 zeigt SKILLLIB jetzt auf /var/lib/skilld (Unit angepasst, Verzeichnis umbenannt,
Verlauf mitgenommen). Ohne die Umgebungsvariable greift die neue Vorgabe.
This commit is contained in:
Hermes Agent committed 2026-11-08 20:00:39 +00:00
1 parent 2bd4eb91ea
commit 317ea9ba40
1 file changed
+2 -2
+2 -2
View File
@@ -7,7 +7,7 @@
* Built on libmcp (../libmcp/mcp.h): this file owns storage and the tool
* handlers, the library owns the protocol.
*
* Storage: $SKILLLIB (default ~/.hermes/skilllib)
* Storage: $SKILLLIB (default ~/.hermes/skilld)
* <name>/SKILL.md YAML frontmatter + markdown body
* <name>/<anything> references, scripts, templates
*/
@@ -86,7 +86,7 @@ static char *skilllib_path(void)
home = getenv("HOME");
if (home == NULL)
home = "/tmp";
mcp_buf_printf(&b, "%s/.hermes/skilllib", home);
mcp_buf_printf(&b, "%s/.hermes/skilld", home);
return b.p;
}