Merge branch 'ws-files-viewer'
# Conflicts: # app/tool/capture/README.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"release":"1.0","ready":true}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1,3 @@
|
||||
section,files
|
||||
Images,2
|
||||
Documents,4
|
||||
|
@@ -0,0 +1,6 @@
|
||||
# Release notes
|
||||
|
||||
The explorer now previews files and saves downloads.
|
||||
|
||||
- Open a file to inspect it.
|
||||
- Use the file menu to download it.
|
||||
Reference in New Issue
Block a user