)]}'
{
  "commit": "c8e4ab08aeb36ac34133c627b352ac9352142960",
  "tree": "6f503aee50eec0f14f179f37169a531f3dde36b8",
  "parents": [
    "fa67fe5ec3ac9ad434054035285d4d53f9211d7f"
  ],
  "author": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Fri May 02 16:11:37 2025 +0000"
  },
  "committer": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Fri May 02 09:17:29 2025 -0700"
  },
  "message": "Restructure main.go to separate host and container code\n\nThis commit reorganizes the cmd/sketch/main.go file to clearly separate the\nexecution paths for host and container environments. The changes include:\n\n1. Created dedicated functions for each execution path:\n   - runInHostMode: Handles execution on the host, launching container\n   - runInContainerMode: Handles execution inside the container\n   - runInUnsafeMode: Handles execution directly on host without container\n   - setupAndRunAgent: Common setup code for container and unsafe modes\n\n2. Added clear function names and comments to indicate where code runs\n3. Maintained existing functionality while making control flow explicit\n4. Preserved all command-line flags and their handling\n5. Kept the same behavior for all execution paths\n6. Moved CLI flag parsing into a dedicated function\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cc07d10f83962bd5826e6b5eef9f6ddab5996414",
      "old_mode": 33188,
      "old_path": "cmd/sketch/main.go",
      "new_id": "fef9dcb3e91e42adea120f4abdbdaeb6e0d2db64",
      "new_mode": 33188,
      "new_path": "cmd/sketch/main.go"
    }
  ]
}
