feat: preserve image profile configuration

This commit is contained in:
2026-07-10 05:26:09 +08:00
parent 58638d9fe3
commit c52afce684
4 changed files with 94 additions and 11 deletions
+3 -6
View File
@@ -97,15 +97,12 @@ Controls:
- `2` requests
- `3` logs
- `4` profiles
- `,` / `.` select request-table column for visibility/sort actions
- `v` toggle the selected requests column visible/hidden
- `c` sort requests by the selected column
- `C` toggle requests sort ascending/descending
- `c` edit request-table column visibility, order, and widths
- `e` edit selected profile in `$VISUAL` / `$EDITOR`
- `/` filter
- `r` refresh
- `m` switch request table compact/wide width profile
- `[` / `]` narrow or widen the requests usage column
- `Shift-Left` / `Shift-Right` scroll the active table
- `p` probe selected profile
- `s` switch to selected profile
- `w` save selected profile snapshot
@@ -114,4 +111,4 @@ Controls:
This client uses only the public gateway admin API and does not need SSH or secrets.
Profile editing uses a temp TOML draft opened in `$VISUAL` or `$EDITOR` and then saves it back through the gateway profiles API.
Profile editing uses a temp TOML draft opened in `$VISUAL` or `$EDITOR` and then saves it back through the gateway profiles API. Both the text upstream and optional image upstream are preserved; image routing applies to `/images/*` and `/v1/images/*`. Manual secrets are always blank in the draft, so a blank value keeps the existing secret file.