Repository navigation
Build extension manager catalog UX - #124
suraj-ranganath merged 2 commits into
Conversation
|
Claude finished @suraj-ranganath's task in 2m 48s —— View job Code Review — PR #124: Build extension manager catalog UX
Overall this is a well-structured, security-conscious feature. The metadata-only catalog (no code, no archives, no network, A few findings, mostly low/medium: 1.
|
|
🤖 Specification for the Phase 3 Extension Manager PR. Problem
Approach
Key code def _plugins_from_records(
records: Sequence[ExtensionRecord],
catalog: ExtensionCatalog,
catalog_info: dict[str, Any],
) -> list[dict[str, Any]]:
by_name = catalog.by_name()
by_package = catalog.by_package()
used_catalog_names: set[str] = set()
plugins: list[dict[str, Any]] = []
for order, record in enumerate(records):
catalog_entry = _catalog_for_record(record, by_name, by_package)
if catalog_entry is not None:
used_catalog_names.add(_normalize_name(catalog_entry.name))
plugin = _plugin_from_record(record, catalog_entry, catalog_info)
plugin["_order"] = order
plugins.append(plugin)
for index, catalog_entry in enumerate(catalog.entries):
if _normalize_name(catalog_entry.name) in used_catalog_names:
continue
plugin = _plugin_from_catalog(catalog_entry, catalog_info)
plugin["_order"] = len(records) + index
plugins.append(plugin)Tests
Visual QA
|

Build the Extension Manager around the Phase 1 registry and metadata-only curated catalog. It shows installed, bundled, curated, disabled, incompatible, failed, and missing-dependency states with details and copyable package-manager guidance. Adds catalog docs, help, and regression coverage.
Closes #115