(pubkey: string)
| 1160 | } |
| 1161 | |
| 1162 | export async function startManagedAgent(pubkey: string): Promise<ManagedAgent> { |
| 1163 | const response = await invokeTauri<RawManagedAgent>("start_managed_agent", { |
| 1164 | pubkey, |
| 1165 | }); |
| 1166 | return fromRawManagedAgent(response); |
| 1167 | } |
| 1168 | |
| 1169 | export async function stopManagedAgent(pubkey: string): Promise<ManagedAgent> { |
| 1170 | const response = await invokeTauri<RawManagedAgent>("stop_managed_agent", { |
no test coverage detected