2 Commits

Author SHA1 Message Date
Rudy Celekli
22412bf07c fix(plugins): dedupe manifest dependencies by PEP 503 canonical name
_dependencies tried to dedupe requirements via
getattr(requirement, "canonical_name", requirement.name). packaging's
Requirement has no canonical_name attribute, so this always fell back to the
raw requirement.name (merely casefolded). Two spellings of the same PyPI
project that differ only by '.', '-' or '_' (e.g. Flask.Thing and flask-thing)
were treated as distinct, so both passed the duplicate guard and were handed to
the isolated pip install, defeating the check and allowing conflicting pins.
Use packaging.utils.canonicalize_name, which applies PEP 503 normalization.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-26 10:26:43 -04:00
Bingxi Zhao (Frank)
7885daa98a feat(plugins): add reviewed managed lifecycle and revocable runtime gates (#1307)
Adapt the Phase 1 foundation from PR #1309 and complete scoped API lifecycle, pre-import approval, artifact-bound revocation, recovery, bounded workers and frontend isolation. Keep the stronger ecosystem roadmap explicit in the RFC.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 08:50:05 +08:00