MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / isShellSafe

Function isShellSafe

src/app/api/clawteam/route.ts:144–146  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

142}
143
144function isShellSafe(value: string): boolean {
145 return /^[a-zA-Z0-9._:\/@\-]+$/.test(value);
146}
147
148async function isTmuxTargetAlive(target: string | undefined): Promise<boolean | null> {
149 if (!target) {

Callers 1

fetchRemoteJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected