also looking at this
fix(ci): build the SDK types with the repo's own tsc (and pin the pantry action)
#104
29 files
+85
-56
| @@ -193,7 +193,7 @@ pub const ClipboardBridge = struct { | ||
| 193 | 193 | log.debug("Read text from clipboard: {s}", .{text_str}); |
| 194 | 194 | |
| 195 | 195 | // Escape backslashes and quotes for safe JSON embedding |
| 196 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 196 | var buf: std.ArrayList(u8) = .empty; | |
| 197 | 197 | defer buf.deinit(self.allocator); |
| 198 | 198 | |
| 199 | 199 | try buf.appendSlice(self.allocator, "{\"text\":\""); |
| @@ -306,7 +306,7 @@ pub const ClipboardBridge = struct { | ||
| 306 | 306 | const html_str = std.mem.span(@as([*:0]const u8, @ptrCast(html_cstr))); |
| 307 | 307 | log.debug("Read HTML from clipboard: {s}", .{html_str}); |
| 308 | 308 | |
| 309 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 309 | var buf: std.ArrayList(u8) = .empty; | |
| 310 | 310 | defer buf.deinit(self.allocator); |
| 311 | 311 | |
| 312 | 312 | try buf.appendSlice(self.allocator, "{\"html\":\""); |