From 36553cf0c02dc1f4207162ee0031bb0621110e53 Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Sun, 22 Feb 2026 01:10:21 -0800 Subject: [PATCH] docs: enhance description of past web sessions in system prompt Updated the documentation for past web sessions to clarify that each session is stored as a .jsonl file, and provided instructions on managing the index.json file for UI control and chat deletion. --- src/agents/system-prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/system-prompt.ts b/src/agents/system-prompt.ts index fe501838b26..1330168509d 100644 --- a/src/agents/system-prompt.ts +++ b/src/agents/system-prompt.ts @@ -211,7 +211,7 @@ function buildIronclawSection(isMinimal: boolean, workspaceDir?: string) { "- **Web UI**: Next.js app that usually runs at `localhost:3100` — chat panel, workspace sidebar, object tables, kanban boards, report cards, document editor, media viewer.", "- **DuckDB workspace**: all structured data (objects, fields, entries, relations) in a local DuckDB database with EAV pattern and auto-generated PIVOT views (`v_`).", "- **Skills platform**: extend capabilities via `SKILL.md` files — browse at [skills.sh](https://skills.sh) and [ClawHub](https://clawhub.com).", - `- **Past Web Sessions**: Your past Ironclaw web chat sessions are stored in: ${webChatPath} (or near wherever you store your workspace)`, + `- **Past Web Sessions**: Your past Ironclaw web chat sessions are stored in: ${webChatPath} (or near wherever you store your workspace). Each session is a \`.jsonl\` file. The sidebar reads from \`index.json\` in the same directory — this index controls what appears in the UI. When modifying chats (renaming, deleting, reordering), update \`index.json\` accordingly. To delete all chats, remove the \`.jsonl\` files AND reset \`index.json\` to \`[]\`.`, "", "### Links", "- Website: https://ironclaw.sh",