feat: v0.3.0 版本 - SSH终端、SFTP、端口转发功能实现

核心功能:
- SSH终端: 密码/密钥认证、XTerm.js终端、多主题配色、IP高亮
- SFTP管理: 双栏文件管理、上传下载、传输队列
- 端口转发: 本地/远程转发、SOCKS5动态代理、规则管理

架构改进:
- 拆分大型组件 (SFTPView/TabBar/Sidebar)
- 添加统一日志和错误处理
- 修复React严格模式下的终端黑屏问题

UI更新:
- 新增端口转发视图
- 更新UI预览文档
- 左侧栏右键菜单支持SFTP快捷打开
This commit is contained in:
Logan.Li committed 2026-04-06 01:20:47 +08:00
1 parent cf1c054381
commit 484d850abd
105 files changed
+25330 -64

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
{
"permissions": {
"allow": [
"Bash(npm run:*)",
"Bash(npm install:*)",
"Bash(npm config:*)",
"Bash(ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm install electron --save-dev)",
"Bash(pkill -f \"electron\")",
"Bash(pkill -f \"vite\")",
"Bash(chmod +x:*)",
"Bash(./start.sh:*)",
"Bash(pkill -f \"electron.*opsxshell\")",
"Bash(pkill -f \"vite.*5173\")",
"Bash(npx @electron/rebuild -f -w better-sqlite3)",
"Bash(npx:*)",
"Bash(lsof -i:5173)",
"Bash(pkill -f \"esbuild\")",
"Bash(npm search:*)",
"Bash(npm view:*)",
"WebFetch(domain:127.0.0.1)",
"Bash(npm rebuild:*)",
"Bash(ls -la /Users/loganli/devops/desktop-ui/opsxshell/*.md)",
"Bash(wc -l /Users/loganli/devops/desktop-ui/opsxshell/src/components/*.tsx)",
"Bash(npm test:*)",
"Bash(pkill -f \"Electron\")",
"Bash(./run.sh)",
"Bash(pkill -f \"node.*5173\")",
"Bash(curl -s http://localhost:5173)",
"Bash(pkill -f electron)",
"Bash(pkill -f vite)",
"Bash(curl -s http://localhost:9223/json)",
"Bash(python3 -c \"import sys,json; data=json.load\\(sys.stdin\\); [print\\(f'{i[\\\\\"title\\\\\"]}: {i[\\\\\"url\\\\\"]}'\\) for i in data]\")",
"Bash(./run.sh restart:*)",
"Read(//tmp/**)",
"Bash(wc -l /Users/loganli/devops/desktop-ui/opsxshell/src/components/*.tsx /Users/loganli/devops/desktop-ui/opsxshell/src/stores/*.ts /Users/loganli/devops/desktop-ui/opsxshell/electron/main.ts /Users/loganli/devops/desktop-ui/opsxshell/electron/services/*.ts)"
]
}
}