Skip to content

Add lazy entry point extension discovery - #90

Merged
codeforester merged 1 commit into
mainfrom
enhancement/64-20260804-entry-point-extensions
Aug 5, 2026
Merged

codeforester merged 1 commit into
mainfrom
enhancement/64-20260804-entry-point-extensions

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Summary

  • add lazy, deterministic ExtensionDiscovery for base_cli.commands, base_cli.profiles, and base_cli.plugins
  • expose distribution/version/extras metadata with explicit duplicate-name errors and per-instance caching
  • support allowlists, complete disablement, refresh, and isolated bulk-load failures
  • document the entry-point contracts and add real temporary-distribution, collision, cache, allowlist, disablement, and failure tests

Validation

  • .venv/bin/python -m pytest -q
  • .venv/bin/python -m mypy lib/python/base_cli/extensions.py --ignore-missing-imports
  • git diff --check

Closes #64

@codeforester
codeforester marked this pull request as ready for review August 5, 2026 00:19
@codeforester
codeforester merged commit d51c4d9 into main Aug 5, 2026
17 checks passed
@codeforester
codeforester deleted the enhancement/64-20260804-entry-point-extensions branch August 5, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discover extensions through Python entry points

1 participant