(taskId: string)
| 358 | } |
| 359 | |
| 360 | export async function deleteRemoteAgentMetadata(taskId: string): Promise<void> { |
| 361 | const path = getRemoteAgentMetadataPath(taskId) |
| 362 | try { |
| 363 | await unlink(path) |
| 364 | } catch (e) { |
| 365 | if (isFsInaccessible(e)) return |
| 366 | throw e |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * Scan the remote-agents/ directory for all persisted metadata files. |
no test coverage detected