Hide Copilot commands when AI functionality is disabled (#35055)

Follow-up of https://github.com/zed-industries/zed/pull/34896

Related to https://github.com/zed-industries/zed/issues/31346

cc @rtfeldman

Release Notes:

- Hide copilot commands when AI functionality is disabled
0e9d955e9bJustin Su committed on 7/25/2025, 2:53:57 PM· committed by GitHubparent5de544e
1 file changedLine totals unavailable