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.
This commit is contained in:
kumarabhirup 2026-02-22 01:10:21 -08:00
parent 8eb30c435d
commit 36553cf0c0
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167

View File

@ -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_<object>`).",
"- **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",