fix: 修复文件层级重构后的架构问题

- 恢复 IPC 类型声明 (src/electron-api.d.ts),修复 31 个 TS2339 错误
- 修复构建断裂:vite.config.ts 改回 electron.vite.config.ts
- 修复 2 个 verbatimModuleSyntax type-import 报错
- 修正 .gitignore 构建产物路径 (electron-dist/ -> dist-electron/ + release/)
- 清理 55+ 处过时路径注释
- 更新 AGENTS.md 架构文档与 IPC 通道表
- 修正 docs/ROADMAP.md 过时引用
This commit is contained in:
2026-07-10 23:22:53 +08:00
parent fe7801062f
commit 157af4399f
62 changed files with 222 additions and 102 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
// electron/main/redis/connection.ts
// Redis 连接管理(支持 SSH 隧道)
import Redis, { RedisOptions } from 'ioredis'
import Redis, { type RedisOptions } from 'ioredis'
import { Client as SSHClient } from 'ssh2'
import { createServer, type AddressInfo } from 'net'
import { readFileSync } from 'fs'