Skip to content

M1: Route approval copy through daemon dependency#7597

Merged
noanflaherty merged 1 commit into
mainfrom
swarm/daemon-routing/task-1
Feb 24, 2026
Merged

M1: Route approval copy through daemon dependency#7597
noanflaherty merged 1 commit into
mainfrom
swarm/daemon-routing/task-1

Conversation

@noanflaherty
Copy link
Copy Markdown
Contributor

@noanflaherty noanflaherty commented Feb 24, 2026

Summary

  • Define ApprovalCopyGenerator type in http-types.ts and thread it through RuntimeHttpServer to channel routes
  • Update composeApprovalMessageGenerative to accept an optional generator function instead of internally resolving providers
  • Remove provider registry imports (getFailoverProvider, listProviders, getConfig) from approval-message-composer.ts
  • Wire up generator implementation in daemon lifecycle.ts that resolves providers and calls provider.sendMessage
  • Keep deterministic fallback behavior unchanged for all scenarios

Part of #7583
Closes #7585


Open with Devin

…ndency

Co-Authored-By: Claude <noreply@anthropic.com>
@noanflaherty noanflaherty self-assigned this Feb 24, 2026
@noanflaherty noanflaherty merged commit 5df4683 into main Feb 24, 2026
@noanflaherty noanflaherty deleted the swarm/daemon-routing/task-1 branch February 24, 2026 05:22
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional findings.

Open in Devin Review

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.

M1: Approval Copy Generation Routed via Daemon Dependency

1 participant