Skip to content

feat(cpex): gate the Python plugin host behind an optional feature - #164

Merged
araujof merged 1 commit into
devfrom
fix/add-missing-feature-entry
Aug 11, 2026
Merged

feat(cpex): gate the Python plugin host behind an optional feature#164
araujof merged 1 commit into
devfrom
fix/add-missing-feature-entry

Conversation

@tedhabeck

Copy link
Copy Markdown
Contributor

Summary

What does this PR add or change?

feat(cpex): gate the Python plugin host behind an optional feature

Changes

The out-of-process Python host was always compiled into the facade, so
the engine-only default (cpex = "0.2") pulled a subprocess host and its
tokio process/io-util features whether or not a host used it.

Make cpex-hosts-python an optional dependency behind a new
python-host feature, re-exporting IsolatedVenvFactory and the plugin
kind (renamed ISOLATED_VENV_KIND, since bare KIND at the facade root
says nothing about which kind it is). It is in neither builtins nor
full: those are the in-process bundled set, and full should not
silently pull in a host that spawns a worker per plugin.

Checks

  • make lint passes
  • make test passes

@tedhabeck
tedhabeck marked this pull request as ready for review August 11, 2026 19:48

@araujof araujof left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@araujof
araujof merged commit e3548d7 into dev Aug 11, 2026
18 of 19 checks passed
@araujof
araujof deleted the fix/add-missing-feature-entry branch August 11, 2026 23:06
araujof pushed a commit that referenced this pull request Aug 11, 2026
monshri pushed a commit to monshri/contextforge-plugins-framework that referenced this pull request Aug 12, 2026
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.

2 participants