MCPcopy Create free account
hub / github.com/Noumena-Network/code / deleteRemoteAgentMetadata

Function deleteRemoteAgentMetadata

src/utils/sessionStorage.ts:387–395  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

385}
386
387export async function deleteRemoteAgentMetadata(taskId: string): Promise<void> {
388 const path = getRemoteAgentMetadataPath(taskId)
389 try {
390 await unlink(path)
391 } catch (e) {
392 if (isFsInaccessible(e)) return
393 throw e
394 }
395}
396
397/**
398 * Scan the remote-agents/ directory for all persisted metadata files.

Callers 1

Calls 3

unlinkFunction · 0.85
isFsInaccessibleFunction · 0.85

Tested by

no test coverage detected