Fix some claude session state.

This commit is contained in:
Greyson Parrelli committed 2026-11-02 10:58:22 -05:00
1 parent b5af181a4d
commit 6f4492e3cb
3 files changed
+108 -8

No files matched your search

+9 -5
View File
@@ -180,17 +180,21 @@ pub fn build(b: *std.Build) void {
palette_tests.root_module.addImport("ghostty-vt", ghostty.module("ghostty-vt"));
test_step.dependOn(&b.addRunArtifact(palette_tests).step);
// herdr-core's frame format is its own root: the bytes of the wire
// protocol, testable with no core to talk to. The connection on top of it
// herdr-core's client is its own root: the frame format (the bytes of the
// wire protocol) and the pure rules about what a terminal's environment
// keeps, both testable with no core to talk to. The connection itself
// wants a socket and a main loop, and is checked by running it.
const hc_frame_tests = b.addTest(.{
const hc_tests = b.addTest(.{
.root_module = b.createModule(.{
.root_source_file = b.path("src/hc/frame.zig"),
.root_source_file = b.path("src/hc.zig"),
.target = target,
.optimize = optimize,
.link_libc = true,
}),
});
test_step.dependOn(&b.addRunArtifact(hc_frame_tests).step);
hc_tests.root_module.addImport("glib", gobject.module("glib2"));
hc_tests.root_module.addImport("glibunix", gobject.module("glibunix2"));
test_step.dependOn(&b.addRunArtifact(hc_tests).step);
// And a root for the settings file itself. `Settings.zig` reaches GLib for
// where the file lives, but reading and writing its *contents* is pure