Skip to content

Commit 99c8862

Browse files
committed
fix(macos): update embedded Peekaboo bridge
1 parent 9a6744b commit 99c8862

4 files changed

Lines changed: 22 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Docs: https://docs.openclaw.ai
1515
### Fixes
1616

1717
- Mac app: keep local packaging signed with a stable app identity for permission testing and fix Control UI production builds under current Vite/Highlight.js exports.
18+
- macOS app: update the embedded Peekaboo bridge to 3.2.1 so OpenClaw-hosted UI automation works with current Peekaboo CLI capture flows.
1819
- fix(mattermost): fail closed on missing channel type [AI]. (#84091) Thanks @pgondhi987.
1920
- Recheck rebuilt system.run argv [AI]. (#84090) Thanks @pgondhi987.
2021
- CLI/cron: bound `openclaw cron show` job lookup pagination so non-advancing or unbounded `cron.list` responses fail instead of hanging the command. Fixes #83856. (#83989)

apps/macos/Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/macos/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let package = Package(
1919
.package(url: "https://github.com/swiftlang/swift-subprocess.git", from: "0.4.0"),
2020
.package(url: "https://github.com/apple/swift-log.git", from: "1.10.1"),
2121
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.9.0"),
22-
.package(url: "https://github.com/steipete/Peekaboo.git", exact: "3.0.0"),
22+
.package(url: "https://github.com/steipete/Peekaboo.git", exact: "3.2.1"),
2323
.package(path: "../shared/OpenClawKit"),
2424
.package(path: "../swabble"),
2525
],

apps/macos/Sources/OpenClaw/PeekabooBridgeHostCoordinator.swift

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ private final class OpenClawPeekabooBridgeServices: PeekabooBridgeServiceProvidi
163163
let dock: any DockServiceProtocol
164164
let dialogs: any DialogServiceProtocol
165165
let snapshots: any SnapshotManagerProtocol
166+
let desktopObservation: any DesktopObservationServiceProtocol
166167

167168
init() {
168169
let logging = LoggingService(subsystem: "ai.openclaw.peekaboo")
@@ -175,19 +176,29 @@ private final class OpenClawPeekabooBridgeServices: PeekabooBridgeServiceProvidi
175176
let applications = ApplicationService(feedbackClient: feedbackClient)
176177

177178
let screenCapture = ScreenCaptureService(loggingService: logging)
179+
let automation = UIAutomationService(
180+
snapshotManager: snapshots,
181+
loggingService: logging,
182+
searchPolicy: .balanced,
183+
feedbackClient: feedbackClient)
184+
let menu = MenuService(applicationService: applications, feedbackClient: feedbackClient)
185+
let screens = ScreenService()
178186

179187
self.permissions = PermissionsService()
180188
self.snapshots = snapshots
181189
self.applications = applications
182190
self.screenCapture = screenCapture
183-
self.automation = UIAutomationService(
184-
snapshotManager: snapshots,
185-
loggingService: logging,
186-
searchPolicy: .balanced,
187-
feedbackClient: feedbackClient)
191+
self.automation = automation
188192
self.windows = WindowManagementService(applicationService: applications, feedbackClient: feedbackClient)
189-
self.menu = MenuService(applicationService: applications, feedbackClient: feedbackClient)
193+
self.menu = menu
190194
self.dock = DockService(feedbackClient: feedbackClient)
191195
self.dialogs = DialogService(feedbackClient: feedbackClient)
196+
self.desktopObservation = DesktopObservationService(
197+
screenCapture: screenCapture,
198+
automation: automation,
199+
applications: applications,
200+
menu: menu,
201+
screens: screens,
202+
snapshotManager: snapshots)
192203
}
193204
}

0 commit comments

Comments
 (0)