fix: restore canvas action bridge

This commit is contained in:
Peter Steinberger
2025-12-21 00:53:11 +01:00
parent 78159a9435
commit 2b2f13ca79
10 changed files with 86 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ final class NodeAppModel {
}()
guard !userAction.isEmpty else { return }
guard let name = userAction["name"] as? String, !name.isEmpty else { return }
guard let name = ClawdisCanvasA2UIAction.extractActionName(userAction) else { return }
let actionId: String = {
let id = (userAction["id"] as? String)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
return id.isEmpty ? UUID().uuidString : id