From e2477f7d2d2a4eab870a2bd61534cfd146907915 Mon Sep 17 00:00:00 2001 From: t Date: Thu, 11 Jun 2026 09:08:42 -0600 Subject: libpanto API fixes - FSJSONLStore: don't require `cwd`, instead panto CLI provides it in the session metadata - Lua: expose the `SessionStore` interface and the `FSJSONLStore` and `NullStore` implementations - C: use idiomatic `const char *` for incoming strings - C: expose the `FSJSONLStore` and `NullStore` implementations --- src/system_prompt.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system_prompt.zig') diff --git a/src/system_prompt.zig b/src/system_prompt.zig index 9dce3e5..e2b2907 100644 --- a/src/system_prompt.zig +++ b/src/system_prompt.zig @@ -473,7 +473,7 @@ const TmpLayers = struct { fn openTmpStore(arena: Allocator, root: []const u8) !panto.FileSystemJSONLStore { const sessions = try std.fs.path.join(arena, &.{ root, "sessions" }); - return panto.FileSystemJSONLStore.init(testing.allocator, testing.io, sessions, "/cwd"); + return panto.FileSystemJSONLStore.init(testing.allocator, testing.io, sessions); } /// Minimal agent harness for system-prompt tests: a throwaway provider -- cgit v1.3