feat(wave-1): 适配器框架与安全基座(schema校验/dry-run/exec沙箱/密钥库/日志脱敏/字段拆分)
This commit is contained in:
@@ -43,6 +43,8 @@ const mockPlatformEnv = (): PlatformEnv => ({
|
||||
os: "windows",
|
||||
os_version: "Windows 11 24H2 (Build 26100)",
|
||||
arch: "x86_64",
|
||||
distro: null,
|
||||
distro_version: null,
|
||||
shells: { powershell_version: "5.1.26100.1", pwsh_version: null, bash_available: true },
|
||||
runtimes: {
|
||||
node: { status: "installed", version: "24.18.0", path: "C:\\Program Files\\nodejs\\node.exe" },
|
||||
|
||||
@@ -5,6 +5,8 @@ export interface PlatformEnv {
|
||||
os: string;
|
||||
os_version: string;
|
||||
arch: string;
|
||||
distro: string | null;
|
||||
distro_version: string | null;
|
||||
shells: Shells;
|
||||
runtimes: Runtimes;
|
||||
path_entries: string[];
|
||||
@@ -31,6 +33,7 @@ export type RuntimeStatus =
|
||||
| "installed"
|
||||
| "not_installed"
|
||||
| "not_in_path"
|
||||
| "permission_denied"
|
||||
| "exec_failed"
|
||||
| "version_unparseable";
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
--ad-glow-accent: 0 0 12px rgba(255, 77, 219, 0.35);
|
||||
--ad-glow-warning: 0 0 10px rgba(255, 176, 32, 0.28); /* 仅警告 chip / 警告状态灯 */
|
||||
--ad-glow-danger: 0 0 12px rgba(255, 77, 94, 0.35);
|
||||
--ad-glow-balanced: 0 0 6px rgba(0, 229, 255, 0.3); /* 中档单层辉光(§5 半径减半),tiers.css 引用 */
|
||||
|
||||
/* ---- 主按钮(§2.6,v1.2 hover 双层扩散辉光)---- */
|
||||
--ad-btn-primary-bg: linear-gradient(180deg, #33D9EE 0%, #06BCD9 55%, #049EBB 100%);
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
/* ---- 中档:只保留单层辉光(半径减半),循环动画停用 ---- */
|
||||
[data-fx-tier="balanced"] .fx-multilayer-glow {
|
||||
box-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
|
||||
box-shadow: var(--ad-glow-balanced);
|
||||
}
|
||||
|
||||
/* 背景网格漂移(§4.8,60s 一周,仅高档/中档) */
|
||||
|
||||
Reference in New Issue
Block a user