MCPcopy
hub / github.com/codeaashu/claude-code / deleteRemoteAgentMetadata

Function deleteRemoteAgentMetadata

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

Source from the content-addressed store, hash-verified

357}
358
359export async function deleteRemoteAgentMetadata(taskId: string): Promise<void> {
360 const path = getRemoteAgentMetadataPath(taskId)
361 try {
362 await unlink(path)
363 } catch (e) {
364 if (isFsInaccessible(e)) return
365 throw e
366 }
367}
368
369/**
370 * 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