Commit Graph

1473 Commits

Author SHA1 Message Date
Peter Steinberger
3ba16d089e style: swiftformat GatewayEnvironment 2026-01-10 18:31:36 +01:00
Peter Steinberger
e8236ef955 fix(auto-reply): RawBody commands + locked session updates (#643) 2026-01-10 17:32:31 +01:00
Peter Steinberger
78e9e6ef50 refactor(ios): require bridge stable ID 2026-01-10 16:23:53 +00:00
Peter Steinberger
f012e08074 refactor(shared): default ToolDisplay config 2026-01-10 16:23:53 +00:00
Peter Steinberger
68927ca21c refactor(apple): share AsyncTimeout helper 2026-01-10 16:23:53 +00:00
Peter Steinberger
845c60bcdb fix(android): enforce strict lint checks 2026-01-10 16:04:32 +00:00
Peter Steinberger
b530f4d437 fix(macos): improve activity tool labels 2026-01-10 16:04:32 +00:00
Peter Steinberger
12e600152b fix(ios): enable strict concurrency checks 2026-01-10 16:04:32 +00:00
Kristijan Jovanovski
81ff2f2736 fix(ios): add Swift 6 strict concurrency compatibility
Applies the same Swift 6 compatibility patterns from PR #166 (macOS) to the iOS app.

Changes:
- LocationService.swift: Added Sendable constraint to withTimeout<T> generic,
  made CLLocationManagerDelegate methods nonisolated with Task { @MainActor in }
  pattern to safely access MainActor state
- TalkModeManager.swift: Fixed OSLog string interpolation to avoid operator
  overload issues with OSLogMessage in Swift 6

Addresses #164

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 16:04:32 +00:00
Peter Steinberger
58b6c95098 refactor: tidy mac bundled gateway packaging 2026-01-10 16:03:36 +01:00
Peter Steinberger
c65b75ee8f fix: bundle node runtime for mac app 2026-01-10 15:28:37 +01:00
Peter Steinberger
bd8b92a48e refactor: stop pinning hardcoded main session in chat UI 2026-01-09 23:20:58 +01:00
Peter Steinberger
0423511f0f fix(protocol): sync generated Swift models 2026-01-09 22:12:28 +00:00
Peter Steinberger
633ff13cba fix(protocol): regen Swift GatewayModels 2026-01-09 22:10:01 +00:00
Peter Steinberger
1449105279 refactor: centralize main session key normalization in apps 2026-01-09 22:38:17 +01:00
Wes
0e57beae0e fix(macos): prevent launch-at-login plist deletion on startup 2026-01-09 21:53:32 +01:00
Peter Steinberger
237f4732c0 style(macos): swiftformat cleanup 2026-01-09 19:49:12 +00:00
Peter Steinberger
4bae531c9e fix: stabilize CI path assumptions 2026-01-09 18:35:52 +01:00
Peter Steinberger
9a5e3fe2a2 refactor(sessions): add sessions.resolve + label helper (#570) 2026-01-09 17:02:57 +01:00
Peter Steinberger
3ac191d95d feat(sessions): label lookup tightening (#570) (thanks @azade-c) 2026-01-09 16:42:09 +01:00
Peter Steinberger
6160f7faa5 fix: harden node bridge keepalive 2026-01-09 15:46:45 +01:00
Peter Steinberger
1dba0b66c2 chore: regen protocol models (#570) (thanks @azade-c) 2026-01-09 15:32:49 +01:00
Peter Steinberger
68d4777eef fix: land mac node bridge ping loop (#572) (thanks @ngutman) 2026-01-09 14:01:20 +01:00
Nimrod Gutman
7821867e71 fix(macos): add node bridge ping loop 2026-01-09 13:50:38 +01:00
Peter Steinberger
947844117c feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
2026-01-09 12:48:42 +00:00
Peter Steinberger
d4fcbc26b2 chore: bump versions to 2026.1.9 2026-01-09 10:02:15 +01:00
Peter Steinberger
276f0b0407 feat: add usage cost reporting 2026-01-09 02:29:54 +00:00
Erik von Essen Fisher
778a87441c Rebrand app icons from Clawdis to Clawdbot
Replace app icons with new Clawdbot branding (lobster-in-phone-booth design) across iOS, Android, and macOS.

Changes:
- iOS: Updated all 14 icon sizes in AppIcon.appiconset (20px to 1024px)
- Android: Updated launcher icons for all density buckets (mdpi to xxxhdpi)
- macOS: Updated Icon.icon bundle and regenerated Clawdbot.icns

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 23:31:24 +01:00
Peter Steinberger
d4e62f5d80 fix: land macos resource bundle guard (#473) — thanks @gupsammy 2026-01-08 19:24:20 +00:00
gupsammy
135fe4a148 fix(macos): prevent crash from missing ClawdbotKit resources and Swift library
The macOS app was crashing in two scenarios:

1. Bundle.module crash (fixes #213): When the first tool event arrived,
   ToolDisplayRegistry tried to load config via ClawdbotKitResources.bundle,
   which used Bundle.module directly. In packaged apps, Bundle.module
   couldn't find the resource bundle at the expected path, causing a
   fatal assertion failure after ~40-80 minutes of runtime.

2. dyld crash (fixes #417): Swift 6.2 requires libswiftCompatibilitySpan.dylib
   but SwiftPM doesn't bundle it automatically, causing immediate crash on
   launch with "Library not loaded" error.

Changes:
- ClawdbotKitResources.swift: Replace direct Bundle.module access with a
  safe locator that checks multiple paths and falls back gracefully
- package-mac-app.sh: Copy ClawdbotKit_ClawdbotKit.bundle to Resources
- package-mac-app.sh: Copy libswiftCompatibilitySpan.dylib from Xcode
  toolchain to Frameworks

Tested on macOS 26.2 with Swift 6.2 - app launches and runs without crashes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 19:24:20 +00:00
Peter Steinberger
f003a1ecbc fix: remove swift/android build warnings 2026-01-08 05:57:27 +00:00
Peter Steinberger
fcfda99738 chore: sync app versions 2026-01-08 05:21:20 +00:00
Peter Steinberger
24cafda943 chore: bump version to 2026.1.8 2026-01-08 05:15:51 +00:00
Peter Steinberger
fcaf0966d9 fix(ci): sync logs tail protocol artifacts 2026-01-08 03:49:19 +00:00
Peter Steinberger
bb2ad2abb0 style: swiftformat sweep 2026-01-08 02:36:29 +00:00
SirCrumpet
cb92c53271 fix(macos): fix node bridge tunnel port override 2026-01-08 03:09:31 +01:00
Peter Steinberger
425253a7ca style: align voice wake text utils format 2026-01-08 01:49:29 +00:00
Peter Steinberger
870a8746ba refactor: share voice wake text utils 2026-01-08 01:46:25 +00:00
Peter Steinberger
95dca89c98 fix: voice wake logging privacy (PR #438 @xadenryan) 2026-01-08 01:37:42 +00:00
Xaden Ryan
403bbb6495 Mac: format voice wake files 2026-01-08 01:36:16 +00:00
Xaden Ryan
15e0d0476a Voice Wake: trigger on wake-word pause 2026-01-08 01:36:15 +00:00
Xaden Ryan
607a10921e Voice Wake: preserve mic selection across disconnects
- Keep the chosen mic label visible when it disconnects and show a disconnected hint while falling back to system default.
- Avoid clearing the preferred mic on device changes so it auto-restores when available.
- Add audio input change and default-input logs in voice wake runtime/tester/meter to debug routing.
2026-01-08 01:36:15 +00:00
Xaden Ryan
3056102068 Mac: keep voice wake tester local-only
Why: Start Test is a local verification tool, but it was forwarding transcripts to the gateway/chat, which confused users and made tests look like real commands.

What: stop forwarding from VoiceWakeTester and clarify in docs that the tester does not send to the gateway.
2026-01-08 01:36:15 +00:00
Xaden Ryan
0db7c07793 Mac: stabilize voice wake test flow
Why: voice wake tests often delivered partial/final transcripts without reliable word timings, so trigger matching failed, timeouts overwrote detections, and test runs/mic capture kept running after UI changes.

What: add text-only/prefix fallback and silence-based detection in the test flow, stop/clean up any prior test, cancel timeout on detection/stop, and tear down meter/test when the Voice Wake tab is inactive. Runtime detection now falls back on final text-only matches when timing is missing. UI state now reflects finalizing and prevents hanging tests.
2026-01-08 01:36:15 +00:00
Peter Steinberger
72183933c4 fix: resolve CI asset/protocol drift 2026-01-08 01:25:17 +00:00
Peter Steinberger
0314103c1b style(macos): swiftformat + swiftlint cleanup 2026-01-07 20:41:41 +00:00
Peter Steinberger
56af37c5a5 test(macos): make env/defaults helper Swift 6-safe 2026-01-07 20:32:15 +00:00
Peter Steinberger
a11a91997c refactor(macos): inject main-actor services into node runtime 2026-01-07 20:32:15 +00:00
Peter Steinberger
429000566c test(macos): isolate env + defaults 2026-01-07 20:32:15 +00:00
Peter Steinberger
9586f45e0c refactor(macos): move launchctl + plist snapshot 2026-01-07 20:32:15 +00:00