feat: fix proxy compatibility and establish TUI foundation

This commit is contained in:
proxyctl coordinator
2026-07-17 20:30:52 +08:00
parent 0f4c122eff
commit daeb788eac
34 changed files with 1521 additions and 176 deletions
@@ -0,0 +1,19 @@
# 08 — Deliver the mature Profile editor
**What to build:** Replace append-only Profile editing with efficient terminal text inputs, precise validation, and a live Bypass interpretation that users can trust before saving.
**Blocked by:** 07 — Build the dedicated Profile management page.
**Status:** ready-for-agent
- [ ] Name and URL fields support insertion, cursor movement, Home, End, Delete, Backspace, paste, and horizontal scrolling.
- [ ] Focus is explicit and remains understandable without color.
- [ ] Single and Advanced mode transitions preserve values according to existing Proxy Profile semantics.
- [ ] Field-specific validation appears beside the relevant field and updates when input changes.
- [ ] Save uses the same canonical Profile validation semantics as the live feedback, preventing contradictory results.
- [ ] Bypass accepts efficient delimited input and displays a live normalized, deduplicated preview.
- [ ] Invalid Bypass entries are identified individually without hiding valid entries.
- [ ] Proxy credentials remain obscured during entry, scrolling, validation, review, errors, and resize.
- [ ] Save returns to management with the saved Profile selected; cancel leaves persistence unchanged.
- [ ] Long URLs and Bypass content remain usable at 80×24.
- [ ] Complete-Model tests cover editing operations, paste, horizontal scrolling, mode transitions, validation lifecycle, Bypass preview, save, cancel, resize, and adversarial secret-bearing input.