MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / deleteRemoteAgentMetadata

Function deleteRemoteAgentMetadata

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

Source from the content-addressed store, hash-verified

358}
359
360export 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.

Callers 1

Calls 3

unlinkFunction · 0.85
isFsInaccessibleFunction · 0.85

Tested by

no test coverage detected