The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): name the REST hide path in the hide-sweep comments
teknium15bb41cecefe8
diff --git a/apps/desktop/src/plugins/hermes-bots/bot-state.ts b/apps/desktop/src/plugins/hermes-bots/bot-state.tsindex a478189ff8f..a3000c4a0ed 100644--- a/apps/desktop/src/plugins/hermes-bots/bot-state.ts+++ b/apps/desktop/src/plugins/hermes-bots/bot-state.ts@@ -23,7 +23,7 @@ export const rosterWatermarks = new Map<string, number>()// sessions are room plumbing — neither is a scratch conversation, and a// 6-member room would otherwise dump six identical "Group: ..." rows into// recents. Backed by the core generic `hidden` session flag (session.create-// hidden:true / session.set_hidden). Older gateways ignore the flag and the+// hidden:true / REST PATCH /api/sessions/{id}). Older gateways ignore the flag and the// sessions simply stay visible there./** Bot the Routines tile is scoped to. Follows the live gateway profilediff --git a/apps/desktop/src/plugins/hermes-bots/session-sweep.ts b/apps/desktop/src/plugins/hermes-bots/session-sweep.tsindex 0f032bc5e7c..7f29f0ab1a2 100644--- a/apps/desktop/src/plugins/hermes-bots/session-sweep.ts+++ b/apps/desktop/src/plugins/hermes-bots/session-sweep.ts@@ -24,8 +24,9 @@ interface HideSweepContext {/** One-time reconciliation: Bot Mode sessions are always hidden, but rooms* and Bot Chats created before this policy (or while the old pref was off)* left visible rows behind. On every plugin load, sweep the session ids we- * own by id (each group room's member sessions) through the core- * session.set_hidden RPC, then run the TITLE-based ownership sweep for+ * own by id (each group room's member sessions) through the source+ * primary's REST PATCH /api/sessions/{id} (a 404 prunes the seat), then+ * run the TITLE-based ownership sweep for* everything else — canonical Bot Chats are identified by name (the* registry row titled "Bot Chat"), so the title sweep is what hides them;* no stored-id pointer is consulted. Idempotent (the DB setter is a no-op