mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 03:29:23 +08:00
#908 and #911 landed two plugin groups — deeptutor.plugins for registry capabilities, deeptutor.loop_capabilities for chat-loop ones — each with its own copy of the same plumbing: read the group, import each target, warn and skip whatever fails. Only the coercer actually differed. Move the plumbing into core/entry_points.py, which both layers already depend on, so the containment guarantee (one bad plugin cannot stop the others) is stated and tested once instead of twice. Both suites now stub the single seam rather than a module-local alias. Drops #908's Python <3.10 entry_points() fallback along the way: the project requires >=3.11, so the keyword form is the only API in play.