Commit Graph

1451 Commits

Author SHA1 Message Date
Peter Steinberger
cb86d0d6d4 fix: land mac node bridge ping loop (#572) (thanks @ngutman) 2026-01-09 14:01:20 +01:00
Nimrod Gutman
975aa5bf82 fix(macos): add node bridge ping loop 2026-01-09 13:50:38 +01:00
Peter Steinberger
7b81d97ec2 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
e0c310d056 chore: bump versions to 2026.1.9 2026-01-09 10:02:15 +01:00
Peter Steinberger
151523f47b feat: add usage cost reporting 2026-01-09 02:29:54 +00:00
Erik von Essen Fisher
fb0c566b2a 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
f1bc178141 fix: land macos resource bundle guard (#473) — thanks @gupsammy 2026-01-08 19:24:20 +00:00
gupsammy
29e9a574b0 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
257204f0cd fix: remove swift/android build warnings 2026-01-08 05:57:27 +00:00
Peter Steinberger
7d492cb0ab chore: sync app versions 2026-01-08 05:21:20 +00:00
Peter Steinberger
9fd2fd9362 chore: bump version to 2026.1.8 2026-01-08 05:15:51 +00:00
Peter Steinberger
0bcf3f40f4 fix(ci): sync logs tail protocol artifacts 2026-01-08 03:49:19 +00:00
Peter Steinberger
1e1293cc0a style: swiftformat sweep 2026-01-08 02:36:29 +00:00
SirCrumpet
2381c19925 fix(macos): fix node bridge tunnel port override 2026-01-08 03:09:31 +01:00
Peter Steinberger
1ebde4dc24 style: align voice wake text utils format 2026-01-08 01:49:29 +00:00
Peter Steinberger
d9482719fb refactor: share voice wake text utils 2026-01-08 01:46:25 +00:00
Peter Steinberger
45deb50e1a fix: voice wake logging privacy (PR #438 @xadenryan) 2026-01-08 01:37:42 +00:00
Xaden Ryan
a15943c809 Mac: format voice wake files 2026-01-08 01:36:16 +00:00
Xaden Ryan
da972b119d Voice Wake: trigger on wake-word pause 2026-01-08 01:36:15 +00:00
Xaden Ryan
804177b1f5 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
830613d9fa 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
0f1a262ae1 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
02ad9eccad fix: resolve CI asset/protocol drift 2026-01-08 01:25:17 +00:00
Peter Steinberger
9859ad3176 style(macos): swiftformat + swiftlint cleanup 2026-01-07 20:41:41 +00:00
Peter Steinberger
2b6adc9e60 test(macos): make env/defaults helper Swift 6-safe 2026-01-07 20:32:15 +00:00
Peter Steinberger
eb5f0b73a9 refactor(macos): inject main-actor services into node runtime 2026-01-07 20:32:15 +00:00
Peter Steinberger
5a09926126 test(macos): isolate env + defaults 2026-01-07 20:32:15 +00:00
Peter Steinberger
d45fcc44da refactor(macos): move launchctl + plist snapshot 2026-01-07 20:32:15 +00:00
Peter Steinberger
f10d1fd9ac fix(macos): stabilize node runtime + menu sessions 2026-01-07 19:42:49 +00:00
Peter Steinberger
8913bfbcd5 refactor(macos): drop duplicate AnyCodable 2026-01-07 19:42:49 +00:00
Peter Steinberger
e4f62c5b0c fix(macos): make launchd enable idempotent 2026-01-07 19:42:49 +00:00
gupsammy
c572859c86 fix(macos): prevent gateway launchd race condition on startup (#306) 2026-01-07 19:42:49 +00:00
Peter Steinberger
9be7e1b332 fix(ClawdbotKit): bundle tool-display.json 2026-01-07 18:30:45 +00:00
François Catuhe
04ae9bdbef fix(android): rotate camera photos by EXIF orientation 2026-01-07 19:19:07 +01:00
Manuel Jiménez Torres
6de2a1d958 fix(android): fix build error 2026-01-07 18:09:31 +00:00
Peter Steinberger
ec0ae6fb85 fix(android): drop broken apk output renaming 2026-01-07 18:04:37 +00:00
Peter Steinberger
b83570c5e7 fix(android): restore tool display config 2026-01-07 15:38:10 +00:00
Peter Steinberger
491a6e02fb Merge branch 'main' into pr-402 2026-01-07 15:36:34 +00:00
Peter Steinberger
7f6b98929f build(android): bump 2026.1.7 + apk naming 2026-01-07 15:30:03 +00:00
François Catuhe
d3ae92aaa8 android: set version 2026.1.5, add APK naming convention, remove duplicate asset 2026-01-07 16:05:26 +01:00
Peter Steinberger
85e536f3ff fix(macos): validate remote ports 2026-01-07 11:00:21 +00:00
Nima Karimi
a5b29623b8 fix(macos): honor discovered gateway ports 2026-01-07 10:51:06 +00:00
Peter Steinberger
9bf6684366 feat: add provider usage tracking 2026-01-07 11:42:46 +01:00
Peter Steinberger
86fde78442 chore: sync swift protocol models 2026-01-07 06:14:15 +00:00
Peter Steinberger
b0bd7b946e fix(macos): fix swiftformat lint in A2UI handler 2026-01-06 21:54:46 +01:00
Peter Steinberger
250debcc00 Merge PR #310 2026-01-06 20:25:47 +01:00
Peter Steinberger
91f67f5bd7 build(protocol): regenerate protocol artifacts 2026-01-06 18:37:20 +00:00
Peter Steinberger
dbfa316d19 feat: multi-agent routing + multi-account providers 2026-01-06 18:33:37 +00:00
Nimrod Gutman
62e590323a fix(macOS): keep gateway config sync local 2026-01-06 18:05:28 +02:00
Peter Steinberger
dbac51e60f chore(protocol): regenerate GatewayModels.swift 2026-01-06 09:55:58 +01:00