{"draft":null,"from":77,"to":78,"files":[{"path":"client/hooks/register.ts","added":1,"removed":1,"diff":"--- a/client/hooks/register.ts\n+++ b/client/hooks/register.ts\n@@ -144,7 +144,7 @@\n \t\t\t\t\t),\n \t\t\t\t),\n \t\t\t\tsnapshot: text === undefined || looksBinary(text) ? undefined : normalize(text),\n-\t\t\t\t...(text !== undefined && text.includes(\"\\u0000\")\n+\t\t\t\t...(text?.includes(\"\\u0000\")\n \t\t\t\t\t? { nul: { at: text.indexOf(\"\\u0000\"), line: text.slice(0, text.indexOf(\"\\u0000\")).split(\"\\n\").length } }\n \t\t\t\t\t: {}),\n \t\t\t\tagentId: typeof input.agentId === \"string\" ? input.agentId : undefined,"}],"unmatched":[]}