dsh-sidecar
Two right-sidebar tabs that work on the current session only:
- Ask & mark — select any passage in the conversation and a small bar appears with Mark and Ask. Mark stores the passage so you can attach a note; Ask answers the question in a separate side session, so the main session log gains no event and its context is untouched. The answer streams in token by token and renders as Markdown. The child is fed the turn the passage came from, plus its neighbours and the last two turns, so it is not answering blind.
- Documents — scans this session's own log and lists every file it wrote (
write / edit / str_replace_editor, both native calls and calls bridged out of run_code), plus everything it presented. Each row shows the turn range and how many times the file was written. Clicking a row opens the file in the sidebar preview; clicking a turn jumps to that turn in the conversation.
Open either tab from the ❖ Ask / ▤ Docs buttons in the session header.
Install
dsh plugin --profile desktop add dsh-sidecar
Or add dsh-sidecar to the bundles list of a profile and run dsh plugin --profile desktop install.
What it stores
Marks and threads live on this machine under $DSH_HOME/sidecar/sessions/, one JSON file per session. Turning the plugin off removes the selection bar, the header buttons and both tabs; saved marks stay on disk.
Limits
- The document index only knows what the tools reported. Files written through shell redirection (
cat > f, tee) are not listed.
- Answers come from a fresh side session seeded with the selected turn's neighbourhood — not from the main session's full context.
- Requires a DSH build that exposes
ctx.connection.fetch.register.
License
MIT