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>
11 months ago
Peter Steinberger
aa87d6cee8
refactor(relay): add --smoke entrypoint
11 months ago
Peter Steinberger
c27dd75135
build(control-ui): prefer bun for UI build
11 months ago
Peter Steinberger
bc74e7cd9b
docs: default mac build arch to host
11 months ago
Peter Steinberger
e4335ea094
fix: bundle qr renderer in relay
11 months ago
Peter Steinberger
246adaa119
chore: rename project to clawdbot
11 months ago
Peter Steinberger
40ee0f0672
build: lock x86_64 relay to AVX2
11 months ago
Peter Steinberger
7165c8a7e5
refactor: rename bundle identifiers to com.clawdis
11 months ago
Peter Steinberger
45c555a4bd
fix: use x86_64 bun for relay builds
11 months ago
Peter Steinberger
5986a83e80
fix: skip duplicate arch merge for Sparkle
11 months ago
Peter Steinberger
732de4acf0
fix: make Sparkle builds numeric + universal
11 months ago
Petter Blomberg
02d5c00873
macOS: move rpath configuration to build step for reliability
11 months ago
Peter Steinberger
ad9a9d8d35
Merge remote-tracking branch 'origin/main' into upstream-preview-nix-2025-12-20
11 months ago
Peter Steinberger
78cf68549f
Merge pull request #64 from mbelinky/fix-instances-crash
...
Fix Instances crash by bundling device model resources
11 months ago
Mariano Belinky
941ad27551
Bundle Control UI in Mac app
11 months ago
Mariano Belinky
ea248f6743
Fix device model resources for Instances
11 months ago
Josh Palmer
b7363f7c18
feat: Nix mode config, UX, onboarding, SwiftPM plist, docs
11 months ago
Peter Steinberger
67b9a675f5
fix(macos): allow http loads in canvas webview
11 months ago
Peter Steinberger
bcc5891e03
fix(mac): allow tailscale localapi http
11 months ago
Peter Steinberger
382d237a60
build: silence mac packaging warnings
11 months ago
Peter Steinberger
405ff0377a
refactor(macos): bundle single relay binary
11 months ago
Peter Steinberger
1eb6d617f5
build(macos): bundle playwright in embedded gateway
11 months ago
Peter Steinberger
ff6a918e7e
feat(skills): load bundled skills
11 months ago
Peter Steinberger
ed001a5f55
refactor(canvas): host A2UI via gateway
11 months ago
Peter Steinberger
849446ae17
refactor(cli): unify on clawdis CLI + node permissions
11 months ago
Peter Steinberger
836f645621
perf(macos): compile embedded gateway with bytecode
11 months ago
Peter Steinberger
98bbc73925
build(macos): bundle bun gateway
11 months ago
Peter Steinberger
875cf9a054
refactor(webchat): SwiftUI-only WebChat UI
...
# Conflicts:
# apps/macos/Package.swift
11 months ago
Peter Steinberger
a92eb1f33d
feat(camera): add snap/clip capture
11 months ago
Peter Steinberger
3b72ed6e1a
feat(macos): add clawdis://agent deep link
11 months ago
Peter Steinberger
7dab927260
fix(presence): hide cli sessions; use numeric mac build
11 months ago
Peter Steinberger
a3bf2bdd8c
chore: rename relay to gateway
12 months ago
Peter Steinberger
d8fb2f9175
chore(mac): make package/restart skip ts relay
12 months ago
Peter Steinberger
39a0f54b0d
Runtime: drop bun support
12 months ago
Peter Steinberger
e15475449c
fix merge; add control logging
12 months ago
Peter Steinberger
cf36f5a23b
chore: guard host runtime and simplify packaging
12 months ago
Peter Steinberger
6415ae79be
webchat: make remote mode load history and send via rpc
12 months ago
Peter Steinberger
ddbe680a58
feat(macos): add Sparkle updates and release docs
12 months ago
Peter Steinberger
4d3d9cca2a
Add Bun bundle docs and Telegram grammY support
12 months ago
Peter Steinberger
d73d571f19
Launch agent: disable autostart without killing running app
12 months ago
Peter Steinberger
d463c82c95
build: add local node bin to restart script PATH
12 months ago
Peter Steinberger
fb2a7d8cd1
VoiceWake: add escaping regression tests
12 months ago
Peter Steinberger
27e96999cf
VoiceWake: document escape path and reset stale forward command
12 months ago
Peter Steinberger
7efa152418
VoiceWake: document escape path and reset stale forward command
12 months ago
Peter Steinberger
f23b16db2b
build: require signing identity for mac packaging
12 months ago
Peter Steinberger
40013c2b61
fix(mac): bundle WebChat resources when packaging
12 months ago
Peter Steinberger
aeb708fe07
Mac: secure XPC and register mach service via launchd
12 months ago
Peter Steinberger
ea37ee6cb3
feat(mac): add automation permission
12 months ago
Peter Steinberger
00ef7ec522
Mac: align app version with package.json
12 months ago
Peter Steinberger
9497a4cb5a
CLI: fix --version by reading app Info.plist
12 months ago