Complete chat file previews downloads and explorer actions

This commit is contained in:
2026-11-07 01:44:42 +00:00
parent 81955059de
commit 84a03bea8d
32 changed files with 1349 additions and 140 deletions
+17
View File
@@ -132,3 +132,20 @@ content kind and expects the offset to move:
node tool/capture/capture.mjs --build build/probe-app --out /tmp/review/chat-wheel \
--script tool/capture/examples/chat-wheel-scroll.json
```
## Chat file explorer
Use `--params 'chats=2&files=1' open=/chat/bench-0 click=Files` to open a
populated explorer (the fixture always answers `list_directory`). `files=1`
redirects view/download URLs to same-origin static fixture files; production
continues to use `/files`. After building the probe, copy the fixtures:
```sh
mkdir -p build/probe-app/capture-files
cp tool/capture/fixtures/files/* build/probe-app/capture-files/
```
The tree has an assets subfolder, a hidden folder, PNG/JPEG miniatures, text,
JSON, CSV, PDF, archive, log and video entries. Image/text/table/archive files
have bundled bytes; PDF and video entries demonstrate type labels and menus
only. Use the real server for their external handlers and playback acceptance.