| 39 | } |
| 40 | |
| 41 | static cbm_agent_client_resolve_options_t agent_options(agent_probe_t *probe) { |
| 42 | cbm_agent_client_resolve_options_t options = { |
| 43 | .home_dir = "/home/tester", |
| 44 | .xdg_config_home = NULL, |
| 45 | .appdata_dir = NULL, |
| 46 | .glab_config_dir = NULL, |
| 47 | .kimi_code_home = NULL, |
| 48 | .continue_config_path = NULL, |
| 49 | .trae_config_path = NULL, |
| 50 | .roo_config_path = NULL, |
| 51 | .cody_config_path = NULL, |
| 52 | .is_windows = false, |
| 53 | .path_exists = agent_path_exists, |
| 54 | .command_exists = agent_command_exists, |
| 55 | .probe_context = probe, |
| 56 | }; |
| 57 | return options; |
| 58 | } |
| 59 | |
| 60 | static char *agent_fixture(const char *initial, char **dir_out) { |
| 61 | char *dir = th_mktempdir("cbm_agent_clients"); |