Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions entries/session-log.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "session-log",
"displayName": "Session Log",
"description": "Check what an agent actually ran, changed and decided, in one live log beside the chat. Messages, thinking, commands with their output and exit codes, tool calls, file diffs and subagent steps appear in timeline order, with a timestamp on every row and a duration on every command. The log follows new output as it arrives, opens failed commands by default, and filters to messages, thinking, tools or errors. Search covers the whole session, and single keys jump between rows, replies and errors. Open it with Mod+Shift+L or from the thread header; it reads bb's timeline and keeps no copy of the thread.",
"icon": { "url": "./icons/session-log-8dc89d04.svg" },
"screenshots": [
"./screenshots/session-log/side-panel.png",
"./screenshots/session-log/full-window.png"
],
"overview": "./overview/session-log.md",
"tags": ["log", "timeline", "tool-calls", "commands", "diffs", "search", "debugging", "side-panel"],
"author": {
"name": "Kalindu De Costa",
"github": "kalindudc",
"url": "https://github.com/kalindudc"
},
"category": "thread-content",
"source": {
"git": {
"url": "https://github.com/kalindudc/bb-marketplace.git",
"subdir": "plugins/session-log",
"range": ">=0.1.0 <1.0.0",
"tagPrefix": "session-log/"
}
}
}
9 changes: 9 additions & 0 deletions icons/session-log-8dc89d04.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions overview/session-log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
See everything an agent did in a thread without opening nested chat rows.

## What you get

- One flat side-panel log in bb's timeline order: your messages and steers, child reports, agent replies, thinking, commands, tool calls, file diffs and subagent steps.
- Timestamps, status, exit codes and duration beside each step. Replies appear in full, long output previews its first and last lines, failed commands and tools open by default, and `x` expands every row.
- Filters for Messages, Thinking, Tools and Errors, plus whole-session search. The log follows new output, including outputs that open up as they finish, until you scroll up or move to an older row; “↓ Latest” or `G` takes you back.
- Keyboard navigation (`j/k`, `n/N` for replies, `e/E` for errors), copy (`c`), a message link back to chat (`s`), and Mod+Shift+L to open the tab. The thread header has an open button too. bb's Maximize pane button gives the log the whole window.
- Settings for preview sizes, whether failures open by themselves, which rows show when the log opens, and a 12- or 24-hour clock. Changes reach open panels straight away.

## How it works

The plugin loads bb's public timeline API, including nested rows, when you open the tab. It applies live deltas afterward, with at most two refresh requests a second. It does not change bb's chat markup or store thread data; only the expanded-view choice is saved on this device. If you also want bb's chat itself to stop folding finished turns, use `bb settings completed-turns <provider> flat`.

## Limits

bb truncates output above 32,000 characters and the log keeps its truncation note. Search finds text inside Markdown messages but does not highlight it there. The whole session is fetched on opening, including large threads.
Binary file added screenshots/session-log/full-window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/session-log/side-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading