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

Function rule

graph-ui/src/browser-ai/browser-chat-css.code.test.ts:5–5  ·  view source on GitHub ↗
(selector: string)

Source from the content-addressed store, hash-verified

3
4const css = readFileSync(new URL('./browser-chat.css', import.meta.url), 'utf8').replace(/\/\*[\s\S]*?\*\//g, '');
5const rule = (selector: string) => [...css.matchAll(/([^{}]+)\{([^}]*)\}/g)].filter(match => match[1].split(',').map(item => item.trim()).includes(selector)).map(match => match[2]).join(';');
6
7/** The lines read from JSONBAgg ended mid-template at the panel edge, behind a hidden scrollbar (B2). */
8describe('code blocks in a chat answer', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected