ReviewOS

also looking at this

craft-native/craft

fix(ci): build the SDK types with the repo's own tsc (and pin the pantry action)

#104
Merged glennmichael123 wants to merge fix/pin-pantry-action into main
29 files +85 -56
packages/zig/src/bridge_clipboard.zigmodified+2-2
Changes to packages/zig/src/bridge_clipboard.zig
@@ -193,7 +193,7 @@ pub const ClipboardBridge = struct {
193193 log.debug("Read text from clipboard: {s}", .{text_str});
194194
195195 // Escape backslashes and quotes for safe JSON embedding
196 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
196 var buf: std.ArrayList(u8) = .empty;
197197 defer buf.deinit(self.allocator);
198198
199199 try buf.appendSlice(self.allocator, "{\"text\":\"");
@@ -306,7 +306,7 @@ pub const ClipboardBridge = struct {
306306 const html_str = std.mem.span(@as([*:0]const u8, @ptrCast(html_cstr)));
307307 log.debug("Read HTML from clipboard: {s}", .{html_str});
308308
309 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
309 var buf: std.ArrayList(u8) = .empty;
310310 defer buf.deinit(self.allocator);
311311
312312 try buf.appendSlice(self.allocator, "{\"html\":\"");