返回 CodeWhale
ssh-destinations.json
根目录 / crates / tui / plugins / computer-use / tests / fixtures / ssh-destinations.json
1 {
2 "comment": "Shared ssh destination vectors: Codewhale Fleet SSH hosts (crates/tui/src/fleet/host.rs) and Computer Use ssh computers (src/ssh-args.mjs) must both accept `valid` and refuse `invalid`.",
3 "valid": [
4 { "host": "builder.example.test" },
5 { "host": "10.0.0.7", "user": "fleet" },
6 { "host": "build_box-2", "user": "ci.bot" }
7 ],
8 "invalid": [
9 { "host": "-oProxyCommand=sh" },
10 { "host": "-Fx" },
11 { "host": "builder example" },
12 { "host": "builder.example.test", "user": "-oProxyCommand=sh" },
13 { "host": "builder.example.test", "user": "a@b" },
14 { "host": "builder.example.test", "user": "a b" }
15 ]
16 }
17
17 lines JSON