fix: land macos resource bundle guard (#473) — thanks @gupsammy
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- Discord: stop provider when gateway reconnects are exhausted and surface errors. (#514) — thanks @joshp123
|
- Discord: stop provider when gateway reconnects are exhausted and surface errors. (#514) — thanks @joshp123
|
||||||
- Auto-reply: preserve block reply ordering with timeout fallback for streaming. (#503) — thanks @joshp123
|
- Auto-reply: preserve block reply ordering with timeout fallback for streaming. (#503) — thanks @joshp123
|
||||||
- Status: show provider prefix in /status model display. (#506) — thanks @mcinteerj
|
- Status: show provider prefix in /status model display. (#506) — thanks @mcinteerj
|
||||||
|
- macOS: package ClawdbotKit resources and Swift 6.2 compatibility dylib to avoid launch/tool crashes. (#473) — thanks @gupsammy
|
||||||
- WhatsApp: group `/model list` output by provider for scannability. (#456) - thanks @mcinteerj
|
- WhatsApp: group `/model list` output by provider for scannability. (#456) - thanks @mcinteerj
|
||||||
- Hooks: allow per-hook model overrides for webhook/Gmail runs (e.g. GPT 5 Mini).
|
- Hooks: allow per-hook model overrides for webhook/Gmail runs (e.g. GPT 5 Mini).
|
||||||
- Control UI: logs tab opens at the newest entries (bottom).
|
- Control UI: logs tab opens at the newest entries (bottom).
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import ClawdbotKit
|
||||||
|
import Foundation
|
||||||
|
import Testing
|
||||||
|
|
||||||
|
@Suite struct ToolDisplayRegistryTests {
|
||||||
|
@Test func loadsToolDisplayConfigFromBundle() {
|
||||||
|
let url = ClawdbotKitResources.bundle.url(forResource: "tool-display", withExtension: "json")
|
||||||
|
#expect(url != nil)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test func resolvesKnownToolFromConfig() {
|
||||||
|
let summary = ToolDisplayRegistry.resolve(name: "bash", args: nil)
|
||||||
|
#expect(summary.emoji == "🛠️")
|
||||||
|
#expect(summary.title == "Bash")
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user