Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Keep native checks compiling and make the idle-wake pin CRLF-safe.

justrach7116113951d4
diff --git a/apps/native/components/site/GraffHarness.tsx b/apps/native/components/site/GraffHarness.tsx
index 28365d0e..e44be2b6 100644
--- a/apps/native/components/site/GraffHarness.tsx
+++ b/apps/native/components/site/GraffHarness.tsx
@@ -188,10 +188,6 @@ export default function GraffHarness() {
sessionsRef, sessionNamesRef, chatsRef, workspacesRef, activePathRef, pageRef, runningRef, model, activeId, handleOf, setModels, setCommands, setCatalogCommands, setChatModel, setModelKey, setSessionIds, setHealth, setWorkspaces, setActivePath, setChats, setStored, setStoredTotal,
pendingPick: () => pendingPickRef.current ?? pendingModel,
});
- useOpenWorkspace({
- chats, chatsRef, sessionNamesRef, chatIdRef, msgIdRef, groups, activeId,
- filesOpen, fileRequest, zoomedPane, setChats, setActiveId, setFilesOpen, setFileRequest, setZoomedPane,
- });
const { openPath, openReference } = useReferenceNavigation({
context: (id = activeIdRef.current) => ({ root: chatsRef.current.find(c => c.id === id)?.cwd ?? activePathRef.current ?? health?.cwd, chat: handleOf(id), focus: () => focusChat(id) }),
diff --git a/apps/native/lib/turn-activity.test.ts b/apps/native/lib/turn-activity.test.ts
index b91029d0..65983739 100644
--- a/apps/native/lib/turn-activity.test.ts
+++ b/apps/native/lib/turn-activity.test.ts
@@ -111,4 +111,3 @@ test("a failed turn names the provider from the harness error and keeps its word
const failed = finishAcpTurn({ ...emptyTurn(), status: "error", error: "xai api error: boom", startedAt: 1000 }, 13000);
expect(turnActivity(failed, 13000).detail).toMatch(/^After 12s\./);
});
-});
diff --git a/src/idle_wake_sources.zig b/src/idle_wake_sources.zig
index 479d6d13..43210cd3 100644
--- a/src/idle_wake_sources.zig
+++ b/src/idle_wake_sources.zig
@@ -43,7 +43,7 @@ fn helperBody() []const u8 {
const src = @embedFile("idle_wake_sources.zig");
const start = std.mem.indexOf(u8, src, "pub fn takeIdleWake").?;
const rest = src[start..];
- const end = std.mem.indexOf(u8, rest, "\n}\n").?;
+ const end = std.mem.indexOf(u8, rest, "\n}").?;
return rest[0 .. end + 1];
}