Files
EdgeSSH/package.json
T
cmliu 623d270eec feat: implement SSH protocol components including key exchange, packet handling, and transport
- Add KEXInitBuilder and parsing functions for SSH key exchange initialization.
- Implement key derivation for session keys using shared secrets and exchange hashes.
- Create SSHPacketParser and SSHPacketBuilder for handling SSH packets.
- Establish SSHTransport for managing version exchange and connection setup.
- Introduce utility functions for data manipulation and encoding.
- Define types for SSH packets, key exchange messages, and session configurations.
- Set up worker environment with session management and request handling.
- Configure TypeScript and Vite for frontend and worker builds.
- Add tests and coverage configuration for SSH components.
- Initialize Wrangler configuration for deployment.
2026-07-27 19:05:23 +08:00

34 lines
1.1 KiB
JSON

{
"name": "cf-workers-webssh",
"version": "1.0.0",
"private": true,
"type": "module",
"description": "A dependency-free-at-runtime SSH terminal for Cloudflare Workers",
"scripts": {
"dev": "npm run build:web && wrangler dev",
"dev:web": "vite --config vite.config.ts",
"build:web": "vite build --config vite.config.ts",
"typecheck": "tsc -p tsconfig.worker.json --noEmit && tsc -p tsconfig.frontend.json --noEmit",
"test": "vitest run",
"test:edge": "vitest run --config vitest.edge.config.ts",
"check": "npm run typecheck && npm run test && npm run test:edge && npm run build:web && wrangler deploy --dry-run --outdir .wrangler/build",
"deploy": "npm run build:web && wrangler deploy"
},
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/xterm": "^6.0.0"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.18.8",
"@cloudflare/workers-types": "^5.20260727.1",
"typescript": "^5.9.2",
"vite": "^7.0.6",
"vitest": "^4.1.10",
"wrangler": "^4.114.0"
},
"engines": {
"node": ">=22.12.0"
}
}