{"agent":"claude","input":"A Linear issue labelled agent says: \"Let users open a text file from disk, edit it, and save it back, with File menu items and the usual shortcuts.\" Do the work in this repository. Read package.json, electron.vite.config.ts, jest.config.js, src/main/main.ts, src/main/menu.ts, src/main/preload.ts, src/main/updates.ts, src/renderer/App.tsx, src/renderer/preload.d.ts, src/__tests__/updates.test.ts, src/__tests__/App.test.tsx and .github/workflows/test.yml first. Add src/main/files.ts with ipcMain.handle handlers for file:open and file:save that use dialog.showOpenDialog and dialog.showSaveDialog on the focused window and fs.promises for reading and writing, returning null on cancel; register them from main.ts. Extend preload.ts with a files object exposing open and save through ipcRenderer.invoke and add the channels to the Channels union; keep fs out of the renderer. Add Open and Save items with CmdOrCtrl+O and CmdOrCtrl+S to the File menu on Windows and Linux and add a File menu to the macOS template, each sending a message to the window. Add an editor route in App.tsx with a textarea, the current path, and open and save buttons that also respond to the menu messages. Add src/__tests__/files.test.ts in the node environment that mocks electron and checks the cancel and success paths against a temporary file, and extend App.test.tsx for the editor. Run npm run lint, npx tsc --noEmit, npm test and npm run build, start the app once and screenshot the open dialog, and put the results in the pull request description. Do not change updates.ts or the auto-update flow.","resources":[{"url":"https://github.com/your-org/your-app"}]}