Merge branch 'ws-files-viewer'

# Conflicts:
#	app/tool/capture/README.md
This commit is contained in:
2026-11-07 01:45:03 +00:00
32 changed files with 1349 additions and 140 deletions
+17
View File
@@ -140,3 +140,20 @@ node tool/capture/capture.mjs --build build/probe-app --out /tmp/review/chat-whe
For a prompt delivered to the running reply, use `--params chats=2&steered=1`,
open `/chat/perf-chat-0`, then type and send a prompt. Without `steered=1`
the fixture retains the older-server Sent acknowledgement.
## Chat file explorer
Use `--params 'chats=2&files=1' open=/chat/perf-chat-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.