feat: update

This commit is contained in:
2026-08-23 22:02:06 +08:00
parent 02fafb4bf6
commit 1a74b15ed5
6 changed files with 30 additions and 8 deletions
+4 -4
View File
@@ -78,7 +78,7 @@ class SelectorTests(unittest.TestCase):
"ack",
"builtin",
installed=False,
readonly_status="全局: cursor,claude,codex",
readonly_status="全局: cursor,claude,codex,opencode",
)
]
screen = Mock()
@@ -101,7 +101,7 @@ class SelectorTests(unittest.TestCase):
if call.args[0] == 3
)
self.assertIn("[ ] ack", title)
self.assertIn("全局: cursor,claude,codex", title)
self.assertIn("全局: cursor,claude,codex,opencode", title)
self.assertNotIn("初始化", title)
def test_selector_renders_description_on_indented_second_line(self) -> None:
@@ -370,7 +370,7 @@ class SelectCommandTests(unittest.TestCase):
other.mkdir()
global_dirs = {
target: root / target / "skills"
for target in ("cursor", "claude", "codex")
for target in ("cursor", "claude", "codex", "opencode")
}
for directory in global_dirs.values():
directory.mkdir(parents=True)
@@ -385,7 +385,7 @@ class SelectCommandTests(unittest.TestCase):
note = cli._global_installation_note(
"ack",
expected,
["cursor", "claude", "codex"],
["cursor", "claude", "codex", "opencode"],
)
self.assertEqual(note, "全局: cursor;全局同名冲突: claude")