MCPcopy Create free account
hub / github.com/Ark0N/Codeman / registerAttachment

Method registerAttachment

src/web/server.ts:1348–1371  ·  view source on GitHub ↗

* Register a terminal-requested external file as a live attachment and * broadcast it. Triggered by the session's `attachmentRequested` event * (codeman://attach magic links). Because terminal output is * attacker-influenceable (a prompt-injected session can print an arbitrary * `codeman

(sessionId: string, filePath: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 6

persistSessionStateMethod · 0.95
broadcastMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected