chore: 保存 Agent 安全优化前基线
This commit is contained in:
1 parent
08696896f9
commit
ff016347cd
116 files changed
+3858
-2485
No files matched your search
@@ -70,11 +70,11 @@ export interface Session {
|
||||
authType: AuthType
|
||||
/** Defaults to ssh when omitted (legacy sessions). */
|
||||
protocol?: SessionProtocol
|
||||
password?: string // 加密存储
|
||||
password?: string // 加密存储
|
||||
/** 私钥路径或 PEM 正文;落盘时由 Rust 加密 */
|
||||
privateKey?: string
|
||||
passphrase?: string // 私钥密码(加密存储)
|
||||
proxy?: ProxyConfig // 代理配置
|
||||
passphrase?: string // 私钥密码(加密存储)
|
||||
proxy?: ProxyConfig // 代理配置
|
||||
/** 连接成功后自动执行的启动命令 */
|
||||
startupCommand?: string
|
||||
/** 单跳板会话 ID(兼容) */
|
||||
@@ -101,10 +101,19 @@ export interface Session {
|
||||
osPrettyName?: string
|
||||
group?: string
|
||||
tags?: string[]
|
||||
/** Manual display order within the group; missing rows keep storage order after ordered ones. */
|
||||
sortOrder?: number
|
||||
createdAt?: number
|
||||
updatedAt?: number
|
||||
}
|
||||
|
||||
/** One row of a batch sidebar reorder: position and optional group move. `group: null` moves back to default. */
|
||||
export interface SessionReorderEntry {
|
||||
id: string
|
||||
sortOrder: number
|
||||
group?: string | null
|
||||
}
|
||||
|
||||
// 会话创建请求
|
||||
export interface SessionCreateRequest {
|
||||
name: string
|
||||
|
||||
Reference in new issue
Block a user