chore: 保存工作副本——客户端授权新契约(双端点/验签/令牌/周检)与桌面会话可靠性改进
This commit is contained in:
1 parent
f71eef0eba
commit
ae6093c9b3
163 files changed
+4911
-2494
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
- `infrastructure/` 只有 `file_log`,services 并不走它。
|
||||
- `application/state.rs` 是服务集合,不是端口组合根。
|
||||
- `DomainError` 零引用。
|
||||
- 稳定 IPC 错误码放在 `domain/error.rs` 的 `codes`(如 `native.taskJoin`),不是空壳 `DomainError` 类型。
|
||||
- SSH / 存储 / 桌面服务直接 `use tauri::AppHandle`;known_hosts 还用 `bind_app_handle` 全局 static。
|
||||
- 前后端契约靠手写 `src/desktop.d.ts` + `shared/types/`,没有 specta / ts-rs。
|
||||
|
||||
@@ -66,7 +66,7 @@ pub trait EventSink: Send + Sync {
|
||||
|
||||
`infrastructure/mod.rs` 里现在的「SQLite / keychain / PTY 适配器」是过期注释,做 C 轨时改成与真实 trait 一致,没做的删掉,避免再写成已存在。
|
||||
|
||||
`DomainError`:有调用方再留,否则删。不要为空壳再加一层错误类型。
|
||||
IPC 错误码继续用 `domain/error.rs` 的 `codes` 常量,不要再加一层空壳 `DomainError`。
|
||||
|
||||
## 明确不做(本轨道也不做)
|
||||
|
||||
|
||||
Reference in new issue
Block a user