Skip to content

Commit d9a9f6d

Browse files
fix(mac): add Sendable conformance to generated Swift protocol structs (#195)
* fix(mac): add Sendable conformance to generated Swift protocol structs * fix(mac): make generated protocol types Sendable * chore(mac): drop redundant Sendable extensions * docs(changelog): thank @andranik-sahakyan for Sendable fix * chore(swiftformat): exclude generated protocol models --------- Co-authored-by: Peter Steinberger <[email protected]>
1 parent 1657c5e commit d9a9f6d

File tree

5 files changed

+72
-77
lines changed

5 files changed

+72
-77
lines changed

.swiftformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
--allman false
4949

5050
# Exclusions
51-
--exclude .build,.swiftpm,DerivedData,node_modules,dist,coverage,xcuserdata,apps/macos/Sources/ClawdisProtocol
51+
--exclude .build,.swiftpm,DerivedData,node_modules,dist,coverage,xcuserdata,apps/macos/Sources/ClawdisProtocol,apps/macos/Sources/ClawdbotProtocol

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- Android: tapping the foreground service notification brings the app to the front. (#179) — thanks @Syhids
1313
- Cron tool passes `id` to the gateway for update/remove/run/runs (keeps `jobId` input). (#180) — thanks @adamgall
1414
- macOS: treat location permission as always-only to avoid iOS-only enums. (#165) — thanks @Nachx639
15+
- macOS: make generated gateway protocol models `Sendable` for Swift 6 strict concurrency. (#195) — thanks @andranik-sahakyan
1516
- Onboarding: when running from source, auto-build missing Control UI assets (`pnpm ui:build`).
1617
- Discord/Slack: route reaction + system notifications to the correct session (no main-session bleed).
1718

apps/macos/Sources/Clawdbot/GatewayProtocolSendable.swift

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)