forked from KaKi87/sshception
Navigation could require an extra Tab/Down because focus sometimes rested on a reblessed Form container (non-actionable): - escaping the selected-host dialog now cancels it and returns focus to the host list, and escaping main actions returns to the primary action; - the dialog's internal Form selection cursor is reset on every reopen so the first Tab lands on the next action instead of being a no-op; - Escape is bound per view mount instead of subscribing once per 'Select host' press on the session-wide emitter (listeners accumulated and kept stealing focus with stale closures); - add node-based regression tests for the focus flows. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"name": "sshception",
|
|
"version": "0.1.0",
|
|
"description": "Synced over SSH client",
|
|
"main": "main.js",
|
|
"homepage": "https://git.kaki87.net/KaKi87/sshception",
|
|
"repository": "ssh://kaki@git.kaki87.net:3021/KaKi87/sshception.git",
|
|
"author": {
|
|
"name": "KaKi87",
|
|
"email": "tiana.lemesle@live.fr"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@inquirer/confirm": "^0.0.28-alpha.0",
|
|
"@inquirer/input": "^0.0.28-alpha.0",
|
|
"@inquirer/password": "^0.0.28-alpha.0",
|
|
"@lu.se/console": "^1.1.2",
|
|
"@sshception/account": "git+https://git.kaki87.net/KaKi87/sshception-account.git",
|
|
"ascii-table": "^0.0.9",
|
|
"blessed": "git+https://github.com/kenan238/reblessed.git",
|
|
"blessed-contrib": "^4.8.20",
|
|
"chalk": "^5.2.0",
|
|
"commander": "^9.5.0",
|
|
"i18next": "^22.4.9",
|
|
"last-git-commit-id": "^0.1.0",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"shell-quote": "^1.7.4",
|
|
"simpler-emitter": "^0.1.0",
|
|
"ssh2": "^1.11.0"
|
|
},
|
|
"scripts": {
|
|
"keygen": "ssh-keygen -f host.rsa.key -N '' && ssh-keygen -t ed25519 -f host.ed25519.key -N '' && rm *.pub",
|
|
"start": "node main.js",
|
|
"test": "node --test tests/"
|
|
},
|
|
"type": "module"
|
|
}
|