Install hooks globally as an Antigravity plugin.
(&self, force: bool)
| 701 | |
| 702 | /// Install hooks globally as an Antigravity plugin. |
| 703 | pub fn install_global(&self, force: bool) -> AgentResult<usize> { |
| 704 | let config_dir = Self::global_config_dir().ok_or_else(|| AgentError::ConfigError { |
| 705 | operation: "resolve home".to_string(), |
| 706 | path: PathBuf::from("~/.gemini/config"), |
| 707 | reason: "Could not determine home directory".to_string(), |
| 708 | })?; |
| 709 | |
| 710 | Self::install_to(&config_dir, force) |
| 711 | } |
| 712 | |
| 713 | /// Remove the global Antigravity plugin hooks. |
| 714 | pub fn uninstall_global(&self) -> AgentResult<()> { |
no test coverage detected