mirror of
https://github.com/obra/superpowers.git
synced 2026-07-01 06:59:06 +08:00
Compare commits
1 Commits
codex/pack
...
codex/fix-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fce538621 |
@@ -26,7 +26,7 @@
|
||||
"shortDescription": "Planning, TDD, debugging, and delivery workflows for coding agents",
|
||||
"longDescription": "Use Superpowers to guide agent work through brainstorming, implementation planning, test-driven development, systematic debugging, parallel execution, code review, and finish-the-branch workflows.",
|
||||
"developerName": "Jesse Vincent",
|
||||
"category": "Coding",
|
||||
"category": "Developer Tools",
|
||||
"capabilities": [
|
||||
"Interactive",
|
||||
"Read",
|
||||
|
||||
@@ -51,6 +51,28 @@ if not plugin_manifest.exists():
|
||||
|
||||
manifest = json.loads(plugin_manifest.read_text(encoding="utf-8"))
|
||||
assert_equal(manifest.get("name"), plugin.get("name"), "plugin manifest name")
|
||||
supported_categories = {
|
||||
"Productivity",
|
||||
"Creativity",
|
||||
"Developer Tools",
|
||||
"Business & Operations",
|
||||
"Data & Analytics",
|
||||
"Communication",
|
||||
"Education & Research",
|
||||
"Security",
|
||||
"Finance",
|
||||
"Healthcare",
|
||||
"Travel",
|
||||
"Entertainment",
|
||||
"Other",
|
||||
}
|
||||
manifest_category = manifest.get("interface", {}).get("category")
|
||||
if manifest_category not in supported_categories:
|
||||
raise AssertionError(
|
||||
f"plugin manifest category: expected one of {sorted(supported_categories)!r}, "
|
||||
f"got {manifest_category!r}"
|
||||
)
|
||||
assert_equal(manifest_category, plugin.get("category"), "plugin manifest category")
|
||||
assert_equal(
|
||||
manifest.get("hooks"),
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user