openclaw/apps/shared/MoltbotKit
Clawdbot d0eb74195a fix(macos): prevent crash when opening chat window
The app crashes when opening the chat window because the Textual
package's resource bundle (textual_Textual.bundle) isn't properly
embedded in release builds. When StructuredText tries to access
Bundle.module, it causes a fatal assertion failure.

This fix adds a runtime check to detect if the Textual bundle is
available before attempting to use StructuredText. If the bundle
is missing, the chat falls back to plain text rendering instead
of crashing.

The bundle availability check:
- Looks for textual_Textual.bundle in the main bundle
- Checks PlugIns and Frameworks directories
- Defaults to available in DEBUG builds (development)
- Falls back to plain Text view when unavailable

Fixes #1841
Related: #1640 (same root cause)
2026-01-28 18:10:39 +01:00
..
Sources fix(macos): prevent crash when opening chat window 2026-01-28 18:10:39 +01:00
Tests/MoltbotKitTests Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00
Tools/CanvasA2UI Mac: finish Moltbot rename (paths) 2026-01-27 14:12:47 -06:00
Package.swift fix: update remaining ClawdbotKit path references to MoltbotKit 2026-01-27 14:17:20 -06:00