Skip to content

Commit 92263cf

Browse files
intel352claude
andcommitted
chore: upgrade workflow engine to v0.3.11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 34911f7 commit 92263cf

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

plugin.go

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,34 @@ func (p *AgentPlugin) WiringHooks() []plugin.WiringHook {
6868
}
6969
}
7070

71+
// NewProviderModuleFactory returns the plugin.ModuleFactory for "agent.provider".
72+
// This is exported so other plugins can embed the factory without loading the
73+
// full AgentPlugin (which would cause duplicate step type registration conflicts).
74+
func NewProviderModuleFactory() plugin.ModuleFactory {
75+
return newProviderModuleFactory()
76+
}
77+
78+
// NewProviderTestFactory returns the plugin.StepFactory for "step.provider_test".
79+
// Exported for use by host plugins that embed agent capabilities without loading
80+
// AgentPlugin as a standalone plugin.
81+
func NewProviderTestFactory() plugin.StepFactory {
82+
return newProviderTestFactory()
83+
}
84+
85+
// NewProviderModelsFactory returns the plugin.StepFactory for "step.provider_models".
86+
// Exported for use by host plugins that embed agent capabilities without loading
87+
// AgentPlugin as a standalone plugin.
88+
func NewProviderModelsFactory() plugin.StepFactory {
89+
return newProviderModelsFactory()
90+
}
91+
92+
// ProviderRegistryHook returns the wiring hook that creates the agent-provider-registry.
93+
// Exported for use by host plugins that embed agent capabilities without loading
94+
// AgentPlugin as a standalone plugin.
95+
func ProviderRegistryHook() plugin.WiringHook {
96+
return providerRegistryHook()
97+
}
98+
7199
// ModuleSchemas returns schema definitions for IDE completions and config validation.
72100
func (p *AgentPlugin) ModuleSchemas() []*schema.ModuleSchema {
73101
return []*schema.ModuleSchema{

0 commit comments

Comments
 (0)