Files
pr-preview/backend/node_modules/ssh2/lib/index.js
T
space a71f801c3f feat: initial scaffold - backend, frontend, Prisma schema, Docker
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings
- Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers
- Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page
- Docker Compose and Dockerfile for self-hosted deployment
- Uses bcryptjs for Node 24 compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-25 00:18:08 +02:00

45 lines
767 B
JavaScript

'use strict';
const {
AgentProtocol,
BaseAgent,
createAgent,
CygwinAgent,
OpenSSHAgent,
PageantAgent,
} = require('./agent.js');
const {
SSHTTPAgent: HTTPAgent,
SSHTTPSAgent: HTTPSAgent,
} = require('./http-agents.js');
const { parseKey } = require('./protocol/keyParser.js');
const {
flagsToString,
OPEN_MODE,
STATUS_CODE,
stringToFlags,
} = require('./protocol/SFTP.js');
module.exports = {
AgentProtocol,
BaseAgent,
createAgent,
Client: require('./client.js'),
CygwinAgent,
HTTPAgent,
HTTPSAgent,
OpenSSHAgent,
PageantAgent,
Server: require('./server.js'),
utils: {
parseKey,
...require('./keygen.js'),
sftp: {
flagsToString,
OPEN_MODE,
STATUS_CODE,
stringToFlags,
},
},
};