)]}'
{
  "commit": "9a04d5bea6ede074afe48cdfb2b9ccf398fa4d5d",
  "tree": "7a050a9a61521399dfeaab95f4ae227863caa8c8",
  "parents": [
    "ae6652236270ce43082f434a12c4e5d870840216"
  ],
  "author": {
    "name": "Dheeraj Bansal",
    "email": "dheerajbansal387@gmail.com",
    "time": "Wed Sep 09 13:08:08 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 09 10:38:08 2026 +0300"
  },
  "message": "Use Related metadata for autocomplete API discovery (#214)\n\n* feat: use Related metadata for autocomplete API discovery\n\n* test: add autocomplete API discovery coverage\n\n* Use Related metadata only when the noun heuristics find nothing\n\nChecking Related before the heuristics changed 47 existing completions\nagainst the bundled API cache, many of them wrong: registerIso projectid\nresolved to listProjectAccounts instead of listProjects, acquirePodIpAddress\npodid to listZones instead of listPods, and executeWebhookDelivery webhookid\nto listWebhookDeliveries instead of listWebhooks. The loose Related match\npicks the first list API in the array, whatever its noun.\n\nMove the Related lookup after the noun heuristics and run it only when they\nfound no API. That keeps all 142 new completions Related metadata adds and\nleaves every existing completion untouched. Add a test pinning the ordering.\n\n---------\n\nCo-authored-by: Boris Stoyanov \u003cbss.stoyanov@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55d82079eabc3050f5af28b64f68b30371185e9e",
      "old_mode": 33188,
      "old_path": "cli/completer.go",
      "new_id": "9547f5a35b27c80c422521eca7874a30ce081fe4",
      "new_mode": 33188,
      "new_path": "cli/completer.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "aea78365c54df2e965a1b791c893baf3d3816e96",
      "new_mode": 33188,
      "new_path": "cli/completer_test.go"
    }
  ]
}
