feat(wave-1): 适配器框架与安全基座(schema校验/dry-run/exec沙箱/密钥库/日志脱敏/字段拆分)
This commit is contained in:
@@ -313,7 +313,8 @@ AdapterExecutor:
|
||||
os: windows | linux
|
||||
os_version: ...
|
||||
arch: x64 | other(reject)
|
||||
distro?: ubuntu + version
|
||||
distro?: string # 发行版名,如 ubuntu(Windows 为 None)
|
||||
distro_version?: string # 发行版版本,如 22.04(Wave 1 拆分:原 distro?: ubuntu + version)
|
||||
shells: powershell_version?, bash_available?
|
||||
runtimes: { node?, npm?, python?, uv?, git?, winget?, apt? }
|
||||
path_entries: [...]
|
||||
@@ -331,6 +332,7 @@ capabilities: { keyring: ok|missing, can_elevate: bool }
|
||||
| 密钥库 | Credential Manager 可用性 | `secret-tool` / DBus Secret Service |
|
||||
|
||||
检测失败分类(对齐 FR-02):`not_installed` | `not_in_path` | `permission_denied` | `exec_failed` | `version_unparseable`。
|
||||
Wave 1 已把 `permission_denied` 从一般执行失败中拆分为独立状态(`std::io::ErrorKind::PermissionDenied` 单独归类),`RuntimeInfo.status` 相应支持该值。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user