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_dialog.zigmodified+4-4
Changes to packages/zig/src/bridge_dialog.zig
@@ -432,7 +432,7 @@ pub const DialogBridge = struct {
432432 if (comptime builtin.mode == .debug)
433433 std.debug.print("[DialogBridge] Selected file: {s}\n", .{path_str});
434434
435 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
435 var buf: std.ArrayList(u8) = .empty;
436436 defer buf.deinit(self.allocator);
437437
438438 try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":[\"");
@@ -502,7 +502,7 @@ pub const DialogBridge = struct {
502502 if (comptime builtin.mode == .debug)
503503 std.debug.print("[DialogBridge] Selected {d} files\n", .{count});
504504
505 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
505 var buf: std.ArrayList(u8) = .empty;
506506 defer buf.deinit(self.allocator);
507507
508508 try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":[");
@@ -581,7 +581,7 @@ pub const DialogBridge = struct {
581581 if (comptime builtin.mode == .debug)
582582 std.debug.print("[DialogBridge] Selected folder: {s}\n", .{path_str});
583583
584 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
584 var buf: std.ArrayList(u8) = .empty;
585585 defer buf.deinit(self.allocator);
586586
587587 try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":[\"");
@@ -645,7 +645,7 @@ pub const DialogBridge = struct {
645645 if (comptime builtin.mode == .debug)
646646 std.debug.print("[DialogBridge] Save path: {s}\n", .{path_str});
647647
648 var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 };
648 var buf: std.ArrayList(u8) = .empty;
649649 defer buf.deinit(self.allocator);
650650
651651 try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePath\":\"");