char-slop/berry

multipurpose self-modifiable agentic harness

git clone https://git.t4t.associates/char-slop/berry

Charlotte Somdiff: add (codemirror) inline editing of diffsc5dd844

main
208 B5 linesraw
1import type { FileDiff } from "./types.ts";
2
3export const editable = (file: FileDiff) =>
4  !file.binary && file.status !== "deleted" &&
5  (file.modes.new === null || /^100(?:644|755)$/.test(file.modes.new));