Onboarding: support plugin-owned interactive channel flows#27191
Onboarding: support plugin-owned interactive channel flows#27191gumadeiras merged 4 commits intomainfrom
Conversation
Greptile SummaryAdds optional plugin-owned interactive onboarding hooks to the channel plugin system, allowing plugins to customize or completely replace the default onboarding flows. Key changes:
The implementation properly integrates the new hooks as early returns, maintains backward compatibility through optional properties, and follows existing code patterns in the codebase. Confidence Score: 5/5
Last reviewed commit: ce0d9ec |
There was a problem hiding this comment.
Pull request overview
Adds plugin-extensible onboarding behavior for channel setup, allowing channel plugins to fully own interactive configuration flows while preserving the existing generic onboarding behavior as a fallback.
Changes:
- Introduces optional onboarding adapter hooks for interactive setup (
configureInteractive) and already-configured flows (configureWhenConfigured). - Updates the channel onboarding command flow to delegate to plugin-owned hooks when provided, with early-return handling for
"skip". - Extends onboarding type definitions to support the new hooks and interactive context.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/commands/onboard-channels.ts | Wires setupChannels to call adapter-provided interactive/configured handlers and apply their results. |
| src/channels/plugins/onboarding-types.ts | Adds new adapter hook types and context/result unions to support plugin-owned onboarding flows. |
ce0d9ec to
c78eefc
Compare
c78eefc to
197e720
Compare
|
Merged via squash. Thanks @gumadeiras! |
Syncs 29 upstream commits including: - Account-scoped bind and routing commands (openclaw#27195) - Single-account config migration to accounts.default (openclaw#27334) - Preserve agent-level apiKey/baseUrl during models.json merge (openclaw#27293) - Plugin-owned interactive channel onboarding flows (openclaw#27191) - Android notifications.list, invoke refactoring - Daemon launchd restart hardening - SSRF dispatcher fix, doctor improvements Conflict resolution: 4 import-order conflicts in onboarding/channel commands resolved by taking upstream (no custom code in those files).
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
…27191) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 53872cf Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
Summary
Validation