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

Function shellWord

graph-ui/src/agents/AgentSetup.tsx:6–6  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

4
5/** POSIX shell word quoting; paths and indexed names are data, never commands. */
6export const shellWord = (value: string): string => `'${value.replaceAll("'", "'\\''")}'`;
7export const agentInstallCommand = (root: string, project: string, port: number): string =>
8 `python3 ~/Downloads/cbm-atlas-trace.py --install-claude --root ${shellWord(root)} --project ${shellWord(project)} --daemon-url ${shellWord(`http://127.0.0.1:${port}`)}`;
9

Callers 1

agentInstallCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected