Skip to content

refactor(subagents): remove registry forwarding shim - #177

Merged
senamakel merged 2 commits into
epic/8092-inference-outfrom
epic-8092-ta-native-subagent-registry
Oct 22, 2026
Merged

senamakel merged 2 commits into
epic/8092-inference-outfrom
epic-8092-ta-native-subagent-registry

Conversation

@senamakel

Copy link
Copy Markdown
Owner

Remove the tinyagents-harness-tools::subagents::SubAgentJobRegistry re-export. The registry is owned by tinyagents-orchestration, and consumers now import it from tinyagents_orchestration::subagent; tool constructors and behavior are unchanged. This leaves one canonical path for the registry type and removes the owner-boundary forwarding shim.

Updated harness-tools and integration tests to use the orchestration-owned type directly, and clarified the module README.

Validation on this source:

  • cargo fmt --all -- --check
  • cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p tinyagents-harness-tools --features subagents (188 passed)
  • cargo test -p tinyagents-integration-tests --features subagents --test subagent_sessions_tools (11 passed)

Refs senamakel/openhuman#256
Part of tinyhumansai/openhuman#8092

senamakel and others added 2 commits October 22, 2026 01:34
The harness-tools subagents module no longer re-exports SubAgentJobRegistry, so callers now import it directly from tinyagents_orchestration::subagent. The README and tests were updated to match, keeping a single canonical path for the type.

Auto-committed-on: cuttlefish
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The README now spells out the full `tinyagents_orchestration::subagent::SubAgentJobRegistry` path so readers can find the type without guessing its crate. The session tests import `SubAgentJobRegistry` directly instead of repeating the `crate::subagents::` prefix at each call site.

Auto-committed-on: cuttlefish
Co-authored-by: Medulla <medulla@tinyhumans.ai>
@senamakel
senamakel merged commit b069344 into epic/8092-inference-out Oct 22, 2026
10 checks passed
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.

1 participant