MCPcopy Create free account
hub / github.com/Noumena-Network/code / parseBackgroundPRShortcutInput

Function parseBackgroundPRShortcutInput

src/screens/REPL.tsx:584–590  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

582}
583
584function parseBackgroundPRShortcutInput(input: string): string | null {
585 const trimmedStart = input.trimStart();
586 if (!trimmedStart.startsWith(BG_PR_SHORTCUT_PREFIX)) {
587 return null;
588 }
589 return trimmedStart.slice(1).trim();
590}
591
592export type Props = {
593 commands: Command[];

Callers 2

REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected