feat: Add plugin_dir parameter support for Claude Code workers#30
Open
mzdbxqh wants to merge 1 commit intoMartian-Engineering:mainfrom
Open
feat: Add plugin_dir parameter support for Claude Code workers#30mzdbxqh wants to merge 1 commit intoMartian-Engineering:mainfrom
mzdbxqh wants to merge 1 commit intoMartian-Engineering:mainfrom
Conversation
- Add plugin_dir field to WorkerConfig - Update AgentCLI interface to accept plugin_dir parameter - Implement plugin_dir support in claude.py (adds --plugin-dir flag) - Add plugin_dir parameter to codex.py (ignored, as Codex doesn't support it) - Update start_agent_in_session in all backends to pass plugin_dir - Update spawn_workers to read and pass plugin_dir from worker config This allows specifying a custom plugin directory when creating workers, enabling testing of Claude Code plugins like GLAF4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
plugin_dirparameter support to allow specifying custom plugin directories when creating Claude Code workers.Changes
plugin_dirfield toWorkerConfigTypedDictAgentCLIinterface to acceptplugin_dirparameter--plugin-dirflag support inclaude.pyplugin_dirparameter tocodex.py(ignored, as Codex doesn't support it)start_agent_in_sessionin all backends to passplugin_dirspawn_workersto read and passplugin_dirfrom worker configTesting
glaf4:namespace)Use Case
Enables testing Claude Code plugins (like GLAF4) by specifying custom plugin directories when spawning workers.
Example