- terminal.ts: connectWithCertificate() shells out to system ssh via node-pty for OpenSSH certificate auth (ssh2 has no native support); list_tmux WS message + tmuxSession connect param for tmux attach/create with shell-injection-safe name validation; sessionLogging config field appends terminal output to disk. - Settings.tsx: certificate secret field and sessionLogging checkbox for SSH host integrations. - Terminal.tsx: tmux session picker in each pane's header. - Verified end-to-end against a real test SSH server running real bash/tmux processes (plain shell, tmux create+list, session log written to disk). Cert auth path type-checks but is unverified in this sandbox (no ssh CLI available) - documented as a gap in TERMIX_MIGRATION.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbJV5nm8KPVH1oNJYKpnoF
34 lines
829 B
JSON
34 lines
829 B
JSON
{
|
|
"name": "archnest-backend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc -b",
|
|
"start": "node dist/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-ec2": "^3.1072.0",
|
|
"@aws-sdk/client-sts": "^3.1072.0",
|
|
"@fastify/cors": "^10.0.1",
|
|
"@fastify/jwt": "^10.1.0",
|
|
"@fastify/websocket": "^11.2.0",
|
|
"@types/ssh2": "^1.15.5",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^11.8.1",
|
|
"dotenv": "^16.6.1",
|
|
"fastify": "^5.2.1",
|
|
"node-pty": "^1.1.0",
|
|
"ssh2": "^1.17.0",
|
|
"undici": "^8.5.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^22.10.5",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|