( input: UpdateManagedAgentInput, )
| 1261 | }; |
| 1262 | |
| 1263 | export async function updateManagedAgent( |
| 1264 | input: UpdateManagedAgentInput, |
| 1265 | ): Promise<{ agent: ManagedAgent; profileSyncError: string | null }> { |
| 1266 | const response = await invokeTauri<RawUpdateManagedAgentResponse>( |
| 1267 | "update_managed_agent", |
| 1268 | { input }, |
| 1269 | ); |
| 1270 | return { |
| 1271 | agent: fromRawManagedAgent(response.agent), |
| 1272 | profileSyncError: response.profile_sync_error, |
| 1273 | }; |
| 1274 | } |
| 1275 | |
| 1276 | // ── Backend provider discovery ──────────────────────────────────────────────── |
| 1277 |
no test coverage detected