diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 19:19:49 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 19:19:49 +0100 |
| commit | 24e3bb54db579fb9aad8df2a591527dc77fe4cb4 (patch) | |
| tree | af9a0c290f2675068e8396823f641f24bbe4d308 /AGENTS.md | |
| parent | v4.0.6: move the prompt editor and key mapping out of the core (diff) | |
| download | zagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.tar.gz zagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.zip | |
v4.0.7: finish the Phase 1 boundary with a command shell
The terminal command line moves to client::shell: a typed line becomes a core Command or an adapter action (connect, login, register, set-credential, host maintenance). ClientCore loses submit_line and the last TUI-shaped effects (Interactive, SetPrompt, ListHosts, ForgetHost, AnimateRoulette); the adapter animates roulette from the Result view.
Adds forget-login, which drops the stored credential for the pinned key and keeps trust, distinct from logout (session only) and forget-host (trust too).
Diffstat (limited to '')
| -rw-r--r-- | AGENTS.md | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -103,7 +103,8 @@ | |||
| 103 | by host. | 103 | by host. |
| 104 | - `forget_host` removes one address. Drop the credential only when no address | 104 | - `forget_host` removes one address. Drop the credential only when no address |
| 105 | with that fingerprint remains, or two addresses for one server would stop | 105 | with that fingerprint remains, or two addresses for one server would stop |
| 106 | sharing a login. | 106 | sharing a login. `forget-login` is the narrower action: it drops the |
| 107 | credential and keeps the pinned key. | ||
| 107 | - `save_host` must not wipe the fingerprint column. Use `ON CONFLICT ... | 108 | - `save_host` must not wipe the fingerprint column. Use `ON CONFLICT ... |
| 108 | DO UPDATE SET last_used` — never `INSERT OR REPLACE`. | 109 | DO UPDATE SET last_used` — never `INSERT OR REPLACE`. |
| 109 | - The client transport lives in `client::transport`. It records the key during | 110 | - The client transport lives in `client::transport`. It records the key during |
