)]}'
{
  "commit": "f84e88cd1c2455610de5cb73b8766972216bc14c",
  "tree": "c38c21c73bd2412d1d21f0846c8ba1ba95e276e9",
  "parents": [
    "da796543d8e7087e428b1e55b8f70bc8edf206ae"
  ],
  "author": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Wed May 14 23:19:01 2025 +0000"
  },
  "committer": {
    "name": "Autoformatter",
    "email": "bot@sketch.dev",
    "time": "Wed May 14 23:35:47 2025 +0000"
  },
  "message": "webui: Add file paste upload support\n\n- Add new /upload endpoint in loophttp.go to save pasted files to /tmp\n- Make the implementation generic to handle any file type, not just images\n- Implement paste event handling in sketch-chat-input.ts to detect files\n- Add logic to upload files and insert file paths in chat input\n- Improve random filename generation with better comments\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: sff2e40b9b3e4c05ak\n\nwebui: Improve file upload UI experience\n- Use relative path for upload endpoint\n- Add loading indicator during file upload\n- Show error message if upload fails\n- Improve cursor position handling\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1cd486a9bb28a91d5cf7681abd433cff34e0abde",
      "old_mode": 33188,
      "old_path": "loop/server/loophttp.go",
      "new_id": "20e1629aa282314686740a769de06932d7ed9827",
      "new_mode": 33188,
      "new_path": "loop/server/loophttp.go"
    },
    {
      "type": "modify",
      "old_id": "fb273bc6550d37b35a2696824f976392e0778745",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/sketch-chat-input.ts",
      "new_id": "581c975779e1f896694ea99beeb5bf4ad73108f9",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/sketch-chat-input.ts"
    }
  ]
}
