feat: custom orchestrator gateways via YAML config (v0.0.10) - #19
Closed
araa47 wants to merge 1 commit into
Closed
Conversation
Add support for user-defined orchestrator gateways in ~/.orca/config.yaml,
enabling Hermes, webhooks, and arbitrary agents as orchestrators via shell
command templates with {text}, {channel}, {target}, {thread}, {worker}
placeholders.
- Add Orchestrator::Custom(String) variant to types
- Add OrcaConfig/GatewayConfig YAML loading in config module
- Env vars still override YAML values (backwards compatible)
- Custom gateway delivery in wake module with expand_template()
- Dynamic CLI orchestrator validation (builtin + configured gateways)
- Require --reply-channel when gateway defines a reply template
- Example config, README and SETUP.md docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🧪 Coverage Report
📄 Coverage by file
|
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
Orchestrator::Custom(String)variant — unknown orchestrator names now resolve to custom gateways defined in~/.orca/config.yamlOrcaConfig/GatewayConfig) with{text},{worker},{channel},{target},{thread}template placeholderssh -cin the wake module, withexpand_template()helperreplytemplate require--reply-channelat spawn time (like openclaw)config.example.yamlwith Hermes gateway exampleBackwards Compatibility
cc,cx,cu,openclaw,none) work exactly as beforeORCA_MAX_DEPTH,ORCA_MAX_WORKERS,ORCA_WATCHDOG_QUIET_SECS) still overrideExample Usage
orca spawn "do task" -b cc --orchestrator hermes --spawned-by self --reply-channel matrix-room --reply-to room-idTest plan
cargo fmt --checkpassescargo clippy -- -D warningspassescargo nextest run)🤖 Generated with Claude Code