MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / download

Function download

graph-ui/src/agents/AgentSetup.tsx:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 const current = reading?.project === project ? reading : undefined;
26 const command = current?.root && project ? agentInstallCommand(current.root, project, port) : '';
27 const download = () => {
28 const url = URL.createObjectURL(new Blob([hookSource], { type: 'text/x-python;charset=utf-8' }));
29 const anchor = document.createElement('a'); anchor.href = url; anchor.download = 'cbm-atlas-trace.py';
30 anchor.click(); setTimeout(() => URL.revokeObjectURL(url), 1000);
31 };
32 return <details className="cbm-agent-setup" onToggle={event => setOpen(event.currentTarget.open)}>
33 <summary>Connect your agent</summary>
34 <p>Claude Code on macOS/Linux · Python 3 required. This installs a project-local PostToolUse hook. Connecting the browser only reads history; it does not configure your coding client.</p>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected