Skip to content

fix(macos): use channel param in CronSettings+Testing - #852

Merged
steipete merged 1 commit into
openclaw:mainfrom
mneves75:fix/cron-settings-channel-param
Jan 15, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
mneves75:fix/cron-settings-channel-param

Conversation

@mneves75

@mneves75 mneves75 commented Jan 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fixes build error in CronSettings+Testing.swift where provider: argument label should be channel:
  • This file was missed during the channels rename sweep (commits 84bfaad6e, 6fdfe8ea7)

Verification

Searched for other potential missed instances:

grep -rn "provider:" --include="*.swift" apps/macos/Sources/ | grep -v "//"

Results showed only CronSettings+Testing.swift uses provider: in the context of agentTurn payload. Other provider: usages are for model providers (legitimate).

Confirmed API in CronModels.swift:77:

case agentTurn(
    message: String,
    thinking: String?,
    timeoutSeconds: Int?,
    deliver: Bool?,
    channel: String?,  // ← renamed from provider
    to: String?,
    bestEffortDeliver: Bool?
)

Test plan

  • swift build passes
  • SwiftUI previews compile (file is #if DEBUG preview/test code)

🤖 Generated with Claude Code

@steipete
steipete force-pushed the fix/cron-settings-channel-param branch from a857e79 to 66de8ae Compare January 15, 2026 06:38
@steipete
steipete merged commit 82d83a9 into openclaw:main Jan 15, 2026
@steipete

Copy link
Copy Markdown
Contributor

Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: 66de8ae\n- Merge commit: 82d83a9\n\nThanks @mneves75!

lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…el-param

fix(macos): use channel param in CronSettings+Testing
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…el-param

fix(macos): use channel param in CronSettings+Testing
zeekay pushed a commit to Dream-AI-4444/bot that referenced this pull request Sep 11, 2026
zeekay pushed a commit to Dream-AI-4444/clawdbot that referenced this pull request Sep 11, 2026
…el-param

fix(macos): use channel param in CronSettings+Testing
lhfer pushed a commit to lhfer/openclaw that referenced this pull request Oct 11, 2026
lhfer pushed a commit to lhfer/openclaw that referenced this pull request Oct 11, 2026
…el-param

fix(macos): use channel param in CronSettings+Testing
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.

2 participants