From 9b8b0586930decfef29b87097862dc754d8a5502 Mon Sep 17 00:00:00 2001 From: foxnne Date: Fri, 16 Oct 2026 11:56:48 -0500 Subject: [PATCH] sdk: repin to fizzy SDK 0.2.28 The asset URL and hash in build.zig.zon and min_sdk_version in plugin.zig.zon. Recording passes tape.binary.encode its new Options argument (fizzy#453), the old output. Co-Authored-By: Claude Opus 5.5 --- build.zig.zon | 4 ++-- plugin.zig.zon | 2 +- src/Recording.zig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index ba0263e..51e7896 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -10,8 +10,8 @@ // clean clone, and the release asset (never the tag's git archive) is the SDK // package alone. To build against a local fizzy instead: // `zig build --fork=/sdk`. - .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.27/fizzy-sdk-v0.2.27.tar.gz", - .hash = "fizzy-0.2.27-SGBwY6HqJADHytP_jdv-A_56P-8c6V9vp6FRigyVnrdm", + .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.28/fizzy-sdk-v0.2.28.tar.gz", + .hash = "fizzy-0.2.28-SGBwY_PuJQCcliz1OqCE9VlJoS204IsAExXIg75ejXhx", }, }, } diff --git a/plugin.zig.zon b/plugin.zig.zon index 7a71d9c..f3bdfc5 100644 --- a/plugin.zig.zon +++ b/plugin.zig.zon @@ -2,6 +2,6 @@ .id = "agent", .name = "Agent", .version = "0.1.0", - .min_sdk_version = "0.2.27", + .min_sdk_version = "0.2.28", .description = "Lets an AI agent drive fizzy as a person does: its commands as tools, the screen as text, input through live tapes, the profiler on request. Pair it with fizzy-mcp.", } diff --git a/src/Recording.zig b/src/Recording.zig index 6fc71de..25a8506 100644 --- a/src/Recording.zig +++ b/src/Recording.zig @@ -124,7 +124,7 @@ pub fn write(self: *Recording, dir: []const u8, io: std.Io) ![]u8 { .layout = .keep, }}, }; - const encoded = try tape.binary.encode(self.gpa, t); + const encoded = try tape.binary.encode(self.gpa, t, .{}); defer self.gpa.free(encoded); std.Io.Dir.cwd().createDirPath(io, dir) catch {}; const file_name = try std.fmt.allocPrint(self.gpa, "{s}.tape", .{self.name});