fix(extensions): add Claude Superpowers marketplace
This commit is contained in:
1 parent
80e04701fa
commit
b5123df02a
2 files changed
+8
-5
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
name claude_marketplace claude_plugin codex_marketplace codex_plugin codex_method codex_source codex_skill mcporter_name mcporter_url
|
name claude_marketplace claude_plugin codex_marketplace codex_plugin codex_method codex_source codex_skill mcporter_name mcporter_url
|
||||||
Ponytail DietrichGebert/ponytail ponytail@ponytail DietrichGebert/ponytail ponytail@ponytail plugin - -
|
Ponytail DietrichGebert/ponytail ponytail@ponytail DietrichGebert/ponytail ponytail@ponytail plugin - -
|
||||||
i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd plugin - -
|
i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd plugin - -
|
||||||
Superpowers - superpowers@claude-plugins-official openai-curated-remote superpowers@openai-curated-remote plugin - -
|
Superpowers anthropics/claude-plugins-official superpowers@claude-plugins-official openai-curated-remote superpowers@openai-curated-remote plugin - -
|
||||||
Context7 upstash/context7 context7@context7-marketplace upstash/context7 context7@context7-marketplace plugin - - context7 https://mcp.context7.com/mcp
|
Context7 upstash/context7 context7@context7-marketplace upstash/context7 context7@context7-marketplace plugin - - context7 https://mcp.context7.com/mcp
|
||||||
Caveman JuliusBrussee/caveman caveman@caveman thinkhome-org/caveman-codex caveman@thinkhome-caveman plugin - -
|
Caveman JuliusBrussee/caveman caveman@caveman thinkhome-org/caveman-codex caveman@thinkhome-caveman plugin - -
|
||||||
QMD tobi/qmd qmd@qmd - - qmd @tobilu/qmd qmd
|
QMD tobi/qmd qmd@qmd - - qmd @tobilu/qmd qmd
|
||||||
|
|||||||
|
@@ -1,4 +1,5 @@
|
|||||||
import contextlib
|
import contextlib
|
||||||
|
import csv
|
||||||
import importlib.util
|
import importlib.util
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
@@ -11,7 +12,8 @@ import unittest
|
|||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
|
||||||
spec = importlib.util.spec_from_file_location('extensions', Path(__file__).parents[2] / 'scripts/lib/managed-extensions.py')
|
root = Path(__file__).parents[2]
|
||||||
|
spec = importlib.util.spec_from_file_location('extensions', root / 'scripts/lib/managed-extensions.py')
|
||||||
extensions = importlib.util.module_from_spec(spec)
|
extensions = importlib.util.module_from_spec(spec)
|
||||||
spec.loader.exec_module(extensions)
|
spec.loader.exec_module(extensions)
|
||||||
|
|
||||||
@@ -184,11 +186,12 @@ class ManagedExtensionTests(unittest.TestCase):
|
|||||||
['claude', 'plugin', 'enable', 'example@test'],
|
['claude', 'plugin', 'enable', 'example@test'],
|
||||||
], self.commands)
|
], self.commands)
|
||||||
|
|
||||||
def test_claude_refreshes_marketplace_before_install(self):
|
def test_superpowers_adds_official_claude_marketplace_before_install(self):
|
||||||
entry = plugin('Superpowers')
|
with (root / 'adapters/plugins.tsv').open(encoding='utf-8-sig', newline='') as stream:
|
||||||
entry['claude_plugin'] = 'superpowers@claude-plugins-official'
|
entry = next(entry for entry in csv.DictReader(stream, delimiter='\t') if entry['name'] == 'Superpowers')
|
||||||
self.manager().sync([entry], ['claude'], {'Superpowers'})
|
self.manager().sync([entry], ['claude'], {'Superpowers'})
|
||||||
self.assertEqual([
|
self.assertEqual([
|
||||||
|
['claude', 'plugin', 'marketplace', 'add', 'anthropics/claude-plugins-official'],
|
||||||
['claude', 'plugin', 'marketplace', 'update', 'claude-plugins-official'],
|
['claude', 'plugin', 'marketplace', 'update', 'claude-plugins-official'],
|
||||||
['claude', 'plugin', 'install', 'superpowers@claude-plugins-official', '--scope', 'user'],
|
['claude', 'plugin', 'install', 'superpowers@claude-plugins-official', '--scope', 'user'],
|
||||||
], self.commands)
|
], self.commands)
|
||||||
|
|||||||
Reference in new issue
Block a user