mirror of https://github.com/jetkvm/kvm.git
1. Terminal access permission check: - Add Permission.TERMINAL_ACCESS check to Web Terminal button - Prevents observer sessions from accessing terminal 2. Immediate websocket cleanup: - Close peer connection immediately when websocket errors - Previously waited 24+ seconds for ICE to transition from disconnected to failed - Now triggers session cleanup immediately on tab close 3. Immediate grace period validation: - Trigger validateSinglePrimary() immediately when grace period expires - Previously waited up to 10 seconds for next periodic validation - Eliminates unnecessary delay in observer promotion Timeline improvement: Before: Tab close → 6s (ICE disconnect) → 24s (ICE fail) → RemoveSession → 10s grace → up to 10s validation = ~50s total After: Tab close → immediate peerConnection.Close() → immediate RemoveSession → 10s grace → immediate validation = ~11s total |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.cloud-development | ||
| .env.cloud-production | ||
| .env.cloud-staging | ||
| .gitignore | ||
| .prettierrc | ||
| dev_device.sh | ||
| eslint.config.cjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite-env.d.ts | ||
| vite.config.ts | ||